/*
 * fotoadmin — Schriften
 *
 * DM Sans und DM Mono liegen als woff2 im selben Ordner. Beide standen
 * früher bei Google Fonts; damit ging bei jedem Aufruf die IP-Adresse
 * des Besuchers dorthin. Jetzt kommen sie vom eigenen Server, und es
 * geht nichts mehr nach außen.
 *
 * Die Dateien stammen aus den npm-Paketen @fontsource/dm-sans und
 * @fontsource/dm-mono (SIL Open Font License 1.1). Zum Aktualisieren
 * die Pakete neu ziehen und die woff2-Dateien hier ersetzen; die Namen
 * sind dieselben.
 *
 * Nur der Zeichensatz "latin" ist dabei. Der deckt Deutsch samt
 * Umlauten und Eszett ab. Wer kyrillische oder osteuropäische Zeichen
 * braucht, holt sich zusätzlich die latin-ext-Dateien.
 *
 * font-display: swap sorgt dafür, dass der Text sofort in einer
 * Ersatzschrift erscheint und nicht erst, wenn die Datei geladen ist.
 */

/* ── DM Sans ─────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('dm-sans-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('dm-sans-latin-300-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('dm-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('dm-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('dm-sans-latin-600-normal.woff2') format('woff2');
}

/* ── DM Mono ─────────────────────────────────────────────────────── */

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('dm-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('dm-mono-latin-500-normal.woff2') format('woff2');
}
