/* Brabant Bedrijfswagens: huisstijl zwart / rood / wit */
:root {
  --zwart: #111111;
  --antraciet: #1d1d1f;
  --grijs-9: #3a3a3c;
  --grijs-6: #6e6e73;
  --grijs-3: #d2d2d7;
  --grijs-1: #f3f3f5;
  --wit: #ffffff;
  --rood: #e70201;
  --rood-donker: #c00000;
  --radius: 14px;
  --schaduw: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Arial Black", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --breedte: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--zwart); background: var(--wit); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--breedte)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--wit); padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 2px; }

/* Knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; white-space: nowrap; font-family: inherit; }
.knop:hover { transform: translateY(-1px); }
.knop--rood { background: var(--rood); color: var(--wit); }
.knop--rood:hover { background: var(--rood-donker); }
.knop--zwart { background: var(--zwart); color: var(--wit); }
.knop--licht { background: var(--wit); color: var(--zwart); }
.knop--rand { border-color: var(--zwart); color: var(--zwart); background: transparent; }
.knop--breed { width: 100%; }
.pijl { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--rood); padding-bottom: 2px; }
.pijl::after { content: " \2192"; }

/* Topbar + kop */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--grijs-1); }
.kop__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.logo img { width: 250px; height: auto; }
html, body { overflow-x: clip; }
.menu { display: flex; align-items: center; gap: 1.8rem; }
.menu > a:not(.knop) { text-decoration: none; font-weight: 600; position: relative; padding: .3rem 0; }
.menu > a:not(.knop)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--rood); transition: right .2s; }
.menu > a:not(.knop):hover::after, .menu > a.is-actief::after { right: 0; }
.menuknop { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menuknop span { display: block; height: 2px; background: var(--zwart); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* Held */
.held { position: relative; overflow: hidden; background: var(--grijs-1); padding: clamp(3rem, 8vw, 6.5rem) 0; }
.held__strepen { position: absolute; inset: 0; pointer-events: none; }
.held__strepen i { position: absolute; top: -20%; height: 140%; transform: skewX(-28deg); }
.held__strepen i:first-child { right: 14%; width: 90px; background: var(--rood); }
.held__strepen i:last-child { right: calc(14% - 120px); width: 60px; background: var(--grijs-9); }
.held__in { position: relative; }
.held__tekst { max-width: 720px; }
.held h1 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.held h1 em { color: var(--rood); font-style: italic; }
.held__lead { font-size: 1.15rem; color: var(--grijs-9); max-width: 560px; }
.bovenregel { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--rood); margin-bottom: .8rem; }

.snelzoek { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; background: var(--wit); padding: 1rem; border-radius: var(--radius); box-shadow: var(--schaduw); margin-top: 2rem; max-width: 680px; }
.snelzoek label span, .filters label span { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grijs-6); margin-bottom: .3rem; }
select, input, textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid var(--grijs-3); border-radius: 10px; background: var(--wit); color: var(--zwart); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.2rem; }
select:focus, input:focus, textarea:focus { border-color: var(--zwart); outline: none; }

/* USP */
.usp { border-bottom: 1px solid var(--grijs-1); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__grid > div { padding: 1.6rem 1.2rem; border-left: 1px solid var(--grijs-1); }
.usp__grid > div:first-child { border-left: 0; padding-left: 0; }
.usp strong { display: block; font-size: 1rem; }
.usp strong::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--rood); margin-right: .55rem; transform: skewX(-20deg); }
.usp span { color: var(--grijs-6); font-size: .92rem; }

/* Secties */
.sectie { padding: clamp(3rem, 6vw, 5rem) 0; }
.sectie--krap { padding-top: 2rem; }
.sectie--donker { background: var(--zwart); color: var(--wit); }
.sectie__kop { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.sectie__kop h2 { margin: 0; }
.paginakop { background: var(--grijs-1); padding: 2.5rem 0 2rem; }
.paginakop h1 { font-family: var(--display); font-style: italic; text-transform: uppercase; margin-bottom: .2rem; }
.paginakop p { color: var(--grijs-6); margin: 0; }

/* Raster + kaarten */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.kaart { background: var(--wit); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grijs-1); transition: box-shadow .2s, transform .2s; }
.kaart:hover { box-shadow: var(--schaduw); transform: translateY(-3px); }
.kaart__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.kaart__foto { position: relative; aspect-ratio: 4/3; background: var(--grijs-1); overflow: hidden; }
.kaart__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kaart:hover .kaart__foto img { transform: scale(1.04); }
.kaart__aantal { position: absolute; right: .7rem; bottom: .7rem; background: rgba(17,17,17,.75); color: var(--wit); font-size: .75rem; padding: .2rem .55rem; border-radius: 6px; }
.kaart__tekst { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.kaart h3 { margin: 0; font-size: 1.15rem; }
.kaart__type { color: var(--grijs-6); font-size: .92rem; margin: .15rem 0 .8rem; min-height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kaart__specs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.kaart__specs li { background: var(--grijs-1); font-size: .8rem; padding: .25rem .6rem; border-radius: 6px; font-weight: 600; }
.kaart__prijs { margin-top: auto; display: flex; align-items: baseline; gap: .5rem; border-top: 1px solid var(--grijs-1); padding-top: .9rem; }
.kaart__prijs strong { font-size: 1.35rem; }
.kaart__prijs small { color: var(--grijs-6); }
.kaart__prijs s { color: var(--grijs-6); font-size: .9rem; }
.kaart.is-verkocht { opacity: .7; }
.label { position: absolute; left: .7rem; top: .7rem; background: var(--zwart); color: var(--wit); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .65rem; border-radius: 6px; }
.label--nieuw { background: var(--rood); }
.label--verkocht { background: var(--rood); transform: rotate(-3deg); font-size: .9rem; }
.label--gereserveerd { background: #f2a900; color: var(--zwart); }

/* Euro 6 keurmerk */
.euro6 { position: absolute; z-index: 2; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); pointer-events: none; }
.kaart__foto img.euro6--kaart { top: .6rem; right: .6rem; width: 64px; height: 64px; object-fit: contain; transform: none; }
.galerij__hoofd img.euro6--foto { top: 1rem; right: 1rem; width: 110px; height: 110px; object-fit: contain; }
@media (max-width: 760px) { .galerij__hoofd img.euro6--foto { width: 80px; height: 80px; } }

/* Filters */
.filters { display: grid; grid-template-columns: 2fr repeat(6, 1fr); gap: .75rem; margin-bottom: 2rem; padding: 1rem; background: var(--wit); border: 1px solid var(--grijs-1); border-radius: var(--radius); position: sticky; top: 86px; z-index: 10; box-shadow: var(--schaduw); }
.leeg { text-align: center; padding: 3rem 1rem; background: var(--grijs-1); border-radius: var(--radius); }
.leeg p { max-width: 560px; margin: 0 auto 1.2rem; color: var(--grijs-9); }

/* Over */
.over { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.over h2 { font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.over__tekst p { color: #c7c7cc; font-size: 1.05rem; }
.over__knoppen { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }

.zoekopdracht { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2.4rem; border-radius: var(--radius); background: var(--grijs-1); flex-wrap: wrap; }
.zoekopdracht p { margin: 0; color: var(--grijs-9); max-width: 620px; }

/* Detail */
.kruimel { padding: 1.2rem 0 .5rem; }
.kruimel a { text-decoration: none; color: var(--grijs-6); font-weight: 600; }
.detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 2.5rem; align-items: start; padding-bottom: 3rem; }
.galerij__hoofd { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--grijs-1); aspect-ratio: 4/3; }
.galerij__hoofd img { width: 100%; height: 100%; object-fit: cover; }
.galerij__teller { position: absolute; right: .8rem; bottom: .8rem; background: rgba(17,17,17,.75); color: var(--wit); padding: .25rem .65rem; border-radius: 6px; font-size: .85rem; }
.galerij__duimen { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-top: .6rem; }
.duim { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; }
.duim img { width: 100%; height: 100%; object-fit: cover; }
.duim.is-actief { border-color: var(--rood); }
.blok { margin-top: 2rem; padding: 1.6rem; border: 1px solid var(--grijs-1); border-radius: var(--radius); background: var(--wit); }
.blok h2 { font-size: 1.3rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0; }
.specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--grijs-1); }
.specs dt { color: var(--grijs-6); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.opties { columns: 2; padding-left: 1.1rem; margin: 0; }
.opties li { margin-bottom: .3rem; break-inside: avoid; }
.omschrijving { color: var(--grijs-9); }
.detail__zij { position: sticky; top: 100px; }
.prijsblok { padding: 1.6rem; border-radius: var(--radius); background: var(--wit); box-shadow: var(--schaduw); border: 1px solid var(--grijs-1); }
.prijsblok__merk { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 800; color: var(--rood); margin: 0 0 .3rem; }
.prijsblok h1 { font-size: 1.6rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.chips li { background: var(--grijs-1); padding: .3rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.prijsblok__prijs { padding: 1rem 0 1.2rem; border-top: 1px solid var(--grijs-1); }
.prijsblok__prijs strong { display: block; font-size: 2.2rem; letter-spacing: -.02em; line-height: 1.1; }
.prijsblok__prijs span { color: var(--grijs-6); font-size: .9rem; }
.prijsblok__prijs s { color: var(--grijs-6); }
.prijsblok .knop { margin-bottom: .6rem; }
.zekerheid { list-style: none; padding: 0; margin: 1rem 0 0; font-size: .9rem; color: var(--grijs-9); }
.zekerheid li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.zekerheid li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 12px; height: 7px; border-left: 2px solid var(--rood); border-bottom: 2px solid var(--rood); transform: rotate(-45deg); }
.formulier label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.formulier input, .formulier textarea { margin-top: .3rem; }
.formulier .hp { position: absolute; left: -9999px; }
.klein { font-size: .8rem; color: var(--grijs-6); margin: .6rem 0 0; }
.melding { background: #fff2f2; border-left: 4px solid var(--rood); padding: .8rem 1rem; border-radius: 6px; }
.melding--ok { background: #effaf1; border-color: #1f9d4c; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 200; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--wit); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__sluit { top: 1rem; right: 1rem; }
.lightbox__vorige { left: 1rem; }
.lightbox__volgende { right: 1rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact .blok { margin-top: 0; }
.contactkaart { padding: 1.6rem; border-radius: var(--radius); background: var(--grijs-1); margin-bottom: 1rem; }
.contactkaart h2 { font-size: 1.2rem; }
.contactknoppen { display: grid; gap: .6rem; margin-bottom: 1rem; }
.tekstpagina { max-width: 760px; }
.tekstpagina h2 { font-size: 1.3rem; margin-top: 1.8rem; }

/* Voet */
.voet { background: var(--zwart); color: #c7c7cc; padding: 3.5rem 0 1.2rem; font-size: .95rem; }
.voet a { color: var(--wit); text-decoration: none; }
.voet h3 { color: var(--wit); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.voet__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.voet__logo { display: inline-block; max-width: 100%; background: var(--wit); padding: .9rem 1.2rem; border-radius: 10px; margin-bottom: 1rem; }
.voet__logo img { width: 300px; max-width: 100%; height: auto; }
/* Brabantse vlag: rood-wit geblokt, verhouding 3:2 */
.ruit { width: 96px; height: 64px; background: conic-gradient(var(--rood) 25%, var(--wit) 0 50%, var(--rood) 0 75%, var(--wit) 0) 0 0 / 32px 32px; border-radius: 2px; }
.tijden { display: grid; grid-template-columns: auto auto; gap: .2rem 1rem; margin: 0; }
.tijden dt, .tijden dd { white-space: nowrap; }
.tijden dd { margin: 0; color: var(--wit); }
.tijden--licht dd { color: var(--zwart); font-weight: 600; }
.voet__onder { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid #2c2c2e; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; }

.slogan { display: flex; align-items: center; gap: 1.6rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid #2c2c2e; }
.slogan p { margin: 0; font-family: var(--display); font-style: italic; font-weight: 900; color: var(--wit); font-size: clamp(1.3rem, 3vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; }
.ruit--groot { flex: none; width: 120px; height: 80px; background-size: 40px 40px; }
@media (max-width: 760px) { .slogan { flex-direction: column; align-items: flex-start; } .ruit--groot { width: 90px; height: 60px; background-size: 30px 30px; } }
.voet__gegevens { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Mobiele actiebalk */
.actiebalk { display: none; }

@media (max-width: 1100px) {
  .filters { grid-template-columns: repeat(3, 1fr); position: static; }
  .filters__zoek { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .usp__grid { grid-template-columns: 1fr 1fr; }
  .usp__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .over, .contact, .detail { grid-template-columns: 1fr; }
  .detail__zij { position: static; }
  .voet__grid { grid-template-columns: 1fr 1fr; }
  .held__strepen i:first-child { right: -20px; width: 60px; }
  .held__strepen i:last-child { right: -100px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .logo img { width: 170px; }
  .kop__in { min-height: 64px; }
  .menuknop { display: block; }
  .menu { position: fixed; inset: 64px 0 auto 0; background: var(--wit); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--grijs-3); transform: translateY(-120%); transition: transform .25s; z-index: -1; }
  .menu.is-open { transform: none; }
  .menu > a:not(.knop) { padding: 1rem 0; border-bottom: 1px solid var(--grijs-1); }
  .menu .knop { margin-top: 1rem; }
  .menuknop[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menuknop[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menuknop[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .snelzoek { grid-template-columns: 1fr 1fr; }
  .snelzoek .knop { grid-column: 1 / -1; }
  .filters { grid-template-columns: 1fr 1fr; }
  .specs { grid-template-columns: 1fr; }
  .opties { columns: 1; }
  .usp__grid > div { padding: 1.1rem .6rem 1.1rem 0; border-left: 0; }
  .voet__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .voet a { overflow-wrap: anywhere; }
  .held__strepen i:first-child { right: -40px; width: 34px; }
  .held__strepen i:last-child { right: -70px; width: 22px; }
  .held__tekst { padding-right: 1.2rem; }
  .held h1 { font-size: 2rem; }
  .actiebalk { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 20px rgba(0,0,0,.12); }
  .actiebalk a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem; color: var(--wit); text-decoration: none; font-weight: 700; }
  .actiebalk svg { width: 20px; height: 20px; fill: currentColor; }
  .actiebalk__bel { background: var(--zwart); }
  .actiebalk__wa { background: var(--rood); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
