/* Startseite, Gestaltungskonzept „Pegel“: eine senkrechte Messachse mit Randmarken, Aussagen als Sätze, Belege als Zeilen.
   Tokens aus app.css. Breiten: Handy bis 640 px, Tablet 641 bis 999 px, Desktop ab 1000 px. Bewegung nur bei no-preference. */
.sp { --tide: #eef1fd; --axis: var(--rule); --gap: 48px; --lab: 168px; color: var(--ink); font-size: 1.0625rem; line-height: 1.65; }
.sp section, .sp header { scroll-margin-top: 72px; }
.sp p { max-width: 62ch; }
.sp a:not(.btn) { text-underline-offset: 4px; }
.sp h1, .sp h2 { font-family: var(--display); }

/* Vollbreite Flächen, Inhalt bleibt in der Spalte der Seite */
.sp-hero, .sp-s, .sp-end { margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); }
.sp-in { max-width: 1084px; margin: 0 auto; }

/* ---------- Kopf ---------- */
.sp-hero { position: relative; padding-top: 88px; padding-bottom: 112px; background: var(--surface); }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
.sp-eyebrow { margin: 0 0 20px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sp-hero h1 { max-width: 11em; text-wrap: balance; font-size: clamp(2.9rem, 6.2vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.sp-q { color: var(--brand); }
.sp-lead { margin: 24px 0 0; max-width: 38ch; font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.sp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; margin: 32px 0 0; }
.sp-go { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; justify-content: center; }
.sp-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--brand); }
.sp-link::after { content: "\2193"; margin-left: 8px; }

/* Lagebalken-Blatt */
.sp-sheet { margin: 0; padding: 24px 28px 20px; background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--shell); }
.sp-sheet-head { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 8px; max-width: none; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sp-rows { margin: 0; padding: 0; list-style: none; }
.sp-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 3.2em; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 0.9375rem; line-height: 1.5; }
.sp-row:first-child { border-top: 0; }
.sp-row-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-bar { display: flex; gap: 2px; height: 14px; }
.sp-bar .seg { flex-basis: 0; min-width: 4px; border-radius: 3px; transform-origin: left center; }
.sp-key { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--rule); font-size: 0.875rem; }
.sp-sheet figcaption { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

/* Wasserlinie unter dem Kopf */
.sp-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .55; }
.sp-wave path { vector-effect: non-scaling-stroke; }

/* ---------- Abschnitte mit Messachse ---------- */
.sp-s { position: relative; padding-top: 104px; padding-bottom: 104px; background: var(--surface); }
.sp-tint { background: var(--tide); }
.sp-grid { position: relative; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); column-gap: var(--gap); }
.sp-grid::before { content: ""; position: absolute; top: -104px; bottom: -104px; left: calc(var(--lab) + var(--gap) / 2); width: 1px; background: var(--axis); }
.sp-grid::after { content: ""; position: absolute; top: -104px; bottom: -104px; left: calc(var(--lab) + var(--gap) / 2 - 4px); width: 9px; background: repeating-linear-gradient(to bottom, var(--axis) 0 1px, transparent 1px 16px); }
.sp .sp-mark { max-width: none; position: sticky; top: 96px; align-self: start; margin: 4px 0 0; padding: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sp-mark b { display: block; margin-bottom: 2px; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.sp-mark::after { content: ""; position: absolute; top: 12px; right: calc(var(--gap) / -2 - 5px); width: 11px; height: 11px; background: var(--brand); transform: rotate(45deg); box-shadow: 0 0 0 4px var(--surface); }
.sp-tint .sp-mark::after { box-shadow: 0 0 0 4px var(--tide); }
.sp-body { position: relative; min-width: 0; }
.sp-s h2, .sp-end h2 { margin: 0; max-width: 24ch; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; }
.sp-sub { margin: 24px 0 0; max-width: 54ch; font-size: 1.2rem; line-height: 1.55; color: var(--muted); }
.sp-note { margin: 32px 0 0; max-width: 58ch; color: var(--muted); }
.sp-more { margin: 28px 0 0; }
.sp-more a, .sp-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.sp-hatch { background: repeating-linear-gradient(135deg, rgba(16, 19, 52, .16) 0 2px, transparent 2px 5px); box-shadow: 0 0 0 3px transparent; padding: 0 .12em; }

/* 01 Lage */
.sp-num-line { margin: 32px 0 0; font-size: 1.25rem; line-height: 1.6; }
.sp-num { color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.sp-def { margin: 48px 0 0; padding: 0; max-width: 760px; border-bottom: 1px solid var(--rule); }
.sp-def > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 24px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--rule); }
.sp-def dt, .sp-def dd { margin: 0; }

/* 02 Bereiche */
.sp-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 48px 0 0; padding: 0; list-style: none; max-width: 860px; }
.sp-index li { display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.sp-ix { min-width: 1.8em; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
.sp-formula { margin-top: 32px; max-width: 62ch; }
.sp-formula summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--brand); }
.sp-formula ol { margin: 8px 0 0; padding-left: 1.4em; }
.sp-formula li { margin-bottom: 8px; }

/* 03 Bericht */
.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.sp-paper { margin: 0; width: 100%; max-width: 280px; background: var(--surface); border: 1px solid var(--rule); box-shadow: 10px 10px 0 var(--tide); }
.sp-paper-cover { padding: 28px 24px 32px; background: var(--shell); color: #fff; }
.sp-paper-cover img { display: block; width: 84px; height: auto; }
.sp-paper-title { margin: 56px 0 0; font-size: 1.375rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.sp-paper-meta { margin: 8px 0 0; font-size: 0.875rem; color: var(--shell-muted); }
.sp-paper-body { margin: 0; padding: 20px 24px 8px; list-style: none; }
.sp-paper-body li { padding: 10px 0 14px; border-top: 1px solid var(--hairline); font-size: 0.9375rem; font-weight: 600; }
.sp-paper-body li:first-child { border-top: 0; }
.sp-line { display: block; height: 6px; margin-top: 10px; background: var(--hairline); border-radius: 3px; }
.sp-paper-body li:nth-child(2) .sp-line { width: 76%; }
.sp-paper-body li:nth-child(3) .sp-line { width: 58%; }
.sp-paper figcaption { margin: 0; padding: 8px 24px 16px; font-size: 0.875rem; color: var(--muted); }

/* Spur: Messlinie mit Marken (Baukasten, Fristen) */
.sp-steps6, .sp-clock { display: grid; margin: 48px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--brand); }
.sp-steps6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sp-clock { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; }
.sp-steps6 li, .sp-clock li { position: relative; padding: 28px 16px 0 0; font-weight: 600; line-height: 1.35; }
.sp-steps6 li::before, .sp-clock li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--brand); transform: rotate(45deg) scale(.7); border: 3px solid var(--tide); box-sizing: content-box; margin: -3px; }
.sp-nis2 .sp-clock li::before { border-color: var(--surface); }
.sp-n { display: block; margin-bottom: 4px; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.sp-clock b { display: block; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sp-clock span { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); }

/* 06 Anwendung */
.sp-video { margin: 40px 0 0; max-width: 880px; }
.sp-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--shell); border: 1px solid var(--rule); }
.sp-video figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }

/* 07 Belege (die eine dunkle Fläche) */
.sp-dark { --axis: rgba(164, 169, 209, .4); background: var(--shell); color: #fff; }
.sp-dark .sp-mark { color: var(--shell-muted); }
.sp-dark .sp-mark b { color: #a9b8ff; }
.sp-dark .sp-mark::after { background: #a9b8ff; box-shadow: 0 0 0 4px var(--shell); }
.sp-dark .sp-sub { color: #d6daf6; }
.sp-dark a { color: #fff; }
.sp-dark :focus-visible { outline-color: #fff; }
.sp-zero { margin: 40px 0 0; max-width: none; line-height: 1; }
.sp-zero strong { font-size: clamp(2.5rem, 7vw, 5.25rem); font-weight: 800; letter-spacing: -0.045em; }
.sp-zero::first-letter { color: #a9b8ff; }
.sp-ledger { margin: 48px 0 0; max-width: 820px; }
.sp-ledger > div { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid rgba(164, 169, 209, .3); }
.sp-ledger > div:last-child { border-bottom: 1px solid rgba(164, 169, 209, .3); }
.sp-ledger dt { font-weight: 700; }
.sp-ledger dd { margin: 0; color: #d6daf6; }
.sp-links { display: flex; flex-wrap: wrap; gap: 0 32px; margin: 28px 0 0; max-width: none; }

/* 08 Grenzen */
.sp-nots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 48px 0 0; padding: 0; list-style: none; max-width: 860px; }
.sp-nots li { padding: 20px 0 24px; border-top: 1px solid var(--rule); }
.sp-nots b { display: block; margin-bottom: 4px; font-size: 1.125rem; }

/* 09 Start: Stufen wie ein Wasserstand */
.sp-way { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: stufe; max-width: 760px; }
.sp-way li { position: relative; display: block; margin: 0 0 20px; padding: 24px 24px 24px 80px; background: var(--surface); border-left: 4px solid var(--brand); counter-increment: stufe; }
.sp-way li:nth-child(2) { margin-left: 56px; }
.sp-way li:nth-child(3) { margin-left: 112px; }
.sp-way li::before { content: counter(stufe); position: absolute; left: 24px; top: 20px; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.sp-way strong { display: block; margin-bottom: 4px; font-size: 1.15rem; }
.sp-way span { display: block; max-width: 56ch; color: var(--muted); }

/* 10 Fragen */
.sp-faq { margin: 40px 0 0; padding: 0; list-style: none; max-width: 760px; border-bottom: 1px solid var(--rule); }
.sp-faq a { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink); font-weight: 600; text-decoration: none; }
.sp-faq a::after { content: "\2192"; flex: none; color: var(--brand); }
.sp-faq a:hover { color: var(--brand); }

/* Schluss */
.sp-end { padding-top: 120px; padding-bottom: 128px; background: var(--tide); }
.sp-end h2 { max-width: 16ch; font-size: clamp(2.25rem, 5.4vw, 4.25rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.sp-end p { margin: 24px 0 0; max-width: 46ch; font-size: 1.2rem; color: var(--muted); }
.sp-end .sp-actions { margin-top: 40px; }

/* Bewegung nur mit Zweck: die Balken füllen sich einmal */
@media (prefers-reduced-motion: no-preference) {
  .sp-bar .seg { animation: grow 700ms var(--ease-out) both; }
  .sp-row:nth-child(2) .seg { animation-delay: 60ms; } .sp-row:nth-child(3) .seg { animation-delay: 120ms; }
  .sp-row:nth-child(4) .seg { animation-delay: 180ms; } .sp-row:nth-child(5) .seg { animation-delay: 240ms; }
  .sp-row:nth-child(6) .seg { animation-delay: 300ms; }
  .sp-faq a::after, .sp-link::after { transition: transform 150ms var(--ease-out); }
  .sp-faq a:hover::after { transform: translateX(4px); }
}

/* ---------- Tablet und Handy: die Achse entfällt, die Marke steht über der Überschrift ---------- */
@media (max-width: 999px) {
  .sp-grid { display: block; }
  .sp-grid::before, .sp-grid::after, .sp-mark::after { display: none; }
  .sp-mark { position: static; display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
  .sp-mark b { display: inline; margin: 0; font-size: 1.25rem; }
  .sp-mark::before { content: ""; order: 3; flex: 1; height: 1px; background: var(--axis); }
  .sp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .sp-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .sp-steps6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .sp-steps6 li { padding-top: 24px; }
}
@media (max-width: 640px) {
  .sp { font-size: 1rem; }
  .sp-hero { padding-top: 48px; padding-bottom: 80px; }
  .sp-eyebrow { margin-bottom: 20px; }
  .sp-lead { margin-top: 24px; }
  .sp-actions { margin-top: 32px; }
  .sp-go { width: 100%; }
  .sp-sheet { padding: 20px 20px 16px; }
  .sp-row { grid-template-columns: minmax(0, 1fr) 3.2em; }
  .sp-bar { grid-column: 1 / -1; grid-row: 2; }
  .sp-s { padding-top: 72px; padding-bottom: 72px; }
  .sp-sub, .sp-num-line { font-size: 1.0625rem; }
  .sp-def > div, .sp-ledger > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sp-index, .sp-nots { grid-template-columns: minmax(0, 1fr); }
  .sp-steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-clock { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--brand); }
  .sp-clock li { padding: 0 0 28px 28px; }
  .sp-clock li::before { top: 4px; left: -9px; }
  .sp-way li, .sp-way li:nth-child(2), .sp-way li:nth-child(3) { margin-left: 0; padding: 20px 20px 20px 64px; }
  .sp-way li::before { left: 18px; top: 18px; }
  .sp-end { padding-top: 80px; padding-bottom: 88px; }
  .sp-links { flex-direction: column; }
  .sp-paper { max-width: 100%; box-shadow: 6px 6px 0 var(--tide); }
}

/* ---------- Runde 2: Wasserlinie zwischen den Flächen, stärkere Hierarchie, eigene Gestalt der Grenzen ---------- */
.sp-tint::before, .sp-dark::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V0 H0 Z' fill='%23ffffff'/%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7' fill='none' stroke='%230e24ea' stroke-opacity='.45' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x center top / 120px 14px; }
.sp-hero { padding-top: 64px; padding-bottom: 96px; }
.sp-lage h2 { max-width: 20ch; font-size: clamp(2rem, 4.8vw, 3.75rem); letter-spacing: -0.04em; line-height: 1.08; }
.sp-zero strong { font-size: clamp(3rem, 8vw, 5.75rem); }
.sp-clock b { font-size: clamp(1.5rem, 3.2vw, 2.5rem); }
.sp-nots { display: block; max-width: 860px; }
.sp-nots li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 32px; align-items: baseline; padding: 24px 0; }
.sp-nots b { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; }
.sp-nots li:last-child { border-bottom: 1px solid var(--rule); }
.sp-bericht .sp-split { grid-template-columns: 280px minmax(0, 1fr); }
.sp-bericht .sp-split > div { order: 2; }
.sp-bericht .sp-paper { order: 1; }
@media (max-width: 999px) {
  .sp-bericht .sp-split { grid-template-columns: minmax(0, 1fr); }
  .sp-bericht .sp-split > div { order: 1; }
  .sp-bericht .sp-paper { order: 2; }
  .sp-nots li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sp-s { padding-top: 64px; padding-bottom: 64px; }
}
.sp-dark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7 V0 H0 Z' fill='%23eef1fd'/%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7' fill='none' stroke='%23a9b8ff' stroke-opacity='.7' stroke-width='1.5'/%3E%3C/svg%3E"); }

/* Runde 3: Bericht-Blatt mit Beispielinhalt und größer, lesbarere Randmarken */
.sp-bericht .sp-split { grid-template-columns: 340px minmax(0, 1fr); }
.sp-paper { max-width: 340px; }
.sp-paper-body li { display: block; }
.sp-paper-body .sp-bar { display: flex; margin-top: 10px; }
.sp-paper-body em { display: block; margin-top: 6px; font-style: normal; font-weight: 400; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.sp .sp-mark { font-size: 0.875rem; color: var(--ink); }
.sp-mark b { font-size: 1.75rem; }
.sp-dark .sp-mark { color: #d6daf6; }
@media (max-width: 999px) { .sp-bericht .sp-split { grid-template-columns: minmax(0, 1fr); } }

/* Runde 3: Randmarke mobil in den Fluss (Spezifität der Marke oben) */
@media (max-width: 999px) { .sp .sp-mark { position: static; } }

/* ---------- Runde 4: Pegelstand über die Seite, Schritte als Messachse, zwei ganzbreite Grafik-Abschnitte, wechselnde Abschnittshöhen ---------- */
.sp-pegel { position: fixed; z-index: 30; top: 76px; bottom: 20px; left: 8px; width: 7px; border-left: 1px solid var(--rule); background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 16px) left top / 7px 100% no-repeat; pointer-events: none; }
.sp-pegel i { display: none; position: absolute; left: -1px; bottom: 0; width: 3px; height: 100%; background: var(--brand); opacity: .6; transform-origin: bottom; transform: scaleY(.04); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .sp-pegel i { display: block; animation: sp-pegel linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes sp-pegel { from { transform: scaleY(.04); } to { transform: scaleY(1); } }

.sp-s { --pad: 104px; padding-top: var(--pad); padding-bottom: var(--pad); }
.sp-bereiche, .sp-fragen { --pad: 88px; }
.sp-grenzen { --pad: 80px; }
.sp-aus { --pad: 136px; }
.sp-grid::before, .sp-grid::after { top: calc(var(--pad) * -1); bottom: calc(var(--pad) * -1); }
.sp-lage .sp-grid::before, .sp-lage .sp-grid::after, .sp-nis2 .sp-grid::before, .sp-nis2 .sp-grid::after { bottom: 0; }
.sp .sp-mark { font-size: 0.9375rem; }
.sp-mark b { font-size: 2rem; }

/* Ganzbreit 1: der große Gesamtbalken */
.sp-gross { margin-top: 88px; }
.sp-bigbar { position: relative; display: flex; gap: 4px; height: 72px; }
.sp-bigbar::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 C20 0 40 0 60 7 S100 14 120 7' fill='none' stroke='%230e24ea' stroke-opacity='.5' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x left top / 120px 14px; }
.sp-bigbar .seg { flex-basis: 0; min-width: 8px; border-radius: 8px; transform-origin: left center; }
.sp-bigcap { margin: 16px 0 56px; max-width: none; font-size: 0.9375rem; color: var(--muted); }
.sp-gross .sp-def { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin: 0; max-width: none; border: 0; }
.sp-gross .sp-def > div { display: block; padding: 20px 0 0; border-top: 4px solid var(--ink); }
.sp-gross .sp-def > div:nth-child(1) { border-top-color: var(--ok); }
.sp-gross .sp-def > div:nth-child(2) { border-top-color: #c98a1b; }
.sp-gross .sp-def > div:nth-child(3) { border-top-color: var(--crit); }
.sp-gross .sp-def > div:nth-child(4) { border-top-color: var(--ne); }
.sp-gross .sp-def dd { margin: 8px 0 0; line-height: 1.6; }

/* Ganzbreit 2: die Fristenuhr */
.sp-wide { margin-top: 72px; }
.sp-wide .sp-clock { max-width: none; margin-top: 0; }
.sp-wide .sp-clock li { padding-top: 40px; }
.sp-wide .sp-clock b { white-space: nowrap; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
.sp-wide .sp-clock span { margin-top: 12px; font-size: 1.125rem; }
.sp-wide .sp-note { margin-top: 48px; }

/* Schritte als Messachse */
.sp-way { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; max-width: none; margin: 56px 0 0; border-top: 2px solid var(--brand); }
.sp-way li, .sp-way li:nth-child(2), .sp-way li:nth-child(3) { margin: 0; padding: 36px 0 0; background: none; border-left: 0; }
.sp-way li::before { content: ""; left: 0; top: -8px; font-size: 0; width: 14px; height: 14px; background: var(--brand); transform: rotate(45deg) scale(.7); border: 3px solid var(--tide); box-sizing: content-box; margin: -3px; }
.sp-way strong { font-size: 1.375rem; letter-spacing: -0.02em; }
.sp-way strong::before { content: counter(stufe) ". "; color: var(--brand); font-variant-numeric: tabular-nums; }

@media (max-width: 999px) {
  .sp-gross .sp-def { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-way { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--brand); gap: 8px 0; margin-left: 0; }
  .sp-way li, .sp-way li:nth-child(2), .sp-way li:nth-child(3) { padding: 0 0 28px 28px; }
  .sp-way li::before { top: 4px; left: -9px; }
}
@media (max-width: 640px) {
  .sp-s, .sp-aus, .sp-bereiche, .sp-fragen, .sp-grenzen { --pad: 64px; }
  .sp-gross { margin-top: 64px; }
  .sp-bigbar { height: 48px; }
  .sp-gross .sp-def { grid-template-columns: minmax(0, 1fr); }
  .sp-pegel { left: 3px; width: 5px; }
  .sp-wide .sp-clock b { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .sp-bigbar .seg { animation: grow 900ms var(--ease-out) both; }
}

/* Runde 4, Feinschliff: Bericht-Überschrift ausgewogen, Block mittig */
.sp-bericht .sp-split { align-items: center; }
.sp-bericht h2 { max-width: 16ch; text-wrap: balance; font-size: clamp(1.75rem, 3.1vw, 2.5rem); }

/* ---------- BB10.1d: Startseiten der Portale SOC und Architect, gleiche Bausteine, nur Erweiterungen für Textzeilen im Blatt und Namen mit Zusatz ---------- */
.sp-rows-text .sp-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) 4.8em; align-items: start; }
.sp-rows-text .sp-row-name { display: block; }
.sp-rows-text .sp-bar { margin-top: 6px; }
.sp-rows-text .sp-bar .seg { flex-grow: 1; }
.sp-rows-text .sp-row-val { font-size: 0.9375rem; }
.sp-rows-text .sp-row-plain { grid-template-columns: minmax(0, 1fr) 4.8em; }
.sp-row-sub { display: block; margin-top: 2px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.sp-portal .sp-def > div { grid-template-columns: 260px minmax(0, 1fr); }
.sp-portal .sp-def dt { font-weight: 700; }
.sp-portal .sp-sub { max-width: 54ch; }
.sp-portal .sp-def dd { max-width: 62ch; }
.sp-ix-name { display: block; }
.sp-ix-name small { display: block; margin-top: 2px; font-size: 0.9375rem; font-weight: 400; line-height: 1.5; color: var(--muted); }
@media (max-width: 999px) { .sp-portal .sp-def > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 640px) {
  .sp-rows-text .sp-row { grid-template-columns: minmax(0, 1fr) 4.8em; }
  .sp-rows-text .sp-bar { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
}

/* ---------- Gestaltung W3a: Zusage im ersten Bildschirm, Fokus, Umbruch, ruhigerer Abstand am Desktop ---------- */
.sp-zusage { margin: 16px 0 0; max-width: 46ch; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.sp-hero :focus-visible, .sp-s :focus-visible, .sp-end :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sp-dark :focus-visible { outline-color: #fff; }
.sp-s h2, .sp-end h2 { text-wrap: balance; overflow-wrap: anywhere; }
.sp-lead, .sp-note, .sp-sub { text-wrap: pretty; }
.sp-hero h1, .sp-lead, .sp-row-name, .sp-faq a { overflow-wrap: anywhere; }
@media (min-width: 1000px) { .sp-s { --pad: 88px; } .sp-bereiche, .sp-fragen { --pad: 76px; } .sp-aus { --pad: 112px; } .sp-grenzen { --pad: 72px; } }
@media (max-width: 640px) { .sp-zusage { max-width: none; } }
