/* Grundlagen der Anwendung (REQ-010 Schritt 13, übernommen aus den Gestaltungs-Mockups (REQ-012),
   Abschnitt 1, REQ-012). Farben, Schriften und Abstände nur über var(--…) aus tokens.css (AK-31).
   Einbindung: tokens.css, base.css, layout.css, components.css. Keine Inline-Stile (CSP). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-2);
  line-height: var(--lh-ui);
  color: var(--color-ink);
  background-color: var(--color-bg);
}
/* Papierstruktur nur am Seitenhintergrund (ci-design-tokens.md, 3.2) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--texture-paper);
  background-size: 384px 384px;
  opacity: var(--texture-opacity);
  pointer-events: none;
}
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }
.num { font-family: var(--font-numeric); line-height: var(--lh-numeric); font-variant-numeric: tabular-nums; }
.display { font-family: var(--font-display); font-weight: 400; line-height: var(--lh-display); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
