/* Poppins - Latin subset, WOFF2, font-display:swap */
/* Nur die tatsaechlich genutzten Weights: 300, 400, 600, 700 */

/* Fallback-Font mit angepassten Metriken um CLS beim Font-Swap zu vermeiden.
   Die System-Font Arial wird mit Poppins-aehnlicher Hoehe gerendert. */
@font-face {
  font-family: 'Poppins-fallback';
  font-style: normal;
  font-weight: 100 900;
  src: local('Arial');
  ascent-override: 92%;
  descent-override: 31%;
  line-gap-override: 8%;
  size-adjust: 112%;
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/poppins-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}

/* Globale Font-Stack: Poppins -> Fallback mit Metriken -> System */
html, body {
  font-family: 'Poppins', 'Poppins-fallback', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
