/* ==========================================================================
   Autobedrijf Visser – huisstijl
   Kentekengeel, asfalt en werkplaatsgrijs. Barlow (Condensed) voor alles.
   ========================================================================== */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --geel: #EAC439;
  --geel-diep: #D9AF17;
  --geel-zacht: #FBF3D6;
  --asfalt: #1F2A33;
  --asfalt-2: #2A3741;
  --grafiet: #3A4650;
  --staal: #5F6B75;
  --lijn: #D5DAD7;
  --werkplaats: #EEF0EE;
  --wit: #FFFFFF;
  --eu: #1F3F99;
  --rood: #B42318;

  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  /* typeschaal (1,25) op 18px */
  --t-xs: 0.8rem;   /* 14.4 */
  --t-s: 0.9rem;
  --t-m: 1rem;      /* 18 */
  --t-l: 1.25rem;   /* 22.5 */
  --t-xl: 1.5625rem;/* 28 */
  --t-2xl: 1.95rem; /* 35 */
  --t-3xl: 2.44rem; /* 44 */
  --t-4xl: 3.05rem; /* 55 */
  --t-5xl: 3.8rem;  /* 69 */

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --space: clamp(56px, 8vw, 104px);
  --r-s: 3px;
  --r-m: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-m);
  line-height: 1.6;
  color: var(--asfalt);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--asfalt); text-decoration-color: var(--geel-diep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--asfalt); }
:focus-visible { outline: 3px solid var(--eu); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-cond); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--geel); padding: 8px 14px; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-cond); font-weight: 600; font-size: var(--t-l); line-height: 1;
  padding: .7em 1.15em; border-radius: var(--r-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { font-size: var(--t-xl); padding: .65em 1.2em; }
.btn-yellow { background: var(--geel); color: var(--asfalt); border-color: var(--geel); }
.btn-yellow:hover { background: var(--geel-diep); border-color: var(--geel-diep); }
.btn-dark { background: var(--asfalt); color: var(--wit); border-color: var(--asfalt); }
.btn-dark:hover { background: var(--grafiet); border-color: var(--grafiet); }
.btn-ghost-light { color: var(--wit); border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: var(--wit); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--asfalt); color: var(--wit);
  border-bottom: 4px solid var(--geel);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; line-height: .9; text-decoration: none; color: var(--wit); margin-right: auto; }
.brand-small { font-family: var(--f-cond); font-weight: 500; font-size: .85rem; letter-spacing: .02em; color: var(--geel); }
.brand-big { font-family: var(--f-cond); font-weight: 700; font-size: 2.1rem; letter-spacing: -.01em; }
.brand-dark { color: var(--asfalt); }
.brand-dark .brand-small { color: var(--grafiet); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 10px 12px; color: var(--wit); text-decoration: none;
  font-family: var(--f-cond); font-weight: 600; font-size: var(--t-l);
  border-bottom: 3px solid transparent;
}
.nav-item > a:hover, .nav-item.is-active > a { border-bottom-color: var(--geel); }
.sub-toggle { display: none; }
.sub-list {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--wit); border-top: 3px solid var(--geel); box-shadow: 0 10px 30px rgba(31,42,51,.18);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list { opacity: 1; visibility: visible; transform: none; }
.sub-list a { display: block; padding: 8px 18px; color: var(--asfalt); text-decoration: none; font-weight: 500; }
.sub-list a:hover, .sub-list a[aria-current] { background: var(--werkplaats); }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-cond); font-weight: 700; font-size: var(--t-xl); color: var(--asfalt);
  background: var(--geel); padding: 8px 14px; border-radius: var(--r-s); text-decoration: none; white-space: nowrap;
}
.header-call:hover { background: var(--geel-diep); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; background: none; border: 2px solid rgba(255,255,255,.4);
    color: var(--wit); font: 600 var(--t-l)/1 var(--f-cond); padding: 9px 12px; border-radius: var(--r-s); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--asfalt); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; border-bottom: 4px solid var(--geel);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-item { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-item > a { flex: 1; padding: 14px 0; font-size: var(--t-xl); border-bottom: 0; }
  .nav-item.is-active > a { color: var(--geel); }
  .sub-toggle {
    display: block; width: 48px; background: none; border: 0; color: var(--wit); cursor: pointer; position: relative;
  }
  .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-right: 2px solid; border-bottom: 2px solid; transform: translate(-50%, -70%) rotate(45deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(-135deg); }
  .sub-list { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 10px 14px; }
  .sub-list.is-open { display: block; }
  .sub-list a { color: var(--wit); padding: 8px 0; }
  .sub-list a:hover, .sub-list a[aria-current] { background: none; color: var(--geel); }
  .header-call { margin-top: 20px; justify-content: center; }
}
@media (max-width: 420px) {
  .brand-big { font-size: 1.75rem; }
  .nav-toggle-label { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--asfalt); color: var(--wit); min-height: min(640px, 78vh); }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(48px, 7vw, 96px) var(--gutter) 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero-title {
  font-size: clamp(3rem, 7.2vw, 5.6rem); line-height: .92; letter-spacing: -.02em; margin-bottom: .35em; max-width: 11ch;
}
.hero-lead { font-size: var(--t-l); line-height: 1.5; color: #D6DCE0; max-width: 34ch; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: clamp(40px, 6vw, 72px) 0 0; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-facts dt { font-family: var(--f-cond); font-weight: 600; color: var(--geel); font-size: var(--t-m); }
.hero-facts dd { margin: 2px 0 0; color: #D6DCE0; font-size: var(--t-s); line-height: 1.45; }
.hero-img { position: relative; background: var(--asfalt-2); min-height: 320px; }
.hero-img img, .hero-img .ed-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img .ed-img img { position: static; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .hero-text { padding: 36px var(--gutter) 0; }
  .hero-title { max-width: none; }
}

/* ---------- Secties ---------- */
.section { padding: var(--space) 0; }
.section-tight { padding-top: 0; }
.section + .section:not(.section-tight) { border-top: 1px solid var(--lijn); }
.section-head { margin-bottom: 40px; max-width: 60ch; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-title { font-size: clamp(var(--t-2xl), 4vw, var(--t-4xl)); margin-bottom: .2em; }
.section-sub { color: var(--staal); font-size: var(--t-l); margin: 0; }
.empty { color: var(--staal); }
.empty-block { background: var(--werkplaats); padding: 32px; border-left: 4px solid var(--geel); max-width: 70ch; }
.empty-block h2 { font-size: var(--t-xl); }
.empty-block p:last-child { margin: 0; }

/* Lopende tekst */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--t-2xl); margin-top: 1.4em; }
.prose h3 { font-size: var(--t-xl); margin-top: 1.3em; }
.prose h4 { font-size: var(--t-l); margin-top: 1.2em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose ul li::marker { color: var(--geel-diep); }
.prose img { display: inline-block; margin: 8px 12px 8px 0; vertical-align: middle; }
.prose blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 4px solid var(--geel); font-size: var(--t-l); }
.prose-lead > p:first-child { font-size: var(--t-xl); line-height: 1.35; font-weight: 500; }

/* ---------- Intro (home) ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.credentials { background: var(--werkplaats); padding: 28px 28px 24px; border-top: 4px solid var(--asfalt); }
.credentials-title { font-size: var(--t-xl); }
.credentials-list ul { list-style: none; margin: 0; padding: 0; }
.credentials-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--lijn); line-height: 1.4; }
.credentials-list li:last-child { border-bottom: 0; }
.credentials-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px;
  border-left: 3px solid var(--asfalt); border-bottom: 3px solid var(--asfalt); transform: rotate(-45deg);
}
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--lijn); }
.badge { max-height: 64px; width: auto; mix-blend-mode: multiply; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Diensten (home) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--werkplaats); margin-bottom: 16px; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-title { font-size: var(--t-xl); margin-bottom: .3em; }
.service-text { color: var(--grafiet); font-size: var(--t-s); line-height: 1.55; margin: 0; }
.more-links { margin: 40px 0 0; font-size: var(--t-l); }
.more-links a { font-weight: 600; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Occasions ---------- */
.occasions-home { background: var(--werkplaats); }
.section.occasions-home + .section { border-top: 0; }
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.car { position: relative; background: var(--wit); border: 1px solid var(--lijn); display: flex; flex-direction: column; }
.car-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.car-img { position: relative; aspect-ratio: 4 / 3; background: var(--werkplaats); overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.car-link:hover .car-img img { transform: scale(1.03); }
.car-link:hover .car-title { text-decoration: underline; text-decoration-color: var(--geel-diep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.car-noimg { display: grid; place-items: center; height: 100%; color: var(--staal); font-family: var(--f-cond); font-size: var(--t-l); }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.car-title { font-size: var(--t-2xl); margin: 0; }
.car-edition { color: var(--staal); margin: 2px 0 0; }
.car-specs { list-style: none; padding: 0; margin: 12px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.car-specs li { background: var(--werkplaats); padding: 2px 8px; font-size: var(--t-xs); font-weight: 500; border-radius: var(--r-s); }
.car-price { margin: auto 0 0; font-family: var(--f-cond); font-weight: 700; font-size: var(--t-2xl); line-height: 1; }
.car-tax { font-family: var(--f-body); font-weight: 400; font-size: var(--t-xs); color: var(--staal); vertical-align: middle; }
.car-badge { position: absolute; left: 0; top: 16px; background: var(--asfalt); color: var(--wit); font-family: var(--f-cond); font-weight: 600; padding: 4px 12px; }
.car.is-sold .car-img img { filter: grayscale(1); opacity: .75; }
.sold-title { margin-top: var(--space); font-size: var(--t-2xl); color: var(--staal); }
.car-grid-sold .car-price { color: var(--staal); }

.car-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.car-main { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--werkplaats); overflow: hidden; }
.car-main img { width: 100%; height: 100%; object-fit: cover; }
.car-main.car-noimg { display: grid; place-items: center; }
.car-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.car-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.car-price-lg { font-size: var(--t-4xl); margin-bottom: 20px; }
.spec-table { margin: 0 0 28px; border-top: 2px solid var(--asfalt); }
.spec-table > div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--lijn); }
.spec-table dt { color: var(--staal); }
.spec-table dd { margin: 0; font-weight: 600; }
.car-cta { background: var(--werkplaats); padding: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.car-cta p { width: 100%; margin: 0 0 4px; font-family: var(--f-cond); font-weight: 600; font-size: var(--t-xl); }
.car-sold-note { font-weight: 600; }
.car-text { grid-column: 1 / -1; }
.options-list { columns: 2; column-gap: 32px; }
@media (max-width: 860px) { .car-detail { grid-template-columns: 1fr; } .options-list { columns: 1; } }

/* ---------- Pagina-kop ---------- */
.page-head { background: var(--werkplaats); border-bottom: 1px solid var(--lijn); display: grid; grid-template-columns: minmax(0, 1fr); }
.page-head-inner { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 5vw, 56px); width: 100%; }
.page-title { font-size: clamp(2.6rem, 6vw, var(--t-5xl)); line-height: .95; margin: 0; letter-spacing: -.015em; }
.page-sub { font-size: var(--t-l); color: var(--grafiet); margin: .5em 0 0; max-width: 50ch; }
.crumb { display: inline-block; font-weight: 600; margin-bottom: 10px; font-size: var(--t-s); }
.crumb::before { content: "‹ "; }
.page-head.has-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.page-head-img { position: relative; min-height: 220px; }
.page-head-img img, .page-head-img .ed-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head-img .ed-img img { position: static; }
.page-head.has-hero .page-head-inner { max-width: calc(var(--wrap) / 2); margin-left: auto; }
@media (max-width: 760px) { .page-head.has-hero { grid-template-columns: 1fr; } .page-head.has-hero .page-head-inner { max-width: none; } }

.page-body { padding-bottom: 0; }
.page-photos { margin-top: 48px; }

/* ---------- Rijen (diensten-overzicht) ---------- */
.group-intro { margin-bottom: 40px; }
.row-list { display: grid; gap: 0; border-top: 2px solid var(--asfalt); }
.row-item { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--lijn); text-decoration: none; color: inherit; align-items: center; }
.row-img { aspect-ratio: 3 / 2; background: var(--werkplaats); overflow: hidden; }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-title { font-size: var(--t-3xl); margin-bottom: .2em; }
.row-text { color: var(--grafiet); max-width: 60ch; }
.row-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--geel-diep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.row-item:hover .row-title { text-decoration: underline; text-decoration-color: var(--geel); text-decoration-thickness: 3px; }
@media (max-width: 640px) { .row-item { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Werkplaats-lijst ---------- */
.feature-list { display: grid; gap: clamp(40px, 6vw, 72px); }
.feature { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.feature:nth-child(even) .feature-img { order: 2; }
.feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--werkplaats); }
.feature-title { font-size: clamp(var(--t-2xl), 3.5vw, var(--t-4xl)); }
.feature-sub { color: var(--staal); font-size: var(--t-l); }
.feature-text { font-size: var(--t-l); line-height: 1.55; max-width: 52ch; color: var(--grafiet); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature-img { order: 0; } }

/* ---------- Foto's ---------- */
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo { margin: 0; position: relative; }
.photo-link { display: block; overflow: hidden; background: var(--werkplaats); }
.photo-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.photo-link:hover img { transform: scale(1.03); }
.photo-caption { font-size: var(--t-xs); color: var(--staal); margin-top: 6px; }
@media (max-width: 760px) { .photo-grid, .photo-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px 28px; }
.album-card { text-decoration: none; color: inherit; }
.album-img { aspect-ratio: 4 / 3; background: var(--werkplaats); overflow: hidden; margin-bottom: 14px; }
.album-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.album-card:hover .album-img img { transform: scale(1.03); }
.album-title { font-size: var(--t-2xl); margin: 0; }
.album-card:hover .album-title { text-decoration: underline; text-decoration-color: var(--geel); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.album-meta { color: var(--staal); margin: 2px 0 0; }
.album-desc { margin-bottom: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,27,33,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox figcaption { color: #D6DCE0; margin-top: 10px; min-height: 1.4em; }
.lightbox button { background: none; border: 0; color: var(--wit); font-size: 48px; line-height: 1; cursor: pointer; height: 100%; }
.lightbox button:hover { color: var(--geel); }
.lightbox-close { position: absolute; top: 12px; right: 16px; height: auto !important; font-size: 40px !important; }
.lightbox-prev { grid-column: 1; } .lightbox-next { grid-column: 3; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 40px 1fr 40px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { margin: 28px 0 0; border-top: 2px solid var(--asfalt); }
.contact-list > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lijn); }
.contact-list dt { font-family: var(--f-cond); font-weight: 600; font-size: var(--t-l); }
.contact-list dd { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { background: var(--werkplaats); padding: clamp(22px, 4vw, 40px); }
.form-title { font-size: var(--t-2xl); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--staal); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--asfalt); background: var(--wit);
  border: 2px solid #B9C0BC; border-radius: var(--r-s); padding: 11px 12px;
}
.field input:focus, .field textarea:focus { border-color: var(--asfalt); outline: 3px solid rgba(234,196,57,.6); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--rood); }
.field-error, .form-error { color: var(--rood); font-weight: 500; margin: 6px 0 0; }
.form-error { background: #FDECEA; padding: 10px 14px; margin-bottom: 18px; border-left: 4px solid var(--rood); }
.form-note { font-size: var(--t-xs); color: var(--staal); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Het kenteken: één echte Nederlandse plaat */
.plate {
  display: flex; align-items: stretch; max-width: 300px; height: 62px;
  background: var(--geel); border: 2px solid var(--asfalt); border-radius: 7px; overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--geel), inset 0 0 0 3px rgba(31,42,51,.35);
}
.plate-eu {
  width: 40px; flex: none; background: var(--eu); color: var(--wit);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font: 700 .95rem/1 var(--f-cond);
}
.plate input {
  border: 0 !important; outline: none !important; background: transparent !important; border-radius: 0 !important;
  font-family: var(--f-cond) !important; font-weight: 700; font-size: 2.15rem !important; letter-spacing: .06em;
  text-transform: uppercase; text-align: center; padding: 0 8px !important; color: var(--asfalt); min-width: 0;
}
.plate input::placeholder { color: rgba(31,42,51,.32); }
.plate:focus-within { outline: 3px solid var(--eu); outline-offset: 2px; }

/* ---------- Belbalk + footer ---------- */
.call-band { background: var(--geel); color: var(--asfalt); }
.call-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.call-band-title { font-size: clamp(var(--t-2xl), 3.6vw, var(--t-4xl)); margin: 0 0 .15em; }
.call-band-text { margin: 0; font-size: var(--t-l); max-width: 46ch; }
.call-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.call-band .btn-yellow { background: var(--asfalt); color: var(--wit); border-color: var(--asfalt); }
.call-band .btn-yellow:hover { background: var(--grafiet); border-color: var(--grafiet); }
.call-band .btn-ghost-light { color: var(--asfalt); border-color: var(--asfalt); }
.call-band .btn-ghost-light:hover { background: rgba(31,42,51,.08); }
.link-light { font-weight: 600; text-decoration-color: var(--asfalt); }

.site-footer { background: var(--asfalt); color: #C9D0D5; font-size: var(--t-s); }
.site-footer a { color: var(--wit); text-decoration-color: rgba(234,196,57,.7); }
.site-footer a:hover { text-decoration-color: var(--geel); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-title { font-size: var(--t-l); color: var(--wit); margin-bottom: .6em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 26px; font-size: var(--t-xs); }
.footer-legal { display: flex; gap: 18px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inloggen ---------- */
.login-body { background: var(--werkplaats); }
.login { max-width: 440px; margin: 0 auto; padding: 56px 16px; }
.login .brand { margin-bottom: 28px; }
.login-form { background: var(--wit); padding: 32px; border-top: 4px solid var(--geel); }
.login-form h1 { font-size: var(--t-2xl); }
.login-help { color: var(--grafiet); font-size: var(--t-s); }
.login-form .btn { width: 100%; margin-top: 6px; }
.login-back { display: inline-block; margin-top: 18px; font-size: var(--t-s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .call-band, .site-footer, .lightbox { display: none !important; }
}
.section-photos { border-top: 0 !important; }
