/* Wählbare Textschriften (nach schrift.css einbinden). Eine App setzt html[data-schrift="…"]; dann gelten
   Text, Titel und Zahlen in dieser Familie. Ohne Attribut bleibt alles wie in schrift.css.
   Selbst gehostet, variable Schriften (Gewicht 400–700), gleiche Zeichenteilmenge wie inter.woff2, soweit die
   Schrift die Zeichen hat; fehlende Zeichen (Griechisch, Indizes) kommen aus Inter.
   --schrift-zahl: Familie für Messwerte, immer mit gleich breiten Ziffern (font-variant-numeric: tabular-nums).
   Lexend hat keine gleich breiten Ziffern, dort stehen die Zahlen in Inter.
   Lizenzen: OFL-*.txt in diesem Ordner. */

@font-face { font-family: 'IBM Plex Sans'; font-weight: 400 700; font-display: swap; src: url(ibm-plex-sans.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-weight: 400 700; font-display: swap; src: url(source-sans-3.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400 700; font-display: swap; src: url(atkinson-hyperlegible-next.woff2) format('woff2'); }
@font-face { font-family: 'Lexend'; font-weight: 400 700; font-display: swap; src: url(lexend.woff2) format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 400 700; font-display: swap; src: url(figtree.woff2) format('woff2'); }

:root { --schrift-zahl: var(--schrift-text); }

html[data-schrift] { --schrift-titel: var(--schrift-wahl); --schrift-text: var(--schrift-wahl); --schrift-zahl: var(--schrift-wahl); }
html[data-schrift="inter"] { --schrift-wahl: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html[data-schrift="plex"] { --schrift-wahl: 'IBM Plex Sans', 'Inter', system-ui, sans-serif; }
html[data-schrift="source"] { --schrift-wahl: 'Source Sans 3', 'Inter', system-ui, sans-serif; }
html[data-schrift="atkinson"] { --schrift-wahl: 'Atkinson Hyperlegible Next', 'Inter', system-ui, sans-serif; }
html[data-schrift="lexend"] { --schrift-wahl: 'Lexend', 'Inter', system-ui, sans-serif; --schrift-zahl: 'Inter', system-ui, sans-serif; }
html[data-schrift="figtree"] { --schrift-wahl: 'Figtree', 'Inter', system-ui, sans-serif; }
html[data-schrift="system"] { --schrift-wahl: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
