/* Basis: Reset und Grundschrift. Farben nur über tokens.css. */

*, *::before, *::after { box-sizing: border-box; }
/*
 * Am Handy: kein graues oder blaues Rechteck beim Antippen (die Rückmeldung kommt aus den :active-Regeln der Bauteile),
 * kein Warten auf einen zweiten Tipp und kein markierter Text, wenn man lange auf einen Knopf drückt.
 */
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, summary, label, select, input, [role="button"] { touch-action: manipulation; }
button, summary, .knopf { -webkit-user-select: none; user-select: none; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-weight: 400;
  font-size: var(--fs-text);
  line-height: 1.5;
  color: var(--tinte);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* nur für Vorleseprogramme */
.nur-vorleser {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
