/**
 * Lokal gehostete Fonts (Chakra Petch, JetBrains Mono) statt Google-
 * Fonts-CDN — die Seite ist damit nicht mehr darauf angewiesen, dass
 * fonts.googleapis.com/fonts.gstatic.com erreichbar sind.
 *
 * VORAUSSETZUNG: Die unten referenzierten .woff2-Dateien müssen
 * tatsächlich in fonts/chakra-petch/ bzw. fonts/jetbrains-mono/
 * liegen (relativ zu diesem Theme-Ordner). Woher bekommen:
 *
 *   1) https://fonts.google.com/specimen/Chakra+Petch → "Download
 *      family" → die 4 gebrauchten Gewichte (Regular/Medium/
 *      SemiBold/Bold) als .ttf, dann z.B. über
 *      https://cloudconvert.com/ttf-to-woff2 (oder lokal mit
 *      `fonttools`: `fonttools varLib.instancer` bzw. einfacher:
 *      `pip install fonttools brotli` + `python -c "from fontTools.ttLib
 *      import TTFont; f=TTFont('ChakraPetch-Regular.ttf');
 *      f.flavor='woff2'; f.save('ChakraPetch-Regular.woff2')"`)
 *      zu .woff2 konvertieren.
 *   2) https://fonts.google.com/specimen/JetBrains+Mono → dieselbe
 *      Prozedur für Regular/Medium/Bold.
 *   3) Alternativ (einfacher, falls ihr selbst Internetzugriff habt):
 *      `npm install @fontsource/chakra-petch @fontsource/jetbrains-mono`
 *      — die Pakete liefern die .woff2-Dateien direkt fertig mit.
 *
 * Exakte Ziel-Dateinamen siehe unten in den src-Pfaden — bitte beim
 * Ablegen genau danach benennen, sonst greifen die @font-face-Regeln
 * nicht.
 */

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/chakra-petch/ChakraPetch-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/chakra-petch/ChakraPetch-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/chakra-petch/ChakraPetch-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/chakra-petch/ChakraPetch-Bold.woff2') format('woff2');
}

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