/*
 * TuningFactory V2: designsysteem en componenten.
 *
 * Zelfstandig: geen Oxygen-, WordPress- of pluginstijlen. Opbouw:
 *   1. tokens        kleuren, typografie, ruimte (custom properties)
 *   2. basis         reset, typografie, links, focus
 *   3. layout        container, secties, rasters
 *   4. componenten   knoppen, iconen, kicker, kaarten, lijsten, formulier, prose ...
 *   5. globaal       topbalk, header, mobiele navigatie, footer
 *   6. pagina's      home, diensten, WinOLS, contact, nieuws, tekstpagina's, voertuigen, fout
 *   7. hulpklassen en print
 * Kleurregel: rood #E1011B (uit het logo) voor vlakken, knoppen en grote koppen;
 * --c-red-text voor kleine rode tekst op donker (contrast >= 4.5:1).
 */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  --c-red: #e1011b;
  --c-red-hover: #c00016;
  --c-red-text: #ff3a4f;
  --c-red-glow: rgba(225, 1, 27, 0.35);
  --c-red-soft: rgba(225, 1, 27, 0.12);

  --c-bg: #0a0a0c;
  --c-bg-2: #111114;
  --c-surface: #17171b;
  --c-surface-2: #1f1f25;
  --c-line: #2a2a31;
  --c-line-soft: rgba(255, 255, 255, 0.08);

  --c-text: #ffffff;
  --c-text-2: #c9c9d0;
  --c-muted: #9c9ca6;

  --f-display: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.625rem);
  --fs-display: clamp(2.5rem, 1.55rem + 3.9vw, 4.75rem);

  --gutter: clamp(1.125rem, 0.6rem + 2.2vw, 2rem);
  --container: 1240px;
  --container-narrow: 820px;
  --section-y: clamp(4rem, 2.8rem + 4.6vw, 7.5rem);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 92px;
  --topbar-h: 36px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. BASIS ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  color: var(--c-text-2);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
main { flex: 1 0 auto; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--c-text); font-family: var(--f-display); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
strong { color: var(--c-text); font-weight: 650; }
:focus-visible { outline: 2px solid var(--c-text); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--c-red); color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--c-red); color: #fff; font-weight: 700; text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. LAYOUT ----------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); }
.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-2); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.section + .section:not(.section--alt):not(.section--flush-top) { border-top: 1px solid var(--c-line-soft); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: end; justify-content: space-between; }
.section__head--row > :first-child { max-width: 46rem; }

.split { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--wide-text { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: var(--stack, 1.25rem); }
.stack-sm { --stack: 0.75rem; }
.stack-lg { --stack: 2rem; }

/* 4. COMPONENTEN ------------------------------------------------------------- */

/* Iconen: inline SVG uit de sprite (templates/includes/icons.html), lijnstijl, kleur = currentColor. */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.icon-badge {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; flex: none;
  color: var(--c-red-text); background: var(--c-red-soft); border: 1px solid rgba(225, 1, 27, 0.35); border-radius: var(--radius);
}
.icon-badge .icon { width: 1.4rem; height: 1.4rem; }

/* Kicker: kleine bovenregel met het lijnmotief uit het logo (— FACTORY —). */
.kicker {
  display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
  color: var(--c-red-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.3;
}
.kicker::before { content: ""; width: 1.75rem; height: 2px; background: var(--c-red); flex: none; }
.section__head--center .kicker::after { content: ""; width: 1.75rem; height: 2px; background: var(--c-red); flex: none; }

.heading { font-size: var(--fs-h2); }
.heading--sm { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.heading--cap::first-letter { text-transform: uppercase; }
.accent { color: var(--c-red); }
.lead { font-size: var(--fs-xl); line-height: 1.6; color: var(--c-text-2); }
.muted { color: var(--c-muted); }
.section__head .lead, .section__head p { margin-top: 1.25rem; }

/* Knoppen */
.btn {
  --btn-bg: transparent; --btn-fg: var(--c-text); --btn-border: rgba(255, 255, 255, 0.28);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-border); border-radius: var(--radius);
  font-family: var(--f-body); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease); }
.btn:hover .icon--move { transform: translateX(3px); }
.btn:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn--primary { --btn-bg: var(--c-red); --btn-border: var(--c-red); --btn-fg: #fff; box-shadow: 0 10px 30px -12px var(--c-red-glow); }
.btn--primary:hover { --btn-bg: var(--c-red-hover); --btn-border: var(--c-red-hover); box-shadow: 0 14px 34px -12px var(--c-red-glow); }
.btn--light { --btn-bg: #fff; --btn-border: #fff; --btn-fg: #0a0a0c; }
.btn--light:hover { --btn-bg: #e9e9ee; --btn-border: #e9e9ee; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn--lg { min-height: 3.5rem; padding: 0.95rem 1.875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.45; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--c-text); font-weight: 650; text-decoration: none;
  background: linear-gradient(var(--c-red), var(--c-red)) 0 100% / 0 2px no-repeat; transition: background-size 0.25s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }
.text-link .icon { width: 1.05rem; height: 1.05rem; color: var(--c-red-text); transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* Kaarten en panelen */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: clamp(1.375rem, 1rem + 1.2vw, 2rem);
}
.card--interactive { transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease); }
.card--interactive:hover { border-color: rgba(225, 1, 27, 0.55); transform: translateY(-3px); }
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #1b1b20 0%, #111114 60%); border: 1px solid var(--c-line);
}
/* Schuine snede (bliksemhoek uit het logo) als accent op panelen */
.notch::after {
  content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 72px; pointer-events: none;
  background: linear-gradient(225deg, var(--c-red) 0 14%, transparent 14.5%);
}

/* Lijst met vinkjes */
.checklist { list-style: none; display: grid; gap: 0.875rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.875rem; align-items: start; color: var(--c-text-2); }
.checklist .icon {
  width: 1.5rem; height: 1.5rem; padding: 0.3rem; margin-top: 0.05rem;
  color: #fff; background: var(--c-red); border-radius: 4px; stroke-width: 3;
}

/* Kenmerken (Wagtail-blok "Kenmerk") */
.features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { gap: 1rem; }
.feature__title { font-size: var(--fs-h3); line-height: 1.3; margin-top: 1.125rem; }
.feature__text { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--c-text-2); }

/* Afbeeldingen */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--crop img { transform: scale(1.16); } /* afbeeldingen met een ingebakken witte rand */
.media--mono img { filter: grayscale(1) contrast(1.08) brightness(0.92); }
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic > .media { aspect-ratio: 4 / 3; }
.mosaic > .media--wide { grid-column: span 2; aspect-ratio: 16 / 7; }
.mosaic > .media--tall { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }

/* Apparaatkader voor schermafbeeldingen van het portaal */
.device {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #0f0f12; border: 1px solid var(--c-line); box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.device__bar { display: flex; gap: 0.4rem; align-items: center; height: 2.125rem; padding-inline: 0.875rem; background: #1a1a1f; border-bottom: 1px solid var(--c-line); }
.device__bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #3a3a42; }
.device__bar span:first-child { background: var(--c-red); }
.device img { width: 100%; height: auto; }
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 12% 8% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--c-red-glow), transparent 70%); filter: blur(30px);
}

/* Paginakop (alle pagina's behalve home) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3.5rem, 2.4rem + 4.5vw, 7rem) clamp(3rem, 2.2rem + 3.5vw, 5.5rem);
  background: var(--c-bg); border-bottom: 1px solid var(--c-line-soft);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.55) brightness(0.75); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.98) 0%, rgba(10, 10, 12, 0.88) 38%, rgba(10, 10, 12, 0.45) 75%, rgba(10, 10, 12, 0.3) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, 1) 0%, rgba(10, 10, 12, 0) 45%);
}
.page-hero::after { /* technisch raster */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%); mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.page-hero__inner { max-width: 50rem; }
.page-hero__title { font-size: var(--fs-h1); }
.page-hero__title--plain { font-size: var(--fs-h1); }
.page-hero__text { margin-top: 1.25rem; max-width: 42rem; font-size: var(--fs-xl); color: var(--c-text-2); }
.page-hero .btn-row { margin-top: 2rem; }
.crumb { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: var(--fs-sm); color: var(--c-muted); text-decoration: none; }
.crumb:hover { color: var(--c-text); }
.crumb .icon { width: 1rem; height: 1rem; }

/* Banner (CTA) */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(2rem, 1.3rem + 3vw, 3.75rem);
  background: radial-gradient(120% 140% at 0% 0%, #2a0a0f 0%, #141417 45%, #101013 100%); border: 1px solid #3a1a20;
}
.cta-band::before { /* rode diagonaal */
  content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; right: 18%; width: 9rem;
  background: linear-gradient(180deg, rgba(225, 1, 27, 0.0), rgba(225, 1, 27, 0.22), rgba(225, 1, 27, 0)); transform: skewX(-22deg);
}
.cta-band__title { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.375rem); }
.cta-band__text { margin-top: 0.875rem; max-width: 36rem; color: var(--c-text-2); font-size: var(--fs-lg); }
.cta-band__media { position: relative; }
.cta-band__media img { width: 100%; max-height: 260px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.6)); }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: minmax(0, 1.2fr) auto; }
  .cta-band--media { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .cta-band--media .btn-row { margin-top: 2rem; }
}

/* Rijke tekst (Wagtail-richtext: berichten, Terms, Privacy, voertuigteksten) */
.prose { color: var(--c-text-2); font-size: 1.0625rem; line-height: 1.75; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.25; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h3 { margin-top: 1.9em; font-size: 1.1875rem; line-height: 1.35; }
.prose h4 { margin-top: 1.6em; font-size: 1.0625rem; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--c-text); text-decoration-color: var(--c-red); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--c-red-text); }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: 0.4em; }
.prose ul li::marker { color: var(--c-red); }
.prose ol li::marker { color: var(--c-red-text); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--c-line); margin-block: 2.5em; }
.prose img { border-radius: var(--radius-lg); border: 1px solid var(--c-line); }
.prose .richtext-image, .prose figure { margin-inline: 0; }
.prose .richtext-image.left { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.prose .richtext-image.right { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.prose em { color: var(--c-muted); }

/* Formulier */
.form { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.125rem; } }
.form__row { display: grid; gap: 1.125rem; }
.field { display: grid; gap: 0.45rem; }
.field__label { color: var(--c-text); font-size: var(--fs-sm); font-weight: 600; }
.field__req { color: var(--c-red-text); }
.field__input {
  width: 100%; min-height: 3.125rem; padding: 0.8rem 1rem;
  background: #0e0e11; color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea.field__input { min-height: 10rem; resize: vertical; line-height: 1.6; }
.field__input:hover { border-color: #3a3a43; }
.field__input:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px var(--c-red-soft); }
.field--error .field__input { border-color: var(--c-red); }
.field__error { color: var(--c-red-text); font-size: var(--fs-sm); font-style: normal; }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.125rem; border-radius: var(--radius); border: 1px solid; }
.alert .icon { margin-top: 0.15rem; }
.alert--error { color: #ffd2d7; background: rgba(225, 1, 27, 0.1); border-color: rgba(225, 1, 27, 0.45); }
.alert--success { color: #d7f5df; background: rgba(46, 160, 90, 0.12); border-color: rgba(46, 160, 90, 0.45); }
.alert--success .icon { color: #5dd08a; }

/* Vervolgkeuzelijst (voertuigselector) */
.select {
  appearance: none; -webkit-appearance: none; width: 100%; min-height: 3.25rem; padding: 0.8rem 2.75rem 0.8rem 1rem;
  background: #0e0e11 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ff3a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 1rem center;
  color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
}
.select:hover:not(:disabled) { border-color: #45454e; }
.select:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px var(--c-red-soft); }
.select:disabled { cursor: not-allowed; opacity: 0.5; }
.select option { background: #17171b; color: #fff; }

/* Paginering */
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding-inline: 0.875rem;
  border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--c-text-2);
}
.pagination a:hover { border-color: var(--c-red); color: var(--c-text); }
.pagination [aria-current="page"] { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* Labels */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem;
  background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-text); font-size: var(--fs-sm); font-weight: 500;
}
.tag { display: inline-block; padding: 0.2rem 0.55rem; background: var(--c-red); color: #fff; border-radius: 3px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: middle; }

/* Uitklapvragen */
.faq { display: grid; gap: 0.75rem; }
.faq__item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.faq__item[open] { border-color: #3a3a43; }
.faq__item summary {
  display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.125rem 1.375rem;
  color: var(--c-text); font-weight: 650; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 0.625rem; height: 0.625rem; flex: none; margin-right: 0.25rem;
  border-right: 2px solid var(--c-red-text); border-bottom: 2px solid var(--c-red-text); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq__item p { padding: 0 1.375rem 1.25rem; }

/* 5. GLOBAAL -------------------------------------------------------------- */

/* Topbalk */
.topbar { background: #050506; border-bottom: 1px solid var(--c-line-soft); font-size: var(--fs-xs); color: var(--c-muted); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topbar-h); }
.topbar__links { display: flex; gap: 1.5rem; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--c-text-2); text-decoration: none; }
.topbar a:hover { color: var(--c-text); }
.topbar .icon { width: 0.95rem; height: 0.95rem; color: var(--c-red-text); }
@media (max-width: 559px) { .topbar__social { display: none !important; } .topbar__inner { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; }
/* De vervaging zit op een pseudo-element: backdrop-filter op de balk zelf zou het (position: fixed) mobiele
   menu binnen de balk opsluiten, omdat het dan het containing block wordt. */
.site-header__bar { position: relative; z-index: 0; border-bottom: 1px solid var(--c-line-soft); }
.site-header__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 12, 0.82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.25s;
}
.site-header.is-scrolled .site-header__bar::before { background: rgba(10, 10, 12, 0.95); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; margin-right: auto; padding-block: 0.5rem; }
.brand img { height: 63px; width: auto; } /* logo groter op verzoek 05-11-2026: 42 px +30% +15% */
@media (max-width: 559px) { .brand img { height: 51px; } :root { --header-h: 76px; } }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.5rem 0.875rem;
  color: var(--c-text-2); font-size: 0.9375rem; font-weight: 550; text-decoration: none; transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0.875rem; right: 0.875rem; bottom: 0.35rem; height: 2px;
  background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--c-text); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-text); }
.nav__actions { display: flex; align-items: center; gap: 0.625rem; }
.nav__contact { display: none; }

.nav-toggle {
  display: none; place-items: center; width: 2.875rem; height: 2.875rem; margin-right: -0.4rem;
  background: transparent; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text); cursor: pointer;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 1079px) {
  .js .nav-toggle { display: inline-grid; }
  .js .nav {
    position: fixed; z-index: 49; left: 0; right: 0; bottom: 0; top: var(--nav-top, calc(var(--header-h) + var(--topbar-h)));
    display: flex; flex-direction: column; align-items: stretch; gap: 2rem; overflow-y: auto;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--c-bg); border-top: 1px solid var(--c-line-soft);
    visibility: hidden; opacity: 0; transform: translateY(-0.5rem); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .js .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    width: 100%; min-height: 3.5rem; padding: 0.75rem 0; border-bottom: 1px solid var(--c-line-soft);
    font-family: var(--f-display); font-size: 1.375rem; font-weight: 700; color: var(--c-text);
  }
  .nav__link::after { left: 0; right: auto; width: 2rem; bottom: -1px; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .nav__actions .btn { min-height: 3.25rem; }
  .nav__contact { display: grid; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--c-line-soft); font-size: var(--fs-sm); }
  .nav__contact a { display: inline-flex; gap: 0.6rem; align-items: center; color: var(--c-text-2); text-decoration: none; }
  .nav__contact .icon { color: var(--c-red-text); }
  .no-js .site-header__inner { flex-wrap: wrap; padding-bottom: 1rem; }
  .no-js .nav { width: 100%; flex-direction: column; align-items: stretch; }
}

/* Footer */
.site-footer { margin-top: auto; background: #060607; border-top: 1px solid var(--c-line-soft); font-size: var(--fs-sm); color: var(--c-muted); }
.site-footer__top { position: relative; height: 3px; background: linear-gradient(90deg, var(--c-red) 0 18%, transparent 18%); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.75rem); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr; } }
.site-footer__brand img { height: 44px; width: auto; }
.site-footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.site-footer__title { margin-bottom: 1rem; color: var(--c-text); font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer__list { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--c-text-2); text-decoration: none; }
.site-footer a:hover { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-red); }
.site-footer__contact a { display: inline-flex; gap: 0.6rem; align-items: center; }
.site-footer__contact .icon { color: var(--c-red-text); width: 1.05rem; height: 1.05rem; }
.site-footer__portal { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1.5rem; }
.site-footer__portal .btn { color: var(--c-text); text-decoration: none; }
.site-footer__portal .btn:hover { text-decoration: none; }
.hours p + p { margin-top: 0.85rem; }
.hours strong { display: inline-block; margin-bottom: 0.15rem; color: var(--c-text); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; border-top: 1px solid var(--c-line-soft); font-size: var(--fs-xs); }
.site-footer__legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* 6. PAGINA'S ------------------------------------------------------------- */

/* Home: hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 8rem) clamp(2.5rem, 2rem + 2vw, 4rem);
  border-bottom: 1px solid var(--c-line-soft);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; filter: saturate(0.6) brightness(0.9); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.97) 0%, rgba(10, 10, 12, 0.85) 36%, rgba(10, 10, 12, 0.25) 72%, rgba(10, 10, 12, 0.15) 100%),
    linear-gradient(0deg, var(--c-bg) 0%, rgba(10, 10, 12, 0) 32%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 15% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 15% 50%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; max-width: 47rem; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; }
.hero__text { margin-top: 1.75rem; max-width: 38rem; font-size: var(--fs-xl); color: var(--c-text-2); }
.hero .btn-row { margin-top: 2.5rem; }
@media (max-width: 767px) { .hero__bg img { object-position: 70% 50%; } }

/* Home: dienstenstrook */
.service-strip { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); list-style: none; }
.service-strip a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 100%;
  padding: 1.1rem 1.2rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  color: var(--c-text); font-weight: 650; font-size: 0.9375rem; line-height: 1.3; text-decoration: none; overflow: hidden;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.service-strip a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-red); transform: scaleY(0.35); transition: transform 0.25s var(--ease); }
.service-strip a:hover { border-color: rgba(225, 1, 27, 0.5); background: var(--c-surface-2); }
.service-strip a:hover::before { transform: none; }
.service-strip .icon { width: 1.05rem; height: 1.05rem; color: var(--c-red-text); flex: none; transition: transform 0.2s var(--ease); }
.service-strip a:hover .icon { transform: translateX(3px); }

/* Voertuigselector */
.selector { position: relative; overflow: hidden; padding: clamp(1.5rem, 1rem + 2.2vw, 3rem); }
.selector__head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.selector__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.selector__subtitle { margin-top: 0.75rem; max-width: 40rem; color: var(--c-text-2); }
.selector__form { display: grid; gap: 1rem; }
@media (min-width: 720px) { .selector__form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .selector__form { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; } }
.selector__field { display: grid; gap: 0.5rem; }
.selector__label { display: flex; align-items: center; gap: 0.5rem; color: var(--c-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.selector__step { display: inline-grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 4px; background: var(--c-surface-2); border: 1px solid var(--c-line); color: var(--c-muted); font-size: 0.6875rem; letter-spacing: 0; }
.selector__field.is-done .selector__step { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.selector__submit { min-height: 3.25rem; }
@media (min-width: 720px) and (max-width: 1099px) { .selector__submit { grid-column: span 2; } }
.selector__status { display: flex; align-items: center; gap: 0.6rem; min-height: 1.5rem; margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--c-muted); }
.selector__error { margin-top: 1rem; }
.spinner { width: 1rem; height: 1rem; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--c-red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.selector__deco { position: absolute; right: -3rem; top: -3rem; width: 16rem; height: 16rem; opacity: 0.07; pointer-events: none; color: var(--c-red); transform: rotate(12deg); }
.selector--compact { padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.selector--compact .selector__head { margin-bottom: 1.25rem; }
.selector--compact .selector__title { font-size: 1.25rem; }

/* Werkwijze */
.steps { list-style: none; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 0; } }
.step { position: relative; padding: 2rem 1.75rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); counter-increment: step; }
@media (min-width: 1080px) {
  .step { border-radius: 0; border-right-width: 0; }
  .step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right-width: 1px; }
  .step:not(:last-child)::after { /* pijl naar de volgende stap */
    content: ""; position: absolute; z-index: 1; top: 2.9rem; right: -0.6rem; width: 1.2rem; height: 1.2rem;
    background: var(--c-bg-2); border-top: 1px solid var(--c-line); border-right: 1px solid var(--c-line); transform: rotate(45deg);
  }
}
.step__num { display: block; font-family: var(--f-display); font-size: 3rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.14); letter-spacing: -0.04em; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step .icon-badge { position: absolute; top: 2rem; right: 1.75rem; }
.step__text { margin-top: 1.5rem; color: var(--c-text); font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.step__bar { position: absolute; left: 1.75rem; right: 1.75rem; bottom: 0; height: 3px; background: var(--c-red); transform: scaleX(0.18); transform-origin: left; }
.step:last-child .step__bar { transform: none; }
.steps-aside { position: relative; }
.steps-aside .media { aspect-ratio: 1; background: transparent; }
.steps-aside .media img { object-fit: contain; opacity: 0.55; }

/* Nieuws */
.news-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-card { overflow: hidden; padding: 0; }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.news-card__date { color: var(--c-red-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.news-card__title { margin-top: 0.75rem; font-size: 1.1875rem; line-height: 1.3; }
.news-card__title a { text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* hele kaart klikbaar */
.news-card__text { margin-top: 0.75rem; color: var(--c-text-2); font-size: 0.9375rem; }
.news-card__more { margin-top: auto; padding-top: 1.25rem; }
.news-card__more .text-link { font-size: var(--fs-sm); }
.news-card:focus-within { border-color: rgba(225, 1, 27, 0.55); }

.news-featured { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .news-featured { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; min-height: 520px; } .news-featured > :first-child { grid-row: span 2; } }
.news-tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 240px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: var(--c-surface); text-decoration: none; }
.news-tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 10, 12, 0.95) 10%, rgba(10, 10, 12, 0.2) 75%); }
.news-tile:hover img { transform: scale(1.04); }
.news-tile__body { padding: 1.5rem 1.75rem; }
.news-tile__title { margin-top: 0.5rem; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.25; }
.news-featured > :first-child .news-tile__title { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.125rem); }

/* Nieuwsbericht */
.article { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 1080px) { .article { grid-template-columns: minmax(0, 1fr) 340px; } }
.article__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin-top: 1.5rem; color: var(--c-muted); font-size: var(--fs-sm); }
.article__meta span { display: inline-flex; gap: 0.45rem; align-items: center; }
.article__meta .icon { width: 1rem; height: 1rem; color: var(--c-red-text); }
.article__figure { margin: 0 0 2.5rem; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.article__figure img { width: 100%; max-height: 520px; object-fit: cover; }
.article__intro { color: var(--c-text); font-size: var(--fs-xl); font-weight: 500; }
.article__aside { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1080px) { .article__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.related { padding: 1.5rem; }
.related h2 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.related ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.6rem; }

/* Diensten */
.logo-marquee { position: relative; overflow: hidden; padding-block: 1.75rem; border-bottom: 1px solid var(--c-line-soft); background: var(--c-bg-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__item { display: grid; place-items: center; width: 132px; height: 76px; flex: none; padding: 0.75rem; background: #f1f1f4; border-radius: var(--radius); }
.logo-marquee__item img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.2s, opacity 0.2s; }
.logo-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.5rem)); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logo-marquee__track [aria-hidden="true"] { display: none; } }

.service-grid { display: grid; gap: 1.25rem; list-style: none; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service-card { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.service-card__label { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--c-red-text); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.service-card__num { color: rgba(255, 255, 255, 0.12); font-family: var(--f-display); font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.service-card__title { margin-top: 1.25rem; font-size: 1.375rem; line-height: 1.25; }
.service-card__text { margin-top: 0.875rem; color: var(--c-text-2); font-size: 0.9375rem; }
.service-card .checklist { margin-top: 1.25rem; font-size: 0.9375rem; }
.service-card__foot { margin-top: auto; padding-top: 1.75rem; }
/* Alle aanvraagknoppen even hoog: ruimte voor twee regels (lange dienstnamen), tekst gecentreerd. */
.service-card__foot .btn { min-height: 3.75rem; }
.service-card__foot .btn > span { text-align: center; }
.service-card:target { border-color: var(--c-red); box-shadow: 0 0 0 3px var(--c-red-soft); }
.service-cta { margin-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* WinOLS */
.license { display: block; width: 100%; max-width: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); transition: border-color 0.2s; }
a.license:hover { border-color: var(--c-red); }
.license img { width: 100%; height: auto; }
.step-list { list-style: none; counter-reset: s; display: grid; gap: 0.25rem; }
.step-list li { position: relative; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line-soft); counter-increment: s; color: var(--c-text-2); }
.step-list li:last-child { border-bottom: 0; }
.step-list li::before {
  content: counter(s); display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: var(--radius);
  color: var(--c-text); font-family: var(--f-display); font-weight: 800;
}
.step-list li:first-child::before { background: var(--c-red); border-color: var(--c-red); }
.step-list a { color: var(--c-text); text-decoration-color: var(--c-red); text-decoration-thickness: 2px; }
.step-list p { margin: 0; padding-top: 0.45rem; }
.note { display: flex; gap: 0.875rem; padding: 1.125rem 1.25rem; background: var(--c-surface); border: 1px solid var(--c-line); border-left: 3px solid var(--c-red); border-radius: var(--radius); color: var(--c-text-2); font-size: 0.9375rem; }
.note .icon { color: var(--c-red-text); margin-top: 0.15rem; }
.shots { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 560px) { .shots { grid-template-columns: 1.6fr 1fr; } }
.shot { margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--c-line); background: #fff; }
.shot img { width: 100%; }

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.contact-info { gap: 1.75rem; }
.contact-info__list { list-style: none; display: grid; gap: 1.5rem; }
.contact-info__item { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.contact-info__item a { color: var(--c-text); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-info__item a:hover { text-decoration: underline; text-decoration-color: var(--c-red); }
.contact-info__label { display: block; margin-bottom: 0.15rem; color: var(--c-muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-info__links { display: grid; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line-soft); }
.contact-info__media { margin-top: 0.5rem; }
.contact-info__media img { width: 100%; max-height: 220px; object-fit: contain; filter: grayscale(0.4) drop-shadow(0 20px 24px rgba(0, 0, 0, 0.6)); }
.contact-form__title { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem); }
.contact-form__intro { margin-top: 0.75rem; margin-bottom: 1.75rem; color: var(--c-text-2); }
.contact-heading { margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); font-size: var(--fs-h2); color: var(--c-red); }
.contact-heading .is-plain { color: var(--c-text); }

/* Tekstpagina's */
.doc { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 4rem); }
@media (min-width: 1080px) { .doc { grid-template-columns: 260px minmax(0, 1fr); } }
.toc { align-self: start; padding: 1.25rem; font-size: var(--fs-sm); }
@media (min-width: 1080px) { .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
.toc__title { color: var(--c-text); font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.toc ol { list-style: none; margin-top: 1rem; display: grid; gap: 0.15rem; }
.toc a { display: block; padding: 0.35rem 0.6rem; border-left: 2px solid var(--c-line); color: var(--c-text-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--c-text); border-left-color: var(--c-red); }
@media (max-width: 1079px) { .toc details summary { cursor: pointer; } }

/* Voertuigoverzicht */
.make-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .make-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.make-card h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.make-card h3::before { content: ""; width: 0.5rem; height: 1.25rem; background: var(--c-red); transform: skewX(-18deg); }
.make-card ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.25rem; }
.make-card a { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--c-line-soft); color: var(--c-text-2); text-decoration: none; font-size: 0.9375rem; }
.make-card li:last-child a { border-bottom: 0; }
.make-card a:hover { color: var(--c-text); }
.make-card a .icon { width: 1rem; height: 1rem; color: var(--c-red-text); margin-top: 0.2rem; }

/* Voertuigdetail */
.vehicle-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--c-line-soft);
  background: radial-gradient(80% 120% at 85% 30%, rgba(225, 1, 27, 0.16), transparent 60%), linear-gradient(180deg, #0f0f12, var(--c-bg)); }
.vehicle-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.vehicle-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .vehicle-hero__grid--media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.vehicle-hero__eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.vehicle-hero__logo { width: 44px; height: 44px; padding: 4px; background: #fff; border-radius: var(--radius); object-fit: contain; }
.vehicle-hero__title { font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3.25rem); }
.vehicle-hero__subline { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; list-style: none; }
.vehicle-hero__lead { margin-top: 1.5rem; max-width: 42rem; color: var(--c-text-2); font-size: var(--fs-lg); }
.vehicle-hero__media { margin: 0; position: relative; }
.vehicle-hero__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.vehicle-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(10, 10, 12, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line-soft); }
.vehicle-nav ul { list-style: none; display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
.vehicle-nav a { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.5rem 0.875rem; white-space: nowrap; color: var(--c-text-2); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.vehicle-nav a:hover { color: var(--c-text); border-bottom-color: var(--c-red); }

.perf { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .perf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.perf-card { gap: 1.5rem; }
.perf-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.perf-card__label { color: var(--c-text); font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.perf-card__value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.perf-card__number { color: var(--c-text); font-family: var(--f-display); font-size: clamp(3rem, 2.3rem + 3vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.perf-card__unit { color: var(--c-text-2); font-size: 1.25rem; font-weight: 600; }
.perf-card__gain { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--c-red-soft); border: 1px solid rgba(225, 1, 27, 0.45); color: #fff; font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.perf-card__gain--flat { background: var(--c-surface-2); border-color: var(--c-line); color: var(--c-text-2); }
.perf-card__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; }
.perf-card__facts div { padding: 0.875rem 1rem; background: #0e0e11; border: 1px solid var(--c-line); border-radius: var(--radius); }
.perf-card__facts dt { color: var(--c-muted); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.perf-card__facts dd { margin: 0.35rem 0 0; color: var(--c-text); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.perf-card__facts .is-accent { color: var(--c-red-text); }
@media (max-width: 459px) { .perf-card__facts { gap: 0.5rem; } .perf-card__facts div { padding: 0.7rem 0.7rem; } .perf-card__facts dt { font-size: 0.625rem; letter-spacing: 0.06em; } .perf-card__facts dd { font-size: 0.875rem; } }

.chart { display: grid; gap: 0.875rem; }
.chart__row { display: grid; grid-template-columns: 5.5rem 1fr; gap: 0.875rem; align-items: center; }
.chart__label { color: var(--c-text-2); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.chart__track { position: relative; height: 0.875rem; background: #0e0e11; border: 1px solid var(--c-line); border-radius: 3px; overflow: hidden; }
.chart__fill { position: absolute; inset: 0 auto 0 0; background: #6b6b75; border-radius: 2px; }
.chart__row--tuned .chart__fill { background: linear-gradient(90deg, #8f0012, var(--c-red)); box-shadow: 0 0 18px var(--c-red-glow); }
.chart__row--tuned .chart__label { color: var(--c-text); }
.chart__scale { position: relative; height: 1.25rem; margin-left: 6.375rem; }
.chart__tick { position: absolute; top: 0; transform: translateX(-50%); color: var(--c-muted); font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
.chart__tick::before { content: ""; position: absolute; left: 50%; top: -0.55rem; width: 1px; height: 0.35rem; background: var(--c-line); }
.chart__tick--first { transform: none; }
.chart__tick--first::before { left: 0; }
.chart__tick--last { transform: translateX(-100%); }
.chart__tick--last::before { left: auto; right: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .chart__fill { animation: grow 1s var(--ease) both; transform-origin: left; }
  .js .chart__row--tuned .chart__fill { animation-delay: 0.15s; }
}
@keyframes grow { from { transform: scaleX(0); } }

.spec-layout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 960px) { .spec-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.spec-list { margin: 1.25rem 0 0; display: grid; }
.spec-list > div { display: grid; grid-template-columns: minmax(8rem, 0.8fr) 1.2fr; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--c-line-soft); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--c-muted); font-size: var(--fs-sm); }
.spec-list dd { margin: 0; color: var(--c-text); font-weight: 600; }
.spec-list ul { list-style: none; display: grid; gap: 0.2rem; }
.spec-list .or { color: var(--c-muted); font-weight: 400; font-size: var(--fs-sm); }
.card__title { font-size: 1.1875rem; }
.card__title + * { margin-top: 1.125rem; }
.dyno { margin: 0; padding: 0.75rem; background: #fff; border-radius: var(--radius-lg); }
.dyno img { width: 100%; }
.story { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .story--media { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.story h3 { margin-top: 1.75rem; font-size: 1.125rem; }
.story h3 + p { margin-top: 0.5rem; }
.story__media { margin: 0; }
.story__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--c-line); }

/* Foutpagina */
.error-page { text-align: left; }
.error-page__code { display: block; font-family: var(--f-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--c-red); }

/* 7. HULPKLASSEN EN PRINT -------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: 2.5rem; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .topbar, .site-header, .nav, .site-footer, .vehicle-nav, .selector, .btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4, strong { color: #000; }
  .page-hero, .hero, .vehicle-hero { padding: 1rem 0; background: none; }
  .page-hero::before, .page-hero::after, .page-hero__bg, .hero::before, .hero::after, .hero__bg { display: none; }
  .card, .panel { border-color: #ccc; background: #fff; }
  .prose { color: #000; }
}

/* Aanvullingen per sectie ------------------------------------------------ */
.page-hero__title { color: var(--c-text); font-family: var(--f-display); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.page-hero--article .page-hero__title { font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3.25rem); }

.why-media { display: grid; gap: 1rem; }
.why-media__car { aspect-ratio: auto; background: transparent; overflow: visible; }
.why-media__car img { object-fit: contain; filter: grayscale(1) contrast(1.1) brightness(0.95) drop-shadow(0 28px 30px rgba(0, 0, 0, 0.65)); }
.why-media__grid { grid-template-columns: 1fr 1fr; }
.why-media__grid .media { aspect-ratio: 4 / 3; }
.why-media__grid .media--tall { aspect-ratio: auto; }
@media (min-width: 960px) { .why-media__car { margin-inline: -2rem -1rem; } }

.steps { position: relative; z-index: 1; }

.license-panel { display: grid; place-items: center; min-height: 220px; padding: 2rem; }
.vehicle-list { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.vehicle-hero__eyebrow .crumb { margin: 0; }
.vehicle-hero__subline { align-items: center; color: var(--c-muted); }
.vehicle-hero__subline .sep { display: none; }
.system .device { margin: 0; }
.service-card__label .icon { width: 1rem; height: 1rem; }
@media (max-width: 559px) { .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; } .service-strip a { padding: 0.9rem 0.9rem; font-size: 0.875rem; } }
@media (max-width: 999px) { .contact-form { order: -1; } }
.kicker .kicker__plain { color: var(--c-text); }
.related p + p { margin-top: 1rem; }
.related__text { margin-top: 0.75rem; }
