/* ==========================================================================
   vivekaweb.net — gemeinsames Stylesheet (Fundament)
   Quelle für ALLE Seiten: Fonts, Tokens, Reset, A11y, Nav (Dropdowns, Hamburger,
   Mobile-Menü), Footer, Reveal-Animationen, Stripe-Platzhalter.
   Seitenspezifisches CSS bleibt inline in der jeweiligen Seite.
   Cache-Busting: <link href="site.css?v=__HASH__"> — deploy-local.sh ersetzt den Marker.
   ========================================================================== */

/* Inter self-hosted (Variable Font 400–600) — kein Google Fonts CDN */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ========== A11y: Fokus-Ringe (sichtbar auf hell + dunkel) ========== */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 0;
    box-shadow: 0 0 0 6px var(--blue);
    border-radius: 4px;
}

/* ========== A11y: globale Bewegungs-Reduktion (WCAG 2.3.3) ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
}

:root {
    --blue: #0A1F3D;
    --blue-50: #F0F4FA;
    --blue-100: #D8E2EF;
    --blue-500: #1A3158;
    --lime: #C4F052;
    --lime-light: #D4F578;
    --lime-dark: #A8D635;
    --lime-text: #5E7A12;
    --bg: #FAFBFC;
    --white: #FFFFFF;
    --text: #1A1F2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
    --warn: #F59E0B;
    --warn-bg: #FEF3C7;
    --warn-border: #F59E0B;
    --warn-text: #78350F;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

.skip-link {
    position: absolute; top: -60px; left: 1rem; z-index: 10001;
    padding: 0.6rem 1.25rem; background: var(--blue); color: var(--white);
    border-radius: 0 0 8px 8px; font-size: 0.875rem; font-weight: 500;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--lime); outline-offset: 2px; }

/* ========== NAV ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 0;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav--scrolled {
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 0.75rem 0;
}
.nav--scrolled .nav__logo svg text:nth-of-type(2) { fill: #0A1F3D; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.nav__logo { display: flex; align-items: center; gap: 0.5rem; z-index: 1001; }
.nav__logo svg { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav__link:hover { color: var(--blue); }
.nav:not(.nav--scrolled) .nav__link { color: rgba(255,255,255,0.8); }
.nav:not(.nav--scrolled) .nav__link:hover { color: var(--white); }
.nav__cta {
    font-size: 0.875rem; font-weight: 500; padding: 0.6rem 1.25rem;
    background: var(--lime); color: var(--blue); border-radius: 8px;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}
.nav__cta:hover { background: var(--lime-light); transform: translateY(-1px); }
/* Nav-Dropdowns (Hover/Fokus) */
.nav__item { position: relative; }
.nav__drop {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding-top: 0.85rem; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s;
    z-index: 1100;
}
.nav__item:hover .nav__drop,
.nav__item:focus-within .nav__drop {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav__drop-panel {
    background: var(--white); border: 3px solid var(--lime); border-radius: 14px;
    box-shadow: 0 16px 48px rgba(6,15,30,0.16); padding: 0.5rem; min-width: 300px;
}
.nav__drop-link {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
    padding: 0.7rem 0.9rem; border-radius: 9px; transition: background 0.2s;
}
.nav__drop-link:hover { background: var(--bg); }
.nav__drop-name { display: block; font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.nav__drop-sub { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 1024px) { .nav__drop { display: none; } }
@media (max-width: 1160px) { .nav__links { gap: 1.25rem; } .nav__link { font-size: 0.82rem; } }

/* Mobile-Navigation (Hamburger + Overlay) */
.nav__hamburger { display: none; flex-direction: column; gap: 5px; z-index: 1001; padding: 4px; background: none; border: 0; cursor: pointer; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s, background 0.3s; border-radius: 2px; }
.nav:not(.nav--scrolled) .nav__hamburger span { background: var(--white); }
.nav .nav__hamburger.active span, .nav:not(.nav--scrolled) .nav__hamburger.active span { background: var(--text); }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav__mobile {
    display: none; position: fixed; inset: 0; background: var(--white); z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.nav__mobile.active { opacity: 1; pointer-events: all; }
.nav__mobile a { font-size: 1.25rem; font-weight: 500; color: var(--text); transition: color 0.3s; }
.nav__mobile a:hover { color: var(--blue); }
.nav__mobile .nav__cta { font-size: 1rem; color: var(--blue); }
@media (max-width: 960px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
    .nav__mobile { display: flex; }
}

/* ========== FOOTER ========== */
.footer { background: #060F1E; padding: 3.5rem 0 1.5rem; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer__logo svg { height: 28px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer__link { font-size: 0.8rem; color: var(--text-light); transition: color 0.3s; }
.footer__link:hover { color: var(--lime); }
.footer__copy { font-size: 0.75rem; color: rgba(156,163,175,0.8); margin-top: 0.5rem; } /* 0.4 war 2.15:1 — AA braucht 4.5:1 (15.09.2026) */

/* ========== ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ========== STRIPE-PLATZHALTER (bis Payment Links live) ========== */
button[data-stripe-placeholder] { font: inherit; border: 0; cursor: pointer; }
.stripe-hinweis { flex-basis: 100%; width: 100%; margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
