/* Wielson design system v1.0 — tokens
   Bron: Wielson_Website_Design system_DEF.pdf (Castaar, oktober 2026) */
:root {
  /* Primitives — kleur */
  --blue-500: #0084dd;
  --blue-600: #0070bc;
  --blue-700: #00548d;
  --blue-900: #004777;
  --neutral-1000: #000000;
  --neutral-900: #1a1a1a;
  --neutral-500: #666666;
  --neutral-400: #b3b3b3;
  --neutral-0: #ffffff;
  --red-500: #ff5c5c;
  --green-500: #22c55e;
  --amber-500: #ffb020;

  /* Semantisch */
  --color-text-brand: var(--blue-500);
  --color-icon-brand: var(--blue-500);
  --color-text-primary: var(--neutral-0);
  --color-text-muted: var(--neutral-400);
  --color-text-error: var(--red-500);
  --color-text-success: var(--green-500);
  --color-feedback-warning: var(--amber-500);
  --color-bg-page: var(--neutral-1000);
  --color-bg-surface: var(--neutral-900);
  --color-bg-action: var(--blue-600);
  --color-bg-action-hover: var(--blue-700);
  --color-border-default: var(--neutral-500);

  /* Typografie */
  --font-family: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: 72px;   --lh-display: 80px;
  --fs-h1: 34px;        --lh-h1: 38px;
  --fs-h2: 24px;        --lh-h2: 28px;
  --fs-h3: 18px;        --lh-h3: 26px;
  --fs-lead: 17px;      --lh-lead: 26px;
  --fs-body: 16px;      --lh-body: 24px;
  --fs-label-l: 14px;   --lh-label-l: 18px;
  --fs-label: 12px;     --lh-label: 16px;
  --fs-caption: 12px;   --lh-caption: 16px;
  --fs-legal: 12px;     --lh-legal: 16px;

  /* Spacing */
  --spacing-4: 4px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-48: 48px;
  --spacing-64: 64px;
  --spacing-96: 96px;
  --spacing-128: 128px;
  --spacing-160: 160px;
  --section-gap: var(--spacing-96);

  /* Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 17px;
  --radius-pill: 999px;

  /* Layout */
  --container-max: 1448px;
  --gutter: 16px;
  --margin: 20px;
  --nav-h: 72px;

  /* Motion */
  --motion-fast: 150ms ease-out;
  --motion-base: 250ms cubic-bezier(0.2, 0, 0, 1);
  --motion-slow: 400ms cubic-bezier(0.2, 0, 0, 1);
  --motion-spinner: 800ms linear infinite;
}

@media (min-width: 768px) {
  :root { --gutter: 20px; --margin: 40px; --section-gap: var(--spacing-128); }
}
@media (min-width: 1024px) {
  :root {
    --gutter: 24px; --margin: 64px; --nav-h: 96px;
    /* Meeschalen tot de ontwerpmaat (117 px op het ontwerp-artboard van 1728 px breed) */
    --fs-display: clamp(72px, 6.77vw, 117px); --lh-display: 1.16em;
    --fs-h1: 50px; --lh-h1: 52px;
    --fs-h2: 29px; --lh-h2: 32px;
    --fs-h3: 19px; --lh-h3: 30px;
    --fs-lead: 18px; --lh-lead: 26px;
    --fs-legal: 11px;
    --section-gap: var(--spacing-160);
  }
}
@media (min-width: 1280px) { :root { --margin: 80px; } }
@media (min-width: 1600px) { :root { --margin: 140px; } }

@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-slow: 0ms; }
}
