/* optimAIse componenten (oa-), uit het designsysteem optimAIse. Laad eerst tokens.css. De Google Fonts-import is weggelaten: Outfit staat lokaal in fonts/. */
:root, [data-theme="light"] { --oa-r1: 300; --oa-r2: 500; --oa-r3: 700; }
[data-theme="dark"] { --oa-r1: 200; --oa-r2: 400; --oa-r3: 600; }
body { margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 1.55; font-weight: 300; background: var(--surface); color: var(--ink); }
[data-theme] { color: var(--ink); }
.oa-vlak { background: var(--surface); color: var(--ink); }
.oa-vlak-soft { background: var(--surface-soft); color: var(--ink); }
.oa-demo { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-3); }

/* Knop */
.oa-knop { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 56px; padding: 0 30px; border: 2px solid var(--gloed); border-radius: var(--radius-sm); background: var(--gloed); color: var(--on-accent); font: inherit; font-size: 18px; font-weight: 600; text-decoration: none; cursor: pointer; }
.oa-knop-omlijnd { background: none; border-color: var(--ink); color: var(--ink); }
.oa-knop-klein { min-height: 44px; padding: 0 18px; font-size: 16px; font-weight: 500; }
.oa-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--kers); font-weight: 500; text-underline-offset: 3px; }
.oa-knop:focus-visible, .oa-link:focus-visible, .oa-label:focus-visible, .oa-veld input:focus-visible, .oa-vraag button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Label */
.oa-label { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius-pill); color: var(--ink); font-size: 16px; font-weight: 400; text-decoration: none; }
.oa-tint { display: inline-block; padding: 10px 14px; border-radius: var(--radius-md); background: var(--rookroze); color: var(--on-accent); font-size: 15px; font-weight: 400; }

/* Titel */
.oa-titel { margin: 0; max-width: 920px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.02em; font-weight: var(--oa-r1); color: var(--ramp-1); }
.oa-titel-xl { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.97; }
.oa-titel .r1 { font-weight: var(--oa-r1); color: var(--ramp-1); }
.oa-titel .r2 { font-weight: var(--oa-r2); color: var(--ramp-2); }
.oa-titel .r3 { font-weight: var(--oa-r3); color: var(--ramp-3); }
.oa-titel .r4 { font-weight: 900; color: var(--ramp-4); }
.oa-intro { margin: 0; max-width: 640px; font-size: 20px; color: var(--ink-muted); }

/* Strepen */
.oa-strepen { display: flex; align-items: stretch; gap: var(--streepruimte); height: 160px; }
.oa-strepen span { display: block; flex-shrink: 0; }
.oa-strepen span:nth-child(1) { width: var(--streepbreedte-1); background: var(--streep-1); }
.oa-strepen span:nth-child(2) { width: var(--streepbreedte-2); background: var(--streep-2); }
.oa-strepen span:nth-child(3) { width: var(--streepbreedte-3); background: var(--streep-3); }
.oa-strepen span:nth-child(4) { width: var(--streepbreedte-4); background: var(--streep-4); }
.oa-strepen span:nth-child(5) { width: var(--streepbreedte-5); background: var(--streep-5); }
.oa-strepen span:nth-child(6) { width: var(--streepbreedte-6); background: var(--streep-6); }
.oa-strepen span:nth-child(7) { width: var(--streepbreedte-7); background: var(--streep-7); }
.oa-strepen span:nth-child(8) { width: var(--streepbreedte-8); background: var(--streep-8); }
.oa-strepen span:nth-child(9) { width: var(--streepbreedte-9); background: var(--streep-9); }

/* Pictogram */
.oa-picto { display: flex; align-items: flex-end; gap: 5px; height: 48px; }
.oa-picto span { display: block; width: 7px; background: var(--ink); }
.oa-picto span:last-child { background: var(--gloed); }

/* Kaart */
.oa-kaart { box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface-soft); color: var(--ink); }
.oa-kaart h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; }
.oa-kaart p { margin: 0; color: var(--ink-muted); }
.oa-kaart .oa-voorbeeld { padding: var(--space-2); border-radius: var(--radius-inner); background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 400; }
.oa-kaart .oa-voorbeeld strong { font-weight: 600; }
.oa-kaart .oa-link { margin-top: auto; }
.oa-kaart.oa-vlak { background: var(--surface); }
.oa-kaart.oa-vlak .oa-voorbeeld { background: var(--surface-soft); }

/* Formulekaart */
.oa-formule { gap: 20px; }
.oa-formule[data-theme="dark"] { background: var(--surface); }
.oa-formule .oa-kop { display: flex; align-items: baseline; gap: 16px; }
.oa-formule .oa-letter { font-size: 80px; line-height: 0.9; }
.oa-formule .oa-letter-s { font-weight: 300; color: var(--ink); }
.oa-formule .oa-letter-m { font-weight: 600; color: var(--kers); }
.oa-formule .oa-letter-l { font-weight: 900; color: var(--ramp-4); }
.oa-formule .oa-prijs { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 600; color: var(--ink); }
.oa-formule .oa-prijs small { font-size: 18px; font-weight: 300; }
.oa-formule .oa-opstart { font-size: 16px; font-weight: 400; }
.oa-formule ul { margin: 0; padding: 20px 0 0 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.oa-formule .oa-knop { margin-top: auto; }

/* Stappen */
.oa-stappen { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--space-4); }
.oa-stappen li { display: flex; flex-direction: column; gap: 8px; }
.oa-stappen .oa-cijfer { font-size: 96px; line-height: 1; }
.oa-stappen li:nth-child(1) .oa-cijfer { font-weight: 200; color: var(--ramp-1); }
.oa-stappen li:nth-child(2) .oa-cijfer { font-weight: 400; color: var(--ramp-2); }
.oa-stappen li:nth-child(3) .oa-cijfer { font-weight: 700; color: var(--ramp-3); }
.oa-stappen li:nth-child(4) .oa-cijfer { font-weight: 900; color: var(--ramp-4); }
.oa-stappen h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 600; }
.oa-stappen p { margin: 0; color: var(--ink-muted); }

/* Veld */
.oa-veld { display: flex; flex-direction: column; gap: 6px; }
.oa-veld label { font-size: 16px; font-weight: 500; }
.oa-veld input { box-sizing: border-box; width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; }

/* Vraag */
.oa-vraag { border-bottom: 1px solid var(--line); }
.oa-vraag button { width: 100%; min-height: 72px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; font: inherit; font-size: 22px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.oa-vraag button span { font-weight: 300; }
.oa-vraag p { margin: 0; padding: 0 0 24px; max-width: 720px; color: var(--ink-muted); }

/* Navigatie */
.oa-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; box-sizing: border-box; padding: 24px var(--space-5); background: var(--surface); color: var(--ink); }
.oa-nav img { display: block; height: 44px; width: auto; }
.oa-nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 400; }
.oa-nav nav a:not(.oa-knop) { padding: 10px 0; color: var(--ink); text-decoration: none; }
.oa-nav nav a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.oa-nav nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Bericht */
.oa-bericht { box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); }
.oa-bericht dl { margin: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 6px 12px; font-size: 16px; font-weight: 400; }
.oa-bericht dt { color: var(--ink-muted); }
.oa-bericht dd { margin: 0; }
.oa-bericht dd:first-of-type { font-weight: 600; }
.oa-bericht p { margin: 0; font-size: 20px; }
.oa-bericht .oa-tint { align-self: flex-start; font-size: 15px; }

/* Opsomming */
.oa-opsomming { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 20px; }
.oa-opsomming li { display: flex; align-items: center; }
.oa-opsomming li::before { content: ""; flex-shrink: 0; height: 24px; }
.oa-opsomming li:nth-child(1)::before { width: 2px; margin-right: 28px; background: var(--streep-1); }
.oa-opsomming li:nth-child(2)::before { width: 4px; margin-right: 26px; background: var(--streep-3); }
.oa-opsomming li:nth-child(3)::before { width: 7px; margin-right: 23px; background: var(--streep-5); }
.oa-opsomming li:nth-child(4)::before { width: 10px; margin-right: 20px; background: var(--streep-7); }
.oa-opsomming li:nth-child(5)::before { width: 14px; margin-right: 16px; background: var(--streep-9); }

/* Casekaart */
.oa-case { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); }
.oa-case .oa-beeld { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 220px; padding: var(--space-2); background: var(--rookroze); color: var(--on-accent); font-size: 16px; font-weight: 400; text-align: center; }
.oa-case img.oa-beeld { width: 100%; height: 220px; padding: 0; object-fit: cover; }
.oa-case .oa-inhoud { display: flex; flex-direction: column; gap: 12px; padding: 28px var(--space-4) var(--space-4); }
.oa-case h3 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; }
.oa-case p { margin: 0; color: var(--ink-muted); }
.oa-case .oa-soort { font-size: 16px; font-weight: 400; }
.oa-plaatshouder { margin: 0; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--ink); font-size: 16px; font-weight: 400; }
.oa-case p.oa-plaatshouder { color: var(--ink); }

/* Voettekst */
.oa-voet { box-sizing: border-box; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6) var(--space-5) var(--space-4); background: var(--surface-soft); color: var(--ink); }
.oa-voet .oa-kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; }
.oa-voet .oa-merk { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.oa-voet .oa-merk img { height: 40px; width: auto; }
.oa-voet .oa-slogan { margin: 0; font-size: 22px; line-height: 1.2; }
.oa-voet .oa-slogan .r1 { font-weight: 200; }
.oa-voet .oa-slogan .r2 { font-weight: 500; color: var(--ramp-2); }
.oa-voet .oa-slogan .r4 { font-weight: 900; color: var(--ramp-4); }
.oa-voet .oa-info { margin: 0; font-size: 15px; font-weight: 400; color: var(--ink-muted); }
.oa-voet .oa-links { display: flex; flex-direction: column; gap: 2px; font-size: 16px; font-weight: 400; }
.oa-voet .oa-links strong { margin-bottom: 6px; font-weight: 600; }
.oa-voet .oa-links a { padding: 6px 0; color: var(--ink); }
.oa-voet .oa-juridisch { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 400; }
.oa-voet .oa-juridisch a { padding: 8px 0; color: var(--ink-muted); }
