/*
 * Selbst gehostete Webfonts (keine Verbindung zu Google -> DSGVO). Owner: Worker Two.
 * Genau 4 Schnitte laut R1-18 / BRIEFING 12.14:
 *   Barlow 400 (Fliesstext), Barlow 600 (Hervorhebungen, Buttons),
 *   Barlow Semi Condensed 700 + 800 (Ueberschriften, Schraegbalken).
 * Subset "latin" von Google Fonts (woff2): enthaelt alle deutschen Sonderzeichen (U+0000-00FF) sowie
 * Typografie U+2000-206F (Gedankenstrich, „“‚‘, …) und das Euro-Zeichen. Zeichen ausserhalb -> Systemschrift.
 * Lizenz: SIL Open Font License 1.1 -> OFL.txt in diesem Ordner. Copyright 2017 The Barlow Project Authors.
 * URLs relativ zu dieser CSS-Datei. Preload (mit crossorigin!) nur fuer Schnitte above the fold,
 * z. B. barlow-400-latin.woff2 und barlow-semi-condensed-800-latin.woff2.
 *
 * Fallback-Familien mit angepassten Metriken (gegen Layout-Verschiebung beim Font-Tausch), gemessen gegen Arial:
 *   font-family: 'Barlow', 'Barlow Fallback', Arial, sans-serif;
 *   font-family: 'Barlow Semi Condensed', 'Barlow Semi Condensed Fallback', 'Arial Narrow', Arial, sans-serif;
 */

/* ---------- Webfonts ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('barlow-semi-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('barlow-semi-condensed-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Fallbacks mit Metrik-Anpassung (lokale Arial; keine Datei-Downloads) ----------
   Werte: Laufweite eines deutschen Mustertexts Barlow/Arial (size-adjust) und hhea-Metriken, gemessen 20.10.2026. */
@font-face {
  font-family: 'Barlow Fallback';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('ArialMT');
  size-adjust: 95.6%;
  ascent-override: 104.6%;
  descent-override: 20.9%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Barlow Fallback';
  font-style: normal;
  font-weight: 600;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 91%;
  ascent-override: 109.9%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Barlow Semi Condensed Fallback';
  font-style: normal;
  font-weight: 700;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 83.6%;
  ascent-override: 119.6%;
  descent-override: 23.9%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Barlow Semi Condensed Fallback';
  font-style: normal;
  font-weight: 800;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 84.9%;
  ascent-override: 117.8%;
  descent-override: 23.6%;
  line-gap-override: 0%;
}
