@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url('/fonts/material-symbols.woff2') format('woff2');
}
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal; font-style: normal; line-height: 1;
    letter-spacing: normal; text-transform: none; display: inline-block;
    white-space: nowrap; direction: ltr;
    font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased;
}

:root {
    --blue:     #1a4fa0;
    --blue-lt:  #2a65c0;
    --blue-xs:  #eef3ff;
    --ink:      #0a1628;
    --ink-2:    #1e293b;
    --body:     #374151;
    --muted:    #64748b;
    --rule:     #e4eaf4;
    --bg:       #ffffff;
    --bg-2:     #f6f8fd;
    --dark-ft:  #080f1e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3, h4 { font-family: 'Fjalla One', sans-serif; color: var(--ink); }

/* ── Label ──────────────────────────────────────── */
.lbl {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue);
}

/* ── Divider ────────────────────────────────────── */
.div-blue {
    width: 44px; height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--blue-lt));
    border-radius: 2px; margin: 12px 0 20px;
}
.div-blue-c { margin: 12px auto 20px; }

@media (min-width: 1024px) { .nav-burger { display: none !important; } }

/* ── NAV ────────────────────────────────────────── */
#nav {
    background: rgba(255,255,255,0);
    border-bottom: 1px solid transparent;
    transition: background .35s, border-color .35s, box-shadow .35s;
}
#nav.scrolled {
    background: rgba(255,255,255,0.97);
    border-color: var(--rule);
    box-shadow: 0 2px 24px rgba(10,22,40,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-lnk {
    padding: 8px 13px; border-radius: 7px;
    font-size: 0.84rem; font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color .2s, background .2s;
}
.nav-lnk:hover { color: #fff; background: rgba(255,255,255,0.1); }
#nav.scrolled .nav-lnk { color: var(--muted); }
#nav.scrolled .nav-lnk:hover { color: var(--blue); background: var(--blue-xs); }
#nav.scrolled .logo-name { color: var(--ink) !important; }
#nav.scrolled .logo-sub  { color: var(--muted) !important; }
#nav.scrolled .nav-burger { border-color: var(--rule) !important; background: var(--bg-2) !important; }
#nav.scrolled .nav-burger .material-symbols-outlined { color: var(--ink) !important; }

#nav.scrolled, #nav.force-solid {
    background: rgba(255,255,255,0.97);
    border-color: var(--rule);
    box-shadow: 0 2px 24px rgba(10,22,40,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
#nav.scrolled .nav-lnk, #nav.force-solid .nav-lnk { color: var(--muted); }
#nav.scrolled .nav-lnk:hover, #nav.force-solid .nav-lnk:hover { color: var(--blue); background: var(--blue-xs); }
#nav.scrolled .logo-name, #nav.force-solid .logo-name { color: var(--ink) !important; }
#nav.scrolled .logo-sub, #nav.force-solid .logo-sub  { color: var(--muted) !important; }
#nav.scrolled .nav-burger, #nav.force-solid .nav-burger { border-color: var(--rule) !important; background: var(--bg-2) !important; }
#nav.scrolled .nav-burger .material-symbols-outlined, #nav.force-solid .nav-burger .material-symbols-outlined { color: var(--ink) !important; }

/* ── Drawer ─────────────────────────────────────── */
#drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(10,22,40,0.45);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    z-index: 998; opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
#drawer-overlay.open { opacity: 1; pointer-events: all; }
#mobile-drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(320px, 86vw);
    background: #fff;
    border-left: 1px solid var(--rule);
    box-shadow: none;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(0.16,1,0.3,1), box-shadow .4s;
    display: flex; flex-direction: column; overflow-y: auto;
}
#mobile-drawer.open { transform: translateX(0); box-shadow: -8px 0 40px rgba(10,22,40,0.12); }

/* ── Hero ───────────────────────────────────────── */
.hero-wrap {
    background: var(--ink);
    position: relative;
    overflow: hidden;
    padding-top: 68px;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 90% 90% at 70% 30%, black 20%, transparent 100%);
    pointer-events: none;
}
.hero-orb {
    position: absolute; top: -160px; right: -160px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26,79,160,0.3) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Ticker ─────────────────────────────────────── */
.ticker-wrap {
    background: var(--bg-2);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
}
.ticker-track {
    display: flex; width: max-content;
    animation: ticker 64s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-item {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 32px; white-space: nowrap;
    font-size: 0.74rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted);
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ── Buttons ────────────────────────────────────── */
.btn-prim {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: #fff;
    font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600;
    padding: 13px 26px; border-radius: 8px; border: none; cursor: pointer;
    box-shadow: 0 4px 18px rgba(26,79,160,0.28);
    transition: background .2s, transform .2s, box-shadow .2s;
    text-decoration: none; white-space: nowrap;
}
.btn-prim:hover { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,79,160,0.35); }

.btn-ghost-dk {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: rgba(255,255,255,0.72);
    font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500;
    padding: 12px 24px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18); cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    text-decoration: none; white-space: nowrap;
}
.btn-ghost-dk:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--blue);
    font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600;
    padding: 12px 24px; border-radius: 8px;
    border: 1.5px solid var(--blue); cursor: pointer;
    transition: background .2s, color .2s;
    text-decoration: none; white-space: nowrap;
}
.btn-outline:hover { background: var(--blue-xs); }

/* ── Stat boxes (hero) ──────────────────────────── */
.stat-box {
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 11px; background: rgba(255,255,255,0.05);
    padding: 18px 20px; flex: 1; min-width: 110px;
}
.stat-num { font-family: 'Fjalla One', sans-serif; font-size: 2rem; line-height: 1; color: #fff; }

/* ── Cards allgemein ────────────────────────────── */
.card {
    background: #fff; border: 1px solid var(--rule);
    border-radius: 16px; padding: 32px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover { border-color: rgba(26,79,160,0.25); box-shadow: 0 8px 32px rgba(26,79,160,0.08); transform: translateY(-3px); }
.card-a { text-decoration: none; color: inherit; display: block; }

/* ── Leistungskarten ────────────────────────────── */
.svc-num {
    font-family: 'Fjalla One', sans-serif; font-size: 4.5rem;
    line-height: 1; color: var(--blue-xs);
    position: absolute; top: 18px; right: 22px;
    pointer-events: none; user-select: none;
}
.svc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--blue-xs); display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}

/* ── Zielgruppen highlight ──────────────────────── */
.zt-highlight {
    background: var(--ink); border: none;
    position: relative; overflow: hidden;
}
.zt-highlight::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--blue), #4d8ef0);
}
.zt-highlight h3, .zt-highlight p, .zt-highlight div { color: rgba(255,255,255,0.55); }
.zt-highlight h3 { color: #fff !important; }

/* ── Wissenskarten ──────────────────────────────── */
.know-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--bg-2); border: 1px solid var(--rule);
    border-radius: 14px; padding: 26px; position: relative; overflow: hidden;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.know-card:hover { border-color: rgba(26,79,160,0.3); box-shadow: 0 6px 24px rgba(26,79,160,0.08); transform: translateY(-3px); }
.know-arrow {
    width: 32px; height: 32px; border-radius: 50%; background: var(--blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .2s, transform .2s;
}
.know-card:hover .know-arrow { background: var(--blue-lt); transform: translateX(3px); }
.know-bg-icon {
    position: absolute; bottom: -12px; right: -4px;
    font-size: 80px; opacity: 0.05; color: var(--blue);
    pointer-events: none; user-select: none;
}

/* ── Schritt ────────────────────────────────────── */
.step-num {
    width: 50px; height: 50px; border-radius: 50%;
    border: 1.5px solid rgba(26,79,160,0.25);
    background: var(--blue-xs);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fjalla One', sans-serif; font-size: 1.05rem;
    color: var(--blue);
}

/* ── USP Kacheln ────────────────────────────────── */
.usp-card {
    background: #fff; border: 1px solid var(--rule);
    border-radius: 14px; padding: 28px;
    transition: border-color .22s, box-shadow .22s, transform .22s;
}
.usp-card:hover { border-color: rgba(26,79,160,0.22); box-shadow: 0 6px 24px rgba(26,79,160,0.07); transform: translateY(-3px); }
.usp-icon {
    width: 46px; height: 46px; border-radius: 11px;
    background: var(--blue-xs); display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}

/* ── Formular ───────────────────────────────────── */
.form-field {
    width: 100%; padding: 12px 15px;
    border: 1.5px solid var(--rule); border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    color: var(--ink); background: #fff;
    transition: border-color .2s, box-shadow .2s; outline: none; resize: vertical;
}
.form-field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,160,0.1); }
.form-field::placeholder { color: #b0bac9; }
select.form-field {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 42px; cursor: pointer;
}
.form-label {
    display: block; font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 7px;
}

/* ── Reveal ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ── Hero Anim ──────────────────────────────────── */
@keyframes fu { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.ha1 { animation: fu .9s ease both .1s; }
.ha2 { animation: fu .9s ease both .3s; }
.ha3 { animation: fu .9s ease both .5s; }
.ha4 { animation: fu .9s ease both .7s; }

/* ── Footer ─────────────────────────────────────── */
footer { background: var(--dark-ft); margin-top: auto; }