/* Ladar · Richtung B „Magazin“ · Seitenstile (nur /de/ bis zur Übersetzung)
   Werte aus der Referenz (UEBERGABE.md, referenz/*.html), Tokens aus tokens-b.css.
   Flächen eckig, keine Schatten, keine Verläufe. Radius nur an Kopfzeilen-Knöpfen und Phone-Rahmen. */

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > * { flex-shrink: 0; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--green-text); }
:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
.sp-dark a, .sp-dark summary { color: var(--dark-text); }
.sp-dark a:hover { color: var(--green); }
.sp-dark :focus-visible, .sp-rechner :focus-visible { outline-color: var(--green); }
[id] { scroll-margin-top: 84px; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.sp-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--page-pad); }
.sp-skip { position: absolute; left: 12px; top: -100px; z-index: 20; padding: 10px 16px; background: var(--ink); color: #FFFFFF; font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.sp-skip:focus { top: 12px; color: #FFFFFF; }
.sp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo-Bausteine ---------- */
.sp-label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); }
.sp-label--muted { color: var(--text-muted); }
.sp-label--strong { font-weight: 600; }
.sp-dark .sp-label { color: var(--green); }
.sp-hint { font-family: var(--font-mono); font-size: var(--fs-mono-s); line-height: 1.5; color: var(--text-muted); }
.sp-dark .sp-hint, .sp-rechner .sp-hint { color: var(--dark-muted); }
.sp-h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.sp-h1--xl { font-size: var(--fs-title-xl); line-height: 0.92; }
.sp-h1--l { font-size: var(--fs-title-l); line-height: 0.94; }
.sp-h1--app { font-size: var(--fs-title-l); line-height: 0.93; }
.sp-h1--m { font-size: var(--fs-title-m); line-height: 0.94; }
.sp-h1--artikel { font-size: var(--fs-title-article); line-height: 0.94; max-width: 11em; }
.sp-h1--artikel-lang { font-size: var(--fs-title-article-long); line-height: 1; max-width: 16em; letter-spacing: -0.035em; }
.sp-h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.sp-h2--xl { font-size: var(--fs-h2-xl); line-height: 1.02; }
.sp-h2--l { font-size: var(--fs-h2-l); line-height: 1.02; }
.sp-h2--theme { font-size: var(--fs-h2-theme); line-height: 1.04; }
.sp-h2--artikel { font-size: var(--fs-h2-article); line-height: 1.1; letter-spacing: -0.025em; }
.sp-lead { font-size: var(--fs-lead); line-height: 1.4; font-weight: 500; max-width: 32em; }
.sp-text { font-size: var(--fs-body); line-height: 1.6; max-width: var(--text-max); }
.sp-link { display: inline-flex; align-items: center; min-height: var(--touch-min); font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }
.sp-link--s { font-size: 15px; }

/* ---------- Store-Badges (6.23) ---------- */
.sp-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sp-badges a { display: inline-flex; }
.sp-badges img { display: block; width: auto; height: 54px; }
.sp-badges--50 img { height: 50px; }
.sp-badges--52 img { height: 52px; }

/* ---------- Phone-Rahmen (6.22) ---------- */
.sp-phone { --pw: 250px; width: var(--pw); max-width: 100%; flex-shrink: 0; padding: 7px; border-radius: calc(var(--pw) * 0.135); background: #000000; border: 1px solid var(--phone-line); }
.sp-phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--pw) * 0.135 - 7px); }
.sp-phone picture { display: block; }
.sp-phone--196 { --pw: 196px; }
.sp-phone--240 { --pw: 240px; }
.sp-phone--300 { --pw: 300px; }

/* ---------- Kopfzeile (6.1) ---------- */
.sp-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: var(--bg); }
.sp-header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: 12px; }
.sp-logo { display: flex; gap: 10px; align-items: center; min-height: var(--touch-min); text-decoration: none; color: var(--ink); }
.sp-logo img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.sp-logo span { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; }
.sp-header__tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sp-header__lang { display: none; }
@media (min-width: 720px) { .sp-header__lang { display: block; } }
@media (max-width: 719px) { .sp-header__lang { display: none; } }
.sp-nav { display: flex; gap: 28px; align-items: center; }
.sp-nav a { display: inline-flex; align-items: center; min-height: var(--touch-min); font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.sp-nav a:hover, .sp-nav a[aria-current="page"], .sp-menu__panel a[aria-current="page"] { color: var(--green-text); }
.sp-pill { display: inline-flex; align-items: center; min-height: var(--touch-min); padding: 0 18px; border-radius: var(--radius-pill); font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sp-pill--app { background: var(--ink); color: #FFFFFF; }
.sp-pill--app:hover { color: var(--green); }
.sp-menu > summary { padding: 0 16px; border: 1px solid var(--ink); }
.sp-menu__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; padding: 0 20px 12px; background: var(--bg); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.sp-menu__panel > a { display: flex; align-items: center; min-height: 52px; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }
.sp-menu__lang { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; min-height: 52px; border-top: 1px solid var(--line); }
@media (max-width: 719px) { .sp-nav { display: none; } }
@media (min-width: 720px) { .sp-menu { display: none; } }

/* Sprachwahl (B5): Menü am Handy, Footer auf allen Breiten */
.sp-lang { display: flex; flex-wrap: wrap; gap: 0 4px; align-items: center; }
.sp-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--touch-min); min-height: var(--touch-min); font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; }
.sp-lang a[aria-current="true"] { color: var(--green-text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Titelblock (6.2) ---------- */
.sp-title { padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 5vw, 64px); }
.sp-title__stack { display: flex; flex-direction: column; gap: 22px; }
.sp-title--seite { padding: 64px 0 56px; }
.sp-title--funktion { padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 56px); }
.sp-title__split { display: flex; gap: 32px 64px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.sp-title--funktion .sp-title__split { gap: 28px 64px; }
.sp-title__main { display: flex; flex-direction: column; gap: 20px; flex: 2 1 560px; min-width: 0; }
.sp-title__side { display: flex; flex-direction: column; gap: 18px; flex: 1 1 320px; max-width: 420px; }
.sp-title--funktion .sp-title__side { max-width: 440px; }
.sp-title__intro { font-size: 20px; line-height: 1.45; }
.sp-title--funktion .sp-title__intro { font-size: clamp(18px, 0.6vw + 15px, 20px); }
.sp-labellink { display: inline-flex; align-items: center; min-height: var(--touch-min); align-self: flex-start; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); }

/* ---------- Startseite: Kopf, Stellschrauben (2. Abschnitt Referenz) ---------- */
.sp-hero { padding: 48px 0 72px; }
.sp-hero__stack { display: flex; flex-direction: column; gap: 40px; }
.sp-hero__head { display: flex; flex-direction: column; gap: 18px; }
.sp-hero__row { display: flex; gap: 40px 56px; flex-wrap: wrap; align-items: flex-start; }
.sp-hero__text { display: flex; flex-direction: column; gap: 24px; flex: 1 1 340px; min-width: 0; }
.sp-hero__antwort { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 500; }
.sp-hero__store { display: flex; flex-direction: column; gap: 10px; }
.sp-schrauben { border-bottom: 1px solid var(--line); list-style: none; padding: 0; }
.sp-schrauben li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.sp-schrauben__nr { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green-text); padding-top: 3px; }
.sp-schrauben__text { display: flex; flex-direction: column; gap: 2px; }
.sp-schrauben h2 { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.sp-schrauben p { font-size: 15px; line-height: 1.5; color: var(--text-muted); }

/* ---------- Preis-Instrument (6.3) ---------- */
.sp-instrument { flex: 1.25 1 440px; min-width: 0; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-top: var(--rule-top-panel) solid var(--ink); display: flex; flex-direction: column; gap: 18px; }
.sp-instrument__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sp-instrument__group { display: flex; flex-direction: column; gap: 8px; }
.sp-klassen { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-klasse { min-height: var(--touch-min); padding: 0 14px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: 13px; font-weight: 500; cursor: pointer; border-radius: 0; }
.sp-klasse[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; font-weight: 600; }
.sp-regler { display: flex; flex-direction: column; gap: 2px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.sp-regler input { width: 100%; min-height: var(--touch-min); margin: 0; accent-color: #0B7A43; }
.sp-readout { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding-top: 6px; }
.sp-readout output { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-readout); line-height: 0.9; letter-spacing: -0.05em; word-spacing: -0.25em; color: var(--ink); }
.sp-readout p { font-family: var(--font-mono); font-size: 15px; line-height: 1.4; color: var(--ink); }
.sp-readout p span.sp-muted { color: var(--text-muted); }

/* Balkendiagramm: Instrument und Tagesverlauf */
.sp-bars { display: flex; align-items: flex-end; gap: 3px; height: 150px; border-bottom: 2px solid var(--ink); }
.sp-bars > span { display: block; flex: 1 1 0; min-width: 0; background: var(--bar-muted); }
.sp-bars > span.is-guenstig { background: var(--green-text); }
.sp-bars > span.is-aktiv { background: var(--ink); }
.sp-bars--verlauf { height: 170px; border-bottom: 1px solid var(--text-muted); }
.sp-bars--verlauf > span { border-radius: 3px 3px 0 0; }
.sp-bars--200 { height: 200px; }
.sp-bars .h33 { height: 33%; } .sp-bars .h50 { height: 50%; } .sp-bars .h67 { height: 67%; }
.sp-bars .h78 { height: 78%; } .sp-bars .h89 { height: 89%; } .sp-bars .h100 { height: 100%; }
.sp-bars--live { touch-action: pan-y; cursor: pointer; user-select: none; -webkit-user-select: none; }
.sp-bars--live > span { position: relative; pointer-events: none; transition: height 0.2s ease; }
@media (prefers-reduced-motion: reduce) {
  .sp-bars--live > span { transition: none; }
}
.sp-bars--live:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
.sp-dark .sp-bars--live:focus-visible { outline-color: var(--green); }

.sp-achse { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.sp-achse--abstand { padding-top: 6px; }

/* ---------- Dunkles App-Band (6.4) ---------- */
.sp-band { background: var(--dark-bg); color: var(--dark-text); }
.sp-band__inner { display: flex; gap: 56px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 56px 0 0; }
.sp-band__text { display: flex; flex-direction: column; gap: 20px; flex: 1 1 380px; padding-bottom: 56px; }
.sp-band__text > p:not(.sp-label) { font-size: 18px; line-height: 1.5; color: var(--dark-muted); max-width: 30em; }
.sp-band__phones { display: flex; gap: 20px; align-items: flex-end; height: 470px; overflow: hidden; max-width: 100%; }
.sp-band__phones .sp-phone { align-self: flex-start; }
.sp-band__phones .sp-phone + .sp-phone { margin-top: 70px; }

/* ---------- Verzeichnis Startseite (sp-index) ---------- */
.sp-section-96 { padding: 96px 0; }
.sp-index__stack { display: flex; flex-direction: column; gap: 36px; }
.sp-index__head { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.sp-index { border-top: var(--rule-strong) solid var(--ink); border-bottom: var(--rule-strong) solid var(--ink); list-style: none; padding: 0; }
.sp-index a { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; min-height: 92px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sp-index__nr { font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--green-text); width: 36px; }
.sp-index__titel { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-row-index); line-height: 1.15; letter-spacing: -0.015em; flex: 1 1 380px; }
.sp-index__thema { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); width: 170px; }
.sp-index__zeit { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); width: 56px; }
.sp-pfeil { font-family: var(--font-mono); font-size: 22px; color: var(--green-text); }
.sp-index a:hover .sp-index__titel, .sp-zeile:hover .sp-zeile__titel { color: var(--green-text); }

/* ---------- Aus dem Ratgeber (Startseite) ---------- */
.sp-aus { padding: 0 0 104px; }
.sp-aus__row { display: flex; gap: 48px 64px; flex-wrap: wrap; align-items: flex-start; }
.sp-aus__text { display: flex; flex-direction: column; gap: 18px; flex: 1 1 320px; }
.sp-aus .sp-grafik { flex: 1.4 1 440px; min-width: 0; padding: 36px; gap: 18px; }

/* ---------- Grafikrahmen (6.9) ---------- */
.sp-grafik { padding: clamp(18px, 4vw, 32px); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sp-grafik figcaption { display: block; }
.sp-schrauben3 { display: flex; gap: 12px; }
.sp-schrauben3 > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--green-text); }
.sp-schrauben3 span { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--green-text); padding-top: 8px; }
.sp-schrauben3 strong { font-family: var(--font-display); font-size: clamp(16px, 2vw, 20px); }
.sp-klassenbalken { display: flex; flex-direction: column; gap: 6px; }
.sp-klassenbalken__zeile { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.sp-klassenbalken__preis { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.sp-klassenbalken__balken { height: 14px; background: var(--bar-muted); }
.sp-klassenbalken__balken.is-guenstig { background: var(--green-text); }
.sp-klassenbalken .w72 { width: 72%; } .sp-klassenbalken .w84 { width: 84%; } .sp-klassenbalken .w100 { width: 100%; }
.sp-beispiel p.sp-text { max-width: none; }
.sp-tabelle-rahmen { overflow-x: auto; }
.sp-tabelle { width: 100%; border-collapse: collapse; font-size: 16px; }
.sp-tabelle caption { caption-side: bottom; text-align: left; padding-top: 12px; font-family: var(--font-mono); font-size: var(--fs-mono-s); line-height: 1.5; color: var(--text-muted); }
.sp-tabelle th { text-align: left; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding: 0 12px 8px 0; border-bottom: 2px solid var(--ink); }
.sp-tabelle td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); }
.sp-tabelle td + td { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.sp-tabelle td.ist-guenstig { color: var(--green-text); }

/* ---------- Download-Block (6.20) ---------- */
.sp-download { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 88px 0; background: var(--green); color: var(--ink); }
.sp-download__row { display: flex; gap: 40px 64px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.sp-download__left { display: flex; flex-direction: column; gap: 12px; flex: 1 1 420px; }
.sp-download__zero { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-zero); line-height: 0.86; letter-spacing: -0.05em; word-spacing: -0.3em; color: var(--ink); }
.sp-download__right { display: flex; flex-direction: column; gap: 18px; flex: 0 1 400px; }
.sp-download__right > p:first-child { font-size: 18px; line-height: 1.5; }
.sp-download .sp-hint { color: var(--ink); }
.sp-download a:hover { color: var(--ink); }
.sp-download :focus-visible { outline-color: var(--ink); }

/* ---------- Footer (6.21) ---------- */
.sp-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--bg); }
.sp-footer__row { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.sp-footer__text { display: flex; flex-direction: column; gap: 10px; flex: 1 1 420px; }
.sp-footer__text p { font-size: 14px; line-height: 1.5; color: var(--text-muted); max-width: 62ch; }
.sp-footer__side { display: flex; flex-direction: column; gap: 8px; }
.sp-footer nav.sp-footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.sp-footer__links a { display: inline-flex; align-items: center; min-height: var(--touch-min); font-size: 14px; color: var(--ink); }
.sp-footer__lang { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; }
.sp-footer__lang .sp-label, .sp-menu__lang .sp-label { color: var(--text-muted); }

/* ---------- Themenblock und Artikelzeilen (6.5) ---------- */
.sp-themen { padding: 0 0 clamp(24px, 4vw, 48px); }
.sp-themen__list { display: flex; flex-direction: column; }
.sp-thema { display: flex; gap: 20px 56px; flex-wrap: wrap; align-items: flex-start; padding: 26px 0 clamp(36px, 5vw, 64px); border-top: var(--rule-strong) solid var(--ink); }
.sp-thema__kopf { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.sp-thema__nr { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--green-text); }
.sp-thema__frage { font-size: 17px; color: var(--text-muted); }
.sp-zeilen { flex: 2.2 1 460px; min-width: 0; border-bottom: 1px solid var(--line); list-style: none; padding: 0; }
.sp-zeile { display: flex; align-items: center; gap: 12px 24px; min-height: 68px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sp-zeile__titel { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-row); line-height: 1.2; letter-spacing: -0.01em; flex: 1 1 auto; }
.sp-zeile__zeit { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.sp-zeile .sp-pfeil { font-size: 20px; }

/* Glossar (7.2) */
.sp-az { display: flex; flex-wrap: wrap; gap: 0 4px; padding-bottom: clamp(24px, 4vw, 40px); }
.sp-az a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--touch-min); min-height: var(--touch-min); font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.sp-eintraege { flex: 2.2 1 460px; min-width: 0; border-bottom: 1px solid var(--line); }
.sp-eintrag { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.sp-eintrag dt { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-row); line-height: 1.2; letter-spacing: -0.01em; }
.sp-eintrag dd { margin: 0; }
.sp-quellen--breit { padding: 0 0 clamp(48px, 7vw, 96px); }

/* ---------- Fragen (6.11) ---------- */
.sp-frage { border-top: 1px solid var(--line); }
.sp-frage > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 8px 0; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-row); line-height: 1.2; letter-spacing: -0.01em; }
.sp-plus { color: var(--green-text); font-family: var(--font-mono); font-size: 24px; font-weight: 400; line-height: 1; }
.sp-plus::before { content: "+"; }
details[open] > summary .sp-plus::before { content: "–"; }
.sp-frage__antwort { display: flex; flex-direction: column; gap: 4px; padding: 0 0 20px; }
.sp-frage__antwort .sp-text + .sp-text { margin-top: 12px; }

/* ---------- Artikel ---------- */
.sp-artikelkopf { padding: clamp(36px, 6vw, 72px) 0 clamp(32px, 5vw, 64px); }
.sp-artikelkopf__stack { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.sp-artikelkopf__antwort { font-size: var(--fs-lead-article); line-height: 1.35; font-weight: 500; max-width: 27em; text-wrap: pretty; }
.sp-artikel { flex: 1 0 auto; padding: 0 0 clamp(56px, 8vw, 104px); }
.sp-artikel__stack { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.sp-spalte { width: 100%; max-width: var(--article-col); margin: 0 auto; }
.sp-fn { font-family: var(--font-mono); font-size: 0.7em; line-height: 0; }
.sp-fn a { color: var(--green-text); text-decoration: none; padding: 0 3px; }
.sp-fn a:hover { text-decoration: underline; }

.sp-kurz { display: flex; flex-direction: column; border-top: var(--rule-strong) solid var(--ink); border-bottom: 1px solid var(--ink); }
.sp-kurz__titel { padding: 14px 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sp-kurz ol { list-style: none; padding: 0; }
.sp-kurz li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.sp-kurz__nr { font-family: var(--font-mono); font-weight: 600; font-size: 15px; color: var(--green-text); padding-top: 2px; }
.sp-kurz__text { font-size: clamp(16px, 0.5vw + 14.5px, 18px); line-height: 1.45; }

.sp-abschnitt { display: flex; flex-direction: column; gap: 20px; }
.sp-abschnitt__nr { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-number-section); line-height: 1; letter-spacing: -0.04em; color: var(--green-text); }
.sp-abschnitt ol, .sp-abschnitt ul, .sp-frage__antwort ol, .sp-frage__antwort ul { font-size: var(--fs-body); line-height: 1.6; max-width: var(--text-max); padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.sp-abschnitt ol li::marker, .sp-frage__antwort ol li::marker { font-family: var(--font-mono); font-weight: 600; color: var(--green-text); }
.sp-abschnitt ul li::marker, .sp-frage__antwort ul li::marker { color: var(--green-text); }
.sp-weiterlink { font-size: var(--fs-body); line-height: 1.6; }

.sp-rechner { padding: clamp(20px, 5vw, 32px); background: var(--ink); color: var(--dark-text); display: flex; flex-direction: column; gap: 18px; }
.sp-rechner__felder { display: flex; gap: 16px; flex-wrap: wrap; }
.sp-rechner label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 160px; font-size: 14px; color: var(--dark-muted); }
.sp-rechner input[type='text'], .sp-rechner input[type='number'] { min-height: 52px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font-family: var(--font-mono); font-size: 20px; width: 100%; }
.sp-rechner__ergebnis { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sp-rechner__ergebnis > span { font-size: 15px; color: var(--dark-muted); }
.sp-rechner output, .sp-rechner__wert { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-readout-calc); line-height: 1; letter-spacing: -0.04em; white-space: nowrap; color: var(--green); }
.sp-rechner__zweit { font-family: var(--font-mono); font-weight: 600; font-size: 24px; white-space: nowrap; color: var(--dark-text); }

.sp-weitere { display: flex; flex-direction: column; border-top: var(--rule-strong) solid var(--ink); border-bottom: 1px solid var(--ink); }
.sp-weitere__titel { padding: 14px 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sp-weitere .sp-frage > summary { min-height: 64px; font-family: var(--font-sans); font-size: 19px; font-weight: 500; letter-spacing: 0; line-height: 1.3; padding: 0; }

.sp-appkarte { width: 100%; max-width: var(--article-wide); margin: 0 auto; display: flex; gap: 40px; flex-wrap: wrap; align-items: center; padding: clamp(28px, 5vw, 44px) clamp(22px, 5vw, 48px) 0; background: var(--dark-bg); color: var(--dark-text); overflow: hidden; }
.sp-appkarte__text { display: flex; flex-direction: column; gap: 18px; flex: 1 1 320px; padding-bottom: 44px; }
.sp-appkarte__titel { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.06; letter-spacing: -0.025em; }
.sp-appkarte__text > p:not(.sp-label):not(.sp-hint) { font-size: 17px; line-height: 1.5; color: var(--dark-muted); }
.sp-appkarte__bild { height: clamp(260px, 30vw, 400px); overflow: hidden; align-self: flex-end; }

.sp-quellen { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); }
.sp-quellen h2 { padding-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.sp-quellen ol { padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.sp-quellen li:target { color: var(--green-text); }
.sp-quellen__datum { color: var(--text-muted); }

/* ---------- App-Seite ---------- */
.sp-galerie { background: var(--dark-bg); padding: 64px 0; color: var(--dark-text); }
.sp-galerie__frame { position: relative; --galerie-phone-h: calc(14px + (196px - 14px) * 1434 / 660); }
.sp-galerie__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  /* Space under the captions for a classic/Safari scrollbar. With 6 views the
     row is wider than the 1056px container, so the strip always scrolls.
     Without this padding the bar sits on the labels. */
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--dark-muted) transparent;
  scrollbar-width: thin;
}
.sp-galerie__scroll::-webkit-scrollbar { height: 8px; }
.sp-galerie__scroll::-webkit-scrollbar-track { background: transparent; }
.sp-galerie__scroll::-webkit-scrollbar-thumb { background: var(--dark-muted); border-radius: 4px; }
.sp-galerie__reihe { display: flex; gap: 20px; justify-content: flex-start; min-width: max-content; list-style: none; padding: 0; margin: 0; }
.sp-galerie__reihe li { width: 196px; flex-shrink: 0; scroll-snap-align: start; }
.sp-galerie__reihe a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.sp-galerie__cap { display: flex; flex-direction: column; gap: 2px; }
.sp-galerie__nr { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--green); }
.sp-galerie__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.2; min-height: 2.4em; color: var(--dark-text); }
.sp-galerie__reihe a:hover .sp-galerie__name { color: var(--green); }
.sp-ansichten__stack { display: flex; flex-direction: column; gap: 32px; }
.sp-ansichten { border-top: var(--rule-strong) solid var(--ink); border-bottom: var(--rule-strong) solid var(--ink); }
.sp-ansicht { display: flex; gap: 16px 48px; flex-wrap: wrap; align-items: flex-start; padding: 36px 0; border-top: 1px solid var(--line); }
.sp-ansicht:first-child { border-top: 0; }
.sp-ansicht__nr { width: 64px; font-family: var(--font-mono); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--green-text); }
.sp-ansicht__name { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.sp-ansicht__name h3 { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.08; letter-spacing: -0.025em; }
.sp-ansicht__name p { font-size: 18px; color: var(--text-muted); }
.sp-ansicht__text { flex: 1.3 1 380px; display: flex; flex-direction: column; gap: 6px; }
.sp-ansicht__text .sp-text { font-size: 17px; }
.sp-blick { padding: 0 0 104px; }
.sp-blick__row { display: flex; gap: 32px 64px; flex-wrap: wrap; align-items: flex-start; }
.sp-blick__titel { flex: 1 1 280px; }
.sp-blick dl { flex: 2 1 520px; display: flex; flex-direction: column; border-top: var(--rule-strong) solid var(--ink); }
.sp-blick dl > div { display: flex; gap: 8px 32px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sp-blick dt { width: 150px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); padding-top: 4px; }
.sp-blick dd { flex: 1 1 280px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }

/* ---------- Funktionsseite ---------- */
.sp-schritte__inner { display: flex; gap: 40px 72px; flex-wrap: wrap; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 72px) 0; }
.sp-schritte__text { display: flex; flex-direction: column; gap: 20px; flex: 1 1 380px; min-width: 0; }
.sp-schritte__titel { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 2.4vw + 14px, 44px); line-height: 1.04; letter-spacing: -0.03em; }
.sp-schritte ol { list-style: none; padding: 0; border-bottom: 1px solid var(--dark-line); }
.sp-schritte li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--dark-line); }
.sp-schritte__nr { font-family: var(--font-mono); font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.04em; color: var(--green); min-width: 1.3em; }
.sp-schritte__schritt { font-size: clamp(18px, 0.8vw + 15px, 22px); line-height: 1.35; color: var(--dark-text); }
.sp-kennwert { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.sp-kennwert__wert { font-family: var(--font-mono); font-weight: 600; font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.04em; color: var(--green); white-space: nowrap; }
.sp-kennwert__text { font-family: var(--font-mono); font-size: 14px; color: var(--dark-muted); }
.sp-zwei { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.sp-zwei__row { display: flex; gap: 40px 64px; flex-wrap: wrap; align-items: flex-start; }
.sp-zwei__block { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; border-top: var(--rule-strong) solid var(--ink); padding-top: 14px; }
.sp-strichliste { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.sp-strichliste li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.sp-strichliste li::before { content: "—"; color: var(--green-text); font-family: var(--font-mono); }
.sp-passend { padding: 0 0 clamp(40px, 6vw, 72px); }
.sp-passend .sp-thema { padding-bottom: 0; }
.sp-weiter { padding: 0 0 clamp(48px, 7vw, 96px); }
.sp-weiter nav { display: flex; gap: 12px; flex-wrap: wrap; }
.sp-weiter a { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; justify-content: center; min-height: 84px; padding: 16px 22px; border: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.sp-weiter a.sp-weiter--vor { text-align: right; }
.sp-weiter__label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.sp-weiter__ziel { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.sp-weiter a:hover .sp-weiter__ziel { color: var(--green-text); }

/* ---------- Support, Impressum, Datenschutz (7.2) ---------- */
.sp-textseite { flex: 1 0 auto; padding: 0 0 clamp(56px, 8vw, 104px); }
.sp-textspalte { max-width: var(--article-col); display: flex; flex-direction: column; gap: 20px; }
.sp-textspalte .sp-h2--artikel { margin-top: 20px; }
.sp-legal { border-top: var(--rule-strong) solid var(--ink); }
.sp-legal > div { display: flex; gap: 4px 32px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sp-legal dt { width: 220px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); padding-top: 4px; }
.sp-legal dd { flex: 1 1 280px; font-size: var(--fs-body); line-height: 1.5; }
.sp-knopf { display: inline-flex; align-items: center; align-self: flex-start; min-height: var(--touch-min); padding: 0 20px; border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
button.sp-knopf { background: var(--paper); cursor: pointer; border-radius: 0; appearance: none; -webkit-appearance: none; }
.sp-knopf[hidden] { display: none; }

/* ---------- Ergänzungen (nicht in der Referenz gezeichnet) ---------- */
/* Links im Fließtext: normale Inline-Links (Abnahme: Links mitten im Text ausgenommen) */
.sp-text a, .sp-abschnitt li a, .sp-frage__antwort li a, .sp-kurz__text a, .sp-appkarte__text > p a, .sp-textspalte dd a { display: inline; min-height: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sp-quellen__titel { padding-top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1.3; }
.sp-quellen a { color: var(--ink); }
.sp-quellen__datum::before { content: " · "; }
.sp-spalte--links { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sp-liste-text { font-size: var(--fs-body); line-height: 1.6; padding-left: 1.4em; display: flex; flex-direction: column; gap: 6px; }
.sp-galerie__scroll:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sp-galerie .sp-hint[data-feature-example] { max-width: 62ch; margin-top: 12px; }
.sp-galerie__edge {
  position: absolute;
  top: 0;
  width: 56px;
  height: var(--galerie-phone-h);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sp-galerie__edge--start { left: 0; background: linear-gradient(to right, var(--dark-bg) 0%, rgba(10, 11, 13, 0) 100%); }
.sp-galerie__edge--end { right: 0; background: linear-gradient(to left, var(--dark-bg) 0%, rgba(10, 11, 13, 0) 100%); }
/* Default (and no-JS) is the start of the strip: fade on the side with more content. */
.sp-galerie__frame:not(.is-end) .sp-galerie__edge--end { opacity: 1; }
.sp-galerie__frame:not(.is-start) .sp-galerie__edge--start { opacity: 1; }
.sp-galerie__btn {
  position: absolute;
  top: calc(var(--galerie-phone-h) / 2);
  transform: translateY(-50%);
  z-index: 2;
  box-sizing: border-box;
  width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  background: rgba(10, 11, 13, 0.88);
  color: var(--green);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}
.sp-galerie__btn--prev { left: 0; }
.sp-galerie__btn--next { right: 0; }
.sp-galerie__btn svg { display: block; }
.sp-galerie__frame.is-enhanced.is-overflow .sp-galerie__btn { opacity: 1; visibility: visible; pointer-events: auto; }
.sp-galerie__frame.is-enhanced.is-overflow .sp-galerie__btn:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.sp-galerie__btn:hover:not(:disabled) { background: var(--green); color: var(--dark-bg); }
.sp-galerie__btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sp-galerie__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-galerie__dot {
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--dark-muted);
  opacity: 0.55;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.sp-galerie__dot[aria-current="true"] { background: var(--green); opacity: 1; }
.sp-galerie__dot:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (pointer: coarse), (max-width: 720px) {
  /* Reserve the dots row on small/touch viewports so JS does not shift the layout. */
  .sp-galerie__dots { min-height: 12px; margin-top: 2px; }
  .sp-galerie__dot { width: 10px; height: 10px; }
}
@media (pointer: fine) and (min-width: 721px) {
  .sp-galerie__dots { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-galerie__edge, .sp-galerie__btn { transition: none; }
  .sp-galerie__scroll { scroll-snap-type: x proximity; }
}

.sp-menu { position: static; }
.sp-header { position: sticky; }
.sp-header .sp-container { position: relative; }
.sp-eintrag .sp-link { align-self: flex-start; }
.sp-frage__antwort > .sp-link { align-self: flex-start; }
.sp-artikelkopf .sp-hint { max-width: 40em; }
.sp-beispiel .sp-text { font-size: var(--fs-body); }
.sp-text sup.sp-fn a, .sp-artikelkopf__antwort sup.sp-fn a { text-decoration: none; color: var(--green-text); }
/* Die Referenz rechnet Mindesthöhen ohne Innenabstand (content-box). So stimmen die Zeilenhöhen mit den Screens überein. */
.sp-index a, .sp-zeile, .sp-frage > summary, .sp-weiter a { box-sizing: content-box; }

/* Nacharbeit 15.11.2026 */
/* 1: "Als Nächstes lesen", built like "Weitere Fragen" */
.sp-naechstes { display: flex; flex-direction: column; border-top: var(--rule-strong) solid var(--ink); border-bottom: 1px solid var(--ink); }
.sp-naechstes__titel { padding: 14px 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.sp-naechstes__liste { list-style: none; margin: 0; padding: 0; }
/* 3: on a dark surface green text is always --green (labels, links, hover, states) */
.sp-dark, .sp-rechner { --green-text: var(--green); }
.sp-dark .sp-label, .sp-rechner .sp-label { color: var(--green); }

/* Länder-Preisseiten */
.sp-crumbs { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; margin: 0 0 16px; font-family: var(--font-mono); font-size: var(--fs-mono-s); line-height: 1.5; color: var(--text-muted); }
.sp-crumbs a { color: var(--text-muted); text-decoration: none; }
.sp-crumbs a:hover { color: var(--green-text); }
.sp-crumbs__sep { color: var(--text-muted); }
.sp-crumbs__here { color: var(--ink); }
.sp-preise-zahlen { margin: 0; }
.sp-antwort { display: flex; flex-direction: column; gap: 12px; }
.sp-textspalte .sp-antwort .sp-h2--artikel { margin-top: 0; }
.sp-textspalte + .sp-preise-liste { margin-top: var(--space-6); }
.sp-preise-liste .sp-zeile { flex-wrap: wrap; }
.sp-preise-liste .sp-index__nr { flex: 0 0 auto; }
.sp-preise-liste .sp-zeile__zeit { white-space: normal; text-align: right; }
.sp-preise-tabelle td:last-child { white-space: normal; }
@media (max-width: 719px) {
  .sp-preise-liste .sp-zeile__zeit { flex: 1 1 100%; text-align: left; padding-left: 36px; }
}

/* Preisklassen-Tabelle und Tagesverlauf auf den Länderseiten */
.sp-preise-klassen-tabelle th[scope="row"] {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  vertical-align: top;
  padding-right: 16px;
}
.sp-preise-klassen-tabelle td { white-space: normal; vertical-align: top; }
.sp-preise-zeit { display: flex; flex-direction: column; gap: 2px; }
.sp-preise-fenster { white-space: nowrap; }
.sp-preise-zeit .ist-guenstig { color: var(--green-text); }
.sp-preise-klassen-caption {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-s);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 12px 0 0;
  max-width: 62ch;
}
.sp-preise-grafik { margin: 24px 0 8px; }
.sp-preise-grafik svg { width: 100%; height: auto; display: block; }
.sp-preise-grafik figcaption {
  font-family: var(--font-mono);
  font-size: var(--fs-mono-s);
  line-height: 1.5;
  color: var(--text-muted);
}
.sp-preise-karten { display: none; }
.sp-preise-karte { border-top: 1px solid var(--line); padding: 16px 0 4px; }
.sp-preise-karte:first-child { border-top: var(--rule-strong) solid var(--ink); }
.sp-preise-karte__titel {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}
.sp-preise-karte dl { margin: 0; }
.sp-preise-karte dl > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.sp-preise-karte dt {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.sp-preise-karte dd { margin: 0; font-family: var(--font-mono); font-weight: 600; text-align: right; }
.sp-preise-karte .sp-preise-zeit { align-items: flex-end; }
@media (max-width: 719px) {
  .sp-preise-klassen-tabelle th[scope="row"] { white-space: normal; }
  .sp-preise-klassen-rahmen { display: none; }
  .sp-preise-karten { display: flex; flex-direction: column; }
}

/* Fahrtkosten-Rechner in Richtung B. Ersetzt alle Regeln .sp-rechner__* , die nur dieser Rechner nutzt.
   Braucht die Tokens aus tokens-b.css. Keine Media Query: Spalten und Knöpfe brechen von selbst um. */
.sp-fk { box-sizing: border-box; width: 100%; max-width: 940px; margin-inline: auto; padding: clamp(20px, 4vw, 36px);
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--ink);
  display: flex; flex-direction: column; gap: 24px; }
.sp-fk *, .sp-fk *::before, .sp-fk *::after { box-sizing: border-box; }
.sp-fk p, .sp-fk h3 { margin: 0; }
.sp-fk .sp-label { color: var(--text-muted); }
.sp-fk__kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sp-fk__kopf .sp-label:first-child { color: var(--green-text); }
.sp-fk__spalten { display: flex; gap: 28px 44px; flex-wrap: wrap; align-items: flex-start; }
.sp-fk__eingaben { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sp-fk__ergebnis { flex: 1.15 1 380px; min-width: 0; display: flex; flex-direction: column; }

/* Schritte */
.sp-fk__schritt { display: block; margin: 0; padding: 0; border: 0; min-width: 0; }
.sp-fk__schritt > legend { display: block; padding: 0; }
.sp-fk__schritt > * + * { margin-top: 10px; }
.sp-fk__zeile { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.sp-fk__feld { display: flex; flex-direction: column; gap: 6px; flex: 1 1 110px; min-width: 0; font-size: 14px; color: var(--text-muted); }
.sp-fk__feld--breit { flex: 2 1 220px; }

/* Eingabefeld, Auswahlliste */
.sp-fk__mit-einheit, .sp-fk__wahl { position: relative; display: block; }
.sp-fk input[type="text"], .sp-fk select { width: 100%; min-height: 52px; margin: 0; padding: 0 62px 0 14px;
  border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: 18px; }
.sp-fk select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  font-family: var(--font-sans); font-size: 17px; font-weight: 600; }
.sp-fk__wahl::after { content: "▾"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 14px; color: var(--ink); pointer-events: none; }
.sp-fk__einheit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); pointer-events: none; }
.sp-fk input[type="text"]:focus-visible, .sp-fk select:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }

/* Knöpfe: Auswahlfeld unsichtbar, die Beschriftung ist der Knopf */
.sp-fk__knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-fk__knopf { position: relative; display: inline-flex; cursor: pointer; }
.sp-fk__knopf input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sp-fk__knopf span { display: inline-flex; align-items: center; min-height: var(--touch-min, 44px); padding: 0 11px;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.sp-fk__knopf input:checked + span { border-color: var(--ink); background: var(--ink); color: #FFFFFF; font-weight: 600; }
.sp-fk__knopf input:focus-visible + span { outline: 2px solid var(--green-text); outline-offset: 3px; }
.sp-fk__knopf input:disabled + span { opacity: 0.45; cursor: default; }
.sp-fk__knopf:hover input:not(:checked):not(:disabled) + span { border-color: var(--ink); }

/* Eigene Werte */
.sp-fk__mehr { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sp-fk__mehr > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.sp-fk__mehr > summary::-webkit-details-marker { display: none; }
.sp-fk__mehr > summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; font-weight: 400; color: var(--green-text); }
.sp-fk__mehr[open] > summary::after { content: "–"; }
.sp-fk__mehr > summary:focus-visible { outline: 2px solid var(--green-text); outline-offset: 3px; }
.sp-fk__anpassen { display: flex; flex-direction: column; gap: 18px; padding: 6px 0 20px; }
.sp-fk__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 12px; }

/* Ergebnis */
.sp-fk__titel { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding-bottom: 14px; }
.sp-fk__titel h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw + 12px, 30px); line-height: 1.1; letter-spacing: -0.02em; }
.sp-fk__liste { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.sp-fk__posten { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.sp-fk__posten:first-child { border-top: 0; }
.sp-fk__posten-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sp-fk__posten-kopf > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-fk__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.2; }
.sp-fk__betrag { flex: none; font-family: var(--font-mono); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1;
  letter-spacing: -0.04em; word-spacing: -0.25em; white-space: nowrap; color: var(--ink); }
.sp-fk__balken { height: 14px; background: #E7EBE7; }
.sp-fk__balken > div { height: 100%; width: 0; background: var(--bar-muted); transition: width 0.2s ease; }
.sp-fk__posten.is-guenstig .sp-fk__balken > div { background: var(--green-text); }
.sp-fk__diff { font-family: var(--font-mono); font-size: 13px; font-weight: 600; line-height: 1.5; }
.sp-fk__zuhause { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 16px; flex-wrap: wrap; padding: 16px 0 4px; font-size: 16px; }
.sp-fk__zuhause output { font-family: var(--font-mono); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.sp-fk [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .sp-fk__balken > div { transition: none; } }

/* Compact directory lists on homes and hubs. Same typography and touch size as footer links. */
.sp-katalog { display: flex; flex-direction: column; gap: 28px; }
.sp-katalog__block { display: flex; flex-direction: column; gap: 8px; }
.sp-katalog__links { display: flex; gap: 0 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.sp-katalog__links a { display: inline-flex; align-items: center; min-height: var(--touch-min); font-size: 14px; color: var(--ink); text-decoration: none; }
.sp-katalog__links a:hover { color: var(--green-text); }
