/* Aanhangwagens Servaes — publieke site. Omgezet uit het Claude Design-ontwerp
   (v2: navy palet, afgeronde knoppen, kaarten met schaduw). Het beheerpaneel
   heeft een eigen stylesheet: admin.css. */

/* ---- Tokens ---------------------------------------------------------- */
:root, [data-theme="light"] {
  --blue: #0a63d2; --blue-hover: #0b54ad; --blue-soft: #d7e6fb; --mint: #06d6a0;
  --blue-bright: #1f7bff; --navy: #0b1a2c;
  --bg: #ffffff; --bg-alt: #f3f6fa; --surface: #ffffff; --surface-2: #f5f7fb;
  --text: #0d2240; --muted: #51627a; --dim: #8494a8; --line: #e3e8ef;
  --hatch-a: #eceff4; --hatch-b: #e4e8ee; --field: #fcfdfe; --field-line: #d5dce6;
  --band-bg: #0b1a2c; --band-muted: #aab6c6;
  --logo-filter: none; --btn-line: #cfd7e2;
  --tog-on-bg: #0d2240;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(13, 34, 64, .06), 0 6px 18px rgba(13, 34, 64, .07);
  --shadow-hover: 0 2px 4px rgba(13, 34, 64, .08), 0 14px 30px rgba(13, 34, 64, .14);
  --g: max(clamp(18px, 4vw, 56px), calc((100% - 1480px) / 2));
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #181d21; --bg-alt: #2b343b; --surface: #232b31; --surface-2: #333e46;
  --text: #f2f4f5; --muted: #bcc3c9; --dim: #8d949b; --line: #414c55;
  --hatch-a: #3a454e; --hatch-b: #333e46; --field: #202730; --field-line: #4b5761;
  --band-bg: #11161a; --band-muted: #b3b8bc;
  --logo-filter: brightness(1.35); --btn-line: #3a4045;
  --tog-on-bg: var(--blue);
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 18px rgba(0, 0, 0, .25);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .3), 0 14px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---- Basis ----------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Archivo, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; letter-spacing: -0.025em; font-kerning: normal; overflow-wrap: break-word; color: var(--text); }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: #084ea6; }
img { max-width: 100%; display: block; }
.ico { flex-shrink: 0; display: inline-block; }
a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within > span { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: var(--blue); color: #fff; }

.wrap { padding-left: var(--g); padding-right: var(--g); }

/* ---- Typografie ------------------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: Archivo, sans-serif; text-transform: uppercase; letter-spacing: .2em; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.eyebrow-line::before { content: ""; width: 24px; height: 1px; background: var(--blue); flex-shrink: 0; }
.eyebrow-blue { color: var(--blue); font-size: 13px; }
.eyebrow-dark { color: var(--text); font-size: 13px; letter-spacing: .12em; }
.eyebrow-light { color: #fff; letter-spacing: .12em; }
.h-display { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; }
.h-xl { font-size: 56px; line-height: .98; }
.h-lg { font-size: 36px; line-height: 1; }
.h-md2 { font-size: 35px; line-height: 1; }
.h-md { font-size: 32px; letter-spacing: -.02em; line-height: 1.08; }
.h-rule { font-size: 35px; line-height: 1; border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* ---- Knoppen --------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: var(--radius); border: 1px solid transparent; font-family: Archivo, sans-serif; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; cursor: pointer; }
.btn-sm { height: 46px; padding: 0 22px; font-size: 16px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16.5px; }
.btn-xl { height: 58px; padding: 0 36px; font-size: 19px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { border-color: var(--btn-line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--text); }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: #eef0f1; color: var(--blue); }
.btn-outline-white { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-white:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-row-fill > .btn { flex: 1; }

/* ---- Beheerbalk & melding (alleen zichtbaar voor ingelogde beheerder) - */
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px var(--g); background: #0b1b33; color: #cfe0f7; font-size: 13.5px; }
.admin-bar-actions { display: flex; gap: 18px; }
.admin-bar a { color: #fff; font-weight: 600; }
.announce-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(10, 18, 26, .6); }
.announce-overlay[hidden] { display: none; }
.announce-box { max-width: 480px; width: 100%; background: var(--surface); color: var(--text); border-top: 4px solid var(--blue); padding: 32px; display: flex; flex-direction: column; gap: 22px; font-size: 17px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.announce-box .btn { align-self: flex-start; }

/* ---- Topbar ---------------------------------------------------------- */
.topbar { display: flex; justify-content: space-between; align-items: center; column-gap: 40px; row-gap: 4px; flex-wrap: wrap; min-height: 44px; background: var(--bg-alt); color: var(--text); font-size: 14px; }
.topbar-info { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; row-gap: 2px; }
.topbar-info > span, .topbar-actions > a { display: inline-flex; align-items: center; gap: 8px; }
.topbar-info .sep { color: var(--dim); margin: 0 2px; }
.topbar-actions { display: flex; gap: 28px; align-items: center; flex-shrink: 0; }
.topbar-actions > a { color: var(--text); font-weight: 500; white-space: nowrap; }
.topbar-actions > a:hover { color: var(--blue); }
.theme-toggle { display: flex; align-items: center; border: 1px solid var(--btn-line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.theme-toggle button { border: 0; cursor: pointer; font-family: Archivo, sans-serif; font-size: 13px; font-weight: 500; padding: 5px 15px; background: transparent; color: var(--dim); }
[data-theme="light"] .theme-toggle [data-set-theme="light"],
[data-theme="dark"] .theme-toggle [data-set-theme="dark"] { background: var(--tog-on-bg); color: #fff; }

/* ---- Header & navigatie ---------------------------------------------- */
.site-head { display: flex; justify-content: space-between; align-items: center; gap: clamp(16px, 3vw, 48px); min-height: 94px; background: var(--bg); box-shadow: 0 1px 0 var(--line); position: relative; z-index: 50; }
.brand { display: inline-flex; align-self: center; position: relative; z-index: 6; flex-shrink: 0; }
.brand img { height: 72px; width: auto; filter: var(--logo-filter); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); flex-wrap: wrap; justify-content: flex-end; min-width: 0; font-size: 16px; font-weight: 600; }
.nav > a:not(.btn), .nav-menu > a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); padding: 30px 0 28px; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover, .nav-menu > a:hover { color: var(--blue); }
.nav a.is-active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-cta { height: 48px; padding: 0 22px; gap: 10px; box-shadow: 0 6px 16px rgba(10, 99, 210, .25); }
.nav-menu { position: relative; display: inline-flex; }
.nav-drop { display: none; position: absolute; top: 100%; left: -14px; min-width: 236px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 28px rgba(13, 34, 64, .14); padding: 6px 0; z-index: 60; }
.nav-menu:hover .nav-drop, .nav-menu:focus-within .nav-drop { display: flex; flex-direction: column; }
.nav-drop a { padding: 11px 18px; font-size: 16px; font-weight: 500; color: var(--text); }
.nav-drop a:hover { background: var(--surface-2); color: var(--blue); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }

/* ---- Fotoplekken ----------------------------------------------------- */
.photo { position: relative; overflow: hidden; background: var(--surface-2); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.is-empty { background: repeating-linear-gradient(135deg, var(--hatch-a) 0 12px, var(--hatch-b) 12px 24px); display: flex; align-items: flex-end; padding: 12px; }
.photo-label { position: relative; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--dim); }

/* ---- Home: hero ------------------------------------------------------ */
.hero { position: relative; min-height: 500px; background: var(--navy); overflow: hidden; display: flex; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 55%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 26, 44, .9) 0, rgba(11, 26, 44, .86) calc(var(--g) + 560px), rgba(11, 26, 44, .4) calc(var(--g) + 820px), rgba(11, 26, 44, .05) calc(var(--g) + 1100px), rgba(11, 26, 44, 0) 100%); }
.hero-logo { position: absolute; right: calc(var(--g) - 40px); bottom: 0; padding: 28px 40px 32px; width: clamp(220px, 22%, 340px); background: radial-gradient(closest-side, rgba(8, 18, 30, .7), rgba(8, 18, 30, .4) 60%, rgba(8, 18, 30, 0)); }
.hero-logo img { width: 100%; filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, .4)); }
.hero-text { position: relative; display: flex; flex-direction: column; gap: 24px; max-width: 620px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: -.03em; line-height: 1; color: #fff; }
.hero h1 .hl { color: var(--blue-bright); }
.hero-text > p { font-size: 18px; line-height: 1.6; color: #e4ebf4; max-width: 470px; text-wrap: pretty; }
.hero .btn-row { padding-top: 10px; gap: 18px; }
.hero .btn-lg { height: 54px; padding: 0 28px; gap: 14px; }

/* ---- Home: troeven --------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); row-gap: 24px; background: var(--bg-alt); padding-top: 38px; padding-bottom: 38px; }
.trust-item { padding: 4px clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 8px; border-left: 1px solid var(--btn-line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font-size: 20px; letter-spacing: -.01em; }
.trust-item span { font-size: 16px; color: var(--muted); line-height: 1.45; }

/* ---- Secties --------------------------------------------------------- */
.block { padding-top: 72px; display: flex; flex-direction: column; gap: 26px; }
.block-lg { padding-top: 80px; padding-bottom: 80px; gap: 36px; }
.block-sm { padding-top: 40px; }
.band-alt { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-head > p { font-size: 16px; color: var(--muted); max-width: 360px; text-align: right; }
.section-head > div > .section-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 420px; }
.section-head > .section-aside { display: flex; align-items: center; gap: 18px; max-width: 340px; padding-bottom: 28px; font-size: 14px; font-style: italic; line-height: 1.6; text-align: left; }
.section-aside::before { content: ""; width: 22px; height: 1px; background: var(--muted); flex-shrink: 0; }
.block-home { padding-top: 56px; padding-bottom: 80px; gap: 28px; }
.section-head > span { font-size: 16px; color: var(--muted); }
.section-head-rule { border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* ---- Home: categorieën ----------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .2s ease, color .18s ease; }
.cat-card:hover { box-shadow: var(--shadow-hover); color: var(--blue); }
.cat-photo { aspect-ratio: 16 / 7; }
.cat-photo.is-empty { justify-content: center; align-items: center; }
.cat-body { padding: 20px 24px 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.cat-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.cat-price { margin-left: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---- Home: werkplaats ------------------------------------------------ */
.workshop { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr); gap: 56px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.workshop-photo { height: 100%; min-height: 340px; }
.workshop-photo.is-empty { justify-content: center; align-items: center; background: var(--surface-2); }
.workshop-body { display: flex; flex-direction: column; gap: 16px; padding: 36px 40px 36px 0; }
.workshop-body > p { font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.workshop-body .btn { align-self: flex-start; margin-top: 10px; }
.checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.5; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---- Home: maatwerkband ---------------------------------------------- */
.mw-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; max-width: 1480px; margin: 0 auto; }
.mw-band-photo { position: relative; overflow: hidden; min-height: 400px; }
.mw-band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; }
.mw-band-body { background: var(--blue); padding: 64px clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.mw-band-body h2 { font-size: 36px; line-height: 1; color: #fff; }
.mw-band-body p { font-size: 18px; line-height: 1.55; color: var(--blue-soft); max-width: 440px; }
.mw-band-body .btn { align-self: flex-start; }

/* ---- Home: contact --------------------------------------------------- */
.home-contact { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 44px; }
.home-contact-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; border-bottom: 2px solid var(--text); padding-bottom: 26px; }
.home-contact-head > div { display: flex; flex-direction: column; gap: 16px; }
.home-contact-head > p { font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.home-contact-head a { font-weight: 600; }
/* Merklogo's onderaan de homepagina: witte tegels, ook in donkere modus */
.brands { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 26px; border-top: 1px solid var(--line); }
.brand-row { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.brand-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 120px; padding: 22px 28px; display: flex; align-items: center; justify-content: center; }
.brand-logo img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.contact-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.contact-strip > .contact-cell { border-right: 1px solid var(--line); }
.contact-strip > .contact-cell:last-child { border-right: 0; }
.contact-cell { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
a.contact-cell:hover { background: var(--surface-2); color: var(--text); }
.contact-cell .label { font-size: 13px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.contact-cell .value-lg { font-size: 25px; letter-spacing: -.015em; font-weight: 700; line-height: 1; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.contact-cell .value-link { font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--blue); overflow-wrap: anywhere; }
.contact-cell .value { font-size: 17px; line-height: 1.4; }
.contact-cell .note { font-size: 16px; line-height: 1.4; color: var(--muted); margin-top: 6px; }

/* ---- Binnenpagina's: kop --------------------------------------------- */
.page-head { padding-top: 56px; display: flex; flex-direction: column; gap: 14px; }
.page-head .eyebrow-line::before { display: none; }
.crumb { font-size: 14px; color: var(--dim); }
.crumb a { color: var(--dim); }
.crumb a:hover { color: var(--blue); }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.page-head-row h1 { font-size: 48px; line-height: 1; }
.page-head-row p { font-size: 17px; color: var(--muted); max-width: 430px; text-align: right; text-wrap: pretty; }
.page-head-split { display: grid; grid-template-columns: minmax(280px, 600px) minmax(0, 1fr); gap: 48px; padding-bottom: 26px; }
.page-head-split p { font-size: 18px; line-height: 1.6; max-width: none; text-align: left; }

/* ---- Aanbod: filters ------------------------------------------------- */
.filters { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; white-space: nowrap; padding: 11px 20px; border: 1px solid var(--line); background: transparent; color: var(--text); font-family: Archivo, sans-serif; font-size: 15px; font-weight: 600; border-radius: var(--radius); cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { border-color: var(--blue); background: var(--blue); color: #fff; }

/* ---- Productkaarten -------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(230px, calc((100% - 66px) / 4)), 1fr)); gap: 22px; }
.product { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; color: var(--text); box-shadow: var(--shadow); transition: box-shadow .2s ease; }
.product:hover { box-shadow: var(--shadow-hover); color: var(--text); }
.product[hidden] { display: none; }
.product-photo { position: relative; height: 200px; }
.product-grid-sm .product-photo { height: 180px; }
.product-photo .photo img { object-position: center; }
.product-photo .photo { position: absolute; inset: 0; }
.badge { position: absolute; top: 10px; left: 10px; padding: 5px 11px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.badge-blue { background: var(--blue); }
.badge-grey { background: #8a8f8c; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-name { font-size: 24px; letter-spacing: -.015em; font-weight: 700; line-height: 1.1; overflow-wrap: normal; hyphens: auto; }
.product-text { font-size: 15px; color: var(--muted); line-height: 1.5; }
.product-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-spec { font-size: 14px; color: var(--dim); line-height: 1.5; }
.product-price { font-size: 21px; letter-spacing: -.015em; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- Genummerde kaarten ---------------------------------------------- */
.num-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.num-card { border: 1px solid var(--line); background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.num-card .num { font-size: 15px; color: var(--blue); letter-spacing: .1em; font-weight: 600; }
.num-card-title { font-size: 20px; font-weight: 700; }
.num-card-text { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---- CTA-band -------------------------------------------------------- */
.cta-band { margin-top: 72px; background: var(--blue); padding-top: 64px; padding-bottom: 64px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-band-text { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.cta-band h2 { font-size: 35px; line-height: 1.02; color: #fff; }
.cta-band p { font-size: 18px; line-height: 1.6; color: var(--blue-soft); }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cta-band .btn { border-radius: var(--radius); font-size: 17px; }

/* ---- Tweedehands ----------------------------------------------------- */
.usp-row { padding-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.usp { border-left: 2px solid var(--blue); padding: 4px 0 4px 16px; display: flex; flex-direction: column; gap: 4px; }
.usp strong { font-size: 17px; }
.usp span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.trade-in-wrap { padding-top: 34px; }
.trade-in { border: 1px solid var(--line); padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--surface-2); }
.trade-in > div { display: flex; flex-direction: column; gap: 6px; }
.trade-in strong { font-size: 25px; letter-spacing: -.015em; }
.trade-in span { font-size: 16px; color: var(--muted); }
.trade-in .btn { border-radius: var(--radius); font-size: 17px; font-weight: 700; height: 52px; }

/* ---- Tweedehands: lege stock, verkocht, detailpagina ----------------- */
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 40px; background: var(--surface-2); border-radius: var(--radius); }
.empty-state strong { font-size: 22px; letter-spacing: -.01em; }
.empty-state span { font-size: 16px; color: var(--muted); max-width: 560px; margin-bottom: 8px; }
.product.is-sold .product-photo img { filter: grayscale(.6); opacity: .8; }
.occ-detail { padding-top: 24px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 48px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.gallery-main > img, .gallery-main > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-main .badge { top: 14px; left: 14px; font-size: 14px; padding: 6px 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { flex-shrink: 0; width: 96px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--surface-2); opacity: .75; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--blue); }
.occ-info { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 24px; }
.occ-info h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.occ-lead { font-size: 18px; line-height: 1.55; color: var(--muted); }
.occ-price { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--surface-2); border-radius: var(--radius); }
.occ-price strong { font-size: 32px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.occ-price span { font-size: 14px; color: var(--muted); }
.occ-info .info-rows { margin-top: 0; }
.occ-info .info-rows dt { width: 110px; }
.occ-note { font-size: 15px; color: var(--muted); }
.occ-back { padding-top: 40px; padding-bottom: 72px; }

/* ---- Maatwerk -------------------------------------------------------- */
.mw-hero { padding-top: 36px; }
.photo-wide { height: 460px; }
.photo-wide.is-empty { padding: 20px; }
.photo-wide .photo-label, .photo-tall .photo-label { font-size: 13px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.tile { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); }
.tile-photo { height: 190px; }
.tile-photo-lg { height: 200px; }
.tile figcaption { padding: 16px 18px; font-size: 15px; color: var(--muted); }
.tile-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tile-title { font-size: 21px; letter-spacing: -.015em; font-weight: 700; line-height: 1.05; }
.tile-text { font-size: 15px; color: var(--muted); line-height: 1.55; }
.prose-block { gap: 18px; max-width: calc(900px + 2 * var(--g)); }
.prose-block p { font-size: 18px; line-height: 1.65; color: var(--muted); }

/* ---- Diensten -------------------------------------------------------- */
.anchor { scroll-margin-top: 24px; }
.split { padding-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-reverse { margin-top: 64px; padding-top: 64px; }
.split-reverse > .photo { order: 2; }
.split-pad { padding-top: 64px; padding-bottom: 64px; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.split-text > p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 460px; }
.split-text > .btn { align-self: flex-start; }
/* Zonder foto (nog niet opgeladen): tekst over één kolom, op leesbare breedte. */
.split-nophoto { grid-template-columns: minmax(0, 760px); }
.split-nophoto .split-text > p { max-width: 680px; }
.split-reverse.split-nophoto { margin-top: 24px; }
/* Atelier zonder foto: tekst links, adres en uren rechts op de plaats van de foto. */
.split-info { align-items: end; }
.split-info > .info-rows { margin-top: 0; }
.photo-tall { height: 420px; border: 1px solid var(--line); }
.photo-tall.is-empty { padding: 18px; background: repeating-linear-gradient(135deg, var(--hatch-a) 0 14px, var(--hatch-b) 14px 28px); }
.info-rows { margin: 8px 0 0; border-top: 1px solid var(--line); }
.info-rows > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.info-rows dt { width: 150px; flex-shrink: 0; color: var(--dim); font-size: 15px; }
.info-rows dd { margin: 0; font-size: 17px; }
.band-bordered { margin-top: 64px; padding-top: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 32px; }
.band-bordered .section-head > div { gap: 14px; }
.work-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.work-item { padding: 26px 26px 26px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.work-item + .work-item { padding-left: 26px; }
.work-item:last-child { border-right: 0; padding-right: 0; }
.work-item strong { font-size: 20px; }
.work-item span { font-size: 16px; line-height: 1.55; color: var(--muted); }
.parts-list { border-top: 1px solid var(--line); }
.parts-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.parts-list span:first-child { font-size: 17px; }
.parts-list span:last-child { font-size: 16px; color: var(--dim); text-align: right; }
#wisselstukken + .cta-band { margin-top: 0; }

/* ---- Formulierpagina's ------------------------------------------------ */
.form-section { margin-top: 56px; background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 620px); gap: 64px; align-items: start; scroll-margin-top: 0; }
.form-section-contact { margin-top: 72px; padding-top: 72px; padding-bottom: 72px; grid-template-columns: minmax(0, 1fr) minmax(300px, 560px); }
.form-intro { display: flex; flex-direction: column; gap: 20px; }
.form-intro > p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 430px; }
.qa-list { margin-top: 6px; border-top: 1px solid var(--line); }
.qa-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.qa-list strong { font-size: 17px; }
.qa-list span { font-size: 16px; color: var(--muted); line-height: 1.55; }
.note-box { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-left: 2px solid var(--blue); background: var(--surface); font-size: 16px; color: var(--muted); }
.note-box a:not(.btn) { color: var(--text); font-weight: 700; }
.note-box-split { justify-content: space-between; gap: 20px; padding: 20px 22px; }
.note-box-split > span { max-width: 300px; line-height: 1.5; }
.note-box .btn { border-radius: var(--radius); }

/* ---- Contact --------------------------------------------------------- */
.contact-grid { padding-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { border: 1px solid var(--line); }
.contact-card > .contact-cell { padding: 28px 30px; border-top: 1px solid var(--line); }
.contact-card-row { display: grid; grid-template-columns: 1fr 1fr; }
.contact-card-row > .contact-cell { padding: 28px 30px; }
.contact-card-row > .contact-cell:first-child { border-right: 1px solid var(--line); }
.contact-card .label { font-size: 14px; letter-spacing: .06em; }
.contact-card .value-lg { font-size: 27px; }
.contact-card .note { font-size: 15px; margin-top: 0; }
.value-mail { font-size: 17px; letter-spacing: -.005em; font-weight: 700; line-height: 1.15; color: var(--blue); overflow-wrap: anywhere; }
.value-md { font-size: 20px; font-weight: 600; }
.contact-sub { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.hours { display: flex; flex-direction: column; gap: 8px; font-size: 17px; margin-top: 8px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours strong { font-weight: 600; text-align: right; }
.hours .is-dim { color: var(--dim); }
.contact-map { display: flex; flex-direction: column; gap: 14px; }
.contact-map iframe { width: 100%; height: 420px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, var(--hatch-a) 0 14px, var(--hatch-b) 14px 28px); }
[data-theme="dark"] .contact-map iframe { filter: invert(.9) hue-rotate(180deg); }
.contact-map .btn { border-radius: var(--radius); font-size: 17px; height: 52px; }

/* ---- Formulier ------------------------------------------------------- */
.srv-form { background: var(--surface); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.srv-form input[type=text], .srv-form input[type=tel], .srv-form input[type=email], .srv-form select, .srv-form textarea {
  font-family: Archivo, Helvetica, Arial, sans-serif; font-size: 15px; color: var(--text);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 0;
  padding: 0 14px; height: 48px; width: 100%; outline: none; appearance: none;
}
.srv-form select { background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.srv-form textarea { padding: 12px 14px; height: 150px; min-height: 150px; max-height: 500px; resize: vertical; line-height: 1.5; }
.srv-form input:focus, .srv-form select:focus, .srv-form textarea:focus { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); outline: none; }
.srv-form ::placeholder { color: var(--dim); }
.form-step { font-size: 15px; letter-spacing: .12em; color: var(--blue); font-weight: 600; text-transform: uppercase; margin-top: 6px; }
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group .form-step { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span:first-child { font-size: 14px; color: var(--muted); }
.fld-note { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }
.biz-fields { display: none; border-left: 2px solid var(--blue); padding: 14px 0 14px 16px; background: var(--surface-2); padding-right: 14px; }
.srv-form:has(input[name=klant][value=zakelijk]:checked) .biz-fields { display: grid; }
.segmented { display: flex; align-self: flex-start; border: 1px solid var(--field-line); }
.segmented label, .chips label { position: relative; cursor: pointer; }
.segmented input, .chips input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span { display: block; font-size: 15px; font-weight: 600; padding: 11px 22px; color: var(--muted); }
.segmented input:checked + span { background: var(--blue); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 16px; font-size: 15px; border: 1px solid var(--field-line); color: var(--muted); }
.chips label:hover span { border-color: var(--blue); }
.chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.consent { position: relative; display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent span::before { content: ""; float: left; width: 18px; height: 18px; margin: 2px 10px 0 0; border: 1px solid var(--field-line); background: var(--field) center / 12px no-repeat; }
.consent input:checked + span::before { background-color: var(--blue); border-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.consent input:focus-visible + span::before { outline: 2px solid var(--blue); outline-offset: 2px; }
.srv-form .btn-block { border-radius: 0; margin-top: 4px; }
.form-foot { font-size: 13px; color: var(--dim); text-align: center; }
.form-error { border-left: 3px solid #d23c3c; background: rgba(210, 60, 60, .08); color: var(--text); padding: 12px 16px; font-size: 15px; }
.form-done h3 { font-size: 28px; line-height: 1.1; }
.form-done p { font-size: 17px; color: var(--muted); }

/* ---- Footer ---------------------------------------------------------- */
.site-foot { background: var(--band-bg); color: var(--band-muted); padding-top: 34px; padding-bottom: 34px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; font-size: 14px; }
.site-foot-nav { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.site-foot a { color: var(--band-muted); }
.site-foot a:hover { color: #fff; }
.site-foot-credit { font-family: Montserrat, Archivo, sans-serif; text-align: right; }
.hvr-underline { display: inline-block; vertical-align: middle; position: relative; overflow: hidden; font-family: Montserrat, Archivo, sans-serif; font-weight: 400; letter-spacing: .04em; }
.hvr-underline::before { content: ""; position: absolute; left: 51%; right: 51%; bottom: 0; background: currentColor; height: 1px; transition: left .3s ease-out, right .3s ease-out; }
.site-foot .hvr-underline:hover { color: var(--mint); }
.hvr-underline:hover::before, .hvr-underline:focus::before { left: 0; right: 0; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .topbar { font-size: 13.5px; }
  .site-head { min-height: 76px; }
  .brand img { height: 52px; }
  .nav-burger { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--btn-line); color: var(--text); cursor: pointer; font-size: 20px; line-height: 1; flex-shrink: 0; }
  .nav-burger:hover { border-color: var(--blue); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; flex-wrap: nowrap; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .16); padding: 26px var(--g) 20px; z-index: 70; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav > a:not(.btn), .nav-menu > a { padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav a.is-active { border-bottom-color: var(--blue); }
  .nav-menu { display: flex; flex-direction: column; width: 100%; }
  .nav-drop { display: flex; flex-direction: column; position: static; min-width: 0; width: 100%; border: 0; box-shadow: none; background: transparent; padding: 4px 0 10px 16px; }
  .nav-drop a { padding: 9px 0; }
  .nav-cta { margin-top: 16px; align-self: flex-start; }

  .page-head-row h1 { font-size: 40px; }
  .h-xl { font-size: 44px; }
}

@media (max-width: 900px) {
  .mw-band, .occ-detail, .home-contact-head, .workshop, .split, .contact-grid, .form-section, .page-head-split { grid-template-columns: 1fr; }
  .occ-detail { gap: 28px; }
  .occ-info { position: static; }
  .hero { min-height: 0; padding-top: 56px; padding-bottom: 150px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11, 26, 44, .88) 0, rgba(11, 26, 44, .75) 55%, rgba(11, 26, 44, .35) 100%); }
  .hero-logo { right: 0; width: 200px; padding: 18px 24px 22px; }
  .trust-item { padding: 4px 20px; }
  .section-head > .section-aside { padding-bottom: 0; }
  .workshop { gap: 0; }
  .workshop-body { padding: 28px; }
  .workshop-photo { min-height: 240px; }
  .mw-band-photo { min-height: 280px; }
  .home-contact-head { gap: 20px; }
  .split-reverse > .photo { order: 0; }
  .photo-tall { height: 300px; }
  .photo-wide { height: 300px; }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head-row p, .section-head > p { text-align: left; }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 28px; }
  .trade-in, .note-box-split { flex-direction: column; align-items: flex-start; }
  .form-section { gap: 40px; }
  .work-item, .work-item + .work-item { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-foot { grid-template-columns: 1fr; text-align: center; }
  .site-foot-credit { text-align: center; }
}

@media (max-width: 640px) {
  .topbar { padding-top: 7px; padding-bottom: 7px; row-gap: 2px; }
  .site-head { min-height: 68px; }
  .brand img { height: 42px; }
  .nav { padding-top: 12px; }
  .hero h1 { font-size: 40px; }
  .topbar-info > span:last-child { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .brand-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-logo { height: 96px; padding: 16px 18px; }
  .brand-logo img { height: 44px; }
  .trust-item { padding: 4px 14px; }
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .page-head { padding-top: 36px; }
  .page-head-row h1 { font-size: 34px; }
  .h-xl { font-size: 38px; }
  .h-lg, .h-md2, .h-rule, .cta-band h2 { font-size: 28px; }
  .block { padding-top: 56px; }
  .block-lg, .band-alt { padding-top: 56px; padding-bottom: 56px; }
  .product-name { font-size: 23px; }
  .contact-card-row { grid-template-columns: 1fr; }
  .contact-card-row > .contact-cell:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-strip > .contact-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .srv-form { padding: 22px 18px; }
  .btn-row > .btn { flex: 1 1 auto; }
  .contact-map iframe { height: 300px; }
  .info-rows > div { flex-direction: column; gap: 2px; }
}

/* ---- Aanbod: productfoto's van de leverancier ----------------------------
   Witte achtergrond, heel verschillende verhoudingen (van breed tot hoog):
   volledig tonen op een wit vlak i.p.v. bijsnijden. Geldt voor de typekaarten
   op Aanbod en de homepage; tweedehands (echte foto's) blijft bijsnijden. */
.product-grid-contain .product-photo .photo,
.cat-photo { background: #fff; }
.product-grid-contain .product-photo .photo img,
.cat-photo img { object-fit: contain; padding: 10px 14px; }
