/* MBK-Scharf Rückstauschutz – Scroll-Erzählung „Vom Rückstaurisiko zum geschützten Zuhause“.
   Marke: Schwarz #000 / Rot #f1080d / Grau #7f7f7f / Weiß #fff. Natürliche Wasser-/Himmelsfarben nur innerhalb der Bildwelt.
   Bewegung ausschließlich über transform und opacity; prefers-reduced-motion schaltet alles Kontinuierliche ab. */
:root {
  --schwarz: #000000; --rot: #f1080d; --rot-dunkel: #c00609; --grau: #7f7f7f; --grau-hell: #b5b5b5; --weiss: #ffffff;
  --anthrazit: #14181e; --anthrazit-2: #1e232a; --hell: #f4f4f4; --linie: #e2e2e2; --linie-dunkel: #2a2f36;
  --text: #111111; --text-hell: #f2f2f2; --fokus: #f1080d; --radius: 4px; --wrap: 1180px;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --leiste-h: 72px;
  --szene-dauer: 1.8s;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--text); background: var(--schwarz); overflow-x: hidden; position: relative; }
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .6em; font-weight: 700; font-family: var(--font); }
h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
.gross { font-size: 1.12rem; }
.klein { font-size: .9rem; }
.grau { color: var(--grau); }
.hell-grau { color: #b9c0c8; }
.rot { color: var(--rot); }
.max-lesbar { max-width: 62ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; position: relative; }
.wrap--schmal { max-width: 820px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rot); margin: 0 0 .7rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: .6rem 1rem; z-index: 1000; }
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.szene :focus-visible, .abschnitt--entstehung :focus-visible, .abschnitt--risiko :focus-visible, .abschnitt--karriere :focus-visible, .check-intro :focus-visible { outline-color: #fff; }
.link-pfeil { font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--rot); }
.link-pfeil:hover { color: var(--rot); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.35rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; transition: background-color .15s, color .15s, transform .15s, border-color .15s; font-family: var(--font); }
.btn:hover { transform: translateY(-1px); }
.btn--primaer { background: var(--rot); color: #fff; border-color: var(--rot); }
.btn--primaer:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.btn--sekundaer { background: transparent; color: var(--text); border-color: var(--text); }
.btn--sekundaer:hover { background: var(--text); color: #fff; }
.btn--dunkel { background: var(--schwarz); color: #fff; border-color: var(--schwarz); }
.btn--geist { background: rgba(0,0,0,.25); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--geist:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn--gross { min-height: 56px; font-size: 1.08rem; padding: .95rem 1.6rem; }
.btn--klein { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.btn--breit { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- Header ---------- */
.kopf { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--linie); isolation: isolate; }
.kopf__zeile { display: flex; align-items: center; gap: .75rem; min-height: 64px; }
.kopf__logo img { width: 128px; height: auto; }
.kopf__partner { display: none; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); border-left: 3px solid var(--rot); padding-left: .6rem; }
.kopf__tel { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; }
.kopf__tel:hover, .kopf__tel:focus-visible { color: var(--rot); border-color: var(--rot); }
.kopf__menue { width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; border-radius: var(--radius); }
.kopf__menue-icon, .kopf__menue-icon::before, .kopf__menue-icon::after { display: block; width: 24px; height: 3px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.kopf__menue-icon::before, .kopf__menue-icon::after { content: ""; position: absolute; left: 0; }
.kopf__menue-icon::before { top: -8px; } .kopf__menue-icon::after { top: 8px; }
.kopf__menue[aria-expanded="true"] .kopf__menue-icon { background: transparent; }
.kopf__menue[aria-expanded="true"] .kopf__menue-icon::before { transform: translateY(8px) rotate(45deg); }
.kopf__menue[aria-expanded="true"] .kopf__menue-icon::after { transform: translateY(-8px) rotate(-45deg); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.nav[data-offen] { display: block; }
.nav ul { list-style: none; margin: 0; padding: .5rem 1rem 1rem; display: flex; flex-direction: column; }
.nav a { display: block; padding: .8rem .25rem; text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--linie); }
.nav__cta { padding-top: .75rem; } .nav__cta a { border: 0; }
@media (min-width: 900px) {
  .kopf__partner { display: inline-block; } .kopf__menue { display: none; } .kopf__tel { display: none; }
  .nav { display: block; position: static; margin-left: auto; background: transparent; border: 0; box-shadow: none; }
  .nav ul { flex-direction: row; align-items: center; gap: .25rem; padding: 0; }
  .nav a { padding: .5rem .7rem; border: 0; font-size: .95rem; } .nav a:not(.btn):hover { color: var(--rot); }
  .nav__cta { padding: 0 0 0 .5rem; }
}

/* ---------- Himmel- und Wetterebene (fix hinter allen Abschnitten) ---------- */

main { position: relative; z-index: 1; }
section[id] { scroll-margin-top: 4.25rem; }
.fuss, .consent { position: relative; z-index: 2; }

/* ---------- Szenenebene: drei Fotozustände, Crossfade nur über opacity ---------- */
.szenen { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0b0e12; pointer-events: none; }
.szenen__bild { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--szene-dauer) ease; will-change: opacity; }
.szenen__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.szenen__bild--1 { opacity: 1; }
body[data-stimmung="regen"] .szenen__bild--2, body[data-stimmung="beruhigt"] .szenen__bild--2, body[data-stimmung="wende"] .szenen__bild--2, body[data-stimmung="hell"] .szenen__bild--2, body[data-stimmung="klar"] .szenen__bild--2 { opacity: 1; }
body[data-stimmung="klar"] .szenen__bild--3 { opacity: 1; } /* Szene 3 (Sonne) ausschließlich im Abschluss; Lösungs- und KESSEL-Bereich sind deckend neutral */
@media (max-width: 899px) { .szenen__bild img { object-position: 50% 50%; } .szenen__bild--3 img { object-position: 100% 50%; } }

/* ---------- Abschnitte: Überlagerungen über der Szenenebene ---------- */
.abschnitt { padding: 3.5rem 0; position: relative; }
.szene { position: relative; overflow: hidden; }
.abschnitt--entstehung { background: linear-gradient(180deg, rgba(5,7,10,.92) 0%, rgba(5,7,10,.84) 100%); color: var(--text-hell); }
.entstehung { max-width: 760px; }
.entstehung .gross { color: #e6e9ec; }
.stufen--ruhig { margin: 2.5rem 0; padding: 1.75rem 0; border-top: 1px solid var(--linie-dunkel); border-bottom: 1px solid var(--linie-dunkel); gap: 1.1rem; }
.stufen--ruhig li { font-size: 1.1rem; font-weight: 700; }
.entstehung__schluss { color: #c9d0d8; margin: 0; max-width: 62ch; font-size: 1.05rem; }
.szene--erklaerung { background: linear-gradient(180deg, rgba(5,7,10,.88) 0%, rgba(5,7,10,.42) 25%, rgba(5,7,10,.42) 75%, rgba(20,24,30,.94) 100%); color: var(--text-hell); }
.abschnitt--risiko { background: rgba(20,24,30,.96); color: var(--text-hell); }
.abschnitt--check { background: rgba(0,0,0,.92); color: var(--text-hell); border-top: 6px solid var(--rot); }
.szene--wende { background: var(--hell); color: var(--text); }
.abschnitt--kessel { background: #ffffff; }
.abschnitt--ablauf { background: var(--hell); }
.abschnitt--ueber { background: #ffffff; }
.abschnitt--faq { background: var(--hell); }
.abschnitt--beratung { background: #ffffff; }
.abschnitt--karriere { background: var(--anthrazit); color: var(--text-hell); border-top: 6px solid var(--rot); }
.szene--final { background: transparent; color: var(--text); min-height: 90vh; display: flex; align-items: center; }
.cta-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.cta-zeile--mitte { justify-content: center; margin-top: 2rem; }
@media (min-width: 900px) { .abschnitt { padding: 5.5rem 0; } }

/* ---------- Hero: Zustand A ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-start; color: #fff; padding: 2.5rem 0 8rem; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,9,.78) 0%, rgba(4,6,9,.62) 55%, rgba(4,6,9,0) 100%); pointer-events: none; }
.hero__inhalt { position: relative; z-index: 1; max-width: 600px; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
/* Hero-Eyebrow: weiße Schrift für ≥ 4,5:1 auf dem dunklen Motiv, Markenrot als separater Balken */
.hero .eyebrow--hell { color: #fff; display: flex; align-items: center; gap: .6rem; }
.hero .eyebrow--hell::before { content: ""; flex: none; width: 1.6rem; height: 3px; background: var(--rot); }
.hero h1 { margin-bottom: 1rem; text-wrap: balance; font-size: clamp(2.05rem, 5.2vw, 3.4rem); line-height: 1.1; }
.hero__sub { font-size: 1.1rem; color: #e6e9ec; max-width: 52ch; }
.hero__sub--mobil { display: none; }
.hero__cta { display: flex; flex-direction: column; gap: .75rem; margin: 1.5rem 0 1.1rem; }
.hero__cta--mitte { align-items: center; }
.hero__vertrauen { display: flex; align-items: center; gap: .75rem; font-size: .95rem; line-height: 1.3; color: #f2f2f2; margin: 0 0 .5rem; }
.hero__vertrauen img { width: 64px; height: 64px; flex: none; }
.hero__tel { color: #cfd6de; font-size: .92rem; margin: 0; }
.hero__tel a { color: #fff; font-weight: 700; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) {
  .hero { min-height: 100vh; align-items: center; padding: 6rem 0 6rem; }
  .hero::before { background: linear-gradient(90deg, rgba(4,6,9,.82) 0%, rgba(4,6,9,.62) 38%, rgba(4,6,9,.12) 62%, rgba(4,6,9,0) 100%); }
}
@media (max-width: 899px) {
  .hero { padding: 2rem 0 46svh; min-height: 100svh; }
  .hero::before { background: linear-gradient(180deg, rgba(4,6,9,.82) 0%, rgba(4,6,9,.66) 48%, rgba(4,6,9,0) 72%); }
  .hero__sub--desktop { display: none; }
  .hero__sub--mobil { display: block; font-size: 1.05rem; }
  .hero__cta { gap: .5rem; margin: 1.1rem 0 .9rem; }
  .hero__sekundaer { background: none; border: 0; min-height: auto; padding: .35rem 0; justify-content: flex-start; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; color: #e6e9ec; }
  .hero__vertrauen { font-size: .88rem; gap: .6rem; }
  .hero__vertrauen img { width: 44px; height: 44px; }
  .hero__tel { display: none; }
}


/* ---------- Rückstau verstehen: Text auf weicher dunkler Fläche, Stufenliste, Rückstauebene-Text ---------- */
.erklaerung { max-width: 720px; padding: 1.5rem 0; }
.stufen { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.stufen li { display: grid; grid-template-columns: 30px 1fr; gap: .75rem; align-items: start; font-size: 1.05rem; }
.stufen b { display: grid; place-items: center; width: 30px; height: 30px; background: var(--rot); color: #fff; border-radius: 50%; font-size: .85rem; }
.ebene { background: #fff; color: var(--text); padding: 1.75rem; margin-top: 2.5rem; border-top: 6px solid var(--rot); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.ebene h3 { font-size: 1.5rem; margin: .25rem 0 .75rem; }
.ebene__fakten { display: grid; gap: 1rem; margin: 1.25rem 0; }
.ebene__fakten dt { font-weight: 700; color: var(--rot); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .2rem; }
.ebene__fakten dd { margin: 0; color: #333; }
.ebene__grafik { margin: 1.25rem 0; background: #f7f8f9; border: 1px solid var(--linie); padding: 1rem; }
.ebene__grafik img { display: block; width: 100%; max-width: 514px; height: auto; margin: 0 auto; }
.ebene__grafik figcaption { font-size: .85rem; color: #444; margin-top: .75rem; }
.ebene__grafik figcaption a { color: var(--grau); }
@media (min-width: 900px) {
  .ebene { padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.5rem; align-items: start; }
  .ebene > .eyebrow, .ebene > h3, .ebene > .gross { grid-column: 1; }
  .ebene__grafik { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .ebene__fakten, .ebene > .klein { grid-column: 1 / -1; }
  .ebene__fakten { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- Erklärvideo (austauschbare Komponente) ---------- */
.erklaervideo { margin: 2.5rem 0 0; max-width: 760px; }
.erklaervideo__player { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border: 1px solid var(--linie-dunkel); }
.erklaervideo__text { font-size: .9rem; color: #c9d0d8; margin-top: .6rem; }
.erklaervideo__transkript { margin-top: .75rem; font-size: .92rem; color: #d5dbe2; }
.erklaervideo__transkript summary { cursor: pointer; font-weight: 700; color: #fff; }
.erklaervideo__transkript p { margin: .5rem 0 0; white-space: pre-line; }
.erklaervideo--intern { border: 2px dashed #b5b5b5; padding: 1rem 1.25rem; color: #d5dbe2; background: rgba(255,255,255,.04); }
.erklaervideo--intern p { margin: .5rem 0 0; font-size: .92rem; }
.intern-marke { display: inline-block; background: #ffd400; color: #000; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: .2rem .5rem; }
@media (max-width: 899px) { .erklaervideo--mobilfassung .erklaervideo__player { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; } }

/* ---------- Eigenes Risiko ---------- */
.risiko { display: grid; gap: 1.5rem; }
.risiko__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.risiko__liste li { padding: .75rem 1rem .75rem 1.25rem; border-left: 4px solid var(--rot); background: rgba(255,255,255,.05); font-weight: 700; }
.risiko__hinweis { color: #b9c0c8; margin: 0; }
@media (min-width: 900px) { .risiko { grid-template-columns: 1fr 1fr; align-items: start; } .risiko__hinweis { grid-column: 1 / -1; } }

/* ---------- Keller-Check ---------- */
.abschnitt--check .wrap { display: grid; gap: 2rem; }
.abschnitt--check .wrap { position: relative; }
.check-intro .gross { color: #e3e3e3; }
.check-wichtig { background: rgba(255,255,255,.06); border-left: 4px solid var(--rot); padding: .8rem 1rem; color: #eee; font-size: .95rem; }
.check-leistungen { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; font-size: .95rem; color: #d5d5d5; }
.check-leistungen li { padding: .6rem 0 .6rem 1.2rem; border-top: 1px solid var(--linie-dunkel); position: relative; }
.check-leistungen li::before { content: ""; position: absolute; left: 0; top: 1rem; width: 8px; height: 8px; background: var(--rot); transform: rotate(45deg); }
.check-leistungen strong { color: #fff; }
.check, .abschnitt--check .formular--erfolg { color: var(--text); }
.abschnitt--check .formular--erfolg h3 { color: var(--text); }
.abschnitt--check .formular--erfolg .grau { color: var(--grau); }
.check__fortschritt { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; counter-reset: f; }
.check__fortschritt li { counter-increment: f; font-size: .72rem; font-weight: 700; color: var(--grau); text-align: center; padding-top: .5rem; border-top: 4px solid #ddd; transition: border-color .3s; }
.check__fortschritt li::before { content: counter(f, decimal-leading-zero) " "; }
.check__fortschritt li.ist-aktiv { color: var(--text); border-top-color: var(--rot); }
.check__fortschritt li.ist-fertig { color: var(--text); border-top-color: var(--schwarz); }
.check__schritt { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.check__legende { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; padding: 0; line-height: 1.2; }
.check__legende:focus { outline: none; }
.check__nr { color: var(--rot); margin-right: .35rem; }
.check__nav { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; margin-top: .5rem; }
.check__nav .btn--primaer { flex: 1 1 auto; }
.check-alternativ { color: #d5d5d5; font-size: .95rem; margin: 0; }
.check-alternativ a { color: #fff; font-weight: 700; }
@media (min-width: 900px) { .abschnitt--check .wrap { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; } .check-alternativ { grid-column: 2; } }

/* ---------- Formulare (gemeinsam) ---------- */
.formular-grid { display: grid; gap: 2rem; }
.formular-grid__tel a { font-weight: 700; }
.formular { background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--rot); padding: 1.5rem 1.25rem; }
.formular--erfolg { border-top-color: var(--schwarz); }
.feld { margin-bottom: 1rem; }
.feld label, .feld__label { display: block; font-weight: 700; margin: 0 0 .35rem; font-size: .95rem; }
.feld input:not([type="checkbox"]):not([type="file"]), .feld textarea, .feld select { width: 100%; font: inherit; font-size: 1.05rem; padding: .75rem .85rem; border: 2px solid #cfcfcf; border-radius: var(--radius); background: #fff; color: var(--text); min-height: 50px; }
.feld textarea { resize: vertical; min-height: 96px; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--schwarz); outline: 3px solid rgba(241,8,13,.35); outline-offset: 1px; }
.feld--ungueltig input, .feld--ungueltig textarea { border-color: var(--rot); }
.feld__fehler { color: var(--rot-dunkel); font-size: .9rem; font-weight: 700; margin: .35rem 0 0; }
.feld__hinweis { font-size: .88rem; color: var(--grau); margin: -.4rem 0 1rem; }
.feld-reihe { display: grid; gap: 0 1rem; }
.feld--check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: start; }
.feld--check input { width: 24px; height: 24px; margin: .1rem 0 0; accent-color: var(--rot); }
.feld--check label { font-weight: 400; font-size: .92rem; margin: 0; }
.feld--check .feld__fehler { grid-column: 1 / -1; }
.feld-gruppe { border: 0; padding: 0; margin: 0 0 1.25rem; }
.feld-gruppe legend { font-weight: 700; margin-bottom: .6rem; font-size: .95rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .55rem .8rem; border: 2px solid #cfcfcf; border-radius: 999px; font-size: .92rem; cursor: pointer; line-height: 1.25; transition: border-color .15s, background-color .15s; }
.chips--gross .chip span { padding: .8rem 1rem; font-size: 1rem; border-radius: var(--radius); min-height: 50px; display: inline-flex; align-items: center; }
.chip input:checked + span { border-color: var(--schwarz); background: var(--schwarz); color: #fff; }
.chip--neutral input:checked + span { background: var(--grau); border-color: var(--grau); }
.chip input:focus-visible + span { outline: 3px solid var(--rot); outline-offset: 2px; }
.pflicht { color: var(--rot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__meldung { padding: .85rem 1rem; border-radius: var(--radius); font-weight: 700; margin-bottom: 1rem; }
.formular__meldung--fehler { background: #fde8e8; color: #8a0406; border: 1px solid #f5b5b7; }
.formular__meldung--info { background: var(--hell); color: var(--text); }
.upload-grid { display: grid; gap: .75rem; }
.upload input[type=file] { width: 100%; font: inherit; font-size: .95rem; padding: .6rem; border: 2px dashed #cfcfcf; border-radius: var(--radius); background: var(--hell); }
.upload input[type=file]:focus { outline: 3px solid var(--rot); outline-offset: 2px; }
.upload-liste { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .4rem; font-size: .92rem; }
.upload-liste li { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; padding: .5rem .75rem; background: var(--hell); border-left: 3px solid var(--schwarz); }
.upload-liste__name { font-weight: 700; word-break: break-all; }
@media (min-width: 640px) { .feld-reihe { grid-template-columns: 1fr 1fr; } .feld-reihe--plz { grid-template-columns: 1fr 2fr; } .upload-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .formular-grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; align-items: start; } .formular { padding: 2rem; } }

/* ---------- Wendepunkt ---------- */

/* ---------- Lösungsnavigator ---------- */
.navigator__titel { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grau); margin: 0 0 1.25rem; }
.navigator__grid { display: grid; gap: 1rem; }
.navigator__tabs { display: grid; gap: .5rem; }
.navigator__tab { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .75rem; text-align: left; background: #fff; border: 1px solid var(--linie); border-left: 4px solid transparent; padding: .8rem 1rem; cursor: pointer; font-family: var(--font); color: var(--text); transition: border-color .15s, background-color .15s; }
.navigator__tab:hover { border-left-color: var(--grau); }
.navigator__tab[aria-selected="true"] { border-left-color: var(--rot); background: var(--hell); }
.navigator__nr { grid-row: 1 / span 2; font-weight: 700; color: var(--rot); font-size: 1.2rem; align-self: center; }
.navigator__name { font-weight: 700; font-size: 1.02rem; }
.navigator__kurz { font-size: .85rem; color: var(--grau); }
.navigator__buehne { background: #fff; border: 1px solid var(--linie); }
.navigator__panel { display: grid; gap: 1.25rem; padding: 1.25rem; animation: einblenden .35s ease; }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
.navigator__medien { margin: 0; background: #f7f8f9; border: 1px solid var(--linie); padding: 1rem; }
.navigator__medien img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; display: block; background: #f7f8f9; }
.navigator__abb { font-size: .78rem; color: var(--grau); margin: .6rem 0 0; text-align: right; }
.navigator__abb a { color: var(--grau); }
.navigator__abb a:hover { color: var(--rot); }
.navigator__kennung { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); margin: 0 0 .35rem; }
.navigator__inhalt h4 { font-size: 1.4rem; margin: 0 0 .5rem; }
.navigator__inhalt { max-width: 64ch; }
.navigator__fakten { margin: 0; display: grid; gap: .35rem; }
.navigator__fakten dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rot); margin-top: .6rem; }
.navigator__fakten dd { margin: 0; }
@media (min-width: 900px) {
  .navigator__grid { grid-template-columns: 4fr 8fr; gap: 1.5rem; align-items: start; }
  .navigator__panel { grid-template-columns: 5fr 7fr; gap: 2rem; padding: 2rem 2.25rem; align-items: start; }
}
/* ohne JS: alle Panels sichtbar, Tabs als Überschriftenliste */
html:not(.js) .navigator__panel[hidden] { display: grid !important; border-top: 1px solid var(--linie); }
html:not(.js) .navigator__tabs { display: none; }

.service { background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--grau); padding: 1.5rem; margin-top: 2rem; }
.service h3 { font-size: 1.3rem; margin: .25rem 0 1rem; }
.service__grid { display: grid; gap: 1rem; }
.service__grid strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); margin-bottom: .25rem; }
.service__grid p { margin: 0; color: #333; }
@media (min-width: 900px) { .service { padding: 2rem 2.5rem; } .service__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- KESSEL ---------- */
.kessel { display: grid; gap: 2rem; }
.kessel__kette { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.kessel__kette li { padding-left: 1.2rem; position: relative; }
.kessel__kette li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 8px; height: 8px; background: var(--rot); transform: rotate(45deg); }
.kessel__rolle { font-weight: 700; }
.kessel__badge { text-align: center; display: grid; justify-items: center; gap: .75rem; align-content: start; }
.kessel__badge img { width: 220px; height: 220px; }
@media (min-width: 900px) { .kessel { grid-template-columns: 7fr 5fr; align-items: center; } }

/* ---------- Ablauf entlang der roten Linie ---------- */
.linie { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; display: grid; gap: 1.75rem; }
.linie::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 3px; background: #c9ced4; }
.linie__schritt { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; position: relative; }
.linie__nr { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 3px solid var(--rot); color: var(--rot); font-weight: 700; border-radius: 50%; position: relative; z-index: 1; }
.linie__schritt h3 { font-size: 1.1rem; margin: 0 0 .25rem; }
.linie__schritt p { margin: 0; color: #333; }
@media (min-width: 900px) {
  .linie { grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; }
  .linie::before { display: none; }
  .linie__schritt { grid-template-columns: 1fr; grid-template-rows: 44px auto; row-gap: 1rem; }
  .linie__schritt::before { content: ""; position: absolute; left: 44px; right: -2rem; top: 21px; height: 3px; background: #c9ced4; }
  .linie__schritt:nth-child(3n)::before { right: 0; }
  .linie__schritt:last-child::before { display: none; }
}

/* ---------- Unternehmen / FAQ ---------- */
.ueber { display: grid; gap: 2rem; }
.ueber__bild { margin: 0; border: 1px solid var(--linie); background: #fff; padding: .5rem; }
.ueber__bild img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.jubilaeum { display: inline-block; border: 2px solid var(--schwarz); padding: .5rem .9rem; font-weight: 700; }
@media (min-width: 900px) { .ueber { grid-template-columns: 7fr 5fr; align-items: center; } }
.faq { border-top: 1px solid var(--linie); margin-top: 1.5rem; }
.faq__eintrag { border-bottom: 1px solid var(--linie); }
.faq__eintrag summary { cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--rot); border-bottom: 3px solid var(--rot); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__eintrag[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__eintrag summary:hover { color: var(--rot); }
.faq__antwort { padding: 0 0 1.1rem; max-width: 70ch; }
.faq__antwort p:last-child { margin: 0; }

/* ---------- Karriere ---------- */
.abschnitt--karriere h2 { color: #fff; }
.karriere__uebergang { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 700; color: #cfd6de; margin: 0 0 2rem; padding-left: 1rem; border-left: 4px solid var(--rot); }
.karriere__grid { display: grid; gap: 2rem; }
.karriere__ziel { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.karriere__ziel li { border: 1px solid #444; padding: .45rem .8rem; font-weight: 700; font-size: .9rem; color: #eee; }
.karriere__ziel li:first-child { border-color: var(--rot); color: var(--rot); }
.karriere__bild { margin: 0; border: 1px solid var(--linie-dunkel); background: var(--anthrazit-2); }
.karriere__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.karriere__bild figcaption { font-size: .85rem; color: var(--grau-hell); padding: .6rem .8rem; border-top: 3px solid var(--rot); }
@media (min-width: 900px) { .karriere__grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 3.5rem; } }

/* ---------- Abschluss ---------- */
.final h2 { text-wrap: balance; }
.final__zusatz { font-weight: 700; margin-top: .25rem; }

/* ---------- Footer ---------- */
.fuss { background: var(--schwarz); color: #ddd; padding: 3rem 0 calc(1.5rem + var(--leiste-h)); font-size: .95rem; }
.fuss__grid { display: grid; gap: 2rem; }
.fuss__logo { width: 150px; margin-bottom: .75rem; }
.fuss__claim { color: var(--grau-hell); margin-bottom: .25rem; }
.fuss__jubilaeum { color: #fff; font-weight: 700; }
.fuss__adresse { font-style: normal; line-height: 1.7; }
.fuss__adresse a { color: #fff; text-decoration: none; font-weight: 700; }
.fuss__adresse a:hover { color: var(--rot); }
.fuss__zeiten { color: var(--grau-hell); }
.fuss__social { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; gap: .6rem; }
.fuss__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; color: #fff; border: 1px solid var(--linie-dunkel); border-radius: 6px; }
.fuss__social a:hover, .fuss__social a:focus-visible { color: var(--rot); border-color: var(--rot); }
.fuss__nav ul { list-style: none; padding: 0; margin: 0; }
.fuss__nav a { display: inline-block; padding: .3rem 0; color: #fff; text-decoration: none; }
.fuss__nav a:hover { color: var(--rot); }
.fuss__unten { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie-dunkel); color: var(--grau-hell); font-size: .85rem; }
.fuss__unten a, .fuss__unten .link { color: #fff; text-decoration: none; }
@media (min-width: 900px) { .fuss__grid { grid-template-columns: 1.2fr 1fr 1fr; } .fuss { padding-bottom: 1.5rem; } }

/* ---------- Sticky-Leiste (mobil) ---------- */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--linie); transform: translateY(0); transition: transform .2s; }
.leiste[data-versteckt] { transform: translateY(110%); }
/* Sticky-CTA: Beschriftung ist in jedem Zustand weiß und vollständig sichtbar. Keine Transition/Animation auf Button oder Text –
   nur die gesamte Leiste wird ein-/ausgeblendet (transform). Etwas dunkleres Rot nur hier, damit weißer Text ≥ 4,5:1 Kontrast hat. */
.leiste .btn { transition: none; transform: none; }
.leiste .btn:hover, .leiste .btn:active { transform: none; }
.leiste__cta { display: flex; align-items: center; justify-content: center; text-align: center; min-width: 0; white-space: normal; overflow: visible; font-size: .92rem; line-height: 1.15; padding-inline: .6rem; background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; opacity: 1; visibility: visible; }
.leiste__cta:hover, .leiste__cta:focus-visible, .leiste__cta:active { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; opacity: 1; visibility: visible; }
.leiste__cta:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.leiste__tel { padding-inline: 1rem; }
.leiste__tel span { display: none; }
@media (min-width: 420px) { .leiste__tel span { display: inline; } }
@media (min-width: 900px) { .leiste { display: none; } }

/* ---------- Consent ---------- */
.consent { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 1rem; background: rgba(0,0,0,.35); }
.consent__box { max-width: 720px; margin: 0 auto; background: #fff; border-top: 5px solid var(--rot); padding: 1.25rem; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.consent__titel { font-size: 1.1rem; margin-bottom: .5rem; }
.consent__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }

/* ---------- Rechtliche Seiten / Karriere-Seite (Hero-Variante) ---------- */
.prosa h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.prosa h2 { font-size: 1.25rem; margin-top: 2rem; }
.intern { background: #fff6d6; border: 1px dashed #d9a400; padding: .6rem .8rem; font-size: .9rem; }
.seite--recht main, .seite--karriere main { background: #fff; }
.seite--recht .abschnitt--weiss, .seite--karriere .abschnitt--weiss { background: #fff; }
.abschnitt--hell { background: var(--hell); }
.abschnitt--dunkel { background: var(--anthrazit); color: var(--text-hell); }
.abschnitt--dunkel h2 { color: #fff; }
.abschnitt--final { background: var(--schwarz); color: #fff; text-align: center; }
.abschnitt--final h2 { color: #fff; }
.hero--karriere { min-height: auto; align-items: center; background: var(--schwarz); padding: 3rem 0; }
.hero--karriere .hero__inhalt { max-width: none; text-shadow: none; }
.hero__grid { display: grid; gap: 2rem; position: relative; z-index: 1; }
.hero__text { text-shadow: none; }
.hero__bild { margin: 0; border: 1px solid var(--linie-dunkel); background: var(--anthrazit-2); position: relative; }
.hero__bild img:first-child { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__bild figcaption { font-size: .85rem; color: var(--grau-hell); padding: .6rem .8rem; border-top: 3px solid var(--rot); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 7fr 5fr; align-items: center; gap: 3rem; } }
.karten { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--schwarz); padding: 1.25rem; }
.karte h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.karten--stelle .karte ul { padding-left: 1.1em; } .karten--stelle .karte li { margin-bottom: .4rem; }
@media (min-width: 640px) { .karten--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .karten--3 { grid-template-columns: repeat(3, 1fr); } }
.zwei-spalten { display: grid; gap: 2rem; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-content: start; }
.tags li { border: 1px solid #444; padding: .5rem .8rem; font-weight: 700; font-size: .92rem; color: #eee; }
.tags li:nth-child(1) { border-color: var(--rot); color: var(--rot); }
.seite--karriere .szenen, .seite--recht .szenen { display: none; }

/* ---------- Abschluss: Text links auf weicher heller Fläche, Sonne/Haus/Straße bleiben frei ---------- */
.final { position: relative; z-index: 1; max-width: 560px; padding: 2rem 1.5rem 2rem 0; }
.final__cta { margin: 1.25rem 0 .75rem; }
.final__sekundaer { color: var(--text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: .35rem 0; }
.final__sekundaer:hover { color: var(--rot); }
.final__zusatz { font-size: .98rem; }
.final::before { content: ""; position: absolute; inset: -2rem -2rem -2rem -4rem; background: radial-gradient(ellipse at 35% 50%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 45%, rgba(255,255,255,0) 75%); z-index: -1; pointer-events: none; }
.final h2 { text-wrap: balance; }
.final__zusatz { font-weight: 700; margin-top: .25rem; }
.final__tel { color: #444; }
@media (max-width: 899px) {
  .szene--final { min-height: calc(100svh - 4.25rem); padding-top: 1rem; align-items: flex-end; padding-bottom: 1rem; }
  .final { padding: 1rem 1rem .9rem; width: min(100% - 1.5rem, var(--wrap)); background: rgba(255,255,255,.97); border-top: 4px solid var(--rot); }
  .final h2 { font-size: 1.45rem; margin-bottom: .5rem; }
  .final__zusatz { font-size: .9rem; margin: 0 0 .25rem; }
  .final__cta { margin: .75rem 0 .5rem; gap: .35rem; }
  .final__tel { margin: 0; font-size: .85rem; }
  .final::before { display: none; }
}

/* ---------- Ohne JavaScript: Szenenebene bleibt im Zustand 1, alle Inhalte vollständig sichtbar ---------- */

/* ---------- Reduzierte Bewegung: keine kontinuierlichen Animationen, keine Szenenübergänge, alles statisch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
