/* 360° Express – Design-Tokens.
   Quelle: Design System https://claude.ai/artifact/5fpamggTs7xtcFPJrQwZR3
   Kontraste geprüft (WCAG 2): siehe Kommentare. */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
/* Ersatzschrift, bis Plus Jakarta Sans geladen ist: Arial, auf deren Maße angepasst (im Browser gemessen),
   damit beim Austausch nichts springt (kein Layout-Shift). */
@font-face { font-family: "Jakarta Ersatz"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Roboto"); size-adjust: 103.1%; ascent-override: 100.8%; descent-override: 21.3%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Ersatz"; font-weight: 600 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Roboto Bold"); size-adjust: 100.2%; ascent-override: 103.8%; descent-override: 22%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Farben */
  --navy: #073e70;            /* Headlines, dunkle Flächen; auf Weiß 10,9:1 */
  --blue: #0165be;            /* Akzent, Links, Icons, Fokus; auf Weiß 5,8:1 */
  --orange-brand: #e87117;    /* nur Logo, nie Text auf Weiß */
  --orange-button: #d9650f;   /* Hauptbutton, Weiß darauf 3,6:1 → Schrift ≥ 19px fett */
  --orange-text: #b95205;     /* kleiner Text auf Orange / Hover; 4,9:1 */
  --orange-text-hover: #9a4404; /* Hover für kleine Orange-Buttons (Header) */
  --whatsapp: #25d366;        /* WhatsApp-Zeichen auf hellem Grund (Meta-Markenrichtlinien: Logofarbe nicht ändern); nie für Text, steht immer neben dem Wort „WhatsApp“ */
  --ink: #0b2440;
  --body: #33475b;            /* Fließtext; 9,6:1 */
  --muted: #4a5f75;           /* Nebentext; 6,6:1 */
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --blue-tint: #e8f2fc;
  --blue-tint-strong: #e3eef9;
  --hover-tint: #f3f8fd;
  --upload-tint: #f8fbfe;
  --line: #e1e9f1;
  --line-strong: #d5e0eb;
  --line-control: #7f96ad;    /* Ränder von Bedienelementen; 3,1:1 */
  --control-idle: #a9bccf;
  --header-line: #e6edf4;
  --footer: #062f55;
  --on-dark-text: #c9d8e8;    /* auf navy 7,5:1, auf footer 9,4:1 */
  --on-dark-accent: #8cc2f2;  /* auf navy 5,8:1 */
  --error: #b3261e;

  /* Schrift */
  --font-sans: "Plus Jakarta Sans", "Jakarta Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(32px, 2.6vw + 10px, 50px);
  --fs-h2: clamp(27px, 1.8vw + 10px, 38px);
  --fs-h3: 20px;
  --fs-question: 22px;
  --fs-lead: 20px;
  --fs-body: 17px;
  --fs-card: 16px;
  --fs-small: 14px;

  /* Abstände */
  --space-1: 6px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 14px;
  --space-5: 18px;
  --space-6: 22px;
  --space-7: 28px;
  --space-8: 32px;
  --gutter: 30px;
  --content-max: 1160px;
  --section-y: 112px;
  --touch-min: 44px;
  --button-height: 52px;
  --field-height: 50px;
  --icon-tile: 52px;

  /* Seitenrand: ab 1281px max(140px, …), darunter per Breakpoint */
  --margin: max(140px, calc((100% - var(--content-max)) / 2));

  /* Radien */
  --radius-image: 20px;
  --radius-card: 18px;
  --radius-icon: 14px;
  --radius-button: 12px;
  --radius-field: 10px;
  --radius-pill: 999px;

  /* Schatten */
  --shadow-float: 0 24px 60px rgba(7, 62, 112, 0.16), 0 2px 6px rgba(7, 62, 112, 0.08);
  --shadow-bar: 0 -6px 20px rgba(7, 62, 112, 0.10);
  --shadow-header: 0 6px 24px rgba(6, 47, 85, 0.08); /* Header nach dem Scrollen, Menü-Panel */
}

/* Breakpoints: 1280 · 1100 · 900 · 480 (in Media Queries, CSS-Variablen gehen dort nicht) */
@media (max-width: 1280px) { :root { --margin: 80px; } }
@media (max-width: 900px)  { :root { --margin: 24px; --section-y: 64px; } }
@media (max-width: 480px)  { :root { --margin: 16px; } }
