/* ============================================================
   LIVÉRA Property Care — lokale Webfonts (Google Fonts, OFL)
   Nur die drei Schnitte, die die Marke wirklich braucht:
   Jost (System & Struktur) · Cormorant Garamond (Haltung) ·
   Great Vibes (Signatur der Gründerin).
   ============================================================ */

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(Jost-300.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(Jost-400.woff2) format('woff2');
}
/* Die Anfangsbuchstaben V, E, S des Hero-Dreiklangs ohne Vorlauf
   (30.09.2026, Meeting 29.09.) — erzeugt von _bau/schrift-anfang.py, nur
   drei Zeichen, unter 1 KB. Wird über ::first-letter eingesetzt
   (seiten.css „Fluchtbündig“). `block`: bis die Datei da ist, steht der
   Buchstabe nicht in der falschen Schrift — der Hero ist während der
   Intro-Sequenz ohnehin noch verdeckt. */
@font-face {
  font-family: 'Jost Anfang';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(Jost-400-anfang.woff2) format('woff2');
}
/* Jost 500 ist eingebunden gewesen, wurde aber nirgends benutzt: im
   ganzen CSS steht kein einziges `font-weight: 500`. Ein nicht
   benutzter Schnitt wird zwar auch nicht geladen — die Datei lag aber
   im Ordner und ging bei jedem Hochladen mit. Wer den Schnitt wieder
   braucht, holt die vier Zeilen zurueck; `Jost-500.woff2` liegt noch
   daneben.

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(Jost-500.woff2) format('woff2');
}
*/

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(CormorantGaramond-300.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(CormorantGaramond-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url(CormorantGaramond-300i.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(CormorantGaramond-400i.woff2) format('woff2');
}

@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(GreatVibes-400.woff2) format('woff2');
}

/* ------------------------------------------------------------------
   Ersatzschriften mit angeglichenen Massen.

   Bis der Webfont geladen ist, zeigt der Browser die Systemschrift.
   Ohne Angleichung springt das Layout im Moment des Wechsels, weil
   Segoe UI und Georgia breiter bauen. Die Werte unten sind gemessen,
   nicht geschaetzt: Jost laeuft 99,3 % der Breite von Segoe UI,
   Cormorant Garamond 90,7 % der Breite von Georgia.
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Jost Ersatz";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  size-adjust: 99.3%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Cormorant Ersatz";
  src: local("Georgia"), local("Times New Roman"), local("Times");
  size-adjust: 90.7%;
  ascent-override: 96%;
  descent-override: 27%;
  line-gap-override: 0%;
}
