/* =============================================================================
   JG-HAUSDESIGN v6 „Rotstift“ · SCHRIFTEN (Stand 30.10.2026)
   Einzige Schriften für neue Seiten und Dokumente:
     Literata          Überschriften, Wortmarke, Zahlen, Beispielblätter, Buchtext
     Schibsted Grotesk Fließtext, Bedienelemente, Tabellen, Formulare
     Mynerve           nur kurze Randnotizen in Karmin (höchstens fünf Wörter)
   Quelle: Fontsource 5.3.0 (@fontsource-variable/literata, @fontsource-variable/schibsted-grotesk,
   @fontsource/mynerve). Lizenz: SIL Open Font License 1.1, Texte in fonts/OFL-*.txt.
   Pfade relativ zu dieser Datei. Selbst gehostet, keine Anfrage an Google Fonts oder andere Dienste.
   latin-ext lädt per unicode-range nur, wenn solche Zeichen vorkommen; Kursivschnitte nur bei Kursivsatz.
   Einzeldateien (Decks, Karten, Versand): python3 scripts/embed-fonts-v6.py <datei.html>
   ========================================================================== */

/* ---------- Literata (variabel: opsz 7–72, wght 200–900) ---------- */
@font-face {
  font-family: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('fonts/literata-latin-opsz-normal.woff2') format('woff2-variations');
  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: 'Literata Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('fonts/literata-latin-ext-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Kursiv nur, wo der Inhalt es verlangt (Werktitel, Zitierbeispiele, Buchtext) */
@font-face {
  font-family: 'Literata Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url('fonts/literata-latin-opsz-italic.woff2') format('woff2-variations');
  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: 'Literata Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url('fonts/literata-latin-ext-opsz-italic.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Schibsted Grotesk (variabel: wght 400–900) ---------- */
@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  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: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('fonts/schibsted-grotesk-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('fonts/schibsted-grotesk-latin-wght-italic.woff2') format('woff2-variations');
  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: 'Schibsted Grotesk Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('fonts/schibsted-grotesk-latin-ext-wght-italic.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Mynerve (400): nur Randnotizen, nie vorladen, nie in versteckten Texten ---------- */
@font-face {
  font-family: 'Mynerve';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('fonts/mynerve-latin-400-normal.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: 'Mynerve';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('fonts/mynerve-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Ersatzschriften mit angeglichenen Maßen gegen Layoutsprünge ----------
   Werte aus der Design-Richtung Rotstift (Abschnitt 2.2, fontTools 4.68.0, Näherungen,
   im Browser per CLS-Messung zu bestätigen). Auf Android fehlen Georgia und Arial;
   dort greift die generische Ersatzschrift. */
@font-face {
  font-family: 'Literata Ersatz';
  src: local('Georgia Bold'), local('Georgia-Bold');
  font-weight: 500 900;
  size-adjust: 95%;
  ascent-override: 124%;
  descent-override: 32%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Literata Ersatz';
  src: local('Georgia');
  font-weight: 200 499;
  size-adjust: 111%;
  ascent-override: 106%;
  descent-override: 28%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Ersatz';
  src: local('Arial'), local('ArialMT');
  font-weight: 400 599;
  size-adjust: 104.7%;
  ascent-override: 93.3%;
  descent-override: 24.6%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Schibsted Ersatz';
  src: local('Arial Bold'), local('Arial-BoldMT');
  font-weight: 600 900;
  size-adjust: 102.2%;
  ascent-override: 95.6%;
  descent-override: 25.2%;
  line-gap-override: 0%;
}
