@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Ersatz";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 107%;
  ascent-override: 90.5%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Mono Ersatz";
  src: local("Menlo"), local("Consolas"), local("Courier New");
  size-adjust: 99.7%;
  ascent-override: 102.3%;
  descent-override: 30.1%;
  line-gap-override: 0%;
}

:root {
  --schwarz: #15130F;
  --papier: #FAF8F5;
  --karte: #FFFFFF;
  --kupfer: #C2571A;
  --kupfer-dunkel: #D2611E;
  --kupfer-text: #A8420F;
  --grau: #6B6560;
  --linie: #E6E2DC;
  --rot: #B42318;
  --gruen: #187A3A;
  --ocker: #8A5A00;
  --ocker-grund: #FBF3DC;

  --text: "Inter", "Inter Ersatz", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Mono Ersatz", ui-monospace, monospace;
  --abstand: 128px;
  --rand: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--schwarz);
  font-family: var(--text);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
strong, b, th { font-weight: 600; }
img, svg { display: block; }

.mono {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}
.klein {
  font-size: 14px;
  line-height: 20px;
  color: var(--grau);
}
h1 {
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
h2 {
  font-size: 32px;
  line-height: 38px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}
p { max-width: 64ch; }

.wrap {
  max-width: calc(1120px + 2 * var(--rand));
  margin: 0 auto;
  padding: 0 var(--rand);
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nur-vorleser {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Links und Knöpfe: Unterstrich wächst, nie Orange beim Hover */
a { color: inherit; text-decoration: none; }
.textlink {
  position: relative;
  display: inline-block;
}
.textlink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleY(.5);
  transform-origin: 50% 100%;
  transition: transform 120ms cubic-bezier(.4, 0, .2, 1);
}
.textlink:hover::after { transform: scaleY(1); }
.kupferlink { color: var(--kupfer-text); }

.knopf {
  position: relative;
  display: inline-block;
  background: var(--schwarz);
  color: #FFFFFF;
  border-radius: 2px;
  padding: 14px 24px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
.knopf::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 11px;
  height: 1px;
  background: #FFFFFF;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 120ms cubic-bezier(.4, 0, .2, 1);
}
.knopf:hover::after { transform: scaleX(1); }

:focus-visible {
  outline: 2px solid var(--schwarz);
  outline-offset: 3px;
  border-radius: 2px;
}
.fuss :focus-visible { outline-color: #FFFFFF; }

.sprunglink {
  position: absolute;
  left: 20px; top: -100px;
  background: var(--schwarz);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: 2px;
  z-index: 20;
}
.sprunglink:focus { top: 8px; }

/* A. Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 56px;
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.marke { display: flex; align-items: center; gap: 10px; }
.tor { width: 29px; height: 24px; flex: none; }
.tor path {
  fill: none;
  stroke: var(--schwarz);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tor .tor-bogen { stroke-width: 5.5; }
.tor .tor-haken { stroke-width: 6.5; }
.wortmarke {
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.kopf .textlink { font-size: 16px; line-height: 24px; }

/* B. Hero */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 56px;
  padding-top: 96px;
  align-items: start;
}
.hero-text { grid-column: 1 / 13; }
.pruefblatt { grid-column: 1 / 13; }
.unterzeile { margin-top: 24px; }
.aktion { margin-top: 40px; }
.aktion + .klein { margin-top: 16px; }

.blatt {
  position: relative;
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 2px;
}
.blatt-kopf {
  max-width: none;
  color: var(--grau);
  padding: 16px 24px;
  border-bottom: 1px solid var(--linie);
}

.pruefblatt { max-width: 520px; }
.pruef-kopf {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 16px 16px 24px;
}
.kopf-text { display: flex; flex-direction: column; max-width: none; }
.kopf-text span { white-space: nowrap; }
.stempel-ort {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
}
.stempel-dreh { transform: rotate(-4deg); }
.stempel {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.stempel svg { width: 96px; height: 96px; overflow: visible; }
.stempel circle,
.stempel path {
  fill: none;
  stroke: var(--kupfer);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stempel text {
  fill: var(--kupfer);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.abgleich { position: relative; padding: 12px 24px; }
.prueflinie {
  position: absolute;
  left: 24px; right: 24px; top: 12px;
  height: 1px;
  background: var(--schwarz);
  opacity: 0;
}
.zeilen { width: 100%; }
.zeilen th, .zeilen td { padding: 10px 0; text-align: left; font-weight: 400; }
.zeilen .zahl { text-align: right; white-space: nowrap; padding-left: 16px; }
.unterstrich { position: relative; display: inline-block; }
.unterstrich svg {
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 2px;
  overflow: visible;
}
.unterstrich line {
  stroke: var(--rot);
  stroke-width: 2px;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.befund {
  border-top: 1px solid var(--linie);
  padding: 16px 24px 20px;
}
.befund p { white-space: nowrap; max-width: none; }
.befund .betrag {
  color: var(--rot);
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
  padding-left: 24px;
  margin-top: 2px;
}
.verweis { color: var(--grau); margin-top: 2px; padding-left: 24px; }
.pruefblatt figcaption { padding: 0 24px 16px; }

/* Status: Farbe + Symbol + Wort */
.status { display: inline-flex; align-items: flex-start; gap: 8px; }
.status .symbol { width: 16px; height: 16px; flex: none; margin-top: 6px; }
.status.abw { color: var(--rot); }
.status.ok { color: var(--gruen); }
.status.unsicher {
  color: var(--ocker);
  background: var(--ocker-grund);
  border-radius: 2px;
  padding: 0 8px;
}
.befund .status { display: flex; }

/* Abschnitte */
.abschnitt { margin-top: var(--abstand); }

/* C. Beispielbericht */
.bericht-tabelle { width: 100%; }
.bericht-tabelle th,
.bericht-tabelle td {
  text-align: left;
  vertical-align: top;
  padding: 16px 16px 16px 0;
  border-top: 1px solid var(--linie);
}
.bericht-tabelle tr > :first-child { padding-left: 24px; }
.bericht-tabelle tr > :last-child { padding-right: 24px; }
.bericht-tabelle thead th {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--grau);
  border-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
.bericht-tabelle .titel { position: relative; width: 20%; }
.bericht-tabelle .belege { width: 30%; }
.bericht-tabelle .ergebnis { width: 34%; }
.bericht-tabelle .stelle { color: var(--grau); width: 16%; }
.betrag-zeile { white-space: nowrap; }
.bericht-tabelle .ergebnis { font-size: 16px; line-height: 24px; }
.bericht-tabelle .ergebnis .symbol { margin-top: 4px; }
.bericht-tabelle .ergebnis .mono { font-size: 15px; }
.markierung {
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--kupfer);
}
.nach-bericht { margin-top: 32px; }
.fuer-wen { margin-top: 16px; color: var(--grau); }

/* C2. Prüfen Sie selbst */
.pruefen { --sp-pos: 28px; --sp-menge: 72px; --sp-preis: 64px; --sp-rand: 16px; }
.blaetter { display: grid; gap: 24px; max-width: 560px; margin-top: 40px; }
.beleg-blatt .blatt-kopf { padding: 14px var(--sp-rand); }
.belegzeilen { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.belegzeilen th, .belegzeilen td { padding: 13px 0; text-align: left; font-weight: 400; white-space: nowrap; }
.belegzeilen thead th, .spalten { font-size: 14px; line-height: 20px; color: var(--grau); padding-top: 12px; padding-bottom: 8px; }
.belegzeilen tbody td, .belegzeilen li { position: relative; border-top: 1px solid var(--linie); }
.belegzeilen :is(th, td):first-child { width: calc(var(--sp-pos) + var(--sp-rand)); padding-left: var(--sp-rand); }
.belegzeilen :is(th, td):nth-child(n+3) { width: var(--sp-menge); text-align: right; }
.belegzeilen :is(th, td):last-child { width: calc(var(--sp-preis) + var(--sp-rand)); padding-right: var(--sp-rand); }
.ohne-preis :is(th, td):last-child { width: calc(var(--sp-menge) + var(--sp-rand)); }
.pos, .loesung-knopf { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
.spalten, .pos, li.fracht {
  display: grid;
  grid-template-columns: var(--sp-pos) minmax(0, 1fr) var(--sp-menge) var(--sp-preis);
  padding: 12px var(--sp-rand) 8px;
  max-width: none;
}
.spalten > :nth-child(n+3), :is(.pos, li.fracht) > :nth-child(-n+4):nth-child(n+3) { text-align: right; }
.pos {
  grid-template-rows: 22px 18px;
  width: 100%;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
  text-align: left;
  scroll-margin-top: 72px;
}
li.fracht { padding-top: 13px; padding-bottom: 13px; line-height: 22px; }
:is(.pos, li.fracht) > span { white-space: nowrap; }
.pos .st { grid-column: 2 / -1; font-family: var(--text); font-size: 14px; line-height: 18px; }
.st .status .symbol { margin-top: 1px; }
.status.stimmt { color: var(--grau); }
.status[hidden] { display: none; }
.pos:disabled, .pos[aria-disabled] { cursor: default; color: var(--schwarz); opacity: 1; -webkit-text-fill-color: var(--schwarz); }
.pos .status { -webkit-text-fill-color: currentColor; }
.pos:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .pos:not(:disabled):not([aria-disabled]):hover { background: var(--papier); }
}
.kupferstrich { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--kupfer); }
.ergebnis-feld {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--linie);
  border-radius: 2px;
  background: var(--karte);
  outline: none;
}
.ergebnis-feld p > span { display: block; }
.ergebnis-feld p > span:empty { display: none; }
.e-titel + .e-loesung { margin-top: 4px; }
.pruefen.geloest .e-titel { font-weight: 600; }
html.js .pruefen:not(.geloest) .ergebnis-feld:not(.offen) { margin: 0; padding: 0; border: 0; }
html.js .pruefen:not(.geloest) .ergebnis-feld:not(.offen) p > span { display: none; }
.loesung { margin-top: 24px; }
.pruefen.geloest .loesung { display: none; }
.loesung-knopf { visibility: hidden; }
html.js .pruefen.bereit:not(.geloest) .loesung-knopf { visibility: visible; }
html.js .pruefen:not(.geloest) :is(.kupferstrich, .treffer .st) { visibility: hidden; }
html:not(.js) .rechner { display: none; }

.posteingang { margin-top: 96px; }
h3 { font-size: 22px; line-height: 30px; font-weight: 600; margin: 0 0 24px; }
.felder { display: grid; gap: 24px; align-items: end; max-width: 760px; }
.feld label, .feld .klein, .ausgabe, .ausgabe > span { display: block; }
.feld label { margin-bottom: 8px; }
.feld input {
  width: 240px;
  max-width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--linie);
  border-radius: 2px;
  background: var(--karte);
  color: inherit;
  font: inherit;
  font-size: 17px;
  line-height: 24px;
}
.feld input::placeholder { color: var(--grau); opacity: 1; }
.ausgabe > span { max-width: 64ch; }
.ausgabe > span:empty { display: none; }
.ausgabe-zahl { margin-top: 32px; font-size: 40px; line-height: 48px; font-weight: 600; }
.ausgabe-herkunft { margin-top: 24px; }
.schluss-satz { margin-top: 40px; }
.posteingang .aktion { margin-top: 24px; }

/* D. Ablauf */
.schritte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 24px;
  border-top: 1px solid var(--linie);
}
.schritte li { padding-top: 24px; padding-right: 24px; }
.schritte li + li { border-left: 1px solid var(--linie); padding-left: 24px; }
.nr { display: block; color: var(--grau); margin-bottom: 12px; }
.nr[data-kupfer] { color: var(--kupfer-text); }
.schritte + .klein { margin-top: 32px; }

/* E. Vertraulichkeit */
.vertraulich {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
  align-items: start;
}
.vertraulich-text { grid-column: 1 / 8; }
.beleg { grid-column: 8 / 13; }
.haken-liste li { display: flex; gap: 12px; }
.haken-liste li + li { margin-top: 12px; }
.haken { width: 16px; height: 16px; flex: none; margin-top: 6px; color: var(--schwarz); }
.haken-liste + p { margin-top: 32px; }
.vertraulich-text .klein { margin-top: 16px; }
.beleg-felder { padding: 8px 24px 16px; }
.beleg-felder div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.beleg-felder div + div { border-top: 1px solid var(--linie); }
.beleg-felder dt { color: var(--grau); }
.beleg-felder dd { text-align: right; }
.geschwaerzt { position: relative; display: inline-block; }
.balken {
  position: absolute;
  left: -4px; right: -4px; top: 2px; bottom: 2px;
  background: var(--schwarz);
  border-radius: 2px;
  transform-origin: 0 50%;
}

/* F. Person */
.person { display: flex; gap: 24px; align-items: flex-start; }
.foto { width: 96px; height: 96px; border-radius: 2px; filter: grayscale(1); flex: none; }
.foto[hidden] { display: none; }

/* G. Schluss */
.schluss .aktion { margin-top: 0; }

/* H. Fuß */
.fuss {
  margin-top: var(--abstand);
  background: var(--schwarz);
  color: var(--papier);
  padding: 64px 0;
}
.fuss-innen {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.fuss-marke { display: flex; align-items: center; gap: 14px; }
.fuss .tor { width: 39px; height: 32px; }
.fuss .tor .tor-bogen { stroke: #FFFFFF; }
.fuss .tor .tor-haken { stroke: var(--kupfer-dunkel); }
.fuss-marke p { font-size: 18px; font-weight: 600; }
.fuss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  line-height: 20px;
}

/* Unterseiten */
.text-seite { padding-top: 80px; }
.text-seite h1 { font-size: 40px; line-height: 46px; max-width: none; margin-bottom: 40px; }
.text-seite h2 { font-size: 22px; line-height: 30px; margin: 48px 0 12px; }
.text-seite p + p { margin-top: 12px; }
.text-seite ul { margin-top: 12px; }
.text-seite ul li { padding-left: 20px; position: relative; max-width: 64ch; }
.text-seite ul li::before { content: "–"; position: absolute; left: 0; color: var(--grau); }
.text-seite ul li + li { margin-top: 6px; }
.text-seite ul + p { margin-top: 12px; }
.angaben { margin-top: 24px; }
.angaben dt { font-weight: 600; }
.angaben dd { max-width: 64ch; }
.angaben dd + dt { margin-top: 20px; }
.anschrift { font-style: normal; }
.platzhalter {
  background: var(--ocker-grund);
  color: var(--ocker);
  border-radius: 2px;
  padding: 0 6px;
}

/* Bewegung: Startzustände nur mit JS und ohne Wunsch nach reduzierter Bewegung */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.motion-done) .pruefblatt:not(.fertig) .zeilen tr { color: var(--grau); }
  html.js:not(.motion-done) .pruefblatt:not(.fertig) .unterstrich line { stroke-dashoffset: 1; }
  html.js:not(.motion-done) .pruefblatt:not(.fertig) .befund { opacity: 0; transform: translateY(4px); }
  html.js:not(.motion-done) .pruefblatt:not(.fertig) .stempel { opacity: 0; transform: scale(1.15); }
  html.js:not(.motion-done) .beleg:not(.fertig) .balken { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .textlink::after, .knopf::after { transition: none; }
}

/* Breiten */
@media (min-width: 1024px) {
  .bericht-tabelle .stelle { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .blaetter { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .belegzeilen tbody td, li.fracht { padding-top: 8px; padding-bottom: 26px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pruefen { --sp-pos: 28px; --sp-menge: 58px; --sp-preis: 56px; --sp-rand: 12px; }
  .belegzeilen tbody, ol.belegzeilen { font-size: 13px; }
}
@media (min-width: 768px) {
  .felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .hero-text { grid-column: 1 / 7; }
  .pruefblatt { grid-column: 8 / 13; max-width: none; }
}
@media (max-width: 1199px) {
  :root { --rand: 32px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  h1 { font-size: 48px; line-height: 52px; }
  .hero-text { grid-column: 1 / 8; }
  .pruefblatt { grid-column: 8 / 13; }
}
@media (max-width: 959px) {
  .vertraulich-text, .beleg { grid-column: 1 / 13; }
  .beleg { max-width: 520px; }
}
@media (max-width: 767px) {
  :root { --abstand: 80px; --rand: 20px; }
  body { font-size: 17px; line-height: 26px; }
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 26px; line-height: 32px; margin-bottom: 28px; }
  .hero { padding-top: 40px; row-gap: 40px; }
  .unterzeile { margin-top: 20px; }
  .aktion { margin-top: 32px; }

  .pruef-kopf { padding: 16px 16px 16px 16px; }
  .stempel-ort { width: 80px; height: 80px; }
  .stempel svg { width: 80px; height: 80px; }
  .stempel text { font-size: 13.2px; transform: translateY(3px); }
  .abgleich { padding: 8px 16px; }
  .prueflinie { left: 16px; right: 16px; top: 8px; }
  .befund { padding: 14px 16px 16px; }
  .verweis { padding-left: 24px; }
  .pruefblatt figcaption { padding: 0 16px 14px; }
  .blatt-kopf { padding: 14px 16px; }

  .bericht-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bericht-tabelle, .bericht-tabelle tbody { display: block; }
  .bericht-tabelle tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 12px;
    row-gap: 4px;
    padding: 14px 16px;
    border-top: 1px solid var(--linie);
    position: relative;
  }
  .bericht-tabelle tbody tr:first-child { border-top: 0; }
  .bericht-tabelle th,
  .bericht-tabelle td,
  .bericht-tabelle tr > :first-child,
  .bericht-tabelle tr > :last-child,
  .bericht-tabelle .titel,
  .bericht-tabelle .belege,
  .bericht-tabelle .stelle { display: block; padding: 0; border: 0; width: auto; }
  .bericht-tabelle .titel, .bericht-tabelle .belege { flex: 0 0 100%; }
  .bericht-tabelle .belege:empty { display: none; }

  .bericht-tabelle .stelle:empty { display: none; }
  .markierung { left: -16px; top: 2px; bottom: 2px; }

  .posteingang { margin-top: 64px; }
  .feld input { width: 100%; }
  .ausgabe-zahl { font-size: 32px; line-height: 40px; }

  .schritte { grid-template-columns: 1fr; }
  .schritte li { padding: 20px 0; }
  .schritte li + li { border-left: 0; border-top: 1px solid var(--linie); padding-left: 0; }
  .schritte + .klein { margin-top: 12px; }

  .beleg-felder { padding: 4px 16px 12px; }
  .beleg-felder div { flex-direction: column; gap: 2px; }
  .beleg-felder dd { text-align: left; }
  .person { flex-direction: column; }
  .fuss { padding: 48px 0; }
  .fuss-innen { flex-direction: column; align-items: stretch; gap: 28px; }
  .fuss-links { flex-direction: column; gap: 0; }
  .fuss-links li { padding: 12px 0; }
  .fuss-links li:first-child { padding-top: 0; }
  .fuss-links li + li { border-top: 1px solid rgba(255, 255, 255, .15); }
  .fuss-links li:last-child { color: #8F8882; padding-bottom: 0; }
  .text-seite { padding-top: 40px; }
  .text-seite h1 { font-size: 32px; line-height: 38px; }
}
@media (max-width: 479px) {
  .kopf-text { font-size: 13px; line-height: 20px; }
  .befund .status { font-size: 16px; line-height: 24px; }
  .befund .status .symbol { margin-top: 4px; }
  .befund .betrag { font-size: 15px; line-height: 22px; }
}
@media (max-width: 399px) {
  .kopf .textlink { font-size: 15px; }
}
@media (max-width: 389px) {
  .pruefen { --sp-pos: 28px; --sp-menge: 64px; --sp-preis: 60px; --sp-rand: 12px; }
  .belegzeilen tbody, ol.belegzeilen { font-size: 14px; }
}
@media (max-width: 359px) {
  .kopf-punkt { display: block; height: 0; overflow: hidden; }
  .pruefen { --sp-pos: 24px; --sp-menge: 52px; --sp-preis: 54px; --sp-rand: 10px; }
  .belegzeilen tbody, ol.belegzeilen { font-size: 12px; }
  .belegzeilen thead th, .spalten { font-size: 12px; }
  .zeilen { font-size: 13px; }
  .zeilen .zahl { padding-left: 12px; }
  .befund .status { font-size: 14px; line-height: 24px; }
  .befund .betrag, .verweis { font-size: 13px; }
  .kopf-innen { gap: 12px; }
  .marke { gap: 8px; }
  .kopf .textlink { font-size: 14px; white-space: nowrap; }
}
