/* ============================================================================
   Design-Tokens
   ============================================================================
   Stand 26.11.2026: Designsystem nach acquisition.com (analysiert am
   26.11.2026, computed styles), mit eigener Palette:
   - Schrift: Poppins für alles. Titel 800 in Versalien, Text 400, 18 px.
   - Pill-Buttons (Radius 100 px), fett, Versalien, gefüllt in Hot Pink.
   - Kennzahlenleiste mit 4-px-Linie links, Badges oben an Karten,
     FAQ als Akkordeon mit Linien, Ankündigungsleiste oben, Footer in Farbe.
   - Weisser Grund, Tinte Navy, Akzente Hot Pink und Acid Lime.
   Die Hauptfarbe ist bewusst nicht das Violett von acquisition.com (#6F00FF),
   damit die Seite nicht wie eine Kopie wirkt.
   Kontrastwerte in DESIGN.md. Seite und Komponenten lesen nur diese Variablen.
   ========================================================================= */

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

/* Ersatzschrift mit den Massen von Poppins (Arial, angepasst). Lädt Poppins
   spät, springt der Text beim Wechsel kaum (Layoutverschiebung, CLS). */
@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 113.73%;
  ascent-override: 92.33%;
  descent-override: 30.78%;
  line-gap-override: 8.79%;
}

:root {
  /* ── Farbe: Flächen ─────────────────────────────────────────────────── */
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f5f5f7;        /* Karten, Formularfeld-Hof */
  --color-surface-inverted: #131628;     /* Kopfzeile, ein dunkles Band */
  --color-surface-inverted-raised: #1f2340;

  /* ── Farbe: Text ────────────────────────────────────────────────────── */
  --color-foreground: #131628;           /* Tinte Navy */
  --color-foreground-muted: #4b5063;
  --color-foreground-inverted: #ffffff;
  --color-foreground-inverted-muted: #c9cbe0;

  /* ── Farbe: Linien ──────────────────────────────────────────────────── */
  --color-border: #e6e6ec;               /* dekorativ */
  --color-border-strong: #8a8fa3;        /* Rand von Eingabefeldern, 3:1 */

  /* ── Farbe: Akzent Hot Pink ─────────────────────────────────────────── */
  --color-primary: #e0005f;              /* Weiss darauf 4.84:1 */
  --color-primary-hover: #b5004c;        /* Weiss darauf 6.84:1 */
  --color-primary-foreground: #ffffff;
  --color-primary-subtle: #ffe3ef;       /* Icon-Kacheln, Pink darauf nur für Icons (4.03:1) */
  --color-primary-on-inverted: #ff6fa8;  /* Pink als Text auf Navy, 6.90:1 */

  /* ── Farbe: Highlight Acid Lime (nur Fläche, nie Text auf Weiss) ────── */
  --color-highlight: #d4ff3a;
  --color-highlight-foreground: #131628;

  /* ── Farbe: Signal Navy (Badges für Fristen, heben sich vom pinken Badge ab) ── */
  --color-signal: #131628;
  --color-signal-foreground: #ffffff;

  /* ── Farbe: Status und Fokus ────────────────────────────────────────── */
  --color-danger: #c4002f;
  --color-success: #0a7a43;
  --color-focus: #e0005f;
  --color-focus-on-inverted: #d4ff3a;

  /* ── Schrift ────────────────────────────────────────────────────────── */
  --font-sans: "Poppins", "Poppins Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-hero: clamp(1.75rem, 0.9rem + 3.6vw, 4rem);
  --text-hero--line-height: 1.08;
  --text-h2: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem);
  --text-h2--line-height: 1.15;
  --text-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --text-h3--line-height: 1.3;
  --text-faq: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem);
  --text-figure: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-body: 1.0625rem;
  --text-body--line-height: 1.55;
  --text-body-sm: 0.9375rem;
  --text-label: 0.875rem;
  --text-caps-xs: 0.75rem;               /* Labels der Kennzahlen, Badges */
  --text-button: 1rem;
  --text-button-xl: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-black: 800;
  --tracking-caps: 0.06em;

  /* ── Abstände (4-px-Basis) ──────────────────────────────────────────── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Abstandsrollen (8-px-Raster, fliessend von 390 bis 1440 px Breite).
     Jede Stelle der Seite nutzt eine dieser Rollen, keine freien Werte. */
  --space-section: clamp(4rem, 2.5rem + 6.2vw, 7rem);        /* Sektionsrand oben/unten: 64 → 112 */
  --space-hero-top: clamp(2rem, 0.5rem + 6.2vw, 6rem);       /* Hero oben: 32 → 96 */
  --space-title: 1rem;                                       /* Titel → Vorspann: 16 */
  --space-content: clamp(2rem, 1.4rem + 2.3vw, 3.5rem);      /* Titel/Block → Inhalt: 32 → 56 */
  --space-text: 1.5rem;                                      /* Vorspann → Liste/Button im selben Block: 24 */
  --space-grid: clamp(1rem, 0.7rem + 1.2vw, 1.5rem);         /* Lücke im Kartenraster: 16 → 24 */
  --space-split: clamp(2.5rem, 0.4rem + 8vw, 6rem);          /* Lücke zwischen zwei Spalten: 40 → 96 */
  --space-card: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);            /* Innenabstand Karte: 20 → 32 */
  --space-card-lg: clamp(1.5rem, 0.6rem + 2.8vw, 3rem);      /* Innenabstand grosse Karte: 24 → 48 */
  --space-field: 1rem;                                       /* Zwischen Formularfeldern: 16 */
  --space-footer: clamp(2.5rem, 2rem + 2vw, 3.5rem);         /* Footer: 40 → 56 */
  --space-gutter: 1.25rem;
  --button-xl-height: 3.75rem;
  --sticky-cta-height: 3.5rem;

  /* ── Layoutbreiten ──────────────────────────────────────────────────── */
  --container-frame: 72rem;
  --container-content: 56rem;
  --container-narrow: 46rem;
  --container-measure: 62ch;

  /* ── Radien ─────────────────────────────────────────────────────────── */
  --radius-sm: 0.375rem;                 /* Badges */
  --radius-md: 0.75rem;                  /* Eingabefelder, Kacheln */
  --radius-lg: 1.25rem;                  /* Karten */
  --radius-full: 100px;                  /* Pill */

  /* ── Strich und Fokus ───────────────────────────────────────────────── */
  --border-hairline: 1px;
  --border-accent: 4px;
  --focus-ring-width: 3px;
  --focus-ring-offset: 2px;
  --icon-stroke: 1.75;

  /* ── Schatten ───────────────────────────────────────────────────────── */
  --shadow-card: 0 1px 2px rgb(19 22 40 / 0.06), 0 8px 24px -8px rgb(19 22 40 / 0.12);
  --shadow-float: 0 2px 4px rgb(19 22 40 / 0.06), 0 24px 56px -20px rgb(19 22 40 / 0.28);
  --shadow-cta: 0 12px 28px -10px rgb(224 0 95 / 0.5);

  /* ── Bewegung ───────────────────────────────────────────────────────── */
  --duration-fast: 150ms;
  --duration-base: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0.13, 1);
}
