/* ============================================
   FLAMINGO TUNING – HEADER v3
   Premium · Minimal · Automotive
   ============================================ */

/* ── INFO BANNER ── */
.info-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 10000;
    background: #0f0f0f;
    border-bottom: 1px solid rgba(255, 26, 108, 0.15);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-banner-inner {
    max-width: 1440px;
    width: 100%;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
}

.info-banner-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.52);
    white-space: nowrap;
}

.info-banner-item svg {
    width: 13px; height: 13px;
    fill: none;
    stroke: rgba(255, 26, 108, 0.75);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.info-banner-item span.highlight {
    color: rgba(255, 255, 255, 0.75);
}

.info-banner-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .info-banner { height: 28px; }
    .info-banner-inner { padding: 0 1rem; justify-content: center; gap: 1.2rem; }
    .info-banner-item:not(:first-child) { display: none; }
    .info-banner-divider { display: none; }
    .info-banner-item { font-size: 0.65rem; letter-spacing: 1px; }
}

header {
    position: fixed;
    top: 34px; left: 0; right: 0;
    z-index: 9999;
    background: rgba(8, 8, 8, 0.78);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: rgba(8, 8, 8, 0.97);
    border-bottom-color: rgba(255, 26, 108, 0.18);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}

nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.2rem;
    height: 72px;
    display: flex;
    align-items: center;
    position: relative;
}

/* ── LOGO ── */
.logo {
    height: 64px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 1.5rem;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}
.logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 18px rgba(255,26,108,0.8));
    transform: scale(1.05);
}
.logo img { height: 100%; width: auto; }

/* ── PRIMARY NAV LINKS ── */
.nav-links {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    padding: 0 0.75rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.22s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
    color: #fff;
}

/* Animated underline */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1.5px;
    background: var(--pink, #FF1A6C);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item:hover::after { transform: scaleX(1); }

/* Dropdown chevron */
.nav-link svg.arrow {
    width: 9px; height: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.28s ease;
    flex-shrink: 0;
}
.nav-item:hover .nav-link svg.arrow { transform: rotate(180deg); }

/* ── MEGA DROPDOWN ── */
.mega-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: 660px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1.5px solid rgba(255, 26, 108, 0.25);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.03);
    padding: 2rem 2rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}

.nav-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
}

.mega-col-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 26, 108, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.4rem;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 3px;
    transition: color 0.2s ease, background 0.2s ease;
}

.mega-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.mega-link:hover .mega-dot { background: var(--pink, #FF1A6C); }

.mega-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.mega-footer {
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-footer-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.5px;
}

.mega-footer-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 26, 108, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}
.mega-footer-link:hover { color: var(--pink, #FF1A6C); }

/* ── NAV ACTIONS ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

/* Language – nearly invisible */
.lang-toggle {
    padding: 0.4rem 0.7rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

/* Login – subtle outlined */
.login-btn {
    padding: 0.5rem 0.9rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}
.login-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.75);
}
.login-btn.logged-in {
    border-color: rgba(255, 26, 108, 0.3);
    color: rgba(255, 26, 108, 0.75);
}
.login-btn svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Cart icon */
.cart-icon-btn {
    position: relative;
    width: 38px; height: 38px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cart-icon-btn:hover {
    border-color: rgba(255, 26, 108, 0.35);
    color: rgba(255, 26, 108, 0.8);
}
.cart-icon-btn svg {
    width: 16px; height: 16px;
    fill: none; stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
.cart-count {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--pink, #FF1A6C);
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.57rem;
    font-weight: 700;
    border: 1.5px solid #080808;
}

/* CTA – the primary action, clear and prominent */
.cta-btn-primary {
    padding: 0.62rem 1.6rem;
    background: var(--pink, #FF1A6C);
    border: 1.5px solid var(--pink, #FF1A6C);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.cta-btn-primary:hover {
    background: rgba(255, 26, 108, 0.88);
    box-shadow: 0 0 24px rgba(255, 26, 108, 0.4), 0 4px 16px rgba(255, 26, 108, 0.25);
    transform: translateY(-1px);
}

/* ── HAMBURGER ── */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 3px;
    cursor: pointer;
    position: absolute;
    right: 1.2rem; top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.hamburger-btn:hover { border-color: rgba(255, 26, 108, 0.35); }
.hamburger-btn span {
    background: rgba(255, 255, 255, 0.55);
    height: 1.5px; width: 20px;
    display: block; border-radius: 2px;
    transition: background 0.2s;
}
.hamburger-btn:hover span { background: var(--pink, #FF1A6C); }

/* ── MOBILE LANG ── */
.mobile-lang-btn {
    display: none;
    position: absolute;
    left: 1.2rem; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 3px;
    width: 40px; height: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer;
    justify-content: center; align-items: center;
}
.mobile-currency-btn {
    display: none;
    position: absolute;
    left: 3.6rem; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 3px;
    width: 46px; height: 40px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer;
    justify-content: center; align-items: center;
}

/* ── MOBILE & TABLET ≤1024px ── */
@media (max-width: 1200px) {
    .nav-links       { display: none !important; }
    .nav-actions     { display: none !important; }
    .hamburger-btn   { display: flex !important; }
    .mobile-lang-btn { display: flex !important; }
    .mobile-currency-btn { display: flex !important; }

    /* Header wird 2-zeilig: Zeile 1 = Nav, Zeile 2 = Mein Auto */
    header {
        top: 28px !important;
    }

    nav {
        height: 58px !important;
        padding: 0 1rem !important;
        justify-content: center !important;
        position: relative !important;
    }

    /* Logo exakt mittig in Zeile 1 */
    .logo {
        height: 44px !important;
        margin: 0 !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }

    /* Mein Auto Button: eigene Zeile direkt unter der Nav */
    #vsOpenBtn {
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        font-size: 0.68rem !important;
        padding: 0.42rem 1.4rem !important;
        letter-spacing: 1.5px !important;
        white-space: nowrap !important;
        z-index: 9998 !important;
        gap: 0.4rem !important;
        border-radius: 0 0 5px 5px !important;
        border-top: none !important;
        box-shadow: 0 6px 20px rgba(255,26,108,0.3) !important;
        margin-top: 0 !important;
    }

    #vsOpenBtn svg {
        width: 12px !important;
        height: 12px !important;
    }

    /* Slide-Bereich etwas nach unten verschieben damit Button nicht überlappt */
    .slideshow, #slideshow, .hero, .slide-container {
        margin-top: 36px !important;
    }
}
/* ── MEIN AUTO MOBILE BTN – OVERRIDE ── */
@media(max-width:1200px){
  nav { overflow: visible !important; }
  .mein-auto-mobile-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255,26,108,.13) !important;
    border: 1px solid rgba(255,26,108,.4) !important;
    border-radius: 5px !important;
    color: rgba(255,26,108,1) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: .5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
  }
}

/* ── MEIN AUTO BTN MOBILE – mapped auf vsOpenBtn Stil ── */
@media(max-width:1200px){
    .mein-auto-mobile-btn {
        display: inline-flex !important;
        position: absolute !important;
        top: 100% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        font-size: 0.68rem !important;
        padding: 0.42rem 1.4rem !important;
        letter-spacing: 1.5px !important;
        white-space: nowrap !important;
        z-index: 9998 !important;
        gap: 0.4rem !important;
        border-radius: 0 0 5px 5px !important;
        border-top: none !important;
        box-shadow: 0 6px 20px rgba(255,26,108,0.3) !important;
        background: rgba(255,26,108,.15) !important;
        border: 1px solid rgba(255,26,108,.4) !important;
        color: rgba(255,26,108,1) !important;
        cursor: pointer !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        font-family: 'Rajdhani', sans-serif !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }
}

/* ── LANG + CURRENCY GLEICHE GRÖSSE ── */
.lang-toggle, .currency-toggle {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-family: 'Rajdhani', sans-serif !important;
    height: auto !important;
    line-height: normal !important;
}
.currency-toggle {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.7) !important;
}
.currency-toggle:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.3) !important;
}

/* ── MOBILE LANG + CURRENCY ABSTAND ── */
@media(max-width:1200px){
    .mobile-lang-btn {
        left: 0.8rem !important;
        width: 38px !important;
    }
    .mobile-currency-btn {
        left: 3.2rem !important;
        width: 48px !important;
        font-size: 0.6rem !important;
    }
}
@media(max-width:400px){
    .mobile-currency-btn {
        left: 3rem !important;
        width: 44px !important;
    }
}

/* ── MOBILE LANG + CURRENCY GAP ── */
@media(max-width:1200px){
    .mobile-lang-btn {
        left: 0.6rem !important;
    }
    .mobile-currency-btn {
        left: 3.8rem !important;
    }
}
