/* ============================================================
   Schriften – alle lokal, kein CDN (DSGVO)

   Lückenfüller-Trick: Für Janz und Kirilir gibt es je zwei
   @font-face-Regeln unter demselben Namen. Die Hausschrift kriegt
   per unicode-range alles AUSSER den kaputten/fehlenden Zeichen,
   Space Mono kriegt GENAU diese. So nimmt der Browser nie die
   kaputte „8“ aus Janz, auch wenn sie in der Zeichentabelle steht.

   Janz:    : / % 8 @   → Space Mono  (U+3A U+2F U+25 U+38 U+40)
   Kirilir: : % 8 @     → Space Mono  (U+3A U+25 U+38 U+40)
   ============================================================ */

@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Mono";
  src: url("../fonts/spacemono-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* --- Janz Einfach --- */
@font-face {
  font-family: "Janz";
  src: url("../fonts/JanzEinfachBuchstabe.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-0024, U+0026-002E, U+0030-0037, U+0039, U+003B-003F, U+0041-10FFFF;
}
@font-face {
  font-family: "Janz";
  src: url("../fonts/spacemono.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0025, U+002F, U+0038, U+003A, U+0040;
}

/* --- Janz für Zahlen (Eskalometer): zusätzlich Komma und Punkt aus
   Space Mono, sonst liest sich „23,8“ wie „238“ (Janz-Komma ist winzig) --- */
@font-face {
  font-family: "Janz Zahl";
  src: url("../fonts/JanzEinfachBuchstabe.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-0024, U+0026-002B, U+002D, U+0030-0037, U+0039, U+003B-003F, U+0041-10FFFF;
}
@font-face {
  font-family: "Janz Zahl";
  src: url("../fonts/spacemono.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0025, U+002C, U+002E, U+002F, U+0038, U+003A, U+0040;
}

/* --- Kirilir (KIRILIRFONTnummerzwo) --- */
@font-face {
  font-family: "Kirilir";
  src: url("../fonts/kirilir2.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0000-0024, U+0026-0037, U+0039, U+003B-003F, U+0041-10FFFF;
}
@font-face {
  font-family: "Kirilir";
  src: url("../fonts/spacemono.woff2") format("woff2");
  font-display: swap;
  unicode-range: U+0025, U+0038, U+003A, U+0040;
}

:root {
  --schrift-janz: "Janz", "Space Mono", ui-monospace, monospace;
  --schrift-janz-zahl: "Janz Zahl", "Space Mono", ui-monospace, monospace;
  --schrift-kirilir: "Kirilir", "Space Mono", ui-monospace, monospace;
  --schrift-mono: "Space Mono", ui-monospace, monospace;
}
