/*
 * Schriften – lokal ausgeliefert (kein Google-Fonts-Abruf, DSGVO-konform und ohne Umweg über
 * fremde Server). Quelle: @fontsource/poppins und @fontsource/bebas-neue, Teilmenge "latin"
 * (enthält Umlaute, ß und €). Lizenz: SIL Open Font License, siehe assets/fonts/OFL-*.txt.
 *
 * Gegen das sichtbare Umspringen beim Laden:
 *  - layout_head.php und login.php laden die wichtigsten Dateien per <link rel="preload">
 *  - die Ersatzschriften "Poppins Ersatz"/"Bebas Ersatz" sind per size-adjust auf die Maße der
 *    echten Schrift gebracht, falls doch kurz die Ersatzschrift zu sehen ist, verschiebt sich nichts
 */

@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/bebas-neue-latin-400-normal.woff2') format('woff2'); }

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

/* Metrisch angeglichene Ersatzschriften (Werte nach den Schriftmetriken von Poppins bzw. Bebas Neue) */
@font-face { font-family: 'Poppins Ersatz'; src: local('Arial'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 112.2%; ascent-override: 93.6%; descent-override: 31.2%; line-gap-override: 8.9%; }
@font-face { font-family: 'Bebas Ersatz'; src: local('Arial Narrow'), local('Arial');
  size-adjust: 83%; ascent-override: 108%; descent-override: 36%; line-gap-override: 0%; }
