/* Mobile Navbar: siehe assets/css/header-nav-mobile.css */
@media (max-width: 767.98px) {
  .go-to-top {
    display: none !important;
  }
}
@media (max-width: 768px) {
    .navbar-brand img {
      max-height: 42px;
      margin-top: 0;
    }

    .navbar {
        min-height: var(--site-header-height, 4.25rem);
    }
}
@media (min-width: 992px) {
  #header .navbar-expand-lg .navbar-nav > .dropdown > .dropdown-menu,
  #header .navbar-expand-lg .navbar-nav > .nav-item.dropdown > .dropdown-menu {
    top: 100% !important;
    margin-top: 0.125rem;
  }
  .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: nur #header (nicht contact-page__head). Kein "nav ul" — trifft sonst .dropdown-menu. */
#header {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
}

#header > nav .navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

#header > nav .navbar-nav > .nav-item,
#header > nav .navbar-nav > .dropdown {
    margin-left: 0.35rem;
    margin-right: 0.35rem;
}

#header > nav .navbar-nav > .nav-item > .nav-link,
#header > nav .navbar-nav > .dropdown > .nav-link {
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

/* Dropdown-Menüs: vertikal, nicht vom Navbar-Flex erben */
#header .dropdown-menu {
    display: none;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    position: absolute !important;
    min-width: 12rem;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

/* Nur direktes Kind-Menü — nie alle verschachtelten .dropdown-menu */
#header .navbar-nav > .dropdown:hover > .dropdown-menu,
#header .navbar-nav > .nav-item.dropdown:hover > .dropdown-menu,
#header .navbar-nav > .dropdown.show > .dropdown-menu,
#header .navbar-nav > .nav-item.dropdown.show > .dropdown-menu,
#header .dropdown-menu > li.dropdown:hover > .dropdown-menu,
#header .dropdown-menu > li.dropdown:hover > .child-dropdown-menu {
    display: block !important;
}

#header .dropdown-menu > .dropdown > .dropdown-menu,
#header .dropdown-menu > .dropdown > .child-dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

#header .dropdown-menu > .dropdown {
    position: relative;
}


.site-footer .dropdown.dropup:hover > .dropdown-menu,
.site-footer .dropdown.dropup .dropdown-menu.show {
    display: block !important;
}

#header .dropdown-menu > li {
    display: block !important;
    width: 100%;
    margin: 0;
}

#header .dropdown-menu .dropdown-item:not(.d-none):not(.d-lg-none) {
    width: 100%;
    white-space: nowrap;
}

/* Slider: siehe assets/css/slider.css (#slider.site-hero-slider) */

.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: 0.75rem auto 1.25rem;
    padding: 0 0.75rem;
}

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-Farbe: Theme (theme-system.css) hat Vorrang wenn .theme-enabled aktiv */
.navbar:not(.navbar-themed-legacy) {
    background-color: transparent;
}

.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 {
    padding-top: 0.5rem;
}
/* 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;
}
/* padding-top: siehe header-nav-mobile.css (--site-content-offset + JS-Messung) */
/* 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;
}

/* 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 */
/* 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 */
}

/* Desktop-Dropdowns im Header: siehe header-nav-mobile.css */
-----------------------------------------
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);
    }
}
