/* calvix.ch · Prüfprotokoll
   Farben, Schriften und verschiebbare Werte stehen als Variablen auf :root.
   tweaks.css (Regler-Panel, Phase 6) überschreibt nur diese Variablen. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette Graphit */
  --paper: #EDEAE4;
  --sheet: #FFFFFF;
  --ink: #0E0E0E;
  --soft: #5A5A57;
  --line: #D6D2CA;
  --graphite: #16171A;
  --on-g: #F5F5F3;
  --on-g-soft: #A9A9A4;
  --g-line: #36383E;
  --clay: #B44D34;
  --clay-hover: #973C27;
  --clay-text: #AA442B;

  /* Schriften */
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Grössen */
  --fs-display: clamp(2.6rem, 0.9rem + 6.2vw, 6rem);
  --fs-page-h1: clamp(2.5rem, 1.1rem + 4.8vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.2rem + 3vw, 3.75rem);
  --fs-list: clamp(1.9rem, 0.9rem + 3.6vw, 4.25rem);
  --fs-price: clamp(3.25rem, 1.2rem + 7.4vw, 6rem);
  --fs-ergebnis: clamp(3.5rem, 2rem + 5vw, 5.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .25vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-mono: .75rem;
  --track-display: -0.04em;
  --track-h2: -0.035em;

  /* Abstände */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --sec-pad: clamp(80px, 10vw, 152px);
  --hero-pad-top: clamp(20px, 2.4vw, 36px);
  --hero-gap: clamp(28px, 3vw, 44px);
  --stack: clamp(24px, 3vw, 40px);

  /* Prüfstempel */
  --stamp-size: clamp(132px, 14vw, 196px);
  --stamp-rotate: -9deg;

  --radius: 2px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 64px;
}

/* Feinjustierung ab Tablet, eingestellt im Regler-Panel am 15.10.2026.
   Abstand oben und Stempel bewusst über dem Reglerwert (24 statt 0, 140 statt 100).
   Ablaufliste, Preis und Ergebniszahl am selben Tag nachgezogen (32, 72, 72). */
@media (min-width: 721px) {
  :root {
    --hero-pad-top: 24px;
    --hero-gap: 17px;
    --fs-display: 56px;
    --fs-page-h1: 47px;
    --fs-lead: 19px;
    --stamp-size: 140px;
    --stamp-rotate: -16deg;
    --fs-h2: 39px;
    --sec-pad: 48px;
    --fs-list: 32px;
    --fs-price: 72px;
    --fs-ergebnis: 72px;
  }
}

/* Grundlage */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: #9A9A95 var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--sans);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--clay);
  overflow-x: clip;
}
::selection { background: var(--clay); color: #FFFFFF; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius); }
.dunkel :focus-visible, .fuss :focus-visible { outline-color: var(--on-g); }
button { font: inherit; color: inherit; }
abbr { text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--sheet); color: var(--ink); padding: 10px 14px; border: 1px solid var(--ink);
  font: 500 var(--fs-mono)/1 var(--mono); text-transform: uppercase; letter-spacing: .08em;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Mono: nur für Feldnamen, Messwerte, Randnummern */
.mono, .feldname {
  font-family: var(--mono);
  font-size: var(--fs-mono);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.feldname { color: var(--soft); }
.dunkel .feldname { color: var(--on-g-soft); }
.zahl { font-variant-numeric: lining-nums; }

/* Wortmarke */
.marke {
  font: 600 1.5rem/1 var(--sans);
  letter-spacing: -0.035em;
  text-decoration: none;
  color: inherit;
}
.marke span { color: var(--clay); }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 1rem/1.2 var(--sans); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--clay { background: var(--clay); color: #FFFFFF; }
.btn--clay:hover { background: var(--clay-hover); }
.btn--linie { border-color: currentColor; }
.btn--linie:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dunkel .btn--linie:hover { background: var(--on-g); color: var(--graphite); border-color: var(--on-g); }
.btn[disabled] { opacity: .55; cursor: progress; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .3em;
}
.textlink:hover { text-decoration-thickness: 2px; }

/* Kopfleiste */
.kopfleiste {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.kopfleiste__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: var(--fs-small); font-weight: 500; text-decoration: none; color: var(--soft);
  padding-block: 6px; border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); border-bottom-color: currentColor; }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: var(--fs-small); }
.nav__toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); min-height: 40px; padding: 0 14px; cursor: pointer;
}
.nav__toggle .striche { position: relative; width: 16px; height: 9px; }
.nav__toggle .striche::before, .nav__toggle .striche::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .2s var(--ease-out), top .2s var(--ease-out);
}
.nav__toggle .striche::before { top: 0; }
.nav__toggle .striche::after { top: 7.5px; }
.nav__toggle[aria-expanded="true"] .striche::before { top: 3.75px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .striche::after { top: 3.75px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--ink);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav__panel.offen { display: block; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
    font-size: 1.25rem; color: var(--ink);
  }
  .nav__links a:hover, .nav__links a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__panel .btn { margin-top: 20px; width: 100%; justify-content: space-between; min-height: 52px; }
}
@media (min-width: 861px) {
  .nav__panel { display: flex; align-items: center; gap: 32px; }
}

/* Kontextfarben für Kopfbereiche: hell als Standard, dunkel auf Graphit */
.hero, .seitenkopf { --k-text: var(--ink); --k-soft: var(--soft); --k-line: var(--line); --k-rule: var(--ink); }
.dunkel { --k-text: var(--on-g); --k-soft: var(--on-g-soft); --k-line: var(--g-line); --k-rule: var(--on-g-soft); }

/* Dunkle Bühne */
.dunkel { background: var(--graphite); color: var(--on-g); }

/* Prüfprotokoll: Felder */
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld dd, .feld .wert { font-weight: 500; line-height: 1.3; }

/* Erster Bildschirm */
.hero { padding: var(--hero-pad-top) 0 0; margin-bottom: -1px; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.hero .hero__grid { grid-template-rows: auto auto 1fr auto; }
.hero__unter { align-self: start; }
.protokollkopf {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--k-rule);
  border-bottom: 1px solid var(--k-line);
}
.protokollkopf > div {
  padding: 14px 16px 16px;
  border-left: 1px solid var(--k-line);
  display: flex; flex-direction: column; gap: 6px;
}
.protokollkopf > div:first-child { border-left: 0; padding-left: 0; }
.protokollkopf dd { font-size: var(--fs-small); font-weight: 500; color: var(--k-text); }

.hero h1 {
  grid-column: 1 / span 9;
  margin-top: var(--hero-gap);
  font-size: var(--fs-display);
  line-height: .96;
  letter-spacing: var(--track-display);
  font-weight: 500;
}
.hero h1 .zeile { display: block; }
.hero h1 .zeile + .zeile { color: var(--k-soft); }
.hero__unter {
  grid-column: 1 / span 8;
  margin-top: clamp(24px, 2.4vw, 32px);
  max-width: 66ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--k-soft);
}
.hero__unter strong { color: var(--k-text); font-weight: 500; }
.hero__schritt {
  grid-column: 10 / -1; grid-row: 2 / span 2;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 32px;
  margin-top: var(--hero-gap);
  padding-left: clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--k-line);
}
.hero__schritt .stempel { margin: 4px 0 0 auto; }
.naechster {
  width: 100%;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--k-line);
}
.naechster .btn { width: 100%; justify-content: space-between; }
.naechster .textlink { color: var(--k-text); font-size: var(--fs-small); }

.hero__fuss {
  grid-column: 1 / -1;
  margin-top: clamp(36px, 3.6vw, 52px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--k-rule);
  border-bottom: 1px solid var(--k-line);
}
.hero__fuss li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 18px 16px 22px;
  border-left: 1px solid var(--k-line);
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}
.hero__fuss li:first-child { border-left: 0; padding-left: 0; }
.hero__fuss .feldname { font-size: var(--fs-mono); }
.hero__fuss .wert { color: var(--k-text); font-weight: 500; }

/* Prüfstempel: eigene Druckebene */
.stempel {
  width: var(--stamp-size); height: var(--stamp-size);
  color: var(--clay);
  transform: rotate(var(--stamp-rotate));
  mix-blend-mode: multiply;
  animation: stempeln .55s var(--ease-out) .35s both;
  pointer-events: none;
}
@keyframes stempeln {
  0% { opacity: 0; transform: rotate(calc(var(--stamp-rotate) - 6deg)) scale(1.22); filter: blur(3px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: rotate(var(--stamp-rotate)) scale(1); filter: blur(0); }
}

/* Abschnitte im Protokoll */
.abschnitt { padding: var(--sec-pad) 0; }
.abschnitt + .abschnitt:not(.dunkel) { padding-top: 0; }
.abschnitt__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.abschnitt__grid::before {
  content: ""; grid-column: 1 / -1; height: 1px; margin-bottom: 20px; background: var(--ink);
}
.dunkel .abschnitt__grid::before { background: var(--on-g-soft); }
.rand {
  grid-column: 1 / span 2;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 20px);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.rand__nr {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 6px;
  border: 1px solid currentColor; border-radius: var(--radius);
  font: 500 .8125rem/1 var(--mono);
}
.inhalt { grid-column: 3 / -1; min-width: 0; }
.inhalt > h2, .h2 {
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: var(--track-h2);
  max-width: 20ch;
}
.einleitung {
  margin-top: var(--stack);
  max-width: 62ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--soft);
}
.dunkel .einleitung { color: var(--on-g-soft); }
.einleitung + .einleitung { margin-top: 16px; }

/* 1 · Wo die Zeit hingeht */
.ablaeufe { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ink); counter-reset: ablauf; }
.ablaeufe li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, 1fr) 28px;
  align-items: baseline;
  column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.ablaeufe .mono { color: var(--soft); }
.ablaeufe h3 {
  font-size: var(--fs-list);
  line-height: 1;
  letter-spacing: var(--track-display);
  font-weight: 500;
  hyphens: manual;
}
.ablaeufe p { max-width: 42ch; color: var(--soft); }
.kaestchen {
  width: 20px; height: 20px; align-self: center;
  border: 1px solid var(--ink); border-radius: 1px;
  position: relative;
}
.kaestchen svg { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); }
.kaestchen path {
  stroke: var(--ink); stroke-width: 1.6; fill: none;
  stroke-dasharray: 30; stroke-dashoffset: 30;
  transition: stroke-dashoffset .5s var(--ease-out);
}
.ablaeufe.sichtbar li .kaestchen path { stroke-dashoffset: 0; }
.ablaeufe.sichtbar li:nth-child(2) .kaestchen path { transition-delay: .12s; }
.ablaeufe.sichtbar li:nth-child(3) .kaestchen path { transition-delay: .24s; }
.ablaeufe.sichtbar li:nth-child(4) .kaestchen path { transition-delay: .36s; }
.ablaeufe.sichtbar li:nth-child(5) .kaestchen path { transition-delay: .48s; }
.schluss {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px;
}
.schluss p { font-size: var(--fs-lead); font-weight: 500; }

/* 2 · Audit */
.strecke {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  --fuellung: 0;
}
.strecke::before, .strecke::after {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px;
}
.strecke::before { height: 0; border-top: 1px dashed var(--ink); opacity: .5; }
.strecke::after { background: var(--ink); transform-origin: left; transform: scaleX(var(--fuellung)); }
.strecke li { position: relative; padding-top: 40px; padding-right: 8px; }
.strecke li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 1px; z-index: 1;
  transition: background-color .3s var(--ease-out);
}
.strecke li.erreicht::before { background: var(--ink); }
.strecke h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
.strecke .mono { display: block; margin-top: 10px; color: var(--soft); }
.strecke p { margin-top: 10px; max-width: 38ch; color: var(--soft); }

.preis {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border: 1px solid var(--ink);
  background: var(--sheet);
}
.preis__betrag { padding: clamp(20px, 3vw, 36px); border-right: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.preis__betrag strong {
  display: block;
  font-size: var(--fs-price); font-weight: 500; line-height: .95; letter-spacing: var(--track-display);
  font-variant-numeric: lining-nums;
}
.preis__betrag p { font-size: var(--fs-lead); font-weight: 500; max-width: 30ch; }
.preis__text { padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; align-items: flex-start; }
.preis__text p { color: var(--soft); max-width: 46ch; }

/* 3 · Musterbericht */
.blatt-wrap { position: relative; margin-top: clamp(48px, 6vw, 80px); max-width: 980px; }
.blatt {
  position: relative; z-index: 1;
  background: var(--sheet); border: 1px solid var(--ink);
  padding: clamp(20px, 3.4vw, 44px);
}
.blatt__kopf {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.blatt__kopf .marke { font-size: 1.25rem; }
.blatt__felder {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.blatt__felder > div { padding: 12px 14px 14px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.blatt__felder > div:first-child { border-left: 0; padding-left: 0; }
.blatt__felder dd { font-weight: 500; font-size: var(--fs-small); }
.ergebnis {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: clamp(20px, 3vw, 32px) 0;
}
.ergebnis strong { font-size: var(--fs-ergebnis); font-weight: 500; line-height: .9; letter-spacing: var(--track-display); }
.ergebnis span { font-size: var(--fs-lead); font-weight: 500; }
.ergebnis p { flex-basis: 100%; color: var(--soft); font-size: var(--fs-small); max-width: 56ch; }

.befunde { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums; }
.befunde th {
  font: 400 var(--fs-mono)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--soft); text-align: left; padding: 0 12px 10px 0; vertical-align: bottom;
  border-bottom: 1px solid var(--ink);
}
.befunde td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--ink); vertical-align: top; }
.befunde .r { text-align: right; }
.befunde td.r, .befunde th.r { padding-right: 0; padding-left: 12px; }
.befunde .nr { width: 36px; font: 500 .8125rem/1.5 var(--mono); }
.befunde .name { font-weight: 500; }
.befunde tbody tr:last-child td { border-bottom-style: dashed; }
.befunde tfoot td { font-weight: 600; border-bottom: 0; border-top: 2px solid var(--ink); }
.balken { display: block; position: relative; height: 8px; margin-top: 10px; width: calc(var(--heute) / 13 * 100%); border: 1px solid var(--ink); }
.balken i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--spart) / var(--heute) * 100%); background: var(--ink); }
.legende { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 18px; height: 8px; border: 1px solid var(--ink); }
.legende i.voll { background: var(--ink); }

.stempel-muster {
  position: absolute; z-index: 2; right: clamp(-44px, -3vw, -8px); top: clamp(-58px, -4vw, -34px);
  width: clamp(150px, 18vw, 210px);
  color: var(--clay);
  transform: rotate(7deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.blatt-notiz { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 40px; max-width: 980px; }
.blatt-notiz p { color: var(--soft); font-size: var(--fs-small); max-width: 60ch; }

/* 4 · Daten und Rechte */
.herkunft {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line);
}
.herkunft > div { padding: 14px 16px 16px; border-left: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 6px; }
.herkunft > div:first-child { border-left: 0; padding-left: 0; }
.herkunft dd { font-weight: 500; }
.pruefpunkte {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--on-g-soft);
}
.pruefpunkte li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; align-content: start;
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2.4vw, 32px) clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--g-line);
}
.pruefpunkte li:nth-child(even) { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--g-line); }
.pruefpunkte .kaestchen { border-color: var(--on-g); align-self: start; margin-top: -2px; grid-row: 1; }
.pruefpunkte .mono, .pruefpunkte p { grid-column: 2; }
.pruefpunkte .kaestchen path { stroke: var(--on-g); stroke-dashoffset: 0; }
.pruefpunkte .mono { color: var(--on-g); font-weight: 500; }
.pruefpunkte p { color: var(--on-g-soft); max-width: 48ch; }

/* 5 · Prüfer */
.pruefer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.lichtbild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.pruefer__text { display: flex; flex-direction: column; gap: 18px; max-width: 60ch; }
.pruefer__text p:first-child { font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.pruefer__text p { color: var(--ink); }
.pruefer__text p + p { color: var(--soft); }
.pruefer__text .textlink { margin-top: 8px; align-self: flex-start; }

/* 6 · Fragen */
.fragen { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.fragen details { border-bottom: 1px solid var(--line); }
.fragen summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 24px; align-items: center;
  padding: 22px 0;
  font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary:hover { color: var(--soft); }
.plus { position: relative; width: 20px; height: 20px; justify-self: end; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; transition: transform .25s var(--ease-out); }
.plus::before { left: 0; right: 0; top: 9.5px; height: 1.5px; }
.plus::after { top: 0; bottom: 0; left: 9.5px; width: 1.5px; }
.fragen details[open] .plus::after { transform: scaleY(0); }
.fragen .antwort { padding: 0 48px 26px 0; max-width: 68ch; color: var(--soft); }

/* 7 · Abschluss */
.abschluss h2 { font-size: var(--fs-display); line-height: .96; letter-spacing: var(--track-display); max-width: 14ch; }
.abschluss__zeile {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line);
}
.abschluss__zeile > div { padding: 18px 16px 20px; border-left: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.abschluss__zeile > div:first-child { border-left: 0; padding-left: 0; }
.abschluss__zeile a:not(.btn) { color: var(--on-g); font-weight: 500; font-size: var(--fs-lead); text-decoration: none; border-bottom: 1px solid var(--g-line); }
.abschluss__zeile a:not(.btn):hover { border-bottom-color: var(--on-g); }

/* Fuss */
.fuss { background: var(--graphite); color: var(--on-g-soft); padding: clamp(48px, 6vw, 80px) 0 32px; border-top: 1px solid var(--g-line); }
.fuss__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 32px; }
.fuss .marke { color: var(--on-g); font-size: 1.75rem; }
.fuss__claim { margin-top: 14px; max-width: 32ch; }
.fuss ul { display: grid; gap: 10px; }
.fuss a { color: var(--on-g); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__kontakt { display: grid; gap: 10px; align-content: start; }
.fuss .feldname { color: var(--on-g-soft); }
.fuss__unten { margin-top: clamp(40px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--g-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Unterseiten */
.seitenkopf { padding: var(--hero-pad-top) 0 clamp(56px, 7vw, 104px); margin-bottom: -1px; }
.seitenkopf .protokollkopf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seitenkopf h1 {
  grid-column: 1 / span 9;
  margin-top: var(--hero-gap);
  font-size: var(--fs-page-h1); line-height: .98; letter-spacing: var(--track-display);
  max-width: 26ch;
}
.seitenkopf h1 .zeile { display: block; }
.seitenkopf h1 .zeile + .zeile { color: var(--k-soft); }
.seitenkopf + .abschnitt { padding-top: clamp(24px, 3vw, 40px); }
.seitenkopf .hero__unter { margin-top: var(--stack); }
.seitenkopf .knoepfe { grid-column: 1 / -1; }
.seitenkopf--klein { padding-bottom: clamp(40px, 5vw, 72px); }
.person h1, .person .hero__unter { grid-column: 1 / span 8; }
.person .hero__grid { grid-template-rows: auto 1fr auto; }
/* Text steht unten auf Höhe der Bildkante, das Porträt füllt die rechte Spalte */
.person h1, .person .hero__unter { align-self: end; }
.lichtbild--kopf {
  grid-column: 9 / -1; grid-row: 2 / span 2; align-self: start;
  margin-top: var(--hero-gap);
}
.seite-404 { min-height: 70vh; }
.frei { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: .8125rem; color: var(--soft); }

.werdegang { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.werdegang li {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(16px, 2vw, 32px);
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.werdegang .mono { padding-top: 4px; }
.werdegang strong { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; display: block; }
.werdegang p { margin-top: 6px; color: var(--soft); max-width: 56ch; }
.text-spalte { margin-top: var(--stack); display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.text-spalte p { color: var(--soft); }
.text-spalte p:first-child { color: var(--ink); font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.zusagen { gap: 22px; }
.zusagen p, .zusagen p:first-child { color: var(--soft); font-size: inherit; font-weight: 400; line-height: 1.55; }
.zusagen strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: var(--fs-lead); font-weight: 500; line-height: 1.35; }
.knoepfe { margin-top: clamp(32px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(24px, 4vw, 64px); align-items: start; }
.wege { border-top: 1px solid var(--ink); }
.wege > div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.wege a { font-size: var(--fs-lead); font-weight: 500; text-decoration: none; }
.wege a:hover { text-decoration: underline; }
.wege p { color: var(--soft); font-size: var(--fs-small); }
.wege-hinweis { padding-top: 18px; color: var(--soft); font-size: var(--fs-small); }

.formular { margin-top: 0; }
.formular h2 { font-size: var(--fs-h2); line-height: 1.02; letter-spacing: var(--track-h2); }
.formular form { margin-top: clamp(28px, 4vw, 40px); }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); background: var(--sheet); }
.f {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 14px 12px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  min-width: 0;
}
.f--voll { grid-column: 1 / -1; }
.f label, .f legend { font: 400 var(--fs-mono)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.f legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; }
.f legend + * { clear: both; }
fieldset.f { margin: 0; min-inline-size: 0; }
.f .pflicht { color: var(--ink); }
.f .frage { font: 500 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f textarea {
  width: 100%; border: 0; background: transparent; padding: 4px 0 2px;
  font: 500 1.0625rem/1.4 var(--sans); color: var(--ink);
  border-radius: 0; outline: none;
}
.f textarea { resize: vertical; min-height: 96px; }
.f input::placeholder, .f textarea::placeholder { color: #6B6B67; opacity: 1; }
.f:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; z-index: 1; }
.f .hinweis { font-size: .8125rem; color: var(--soft); }
.f .fehler { display: none; font-size: .9375rem; font-weight: 500; color: var(--clay-text); }
.f.hat-fehler .fehler { display: block; }
.f.hat-fehler label:not(.kreuz), .f.hat-fehler legend { color: var(--clay-text); }
.kreuze { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.f .kreuz { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 32px;
  font: 500 1rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.kreuz input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 20px; height: 20px; border: 1px solid var(--ink); border-radius: 1px; background: var(--sheet);
  display: grid; place-items: center; cursor: pointer;
}
.kreuz input::after {
  content: ""; width: 14px; height: 14px; opacity: 0; transform: scale(.6);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%230E0E0E' stroke-width='1.7' fill='none'/%3E%3C/svg%3E");
  transition: opacity .15s, transform .2s var(--ease-out);
}
.kreuz input:checked::after { opacity: 1; transform: scale(1); }
.kreuz input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.formular__fuss { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.formular__fuss p { font-size: var(--fs-small); color: var(--soft); max-width: 60ch; }
.formular__fuss p a { color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.status { font-size: var(--fs-small); font-weight: 500; color: var(--clay-text); }
.status:empty { display: none; }
#form-wrap.ist-gesendet form { display: none; }
.erfasst { border: 1px solid var(--ink); background: var(--sheet); padding: clamp(20px, 3vw, 32px); margin-top: clamp(28px, 4vw, 40px); }
.erfasst:focus { outline: none; }
.erfasst .protokollzeile { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.erfasst h3 { margin-top: 20px; font-size: var(--fs-h2); line-height: 1.02; letter-spacing: var(--track-h2); }
.erfasst p { margin-top: 14px; color: var(--soft); max-width: 56ch; }

/* Rechtliches */
.recht { max-width: 72ch; }
.recht h2 { font-size: var(--fs-h3); letter-spacing: -0.015em; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--ink); }
.recht h2:first-child { margin-top: 0; }
.recht p, .recht ul { margin-top: 12px; color: var(--soft); }
.recht ul { list-style: none; display: grid; gap: 8px; }
.recht li { padding-left: 22px; position: relative; }
.recht li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--ink); }
.recht strong { color: var(--ink); font-weight: 500; }

/* Einblenden, ruhig und einmal */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .js .einblenden.sichtbar { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stempel { animation: none; }
  .kaestchen path { transition: none; stroke-dashoffset: 0 !important; }
  .strecke { --fuellung: 1 !important; }
  .strecke li::before { transition: none; }
}

/* Tablet */
@media (max-width: 1080px) {
  .hero h1 { grid-column: 1 / -1; }
  .hero__unter { grid-column: 1 / span 8; }
  .hero__schritt {
    grid-column: 9 / -1; grid-row: auto;
    margin-top: var(--stack);
  }
  .hero__schritt .stempel { display: none; }
  .ablaeufe li { grid-template-columns: 44px minmax(0, 1fr) 24px; }
  .ablaeufe li p { grid-column: 2 / 3; margin-top: 10px; }
  .ablaeufe li .kaestchen { grid-column: 3; grid-row: 1; }
  .rand { grid-column: 1 / -1; position: static; margin-bottom: 24px; }
  .inhalt { grid-column: 1 / -1; }
  .pruefer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .fuss__grid { grid-template-columns: 1fr 1fr; }
  .fuss__grid > :first-child { grid-column: 1 / -1; }
  .kontakt-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .seitenkopf h1, .person h1, .person .hero__unter { grid-column: 1 / span 8; }
  .lichtbild--kopf { grid-column: 9 / -1; }
}

/* Handy */
@media (max-width: 720px) {
  :root { --header-h: 58px; }
  .protokollkopf, .seitenkopf .protokollkopf { grid-template-columns: 1fr 1fr; }
  .protokollkopf > div { padding: 12px 12px 14px; border-left: 1px solid var(--k-line); }
  .protokollkopf > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .protokollkopf > div:nth-child(n+3) { border-top: 1px solid var(--k-line); }
  .protokollkopf > div:nth-child(3):last-child { grid-column: 1 / -1; }
  .hero { position: relative; }
  .hero h1 { grid-row: 2; margin-top: 28px; line-height: .98; padding-right: 0; }
  .hero__schritt { display: contents; }
  .hero__schritt .stempel {
    display: block; grid-column: 1 / -1; grid-row: 2; justify-self: end; align-self: start;
    width: 92px; height: 92px; margin-top: 30px; position: relative; z-index: 1;
  }
  .naechster { grid-column: 1 / -1; grid-row: 3; margin-top: 24px; }
  .naechster .btn { white-space: nowrap; }
  .hero__fuss { grid-row: 4; grid-template-columns: 1fr; margin-top: 20px; }
  .hero__fuss li { border-left: 0; padding: 10px 0; border-top: 1px solid var(--k-line); }
  .hero__unter { grid-column: 1 / -1; grid-row: 5; margin-top: 28px; }

  .ablaeufe li { grid-template-columns: 34px minmax(0, 1fr) 22px; column-gap: 12px; }
  .strecke { grid-template-columns: 1fr; row-gap: 40px; padding-left: 40px; }
  .strecke::before, .strecke::after { left: 9px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .strecke::before { width: 0; border-top: 0; border-left: 1px dashed var(--ink); }
  .strecke::after { transform-origin: top; transform: scaleY(var(--fuellung)); }
  .strecke li { padding-top: 0; }
  .strecke li::before { left: -40px; }
  .preis { grid-template-columns: 1fr; }
  .preis__betrag { border-right: 0; border-bottom: 1px solid var(--ink); }

  .blatt__kopf { flex-direction: column; gap: 6px; }
  .blatt__felder { grid-template-columns: 1fr 1fr; }
  .blatt__felder > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .blatt__felder > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .stempel-muster { width: 146px; top: -46px; right: -4px; }
  .befunde thead { display: none; }
  .befunde, .befunde tbody, .befunde tfoot, .befunde tr, .befunde td { display: block; width: 100%; }
  .befunde tr { padding: 14px 0; border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 30px 1fr 1fr; column-gap: 8px; row-gap: 8px; }
  .befunde tbody tr:last-child { border-bottom-style: dashed; }
  .befunde td { border: 0; padding: 0; text-align: left !important; }
  .befunde td.nr { grid-row: span 4; }
  .befunde td.name { grid-column: 2 / -1; }
  .befunde td[data-feld] { grid-column: 2 / -1; display: flex; justify-content: space-between; gap: 12px; padding-left: 0 !important; }
  .befunde td[data-feld]::before { content: attr(data-feld); font: 400 var(--fs-mono)/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
  .befunde td.balken-zelle { grid-column: 2 / -1; }
  .befunde tfoot tr { border-top: 2px solid var(--ink); border-bottom: 0; }
  .befunde tfoot td { border-top: 0; }
  .balken { margin-top: 0; }

  .herkunft { grid-template-columns: 1fr 1fr; }
  .herkunft > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .herkunft > div:nth-child(n+3) { border-top: 1px solid var(--g-line); }
  .pruefpunkte { grid-template-columns: 1fr; }
  .pruefpunkte li, .pruefpunkte li:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }

  .pruefer { grid-template-columns: 1fr; row-gap: 32px; }
  .lichtbild { max-width: 360px; }
  .fragen .antwort { padding-right: 0; }

  .abschluss__zeile { grid-template-columns: 1fr; }
  .abschluss__zeile > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--g-line); }
  .abschluss__zeile > div:first-child { border-top: 0; }

  .fuss__grid { grid-template-columns: 1fr; }
  .werdegang li { grid-template-columns: 1fr; row-gap: 8px; }
  .felder { grid-template-columns: 1fr; }
  .hero .hero__grid, .person .hero__grid { grid-template-rows: none; }
  .seitenkopf h1, .person h1, .person .hero__unter { grid-column: 1 / -1; }
  .lichtbild--kopf { grid-column: 1 / -1; grid-row: auto; max-width: 260px; margin-top: 36px; }
}

/* Beispiel-Cockpit (/beispiel-cockpit/), 15.10.2026.
   Gleiche Bildsprache wie der Musterbericht: Rahmen = heute oder erstellt, gefüllt = Ersparnis oder angenommen,
   gestrichelt = nicht gewählter Zeitraum. */
.cockpit-wrap { max-width: 1080px; }
.cockpit__steuerung {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.zeitraum { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--radius); }
.zeitraum button {
  min-height: 40px; padding: 8px 16px; cursor: pointer;
  background: var(--sheet); color: var(--ink); border: 0; border-left: 1px solid var(--ink);
  font: 500 var(--fs-small)/1 var(--sans);
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out);
}
.zeitraum button:first-child { border-left: 0; }
.zeitraum button:hover { text-decoration: underline; text-underline-offset: .3em; }
.zeitraum button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); text-decoration: none; }
.zeitraum button:focus-visible { outline-offset: 2px; position: relative; z-index: 1; }

.kennzahlen {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.kennzahlen > div { padding: 14px 16px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kennzahlen > div:first-child { border-left: 0; padding-left: 0; }
.kennzahlen dd { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; }
.kennzahlen__zusatz { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; color: var(--soft); }

.auswahl {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  min-height: 50px; padding: 14px 0; border-bottom: 1px solid var(--ink);
  font-size: var(--fs-small); font-weight: 500;
}

.tafeln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tafel { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 22px 24px 20px 0; border-bottom: 1px solid var(--line); }
.tafel:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.tafel h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; }
.tafel .legende { margin-top: 0; }
.tafel__summe { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-top: 10px; border-top: 1px solid var(--ink); }
.tafel__summe strong { font-weight: 500; }
.tafel__quelle { margin-top: auto; padding-top: 4px; }

.saeulen { --hc: 190px; --hl: 26px; position: relative; height: var(--hc); margin-top: 18px; }
.saeulen__raster { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--hc) - var(--hl)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--ink); pointer-events: none; }
.saeulen__raster span { position: absolute; left: 0; bottom: 100%; padding-bottom: 3px; font-size: .6875rem; }
.saeulen__reihe { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: clamp(4px, 1vw, 10px); }
.saeule {
  display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 0;
  height: 100%; padding: 0; background: none; border: 0; cursor: pointer; color: var(--ink);
}
.saeule__balken {
  position: relative; display: block;
  height: calc((var(--hc) - var(--hl)) * var(--h));
  background: var(--sheet); border: 1px solid var(--ink); border-bottom: 0;
}
.saeule__balken i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--f) * 100%); background: var(--ink); }
.saeule .feldname { display: block; height: var(--hl); padding-top: 7px; text-align: center; font-size: .6875rem; letter-spacing: .02em; }
.saeule.ist-aus .saeule__balken { border-style: dashed; border-color: var(--soft); }
.saeule.ist-aus .saeule__balken i { background: transparent; border-top: 1px dashed var(--soft); }
.saeule:hover .saeule__balken { outline: 1px solid var(--ink); outline-offset: 2px; }
.saeule:focus-visible { outline: none; }
.saeule:focus-visible .saeule__balken { outline: 2px solid var(--ink); outline-offset: 2px; }
.saeule:hover .feldname, .saeule:focus-visible .feldname { color: var(--ink); }

.zeilen__liste { border-top: 1px solid var(--ink); }
.zeilen__liste li { display: grid; gap: 8px; padding: 10px 0 12px; border-bottom: 1px solid var(--line); }
.zeilen__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--fs-small); }
.zeilen__name { font-weight: 500; }
.zeilen__wert { font-family: var(--mono); font-size: .8125rem; color: var(--soft); white-space: nowrap; }
.zeilen__balken { position: relative; display: block; height: 8px; width: calc(var(--b) * 100%); border: 1px solid var(--ink); }
.zeilen__balken i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--f) * 100%); background: var(--ink); }

.cockpit__tabelle summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 16px; align-items: center;
  padding: 16px 0; font-size: var(--fs-small); font-weight: 500;
}
.cockpit__tabelle summary::-webkit-details-marker { display: none; }
.cockpit__tabelle summary:hover { color: var(--soft); }
.cockpit__tabelle[open] .plus::after { transform: scaleY(0); }
.tabelle-scroll { overflow-x: auto; padding-bottom: 4px; }
.zahlentabelle { width: 100%; min-width: 420px; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: lining-nums tabular-nums; }
.zahlentabelle + .zahlentabelle { margin-top: 24px; }
.zahlentabelle th, .zahlentabelle td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.zahlentabelle td { font-weight: 400; }
.zahlentabelle .r { text-align: right; padding-right: 0; padding-left: 12px; }
.zahlentabelle thead th { font: 400 var(--fs-mono)/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); border-bottom-color: var(--ink); vertical-align: bottom; }
.zahlentabelle tfoot th, .zahlentabelle tfoot td { font-weight: 600; border-top: 2px solid var(--ink); border-bottom: 0; }

.anleitung { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ink); }
.anleitung li {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(16px, 2vw, 32px);
  padding: 16px 0 18px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.anleitung .mono { padding-top: 0; color: var(--soft); }
.anleitung strong { display: block; font-size: var(--fs-lead); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.anleitung p { margin-top: 8px; color: var(--soft); max-width: 62ch; }

/* Ausblick: Feldname, Satz und Weg, mit Tintenlinie oben. Startseite (Musterbericht) und Beispiel-Cockpit. */
.ausblick {
  margin-top: clamp(40px, 5vw, 64px); max-width: 980px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 40px;
  padding-top: 16px; border-top: 1px solid var(--ink);
}
.ausblick p { max-width: 58ch; font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.ausblick .knoepfe { margin-top: 0; }

/* Schnell-Check: ein Schritt pro Bildschirm. Fortschritt als Felder, erledigt und aktuell durchgezogen, offen gestrichelt. */
.seitenkopf .protokollkopf--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.check { scroll-margin-top: calc(var(--header-h) + 20px); }
.check__punkte { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.check__punkte li { height: 6px; border: 1px dashed var(--soft); border-radius: 1px; }
.check__punkte li.erledigt, .check__punkte li.aktiv { border: 1px solid var(--ink); background: var(--ink); }
.check__stand { margin-top: 12px; }
.schritt > h2 {
  margin-top: clamp(24px, 3vw, 36px);
  font-size: var(--fs-h2); line-height: 1.02; letter-spacing: var(--track-h2); max-width: 22ch;
}
.schritt > h2:focus { outline: none; }
.antworten { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; }
.antwort-knopf {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 16px 20px; cursor: pointer;
  background: var(--sheet); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius);
  font: 500 1.25rem/1 var(--sans); letter-spacing: -0.01em; text-align: left;
}
.antwort-knopf:hover { outline: 1px solid var(--ink); outline-offset: -2px; }
.kreuzfeld { position: relative; flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 1px; }
.kreuzfeld::after {
  content: ""; position: absolute; inset: 3px; opacity: 0; transform: scale(.6);
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 2l10 10M12 2L2 12' stroke='%230E0E0E' stroke-width='1.7' fill='none'/%3E%3C/svg%3E");
  transition: opacity .15s, transform .2s var(--ease-out);
}
.antwort-knopf.gewaehlt .kreuzfeld::after { opacity: 1; transform: scale(1); }
.zurueck { margin-top: 28px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--soft); font-size: var(--fs-small); }
.knoepfe .zurueck { margin-top: 0; }
.schritt__satz { margin-top: 24px; max-width: 56ch; font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; }
.protokoll { margin-top: clamp(28px, 4vw, 40px); max-width: 720px; border-top: 1px solid var(--ink); }
.protokoll > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.protokoll dd { font-weight: 500; color: var(--ink); font-size: .8125rem; }
.weg { margin-top: clamp(40px, 5vw, 56px); padding-top: 16px; border-top: 1px solid var(--ink); }
.weg .schritt__satz { margin-top: 0; }
.weg .knoepfe { margin-top: 20px; }
@media (prefers-reduced-motion: reduce) { .kreuzfeld::after { transition: none; } }

@media (max-width: 860px) {
  .tafeln { grid-template-columns: 1fr; }
  .tafel, .tafel:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
  .ausblick { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .kennzahlen > div { padding: 12px 12px 14px; }
  .kennzahlen > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kennzahlen > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .zeitraum { display: grid; grid-template-columns: repeat(4, auto); width: 100%; }
  .zeitraum button { padding: 8px 6px; }
  .saeulen { --hc: 170px; }
  .zeilen__liste--posten .zeilen__kopf { flex-direction: column; align-items: flex-start; gap: 2px; }
  .saeule .feldname { font-size: .625rem; letter-spacing: 0; }
  .anleitung li { grid-template-columns: 1fr; row-gap: 6px; }
  .anleitung .mono { padding-top: 0; }
  .antworten { grid-template-columns: 1fr 1fr; }
}
