/* Zuruecksetzen und Grundelemente. Kein View-Wissen hier drin. */

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--leinwand);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: var(--gr-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 600; margin: 0; letter-spacing: -.02em; }

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--text);   /* überall derselbe Tintenring, wie im Leitstand */
  outline-offset: 2px;
  border-radius: var(--r-klein);
}

.zahl { font-variant-numeric: tabular-nums; }

.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.panne {
  margin: 0; padding: var(--a4); border-radius: var(--r-mittel);
  background: var(--spaet-sanft); border: 1px solid var(--spaet-rand); color: var(--spaet-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--gr-klein); line-height: 1.55; white-space: pre-wrap;
}
