/* ══════════════════════════════════════════════════════════════════
   QSS HUB · GRUNDEINSTELLUNGEN
   Alles leitet sich aus tokens.css ab. Keine festen Werte hier.
   ══════════════════════════════════════════════════════════════════ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: var(--t-m);
  line-height: var(--t-m-lh);
  color: var(--text-normal);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--text-stark); font-weight: 600; }
h1 { font-size: var(--t-xl); line-height: var(--t-xl-lh); }
h2 { font-size: var(--t-l); line-height: var(--t-l-lh); }
h3 { font-size: var(--t-m); line-height: var(--t-m-lh); }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--text-aktion); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Sichtbarer Tastaturfokus. Ohne Ausnahme, ueberall. */
:focus-visible {
  outline: 2px solid var(--rand-fokus);
  outline-offset: 2px;
  border-radius: var(--radius);
}

code, kbd, samp, .daten {
  font-family: var(--schrift-daten);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
}

.leise    { color: var(--text-leise); }
.schwach  { color: var(--text-schwach); }
.klein    { font-size: var(--t-s); line-height: var(--t-s-lh); }
.winzig   { font-size: var(--t-xs); line-height: var(--t-xs-lh); }

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