.container-topbar .mod-menu {
  justify-content: flex-end;
  margin-right: 1rem;  /* Abstand zum rechten Rand */
}

/* ============================================
   Header-Hintergrundbild
   ============================================ */

.header {
    background-image: url('/images/Bilder/header.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px;
    position: relative;
}



/* Inhalt über Overlay */
.header .container,
.header .navbar {
    position: relative;
    z-index: 2;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .header {
        min-height: 180px;
    }
}

/* ============================================
   Topbar: grauer, transparenter Hintergrund
   ============================================ */

.container-topbar {
    background-color: rgba(128, 128, 128, 0.7);
    position: relative;
    z-index: 10;
}

/* Flex-Container für Topbar-Inhalt */
.container-topbar .container {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: center;
}

/* Kinder nicht umbrechen lassen */
.container-topbar .container > * {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================
   Searchbar: klickbar und sichtbar
   ============================================ */

.container-search {
    position: relative;
    z-index: 20; /* Über dem Header-Overlay */
    flex-shrink: 0;
}

.container-search input,
.container-search button {
    position: relative;
    z-index: 21; /* Sicherstellen dass Form-Elemente klickbar sind */
}

/* ============================================
   Top Menu
   ============================================ */

.container-topbar .mod-menu {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    white-space: nowrap;
}

.container-topbar .mod-menu > ul {
    display: flex;
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

.container-topbar .mod-menu > ul > li {
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
    z-index: 20; /* Auch Menü-Items klickbar */
}

/* ============================================
   Site Description als H1 formatiert
   ============================================ */

.site-description {
    display: block;
    font-size: var(--h1size) !important;           /* H1-typische Größe */
    font-weight: 700;          /* Bold */
    line-height: 1.2;
    margin: 0 0 1rem 0;        /* H1-typische Margins */
    color: white !important;            
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
}

@media (max-width: 991px) {
    .site-grid {
        grid-template-areas:
            ". banner banner banner banner ."
            ". top-a  top-a  top-a  top-a  ."
            ". top-b  top-b  top-b  top-b  ."
            ". side-l side-l side-l side-l ."
            ". comp   comp   comp   comp   ."
            ". side-r side-r side-r side-r ."
            ". bot-a  bot-a  bot-a  bot-a  ."
            ". bot-b  bot-b  bot-b  bot-b  ."
    }
}