/* =========================================================
   Auto's B.S. – stylesheet
   Independent automotive-expert brand: charcoal ink, brand
   blue accent (from the logo), restrained corner radii.
   Edit :root to rebrand.
   ========================================================= */

:root {
  --ink: #16181c;
  --ink-soft: #40434b;
  --muted: #6b6f78;
  --line: #e3e3e0;
  --bg: #fafaf9;
  --bg-alt: #f1f0ed;
  --bg-dark: #16181c;
  --accent: #1953a2;
  --accent-dark: #123c7a;
  --accent-soft: #e3ecf9;
  --accent-light: #6fa8e0;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --shadow: 0 14px 34px rgba(22, 24, 28, 0.10);
  --container: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 2.2em; font-size: 1.25rem; }
.legal-content .section-head { margin-bottom: 32px; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content a { color: var(--accent); text-decoration: underline; }

/* ---------- Notice bar ---------- */
.notice-bar {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 9px 44px 9px 20px;
  position: relative;
  text-align: center;
}
.notice-bar p { margin: 0; }
.notice-bar a { text-decoration: underline; font-weight: 500; }
.notice-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.notice-close:hover { opacity: 1; }
.notice-bar.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Utility strip */
.header-utility {
  background: var(--ink);
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
}
.header-utility-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-height: 38px;
}
.header-contact { display: flex; align-items: center; gap: 22px; }
.hc-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .78);
  transition: color .18s;
}
.hc-item:hover { color: #fff; }
.hc-icon { font-size: .9rem; opacity: .85; }
.hc-svg { width: 15px; height: 15px; display: block; flex: none; }
.hc-item--wa { font-weight: 500; color: #fff; }
.hc-item--wa .hc-svg { color: #25d366; }
.hc-item--wa:hover .hc-svg { filter: brightness(1.15); }

/* Main bar */
.header-main {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
/* The frosted-glass effect lives on a pseudo-element rather than directly
   on .header-main, because backdrop-filter on an ancestor turns it into
   the containing block for position:fixed descendants (like the mobile
   nav panel), breaking its full-screen positioning on phones. */
.header-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(10px);
}
.site-header.scrolled .header-main { box-shadow: 0 6px 24px rgba(20, 24, 33, .07); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo-img { height: 36px; width: auto; display: block; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a,
.dropdown-trigger {
  position: relative;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s, background .18s;
}
.main-nav a:hover,
.dropdown-trigger:hover {
  color: var(--ink);
  background: var(--bg-alt);
}
.caret { font-size: .62rem; transition: transform .2s; }
.has-dropdown.open .caret { transform: rotate(180deg); }

.nav-cta-item { margin-left: 8px; }
.nav-cta { white-space: nowrap; }
.nav-cta:hover { transform: none; }

.has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 244px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav .dropdown--wide { min-width: 268px; padding: 10px; }
.dropdown-back { display: none; }
.dropdown-group {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  padding: 10px 13px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}
.dropdown-group:first-child { padding-top: 2px; margin-top: 0; border-top: 0; }
.main-nav .dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.main-nav .dropdown li { display: block; }
.main-nav .dropdown a {
  display: block;
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: 400;
  color: var(--ink-soft);
}
.main-nav .dropdown a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav .has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: .92rem;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-alt); }
.btn-small { padding: 9px 16px; font-size: .82rem; }

/* ---------- Hero (dark, cinematic) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(56% 60% at 84% 8%, rgba(25, 83, 162, .18), transparent 60%),
    radial-gradient(46% 50% at 8% 96%, rgba(25, 83, 162, .07), transparent 65%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(70px, 9vw, 120px);
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
  opacity: var(--hero-fade, 0);
}
.hero-parallax {
  position: relative;
  width: 100%;
  will-change: transform;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(64px, 10vw, 108px) 0 clamp(96px, 12vw, 140px);
}
.hero-media { position: relative; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 8% 4% -4%;
  background: radial-gradient(closest-side, rgba(25, 83, 162, .28), transparent 72%);
  filter: blur(6px);
}
.hero-media img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5));
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.hero h1 { color: #fff; }
.hero-lead {
  font-size: 1.1rem;
  color: #c7c8cc;
  max-width: 560px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }
.btn-outline-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--accent-light); }
.hero-stats span { font-size: .82rem; color: #9799a1; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #d9dade; }
.section-dark h2 { color: #fff; }
.section-dark a.link-arrow { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }
.section-foot { margin-top: 44px; text-align: center; }
.empty-state-text { color: var(--muted); font-size: 1rem; padding: 20px 0; }

/* ---------- Vehicle detail page ---------- */
.link-arrow-back { display: inline-block; font-weight: 600; font-size: .9rem; color: var(--accent); margin-bottom: 28px; }
.voertuig-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.voertuig-gallery-main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: repeating-linear-gradient(45deg, #eceae5, #eceae5 12px, #f3f1ec 12px, #f3f1ec 24px);
}
.voertuig-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voertuig-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.voertuig-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: none;
}
.voertuig-thumb.active { border-color: var(--accent); }
.voertuig-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voertuig-info h1 { margin-bottom: 6px; }
.voertuig-price { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--accent); margin-bottom: 20px; }
.voertuig-specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.voertuig-specs li { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.voertuig-specs span { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.voertuig-specs strong { font-weight: 600; }
.voertuig-description { color: var(--ink-soft); margin-bottom: 28px; }
.contact-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-choice-btn { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 760px) {
  .voertuig-detail { grid-template-columns: 1fr; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Even 3-column layout for service trios: equal cards, tied together with
   a numbered accent mark instead of an uneven featured/stacked split. */
.grid-trio { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.grid-trio > .service-card { display: flex; flex-direction: column; }
.grid-trio > .service-card p:not(.job-meta) { flex: 1; }
@media (max-width: 1024px) {
  .grid-trio { grid-template-columns: 1fr; }
}
.card-index {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.brand-card,
.service-card,
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.brand-card:hover,
.service-card:hover,
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.brand-card p,
.service-card p,
.job-card p { color: var(--muted); font-size: .92rem; }

.link-arrow { font-weight: 600; font-size: .9rem; color: var(--accent); }
.link-arrow::after { content: " \2192"; }

.job-meta {
  font-family: var(--font-mono) !important;
  display: inline-block;
  font-size: .72rem !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink-soft) !important;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1.4;
  margin-bottom: 12px;
  text-transform: none !important;
}

/* Two-tier pricing (personenwagen / vrachtwagen): one small pill per tier
   instead of a single long chip that wraps and loses its shape. */
.price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.price-tag {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  line-height: 1.4;
}
.price-tag b { color: var(--ink); font-weight: 600; }
.service-card h3 { margin-bottom: 10px; }

/* ---------- Car cards ---------- */
.car-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.car-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.car-media,
.split-media {
  background: repeating-linear-gradient(45deg, #e9ecf1, #e9ecf1 12px, #eef1f5 12px, #eef1f5 24px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.car-media img,
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.car-media { aspect-ratio: 16 / 10; }
.car-body { padding: 20px; }
.car-meta { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.car-price { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); min-height: 340px; align-self: stretch; }
.check-list,
.step-list { padding-left: 0; list-style: none; margin: 0 0 24px; }
.check-list li,
.step-list li { padding: 7px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.section-dark .step-list li { border-color: rgba(255,255,255,.12); }
.check-list li::before { content: "\2713  "; color: var(--accent); font-weight: 700; }
.step-list li strong { color: var(--accent); margin-right: 8px; }

/* ---------- Contact ---------- */
.contact-person { display: flex; gap: 16px; margin: 24px 0; }
.cp-avatar {
  width: 60px; height: 60px; flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.cp-name { font-weight: 700; margin: 0 0 6px; }
.contact-person p { margin: 0 0 4px; }
.contact-person p:last-child { margin-bottom: 0; }
.contact-person a:hover { color: var(--accent); }
.contact-address { font-style: normal; color: var(--ink-soft); line-height: 1.8; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.contact-form .checkbox input { width: auto; margin-top: 4px; }
.form-note { font-size: .85rem; margin: 10px 0 0; min-height: 1.2em; }
.form-note.ok { color: #167c3b; }
.form-note.err { color: #c0392b; }

/* ---------- Sell-your-car form ---------- */
.step-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.step-badges li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.step-badges span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}

.sell-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.sell-form fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 26px 0;
}
.sell-form fieldset:first-of-type { border-top: 0; padding-top: 4px; }
.sell-form legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  margin-bottom: 16px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sell-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.sell-form .span-2 { grid-column: span 2; }
.sell-form input,
.sell-form select,
.sell-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
}
.sell-form textarea { resize: vertical; }
.sell-form input:focus,
.sell-form select:focus,
.sell-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.sell-form input:invalid:not(:placeholder-shown),
.sell-form select:invalid:not([data-pristine]) { border-color: #e2a3a3; }
.field-hint {
  font-size: .84rem;
  color: var(--muted);
  margin: -4px 0 16px;
}
.sell-form .checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-top: 18px;
}
.sell-form .checkbox input { width: auto; margin-top: 4px; }
.sell-form > button[type="submit"] { margin-top: 26px; }

/* Dropzone */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 34px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.dropzone:hover,
.dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.dropzone-icon { font-size: 1.6rem; }
.dropzone-text { font-size: .92rem; color: var(--ink-soft); }
.dropzone-text strong { color: var(--accent); }
.dropzone-sub { font-size: .8rem; color: var(--muted); }

.photo-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.photo-grid:empty { display: none; }
.photo-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb .photo-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 6px;
  font-size: .68rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-remove {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.photo-remove:hover { background: #c0392b; }

@media (max-width: 820px) {
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .sell-form .span-2 { grid-column: span 2; }
}
@media (max-width: 520px) {
  .field-grid { grid-template-columns: 1fr; }
  .sell-form .span-2 { grid-column: auto; }
}

/* ---------- Social strip ---------- */
.social-strip { text-align: center; }
.social-strip p { color: var(--muted); max-width: 520px; margin: 0 auto 26px; }
.social-links { display: flex; gap: 14px; justify-content: center; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
}
.acc-trigger::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}
.acc-item.open .acc-trigger::after { content: "\2013"; }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.acc-panel p { padding: 0 0 20px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: #a7a9b0;
  padding-top: 64px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 44px;
}
.logo--footer { color: #fff; margin-bottom: 14px; }
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; line-height: 1.9; }
.vat-number { margin-top: 12px; font-size: .82rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 24px;
  font-size: .82rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.legal-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header-utility { display: none; }
  .main-nav { margin-left: 0; }
  .nav-toggle { display: flex; position: relative; z-index: 101; }
  .nav-toggle.open span { background: var(--ink); }
  .main-nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    background: #fff;
    padding: 96px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .2s ease;
    overflow-y: auto;
    z-index: 100;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a, .dropdown-trigger {
    padding: 16px 6px;
    width: 100%;
    border-radius: 0;
    justify-content: space-between;
    font-size: 1.05rem;
  }
  .main-nav a:hover, .dropdown-trigger:hover { background: transparent; }
  .main-nav .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    transition: max-height .25s ease;
  }
  .main-nav .dropdown::before { display: none; }
  .main-nav .has-dropdown.open .dropdown { max-height: 520px; padding: 0 0 8px 12px; transform: none; }

  /* Mobile "Diensten" submenu opens as its own full screen (instead of
     expanding inline) so neither screen ever needs to scroll. */
  .dropdown-back { display: none; border-bottom: 0 !important; }
  .dropdown-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 6px;
    margin-bottom: 4px;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
  }
  .main-nav.submenu-open > ul > li:not(.has-dropdown) { display: none; }
  .main-nav.submenu-open .dropdown-trigger { display: none; }
  .main-nav.submenu-open .dropdown-back { display: block; }
  .main-nav.submenu-open .has-dropdown.open .dropdown {
    max-height: none;
    padding: 0 0 8px;
  }
  .nav-cta-item { margin: 12px 0 0; border-bottom: 0 !important; }
  .main-nav .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    border-radius: var(--radius-btn);
    background: var(--accent);
    color: #fff;
  }
  .main-nav .nav-cta:hover { background: var(--accent-dark); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
