/* ===============================
    Navigation
   =============================== */

.mobile-menu-toggle,
.mobile-navigation-backdrop,
.mobile-navigation {
    display: none;
}


/* ===============================
    Fester Hintergrund des Kopfbereichs
   =============================== */

.header-background {

    /* Fester Hintergrund von der oberen Fensterkante bis unter das Logo */
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    /* Helles Praxis-Grün */
    background-color: var(--primary-light);

    /* Liegt über dem Seiteninhalt, aber unter Logo und Navigation */
    z-index: 1000;

    pointer-events: none;
}


/* ===============================
    Haupt-Navigationsleiste
    Enthält die Reiter:
    Startseite | Ergotherapie | Angebot | Team ...
   =============================== */

.top-navigation {

    /* Navigation bleibt beim Scrollen oben sichtbar */
    position: fixed;

    top: 65px;
    left: 0px;

    /* Navigation nimmt komplette Seitenbreite ein */
    width: 100%;

    /* Höhe passend zur Header-Größe */
    height: 80px;


    /* Reiter werden horizontal angeordnet */
    display: flex;

    /* Zentriert die Reiter horizontal */
    justify-content: center;

    /* Zentriert die Reiter vertikal */
    align-items: center;


    /* Abstand zwischen einzelnen Reiter-Boxen */
    gap: 12px;


    /* Verschiebt die komplette Reitergruppe leicht nach rechts */
    padding-left: 240px;


    /* transparenter Hintergrund hinter der Navigation */
    background-color: transparent;


    transition: background-color 0.3s ease;


    /* Navigation liegt über anderen Elementen */
    z-index: 1100;

    /*Größe der Navigationsfelder*/
    box-sizing: border-box;
}


/* ===============================
    Logo oben links
   =============================== */

.logo {

    /* Logo bleibt beim Scrollen an Position */
    position: fixed;


    /* Abstand von oben und links */
    top: 15px;
    left: 20px;


    /* Größe des Logos */
    width: 200px;


    /* Abgerundete Ecken */
    border-radius: 12px;


    /* Logo liegt über Navigation */
    z-index: 1200;
}

.logo-link:focus-visible .logo {

    outline: 3px solid #000;
    outline-offset: 3px;
}


/* ===============================
    Gestaltung der Navigations-Buttons
   =============================== */

.nav-button {

    position: relative;


    z-index: auto;


    /* Link verhält sich wie eine Box */
    display: inline-block;


    /* Größe der Button-Box */
    padding: 12px 20px;


    /* Hintergrundfarbe der normalen Reiter */
    background-color: #f2f2f2;


    /* Schriftfarbe */
    color: rgb(7, 97, 42);


    /* dezenter Rahmen */
    border: 1px solid #d8d8d8;


    /* abgerundete Ecken */
    border-radius: 10px;


    /* Link-Unterstreichung entfernen */
    text-decoration: none;


    /* Schrift etwas kräftiger */
    font-weight: 600;


    /* Animation für Hover-Effekt */
    transition: all 0.25s ease;
}



/* ===============================
    Hover-Effekt der Reiter
    Wird aktiv, wenn Maus darüber fährt
   =============================== */

.nav-button:hover {


    /* Grüner Hintergrund */
    background-color: rgb(7, 97, 42);


    /* Weiße Schrift */
    color: white;


    /* Rahmen ebenfalls grün */
    border-color: rgb(7, 97, 42);


    /* Button hebt sich leicht an */
    transform: translateY(-5px);
}



/* ===============================
    Aktiver Navigationsbutton

    Zeigt an, auf welcher Seite
    sich Besucher aktuell befinden
   =============================== */

.nav-button-active {

    /* Aktiver Reiter in Praxis-Grün */
    background-color: var(--primary-color);

    color: white;

    border-color: rgb(7, 97, 42);
}


.nav-button-active::after {

    /* kleiner Unterstrich unter dem aktiven Reiter */
    content: "";

    position: absolute;

    left: 20px;

    right: 20px;

    bottom: 6px;

    height: 2px;

    background-color: white;

    border-radius: 10px;
}


/* ===============================
    Fester FAQ-Schnellzugriff
   =============================== */

.faq-floating-button {

    position: fixed;
    right: 24px;
    bottom: 24px;

    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;

    border-radius: 50%;
    background-color: rgb(7, 97, 42);
    color: #fff;

    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
    transition: transform .2s ease, background-color .2s ease;
    z-index: 1300;
}


.faq-floating-button:hover,
.faq-floating-button:focus-visible {

    background-color: #222;
    transform: scale(1.08);
}


@media (max-width: 600px) {

    .faq-floating-button {

        right: 16px;
        bottom: 16px;

        width: 48px;
        height: 48px;
        font-size: 25px;
    }
}


/* ===============================
    Zustimmung zur Besuchsstatistik
   =============================== */

   /*
.analytics-consent {

    position: fixed;
    right: 24px;
    bottom: 92px;

    width: min(360px, calc(100vw - 48px));
    padding: 18px;
    box-sizing: border-box;
    border-radius: var(--radius-medium);

    background-color: white;
    color: var(--text-color);
    box-shadow: var(--shadow-large);
    z-index: 1300;
}


.analytics-consent[hidden] {

    display: none;
}


.analytics-consent p {

    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
}


.analytics-consent-actions {

    display: flex;
    gap: 10px;
}


.analytics-consent-button {

    padding: 9px 12px;
    border: 0;
    border-radius: var(--radius-small);
    background-color: var(--primary-color);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}


.analytics-consent-decline {

    background-color: #e8e8e8;
    color: #222;
}


@media (max-width: 600px) {

    .analytics-consent {

        right: 16px;
        bottom: 76px;
        width: calc(100vw - 32px);
    }
}

*/