/*
 * Lokale @font-face-Deklarationen — SV 1970 Wissenbach e.V.
 * Design-System (design/wissenbach.css) nutzt ausschließlich diese zwei
 * Familien. Quelle: @fontsource-variable-Pakete (SIL Open Font License),
 * lokal vendored nach public/vendor/fonts/<familie>/. KEINE CDN-Requests,
 * KEIN Google Fonts (DSGVO) — alle Dateien liegen lokal im Repo.
 *
 * Pfade sind relativ zu dieser Datei (public/vendor/fonts/fonts.css).
 *
 * LIZENZ: SIL Open Font License 1.1 — Lizenztext liegt neben jeder Schrift
 * (<familie>/OFL.txt) und wird mit deployt. Quelle: @fontsource-variable/
 * big-shoulders-display 5.3.0 bzw. /karla 5.3.0 (woff2 byte-identisch);
 * Copyright-Zeile Big Shoulders nach dem Upstream-Projekt (xotypeco).
 *
 * PRELOAD (gegen Font-Swap-Layoutsprünge, Technik-Review P5) — in jedem
 * <head> VOR dem Stylesheet (Pfade relativ zur Seite, 404.html absolut):
 *   <link rel="preload" href="public/vendor/fonts/big-shoulders-display/big-shoulders-display-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin>
 *   <link rel="preload" href="public/vendor/fonts/karla/karla-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin>
 */

/* Big Shoulders (Variable, Paket: big-shoulders-display) — Condensed-Display
   für Eyebrows, Überschriften, Zahlen/Daten. */
@font-face {
  font-family: 'Big Shoulders';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./big-shoulders-display/big-shoulders-display-latin-wght-normal.woff2') format('woff2-variations'),
       url('./big-shoulders-display/big-shoulders-display-latin-wght-normal.woff2') format('woff2');
}

/* Karla (Variable) — Fließtext/UI-Sans */
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('./karla/karla-latin-wght-normal.woff2') format('woff2-variations'),
       url('./karla/karla-latin-wght-normal.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Metrisch angepasste Fallbacks (nur lokale Systemschriften, kein Download).
   Bis die Webfont da ist, rendert der Browser Arial Narrow bzw. Arial, auf
   Laufweite + Ober-/Unterlänge der Webfont skaliert — dadurch springen Nav,
   Überschriften und Absätze beim Font-Swap kaum (Ziel CLS < 0,1).
   Werte gemessen 24.09.2026 in Chrome (Canvas-measureText, Versal- und
   Fließtext-Stichproben): Big Shoulders Ascent .98 / Descent .21 em,
   Karla .92 / .25 em. Zwei Gewichtsbereiche, weil 600 und 700 der
   Variable-Font unterschiedlich breit laufen.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'BS Fallback Narrow';
  src: local('Arial Narrow Bold'), local('ArialNarrow-Bold');
  font-weight: 100 650;
  size-adjust: 68.45%; ascent-override: 143.2%; descent-override: 30.7%; line-gap-override: 0%;
}
@font-face {
  font-family: 'BS Fallback Narrow';
  src: local('Arial Narrow Bold'), local('ArialNarrow-Bold');
  font-weight: 651 900;
  size-adjust: 74.04%; ascent-override: 132.4%; descent-override: 28.4%; line-gap-override: 0%;
}
@font-face {
  font-family: 'BS Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold');
  font-weight: 100 650;
  size-adjust: 56.13%; ascent-override: 174.6%; descent-override: 37.4%; line-gap-override: 0%;
}
@font-face {
  font-family: 'BS Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'), local('Helvetica-Bold');
  font-weight: 651 900;
  size-adjust: 60.71%; ascent-override: 161.4%; descent-override: 34.6%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Karla Fallback';
  src: local('Arial'), local('ArialMT'), local('Helvetica');
  font-weight: 100 550;
  size-adjust: 103.43%; ascent-override: 88.9%; descent-override: 24.2%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Karla Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold');
  font-weight: 551 900;
  size-adjust: 100.22%; ascent-override: 91.8%; descent-override: 24.9%; line-gap-override: 0%;
}
