.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    /* Deutlich hellerer Salbei-Header */
    background: rgba(232, 239, 229, 0.92);
    /* Wenn --stroke sehr neutral ist, bleibt das okay.
       Optional: später var(--stroke) selbst auf Salbei trimmen */
    border-bottom: 1px solid var(--stroke);
}

.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.brand__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand__text {
    display: grid;
    line-height: 3;
}

.brand__title {
    font-size: 48px;
    font-weight: 300
}

.brand__subtitle {
    font-size: 36px;
    /* etwas „grüner“ und besser lesbar */
    color: rgba(31, 46, 37, 0.78);
}

.nav {
    display: none;
}

@media (min-width: 980px) {
    .nav {
        display: block;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav__item {
    position: relative;
}

/* ===== Desktop Tabs / Toolbar-Links ===== */
.nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: var(--r-1) var(--r-1) 0 0; /* Reiter-Look */
    /* „Toolbar“-Charakter: salbeiger als vorher */
    background: rgba(120, 148, 110, 0.22);
    /* sichtbarer Rahmen in Salbei */
    border: 1px solid rgba(120, 148, 110, 0.30);
    transition: 160ms ease;
    font-weight: 650;
    /* text etwas dunkler/entsättigt */
    color: rgba(31, 46, 37, 0.92);
}

    .nav__link:hover {
        background: rgba(120, 148, 110, 0.32);
        border-color: rgba(120, 148, 110, 0.48);
        box-shadow: var(--shadow-1);
    }

    .nav__link.is-active {
        /* Aktiver Tab deutlich salbeiger */
        background: rgba(120, 148, 110, 0.46);
        border-color: rgba(120, 148, 110, 0.62);
        /* kleines optisches „oben“: wirkt wie aktiver Reiter */
        transform: translateY(1px);
    }

.nav__link--btn {
    cursor: pointer;
    /* Button-Variante: etwas kräftiger als normale Links */
    background: rgba(120, 148, 110, 0.28);
    border-color: rgba(120, 148, 110, 0.40);
}

/* ===== Dropdown / Submenu ===== */
.submenu {
    position: absolute;
    top: 46px;
    right: 0;
    min-width: 260px;
    padding: 10px;
    border-radius: 0 0 var(--r-2) var(--r-2);
    /* Submenu deutlich salbei, aber hell */
    background: rgba(238, 244, 236, 0.98);
    border: 1px solid rgba(120, 148, 110, 0.28);
    box-shadow: var(--shadow-2);
    display: none;
}

.nav__item.is-open .submenu {
    display: block;
}

.submenu__link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(31, 46, 37, 0.92);
    /* leichter, sichtbarer Grundton */
    background: rgba(120, 148, 110, 0.10);
    border: 1px solid transparent;
}

    .submenu__link:hover {
        background: rgba(120, 148, 110, 0.18);
        border-color: rgba(120, 148, 110, 0.22);
    }

/* Burger (Mobile) */
.burger {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    /* salbei-button sichtbar */
    background: rgba(120, 148, 110, 0.28);
    border: 1px solid rgba(120, 148, 110, 0.38);
    cursor: pointer;
}

    .burger:hover {
        background: rgba(120, 148, 110, 0.36);
        border-color: rgba(120, 148, 110, 0.52);
    }

.burger__line {
    width: 20px;
    height: 2px;
    background: rgba(31, 46, 37, 0.78);
}

@media (min-width: 980px) {
    .burger {
        display: none;
    }
}

/* Drawer */
.drawer {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 60;
}

    .drawer.is-open {
        display: block;
    }

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 27, 30, 0.35);
}

.drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(360px, 92vw);
    padding: 18px;
    /* Drawer deutlich hell-salbei */
    background: rgba(232, 239, 229, 0.98);
    border-left: 1px solid rgba(120, 148, 110, 0.28);
    box-shadow: var(--shadow-2);
    overflow-y: auto;
}

.drawer__close {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    /* Close-Button salbei */
    background: rgba(120, 148, 110, 0.22);
    border: 1px solid rgba(120, 148, 110, 0.36);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: rgba(31, 46, 37, 0.92);
}

    .drawer__close:hover {
        background: rgba(120, 148, 110, 0.30);
        border-color: rgba(120, 148, 110, 0.52);
    }

.drawer__nav {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

/* Drawer Links = „Buttons“ */
.drawer__link {
    text-align: left;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(120, 148, 110, 0.22);
    border: 1px solid rgba(120, 148, 110, 0.34);
    font-weight: 750;
    color: rgba(31, 46, 37, 0.92);
}

    .drawer__link:hover {
        background: rgba(120, 148, 110, 0.30);
        border-color: rgba(120, 148, 110, 0.48);
    }

.drawer__link--btn {
    cursor: pointer;
}

.drawer__sub {
    display: none;
    padding: 8px;
    border-radius: 14px;
    /* Untermenü im Drawer: klar salbei aber „weicher“ */
    background: rgba(120, 148, 110, 0.12);
    border: 1px solid rgba(120, 148, 110, 0.22);
}

    .drawer__sub.is-open {
        display: grid;
        gap: 6px;
    }

.drawer__sublink {
    padding: 10px 12px;
    border-radius: 12px;
    /* Sublinks klar salbei */
    background: rgba(120, 148, 110, 0.20);
    border: 1px solid rgba(120, 148, 110, 0.30);
    color: rgba(31, 46, 37, 0.92);
}

    .drawer__sublink:hover {
        background: rgba(120, 148, 110, 0.30);
        border-color: rgba(120, 148, 110, 0.46);
    }

/* =========================
   Desktop-Seitenbreite
   ========================= */

.page-wrapper {
    width: 100%;
}

/* Ab Desktopgröße begrenzen */
@media (min-width: 1200px) {
    .page-wrapper {
        max-width: 60vw; /* ca. 60% der Viewport-Breite */
        margin: 0 auto; /* zentrieren */
    }

    /* Optional: dezente Abgrenzung */
    body {
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.00) 20%, rgba(0, 0, 0, 0.00) 80%, rgba(0, 0, 0, 0.04) ), var(--bg);
    }
}
