/* =====================================================================
   EWTC – Variante C · Self-hosted Webfonts (DSGVO) + CLS-sichere Fallbacks
   Ersetzt das Google-Fonts-CDN (DSGVO-Stolperfalle). Fraunces (Display,
   variabel) + Barlow (Body/UI – design.md-Font). font-display: swap +
   metrik-kompatible Fallback-Faces (size-adjust / ascent-override), damit
   die große H1 beim Font-Swap nicht umbricht (CLS schützen).
   Hinweis: Die Fallback-Metriken sind solide Näherungen; für die Produktion
   mit einem Tool (z. B. Maltes „Fallback Font Generator") feinjustieren.
   ===================================================================== */

/* ---- Fraunces (Display, variabel: opsz 9–144, wght 400–600) ---- */
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/fraunces-latin-var.woff2") format("woff2-variations");
}

/* ---- Barlow (Body/UI) – design.md-Font, vier Schnitte ---- */
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 300;
	font-display: swap;
	src: url("../fonts/barlow-300.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/barlow-600.woff2") format("woff2");
}

/* ---- CLS-Fallback-Faces (nur lokale Systemfonts, kein Netzwerk) ---- */
@font-face {
	font-family: "Fraunces Fallback";
	src: local("Georgia"), local("Times New Roman");
	size-adjust: 105%;
	ascent-override: 92%;
	descent-override: 24%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Barlow Fallback";
	src: local("Arial"), local("Helvetica Neue");
	size-adjust: 96%;
	ascent-override: 95%;
	descent-override: 24%;
	line-gap-override: 0%;
}
