/* Anpassungen Update V1.05 */
@media (max-width: 767.98px) {
  #navbarNav {
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 2rem !important;
  }

  .username-highlight {
    font-size: 20px !important;
    color: #ff6600 !important;
    font-weight: 500 !important;
  }

  .dropdown-menu .dropdown-menu {
    top: 0;
    left: 0;
    margin-left: 0;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1060;
    display: none;
  }

  .dropdown-menu li:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    transition: all 0.2s ease-in-out;
  }
}
@media (max-width: 767.98px) {
  .go-to-top {
    display: none !important;
  }
}
@media (max-width: 768px) {
    .navbar-brand img {
      max-height: 40px;
      margin-top: -85px;
    }

    .navbar {
        height: 60px;
    }
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    top: 40px;
  }
  .dropdown-menu {
    bottom: auto !important;
  }
}

/* Allgemeine Einstellungen */
.dropdown-menu {
   bottom: auto !important;
}
.footer-dropdown-menu {
   position: absolute !important;
   bottom: 100% !important;
   top: auto !important;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2 {
    text-align: center;
    margin: 20px 0;
}

/* Header-Navigation */
header {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #cceeff;
}

/* Slider */
.carousel-item img,
.carousel-item video {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

/* Blog-Ausgabe */
.container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #444;
}

.row {
    display: flex;
    flex-wrap: wrap;
   
    justify-content: center;
}

.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.card-text {
    font-size: 14px;
    color: #777;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #007bff;
    color: #fff;
    padding: 20px;
    bottom: 0;

}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer p {
    text-align: center;
    margin: 10px 0 0;
    font-size: 14px;
}
/* Home-Seite Layout */
.container {
    margin: 20px auto;
    padding: 20px;
}

h1.text-center {
    font-size: 32px;
    margin-bottom: 20px;
    color: #007bff;
}

p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

/* Highlights-Bereich */
.row img {
    max-height: 250px;
    object-fit: cover;
    margin-top: 10px;
}

/* Allgemeines Layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    background-color: #007bff; /* Blaues Design */
}

.navbar a {
    color: #grey; /* Weiße Schrift für Links */
    text-decoration: none;
    font-size: 16px;
}

.navbar a:hover {
    color: darkblue; /* Helleres Blau bei Hover */
}

/* Slider */
.carousel-inner img,
.carousel-inner video {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
}
.carousel {
    padding-top: 20px;
}
/* Header-Logo */
.navbar-brand img {
    height: 50px;
    object-fit: contain;
}

/* Benutzer-Profil */
.navbar .d-flex img {
    border: 2px solid #ddd;
}

.navbar .d-flex span {
    font-size: 14px;
    color: #333;
}
body {
    padding-top: 200px;
}
body.has-slider {
  padding-top: 200px;
}

body.no-slider {
  padding-top: 150px;
}

/* Mobile Ansicht anpassen */
@media (max-width: 576px) {
  body.has-slider {
    padding-top: 120px;
  }

  body.no-slider {
    padding-top: 80px;
  }
}
/* Footer Style */
footer {
    background-color: #f8f9fa;
    padding: 20px;
    border-top: 1px solid #ddd;
}

footer .list-inline-item a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

footer .list-inline-item a:hover {
    color: #007bff; /* Blau bei Hover */
}

footer .bi-bag-heart {
    font-size: 18px;
    margin-right: 5px; /* Abstand zwischen Icon und Text */
}

/* Responsive Verhalten */
@media (max-width: 768px) {
    footer {
        padding: 15px; /* Weniger Padding bei kleinen Bildschirmen */
        font-size: 12px; /* Kleinere Schrift für Mobile */
    }
    
    footer .list-inline-item a {
        display: block; /* Links übereinander anzeigen */
        margin-bottom: 10px; /* Abstand zwischen den Links */
    }
}
.image-container {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8; 
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; 
}
.card-text {
    margin-bottom: 20px;
}
.card .btn {
    margin-top: 20px;
}
/* Sicherstellen, dass Dropdowns immer nach unten geöffnet werden */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    display: none;
    background-color: #ffffff; /* Weißer Hintergrund */
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Schatten für bessere Sichtbarkeit */
    transition: opacity 0.3s ease;
}

/* Bei Hover und Klick sichtbar machen */
.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown .dropdown-menu.show {
    display: block;
    opacity: 1;
}

/* Link-Styling */
.dropdown-item {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
}

.dropdown-item:hover {
    background-color: #f8f9fa; /* Heller Hintergrund bei Hover */
    color: #007bff; /* Blau bei Hover */
}

/* Problem "Hintergrund über Links" beheben */
.navbar-nav .dropdown:hover > .dropdown-menu {
    position: absolute;
    z-index: 1051;
}

/* Mobile Ansicht */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown:hover > .dropdown-menu {
        display: none;
    }
}

/* Pfeile entfernen */
.dropdown-toggle::after {
    display: none; /* Verbirgt standardmäßiges Bootstrap-Pfeil */
}

.bi-chevron-down {
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

/* Icons für "Deep Dropdown" */
.bi-chevron-down {
    font-size: 0.75rem;
    float: right;
    margin-left: 0.5rem;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    content: "\f0c9" !important; /* Erzwingt das Hamburger-Symbol */
    font-family: "Font Awesome 5 Free"; /* FontAwesome verwenden */
    font-weight: 900;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-menu {
        width: auto;
    }
}
/* Mobile Navigation Button */
.mobile-nav-toggle {
    font-size: 24px;
    background-color: transparent;
    border: none;
    color: #333; /* Farbe des Icons */
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1100;
}

body.mobile-nav-active .mobile-nav-toggle {
    color: #fff; /* Farbe des Icons im aktiven Zustand */
}

body.mobile-nav-active #navbarNav {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1099;
    overflow-y: auto;
}

body.mobile-nav-active #navbarNav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

body.mobile-nav-active .nav-link {
    color: #fff !important;
    font-size: 20px;
    margin: 10px 0;
}

body.mobile-nav-active .mobile-nav-toggle {
    color: #fff;
}
@media (min-width: 992px) {
        .navbar-expand-lg .navbar-nav .dropdown-menu {
            position: absolute;
            top: 40px;
        }

        .navbar-expand-lg .navbar-nav .child-dropdown-menu {
            position: absolute !important;
            left: 100% !important;
            top: 0;
        }
}
-----------------------------------------
Event-details
@media (min-width: 769px) {
    .desktop-event-container {
        display: block;
    }

    .image-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .card {
        background: #f8f9fa;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}
