/**
 * CHEVROLET PARTNER — DESIGN SYSTEM (nach Kunden-CI)
 * ===================================================
 * Single source of truth. Werte HIER ändern → propagiert überall.
 *
 * Kundenvorgaben (Arbeitsanleitung V5, Philippe):
 *  - CI-Blau für H1/H2, primäre Buttons, feine Akzente
 *  - Weiss als dominante Fläche, viel Weissraum
 *  - Ruhige, sehr gut lesbare Typografie
 *  - Keine esoterische Bildsprache; authentisch
 *  - Zitate als Ruhepunkte (max. 1/Seite), Autor kleiner darunter
 */

/* ---------- 1. FONTS (selbst gehostet) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-300-italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- 2. DESIGN TOKENS (HIER ÄNDERN!) ---------- */
:root {

  /* Farben — CI des Kunden */
  --color-ci:        #1E4EC4;   /* CI-Blau (Buttons live, Akzente)          */
  --color-ci-deep:   #16389A;   /* CI-Blau dunkel (Hover)                    */
  --color-indigo:    #1D1A4E;   /* Kit-Indigo (H1/H2-Text dunkle Basis)      */
  --color-logo-blue: #4070C0;   /* Logo-Hellblau (sekundäre Akzente)         */

  --color-ink:       #22263B;   /* Fliesstext                                */
  --color-muted:     #626880;   /* Sekundärtext, Metas                       */
  --color-hairline:  #E3E7F3;   /* Feine Linien                              */

  --color-bg:        #FFFFFF;   /* Dominante Fläche: Weiss                   */
  --color-tint:      #F5F8FF;   /* Sehr heller Blau-Stich für Sektionen      */
  --color-band:      #F1F5FE;   /* Etwas satterer Blau-Stich                 */

  /* Typografie */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --fs-hero:   clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem);
  --fs-h1:     clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem);
  --fs-h2:     clamp(1.55rem, 1.15rem + 1.4vw, 2.25rem);
  --fs-h3:     clamp(1.15rem, 1rem + .5vw, 1.4rem);
  --fs-body:   clamp(1rem, .95rem + .2vw, 1.125rem);
  --fs-small:  .9rem;

  --lh-body:   1.75;

  /* Raum & Rhythmus — viel Weissraum */
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --container: 74rem;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --card-gap:  clamp(1.25rem, 2vw, 2rem);

  /* Feinheiten */
  --radius:    .75rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(29, 26, 78, .05), 0 2px 8px rgba(29, 26, 78, .04);
  --shadow-md: 0 2px 6px rgba(29, 26, 78, .06), 0 12px 32px rgba(29, 26, 78, .10);
  --ease:      cubic-bezier(.22, .61, .36, 1);

  /* Header */
  --header-h:      5.5rem;
  --header-h-mini: 4.25rem;
}

/* ---------- 3. RESET / BASIS ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-ci); text-decoration: none; transition: color .2s var(--ease); }
a:hover:not(.wp-element-button) { color: var(--color-ci-deep); }

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--color-indigo);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }

p { margin: 0 0 1.2em; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Kicker: feines Label über Überschriften */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-ci);
  margin-bottom: 1.2em;
}
.kicker::before {
  content: '';
  width: 2.2em;
  height: 2px;
  background: var(--color-ci);
  border-radius: 2px;
}

/* Sektionen auf Weiss — Tint nur sparsam */
.section-pad { padding-block: var(--section-y); }
.section-tint { background: var(--color-tint); }

/* Auswahl-Farbe */
::selection { background: var(--color-ci); color: #fff; }

/* Fokus sichtbar (Barrierefreiheit) */
:focus-visible {
  outline: 2px solid var(--color-ci);
  outline-offset: 3px;
  border-radius: 2px;
}
