/* =====================================================
   HEADER
   FDP ANHALT-BITTERFELD
===================================================== */


/* =====================================================
   HEADER GRUNDLAGE
===================================================== */

.site-header {
    position: sticky;

    z-index: 1000;

    top: 0;

    width: 100%;

    background: var(--fdp-white);

    box-shadow:
        0 3px 18px
        rgba(
            3,
            45,
            103,
            0.06
        );
}


/* =====================================================
   VERSTECKTE BEREICHE
===================================================== */

.site-header__search[hidden],
.site-header__mobile[hidden] {
    display: none !important;
}


/* =====================================================
   HEADER-BAR
===================================================== */

.site-header__bar {
    min-height: 94px;

    border-bottom:
        1px solid
        rgba(
            3,
            45,
            103,
            0.08
        );

    background: var(--fdp-white);
}


.site-header__container {
    display: grid;

    width:
        min(
            var(--container),
            calc(
                100%
                - 64px
            )
        );

    min-height: 94px;

    grid-template-columns:
        auto
        minmax(
            0,
            1fr
        )
        auto;

    align-items: center;

    gap: 26px;

    margin-inline: auto;
}


/* =====================================================
   LOKALES LOGO
===================================================== */

.site-header__brand {
    display: flex;

    min-width: 0;

    align-items: center;
}


.site-header__brand-link {
    display: inline-flex;

    align-items: center;

    text-decoration: none;
}


.site-header__brand-link img {
    display: block;

    width: auto;
    height: auto;

    max-width: 180px;
    max-height: 54px;

    object-fit: contain;
}


.site-header__brand-text {
    color: var(--fdp-blue);

    font-size: 1.15rem;

    font-weight: 800;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.site-header__navigation {
    min-width: 0;
}


.site-header__menu {
    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        clamp(
            16px,
            1.4vw,
            25px
        );

    margin: 0;
    padding: 0;

    list-style: none;
}


.site-header__menu li {
    position: relative;

    margin: 0;
}


.site-header__menu a {
    position: relative;

    display: block;

    padding:
        35px
        0;

    color: var(--fdp-blue);

    font-size: 0.94rem;

    font-weight: 800;

    line-height: 1.2;

    white-space: nowrap;

    text-decoration: none;
}


/*
 * Menü-Überschrift ohne Link (Adresse „#“):
 * öffnet nur die Unterpunkte.
 */

.site-header__menu .menu-item__label {
    cursor: pointer;
}

.site-header__menu .menu-item__label:focus-visible {
    outline: 2px solid var(--fdp-cyan);
    outline-offset: 4px;
}


/* =====================================================
   AKTIVER NAVIGATIONSPUNKT
===================================================== */

.site-header__menu
> li
> a::after {
    position: absolute;

    right: 0;
    bottom: 32px;
    left: 0;

    height: 3px;

    background: var(--fdp-cyan);

    content: "";

    transform:
        scaleX(0);

    transform-origin: right;

    transition:
        transform
        var(--transition);
}


.site-header__menu
> li:hover
> a::after,

.site-header__menu
> li.current-menu-item
> a::after,

.site-header__menu
> li.current-menu-ancestor
> a::after,

.site-header__menu
> li.current_page_item
> a::after {
    transform:
        scaleX(1);

    transform-origin: left;
}


/* =====================================================
   DESKTOP UNTERMENÜ
===================================================== */

.site-header__menu
.sub-menu {
    position: absolute;

    z-index: 20;

    top:
        calc(
            100%
            - 12px
        );

    left: -22px;

    display: grid;

    min-width: 230px;

    margin: 0;

    padding:
        14px
        0;

    border-radius: 16px;

    background: var(--fdp-white);

    box-shadow:
        0
        18px
        44px
        rgba(
            3,
            45,
            103,
            0.15
        );

    list-style: none;

    opacity: 0;

    pointer-events: none;

    transform:
        translateY(
            10px
        );

    transition:
        opacity
        var(--transition),
        transform
        var(--transition);
}


.site-header__menu
li:hover
> .sub-menu,

.site-header__menu
li:focus-within
> .sub-menu {
    opacity: 1;

    pointer-events: auto;

    transform:
        translateY(0);
}


.site-header__menu
.sub-menu
a {
    padding:
        11px
        22px;

    white-space: normal;
}


.site-header__menu
.sub-menu
a:hover {
    background: var(--fdp-light);

    color: var(--fdp-cyan);
}


/* =====================================================
   RECHTER HEADER-BEREICH
===================================================== */

.site-header__actions {
    display: flex;

    min-width: 0;

    flex:
        0
        0
        auto;

    align-items: center;

    overflow: visible;
}


/* =====================================================
   FDP BUND
===================================================== */

.site-header__federal-logo {
    display: inline-flex;

    width: 66px;
    height: 48px;

    flex:
        0
        0
        66px;

    align-items: center;
    justify-content: center;

    margin-right: 10px;

    color: var(--fdp-blue);

    text-decoration: none;
}


.site-header__federal-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 64px;
    max-height: 42px;

    object-fit: contain;
}


.site-header__federal-logo span {
    color: var(--fdp-blue);

    font-size: 2rem;

    font-weight: 800;

    letter-spacing: -0.08em;

    line-height: 1;
}


/* =====================================================
   ICON-GRUPPE
===================================================== */

.site-header__icon-group {
    display: flex;

    min-width: auto;

    flex:
        0
        0
        auto;

    align-items: center;

    gap: 10px;

    overflow: visible;
}


/* =====================================================
   SUCHBUTTON
===================================================== */

.site-header__icon-button {
    display: inline-flex;

    width: 26px;
    height: 40px;

    flex:
        0
        0
        26px;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    overflow: visible;

    border: 0;

    background: transparent;

    color: var(--fdp-blue);

    cursor: pointer;

    line-height: 0;

    appearance: none;
    -webkit-appearance: none;

    transition:
        opacity
        var(--transition),
        transform
        var(--transition);
}


.site-header__icon-button:hover {
    opacity: 0.65;

    transform:
        translateY(-1px);
}


/* =====================================================
   SOCIAL MEDIA DESKTOP
===================================================== */

.site-header__socials {
    display: flex;

    flex:
        0
        0
        auto;

    align-items: center;

    gap: 10px;

    margin-left: 10px;

    overflow: visible;
}


.site-header__social-link {
    display: inline-flex;

    width: 26px;
    height: 40px;

    flex:
        0
        0
        26px;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    overflow: visible;

    color: var(--fdp-blue);

    line-height: 0;

    text-decoration: none;

    transition:
        opacity
        var(--transition),
        transform
        var(--transition);
}


.site-header__social-link:hover {
    opacity: 0.65;

    transform:
        translateY(-1px);
}


/* =====================================================
   HEADER ICONS
===================================================== */

.site-header__header-icon {
    display: block;

    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    color: var(--fdp-blue);
}


/* =====================================================
   ICON FALLBACK
===================================================== */

.site-header__icon-fallback {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: var(--fdp-blue);

    font-size: 0.75rem;

    font-weight: 800;

    line-height: 1;
}


/* =====================================================
   SPENDENBUTTON DESKTOP
===================================================== */

.site-header__donation {
    display: inline-flex;

    min-height: 52px;

    align-items: center;
    justify-content: center;

    margin-left: 15px;

    padding:
        11px
        25px;

    border:
        2px solid
        var(--fdp-yellow);

    border-radius: 8px;

    background: var(--fdp-yellow);

    color: var(--fdp-blue);

    font-size: 0.94rem;

    font-weight: 800;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none;

    transition:
        background
        var(--transition),
        border-color
        var(--transition),
        color
        var(--transition),
        transform
        var(--transition);
}


.site-header__donation:hover {
    border-color: var(--fdp-yellow);

    background: var(--fdp-white);

    color: var(--fdp-blue);

    transform:
        translateY(-2px);
}


/* =====================================================
   SUCHBEREICH
===================================================== */

.site-header__search {
    border-bottom:
        1px solid
        rgba(
            3,
            45,
            103,
            0.1
        );

    background: var(--fdp-white);
}


.site-header__search-container {
    display: flex;

    width:
        min(
            820px,
            calc(
                100%
                - 64px
            )
        );

    align-items: center;

    gap: 16px;

    margin-inline: auto;

    padding:
        24px
        0;
}


.site-header__search-container
.search-form {
    display: flex;

    flex: 1;

    gap: 10px;
}


.site-header__search-container
.search-form
label {
    flex: 1;
}


.site-header__search-container
.search-field {
    width: 100%;

    min-height: 52px;

    padding:
        12px
        18px;

    border:
        2px solid
        var(--fdp-blue);

    border-radius: 8px;

    outline: none;

    background: var(--fdp-white);

    color: #171717;

    font-family: inherit;

    font-size: 1rem;

    font-weight: 500;
}


.site-header__search-container
.search-field:focus {
    border-color: var(--fdp-cyan);
}


.site-header__search-container
.search-submit {
    min-height: 52px;

    padding:
        11px
        24px;

    border:
        2px solid
        var(--fdp-blue);

    border-radius: 8px;

    background: var(--fdp-blue);

    color: var(--fdp-white);

    cursor: pointer;

    font-family: inherit;

    font-weight: 800;
}


/* =====================================================
   SUCHE SCHLIESSEN
===================================================== */

.site-header__search-close {
    display: inline-flex;

    width: 48px;
    height: 48px;

    flex:
        0
        0
        48px;

    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--fdp-blue);

    cursor: pointer;
}


.site-header__search-close-symbol {
    display: block;

    font-size: 2rem;

    font-weight: 400;

    line-height: 1;
}


/* =====================================================
   MOBILE MENÜBUTTON
===================================================== */

.site-header__menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 6px;

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.site-header__menu-toggle span {
    display: block;

    width: 28px;
    height: 3px;

    background: var(--fdp-blue);

    transition:
        transform
        var(--transition),
        opacity
        var(--transition);
}


.site-header__menu-toggle.is-active
span:first-child,

.site-header__menu-toggle[aria-expanded="true"]
span:first-child {
    transform:
        translateY(9px)
        rotate(45deg);
}


.site-header__menu-toggle.is-active
span:nth-child(2),

.site-header__menu-toggle[aria-expanded="true"]
span:nth-child(2) {
    opacity: 0;
}


.site-header__menu-toggle.is-active
span:last-child,

.site-header__menu-toggle[aria-expanded="true"]
span:last-child {
    transform:
        translateY(-9px)
        rotate(-45deg);
}


/* =====================================================
   MOBILE MENÜ – BASIS
===================================================== */

.site-header__mobile {
    border-bottom:
        1px solid
        rgba(
            3,
            45,
            103,
            0.1
        );

    background: var(--fdp-white);
}


.site-header__mobile-inner {
    width:
        min(
            calc(
                100%
                - 32px
            ),
            var(--container)
        );

    margin-inline: auto;

    padding:
        22px
        0
        32px;
}


.site-header__mobile-menu {
    display: grid;

    margin: 0;
    padding: 0;

    list-style: none;
}


.site-header__mobile-menu
> li {
    border-bottom:
        1px solid
        rgba(
            3,
            45,
            103,
            0.1
        );
}


.site-header__mobile-menu
a {
    display: block;

    padding:
        16px
        4px;

    color: var(--fdp-blue);

    font-size: 1.12rem;

    font-weight: 800;

    text-decoration: none;
}


.site-header__mobile-menu
.sub-menu {
    margin: 0;

    padding:
        0
        0
        12px
        18px;

    list-style: none;
}


.site-header__mobile-menu
.sub-menu
a {
    padding:
        9px
        4px;

    font-size: 0.96rem;

    font-weight: 700;
}


/* =====================================================
   MOBILE TOOLS – BASIS

   Im finalen mobilen Drawer werden sie komplett
   ausgeblendet. Die Basis bleibt für die bestehende
   HTML-Struktur erhalten.
===================================================== */

.site-header__mobile-tools {
    display: grid;

    gap: 20px;

    padding-top: 26px;
}


/* =====================================================
   FDP BUND MOBILE
===================================================== */

.site-header__mobile-federal-logo {
    display: inline-flex;

    width: fit-content;

    align-items: center;

    color: var(--fdp-blue);

    font-weight: 800;

    text-decoration: none;
}


.site-header__mobile-federal-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 82px;
    max-height: 46px;

    object-fit: contain;
}


/* =====================================================
   MOBILE SOCIALS
===================================================== */

.site-header__mobile-socials {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.site-header__mobile-socials
a {
    display: inline-flex;

    min-height: 42px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        8px
        14px;

    border:
        2px solid
        var(--fdp-blue);

    border-radius: 999px;

    color: var(--fdp-blue);

    font-size: 0.85rem;

    font-weight: 800;

    text-decoration: none;
}


.site-header__mobile-social-icon {
    display: block !important;

    width: 17px !important;
    height: 17px !important;

    min-width: 17px !important;
    min-height: 17px !important;

    max-width: 17px !important;
    max-height: 17px !important;

    object-fit: contain !important;
}


/* =====================================================
   MOBILE SPENDEN
===================================================== */

.site-header__mobile-donation {
    display: inline-flex;

    width: fit-content;

    min-height: 50px;

    align-items: center;
    justify-content: center;

    padding:
        11px
        24px;

    border-radius: 8px;

    background: var(--fdp-yellow);

    color: var(--fdp-blue);

    font-weight: 800;

    text-decoration: none;
}


/* =====================================================
   SEITENSCROLL SPERREN
===================================================== */

body.site-mobile-menu-open {
    overflow: hidden;
}


/* =====================================================
   MOBILE / TABLET NAVIGATION
===================================================== */

@media (max-width: 1320px) {


    /* =================================================
       DESKTOP-BEREICHE AUSBLENDEN
    ================================================= */

    .site-header__navigation,
    .site-header__actions {
        display: none;
    }


    .site-header__container {
        grid-template-columns:
            1fr
            auto;
    }


    .site-header__menu-toggle {
        display: flex;
    }


    /* =================================================
       ABGEDUNKELTER BEREICH MIT SCHUBLADE

       Header bleibt sichtbar.
       Menü beginnt direkt darunter und reicht
       bis zum unteren Rand.
    ================================================= */

    .site-header__mobile {
        position: fixed;

        z-index: 999;

        top:
            var(
                --fdp-mobile-menu-top,
                94px
            );

        right: 0;
        bottom: 0;
        left: 0;

        width: 100%;

        max-width: none;

        height: auto;

        min-height: 0;

        margin: 0;

        overflow-x: hidden;
        overflow-y: auto;

        border: 0;

        background: rgba(0, 0, 0, 0.25);

        overscroll-behavior: contain;

        -webkit-overflow-scrolling: touch;
    }


    /* =================================================
       ÖFFNUNG VON LINKS

       Aufbau wie auf fdp.de: Die Seite wird abgedunkelt,
       die weiße Schublade schiebt sich von links herein.
    ================================================= */

    .site-header__mobile:not([hidden]) {
        animation:
            fdp-mobile-overlay-in
            220ms
            ease-out
            both;
    }


    .site-header__mobile:not([hidden])
    .site-header__mobile-inner {
        animation:
            fdp-mobile-drawer-in
            220ms
            ease-out
            both;
    }


    @keyframes fdp-mobile-overlay-in {

        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }

    }


    @keyframes fdp-mobile-drawer-in {

        from {
            transform:
                translateX(-100%);
        }

        to {
            transform:
                translateX(0);
        }

    }


    /* =================================================
       SCHUBLADE
    ================================================= */

    .site-header__mobile-inner {
        display: flex;

        box-sizing: border-box;

        width:
            min(
                80%,
                440px
            );

        min-height: 100%;

        flex-direction: column;

        margin: 0;

        padding: 0;

        background: var(--fdp-white);
    }


    /* =================================================
       TITEL „MENÜ“
    ================================================= */

    .site-header__mobile-title {
        display: flex;

        box-sizing: border-box;

        min-height: 50px;

        align-items: center;
        justify-content: center;

        margin: 0;

        border-bottom:
            1px solid
            rgba(
                3,
                45,
                103,
                0.1
            );

        color: #303030;

        font-family:
            "Public Sans",
            Arial,
            sans-serif;

        font-size: 1.19rem;

        font-weight: 400;

        line-height: 1.25;
    }


    .site-header__mobile.is-drilldown-open
    .site-header__mobile-title {
        display: none;
    }


    /* =================================================
       MOBILE TOOLS KOMPLETT AUSBLENDEN

       Kein:
       - FDP-Bund-Logo
       - Instagram
       - Facebook
       - TikTok
       - Spendenbutton
    ================================================= */

    .site-header__mobile-tools {
        display: none !important;
    }


    /* =================================================
       HAUPTMENÜ
    ================================================= */

    .site-header__mobile
    .site-header__mobile-menu.has-drilldown,

    .site-header__mobile
    .site-nav__menu.has-drilldown {
        display: grid;

        width: 100%;

        margin: 0;
        padding: 0;

        list-style: none;
    }


    /* =================================================
       OBERMENÜPUNKTE
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li {
        position: relative;

        margin:
            0
            20px;

        border-bottom:
            1px solid
            rgba(
                3,
                45,
                103,
                0.1
            );
    }


    /* =================================================
       OBERMENÜ-LINK
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li
    > a {
        display: flex;

        box-sizing: border-box;

        width: 100%;

        min-height: 54px;

        align-items: center;

        padding:
            15px
            32px
            15px
            0;

        color: var(--fdp-blue);

        font-family:
            "Public Sans",
            Arial,
            sans-serif;

        font-size: 1.125rem;

        font-weight: 700;

        line-height: 1.25;

        text-decoration: none;

        text-transform: uppercase;

        transition:
            color
            var(--transition);
    }


    /*
     * Punkte ohne Untermenü brauchen rechts
     * keinen Platz für den Pfeil.
     */

    .site-header__mobile
    .has-drilldown
    > li:not(.has-mobile-submenu)
    > a {
        padding-right: 0;
    }


    .site-header__mobile
    .has-drilldown
    > li
    > a:hover {
        color: var(--fdp-cyan);
    }


    @media (hover: hover) {

        .site-header__mobile
        .has-drilldown
        > li.has-mobile-submenu:hover
        > a {
            color: var(--fdp-cyan);
        }

    }


    /* =================================================
       PFEIL RECHTS

       Der Button liegt über der ganzen Zeile:
       Wie auf fdp.de öffnet ein Tippen das Untermenü.
    ================================================= */

    .site-header__mobile-submenu-toggle {
        position: absolute;

        z-index: 2;

        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        display: flex;

        align-items: center;
        justify-content: flex-end;

        margin: 0;
        padding: 0;

        border: 0;

        background: transparent;

        color: var(--fdp-blue);

        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;

        -webkit-tap-highlight-color: transparent;

        transition:
            color
            var(--transition);
    }


    .site-header__mobile-submenu-toggle:hover {
        color: var(--fdp-cyan);
    }


    .site-header__mobile-submenu-toggle:focus-visible {
        outline:
            2px solid
            var(--fdp-cyan);

        outline-offset: -2px;
    }


    .site-header__mobile-submenu-toggle-icon,
    .site-header__mobile-submenu-back
    svg {
        display: block;

        width: 24px;
        height: 24px;

        fill: none;

        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


    .site-header__mobile-submenu-toggle-icon {
        margin-right: -7px;
    }


    /* =================================================
       ALLE UNTERMENÜS ZUNÄCHST VERSTECKEN
    ================================================= */

    .site-header__mobile
    .has-drilldown
    .sub-menu {
        display: none;

        width: 100%;

        margin: 0;
        padding: 0;

        list-style: none;
    }


    /* =================================================
       BEI GEÖFFNETEM UNTERMENÜ
    ================================================= */

    .site-header__mobile
    .has-drilldown.is-submenu-open
    > li {
        display: none;
    }


    .site-header__mobile
    .has-drilldown.is-submenu-open
    > li.is-submenu-active {
        display: block;

        margin: 0;

        border-bottom: 0;
    }


    /* =================================================
       OBERMENÜZEILE VERSTECKEN
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > a,

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .site-header__mobile-submenu-toggle {
        display: none;
    }


    /* =================================================
       AKTIVES UNTERMENÜ
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu {
        display: block;

        animation:
            fdp-mobile-submenu-in
            180ms
            ease-out
            both;
    }


    @keyframes fdp-mobile-submenu-in {

        from {
            opacity: 0;

            transform:
                translateX(18px);
        }

        to {
            opacity: 1;

            transform:
                translateX(0);
        }

    }


    /* =================================================
       UNTERMENÜ-KOPF
    ================================================= */

    .site-header__mobile-submenu-header {
        display: grid !important;

        box-sizing: border-box;

        width: 100%;

        min-height: 50px;

        grid-template-columns:
            30px
            minmax(
                0,
                1fr
            )
            30px;

        align-items: center;

        margin: 0 !important;

        padding:
            0
            12px !important;

        border-bottom:
            1px solid
            rgba(
                3,
                45,
                103,
                0.1
            ) !important;

        list-style: none;
    }


    /* =================================================
       ZURÜCK-PFEIL
    ================================================= */

    .site-header__mobile-submenu-back {
        display: inline-flex;

        width: 30px;
        height: 48px;

        grid-column: 1;

        align-items: center;
        justify-content: flex-start;

        margin: 0;
        padding: 0;

        border: 0;

        background: transparent;

        color: var(--fdp-blue);

        cursor: pointer;

        appearance: none;
        -webkit-appearance: none;

        transition:
            color
            var(--transition);
    }


    .site-header__mobile-submenu-back:hover {
        color: var(--fdp-cyan);
    }


    .site-header__mobile-submenu-back:focus-visible {
        outline:
            2px solid
            var(--fdp-cyan);

        outline-offset: -3px;
    }


    /* =================================================
       TITEL DES UNTERMENÜS
    ================================================= */

    .site-header__mobile-submenu-title {
        grid-column: 2;

        min-width: 0;

        color: #303030;

        font-family:
            "Public Sans",
            Arial,
            sans-serif;

        font-size: 1.19rem;

        font-weight: 400;

        line-height: 1.25;

        text-align: center;

        overflow-wrap: anywhere;
    }


    /* =================================================
       UNTERMENÜ-PUNKTE
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li:not(
        .site-header__mobile-submenu-header
    ) {
        position: relative;

        width: 100%;

        margin: 0;
        padding: 0;

        border-bottom:
            1px solid
            rgba(
                3,
                45,
                103,
                0.1
            );
    }


    /* =================================================
       UNTERMENÜ-LINKS
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li:not(
        .site-header__mobile-submenu-header
    )
    > a {
        display: flex;

        box-sizing: border-box;

        width: 100%;

        min-height: 50px;

        align-items: center;

        margin: 0;

        padding:
            13px
            20px;

        color: var(--fdp-blue);

        font-family:
            "Public Sans",
            Arial,
            sans-serif;

        font-size: 1.125rem;

        font-weight: 400;

        line-height: 1.3;

        text-decoration: none;

        transition:
            color
            var(--transition);
    }


    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li:not(
        .site-header__mobile-submenu-header
    )
    > a:hover {
        color: var(--fdp-cyan);
    }


    /* =================================================
       AKTIVER UNTERMENÜPUNKT
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li.current-menu-item
    > a,

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li.current_page_item
    > a {
        color: var(--fdp-cyan);
    }


    /* =================================================
       SPENDEN IM MENÜ
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.site-header__mobile-donation-item {
        padding:
            14px
            0;
    }


    .site-header__mobile
    .has-drilldown
    > li.site-header__mobile-donation-item
    > a {
        display: inline-flex;

        width: auto;

        min-height: 44px;

        justify-content: center;

        padding:
            9px
            20px;

        border:
            2px solid
            var(--fdp-yellow);

        border-radius: 8px;

        background: var(--fdp-yellow);

        color: var(--fdp-blue);

        font-size: 0.94rem;

        font-weight: 800;

        line-height: 1;

        text-transform: none;

        transition:
            background
            var(--transition),
            border-color
            var(--transition),
            color
            var(--transition);
    }


    .site-header__mobile
    .has-drilldown
    > li.site-header__mobile-donation-item
    > a:hover,

    .site-header__mobile
    .has-drilldown
    > li.site-header__mobile-donation-item
    > a:active {
        border-color: var(--fdp-yellow);

        background: var(--fdp-white);

        color: var(--fdp-blue);
    }


    .site-header__mobile
    .has-drilldown
    > li.site-header__mobile-donation-item
    > a:focus-visible {
        outline:
            2px solid
            var(--fdp-cyan);

        outline-offset: 2px;
    }


    /* =================================================
       SUCHE IM MENÜ
    ================================================= */

    .site-header__mobile
    .has-drilldown
    > li.is-submenu-active
    > .sub-menu
    > li.site-header__mobile-search {
        box-sizing: border-box;

        padding: 20px;

        border-bottom: 0;
    }


    .site-header__mobile-search
    .search-form {
        display: flex;

        gap: 10px;
    }


    .site-header__mobile-search
    .search-form__label {
        min-width: 0;

        flex: 1;
    }


    .site-header__mobile-search
    .search-field {
        box-sizing: border-box;

        width: 100%;

        min-height: 52px;

        padding:
            12px
            14px;

        border:
            2px solid
            var(--fdp-blue);

        border-radius: 8px;

        outline: none;

        background: var(--fdp-white);

        color: #171717;

        font-family: inherit;

        font-size: 1rem;

        font-weight: 500;
    }


    .site-header__mobile-search
    .search-field:focus {
        border-color: var(--fdp-cyan);
    }


    .site-header__mobile-search
    .search-submit {
        display: inline-flex;

        width: 52px;

        min-height: 52px;

        flex: 0 0 52px;

        align-items: center;
        justify-content: center;

        padding: 0;

        border:
            2px solid
            var(--fdp-blue);

        border-radius: 8px;

        background: var(--fdp-blue);

        cursor: pointer;
    }


    .site-header__mobile-search
    .search-submit__icon {
        display: block;

        width: 22px;
        height: 22px;

        color: var(--fdp-white);
    }

}


/* =====================================================
   WORDPRESS ADMINBAR – DESKTOP
===================================================== */

@media (min-width: 783px) {

    .admin-bar
    .site-header {
        top: 32px;
    }

}


/* =====================================================
   WORDPRESS ADMINBAR – MOBILE
===================================================== */

@media (max-width: 782px) {

    .admin-bar
    .site-header {
        top: 0;
    }

}


/* =====================================================
   SMARTPHONE
===================================================== */

@media (max-width: 767px) {

    .site-header__bar,
    .site-header__container {
        min-height: 76px;
    }


    .site-header__container {
        width:
            min(
                calc(
                    100%
                    - 32px
                ),
                var(--container)
            );
    }


    .site-header__brand-link
    img {
        max-width: 155px;

        max-height: 46px;
    }


    .site-header__menu-toggle {
        width: 42px;
        height: 42px;
    }


    .site-header__menu-toggle
    span {
        width: 26px;
    }


    .site-header__search-container {
        width:
            min(
                calc(
                    100%
                    - 32px
                ),
                820px
            );

        align-items: stretch;
    }


    .site-header__search-container
    .search-form {
        flex-direction: column;
    }



}


/* =====================================================
   KLEINE SMARTPHONES
===================================================== */

@media (max-width: 440px) {

    .site-header__bar,
    .site-header__container {
        min-height: 72px;
    }


    .site-header__container {
        width:
            calc(
                100%
                - 28px
            );
    }


    .site-header__brand-link
    img {
        max-width: 145px;

        max-height: 43px;
    }


    .site-header__menu-toggle {
        width: 40px;
        height: 40px;
    }


    .site-header__menu-toggle
    span {
        width: 25px;
    }




    .site-header__search-container {
        width:
            calc(
                100%
                - 28px
            );

        padding:
            18px
            0;
    }


}