/*made by www.ClaxDesign.com*/

/* =============================================================================
   LOGO & RESPONSIVE SLOGAN – Positionierung und Animation
   =============================================================================
   ============================================================================= */
.logo-container {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 1002;
}

/* =============================================================================
   LOGO – Link-Stil
   =============================================================================
   ============================================================================= */
.logo-link {
    display: block;
    line-height: 0;
    margin-top: -20px;
}

/* =============================================================================
   LOGO – Stil und 3D-Animation
   =============================================================================
   ============================================================================= */
.logo {
    height: 60px;
    width: auto;
    display: block;
    pointer-events: auto;
    transform: rotate(0deg) translateZ(0);
    transform-origin: center center;
    transition: transform 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* =============================================================================
   LOGO – Hover-, Active- und Focus-Effekte
   =============================================================================
   ============================================================================= */
.logo:hover,
.logo:focus,
.logo:active,
.logo-link:hover .logo,
.logo-link:focus .logo,
.logo-link:active .logo {
    transform: rotate(360deg) translateZ(0) !important;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Text-Version für Desktop und große Tablets
   =============================================================================
   ============================================================================= */
.responsive-slogan {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
    color: transparent;
    z-index: 1001;
    pointer-events: none;
    margin: 0 auto;
    width: fit-content;
    transition: color 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Bild-Version für Mobile
   =============================================================================
   ============================================================================= */
.responsive-slogan {
    position: fixed;
    top: -70px !important;
    left: -160px;
    right: 0;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
    width: 900px !important;
    margin: 0 auto;
    display: none;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Bild-Container
   =============================================================================
   ============================================================================= */
.responsive-slogan-img {
    position: fixed;
    top: -40px !important;
    left: -160px;
    right: 0;
    text-align: center;
    z-index: 1000;
    pointer-events: none;
    width: 1000px !important;
    margin: 0 auto;
    display: none;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Bild-Stil
   =============================================================================
   ============================================================================= */
.responsive-slogan-img img {
    width: 450px!important;
    height: 160px !important;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Light-Mode Anpassungen für das Bild
   =============================================================================
   ============================================================================= */
body.light-mode .responsive-slogan-img img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* =============================================================================
   NAVIGATION – Hauptcontainer für Desktop und Mobile
   =============================================================================
   ============================================================================= */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100px;
    min-width: 60%;
    max-width: 120%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    border-radius: 0 0 16px 16px;
    transition: top 0.35s ease-in-out;
    background: linear-gradient(
        to bottom, #05030f 0%,
            #0c0520 20%,
            #14093a 38%,
            #1e0f5c 54%,
            #3c1a9e 70%,
            #6b48ff 84%,
            #b08aff 100%
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* =============================================================================
   NAVIGATION – Liste der Navigationslinks
   =============================================================================
   ============================================================================= */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* =============================================================================
   NAVIGATION – Einzelne Navigationslinks
   =============================================================================
   ============================================================================= */
nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    height: 60px;
    flex: 0 0 auto;
}

/* =============================================================================
   NAVIGATION – Text der Navigationslinks
   =============================================================================
   ============================================================================= */
.nav-text {
    display: block;
    transition: all 0.3s ease;
    color: #00ffff;
    padding-top: 20px !important;
}

/* =============================================================================
   NAVIGATION – Icon der Navigationslinks
   =============================================================================
   ============================================================================= */
.nav-img-icon {
    display: none;
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* =============================================================================
   NAVIGATION – Hover-Effekt für den Text der Navigationslinks
   =============================================================================
   ============================================================================= */
nav a:hover .nav-text {
    transform: rotateX(90deg);
    opacity: 0;
    height: 0;
}

/* =============================================================================
   NAVIGATION – Hover-Effekt für das Icon der Navigationslinks
   =============================================================================
   ============================================================================= */
nav a:hover .nav-img-icon {
    display: block;
    transform: rotateX(0deg);
    opacity: 1;
}

/* =============================================================================
   NAVIGATION – Aktiver Zustand der Navigationslinks
   =============================================================================
   ============================================================================= */
nav a.active .nav-text {
    display: none;
}

/* =============================================================================
   NAVIGATION – Aktiver Zustand für das Icon der Navigationslinks
   =============================================================================
   ============================================================================= */
nav a.active .nav-img-icon {
    display: block;
    transform: scale(1.2);
    margin-bottom: 20px;
}

/* =============================================================================
   NAVIGATION – Pseudo-Element für aktiven Zustand
   =============================================================================
   ============================================================================= */
nav a.active::after {
    content: attr(data-name);
    font-size: 1rem;
    color: #00ffff;
    font-weight: 600;
    margin-top: -4px;
}

/* =============================================================================
   NAVIGATION – Tooltip für Navigationslinks
   =============================================================================
   ============================================================================= */
.nav-tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: transparent;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* =============================================================================
   NAVIGATION – Anzeige des Tooltips beim Hovern
   =============================================================================
   ============================================================================= */
nav a:hover .nav-tooltip {
    opacity: 1;
}

/* =============================================================================
   LIGHT MODE – Anpassungen für den Tooltip
   =============================================================================
   ============================================================================= */
body.light-mode .nav-tooltip {
    display: none !important;
}

/* =============================================================================
   LIGHT MODE – Anpassungen für die Navigation
   =============================================================================
   ============================================================================= */
body.light-mode nav {
    background: linear-gradient(
        to bottom, #05030f 0%,
            #0c0520 20%,
            #14093a 38%,
            #1e0f5c 54%,
            #3c1a9e 70%,
            #6b48ff 84%,
            #b08aff 100%
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* =============================================================================
   LIGHT MODE – Anpassungen für die Navigationslinks
   =============================================================================
   ============================================================================= */
body.light-mode nav a {
    color: transparent;
}

/* =============================================================================
   LIGHT MODE – Anpassungen für den Text der Navigationslinks
   =============================================================================
   ============================================================================= */
body.light-mode .nav-text {
    padding-top: 20px !important;
    color: #00ffff;
}

/* =============================================================================
   LIGHT MODE – Hover-Effekt für Navigationslinks
   =============================================================================
   ============================================================================= */
body.light-mode nav a:hover {
    color: #0a3cff;
}

/* =============================================================================
   LIGHT MODE – Aktiver Zustand für Navigationslinks
   =============================================================================
   ============================================================================= */
body.light-mode nav a.active::after {
    color: #00ffff;
}

/* =============================================================================
   HAMBURGER MENU – Container für den zentralen Button
   =============================================================================
   ============================================================================= */
.menu-toggle-wrapper {
    position: fixed;
    top: 0px;
    left: 240px;
    transform: translateX(-50%);
    z-index: 1008;
}

/* =============================================================================
   HAMBURGER MENU – Button-Stil
   =============================================================================
   ============================================================================= */
.hamburger-btns {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer !important;
    width: 68px;
    height: 68px;
    position: relative;
    transition: transform 0.25s ease;
    pointer-events: auto !important;
    color: #e0f7ff !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* =============================================================================
   HAMBURGER MENU – Hover-Effekt für den Button
   =============================================================================
   ============================================================================= */
.hamburger-btn:hover {
    transform: scale(1.06);
}

/* =============================================================================
   HAMBURGER MENU – Visuelle Elemente des Buttons
   =============================================================================
   ============================================================================= */
.menu-toggle-visual {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    left: 70px;
    text-align: center;
    pointer-events: visible;
}

/* =============================================================================
   HAMBURGER MENU – Linien des Buttons
   =============================================================================
   ============================================================================= */
.menu-lines {
    display: flex;
    flex-direction: column;
    gap: 5.5px;
    width: 50px;
    left: 10px !important;
}

/* =============================================================================
   HAMBURGER MENU – Einzelne Linie
   =============================================================================
   ============================================================================= */
.line {
    width: 100%;
    height: 3.2px;
    background: #00e5ff !important;
    border-radius: 2px;
    box-shadow: 0 1px 6px rgba(0,229,255,0.45);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   HAMBURGER MENU – Beschriftung des Buttons
   =============================================================================
   ============================================================================= */
.menu-label {
    font-family: system-ui, sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #e0f7ff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.65);
    transition: all 0.35s ease;
}

/* =============================================================================
   LIGHT MODE – Anpassungen für die Beschriftung des Buttons
   =============================================================================
   ============================================================================= */
body.light-mode .menu-label {
    color: #ffffff !important;
    text-shadow:
        0 0 8px rgba(0,0,0,0.9),
        0 0 12px rgba(0,0,0,0.8),
        0 0 16px rgba(0,0,0,0.7),
        0 2px 6px rgba(255,255,255,0.6),
        0 0 4px rgba(255,255,255,0.4) !important;
}

/* =============================================================================
   HAMBURGER MENU – Chevron-Symbol
   =============================================================================
   ============================================================================= */
.menu-chevron {
    font-size: 25px;
    color: #00e5ff !important;
    margin-top: 1px;
    transition: all 0.4s ease;
}

/* =============================================================================
   RESPONSIVE NAVIGATION – Anpassungen für Mobile
   =============================================================================
   ============================================================================= */
@media (max-width: 767px) {
    nav {
        top: 0 !important;
        height: 200px!important;
        min-height: 100px;
        max-height: none;
        width: 125% !important;
        left: 0px;
        transform: none !important;
        margin-top: 0 !important;
        padding: 1rem 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        background: linear-gradient(
        to bottom, #05030f 0%,
            #0c0520 20%,
            #14093a 38%,
            #1e0f5c 54%,
            #3c1a9e 70%,
            #6b48ff 84%,
            #b08aff 100%
        );
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 0;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
        white-space: nowrap;
        transition: none !important;
    }

    /* Liste der Navigationslinks für Mobile */
    nav ul {
        padding: 0.5rem 1rem;
        margin: 0;
        gap: 1rem !important;
        flex-direction: row !important;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    /* Scrollbar für Mobile verbergen */
    nav ul::-webkit-scrollbar {
        display: none;
    }
-------------------------------------------------------
    /* Einzelne Navigationslinks für Mobile */
    nav a {
        height: auto;
        min-width: 70px;
        max-width: 110px;
        font-size: 0.9rem;
        padding: 0.6rem 0.4rem;
        margin: 0;
        margin-top: 0 !important;
        flex: 0 0 auto;
        justify-content: center;
        text-align: center;
        white-space: normal;
        z-index: 1010;
        touch-action: manipulation;
        background: transparent !important;
        border-radius: 10px;
    }
    /* Text der Navigationslinks für Mobile */
    nav a .nav-text {
        display: block !important;
        font-size: 0.8rem;
        padding-top: 8px !important;
        padding-bottom: 10px !important;
        opacity: 1 !important;
        transform: none !important;
        height: auto !important;
        line-height: 1.2;
    }

    /* Icon der Navigationslinks für Mobile */
    nav a .nav-img-icon {
        display: block !important;
        width: 40px;
        height: 40px;
        margin-bottom: 4px;
    }

    /* Aktiver Zustand der Navigationslinks für Mobile */
    nav a.active .nav-text {
        display: block !important;
        opacity: 1 !important;
    }

    /* Aktiver Zustand für das Icon der Navigationslinks für Mobile */
    nav a.active .nav-img-icon {
        display: block !important;
        transform: scale(1.15);
        margin-bottom: 4px;
    }

    /* Pseudo-Element für aktiven Zustand der Navigationslinks für Mobile */
    nav a.active::after {
        display: none;
    }

    /* Tooltip für Mobile verbergen */
    .nav-tooltip {
        display: none;
    }

    /* Slogan-Bild/Video nur auf Mobile anzeigen */
    .responsive-slogan {
        display: none;
    }

    /* Slogan-Bild/Video auf Mobile anzeigen */
    .responsive-slogan-img,
    .responsive-slogan-mp4 {
        display: block;
        top: 18px;
    }

    /* Logo-Größe für Mobile */
    .logo {
        height: 100px;
    }

    /* Mobile Header Unschärfe-Effekt */
    .mobile-header-blur {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: rgba(73, 68, 68, 0.15);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: 999;
        pointer-events: none;
    }

    /* Light-Mode Anpassungen für Mobile Header */
    body.light-mode .mobile-header-blur {
        background: rgba(255,255,255,0.3);
    }
}

/* =============================================================================
   RESPONSIVE NAVIGATION – Anpassungen für kleinere Mobile-Geräte (bis 600px)
   =============================================================================
   ============================================================================= */
@media (max-width: 600px) {
    .header-container {
        height: 80px;
    }

    .nav-text {
        display: block;
        transition: all 0.3s ease;
        padding-top: 20px !important;
        color: #00e5ff !important;
    }

    .logo {
        height: 90px;
        width: auto;
        margin-left: -15px;
        margin-top: -12px;
        position: absolute;
    }

    .logo:hover {
        transform: scale(1.08) translateY(-4px);
    }

    .responsive-slogan-img,
    .responsive-slogan-mp4 {
        top: 14px;
        max-width: 280px;
        max-height: 70px;
    }

    nav {
        padding-top: 80px;
    }

    nav a {
        min-width: 65px;
        max-width: 80px;
        font-size: 0.88rem;
        padding: 0.45rem 0.35rem;
    }

    nav a .nav-text {
        font-size: 0.78rem;
    }

    nav a .nav-img-icon {
        width: 40px;
        height: 40px;
    }

    nav ul {
        gap: 0.4rem !important;
    }
}

/* =============================================================================
   RESPONSIVE SLOGAN – Video-Version für Mobile
   =============================================================================
   ============================================================================= */
.responsive-slogan-mp4 {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 1001;
    pointer-events: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: none;
    margin-top: -20px !important;
}

/* =============================================================================
   RESPONSIVE SLOGAN – Video- und Bild-Stil
   =============================================================================
   ============================================================================= */
.responsive-slogan-mp4 video.slogan-video,
.responsive-slogan-mp4 img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* =============================================================================
   LIGHT MODE – Anpassungen für das Video und das Bild des Slogans
   =============================================================================
   ============================================================================= */
body.light-mode .responsive-slogan-mp4 video.slogan-video,
body.light-mode .responsive-slogan-mp4 img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* =============================================================================
   RESPONSIVE – Video auf Mobile anzeigen
   =============================================================================
   ============================================================================= */
@media (max-width: 767px) {
    .responsive-slogan {
        display: none;
    }

    .responsive-slogan-mp4 {
        display: block;
        top: 20px;
    }
}

/* =============================================================================
   RESPONSIVE – Logo-Container für Mobile
   =============================================================================
   ============================================================================= */
    .logo-container {
        position: fixed;
        top: 10px;
        left: 12px;
        z-index: 1050 !important;
        pointer-events: auto !important;
    }

/* =============================================================================
   RESPONSIVE – Logo-Link für Mobile
   =============================================================================
   ============================================================================= */
    .logo-container a {
        display: block;
        width: 140px;
        height: 140px;
        margin-top: 0px;
        position: relative;
        pointer-events: auto !important;
    }

/* =============================================================================
   RESPONSIVE – Hover-Effekt für den Logo-Link auf Mobile
   =============================================================================
   ============================================================================= */
    .logo-container a:hover,
    .logo-container a:focus,
    .logo-container a:active {
        transform: scale(1.16);
    }

/* =============================================================================
   RESPONSIVE – Logo-Stil für Mobile
   =============================================================================
   ============================================================================= */
    .logo {
        height: 60px;
        width: auto;
        left: 25px;
        top: 20px;
        display: block;
        pointer-events: none;
    }

/* =============================================================================
   RESPONSIVE – Sicherheitsregeln für Mobile
   =============================================================================
   ============================================================================= */
    .mobile-header-blur,
    .responsive-slogan-img,
    .responsive-slogan-mp4,
    nav {
        pointer-events: none !important;
    }

/* =============================================================================
   RESPONSIVE – Anpassungen für sehr kleine Mobile-Geräte (bis 480px)
   =============================================================================
   ============================================================================= */
@media (max-width: 480px) {
    .responsive-slogan-mp4 {
        top: 15px;
        max-width: 280px;
    }

    .responsive-slogan-mp4 video.slogan-video,
    .responsive-slogan-mp4 img {
        max-height: 70px;
        max-width: 260px;
    }
}

/* =============================================================================
   ALLGEMEINE SICHERHEITSREGELN – Menü-Status
   =============================================================================
   ============================================================================= */
body.menu-open {
    overflow: hidden;
}

/* =============================================================================
   ALLGEMEINE SICHERHEITSREGELN – Positionierung
   =============================================================================
   ============================================================================= */
.logo-container,
.responsive-slogan,
.responsive-slogan-img,
.responsive-slogan-mp4,
.menu-toggle-wrapper,
.hamburger-center {
    position: none !important;
}

/* =============================================================================
   RESPONSIVE – Vollbreiter Slogan-Bild-Container für Mobile
   =============================================================================
   ============================================================================= */
@media (max-width: 767px) {
    .responsive-slogan-img {
        position: fixed !important;
        top: 0px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        z-index: 1001 !important;
        pointer-events: none !important;
    }

    /* Bild im Slogan-Bild-Container für Mobile */
    .responsive-slogan-img img {
        width: 100vw !important;
        height: 100px !important;
        object-fit: fill !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        border-radius: 0 !important;
        filter: none !important;
    }
}

/* =============================================================================
   ENDGÜLTIGE KORREKTUR – Responsive Aktiver Modus für Mobile
   =============================================================================
   ============================================================================= */
@media (max-width: 767px) {
    nav {
        top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none !important;
    }

    /* Text und Icon der Navigationslinks immer gleichzeitig sichtbar */
    .nav-text {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        height: auto !important;
    }

    .nav-img-icon {
        display: block !important;
    }

    /* Kein Hover-Wechsel mehr – alles bleibt konstant */
    nav a:hover .nav-text,
    nav a:hover .nav-img-icon {
        transform: none !important;
        opacity: 1 !important;
    }

    /* Aktiver Modus: Icon mittig + Text exakt darunter */
    nav a.active {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-top: 10px !important;
        justify-content: flex-start !important;
        padding: 1rem 0.6rem !important;
        gap: 10px !important;
    }

    /* Icon im aktiven Modus */
    nav a.active .nav-img-icon {
        display: block !important;
        transform: scale(1.3) !important;
        margin: 0 auto !important;
        margin-bottom: 10px !important;
        transition: transform 0.3s ease;
    }

    /* Text im aktiven Modus */
    nav a.active .nav-text {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        height: auto !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        color: #00ffff !important;
        order: 2 !important;
    }

    /* Entferne alle Versteck-Regeln in Responsive */
    nav a .nav-text,
    nav a .nav-img-icon {
        display: block !important;
    }
    nav a {
        margin-top: -50 !important;
    }
}
