/* CARS4ALL voorbeeldsite. Stijl: Swiss minimal uit ui-ux-pro-max (used car dealer local service),
   groen als merkkleur, Inter als enige letter. Geen schaduwen, geen verlopen, geen lijntjes. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #ffffff;
  --ground-2: #f1f5f2;
  --mint: #e1f2e8;
  --mint-2: #cfe9da;
  --ink: #0b2b20;
  --ink-2: #2f463d;
  --green: #047857;
  --green-hover: #065f46;
  --deep: #0b2b20;
  --on-deep: #ffffff;
  --focus: #f59e0b;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* taste-skill-ignore: visually hidden, not a rule */

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* skiplink en voorbeeldmelding */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.demo-note {
  background: var(--deep); color: var(--on-deep);
  font-size: 16px; line-height: 1.4; text-align: center;
  padding: 10px var(--gutter);
}
.demo-note a { color: inherit; font-weight: 600; text-underline-offset: 3px; padding: 13px 12px; margin: 0 -12px; white-space: nowrap; }
.demo-note a:focus-visible { outline: 2px solid currentColor; outline-offset: -10px; }

/* kop */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ground);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 rgba(11, 43, 32, .08), 0 8px 24px rgba(11, 43, 32, .06); } /* taste-skill-ignore: sticky bar, open menu or focus ring */
.head-row { display: flex; align-items: center; gap: 6px; min-height: var(--head-h); }
.wordmark {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px;
  text-decoration: none; font-weight: 850; font-size: 18px; letter-spacing: -0.04em; color: var(--ink);
  margin-right: auto; white-space: nowrap;
}
.wordmark .four {
  display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-inline: 2px;
  border-radius: 999px; background: var(--green); color: #fff; font-size: .9em; letter-spacing: 0;
}
.nav-links { display: none; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 550; white-space: nowrap; border-radius: 999px;
  transition: background-color .2s var(--ease);
}
.nav-links a:hover { background: var(--ground-2); }
.nav-links a[aria-current="page"] { background: var(--mint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-soft { background: var(--mint); color: var(--ink); }
.btn-soft:hover { background: var(--mint-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint); }
.btn-big { min-height: 60px; padding: 0 28px; font-size: 18px; }
.head-call, .head-cta { min-height: 44px; padding: 0 14px; font-size: 16px; gap: 6px; }
@media (max-width: 379px) { .head-call { width: 44px; padding: 0; } .head-call .short { display: none; } }
.head-call .long { display: none; }

.menu { position: relative; }
.menu summary {
  list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  cursor: pointer; background: var(--ground-2);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px));
  background: #fff; border-radius: 18px; padding: 10px; display: grid; gap: 2px;
  box-shadow: 0 18px 48px rgba(11, 43, 32, .18); /* taste-skill-ignore: open menu */
}
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.menu-panel a:hover { background: var(--ground-2); }

@media (min-width: 700px) { .head-call .long { display: inline; } .head-call .short { display: none; } }
@media (min-width: 640px) { .head-row { gap: 10px; } .wordmark { font-size: 20px; } }
@media (min-width: 1140px) {
  .nav-links { display: flex; }
  .menu { display: none; }
  .head-row { gap: 14px; }
}

/* hero */
.hero { padding: clamp(28px, 5vw, 72px) 0 var(--section); }
.hero-grid { display: grid; gap: clamp(24px, 3.4vw, 48px) clamp(28px, 4vw, 64px); align-items: start; grid-template-areas: "title" "copy" "media"; }
.hero-grid h1 { grid-area: title; }
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; }
.hero h1 { font-size: clamp(2.05rem, 7.4vw, 6.4rem); font-weight: 820; letter-spacing: -0.045em; line-height: .95; }
@media (max-width: 374px) { .hero h1 { font-size: 1.95rem; } } /* "Tweedehandswagens" past zo binnen de marge op 360 px */
.hero .lead { margin-top: 0; font-size: clamp(1.13rem, 1.5vw, 1.25rem); max-width: 34ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 32px; font-weight: 600; }
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts svg { width: 28px; height: 28px; flex: none; }
.hero-media { margin: 0; overflow: hidden; border-radius: 28px; aspect-ratio: 4 / 3; background: var(--mint); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 45%; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: .95fr 1.05fr; grid-template-areas: "title title" "copy media"; }
  .hero-copy { padding-top: 8px; }
  .hero-media { aspect-ratio: 16 / 10; margin-top: -4px; }
}
@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* sectiekoppen */
.section { padding: var(--section) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4.6vw, 3.9rem); font-weight: 800; }
.section-head p { font-size: clamp(1.06rem, 1.5vw, 1.25rem); max-width: 52ch; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1fr 1fr; align-items: end; } }

/* aanbod */
.stock { background: var(--mint); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 26px; }
.filter fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter legend { float: left; margin-right: 10px; font-weight: 700; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: #fff; font-weight: 600; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.filter-count { font-weight: 700; }

.cars { display: grid; gap: 10px; }
.car {
  display: grid; gap: 14px 28px; padding: 24px clamp(18px, 2.6vw, 34px);
  background: #fff; border-radius: 22px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.car[hidden] { display: none; }
.car h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 780; }
.car .specs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; color: var(--ink-2); font-weight: 550; }
.car .specs li { white-space: nowrap; }
.car .said { color: var(--ink-2); max-width: 46ch; }
.car .said q { quotes: "\201C" "\201D"; }
.car .buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.car .price { font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 820; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.car .btn { min-height: 46px; }
@media (min-width: 960px) {
  .car { grid-template-columns: 1.25fr 1.2fr auto; align-items: center; }
  .car .buy { justify-content: flex-end; }
}
.stock-note { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.stock-note p { max-width: 62ch; }
.no-match { padding: 28px; background: #fff; border-radius: 22px; font-weight: 600; }

/* inbegrepen */
.included-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.included-grid figure { margin: 0; border-radius: 28px; overflow: hidden; }
.included-grid figure img { width: 100%; aspect-ratio: 3 / 2.2; object-fit: cover; object-position: 50% 60%; }
.included-grid figcaption { padding: 14px 4px 0; font-size: 16px; color: var(--ink-2); }
.perks { display: grid; gap: 28px; }
.perks li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.perks svg { width: 56px; height: 56px; }
.perks h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 6px; }
@media (min-width: 900px) { .included-grid { grid-template-columns: 1fr 1fr; } }

/* diensten */
.services-band { background: var(--ground-2); }
.service-list { display: grid; gap: 14px; }
.service-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center;
  padding: 18px 20px; border-radius: 22px; text-decoration: none;
  transition: background-color .2s var(--ease), transform .25s var(--ease);
}
.service-row:hover { background: #fff; transform: translateX(4px); }
.service-row svg.ico { width: 64px; height: 64px; }
.service-row h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 760; }
.service-row p { margin-top: 4px; color: var(--ink-2); }
.services-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.services-grid figure { margin: 0; border-radius: 28px; overflow: hidden; min-height: 320px; }
.services-grid figure img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
@media (min-width: 900px) { .services-grid { grid-template-columns: .9fr 1.1fr; } }

/* werkwijze */
.steps-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.steps-grid figure { margin: 0; border-radius: 28px; overflow: hidden; }
.steps-grid figure img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.steps { position: relative; display: grid; gap: 30px; padding-left: 44px; }
.steps::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: var(--mint-2); }
.steps li { position: relative; }
.steps li::before {
  content: ""; position: absolute; left: -44px; top: 4px; width: 30px; height: 30px; border-radius: 999px;
  background: var(--green); border: 6px solid var(--ground); left: -48px; top: 0; width: 38px; height: 38px;
}
.steps h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 760; letter-spacing: -0.02em; margin-bottom: 6px; }
@media (min-width: 900px) { .steps-grid { grid-template-columns: .9fr 1.1fr; } }

/* vragen */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--ground-2); border-radius: 20px; transition: background-color .2s var(--ease); }
.faq details[open] { background: var(--mint); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 22px; font-weight: 700; font-size: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 24px; height: 24px; flex: none; transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; max-width: 64ch; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }

/* contactband */
.visit { background: var(--deep); color: #fff; }
.visit .section-head p { color: #e4efe9; }
.visit-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.visit-facts { display: grid; gap: 22px; }
.visit-facts > li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.visit-facts svg { width: 32px; height: 32px; margin-top: 2px; }
.visit-facts strong { display: block; }
.visit-facts a { font-weight: 650; text-underline-offset: 4px; }
.visit .big-phone { display: inline-flex; align-items: center; min-height: 48px; font-size: clamp(1.9rem, 4.6vw, 3.9rem); font-weight: 820; letter-spacing: -0.04em; text-decoration: none; }
.visit .big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.area { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.area li { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 8px 14px; font-size: 16px; white-space: nowrap; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.1fr .9fr; align-items: start; } }

/* paginakop op subpagina's */
.page-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); }
.page-hero h1 { font-size: clamp(2.05rem, 6.4vw, 5.4rem); font-weight: 820; letter-spacing: -0.045em; line-height: .96; }
.page-hero .lead { margin-top: 24px; font-size: clamp(1.13rem, 1.5vw, 1.25rem); max-width: 50ch; }
.page-hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
.page-hero-grid figure { margin: 0; border-radius: 28px; overflow: hidden; }
.page-hero-grid figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 62% 45%; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; } }

/* dienstenpagina */
.detail { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 88px) 0; }
.detail figure { margin: 0; border-radius: 28px; overflow: hidden; }
.detail figure img { width: 100%; aspect-ratio: 3 / 2.3; object-fit: cover; }
.detail h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; }
.detail .body { display: grid; gap: 16px; }
.detail ul.ticks { display: grid; gap: 10px; margin-top: 4px; }
.detail ul.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.detail ul.ticks svg { width: 24px; height: 24px; margin-top: 3px; }
.detail .drawing { background: var(--mint); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.detail .drawing svg { width: 100%; height: auto; }
@media (min-width: 900px) {
  .detail { grid-template-columns: 1fr 1fr; }
  .detail.flip figure, .detail.flip .drawing { order: 2; }
}

/* formulier */
.form-wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.2fr .8fr; } }
.topic-picker { border: 0; padding: 0; margin: 0 0 28px; }
.topic-picker legend { font-weight: 750; font-size: 1.25rem; margin-bottom: 14px; }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px) { .topics { grid-template-columns: repeat(4, 1fr); } }
/* naast de zijkaart is de kolom te smal voor vier keuzes ("Verplaatsing" liep uit zijn tegel): twee op twee */
@media (min-width: 960px) and (max-width: 1099px) { .topics { grid-template-columns: repeat(2, 1fr); } .topic img { aspect-ratio: 16 / 9; } }
.topic { position: relative; display: grid; border-radius: 20px; overflow: hidden; background: var(--ground-2); cursor: pointer; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s var(--ease); }
.topic:hover img { transform: scale(1.04); }
.topic span { padding: 12px 14px; font-weight: 700; min-height: 48px; display: flex; align-items: center; }
.topic input:checked ~ span { background: var(--ink); color: #fff; }
.topic input:focus-visible ~ span { outline: 3px solid var(--focus); outline-offset: -3px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 650; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: #fff; min-height: 52px; padding: 12px 16px;
  border: 2px solid #b9cfc3; border-radius: 14px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(4, 120, 87, .25); } /* taste-skill-ignore: sticky bar, open menu or focus ring */
.field .hint { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.field .err { color: #b42318; font-weight: 600; font-size: 16px; }
.two { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: visually hidden, not a rule */
.form-done { background: var(--mint); border-radius: 22px; padding: 26px; }
.form-done h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: 10px; }
.form-done a { font-weight: 700; }
.side-card { background: var(--deep); color: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.side-card h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 800; }
.side-card a { color: #fff; font-weight: 650; }
.side-card .btn-light { color: var(--ink); }

/* voet */
.site-footer { background: var(--ground-2); padding: clamp(56px, 8vw, 112px) 0 32px; }
.foot-name { font-size: clamp(3.2rem, 15vw, 13rem); font-weight: 850; letter-spacing: -0.06em; line-height: .85; color: var(--ink); }
.foot-name .four { color: var(--green); }
.foot-grid { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.foot-grid h2 { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 8px; }
.foot-grid p, .foot-grid address { font-style: normal; font-size: 16px; line-height: 1.6; }
.foot-grid a { text-underline-offset: 3px; }
.foot-credits { margin-top: 36px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .hero-media img { animation: drift 18s var(--ease) infinite alternate; transform-origin: 70% 40%; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
  .js .hero h1 .ln { display: inline-block; opacity: 0; transform: translateY(.35em); animation: rise .8s var(--ease) forwards; animation-delay: var(--d, 0ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .car.enter { animation: carIn .45s var(--ease) both; }
  @keyframes carIn { from { opacity: 0; transform: translateY(12px); } }
}

/* Safari: geen woorden afbreken na enkele letters */
.hyph { hyphens: auto; -webkit-hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; hyphenate-limit-chars: 12 6 6; }

.nw { white-space: nowrap; }

[hidden] { display: none !important; }
.menu-panel a { white-space: nowrap; }
