/*
 * Die Schriften von takt — AUSSCHLIESSLICH aus dem eigenen Haus.
 *
 * WARUM DIESE DATEI EXISTIERT (Audit PORTAL-15, API-23, DSGVO-34):
 * Bis hierher lud `index.html` vier Stylesheets von Googles Schrift-Servern
 * und von dort auch die Schriftdateien selbst. Dieselbe
 * `index.html` traegt das Kundencenter unter `/portal` — der Browser eines
 * Hauseigentuemers, der mit takt keinen Vertrag hat, nahm also schon beim
 * Oeffnen des Einladungslinks Verbindung zu einem Drittanbieter auf, VOR
 * jedem Datenschutzhinweis und vor jeder Einlassentscheidung. Dazu kam die
 * Lieferkette: Vier Stylesheets ohne `integrity` aus fremder Hand, die CSS in
 * den App-Origin einspeisen koennen.
 *
 * Seitdem laedt die Seite NUR noch von `'self'`. Die CSP in `nginx.conf` und
 * `nginx.prod.conf.template` fuehrt die Google-Hosts nicht mehr; der Waechter
 * `src/schriftenLokalWaechter.test.ts` faellt rot aus, sobald irgendwo wieder
 * ein externer Schrift-Host auftaucht.
 *
 * HERKUNFT DER DATEIEN (kein Download im Bau, alles aus vorhandenem Bestand):
 *   - Syne 700/800 und DM Mono 300/400 als `woff2` aus dem bereits
 *     selbstgehosteten Schriftbestand der takt-Website.
 *   - Inter 400/500/600/700 und Open Sans 400/700 als `ttf` aus
 *     `backend/services/data/fonts/` — dieselben Dateien, aus denen die
 *     Briefe und Konzept-PDFs gesetzt werden.
 *
 * OFFENER RESTPUNKT (im Autorenbericht gefuehrt): Fuer Inter und Open Sans
 * liegt lokal KEIN `woff2` vor, und auf dieser Maschine gibt es kein
 * Umwandlungswerkzeug (weder `fontTools`+`brotli` noch `woff2_compress`).
 * Deshalb stehen hier `ttf`-Dateien: technisch in jedem Browser gueltig, aber
 * rund dreimal so gross wie ein `woff2`. Ebenfalls offen: Inter 800/900 und
 * Open Sans 600 liegen als Datei gar nicht vor — diese Schnitte rendert der
 * Browser aus dem naechstliegenden vorhandenen Schnitt.
 *
 * `font-display: swap` in jedem Block: Der Text steht sofort in der
 * System-Schrift und wird nachtraeglich ersetzt. Eine leere Seite, weil eine
 * Schriftdatei haengt, gibt es damit nicht.
 *
 * Lizenz aller vier Familien: SIL Open Font License, siehe `OFL.txt` daneben.
 */

/* --- Inter: die Schrift der ganzen Oberflaeche ---------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(Inter-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(Inter-Medium.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(Inter-SemiBold.ttf) format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(Inter-Bold.ttf) format("truetype");
}

/* --- Open Sans: die Dokumentschrift der Briefe und Vorlagen --------------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(OpenSans-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(OpenSans-Bold.ttf) format("truetype");
}

/* --- Syne: ausschliesslich die Wortmarke (ux.md) -------------------------- */
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(Syne-700-latin-ext.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;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(Syne-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: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(Syne-800-latin-ext.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;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(Syne-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;
}

/* --- DM Mono: Zahlen und Eingabe-Kontrollen ------------------------------- */
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(DMMono-300-latin-ext.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;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(DMMono-300-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: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(DMMono-400-latin-ext.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;
}
@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(DMMono-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;
}
