@font-face { font-family: "Archivo"; src: url(/fonts/archivo-wdth.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url(/fonts/source-serif-4-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* Gespann nach dem Vorbild Buildots: dunkler Start mit Video, darunter
   ruhiges Papier. Gelb heisst «gelesen und geprüft», Rot nur Abweichung. */
:root {
  --tusche: #1f2a36;
  --tusche-2: #56616d;
  --nacht: #151c24;
  --nacht-text: #aeb6bf;
  --papier: #f4f5f3;
  --blatt: #ffffff;
  --hauch: #e3e6e9;
  --linie: #cdd2d7;
  --flaeche: #e6e8e6;
  --marker: #f5e04a;
  --stempel: #c8102e;
  --stempel-hauch: #fbe8eb;
  --gruen: #3d6b4e;
  --text-2: #38434f;
  --sans: "Archivo", "Arial", system-ui, sans-serif;
  --dok: "Source Serif", Georgia, serif;
  --breite: 80rem;
  --rinne: clamp(1rem, 4vw, 3.5rem);
  --kopf-h: 4.25rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 106.25%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--tusche); font: 400 1rem/1.55 var(--sans); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-weight: 600; font-stretch: 88%; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
p, dl, dd, ol, figure { margin: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--tusche); outline-offset: 3px; }
.kopf :focus-visible, .held :focus-visible, .band :focus-visible, .schluss :focus-visible, .fuss :focus-visible, .leiste :focus-visible { outline-color: var(--marker); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: .5rem; background: var(--blatt); padding: .4rem .8rem; z-index: 20; }
.leise { color: var(--tusche-2); }

/* Abstand zum Rand: auf breiten Bildschirmen bündig mit der Inhaltsbreite */
.held, .kapitel, .test, .band, .wer, .pilot, .schluss, .anfrage, .kopf, .plankopf {
  --rand: max(var(--rinne), calc((100% - var(--breite)) / 2 + var(--rinne)));
}

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; cursor: pointer; white-space: nowrap;
  border-radius: 4px; padding: .9rem 1.3rem; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1px solid transparent;
}
.knopf.mark { background: var(--marker); color: var(--tusche); }
.knopf.mark:hover { background: #fff07a; }
.knopf.tusche { background: var(--tusche); color: #fff; }
.knopf.tusche:hover { background: #0f161e; }
.knopf.leer { border-color: var(--tusche-2); color: var(--tusche); }
.knopf.leer:hover { border-color: var(--tusche); background: var(--blatt); }
.knopf.leer-hell { border-color: #6b7682; color: #fff; }
.knopf.leer-hell:hover { border-color: #fff; }
.knopf.klein { padding: .6rem .9rem; font-size: .85rem; }
.knopf[disabled] { opacity: .6; cursor: progress; }
.etikett { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--tusche-2); border: 1px solid #b9c0c7; border-radius: 3px; padding: .2rem .5rem; }

/* Kopf: über dem Video durchsichtig, sonst deckend */
.kopf {
  position: sticky; top: 0; z-index: 10; height: var(--kopf-h); display: flex; align-items: center; gap: 1.8rem;
  padding: 0 var(--rand); color: #fff; background: rgba(31, 42, 54, .97); transition: background-color .25s, box-shadow .25s;
}
.kopf.oben { background: linear-gradient(rgba(21, 28, 36, .7), rgba(21, 28, 36, 0)); box-shadow: none; }
.kopf:not(.oben) { box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.marke { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 650; font-size: 1.1rem; }
.zeichen { width: 2rem; height: 1.2rem; fill: none; stroke: var(--marker); stroke-width: 1.7; }
.achsen-nav { display: flex; gap: 1.6rem; margin-left: 2rem; }
.achsen-nav a { text-decoration: none; font-size: .9rem; color: #d5dae0; }
.achsen-nav a:hover { color: #fff; text-decoration: underline; }
.kopf > .knopf, .kopf-nav { margin-left: auto; }

/* Start: Video bis zum Rand */
.held {
  position: relative; display: flex; align-items: center; margin-top: calc(-1 * var(--kopf-h));
  height: min(56.25vw, 100svh); min-height: 40rem; max-height: 64rem; overflow: hidden; background: var(--nacht); color: #fff;
}
.held::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(21, 28, 36, .95) 0, rgba(21, 28, 36, .88) 34%, rgba(21, 28, 36, .4) 48%, rgba(21, 28, 36, 0) 62%); }
.held-video { position: absolute; inset: 0; }
.held-poster, .held-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.held-film { opacity: 0; }
.held-film.sichtbar { opacity: 1; }
.held-text { position: relative; z-index: 3; width: min(31rem, 44vw); margin-left: var(--rand); padding-top: calc(var(--kopf-h) * .6); }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: .98; hyphens: manual; }
.ganz { white-space: nowrap; }
.lead { margin-top: 1.5rem; font-size: 1.08rem; line-height: 1.5; color: #d2d8de; max-width: 30em; }
.held-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.9rem; }
.cta-notiz { margin-top: 1rem; font-size: .84rem; color: var(--nacht-text); }
.video-quelle { position: absolute; z-index: 4; left: var(--rand); bottom: 1.3rem; font-size: .72rem; color: #7f8a96; }
.pause {
  position: absolute; z-index: 4; right: var(--rinne); bottom: 1.1rem; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(21, 28, 36, .72); border: 1px solid rgba(255, 255, 255, .2); color: #d5dae0; border-radius: 4px;
  padding: .45rem .7rem; font: 500 .78rem/1 var(--sans); cursor: pointer;
}
.pause:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.pause i { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.pause.spielt i { width: 9px; height: 10px; border-width: 0 3px; border-color: currentColor; }

/* Drei Schritte: Lesen, Nachrechnen, Belegen */
.kapitel {
  display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(2rem, 4vw, 3rem) var(--rand);
}
#d.kapitel { padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.kapitel h2 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin: 1.1rem 0 1.2rem; }
.kapitel-text p { font-size: 1.06rem; line-height: 1.55; color: var(--text-2); max-width: 27em; }
.kapitel-text .knopf { margin-top: 1.8rem; }
.kapitel-bild { position: relative; overflow: hidden; border-radius: 6px 0 0 6px; background: var(--flaeche); }
.dunkel-bild, .ansicht { height: clamp(22rem, 36vw, 32rem); }
.dunkel-bild { background: var(--nacht); }
.bild-voll { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.chip {
  position: absolute; z-index: 2; left: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 3vw, 2.4rem); max-width: calc(100% - 2rem);
  display: grid; gap: .15rem; background: rgba(31, 42, 54, .95); color: #fff; border-radius: 6px; padding: .8rem 1.05rem;
  font-size: .82rem; box-shadow: 0 14px 30px rgba(10, 16, 22, .28);
}
.chip .leise { color: var(--nacht-text); }
.chip .gross { font-size: 1.4rem; font-weight: 600; font-stretch: 88%; letter-spacing: -.02em; line-height: 1.15; }
.ansicht picture { position: absolute; left: clamp(1rem, 3vw, 2.4rem); top: clamp(1rem, 3vw, 2.4rem); width: clamp(36rem, 62vw, 52rem); }
.bericht-bild { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 30px rgba(31, 42, 54, .16); }
.chip-bericht { width: 17rem; }

/* Der Rechner */
.rechner-flaeche { padding: clamp(1.5rem, 4vw, 3.2rem); }
.detail { background: var(--blatt); border: 1px solid var(--tusche); }
.rechner { max-width: 44rem; border-radius: 4px; overflow: hidden; box-shadow: 0 14px 30px rgba(31, 42, 54, .12); }
.detail-kopf { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 1rem; border-bottom: 1px solid var(--tusche); font-size: .8rem; }
.detail-kopf b { font-weight: 600; margin-right: .35rem; }
.detail-hinweis { color: var(--tusche-2); }
.rechen-tab { width: 100%; border-collapse: collapse; font-family: var(--dok); font-size: 1rem; }
.rechen-tab th { text-align: left; font-weight: 400; padding: .75rem .4rem .75rem 1rem; font-size: .94rem; }
.rechen-tab td, .rechen-tab th { border-bottom: 1px solid var(--hauch); vertical-align: middle; }
.rechen-tab .eingabe { text-align: right; white-space: nowrap; padding: .5rem .2rem; }
.rechen-tab input {
  font: 500 .98rem var(--sans); color: var(--tusche); background: rgba(245, 224, 74, .32); border: 0; border-bottom: 1px dashed var(--tusche-2); border-radius: 2px 2px 0 0;
  width: 5.2rem; text-align: right; padding: .2rem .3rem; font-variant-numeric: lining-nums tabular-nums;
}
.rechen-tab .mehrfach input { width: 2.1rem; text-align: center; }
.rechen-tab .mehrfach span { margin: 0 .15rem; color: var(--tusche-2); }
.rechen-tab input:hover { background: rgba(245, 224, 74, .55); }
.rechen-tab input:focus-visible { outline: 2px solid var(--tusche); outline-offset: 1px; }
.rechen-tab input.ist-falsch { border-bottom-color: transparent; background: var(--stempel-hauch); box-shadow: 0 0 0 2px var(--stempel); border-radius: 999px; }
.rechen-tab .ergebnis { width: 34%; padding: .5rem 1rem .5rem .6rem; font-family: var(--sans); font-size: .82rem; line-height: 1.3; }
.ergebnis .ok, .ergebnis .ab { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.ergebnis .ok { color: var(--gruen); }
.ergebnis .ab { color: var(--stempel); }
.ergebnis svg { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rechner-fuss { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; background: #fafaf9; }
.rechner-stand { font-size: .86rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .rechner-stand.neu { animation: auftauchen .3s ease-out; }
  @keyframes auftauchen { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  .held-film { transition: opacity .3s; }
}

/* Eigener Test: elf Blätter, drei rot */
.test {
  display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(4rem, 8vw, 6.5rem) var(--rand); border-top: 1px solid var(--hauch);
}
.test h2 { margin: 1.1rem 0 1.2rem; }
.test p { font-size: 1.06rem; color: var(--text-2); max-width: 27em; }
.test p.klein { margin-top: .8rem; font-size: .84rem; color: var(--tusche-2); }
.dossiers { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.3rem 1.05rem; }
.dos { position: relative; min-height: 9rem; background: var(--blatt); border: 1px solid var(--linie); border-radius: 2px; padding: .75rem .6rem; font-size: .72rem; color: var(--tusche-2); }
.dos::before { content: ""; position: absolute; left: .6rem; right: .6rem; top: 2.4rem; height: 4.2rem; background: repeating-linear-gradient(#dadee2 0 1px, transparent 1px 10px); }
.dos b { position: absolute; left: .6rem; right: .5rem; bottom: .7rem; font-weight: 600; font-size: .7rem; line-height: 1.3; color: var(--stempel); }
.dos.f { border-color: var(--stempel); }
.dos.f::after {
  content: ""; position: absolute; right: -9px; top: -9px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--stempel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Dunkles Band: was geprüft wird */
.band { background: var(--tusche); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) var(--rand); }
.band .unter { margin-top: 1rem; font-size: 1.06rem; color: var(--nacht-text); max-width: 34em; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.65rem; margin-top: 3.8rem; }
.pruefung > svg { width: 2rem; height: 2rem; fill: none; stroke: var(--marker); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pruefung h3 { font-size: 1.3rem; margin: .95rem 0 .6rem; font-stretch: 95%; }
.pruefung > p { font-size: .91rem; color: var(--nacht-text); line-height: 1.55; }
.pruefung .zettel { margin-top: 1.3rem; background: var(--blatt); color: #2b2e33; border-radius: 3px; padding: 1rem 1.05rem; font: 400 .86rem/1.65 var(--dok); }
.zettel .q { font: 400 .72rem/1 var(--sans); color: var(--tusche-2); margin-right: .35rem; }
.zettel .x { white-space: nowrap; color: var(--stempel); border: 1.5px solid var(--stempel); border-radius: 999px; padding: 0 .35rem; }
.zettel .bef { display: block; margin-top: .6rem; padding-top: .55rem; border-top: 1px solid var(--hauch); font: 600 .78rem/1.3 var(--sans); color: var(--stempel); }
.nicht { display: flex; gap: 1.05rem; align-items: center; margin-top: 2.6rem; padding-top: 1.65rem; border-top: 1px solid #3a4654; font-size: .91rem; color: var(--nacht-text); }
.schraff { flex: none; width: 2.7rem; height: 1.55rem; background: repeating-linear-gradient(135deg, #5b6774 0 1.5px, transparent 1.5px 6px); border: 1px solid #5b6774; }
.nicht b { color: #fff; font-weight: 600; }

/* Für wen */
.wer { padding: clamp(4rem, 8vw, 6.5rem) var(--rand) clamp(3rem, 6vw, 5rem); }
.zeilen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.3rem; margin-top: 2.8rem; }
.zeile { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.4rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--linie); }
.zeile dt { font-size: 1.65rem; font-weight: 500; font-stretch: 92%; letter-spacing: -.02em; line-height: 1.1; }
.zeile dd { font-size: .94rem; color: var(--text-2); }

/* Pilot als Masskette */
.pilot { padding: clamp(2rem, 4vw, 3.5rem) var(--rand) clamp(4rem, 8vw, 6.5rem); }
.masskette-schritte { list-style: none; margin: 3.4rem 0 0; padding: 0; display: flex; }
.masskette-schritte li.a2 { --anteil: 2; }
.masskette-schritte li.a3 { --anteil: 3; }
.masskette-schritte li.a15 { --anteil: 1.5; }
.masskette-schritte li { position: relative; flex: var(--anteil, 1) 1 0; padding: 1.4rem 1.4rem 0 0; border-top: 1.5px solid var(--tusche); }
.masskette-schritte li::before { content: ""; position: absolute; left: 0; top: -9px; width: 1.5px; height: 17px; background: var(--tusche); }
.masskette-schritte li::after { content: ""; position: absolute; left: -6px; top: -1.5px; width: 13px; height: 1.5px; background: var(--tusche); transform: rotate(-45deg); }
.masskette-schritte li:last-child > .dauer::after { content: ""; position: absolute; right: 0; top: calc(100% + .62rem); width: 1.5px; height: 17px; background: var(--tusche); }
.dauer { position: absolute; left: 0; right: 0; top: -2.1rem; text-align: center; font-size: .84rem; font-weight: 600; }
.masskette-schritte h3 { margin-bottom: .4rem; font-size: 1.12rem; font-stretch: 95%; letter-spacing: -.01em; }
.masskette-schritte p { max-width: 20em; font-size: .9rem; color: var(--text-2); }
.pilot-preis { margin-top: 2.6rem; max-width: 44em; font-size: .94rem; color: var(--text-2); }

/* Schlussband mit Baustellenfoto */
.schluss { position: relative; min-height: 30rem; display: flex; align-items: center; overflow: hidden; background: var(--tusche); color: #fff; }
.schluss img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.schluss::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(31, 42, 54, .96) 0, rgba(31, 42, 54, .86) 45%, rgba(31, 42, 54, .35)); }
.schluss-text { position: relative; z-index: 2; width: min(38rem, 100% - 2 * var(--rinne)); margin-left: var(--rand); padding: 4.5rem 0; }
.schluss h2 { font-size: clamp(2.3rem, 4.8vw, 3.55rem); }
.schluss p { margin-top: 1.2rem; font-size: 1.1rem; color: #d2d8de; max-width: 30em; }
.schluss .foto-quelle { position: absolute; z-index: 2; right: var(--rinne); bottom: .8rem; font-size: .68rem; color: #8c96a1; }

/* Formular als Plankopf */
.anfrage { display: grid; grid-template-columns: minmax(0, 28rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(4rem, 8vw, 6rem) var(--rand); }
.anfrage-text { display: grid; gap: .9rem; align-content: start; }
.anfrage-text > p { font-size: 1.06rem; color: var(--text-2); max-width: 27em; }
.anfrage-text .kontakt { font-size: .94rem; color: var(--tusche-2); }
.plankopf-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--tusche); background: var(--blatt); border-radius: 4px; max-width: 48rem; }
.zelle { display: grid; gap: .1rem; padding: .5rem .8rem .55rem; border-right: 1px solid var(--tusche); border-bottom: 1px solid var(--tusche); }
.zelle:nth-child(2n) { border-right: 0; }
.zelle.breit { grid-column: 1 / -1; border-right: 0; }
.zelle:focus-within { box-shadow: inset 0 0 0 2px var(--tusche); }
.zelle label { font-size: .76rem; font-weight: 500; color: var(--tusche-2); }
.optional { font-weight: 400; }
.zelle input, .zelle select, .zelle textarea { font: inherit; font-size: 1rem; color: var(--tusche); background: transparent; border: 0; padding: .2rem 0; width: 100%; outline: none; }
.zelle textarea { resize: vertical; min-height: 4.5rem; }
.zelle select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--tusche) 50%) right .45rem center / 6px 6px no-repeat, linear-gradient(135deg, var(--tusche) 50%, transparent 50%) right .1rem center / 6px 6px no-repeat; padding-right: 1.4rem; }
.zelle [aria-invalid="true"] { box-shadow: 0 2px 0 var(--stempel); }
.einwilligung { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; padding: .8rem; }
.einwilligung input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--tusche); }
.einwilligung label { font-size: .92rem; color: var(--tusche); font-weight: 400; }
.weg { position: absolute; left: -9999px; }
.fehler { grid-column: 1 / -1; padding: .7rem .8rem; color: var(--stempel); font-weight: 600; border-bottom: 1px solid var(--tusche); }
.absenden { border-bottom: 0; padding: 1rem .8rem; justify-items: end; }
.danke { grid-column: 2; padding: 2rem; display: grid; gap: .7rem; align-content: start; border-radius: 4px; max-width: 48rem; }
.danke h3 { font-size: 1.5rem; }

/* Fuss als Plankopf, dunkel */
.fuss { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rinne) 2.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.fuss nav { display: flex; gap: 1.4rem; }
.fuss.plankopf { max-width: none; margin: 0; padding: 0 var(--rand); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--tusche); color: #d2d8de; border-top: 1px solid #3a4654; }
.pk-zelle { padding: 1.3rem 1.4rem 1.5rem; border-right: 1px solid #3a4654; }
.pk-zelle:first-child { padding-left: 0; }
.pk-zelle:last-child { border-right: 0; }
.pk-feld { display: block; font-size: .72rem; color: var(--nacht-text); margin-bottom: .35rem; }
.pk-links { display: flex; gap: 1rem; }

.leiste { display: none; }

/* Rechtstexte */
.recht { max-width: 46rem; margin: 0 auto; padding: 3rem var(--rinne) 5rem; }
.recht h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.6rem; }
.recht h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; letter-spacing: 0; font-stretch: 100%; }
.recht p { max-width: 68ch; }
.recht p + p { margin-top: .7rem; }

/* Der Rechner braucht die ganze Breite, bevor er abgeschnitten wird */
@media (max-width: 1200px) {
  #b.kapitel { grid-template-columns: 1fr; }
  #b .kapitel-text { padding-right: var(--rinne); }
}

/* Tablet: Text über dem Video, Kapitel einspaltig */
@media (max-width: 980px) {
  .achsen-nav { display: none; }
  .held { display: block; height: auto; min-height: 0; max-height: none; }
  .held::after { display: none; }
  .held-text { width: auto; margin: 0; padding: calc(var(--kopf-h) + 2.5rem) var(--rinne) 2.5rem; max-width: 40rem; }
  .held-video { position: relative; aspect-ratio: 16 / 9; }
  .kapitel, .test, .anfrage { grid-template-columns: 1fr; }
  .kapitel { padding-right: 0; padding-left: var(--rinne); }
  .kapitel-text { padding-right: var(--rinne); }
  .drei { grid-template-columns: 1fr; gap: 2.6rem; }
  .zeilen { grid-template-columns: 1fr; }
  .danke { grid-column: 1; }
  .fuss.plankopf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-zelle:nth-child(odd) { padding-left: 0; }
  .pk-zelle:nth-child(2) { border-right: 0; }
  .pk-zelle:nth-child(-n + 2) { border-bottom: 1px solid #3a4654; }
}

/* Telefon */
@media (max-width: 700px) {
  .kopf { gap: .8rem; }
  .marke { font-size: 1rem; }
  .zeichen { width: 1.7rem; }
  .held-text { padding-top: calc(var(--kopf-h) + 1.6rem); padding-bottom: 2rem; }
  .ganz { white-space: normal; }
  .lead { font-size: 1rem; }
  .held-cta .knopf { flex: 1 1 auto; }
  .held-video { aspect-ratio: 4 / 5; }
  .held-poster, .held-film { object-position: 50% 50%; }
  .video-quelle { left: var(--rinne); bottom: 1rem; }
  .pause { bottom: .75rem; }
  .kapitel-bild { border-radius: 4px 0 0 4px; }
  .dunkel-bild { height: 19rem; }
  .ansicht { height: 26rem; }
  .ansicht picture { width: calc(100% - 2rem); }
  .chip { font-size: .74rem; padding: .65rem .85rem; }
  .chip .gross { font-size: 1.12rem; }
  .chip-bericht { width: auto; right: 1rem; }
  .rechner-flaeche { padding: 0; background: none; margin-right: var(--rinne); overflow: visible; }
  .rechner { box-shadow: none; }
  .rechen-tab th { padding-left: .8rem; font-size: .92rem; }
  .rechen-tab tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--hauch); }
  .rechen-tab td, .rechen-tab th { border-bottom: 0; }
  .rechen-tab .ergebnis { grid-column: 1 / -1; width: auto; padding: 0 .8rem .6rem; }
  .rechen-tab .ergebnis:empty { display: none; }
  .rechner-fuss { flex-wrap: wrap; }
  .detail-kopf { flex-wrap: wrap; gap: .2rem .8rem; }
  .dossiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem .7rem; }
  .dos { min-height: 7.5rem; font-size: .66rem; padding: .55rem .45rem; }
  .dos::before { left: .45rem; right: .45rem; top: 2rem; height: 3rem; }
  .dos b { left: .45rem; font-size: .64rem; bottom: .5rem; }
  .zeile { grid-template-columns: 1fr; gap: .4rem; padding: 1.2rem 0; }
  .zeile dt { font-size: 1.4rem; }
  .masskette-schritte { flex-direction: column; margin-top: 1.4rem; border-left: 1.5px solid var(--tusche); }
  .masskette-schritte li { border-top: 0; padding: 0 0 1.6rem 1.2rem; }
  .masskette-schritte li::before { left: -9px; top: .3rem; width: 17px; height: 1.5px; }
  .masskette-schritte li::after { left: -6px; top: .3rem; }
  .dauer { position: static; display: block; text-align: left; margin-bottom: .2rem; }
  .masskette-schritte li:last-child > .dauer::after { display: none; }
  .schluss { min-height: 0; }
  .schluss::before { background: linear-gradient(180deg, rgba(31, 42, 54, .9), rgba(31, 42, 54, .82)); }
  .schluss-text { padding: 3.5rem 0 3.2rem; }
  .schluss .held-cta .knopf { flex: 0 1 auto; }
  .plankopf-form { grid-template-columns: 1fr; }
  .zelle { border-right: 0; }
  .fuss.plankopf { grid-template-columns: 1fr; padding-bottom: 4.2rem; }
  .pk-zelle { padding: .9rem 0; border-right: 0; border-bottom: 1px solid #3a4654; }
  .kopf > .knopf.klein { padding: .5rem .75rem; font-size: .82rem; }
  .leiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; display: flex; align-items: center; gap: .9rem;
    padding: .65rem var(--rinne) calc(.65rem + env(safe-area-inset-bottom)); background: var(--tusche); color: var(--nacht-text); font-size: .88rem;
  }
  .leiste .knopf { padding: .65rem 1rem; }
}
