/* ==================================================
   DESKTOP NAVIGATION
   ================================================== */
.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-navigation a {
    text-decoration: none;
}

.desktop-navigation a:hover,
.desktop-navigation a.active {
    text-decoration: underline;
}

/* ==================================================
   HAMBURGER
   ================================================== */
.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 6px 0;
    background: currentColor;
}

/* ==================================================
   MOBILE NAVIGATION
   ================================================== */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2000;
    width: min(340px, 88vw);
    height: 100dvh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

.mobile-navigation.open {
    transform: translateX(0);
}

.mobile-navigation-header {
    min-height: 72px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    font-weight: 700;
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.mobile-navigation-links {
    display: flex;
    flex-direction: column;
    padding: 12px 20px 30px;
}

.mobile-navigation-links a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.mobile-navigation-links a.active {
    font-weight: 700;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

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

/* ==================================================
   MOBILE
   ================================================== */
@media (max-width: 800px) {
    .desktop-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}

/* Zoom-Animation beim Einblenden */
.animate-zoom {
    animation: animateZoom 0.4s ease;
}

@keyframes animateZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}