/* ==========================================================================
   Landingpage-Baukasten (Blueprint „Landingpage“) – ILD Deutschland
   Wird nur vom Layout landingpage_layout geladen. Alle Regeln sind unter .lp-root
   (bzw. html.lp-html / body.lp-body) gescoped und wirken auf keine andere Seite.
   Schriften: Montserrat v29 latin aus /fonts (OFL), kein externer Request.
   ========================================================================== */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/montserrat-v29-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/montserrat-v29-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/montserrat-v29-latin-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/montserrat-v29-latin-700.woff2') format('woff2');
}

html.lp-html { scroll-behavior: smooth; }
body.lp-body { margin: 0; background: #fff; }

.lp-root {
    --ild-burgund: #661414;
    --ild-red: #b8252f;
    --ild-red-bright: #cc3333;
    --neutral-1: #262D33;
    --neutral-2: #2E4047;
    --neutral-3: #576C78;
    --neutral-4: #9BA7B1;
    --neutral-5: #C8CFD6;
    --neutral-6: #E8EBF0;
    --section-light: #e9edf2;
    --slate-card: #2b333f;
    --footer-bg: #cdd3da;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);

    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.7;
    color: var(--neutral-1);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.lp-root *, .lp-root *::before, .lp-root *::after { box-sizing: border-box; margin: 0; padding: 0; }
.lp-root img { display: block; max-width: 100%; }
.lp-root a { color: inherit; }
.lp-root ul, .lp-root ol { list-style: none; }
.lp-root :focus-visible { outline: 2px solid var(--ild-red-bright); outline-offset: 3px; }

.lp-root .container { width: 100%; max-width: none; margin-inline: auto; padding-inline: clamp(24px, 4.5vw, 96px); }

.lp-root h1, .lp-root h2, .lp-root h3 { line-height: 1.25; }

/* Sprunglink zum Inhalt (nur bei Tastaturfokus sichtbar) */
.lp-root .lp-skip {
    position: absolute; left: 16px; top: -200px; z-index: 300;
    background: #fff; color: var(--neutral-1);
    font-weight: 600; padding: 10px 16px; border-radius: 5px; text-decoration: none;
    box-shadow: 0 4px 20px rgba(38,45,51,.2);
}
.lp-root .lp-skip:focus { top: 16px; }

/* rote zentrierte H2 wie auf ild-group.com */
.lp-root .h2-red {
    color: var(--ild-red);
    font-size: clamp(32px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    margin-inline: auto;
    margin-bottom: 28px;
}
.lp-root .h2-red--left { text-align: left; margin-inline: 0; }

/* Buttons */
.lp-root .btn-red {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ild-red); color: #fff;
    font-family: inherit; font-size: 14px; font-weight: 600;
    padding: 13px 26px; border: none; border-radius: 5px;
    text-decoration: none; cursor: pointer;
    transition: background .25s;
}
.lp-root .btn-red:hover { background: var(--ild-burgund); }
.lp-root .btn-outline-white {
    display: inline-flex; align-items: center; gap: 12px;
    background: #fff; color: var(--neutral-1);
    font-family: inherit; font-size: 14px; font-weight: 600;
    padding: 12px 24px; border: 1px solid #fff; border-radius: 5px;
    text-decoration: none; cursor: pointer;
    transition: background .25s, color .25s;
}
.lp-root .btn-outline-white:hover { background: transparent; color: #fff; }
.lp-root .chev::after {
    content: ""; width: 8px; height: 8px;
    border-right: 2px solid currentColor; border-top: 2px solid currentColor;
    transform: rotate(45deg); flex-shrink: 0;
}
.lp-root .btn-outline-red {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    background: #fff; color: var(--ild-red);
    font-family: inherit; font-size: 14px; font-weight: 600;
    padding: 13px 26px; border: 1px solid var(--ild-red); border-radius: 5px;
    text-decoration: none; cursor: pointer; transition: background .25s, color .25s;
}
.lp-root .btn-outline-red:hover { background: var(--ild-red); color: #fff; }

.lp-root .arrow-link {
    color: var(--ild-red); font-size: 13.5px; font-weight: 600;
    text-decoration: none; display: flex; align-items: baseline; gap: 8px;
}
.lp-root .arrow-link::before { content: "→"; }
.lp-root .arrow-link:hover { text-decoration: underline; }

/* ── Kopf: transparent über dem Video, heller Balken beim Scrollen ── */
.lp-root .site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: transparent;
    transform: translateY(-14px); opacity: 0;
    transition: transform 700ms var(--ease), opacity 700ms var(--ease), background 350ms var(--ease);
}
.lp-root.hero-in .site-header { transform: none; opacity: 1; }
.lp-root .site-header.scrolled { background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(38,45,51,.10); }
.lp-root .site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; transition: padding 350ms var(--ease); }
.lp-root .site-header.scrolled .container { padding-top: 10px; padding-bottom: 10px; }
.lp-root .site-logo { display: block; }
.lp-root .site-logo img { height: clamp(72px, 8vw, 104px); width: auto; transition: height 350ms var(--ease); }
.lp-root .site-header.scrolled .site-logo img { height: 56px; }
.lp-root .header-right { display: flex; align-items: center; gap: 38px; }
.lp-root .site-nav { display: flex; align-items: center; gap: 36px; }
.lp-root .site-nav a { font-size: 15px; font-weight: 600; color: var(--neutral-1); text-decoration: none; transition: color 250ms; }
.lp-root .site-nav a:hover { color: var(--ild-red); }
.lp-root .btn-kontakt {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ild-red); color: #fff;
    font-size: 14.5px; font-weight: 600; line-height: 1;
    padding: 15px 32px; border-radius: 999px;
    text-decoration: none; white-space: nowrap;
    transition: background 300ms var(--ease);
}
.lp-root .btn-kontakt:hover { background: var(--ild-burgund); }
.lp-root .nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.lp-root .nav-burger span { display: block; width: 24px; height: 2.5px; background: var(--neutral-1); margin: 5px 0; }

/* ── Hero ── */
.lp-root .hero { position: relative; background: #fff; padding-bottom: clamp(64px, 8vw, 110px); }
.lp-root .hero-center { position: relative; z-index: 2; height: calc(100vh - clamp(240px, 36vh, 400px)); min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; text-align: center; color: var(--neutral-1); padding: 56px 24px 40px; }
.lp-root .hero-center h1 {
    display: grid; justify-items: center;
    color: var(--neutral-1);
    font-weight: 700;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    letter-spacing: -0.02em;
    line-height: 0.98;
    margin-bottom: 24px;
    text-align: center;
}
/* Unterzeile mit Keyword, Teil der H1 (SEO-Befund 26.10.) */
.lp-root .hero-kicker {
    display: block;
    font-size: clamp(15px, 1.45vw, 20px); font-weight: 600;
    letter-spacing: .03em; line-height: 1.3;
    margin-bottom: clamp(14px, 1.8vw, 24px);
    opacity: 0; transform: translateY(16px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.lp-root.hero-in .hero-kicker { opacity: .95; transform: none; }
.lp-root .hero-phases { display: grid; justify-items: center; width: 100%; }
.lp-root .hero-phase1, .lp-root .hero-phase2 { grid-area: 1 / 1; }
.lp-root .hero-phase1 { align-self: start; }
.lp-root .hero-line { display: flex; justify-content: center; gap: 0.35em; width: 100%; }
.lp-root .highlight { color: var(--ild-red); }
.lp-root .hero-phase1 { display: block; opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.lp-root.hero-in .hero-phase1 { opacity: 1; transform: none; }
.lp-root .hero-phase1.fade-out { opacity: 0 !important; }
.lp-root .hero-phase1[hidden] { display: none; }
.lp-root .hero-phase2 { display: block; }
.lp-root .hero-phase2[hidden] { display: block; visibility: hidden; }
.lp-root .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lp-root .hero-ctas .btn-red, .lp-root .hero-ctas .btn-outline-red { padding: 15px 30px; font-size: 15px; }
/* Medium ohne Einblend-Verzögerung: das Standbild ist das LCP-Element */
.lp-root .hero-media {
    position: relative; z-index: 3;
    width: min(1560px, calc(100% - 32px));
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 5px; overflow: hidden;
    background: var(--neutral-1);
    transform-origin: center top; will-change: transform;
}
.lp-root .hero-media picture,
.lp-root .hero-media .hero-poster,
.lp-root .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-root .hero-media picture { display: block; }

/* Pause/Play für das Hintergrundvideo (WCAG 2.2.2) */
.lp-root .hero-pause {
    position: absolute; z-index: 4;
    right: clamp(16px, 2.6vw, 36px); bottom: clamp(16px, 2.6vw, 36px);
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(16,20,24,.38); color: #fff;
    border: 1.5px solid rgba(255,255,255,.6); cursor: pointer;
    transition: background 250ms var(--ease), border-color 250ms var(--ease);
}
.lp-root .hero-pause:hover, .lp-root .hero-pause:focus-visible { background: rgba(16,20,24,.65); border-color: #fff; }
.lp-root .hero-pause[hidden] { display: none; }
.lp-root .hero-pause-icon { display: block; width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.lp-root .hero-pause[data-state="paused"] .hero-pause-icon {
    width: 0; height: 0; margin-left: 4px;
    border-style: solid; border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent currentColor;
}

/* ── Ablauf: Linie + Nodes ── */
/* overflow-x: Die Ablauf-Linie ist 100vw breit und ragt bei klassischen Scrollleisten (Windows/Linux)
   um deren Breite hinaus. clip statt hidden: erzeugt keinen Scroll-Container */
.lp-root .ablauf { background: #fff; padding: clamp(88px, 10vw, 200px) 0; overflow-x: clip; }
.lp-root .ablauf-h2 { text-align: center; color: var(--neutral-1); font-size: clamp(34px, 4.2vw, 56px); font-weight: 700; line-height: 1.12; margin-bottom: 18px; }
.lp-root .ablauf-intro { text-align: center; max-width: 640px; margin: 0 auto; font-size: clamp(15px, 1.2vw, 17px); color: var(--neutral-3); line-height: 1.7; }
.lp-root .ablauf-track { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.lp-root .ablauf-track::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 100vw; top: 26px; height: 1.5px; background: linear-gradient(90deg, transparent 5%, rgba(38,45,51,.28) 25%, rgba(38,45,51,.28) 75%, transparent 95%); opacity: 0; transition: opacity 900ms var(--ease) 150ms; z-index: 0; }
.lp-root .ablauf-track.in::before { opacity: 1; }
.lp-root .ablauf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 72px); }
.lp-root .ablauf-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lp-root .ablauf-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lp-root .schritt { position: relative; text-align: center; padding-top: 82px; cursor: default; }
.lp-root .schritt-node {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 1; width: 52px; height: 52px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--neutral-4);
    color: var(--ild-red); font-weight: 700; font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.3s;
}
.lp-root .schritt-content { transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease; will-change: transform, opacity; }
.lp-root .schritt h3 { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; color: var(--neutral-1); margin-bottom: 12px; }
.lp-root .schritt p { font-size: clamp(14.5px, 1.15vw, 16px); color: var(--neutral-3); line-height: 1.65; max-width: 340px; margin: 0 auto; transition: color 0.3s; }
/* Hover-Choreografie: aktiver Schritt wächst, Nachbarn weichen aus */
.lp-root .schritt:hover .schritt-node { transform: translateX(-50%) scale(1.35); border-color: var(--ild-red); }
.lp-root .schritt:hover .schritt-content { transform: scale(1.08); }
.lp-root .schritt:hover p { color: var(--neutral-1); }
.lp-root .ablauf-grid .schritt:nth-child(1):hover ~ .schritt .schritt-node { transform: translateX(calc(-50% + 25px)) scale(0.7); }
.lp-root .ablauf-grid .schritt:nth-child(1):hover ~ .schritt .schritt-content { transform: translateX(25px) scale(0.9); opacity: 0.4; }
.lp-root .ablauf-grid:has(.schritt:nth-child(2):hover) .schritt:nth-child(1) .schritt-node { transform: translateX(calc(-50% - 25px)) scale(0.7); }
.lp-root .ablauf-grid:has(.schritt:nth-child(2):hover) .schritt:nth-child(1) .schritt-content { transform: translateX(-25px) scale(0.9); opacity: 0.4; }
.lp-root .ablauf-grid .schritt:nth-child(2):hover ~ .schritt .schritt-node { transform: translateX(calc(-50% + 25px)) scale(0.7); }
.lp-root .ablauf-grid .schritt:nth-child(2):hover ~ .schritt .schritt-content { transform: translateX(25px) scale(0.9); opacity: 0.4; }
.lp-root .ablauf-grid:has(.schritt:nth-child(3):hover) .schritt:nth-child(1) .schritt-node,
.lp-root .ablauf-grid:has(.schritt:nth-child(3):hover) .schritt:nth-child(2) .schritt-node { transform: translateX(calc(-50% - 25px)) scale(0.7); }
.lp-root .ablauf-grid:has(.schritt:nth-child(3):hover) .schritt:nth-child(1) .schritt-content,
.lp-root .ablauf-grid:has(.schritt:nth-child(3):hover) .schritt:nth-child(2) .schritt-content { transform: translateX(-25px) scale(0.9); opacity: 0.4; }
.lp-root .ablauf-cta { text-align: center; margin-top: clamp(52px, 6.5vw, 84px); }
.lp-root .ablauf-cta .btn-red { border-radius: 999px; padding: 16px 34px; }

/* ── Verfahren: dunkle Karten ── */
.lp-root .verfahren { position: relative; background: #fff; padding: clamp(96px, 11vw, 210px) 0 clamp(72px, 8vw, 160px); }
.lp-root .verfahren .container { position: relative; z-index: 2; }
.lp-root .verfahren-intro { max-width: 640px; margin: 0 auto 48px; text-align: center; font-size: 15.5px; color: var(--neutral-3); }
.lp-root .vf-card {
    position: relative; overflow: hidden;
    background: #2b333f; color: #fff; border-radius: 5px;
    border: 1.5px solid transparent;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    display: grid; grid-template-columns: 150px 1fr 300px; gap: 32px;
    align-items: center; padding: clamp(48px, 4.8vw, 92px) clamp(52px, 5.2vw, 104px); margin-bottom: 32px;
}
.lp-root .vf-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-root .vf-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, #2b333f 24%, rgba(43,51,63,.9) 50%, rgba(43,51,63,.62) 78%, rgba(43,51,63,.45) 100%); }
.lp-root .vf-card > .vf-icon, .lp-root .vf-card > div:not(.vf-overlay) { position: relative; z-index: 2; }
.lp-root .vf-icon { display: flex; justify-content: center; }
.lp-root .vf-icon svg { width: 96px; height: 96px; fill: var(--ild-red-bright); }
.lp-root .vf-card h3 { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; margin-bottom: 12px; }
.lp-root .vf-card-desc { font-size: 13.5px; color: rgba(255,255,255,.85); margin-bottom: 20px; max-width: 380px; }
.lp-root .vf-geeignet { font-size: 15px; padding: 4px 0 4px 28px; border-left: 1.5px solid rgba(255,255,255,.35); }
.lp-root .vf-geeignet-titel { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 14px; }
.lp-root .vf-geeignet li { padding-left: 18px; position: relative; margin-bottom: 10px; line-height: 1.45; color: rgba(255,255,255,.92); }
.lp-root .vf-geeignet li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--ild-red-bright); }

/* ── Referenzen vor Ort ── */
.lp-root .referenzen { background: var(--section-light); padding: clamp(88px, 10vw, 180px) 0; }
.lp-root .referenzen-intro { max-width: 640px; margin: 0 auto 48px; text-align: center; font-size: 15.5px; color: var(--neutral-3); }
.lp-root .ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(20px, 2vw, 32px); }
.lp-root .ref-card { display: flex; flex-direction: column; background: #fff; border-radius: 5px; overflow: hidden; border: 1px solid var(--neutral-6); }
.lp-root .ref-foto { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.lp-root .ref-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.lp-root .ref-meta { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ild-red); margin-bottom: 8px; }
.lp-root .ref-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.lp-root .ref-ergebnis { font-size: 14.5px; color: var(--neutral-2); margin-bottom: 20px; }
.lp-root .ref-fakten { display: grid; gap: 6px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--neutral-6); font-size: 13.5px; }
.lp-root .ref-fakten div { display: flex; gap: 8px; }
.lp-root .ref-fakten dt { color: var(--neutral-3); }
.lp-root .ref-fakten dt::after { content: ":"; }
.lp-root .ref-fakten dd { font-weight: 600; }

/* ── Seitlicher Anruf-Button ── */
.lp-root .leck-fab {
    position: fixed; right: 0; top: 50%; z-index: 90;
    transform: translateY(-50%);
    writing-mode: vertical-rl; text-orientation: mixed;
    background: var(--ild-red); color: #fff;
    font-size: 14px; font-weight: 600; letter-spacing: .02em;
    padding: 24px 13px; border-radius: 5px 0 0 5px;
    text-decoration: none; white-space: nowrap;
    transition: background 300ms var(--ease), padding 300ms var(--ease);
}
.lp-root .leck-fab:hover { background: var(--ild-burgund); padding-right: 20px; }

/* ── Einsatzgebiet: Karte mit Leck-Punkten ── */
.lp-root .einsatz { position: relative; padding: clamp(92px, 10vw, 200px) 0; overflow: hidden; min-height: clamp(560px, 68vh, 820px); display: flex; align-items: center; }
.lp-root .einsatz-globe { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lp-root .einsatz-globe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 28%, rgba(255,255,255,0) 52%); }
.lp-root .einsatz-globe canvas { width: 100%; height: 100%; display: block; }
.lp-root .einsatz .container { position: relative; z-index: 1; width: 100%; }
.lp-root .einsatz-copy { max-width: 620px; }
.lp-root .einsatz-copy .h2-red { margin-bottom: 22px; }
.lp-root .einsatz-copy p { font-size: clamp(15px, 1.3vw, 17.5px); color: var(--neutral-3); max-width: 520px; margin-bottom: 28px; }
.lp-root .einsatz-legende { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--neutral-1); }
.lp-root .einsatz-legende .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ild-red); animation: lp-dot-puls 2s var(--ease) infinite; }
@keyframes lp-dot-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(184,37,47,.35); } 50% { box-shadow: 0 0 0 8px rgba(184,37,47,0); } }

/* ── Angebots-Check ── */
.lp-root .rechner { background: var(--section-light); padding: clamp(92px, 10vw, 190px) 0; }
.lp-root .rechner .h2-red { margin-bottom: 18px; }
.lp-root .rechner-intro { max-width: 720px; margin: 0 auto clamp(28px, 3.5vw, 44px); text-align: center; font-size: 15.5px; color: var(--neutral-3); }
.lp-root .rechner-panel { background: #fff; border-radius: 5px; padding: clamp(34px, 4.6vw, 96px); max-width: none; }
.lp-root .rechner-fallback { text-align: center; }
.lp-root .rechner-fallback[hidden] { display: none; }
.lp-root .rechner-step { display: none; }
.lp-root .rechner-step.active { display: block; }
.lp-root .rechner-progress-track { height: 3px; background: rgba(38,45,51,.12); overflow: hidden; margin-bottom: clamp(32px, 4vw, 56px); }
.lp-root .rechner-progress-fill { height: 100%; width: 0; background: var(--ild-red); transition: width 700ms var(--ease); }
.lp-root .rechner-step-head { display: flex; align-items: flex-end; gap: clamp(24px, 3.5vw, 52px); margin-bottom: clamp(30px, 3.5vw, 46px); }
.lp-root .rechner-panel h3 { font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; margin-bottom: 8px; }
.lp-root .rechner-panel h3:focus { outline: none; }
.lp-root .rechner-panel h3:focus-visible { outline: 2px solid var(--ild-red-bright); outline-offset: 4px; }
.lp-root .rechner-q-sub { font-size: 14px; color: var(--neutral-3); max-width: 460px; }
.lp-root .rechner-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-root .rechner-option {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    background: var(--section-light); border: 1.5px solid transparent; border-radius: 5px;
    font-family: inherit; color: var(--neutral-1); text-align: left; cursor: pointer;
    padding: clamp(24px, 2.8vw, 40px) clamp(26px, 3vw, 44px);
    min-height: 96px;
    transition: border-color .25s, background-color .25s;
}
.lp-root .opt-title { font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; line-height: 1.25; }
.lp-root .opt-desc { font-size: 13px; font-weight: 500; color: var(--neutral-3); line-height: 1.45; }
.lp-root .rechner-option:hover { border-color: var(--ild-red); }
.lp-root .rechner-option.is-picked { background: var(--ild-red); border-color: var(--ild-red); }
.lp-root .rechner-option.is-picked .opt-title, .lp-root .rechner-option.is-picked .opt-desc { color: #fff; }
.lp-root .rechner-step.active .rechner-step-head > div { animation: lp-q-item 650ms var(--ease) both 60ms; }
.lp-root .rechner-step.active .rechner-options .rechner-option { animation: lp-q-item 650ms var(--ease) both; }
.lp-root .rechner-step.active .rechner-options .rechner-option:nth-child(1) { animation-delay: 120ms; }
.lp-root .rechner-step.active .rechner-options .rechner-option:nth-child(2) { animation-delay: 200ms; }
.lp-root .rechner-step.active .rechner-options .rechner-option:nth-child(3) { animation-delay: 280ms; }
.lp-root .rechner-step.active .rechner-options .rechner-option:nth-child(4) { animation-delay: 360ms; }
.lp-root .rechner-step.active .rechner-options .rechner-option:nth-child(5) { animation-delay: 440ms; }
.lp-root .rechner-step.active .rechner-back { animation: lp-q-item 650ms var(--ease) both 520ms; }
.lp-root .rechner-step--ergebnis.active > * { animation: lp-q-item 650ms var(--ease) both; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(2) { animation-delay: 90ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(3) { animation-delay: 160ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(4) { animation-delay: 230ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(5) { animation-delay: 300ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(6) { animation-delay: 370ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(7) { animation-delay: 440ms; }
.lp-root .rechner-step--ergebnis.active > *:nth-child(8) { animation-delay: 510ms; }
@keyframes lp-q-item { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.lp-root .rechner-back {
    display: inline-flex; align-items: center; gap: 10px;
    background: #fff; border: 1.5px solid var(--neutral-5); border-radius: 5px;
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    color: var(--neutral-2); cursor: pointer; margin-top: 20px; padding: 11px 22px;
    transition: border-color .25s, color .25s;
}
.lp-root .rechner-back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.lp-root .rechner-back:hover { border-color: var(--ild-red); color: var(--ild-red); }
.lp-root .empfehlung-pill {
    display: inline-block; background: var(--ild-red); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.lp-root .ergebnis-desc { font-size: 13.5px; color: var(--neutral-3); margin-bottom: 18px; }
.lp-root .ergebnis-grund {
    border-left: 3px solid var(--ild-red);
    padding: 14px 0 14px 18px; margin-bottom: 26px;
    font-size: 14px; line-height: 1.6; color: var(--neutral-2); max-width: 760px;
}
.lp-root .ergebnis-grund strong { font-weight: 700; color: var(--neutral-1); }
.lp-root .kalk-row {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; border-radius: 5px;
    font-size: 13.5px; padding: 13px 18px; margin-bottom: 8px;
}
.lp-root .kalk-row strong { font-weight: 700; }
.lp-root .ergebnis-note { font-size: 12px; color: var(--neutral-4); margin: 16px 0 24px; }
.lp-root .ergebnis-ctas { display: flex; flex-direction: column; gap: 10px; }
.lp-root .ergebnis-ctas .btn-red { justify-content: center; }
.lp-root .rechner-reset { display: flex; width: fit-content; margin: 18px auto 0; }
.lp-root .rechner-reset::before { display: none; }
.lp-root .ergebnis-headline { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin: 14px 0 12px; }
.lp-root .ergebnis-lead { font-size: 1.05rem; line-height: 1.65; margin: 0 0 26px; max-width: 62ch; }
.lp-root .ergebnis-verfahren { border-top: 1px solid rgba(0,0,0,.1); margin-top: 26px; padding-top: 18px; }
.lp-root .ergebnis-verfahren summary { cursor: pointer; font-size: .95rem; padding: 6px 0; }
.lp-root .ergebnis-verfahren summary strong { color: #b8252f; }
.lp-root .ergebnis-verfahren[open] summary { margin-bottom: 12px; }
.lp-root .form-uebernahme { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 5px; padding: 20px 22px; margin-bottom: 26px; }
.lp-root .form-uebernahme[hidden] { display: none; }
.lp-root .form-uebernahme-pill { display: inline-block; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; background: #b8252f; color: #fff; padding: 5px 11px; border-radius: 3px; margin-bottom: 14px; }
.lp-root .form-uebernahme-rows { display: grid; gap: 7px; }
.lp-root .form-uebernahme-rows div { display: flex; justify-content: space-between; gap: 18px; font-size: .92rem; }
.lp-root .form-uebernahme-rows span { opacity: .72; }
.lp-root .form-uebernahme-rows strong { text-align: right; }
.lp-root .form-uebernahme-note { font-size: .84rem; opacity: .68; margin: 14px 0 0; line-height: 1.5; }

/* ── FAQ ── */
.lp-root .faq { background: var(--section-light); padding: clamp(88px, 10vw, 180px) 0; }
.lp-root .faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.lp-root .faq-left { position: sticky; top: 110px; }
.lp-root .faq-left .h2-red { margin-bottom: 26px; }
.lp-root .faq-links { display: grid; gap: 10px; margin-top: 28px; }
.lp-root .faq-list { max-width: none; margin-inline: 0; }
.lp-root .faq-item { border-bottom: 1px solid var(--neutral-5); }
.lp-root .faq-h { font-size: inherit; font-weight: inherit; line-height: inherit; }
.lp-root .faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    background: none; border: none; font-family: inherit; text-align: left;
    font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; color: var(--neutral-1);
    padding: 20px 4px; cursor: pointer;
}
.lp-root .faq-q::after {
    content: ""; width: 9px; height: 9px; flex-shrink: 0;
    border-right: 2px solid var(--neutral-1); border-bottom: 2px solid var(--neutral-1);
    transform: rotate(45deg); transition: transform .25s;
}
.lp-root .faq-item.open .faq-q::after { transform: rotate(-135deg); }
.lp-root .faq-item.open .faq-q { color: var(--ild-red); }
.lp-root .faq-item.open .faq-q::after { border-color: var(--ild-red); }
.lp-root .faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.lp-root .faq-a a { color: var(--ild-red); font-weight: 600; text-decoration: none; }
.lp-root .faq-a a:hover { text-decoration: underline; }
.lp-root .faq-a p { font-size: 13.5px; color: var(--neutral-3); padding: 0 4px 20px; max-width: 640px; }

/* ── Kontakt: dunkel, Underline-Formular ── */
.lp-root .kontakt { background: var(--neutral-1); color: #fff; padding: clamp(92px, 11vw, 210px) 0; }
.lp-root .kontakt h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 700; line-height: 1.08; margin-bottom: 22px; }
.lp-root .kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.lp-root .kontakt-sub { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.72); max-width: 400px; margin-bottom: 44px; }
.lp-root .kontakt-tel { display: inline-block; color: #fff; font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; text-decoration: none; margin-bottom: 10px; transition: color 300ms var(--ease); }
.lp-root .kontakt-tel:hover { color: var(--ild-red-bright); }
.lp-root .kontakt-mail { display: block; color: rgba(255,255,255,.78); font-size: 16px; font-weight: 600; text-decoration: none; transition: color 300ms var(--ease); }
.lp-root .kontakt-mail:hover { color: #fff; }
.lp-root .kontakt-form label { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.lp-root .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 26px; }
.lp-root .kontakt-form input, .lp-root .kontakt-form textarea {
    width: 100%; background: transparent; border: none; border-radius: 0;
    border-bottom: 2px solid rgba(255,255,255,.28);
    color: #fff; font-family: inherit; font-size: 15px;
    padding: 10px 2px 12px;
    transition: border-color 300ms var(--ease);
}
.lp-root .kontakt-form input:focus, .lp-root .kontakt-form textarea:focus { outline: none; border-bottom-color: var(--ild-red-bright); }
.lp-root .kontakt-form textarea {
    min-height: 46px; height: 46px; max-height: 220px;
    resize: none; overflow-y: hidden; margin-bottom: 6px;
    line-height: 1.5;
}
/* Chrome färbt Autofill-Felder hell – auf dunkler Sektion ein sichtbarer Glitch */
.lp-root .kontakt-form input:-webkit-autofill,
.lp-root .kontakt-form input:-webkit-autofill:hover,
.lp-root .kontakt-form input:-webkit-autofill:focus,
.lp-root .kontakt-form input:-webkit-autofill:active,
.lp-root .kontakt-form textarea:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: inset 0 0 0 1000px var(--neutral-1);
    box-shadow: inset 0 0 0 1000px var(--neutral-1);
    caret-color: #fff;
    border-bottom-color: rgba(255,255,255,.28);
    transition: background-color 9999s ease-out 0s;
}
.lp-root .kontakt-form [aria-invalid="true"] { border-bottom-color: var(--ild-red-bright); }
.lp-root .form-counter {
    font-size: 12px; color: rgba(255,255,255,.42);
    text-align: right; margin: 0 0 22px; min-height: 16px;
    transition: color 200ms var(--ease);
}
.lp-root .form-counter.near { color: var(--ild-red-bright); }
/* Datenschutz-Einwilligung (Pflicht, Wortlaut wie die Website-Formulare) */
.lp-root .kontakt-form .form-consent { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 28px; }
.lp-root .kontakt-form .form-consent input[type="checkbox"] {
    -webkit-appearance: checkbox; appearance: auto;
    flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; padding: 0;
    border: 0; accent-color: var(--ild-red); cursor: pointer;
}
.lp-root .kontakt-form .form-consent input[type="checkbox"][aria-invalid="true"] { outline: 2px solid var(--ild-red-bright); outline-offset: 2px; }
.lp-root .kontakt-form .form-consent label { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.55; color: rgba(255,255,255,.78); cursor: pointer; }
.lp-root .kontakt-form .form-consent a { color: #fff; text-decoration: underline; }
/* Fehlermeldung am Feld (deutscher Text, per aria-describedby mit dem Feld verknüpft) */
.lp-root .form-field-error { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: #ffc9c9; }
.lp-root .form-field-error::before { content: "! "; color: var(--ild-red-bright); font-weight: 700; }
.lp-root .form-field-error--consent { margin: -20px 0 24px 30px; }
/* Honeypot: für Menschen unsichtbar, für Screenreader ausgeblendet */
.lp-root .lp-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lp-root .kontakt-form .btn-absenden {
    display: inline-flex; align-items: center; gap: 12px;
    background: var(--ild-red); color: #fff;
    font-family: inherit; font-size: 14.5px; font-weight: 600;
    padding: 15px 30px; border: none; border-radius: 5px; cursor: pointer;
    transition: background 300ms var(--ease);
}
.lp-root .kontakt-form .btn-absenden:hover { background: var(--ild-burgund); }
.lp-root .kontakt-form .btn-absenden:disabled { opacity: .6; cursor: default; }
/* Statusmeldung: immer im DOM (Live-Region), sichtbar erst mit Inhalt */
.lp-root .form-status { display: block; margin-top: 0; padding: 0; font-size: 13.5px; font-weight: 600; line-height: 1.5; border-radius: 3px; }
.lp-root .form-status.is-visible { margin-top: 16px; padding: 12px 16px; }
.lp-root .form-status.is-success { background: rgba(255,255,255,.12); color: #fff; }
.lp-root .form-status.is-error { background: var(--ild-red-bright); color: #fff; }
.lp-root .form-status a { color: #fff; }
.lp-root .form-status:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* ── Fuß ── */
.lp-root .site-footer { background: var(--footer-bg); padding: 56px 0 32px; font-size: 13px; }
.lp-root .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 36px; }
.lp-root .footer-col img { height: 124px; width: auto; margin-bottom: 24px; }
.lp-root .footer-col .footer-logo-link { display: inline-block; padding: 0; }
.lp-root .footer-social { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.lp-root .footer-col .footer-social a {
    display: inline-flex; align-items: center; justify-content: center; padding: 3px 0;
    color: var(--neutral-1); transition: color 300ms var(--ease);
}
.lp-root .footer-social a svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.lp-root .footer-col .footer-social a:hover { color: var(--ild-red); }
.lp-root .footer-col-title { font-weight: 700; margin-bottom: 14px; font-size: 13.5px; }
.lp-root .footer-col a { display: block; color: var(--neutral-1); font-weight: 600; text-decoration: none; padding: 3px 0; }
.lp-root .footer-col a:hover { color: var(--ild-red); }
.lp-root .footer-col p { color: var(--neutral-2); }
.lp-root .footer-legal { white-space: pre-line; }
.lp-root .footer-links { margin-top: 10px; }
.lp-root .footer-links .cookie-settings-link {
    display: block; background: none; border: 0; padding: 3px 0;
    font: inherit; font-weight: 600; color: var(--neutral-1); text-align: left; cursor: pointer;
}
.lp-root .footer-links .cookie-settings-link:hover { color: var(--ild-red); }
.lp-root .footer-bottom {
    border-top: 1px solid rgba(38,45,51,.18); padding-top: 22px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12px; color: var(--neutral-2);
}

/* ── Bewegungsschicht ── */
/* H1: Wörter fahren aus einer Maske ein */
.lp-root .hl { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .15em; margin: 0 -.06em -.15em; }
.lp-root .hl-inner { display: inline-block; transform: translateY(112%); transition: transform 900ms var(--ease); will-change: transform; }
.lp-root .hl-d2 { transition-delay: 140ms; }
.lp-root.hero-p2 .hl-inner { transform: translateY(0); }
.lp-root .hero-ctas { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: 480ms; }
.lp-root.hero-p2 .hero-ctas { opacity: 1; transform: translateY(0); }

/* Scroll-Reveals: einmalig, gestaffelt */
.lp-root .rv { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.lp-root .rv.in { opacity: 1; transform: translateY(0); }
.lp-root .rv-d1 { transition-delay: 90ms; } .lp-root .rv-d2 { transition-delay: 180ms; } .lp-root .rv-d3 { transition-delay: 270ms; }
.lp-root .vf-card.rv:not(.in) { transform: translateX(-32px); }
.lp-root .faq-item.rv:not(.in) { transform: none; }

/* Karten heben sich beim Hovern */
.lp-root .vf-card { transition: transform 500ms var(--ease), border-color 300ms var(--ease); }
.lp-root .vf-card:hover { transform: translateY(-4px); border-color: var(--ild-red); }

@media print {
    .lp-root .rv, .lp-root .hl-inner, .lp-root .hero-ctas, .lp-root .hero-kicker { opacity: 1 !important; transform: none !important; }
}

/* A/B-Test: bei „Bewegung reduzieren“ sind die Texte sofort sichtbar; bis das Skript die Variante
   gesetzt hat, ausblenden, damit A nicht kurz aufblitzt. Lädt das Skript nicht, nach 3 s trotzdem
   zeigen (ohne JS: landingpage-noscript.css) */
@keyframes lp-ab-zeigen { to { visibility: visible; } }
@media (prefers-reduced-motion: reduce) {
    .lp-root .hero[data-lp-ab]:not(.ab-bereit) .hero-phase2,
    .lp-root .hero[data-lp-ab]:not(.ab-bereit) .hero-ctas { visibility: hidden; animation: lp-ab-zeigen 0s 3s forwards; }
}
/* Bewegung reduzieren: alles sofort sichtbar */
@media (prefers-reduced-motion: reduce) {
    html.lp-html { scroll-behavior: auto; }
    .lp-root .rechner-step.active .rechner-step-head > div,
    .lp-root .rechner-step.active .rechner-options .rechner-option,
    .lp-root .rechner-step.active .rechner-back,
    .lp-root .rechner-step--ergebnis.active > * { animation: none !important; }
    .lp-root .rechner-progress-fill { transition: none !important; }
    .lp-root .hl-inner, .lp-root .rv, .lp-root .hero-kicker, .lp-root .hero-ctas, .lp-root .site-header { transition: none !important; transform: none !important; opacity: 1 !important; }
    .lp-root .einsatz-legende .dot { animation: none; }
    .lp-root .faq-a { transition: none; }
    .lp-root .schritt-node, .lp-root .schritt-content, .lp-root .vf-card { transition: none; }
}

.lp-root .mobile-cta-bar { display: none; }
@media (max-width: 768px) {
    .lp-root .mobile-cta-bar {
        display: flex; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: rgba(255,255,255,.96);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 20px rgba(38,45,51,.12);
    }
    .lp-root .mobile-cta-bar a { flex: 1; justify-content: center; }
    .lp-root .site-footer { padding-bottom: 110px; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .lp-root .site-nav { display: none; }
    .lp-root .nav-burger { display: block; }
    .lp-root .header-right { gap: 0; }
    .lp-root .site-nav.open {
        display: flex; flex-direction: column; gap: 0;
        position: fixed; top: 76px; left: 0; right: 0;
        background: #fff; padding: 12px 24px 20px;
        box-shadow: 0 12px 24px rgba(38,45,51,.12);
    }
    .lp-root .site-nav.open a { padding: 12px 0; border-bottom: 1px solid var(--neutral-6); color: var(--neutral-1); }
    .lp-root .hero { height: 92vh; min-height: 560px; }
    .lp-root .hero-center h1 { font-size: clamp(48px, 14vw, 84px); }
    .lp-root .btn-kontakt { display: none; }
    .lp-root .site-logo img { height: 64px; }
    .lp-root .site-header.scrolled .site-logo img { height: 48px; }
    .lp-root .vf-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
    .lp-root .vf-icon { justify-content: flex-start; }
    .lp-root .vf-icon svg { width: 64px; height: 64px; }
    .lp-root .ablauf-grid, .lp-root .ablauf-grid--2, .lp-root .ablauf-grid--4 { grid-template-columns: 1fr; gap: 36px; }
    .lp-root .ablauf-track::before { display: none; }
    .lp-root .schritt { padding-top: 0; cursor: default; }
    .lp-root .schritt-node { position: static; transform: none; margin: 0 auto 18px; }
    .lp-root .rechner-panel { padding: 22px 18px; }
    .lp-root .einsatz { min-height: 520px; align-items: flex-end; padding-bottom: 48px; }
    .lp-root .rechner-options { grid-template-columns: 1fr; }
    .lp-root .rechner-step-head { align-items: flex-start; flex-direction: column; gap: 14px; }
    .lp-root .rechner-option { min-height: 0; }
    .lp-root .kontakt-grid { grid-template-columns: 1fr; gap: 36px; }
    .lp-root .rechner-intro { justify-self: start; margin: 0; }
    .lp-root .faq-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp-root .faq-left { position: static; }
    .lp-root .form-row { grid-template-columns: 1fr; }
    .lp-root .leck-fab { display: none; }
    .lp-root .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Hero-Komposition: vollflächiges Video,
   Headline auf dem Video, Kopf/Logo weiß bis zum Scrollen.
   ========================================================================== */
.lp-root .hero { min-height: 100vh; background: var(--neutral-1); padding-bottom: 0; overflow: hidden; }
.lp-root .hero-media {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%;
    aspect-ratio: auto; border-radius: 0; margin: 0;
}
/* Lesbarkeits-Verlauf: oben dunkel für den Kopf, unten leicht */
.lp-root .hero::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 18%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 68%, rgba(0,0,0,.28) 100%);
}
.lp-root .hero-center { position: relative; z-index: 3; height: 100vh; min-height: 560px; color: #fff; }
.lp-root .hero-center h1 { color: #fff; }
.lp-root .hero-center h1 .highlight { color: var(--ild-red); }
.lp-root .hero-ctas .btn-outline-red { color: #fff; border-color: #fff; background: transparent; }
.lp-root .hero-ctas .btn-outline-red:hover { color: var(--neutral-1); background: #fff; }

/* Foto statt Video im Hero: helle Motive brauchen eine durchgehende Abdunklung, sonst ist die
   weiße Headline nicht lesbar (Mitte gleichmäßig, dort stehen Kicker und H1). Der Bildausschnitt
   hält die Person im Bild, wenn das Fenster schmaler als 16:9 ist. */
.lp-root .hero--bild::after {
    background: linear-gradient(to bottom, rgba(16,20,24,.58) 0%, rgba(16,20,24,.50) 25%, rgba(16,20,24,.50) 55%, rgba(16,20,24,.55) 100%);
}
.lp-root .hero--bild .hero-poster { object-position: 60% 35%; }

/* Scrollspy: aktiver Menüpunkt rot */
.lp-root .site-nav a.active { color: var(--ild-red); }
.lp-root .site-header:not(.scrolled) .site-nav a.active { color: var(--ild-red); }

/* Kopf über dem Video: weiße Navigation + helles Logo */
.lp-root .site-header:not(.scrolled) .site-nav a { color: #fff; }
.lp-root .site-header:not(.scrolled) .site-nav a:hover { color: rgba(255,255,255,.75); }
.lp-root .site-header:not(.scrolled) .nav-burger span { background: #fff; }

.lp-root .site-logo img { height: clamp(100px, 11vw, 148px); }
.lp-root .site-header.scrolled .site-logo img { height: 78px; }
@media (max-width: 900px) {
    .lp-root .site-logo img { height: 88px; }
    .lp-root .site-header.scrolled .site-logo img { height: 64px; }
}

/* Logo im Hero: Signet + ILD rot, Unterzeile weiß */
.lp-root .site-logo .logo-hero { display: none; }
.lp-root .site-header:not(.scrolled) .site-logo .logo-default { display: none; }
.lp-root .site-header:not(.scrolled) .site-logo .logo-hero { display: block; }
.lp-root .site-header:not(.scrolled):has(.site-nav.open) .site-logo .logo-default { display: block; }
.lp-root .site-header:not(.scrolled):has(.site-nav.open) .site-logo .logo-hero { display: none; }

/* Offenes Burger-Menü ist weiß: dort gilt die Weiß-Regel nicht */
.lp-root .site-header:not(.scrolled) .site-nav.open a { color: var(--neutral-1); }
.lp-root .site-header:not(.scrolled) .site-nav.open a.active { color: var(--ild-red); }

/* Echte Geräte: svh statt vh, sonst pumpt der Hero mit der Browser-Leiste */
@supports (height: 100svh) {
    .lp-root .hero { min-height: 100svh; }
    .lp-root .hero-center { height: 100svh; }
}

/* Offenes Menü: Kopf wird weiß, Logo + Burger dunkel */
.lp-root .site-header:has(.site-nav.open) { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(38,45,51,.10); }
.lp-root .site-header:not(.scrolled):has(.site-nav.open) .nav-burger span { background: var(--neutral-1); }

/* Mobile Leiste erst nach dem Hero einblenden (sonst 4 Buttons im Hero) */
.lp-root .mobile-cta-bar { transform: translateY(120%); transition: transform 400ms var(--ease); }
.lp-root .mobile-cta-bar.visible { transform: translateY(0); }

.lp-root .einsatz-legende .dot { flex-shrink: 0; }

@media (max-width: 900px) {
    /* Ablauf: beim Scrollen ist der Schritt in Bildschirmmitte hervorgehoben */
    .lp-root .schritt { opacity: .3; transition: opacity 500ms var(--ease); }
    .lp-root .schritt.lit { opacity: 1; }
    .lp-root .schritt.lit .schritt-node { border-color: var(--ild-red); transform: scale(1.12); transition: transform 500ms var(--ease), border-color 500ms var(--ease); }
    .lp-root .rechner-intro { margin: 0 0 30px; }
    /* Karte hinter der Zahl stärker verblassen, Text war kaum lesbar */
    .lp-root .einsatz-globe::after { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.96) 100%); }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .lp-root .schritt { opacity: 1; }
}
