/* ============================================================================
   /aanbod en de autodetailpagina's. Alleen op die pagina's geladen; gebruikt de
   tokens uit site.css. De merkkleur van de bezoeker (--alp-brand, gezet door
   site.js) kleurt op de detailpagina de "partnersite"-elementen.
   ========================================================================== */

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); animation: pols 2s infinite var(--ease); }
@keyframes pols { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.linkbtn:hover { text-decoration-thickness: 2px; }
.page.av .section, .page.ad .section { border-top: 0; }

/* ---- /aanbod: donkere hero met live tellers ---------------------------------- */
.av-hero {
  position: relative; overflow: hidden; color: var(--dk-text);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(42, 63, 217, 0.45), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(34, 197, 94, 0.14), transparent 60%),
    var(--dk-bg);
}
.av-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
}
.av-hero__in { position: relative; z-index: 1; display: grid; gap: 22px; padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 88px); }
.av-live { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 12px 6px 10px; border: 1px solid var(--dk-line); border-radius: 999px; font-size: var(--t-sm); font-weight: 600; background: rgba(255,255,255,0.04); }
.av-live__t { font-weight: 400; color: var(--dk-text-2); }
.av-hero h1 { color: #fff; max-width: 12em; }
.av-hero h1 span { display: block; color: var(--dk-text-2); }
.av-hero__lede { font-size: var(--t-md); line-height: 1.5; color: var(--dk-text-2); max-width: 36em; }
.av-figs { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--dk-line); }
.av-fig { display: flex; flex-direction: column-reverse; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--dk-line); }
.av-fig dd { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); color: #fff; font-variant-numeric: tabular-nums; }
.av-fig dt { color: var(--dk-text-2); }
.av-fig--tot dd { background: linear-gradient(90deg, #fff, #A9B4FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 760px) {
  .av-figs { grid-template-columns: 1.3fr 1fr 1fr; gap: 0 calc(var(--gutter) * 2); border-top: 0; }
  .av-fig { border-bottom: 0; border-top: 1px solid var(--dk-line); padding-top: 22px; }
  .av-fig--tot { border-top-color: #6B79FF; }
}

/* ---- sticky filterbalk ---------------------------------------------------------- */
.av-bar { position: sticky; top: 65px; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.av-bar.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 24px -18px rgba(20, 23, 28, 0.35); }
.av-bar__in { display: grid; gap: 12px; padding-block: 14px; }
@media (min-width: 1100px) { .av-bar__in { grid-template-columns: auto 1fr; align-items: center; gap: 20px; } }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); justify-self: start; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tab__n { font-weight: 500; opacity: 0.65; font-variant-numeric: tabular-nums; font-size: 0.8125rem; }
.filters { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.filters .f--zoek { grid-column: 1 / -1; }
@media (min-width: 760px) { .filters { grid-template-columns: 2.2fr 1fr 1fr 1.2fr; } .filters .f--zoek { grid-column: auto; } }
.f { position: relative; display: block; }
.f .input { min-height: 44px; border-radius: 10px; background-color: var(--white); }
.f--zoek .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.f--zoek .input { padding-left: 40px; }

/* ---- lijst -------------------------------------------------------------------------- */
.av-list { padding-top: 24px; padding-bottom: clamp(48px, 6vw, 88px); }
.av-scope { font-size: var(--t-sm); color: var(--ink-3); }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px calc(-1 * var(--side)) 0; padding: 2px var(--side) 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-f { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 0.875rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all 0.15s var(--ease); }
.chip-f:hover { border-color: var(--ink); color: var(--ink); }
.chip-f[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.resultline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 18px 0 16px; font-size: 0.9375rem; color: var(--ink-2); min-height: 1.5em; }
.resultline b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.av-note { margin-top: 28px; font-size: var(--t-sm); color: var(--ink-3); text-align: center; }
.more { display: flex; justify-content: center; margin-top: 32px; }
#av-sentinel { height: 1px; }
.state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 16px; padding: 72px 0; text-align: center; }
.state__t { font-family: var(--font-head); font-size: var(--t-lg); }

/* ---- kaarten ------------------------------------------------------------------------- */
.cars { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
@media (min-width: 1200px) { .cars--4 { grid-template-columns: repeat(4, 1fr); } }
.car {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  color: inherit; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
a.car:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 2px 4px rgba(20,23,28,0.04), 0 22px 44px -22px rgba(20,23,28,0.35); }
.car__img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #EEF0F3, #E3E6EB); overflow: hidden; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
a.car:hover .car__img img { transform: scale(1.05); }
.car__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(10, 12, 16, 0.55), transparent); pointer-events: none; }
.car__img.is-dead img { display: none; }
.car__img.is-dead::before { content: "Foto volgt"; position: absolute; inset: 0; display: grid; place-content: center; font-size: var(--t-sm); color: var(--ink-3); }
.car__tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; background: rgba(255,255,255,0.92); color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.car__tag--de { background: rgba(20, 23, 28, 0.82); color: #fff; }
.car__month { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: baseline; gap: 3px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 6px 16px -8px rgba(0,0,0,0.5); }
.car__month b { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.125rem; letter-spacing: -0.01em; font-variant-numeric: proportional-nums; }
.car__month small { font-size: 0.8125rem; color: var(--ink-3); }
.car__body { display: grid; grid-template-rows: auto auto auto 1fr; gap: 6px; padding: 16px 18px 16px; }
.car__name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.015em; overflow-wrap: anywhere; transition: color 0.15s; }
a.car:hover .car__name { color: var(--accent-text); }
.car__sub { font-size: var(--t-sm); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.car__specs li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: var(--paper); font-size: 0.8125rem; color: var(--ink-2); }
.car__specs .ic { width: 14px; height: 14px; color: var(--ink-3); }
.car__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); align-self: end; }
.car__price { display: grid; font-weight: 600; font-variant-numeric: proportional-nums; }
.car__price small { font-weight: 400; font-size: 0.8125rem; color: var(--ink-3); }
.car__go { display: grid; place-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease); }
a.car:hover .car__go { background: var(--ink); color: #fff; transform: translateX(2px); }
.car__go .ic { width: 16px; height: 16px; }

.car--skel .car__img { background: linear-gradient(90deg, #EDEFF2 25%, #E2E5EA 37%, #EDEFF2 63%); background-size: 400% 100%; animation: skel 1.3s infinite linear; }
.car--skel .car__img::after { display: none; }
.car--skel .car__body { gap: 10px; min-height: 160px; }
.car--skel .car__body i { display: block; height: 14px; border-radius: 6px; background: #EDEFF2; }
.car--skel .car__body i:nth-child(1) { width: 70%; height: 18px; } .car--skel .car__body i:nth-child(2) { width: 50%; } .car--skel .car__body i:nth-child(3) { width: 85%; }
@keyframes skel { to { background-position: -400% 0; } }

/* donkere CTA-kaart midden in het aanbod */
.car--cta { background: var(--dk-bg); border-color: var(--dk-bg); color: var(--dk-text); grid-template-rows: 1fr; }
.car-cta { display: grid; align-content: space-between; gap: 14px; padding: 24px; min-height: 100%;
  background: radial-gradient(28rem 18rem at 100% 0%, rgba(42, 63, 217, 0.55), transparent 60%); }
.car-cta__k { font-size: 0.8125rem; font-weight: 600; color: #A9B4FF; text-transform: uppercase; letter-spacing: 0.06em; }
.car-cta__t { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.car-cta__p { color: var(--dk-text-2); font-size: 0.9375rem; }
.car-cta__b { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 42px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; }
a.car--cta:hover .car-cta__b .ic { transform: translateX(3px); }
.car-cta__b .ic { transition: transform 0.2s var(--ease); }

/* ==========================================================================
   Detailpagina
   ========================================================================== */
/* browserbalk: zo staat de pagina op de site van de partner */
.pv-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.pv-bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-block: 10px; }
.pv-url { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1 1 260px; }
.pv-dots { display: none; gap: 6px; }
.pv-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
@media (min-width: 760px) { .pv-dots { display: inline-flex; } }
.pv-addr { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: 0.875rem; color: var(--ink-3); overflow: hidden; }
.pv-addr .ic { width: 14px; height: 14px; color: #16A34A; }
.pv-addr b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pv-addr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-merk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pv-merk__l { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }
.pv-merk__sw { display: inline-flex; gap: 6px; }
.pv-merk .swatch { width: 22px; height: 22px; }
.pv-merk .swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--ink); }
.pv-naam { width: 150px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 0.875rem; background: var(--white); }
.pv-naam:focus { outline: none; border-color: var(--ink); }

.ad-wrap { padding-top: 20px; padding-bottom: clamp(48px, 6vw, 80px); }
.ad-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ad-skel { display: grid; gap: 16px; padding-top: 36px; }
.ad-skel i { display: block; border-radius: 16px; background: linear-gradient(90deg, #EDEFF2 25%, #E2E5EA 37%, #EDEFF2 63%); background-size: 400% 100%; animation: skel 1.3s infinite linear; }
.ad-skel i:nth-child(1) { aspect-ratio: 21 / 9; } .ad-skel i:nth-child(2) { height: 36px; width: 50%; } .ad-skel i:nth-child(3) { height: 18px; width: 70%; }

/* fotomozaïek (desktop) */
.mz { position: relative; display: none; gap: 8px; border-radius: 18px; overflow: hidden; }
@media (min-width: 760px) {
  .mz { display: grid; height: clamp(360px, 42vw, 560px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .mz--1 { grid-template-columns: 1fr; } .mz--1 .mz__t--0 { grid-row: 1 / 3; }
  .mz--2 { grid-template-columns: 2fr 1fr; } .mz--2 .mz__t--1 { grid-row: 1 / 3; }
  .mz--3 { grid-template-columns: 2fr 1fr; }
  .mz--4 { grid-template-columns: 2fr 1fr 1fr; } .mz--4 .mz__t--3 { grid-column: 2 / 4; }
  .strook { display: none; }
}
.mz__t { position: relative; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #E6E9ED; }
.mz__t--0 { grid-row: 1 / 3; }
.mz__t img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.mz__t:hover img { transform: scale(1.04); }
.mz:hover .mz__t:not(:hover) img { filter: brightness(0.85); }
.mz__meer { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(10, 12, 16, 0.5); color: #fff; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.375rem; }
.mz__alle { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 0.9375rem; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0,0,0,0.5); transition: transform 0.15s; }
.mz__alle:hover { transform: translateY(-1px); }

/* fotostrook (mobiel) */
.strook { position: relative; margin-inline: calc(-1 * var(--side)); }
.strook__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strook__rail::-webkit-scrollbar { display: none; }
.strook__f { flex: 0 0 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; scroll-snap-align: center; background: #E6E9ED; }
.strook__f img { width: 100%; height: 100%; object-fit: cover; }
.strook__n { position: absolute; right: calc(var(--side) + 4px); bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 12, 16, 0.72); color: #fff; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

.ad-grid { display: grid; gap: 32px; margin-top: 28px; align-items: start; }
@media (min-width: 1024px) { .ad-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: calc(var(--gutter) * 2.5); } .ad-buy { position: sticky; top: 88px; } }
.ad-grid > * { min-width: 0; }
.ad-head { display: grid; gap: 8px; }
.ad-tag { justify-self: start; font-size: 0.8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-text); }
.ad-naam { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.04; letter-spacing: var(--h1-tracking); overflow-wrap: anywhere; }
.ad-sub { font-size: var(--t-md); color: var(--ink-2); overflow-wrap: anywhere; }
.ad-kern { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 24px; }
.ad-kern li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.ad-kern .ic { width: 22px; height: 22px; color: var(--accent-text); }
.ad-kern span { display: grid; min-width: 0; }
.ad-kern small { font-size: 0.75rem; color: var(--ink-3); }
.ad-kern b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-sec { margin-top: clamp(40px, 5vw, 64px); }
.ad-sec h2 { display: flex; align-items: center; gap: 10px; font-size: var(--t-lg); margin-bottom: 18px; }
.ad-n { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); letter-spacing: 0; }
.specs { display: grid; gap: 0 calc(var(--gutter) * 2); border-top: 1px solid var(--rule-strong); }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); }
.specs dd { font-weight: 600; text-align: right; }
@media (min-width: 720px) { .specs { grid-template-columns: 1fr 1fr; } }
.opts { position: relative; display: grid; gap: 28px calc(var(--gutter) * 2); }
@media (min-width: 720px) { .opts { grid-template-columns: 1fr 1fr; } }
.opts.is-dicht { max-height: 420px; overflow: hidden; }
.opts.is-dicht::after { content: ""; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--paper)); }
.opt h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.opt ul { display: grid; gap: 8px; }
@media (min-width: 720px) { .opts .opt:only-child ul { grid-template-columns: 1fr 1fr; gap: 8px 32px; } .opts .opt:only-child { grid-column: 1 / -1; } }
.opt li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 0.9375rem; }
.opt .ic { width: 16px; height: 16px; margin-top: 3px; color: #16A34A; stroke-width: 2.2; }
.ad-meer { margin-top: 20px; }

/* koopkaart met calculator, in de merkkleur van de bezoeker */
.buy { display: grid; gap: 16px; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20,23,28,0.04), 0 24px 48px -32px rgba(20,23,28,0.35); }
.buy__lbl { font-size: var(--t-sm); color: var(--ink-3); }
.buy__maand { display: flex; align-items: baseline; gap: 8px; margin-top: -8px; }
.buy__maand b { font-family: var(--font-head); font-weight: var(--head-weight); font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem); line-height: 1; letter-spacing: -0.035em; color: var(--alp-brand-text, var(--accent-text)); font-variant-numeric: proportional-nums; transition: color 0.3s; }
.buy__maand b.is-tik { animation: tik 0.35s var(--ease); }
@keyframes tik { 0% { transform: translateY(4px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.buy__maand span { color: var(--ink-2); }
.calc { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: var(--paper); }
.calc__rij { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; }
.calc__rij--slider { grid-template-columns: 92px 1fr; grid-template-areas: "k o" "s s"; row-gap: 8px; }
.calc__rij--slider .calc__k { grid-area: k; } .calc__rij--slider output { grid-area: o; justify-self: end; } .calc__rij--slider input { grid-area: s; }
.calc__k { font-size: 0.875rem; font-weight: 600; }
.calc__u { font-size: 0.8125rem; color: var(--ink-3); }
.calc output { font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.seg button { min-height: 32px; border: 0; border-radius: 7px; background: none; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color 0.15s, color 0.15s; }
.seg button[aria-checked="true"] { background: var(--alp-brand); color: var(--alp-brand-ink); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(to right, var(--alp-brand) 0 var(--p, 50%), var(--line) var(--p, 50%) 100%); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--alp-brand); box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--alp-brand); }
.buy__prijs { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 4px; }
.buy__prijs span { color: var(--ink-2); }
.buy__prijs b { font-size: 1.25rem; font-variant-numeric: proportional-nums; }
.opbouw { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.opbouw summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; cursor: pointer; font-weight: 600; list-style: none; }
.opbouw summary::-webkit-details-marker { display: none; }
.opbouw__pijl { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.opbouw[open] .opbouw__pijl { transform: rotate(90deg); }
.opbouw dl { display: grid; padding-bottom: 10px; font-size: 0.9375rem; }
.opbouw dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.opbouw dt { color: var(--ink-2); } .opbouw dd { font-variant-numeric: tabular-nums; }
.opbouw .is-tot { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-weight: 600; }
.opbouw .is-tot dt { color: var(--ink); }
.buy__cta { width: 100%; background: var(--alp-brand); border-color: var(--alp-brand); color: var(--alp-brand-ink); }
.buy__cta:hover { background: var(--alp-brand); border-color: var(--alp-brand); filter: brightness(0.92); }
.buy__note { font-size: 0.8125rem; color: var(--ink-3); text-align: center; }

/* vergelijkbaar + band */
.ad-verg { padding-bottom: clamp(56px, 7vw, 96px); }
.ad-verg__kop { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.ad-verg__kop h2 { font-size: var(--t-lg); }
.ad-band { color: var(--dk-text); background: radial-gradient(50rem 26rem at 90% 0%, rgba(42, 63, 217, 0.5), transparent 60%), var(--dk-bg); }
.ad-band__in { display: grid; gap: 28px; padding-block: clamp(56px, 7vw, 104px); align-items: end; }
@media (min-width: 900px) { .ad-band__in { grid-template-columns: 1fr auto; gap: 64px; } }
.ad-band__k { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #A9B4FF; margin-bottom: 14px; }
.ad-band h2 { color: #fff; max-width: 20em; }
.ad-band__acties { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn--wit { background: #fff; border-color: #fff; color: var(--ink); }
.btn--wit:hover { background: #E9ECFC; border-color: #E9ECFC; }
.ad-band__link { color: var(--dk-text); font-weight: 600; text-underline-offset: 0.25em; }

.ad-leeg { display: grid; gap: 18px; justify-items: start; padding: clamp(56px, 8vw, 120px) 0; max-width: 40rem; }
.ad-leeg h1 { font-size: var(--t-xl); }
.ad-leeg p { color: var(--ink-2); }

/* ---- lightbox ---------------------------------------------------------------------- */
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8, 9, 12, 0.96); color: #fff; opacity: 0; transition: opacity 0.2s var(--ease); }
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); }
.lb__titel { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__n { font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.lb__knop { display: grid; place-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; transition: background-color 0.15s; }
.lb__knop:hover { background: rgba(255,255,255,0.22); }
.lb__knop .ic { width: 22px; height: 22px; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; opacity: 0; transform: translateX(0) scale(0.985); transition: opacity 0.25s var(--ease), transform 0.3s var(--ease); }
.lb__img.is-l { transform: translateX(-24px); } .lb__img.is-r { transform: translateX(24px); }
.lb__img.is-in { opacity: 1; transform: none; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--l { left: clamp(8px, 2vw, 28px); } .lb__nav--r { right: clamp(8px, 2vw, 28px); }
@media (max-width: 759px) { .lb__nav { display: none; } .lb__stage { padding: 0; } .lb__img { border-radius: 0; } }
.lb__rail { display: flex; gap: 8px; overflow-x: auto; padding: 14px clamp(14px, 3vw, 28px) 18px; scrollbar-width: none; justify-content: safe center; }
.lb__rail::-webkit-scrollbar { display: none; }
.lb__rail button { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #222; opacity: 0.45; cursor: pointer; transition: opacity 0.15s, border-color 0.15s; }
.lb__rail button:hover { opacity: 0.8; }
.lb__rail button[aria-current] { opacity: 1; border-color: #fff; }
.lb__rail img { width: 100%; height: 100%; object-fit: cover; }

/* ---- offertedialoog --------------------------------------------------------------- */
.dlg { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5); }
.dlg::backdrop { background: rgba(10, 12, 16, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in 0.25s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.dlg__in { position: relative; display: grid; gap: 16px; padding: 28px; }
.dlg__x { position: absolute; right: 14px; top: 14px; display: grid; place-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.dlg__k { font-size: 0.8125rem; font-weight: 600; color: var(--accent-text); }
.dlg h2 { font-size: var(--t-lg); line-height: 1.2; padding-right: 32px; }
.dlg__lead { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); border-left: 4px solid var(--alp-brand); background: var(--paper); }
.dlg__nieuw { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.dlg__lead span:last-child { color: var(--ink-2); font-size: 0.9375rem; }
.dlg__lijst { display: grid; gap: 8px; color: var(--ink-2); }
.dlg__lijst li { padding-left: 22px; position: relative; }
.dlg__lijst li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid #16A34A; border-bottom: 2px solid #16A34A; transform: rotate(-45deg); }
.dlg__acties { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  a.car:hover, a.car:hover .car__img img, .mz__t:hover img { transform: none; }
}

/* ---- verfijningen ronde 2 ------------------------------------------------------- */
.av-fig dd { font-variant-numeric: proportional-nums; }
@media (min-width: 1100px) {
  .av-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 48px; }
  .av-hero__copy, .av-figs { grid-column: 1 / -1; }
  .av-hero__copy { grid-column: 1; display: grid; gap: 22px; align-content: center; }
  .av-show { grid-column: 2; grid-row: 1; }
}
.av-hero__copy { display: grid; gap: 22px; }
.av-show { position: relative; display: none; min-height: 360px; opacity: 0; transition: opacity 0.6s var(--ease); }
.av-show.is-in { opacity: 1; }
@media (min-width: 1100px) { .av-show { display: block; } }
.show { position: absolute; width: 250px; border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06); transition: transform 0.5s var(--ease); }
.show__img { display: block; aspect-ratio: 4 / 3; background: #E6E9ED; }
.show__img img { width: 100%; height: 100%; object-fit: cover; }
.show__body { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; }
.show__naam { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.show__maand { white-space: nowrap; font-size: 0.8125rem; color: var(--ink-3); }
.show__maand b { font-family: var(--font-head); font-size: 1.0625rem; color: var(--ink); }
.show--0 { left: 4%; top: 40px; transform: rotate(-7deg); z-index: 1; animation: zweef 7s ease-in-out infinite; }
.show--1 { left: 30%; top: 0; transform: rotate(2deg); z-index: 3; animation: zweef 7s ease-in-out -2.3s infinite; }
.show--2 { left: 54%; top: 70px; transform: rotate(8deg); z-index: 2; animation: zweef 7s ease-in-out -4.6s infinite; }
@keyframes zweef { 50% { translate: 0 -10px; } }
.av-show:hover .show { animation-play-state: paused; }
.show:hover { z-index: 5; transform: rotate(0) scale(1.04); }
.show__label { position: absolute; left: 30%; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--dk-line); font-size: 0.8125rem; font-weight: 600; color: var(--dk-text); }
@media (prefers-reduced-motion: reduce) { .show { animation: none !important; } }

/* één uitrustingsgroep: geen dubbele kop */
.opts .opt:only-child h3 { display: none; }

/* lightbox: foto altijd binnen het podium, nooit over de thumbnails */
.lb__stage { overflow: hidden; }
.lb__img { max-height: calc(100dvh - 190px); max-width: min(100%, 1400px); width: auto; height: auto; }
@media (max-width: 759px) { .lb__img { max-height: calc(100dvh - 170px); max-width: 100vw; } }
.lb { background: rgb(8, 9, 12); }

/* huisstijlbalk compact op mobiel */
@media (max-width: 759px) {
  .pv-bar__in { gap: 8px; }
  .pv-url { flex-basis: 100%; }
  .pv-addr { font-size: 0.8125rem; }
  .pv-merk { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .pv-merk__l { display: none; }
  .pv-merk__sw { gap: 5px; }
  .pv-naam { flex: 1; width: auto; min-width: 0; }
}

/* ---- "Alle kenmerken": tabbladen zoals op de importsite ------------------------- */
.ken h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.ken__tabs { display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; padding: 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); scrollbar-width: none; }
.ken__tabs::-webkit-scrollbar { display: none; }
.ken__tabs [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.ken__tabs [role="tab"]:hover { background: var(--paper); }
.ken__tabs [role="tab"][aria-selected="true"] { background: #1D2740; color: #fff; font-weight: 600; }
.ken__n { font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
.ken__tabs [aria-selected="true"] .ken__n { background: rgba(255,255,255,0.16); color: #fff; }
.ken__paneel { margin-top: 14px; padding: clamp(18px, 3vw, 32px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); animation: ken-in 0.25s var(--ease); }
.ken__paneel .specs { border-top: 0; }
.ken__paneel .specs > div:last-child, .ken__paneel .specs > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
@media (max-width: 719px) { .ken__paneel .specs > div:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); } }
.ken__paneel .opts.is-dicht::after { background: linear-gradient(to bottom, transparent, var(--white)); }
@keyframes ken-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .ken__paneel { animation: none; } }
@media (max-width: 599px) {
  .ken__tabs { display: flex; width: 100%; padding: 4px; }
  .ken__tabs [role="tab"] { flex: 1 1 0; justify-content: center; min-height: 42px; padding: 0 8px; font-size: 0.9375rem; gap: 6px; }
  .ken__n { padding: 1px 6px; font-size: 0.6875rem; }
}

/* ---- Uitrusting: Opvallend-tegels + categorieën (zelfde opzet als de importsite) ---- */
.uit { display: flex; flex-direction: column; gap: 28px; }
.uit h3 { margin: 0; }
.uit-opv h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 12px; }
.uit-opv ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .uit-opv ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.uit-opv li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 92px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; color: var(--ink); hyphens: auto; }
.uit-opv li span { min-width: 0; max-width: 100%; }
.uit-opv__ic { width: 24px; height: 24px; flex: none; fill: none; stroke: #1D2740; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1024px) { .uit-cats { columns: 2; column-gap: 48px; } }
.uit-cat { break-inside: avoid; border-bottom: 1px solid var(--line); }
.uit-cat__kop { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 8px 0; border: 0; background: none; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; border-radius: 8px; }
.uit-cat__kop:focus-visible { outline: 2px solid #1D2740; outline-offset: 2px; }
.uit-cat__n { font-weight: 400; color: var(--ink-2); }
.uit-cat__pijl { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.uit-cat__kop[aria-expanded="true"] .uit-cat__pijl { transform: rotate(180deg); }
.uit-cat ul { display: flex; flex-direction: column; gap: 9px; padding: 2px 0 18px; }
.uit-cat li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.uit-cat__ok { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: #16A34A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .uit-cat__pijl { transition: none; } }
