:root {
    --white: #ffffff;
    --black: #1d1d1f;
    --accent-color: #0071e3;
    --gray-bg: rgba(65, 65, 65, 0.8);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background-color: rgba(65, 65, 65, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 22px;
}

/* Logo Styles */
.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 120px;
    transition: opacity 0.3s;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

/* Desktop Navigation - NUR FÜR DESKTOP */
.desktop-nav {
    display: flex;
    height: 100%;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
}

.desktop-nav ul li {
    margin: 0 15px;
    position: relative;
}

.desktop-nav ul li::after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.desktop-nav ul li a:hover {
    opacity: 1;
}

.shop-button {
    background-color: var(--accent-color);
    color: white !important;
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 1 !important;
}

/* Mobile Button - VERSTECKT FÜR DESKTOP */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.mobile-menu-btn:hover {
    opacity: 1;
}

/* Mobile Navigation - VERSTECKT FÜR DESKTOP */
.mobile-nav {
    display: none;
    position: fixed;
    top: 48px;
    left: 0; /* Von links nach rechts */
    right: 0;
    width: 100%; /* 100% statt fester 280px */
    height: calc(100vh - 48px);
    background-color: rgb(45, 45, 45);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: transform 0.4s ease-out; /* Animation anpassen */
    z-index: 999;
    padding: 20px;
    overflow: hidden;
    transform: translateX(100%); /* Neue Animationstechnik */
}

.mobile-nav.active {
    transform: translateX(0); /* Menü einblenden */
}

.mobile-nav ul {
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-y: auto;
}

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.mobile-nav ul li a:hover {
    opacity: 1;
}

/* Overlay für Mobile-Menü */
.overlay {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

/* MEDIA QUERIES FÜR RESPONSIVE */
@media (max-width: 950px) {
    .desktop-nav {
        display: none !important; /* WICHTIG: Überschreibt alles andere */
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .nav-container {
        padding: 0 15px;
    }
}