/*
Theme Name: CROWLEY Child Theme
Theme URI:  https://www.wpserveur.net
Author:     Elementor
Author URI: https://www.wpserveur.net
Template:   hello-elementor
Version:    1.0
License:    GNU General Public License v2 or later
*/

font-family: 'Inter-Bold';
font-family: 'Inter-Regular';
font-family: 'Gelasio-Bold';

/* Inter Regular */
@font-face {
  font-family: "Inter";
  src:
    local("Inter Regular"),
    url("https://crowley-vp.de/...10/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;          /* oder optional */
  /* Optional: optische Metriken, um CLS zu reduzieren (Startwerte, testen!) */
  size-adjust: 102%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* Inter Bold */
@font-face {
  font-family: "Inter";
  src:
    local("Inter Bold"),
    url("https://crowley-vp.de/...10/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;          /* oder optional */
  size-adjust: 102%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* Gelasio Bold (Serif) */
@font-face {
  font-family: "Gelasio";
  src:
    local("Gelasio Bold"),
    url("https://crowley-vp.de/...10/Gelasio-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;          /* oder optional */
  size-adjust: 99%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* Saubere Stacks, damit Fallbacks gut aussehen */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3 {
  font-family: "Gelasio", Georgia, "Times New Roman", serif;
}

/* auf das tatsächliche <img>, nicht nur auf <picture>! */
.hero img {
  width: 100%;
  height: 100%;           /* wichtig: echtes Füllen */
  object-fit: cover;
  object-position: 50% 15%;  /* Kopf nach oben schieben (Feintuning: 10–25%) */
  display: block;
}

