/* ============================================================
   Lokale Web-Fonts: Poppins (UI) und JetBrains Mono (Zahlen, Mono).
   Verbindlich laut Design-Handoff §11.

   Die WOFF2-Dateien liegen unter wwwroot/fonts/ im Repository, damit
   keine Anfrage an einen externen CDN nötig ist. Herkunft und Lizenz:
   wwwroot/fonts/README.md und wwwroot/fonts/OFL.txt (SIL Open Font
   License 1.1, erlaubt das Mitliefern ausdrücklich).

   Nur das latin-Subset — das Portal ist ausschließlich deutschsprachig.
   font-display: swap plus der Fallback-Stack aus tokens.css
   (--font-ui / --font-mono) halten die App auch nutzbar, solange die
   Schriften noch laden.
   ============================================================ */

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* JetBrains Mono liefert Google Fonts als Variable Font: die Dateien für 400 und
   500 waren byteidentisch. Daher verweist auch diese Regel auf dieselbe Datei —
   der Browser instanziiert daraus den Schnitt 500. Spart eine doppelte Datei. */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono/jetbrains-mono-400.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
