/* =========================================================
   Dovermann Web Design System – Tokens
   Grundlage: Dovermann Design System (Gruppe „Website“)
   Schriften: Epilogue (Display) + Inter (Text), selbst gehostet
   ========================================================= */

@font-face {
  font-family: "Epilogue";
  src: url("../assets/fonts/epilogue-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farbe – Marke */
  --red: #c6262f;            /* web-red */
  --red-hover: #a91f27;
  --red-deep: #8e1a20;
  --red-signal: #ed1f25;     /* nur Flächen/Deko, nie Fließtext */
  --red-tint: #fbe3e4;

  /* Farbe – Neutral */
  --ink: #2f3238;            /* web-ink: Headlines/Text auf hell */
  --ink-soft: #565a62;       /* Sekundärtext auf hell (7:1 auf #fff) */
  --asphalt: #1b1b1c;        /* web-tile: tiefste Fläche */
  --dark: #282829;           /* web-dark: dunkle Sektionen */
  --dark-2: #323234;
  --on-dark: #e9e9ee;
  --on-dark-soft: #b9bac3;   /* web-text-on-dark, leicht aufgehellt für AA */
  --surface: #f3f4f6;        /* web-surface */
  --paper: #ffffff;
  --line: #dcdde1;
  --line-dark: rgba(255,255,255,.12);
  --star: #f5b301;           /* nur Google-Sterne (funktional) */
  --ok: #2f8f3a;

  /* Typografie */
  --font-display: "Epilogue", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(2.6rem, 1.3rem + 4.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1rem + .4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-label: .78rem;

  /* Abstände (Skala 4/8) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  --s-20: 80px; --s-24: 96px; --s-32: 128px;
  --section-y: clamp(72px, 6vw + 40px, 144px);
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1320px;

  /* Form */
  --r-sm: 6px;   /* radius-button */
  --r-md: 12px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Tiefe */
  --shadow-1: 0 1px 2px rgba(20,20,24,.06), 0 2px 8px rgba(20,20,24,.06);
  --shadow-2: 0 10px 30px -10px rgba(20,20,24,.25), 0 2px 6px rgba(20,20,24,.08);
  --shadow-red: 0 14px 30px -12px rgba(198,38,47,.65);

  /* Bewegung */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --t-fast: 160ms;
  --t-med: 380ms;
  --t-slow: 900ms;

  /* Header */
  --header-h: 76px;
}
