/* Kardan Autoservice (demo). Richting: het werkbord. Eén bord van gevulde tegels, 8px tussenruimte, één radius.
   Tokens volgen DESIGN.md. Geen externe bronnen (CSP). */
@font-face { font-family: 'Familjen Grotesk'; src: url(fonts/familjen-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url(fonts/familjen-grotesk-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url(fonts/familjen-grotesk-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url(fonts/familjen-grotesk-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Overpass'; src: url(fonts/overpass-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Overpass'; src: url(fonts/overpass-latin-800-normal.woff2) format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --bg: #ffffff;
  --tile: #efefeb;
  --tile-2: #e3e2dc;
  --ink: #16244a;
  --muted: #5a627b;
  --oil: #0a0d12;
  --oil-2: #151a23;
  --n1: #16244a; --n2: #24366a; --n3: #3a4f8c; --n4: #8c9bc8; --n5: #c4cde8;
  --plate: #f6c400;
  --eu: #1f3fa8;
  --ok: #1e7a4c;
  --warn: #b3261e;
  --r: 8px;
  --gap: 8px;
  --f: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --fp: 'Overpass', 'Arial Narrow', Arial, sans-serif;
  --s-small: clamp(.8125rem, .79rem + .1vw, .875rem);
  --s-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --s-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --s-display: clamp(5rem, 14.5vw, 14rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--s-body)/1.5 var(--f); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h2 { font-size: var(--s-head); }
h3 { font-size: clamp(1.375rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--plate); color: var(--ink); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tegels */
.tile { border-radius: var(--r); background: var(--tile); padding: 22px; min-width: 0; }
.tile--oil { background: var(--oil); color: #fff; }
.tile--navy { background: var(--ink); color: #fff; }
.tile--img { padding: 0; overflow: hidden; background: var(--tile-2); }
.tile--img img { width: 100%; height: 100%; object-fit: cover; }

/* knoppen: één vorm */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: var(--r); padding: 14px 20px; font: 600 1rem/1 var(--f); text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: background .2s, color .2s, transform .15s; }
.btn:hover { background: var(--n3); }
.btn:active { transform: translateY(1px); }
.btn--plate { background: var(--plate); color: var(--ink); }
.btn--plate:hover { background: #ffd83d; }
.btn--small { padding: 10px 14px; font-size: .9375rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--tile); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--plate); }

/* kentekenplaat */
.plate { display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden; background: var(--plate); box-shadow: 0 0 0 2px var(--oil); max-width: 100%; }
.plate b { background: var(--eu); color: var(--plate); font: 600 .8125rem/1 var(--fp); display: grid; place-items: end center; padding: 0 0 9px; width: 30px; flex: 0 0 30px; }
.plate input { border: 0; background: transparent; color: var(--oil); font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1 var(--fp); letter-spacing: .06em; text-transform: uppercase; padding: 12px 14px 8px; width: 100%; min-width: 0; outline: 0; }
.plate input::placeholder { color: rgba(10, 13, 18, .32); }
.plate:focus-within { box-shadow: 0 0 0 2px var(--oil), 0 0 0 5px #fff; }
.plate--static { font: 800 1.25rem/1 var(--fp); letter-spacing: .06em; color: var(--oil); }
.plate--static span { padding: 8px 12px 5px; }
.plate--static b { width: 22px; flex-basis: 22px; padding-bottom: 6px; font-size: .625rem; }

/* kop: rij tegels */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 60px 1fr auto auto auto auto; gap: var(--gap); padding: 8px; background: var(--bg); }
.top .tile { height: 60px; padding: 0 22px; display: flex; align-items: center; }
.top__logo { background: var(--ink); padding: 0 !important; justify-content: center; }
.top__logo svg { width: 36px; height: 36px; }
.top__nav { gap: 28px; justify-content: flex-end; }
.top__nav a, .top__tel { text-decoration: none; font-weight: 500; white-space: nowrap; }
.top__nav a:hover, .top__tel:hover { text-decoration: underline; text-underline-offset: 5px; }
.top__nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--plate); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top__tel { font-variant-numeric: tabular-nums; }
.top__act { background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; transition: background .2s; }
.top__act:hover { background: var(--n3); }
.top .top__menu { display: none; } .top__menu { border: 0; font: 600 1rem var(--f); color: var(--ink); cursor: pointer; }

main { display: grid; gap: var(--gap); padding: 0 8px; }

/* hero: twee bij twee */
.board { display: grid; gap: var(--gap); }
.hero { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; height: calc(100svh - 84px); min-height: 600px; max-height: 960px; }
.hero__name { grid-column: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; }
.hero__kind { font-weight: 500; color: var(--muted); }
.hero__word { font-size: var(--s-display); line-height: .78; letter-spacing: -.055em; font-weight: 600; margin-left: -.04em; }
.hero__a { grid-column: 3 / 5; }
.hero__b { grid-column: 1 / 3; }
.hero__say { grid-column: 3; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero__say p { font-size: var(--s-lead); line-height: 1.2; letter-spacing: -.01em; }
.hero__facts { display: grid; gap: 4px; font-size: .9375rem; color: #c9cedb; }
.hero__facts li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--plate); border-radius: 2px; margin-right: 10px; vertical-align: 1px; }
.hero__plan { grid-column: 4; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.hero__label { font-size: var(--s-lead); line-height: 1.2; letter-spacing: -.01em; }
.hero__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hero__row small { font-size: var(--s-small); color: var(--n5); }
.hero__plan .plate { width: 100%; }

/* diensten: lichte cel en donkere rijen */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.split__light { background: var(--tile); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 640px; }
.zig { font-size: clamp(2.25rem, 4.2vw, 4.25rem); display: grid; }
.zig span:nth-child(2) { justify-self: end; }
.split__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.split__foot p { max-width: 34ch; }
.split__rows { display: grid; border-radius: var(--r); overflow: hidden; }
.split__rows li { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 20px; padding: 28px; background: var(--oil); color: #fff; align-content: start; }
.split__rows li:nth-child(even) { background: var(--oil-2); }
.split__rows p { font-size: 1rem; color: #c9cedb; }
.split__rows .terms { font-size: .9375rem; color: var(--n5); }

/* werkwijze: harmonica */
.steps { background: var(--tile); border-radius: var(--r); padding: 32px; display: grid; gap: 48px; }
.steps__intro { display: grid; grid-template-columns: 5fr 1fr 5fr; align-items: end; }
.steps__intro h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.steps__intro p { grid-column: 3; font-size: 1.125rem; max-width: 46ch; }
.acc { display: flex; gap: var(--gap); height: 520px; }
.acc__p { flex: 0 0 76px; background: var(--c); color: var(--i); border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; transition: flex-grow .45s cubic-bezier(.2, .7, .2, 1), flex-basis .45s cubic-bezier(.2, .7, .2, 1); min-width: 0; }
.acc__p.is-open { flex: 1 1 0; }
.acc__b { all: unset; box-sizing: border-box; cursor: pointer; padding: 24px; grid-column: 1 / -1; grid-row: 1 / -1; display: flex; align-items: flex-end; font: 700 1.25rem/1 var(--f); color: inherit; }
.acc__b span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.acc__b:hover span { text-decoration: underline; text-underline-offset: 5px; }
.acc__b:focus-visible { outline: 3px solid var(--plate); outline-offset: -6px; border-radius: var(--r); }
.is-open .acc__b { grid-column: 1; grid-row: 1; align-items: flex-start; font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -.03em; cursor: default; }
.is-open .acc__b span { writing-mode: horizontal-tb; transform: none; }
.acc__c { display: contents; }
.acc__c p { grid-column: 1; grid-row: 2; align-self: end; padding: 24px; font-size: 1.125rem; max-width: 36ch; }
.acc__c img { grid-column: 2; grid-row: 1 / -1; width: 100%; height: 100%; object-fit: cover; }
.acc__c[hidden] { display: none; }

/* prijzen: oplopende tegels */
.price { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: end; padding-top: 8px; }
.price h2 { position: absolute; top: 32px; left: 24px; max-width: 60%; font-size: clamp(2.25rem, 4vw, 3.75rem); }
.price__t { border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.price__t > :not(.price__go) { padding-left: 28px; padding-right: 28px; }
.price__t h3 { padding-top: 28px; font-size: 1.75rem; }
.price__n { font-size: clamp(2.75rem, 2rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.price__t ul { display: grid; gap: 6px; align-content: start; font-size: 1.0625rem; flex: 1; padding-bottom: 24px; }
.price__go { display: flex; align-items: center; height: 64px; padding: 0 28px; margin-top: auto; text-decoration: none; font-weight: 600; transition: filter .2s; }
.price__go::after { content: '→'; margin-left: auto; transition: transform .2s; }
.price__go:hover::after { transform: translateX(4px); }
.price__t--1 { height: 380px; background: var(--tile); }
.price__t--1 .price__go { background: var(--tile-2); }
.price__t--2 { height: 500px; background: var(--n5); }
.price__t--2 .price__go { background: var(--n4); }
.price__t--3 { height: 620px; background: var(--ink); color: #fff; }
.price__t--3 .price__go { background: var(--oil); }
.price__note { grid-column: 1 / -1; font-size: var(--s-small); color: var(--muted); padding: 4px 4px 0; }

/* merken */
.marks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.marks__h { grid-column: span 2; background: var(--plate); font-size: clamp(2rem, 3vw, 3rem); aspect-ratio: auto; }
.marks__list { display: contents; }
.marks__list li { aspect-ratio: 2 / 1; font-size: clamp(1.25rem, 1rem + .8vw, 2rem); font-weight: 600; letter-spacing: -.02em; }
.marks__h { min-height: 100%; }

/* vragen */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); padding: 48px 0; }
.faq h2 { position: sticky; top: 96px; align-self: start; font-size: clamp(2.25rem, 4vw, 3.75rem); padding: 0 24px 0 4px; }
.faq__list { display: grid; gap: var(--gap); }
.faq details { padding: 0; transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; font-size: 1.25rem; font-weight: 500; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: 0 0 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 16px 3px no-repeat, linear-gradient(currentColor, currentColor) center / 3px 16px no-repeat; transition: transform .25s; }
.faq details[open] { background: var(--plate); }
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 16px 3px no-repeat; }
.faq details p { padding: 0 24px 24px; max-width: 52ch; font-size: 1.0625rem; }
.faq summary:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: var(--r); }

/* contact: veld met fotostrook */
.contact { background: var(--ink); color: #fff; border-radius: var(--r); overflow: hidden; padding: 48px 0 40px; }
.strip { overflow: hidden; }
.strip__run { display: flex; gap: var(--gap); width: max-content; animation: run 70s linear infinite; }
.strip:hover .strip__run, .strip:focus-within .strip__run { animation-play-state: paused; }
.strip img { height: 150px; width: auto; border-radius: 6px; object-fit: cover; }
@keyframes run { to { transform: translateX(calc(-50% - 4px)); } }
.contact__in { padding: 72px 32px 0; display: grid; gap: 40px; }
.contact h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); max-width: 14ch; }
.bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bar__cell { height: 96px; border-radius: var(--r); background: var(--n2); display: flex; align-items: center; justify-content: center; padding: 0 20px; border: 0; color: #fff; font: 500 1.125rem var(--f); }
.bar__cell:focus-within { background: var(--n3); }
.bar__plate .plate { width: 100%; }
.bar select { all: unset; box-sizing: border-box; width: 100%; padding: 12px 0; text-align: center; text-align-last: center; cursor: pointer; font: 500 1.125rem var(--f); color: #fff; background: transparent; }
.bar select option { color: var(--ink); }
.bar__go { background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; transition: background .2s; }
.bar__go:hover { background: var(--plate); }
.bar__go:focus-visible { outline-color: var(--plate); }
.contact__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 1rem; color: var(--n5); }
.contact__info strong { color: #fff; font-weight: 600; }
.contact__info a { color: #fff; }

/* voet: de naam uit blokken */
.foot { margin: 8px; background: var(--tile-2); border-radius: var(--r); padding: 32px; display: grid; gap: 56px; }
.blocks { display: flex; gap: 4px; align-items: flex-end; height: 34svh; min-height: 220px; }
.blocks span { flex: 1; height: var(--h); background: var(--c); color: var(--t, #fff); border-radius: 4px; display: flex; align-items: flex-end; padding-left: .06em; font: 600 clamp(3.5rem, 11vw, 10rem)/.9 var(--f); padding-bottom: .04em; letter-spacing: -.05em; overflow: hidden; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: .9375rem; }
.foot__cols nav { display: grid; gap: 6px; align-content: start; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { text-decoration: underline; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--s-small); color: var(--muted); flex-wrap: wrap; }
.foot__last span { max-width: 80ch; }
.foot--slim { gap: 24px; }
.foot__end { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.made { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--r); background: var(--bg); color: var(--ink); text-decoration: none; font-size: .9375rem; transition: background .2s; }
.made b { font-weight: 700; }
.made::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: #00d1ff; }
.made:hover { background: var(--tile); }

/* entrees (alleen als JS draait en beweging mag) */
.js-r [data-r] { opacity: 0; transform: translateY(18px); transition: opacity .4s ease-out, transform .4s ease-out; }
.js-r [data-r].in { opacity: 1; transform: none; }

/* ---------- flow-pagina's: afspraak en status ---------- */
.page { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); align-items: start; min-height: calc(100svh - 84px); }
.page__side { position: sticky; top: 84px; display: grid; gap: var(--gap); }
.page__side .tile--img { aspect-ratio: 4 / 3; }
.page__title { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.page__title h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
.page__title p { color: var(--muted); }
.stepper { display: grid; gap: 4px; counter-reset: s; }
.stepper li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 6px; font-weight: 500; color: var(--muted); }
.stepper li::before { counter-increment: s; content: counter(s); width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--tile-2); color: var(--ink); font-size: .875rem; font-weight: 700; flex: 0 0 28px; }
.stepper li[aria-current] { background: var(--ink); color: #fff; }
.stepper li[aria-current]::before { background: var(--plate); }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { content: '✓'; background: var(--n5); }

.flow { display: grid; gap: var(--gap); }
.panel { background: var(--tile); border-radius: var(--r); padding: 32px; display: grid; gap: 24px; }
.panel h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.panel__lead { color: var(--muted); max-width: 56ch; }
.panel__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.field input, .field textarea, .field select { font: 400 1.0625rem var(--f); color: var(--ink); background: var(--bg); border: 0; border-radius: 6px; padding: 14px 16px; box-shadow: inset 0 0 0 1px #c9c9c1; }
.field input:focus, .field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field small { color: var(--muted); font-size: var(--s-small); }
.field .err { color: var(--warn); font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

.plate-big { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.plate-big .plate { flex: 1 1 280px; }
.plate-big .plate input { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); padding: 16px 18px 10px; }
.plate-big .plate b { width: 40px; flex-basis: 40px; font-size: 1rem; }
.hint { font-size: var(--s-small); color: var(--muted); }
.hint button { all: unset; cursor: pointer; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-right: 10px; }
.hint button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.car { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 24px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 20px; }
.car__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.car__meta { color: var(--muted); font-size: 1rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; font-size: .875rem; font-weight: 600; background: var(--n5); color: var(--ink); white-space: nowrap; }
.chip--warn { background: #f9d9d5; color: var(--warn); }
.chip--ok { background: #d4ecdf; color: var(--ok); }
.chip--plate { background: var(--plate); }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.opt { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 20px; border-radius: var(--r); background: var(--bg); cursor: pointer; transition: background .15s, box-shadow .15s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-weight: 600; font-size: 1.125rem; }
.opt span { grid-column: 1; color: var(--muted); font-size: .9375rem; }
.opt em { font-style: normal; font-weight: 600; grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; }
.opt:hover { box-shadow: inset 0 0 0 2px var(--n4); }
.opt:has(input:checked) { background: var(--ink); color: #fff; }
.opt:has(input:checked) span { color: var(--n5); }
.opt:has(input:focus-visible) { outline: 3px solid var(--plate); outline-offset: 2px; }
.opt--sm { padding: 14px 16px; }

.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.day { position: relative; display: grid; gap: 2px; padding: 14px; border-radius: var(--r); background: var(--bg); cursor: pointer; text-align: left; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day b { font-size: 1.5rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.day span { font-size: .875rem; color: var(--muted); }
.day:has(input:checked) { background: var(--ink); color: #fff; }
.day:has(input:checked) span { color: var(--n5); }
.day:has(input:disabled) { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.day:has(input:focus-visible) { outline: 3px solid var(--plate); outline-offset: 2px; }
.day:not(:has(input:disabled)):hover { box-shadow: inset 0 0 0 2px var(--n4); }
.times { display: flex; gap: var(--gap); flex-wrap: wrap; }

.total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 20px 24px; }
.total strong { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.total span { color: var(--n5); font-size: .9375rem; }

.sum { display: grid; gap: 0; background: var(--bg); border-radius: var(--r); padding: 4px 20px; }
.sum div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--tile-2); }
.sum div:last-child { border-bottom: 0; }
.sum dt { color: var(--muted); }
.sum dd { margin: 0; font-weight: 500; }

.panel--done { background: var(--ink); color: #fff; }
.panel--done .panel__lead { color: var(--n5); }
.werkbon { font: 800 1.25rem var(--fp); letter-spacing: .08em; color: var(--plate); }

/* status */
.track { display: grid; gap: var(--gap); }
.track li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: start; background: var(--bg); border-radius: var(--r); padding: 18px 20px; }
.track li::before { content: ''; width: 28px; height: 28px; border-radius: 6px; background: var(--tile-2); margin-top: 2px; }
.track li.is-done::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6C400' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat; }
.track li.is-now { box-shadow: inset 0 0 0 2px var(--ink); }
.track li.is-now::before { background: var(--plate); }
.track li.is-wait { opacity: .55; }
.track b { display: block; font-weight: 600; font-size: 1.125rem; }
.track p { color: var(--muted); font-size: 1rem; margin-top: 2px; }
.track time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9375rem; }
.extra { background: var(--plate); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: start; }
.extra img { width: 160px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.extra h3 { font-size: 1.5rem; }
.extra p { margin: 6px 0 16px; }
.extra__act { display: flex; gap: 8px; flex-wrap: wrap; }
.extra .btn--ghost:hover { background: rgba(255, 255, 255, .5); }

/* ---------- smaller ---------- */

/* kop: inloggen */
.top__who { gap: 10px; text-decoration: none; font-weight: 500; white-space: nowrap; transition: background .2s; }
.top__who svg { width: 20px; height: 20px; }
.top__who:hover, .top__who[aria-current] { background: var(--tile-2); }
.top__nav-login { display: none; }

/* hero: live-regel */
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.hero__live { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.hero__live li { display: inline-flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 6px; padding: 7px 11px; font-size: .875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa1b5; flex: 0 0 8px; }
.dot--on { background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, .2); }

/* werkplaats live */
.live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.live__head { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 1fr 5fr; align-items: end; padding: 32px; }
.live__head h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); }
.live__head p { grid-column: 3; font-size: 1.125rem; max-width: 46ch; }
.bays { display: contents; }
.bay { background: var(--oil); color: #fff; border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; min-height: 260px; }
.bay__n { display: flex; justify-content: space-between; font-size: .9375rem; color: var(--n5); font-weight: 500; }
.bay__car { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bay__work { color: #c9cedb; font-size: 1rem; }
.bay__st { font-weight: 600; margin-top: auto; }
.bay .plate--static { justify-self: start; }
.bay--wait .bay__st { color: var(--plate); }
.bay--done .bay__st { color: #6fdc9b; }
.bay--free { background: var(--tile); color: var(--ink); }
.bay--free .bay__n { color: var(--muted); }
.bay__free { font-size: clamp(2rem, 3vw, 3rem); font-weight: 600; letter-spacing: -.03em; margin-top: auto; color: var(--muted); }
.meter { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--plate); border-radius: 3px; }
.bay--done .meter i { background: #6fdc9b; }
.live__q { grid-column: 1 / -1; font-size: 1.0625rem; }
.live__q b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* beoordelingen */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.proof__score { grid-row: span 2; background: var(--plate); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 28px; }
.proof__score h2 { font-size: clamp(3rem, 2rem + 3vw, 5.5rem); letter-spacing: -.05em; }
.stars { font-size: 1.75rem; letter-spacing: .1em; }
.proof__q { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; }
.proof__q blockquote { margin: 0; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.01em; }
.proof__q figcaption { color: var(--muted); font-size: .9375rem; }
.proof__q--dark { background: var(--ink); color: #fff; }
.proof__q--dark figcaption { color: var(--n5); }
.proof__marks { grid-column: 2 / -1; display: grid; gap: 6px; padding: 28px; background: var(--tile-2); }
.proof__marks p { font-size: 1.125rem; }

/* occasions-teaser */
.occ { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); }
.occ__head { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px; }
.occ__head h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.occ__head p { color: var(--n5); }
.occ__head .btn { align-self: flex-start; }
.occ__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.occ-card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--tile); }
.occ-card img { aspect-ratio: 4 / 3; height: auto !important; transition: transform .4s ease; }
.occ-card:hover img { transform: scale(1.03); }
.occ-card__b { display: grid; gap: 2px; padding: 18px 20px 20px; }
.occ-card__b b { font-weight: 600; font-size: 1.125rem; }
.occ-card__b span { color: var(--muted); font-size: .9375rem; }
.occ-card__b strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.occ-card .chip { position: absolute; top: 12px; left: 12px; font-style: normal; }

@media (max-width: 1100px) {
  .top { grid-template-columns: 60px 1fr auto auto auto; }
  .top__tel { display: none !important; }
  .live { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof__score { grid-row: auto; }
  .proof__marks { grid-column: 1 / -1; }
  .occ { grid-template-columns: 1fr; }

  .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; height: auto; max-height: none; min-height: 0; }
  .hero__name { grid-column: 1 / -1; min-height: 34svh; }
  .hero__a, .hero__b { grid-column: span 1; aspect-ratio: 4 / 3; }
  .hero__say { grid-column: 1; }
  .hero__plan { grid-column: 2; }
  .split__rows li { grid-template-columns: 1fr 1fr; }
  .split__rows .terms { grid-column: 1 / -1; }
  .price__t ul { font-size: 1rem; }
}
@media (max-width: 860px) {
  .top__who { display: none !important; }
  .top__nav-login { display: block; }
  .hero__live { justify-content: flex-start; }
  .live__head { grid-template-columns: 1fr; padding: 24px; gap: 12px; }
  .live__head h2 { font-size: 9vw; }
  .live__head p { grid-column: 1; }
  .bay { min-height: 0; padding: 18px; }
  .proof { grid-template-columns: 1fr; }
  .proof__score h2 { font-size: 16vw; }
  .occ__list { grid-template-columns: 1fr; }
  .occ__head { padding: 24px; }
  html { scroll-padding-top: 76px; }
  .top { grid-template-columns: 52px 1fr auto; padding: 6px; gap: 6px; }
  .top .tile { height: 52px; padding: 0 16px; }
  .top__tel { display: none !important; }
  .top .top__menu { display: flex; justify-self: end; }
  .top__act { order: 2; }
  .top__menu { order: 3; }
  .top__nav { position: absolute; left: 6px; right: 6px; top: 64px; height: auto !important; flex-direction: column; align-items: stretch !important; gap: 0; padding: 8px !important; background: var(--tile); display: none !important; }
  .top__nav.open { display: flex !important; }
  .top__nav a { padding: 14px 12px; font-size: 1.25rem; }
  main { padding: 0 6px; gap: 6px; }
  .board, .split, .marks, .price, .opts, .days { gap: 6px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__name { min-height: 30svh; }
  .hero__word { font-size: 22vw; }
  .hero__a { grid-column: 1 / -1; }
  .hero__b { display: none; }
  .hero__say, .hero__plan { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split__light { min-height: 0; padding: 24px; gap: 40px; }
  .zig { font-size: 10vw; }
  .split__rows li { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .steps { padding: 24px 16px; gap: 28px; }
  .steps__intro { grid-template-columns: 1fr; gap: 12px; }
  .steps__intro p { grid-column: 1; }
  .acc { flex-direction: column; height: auto; }
  .acc__p { flex: none; grid-template-columns: 1fr; grid-template-rows: auto; }
  .acc__p.is-open { flex: none; }
  .acc__b { min-height: 64px; padding: 0 20px; align-items: center !important; font-size: 1.125rem !important; grid-column: 1; grid-row: 1; }
  .acc__b span { writing-mode: horizontal-tb; transform: none; }
  .acc__c p { grid-column: 1; grid-row: 2; padding: 0 20px 20px; font-size: 1.0625rem; }
  .acc__c img { grid-column: 1; grid-row: 3; aspect-ratio: 16 / 9; height: auto; }
  .price { grid-template-columns: 1fr; padding-top: 24px; }
  .price h2 { position: static; max-width: none; font-size: 9vw; padding: 0 4px 12px; }
  .price__t { height: auto !important; }
  .price__n { font-size: 2.75rem; }
  .marks { grid-template-columns: 1fr 1fr; }
  .marks__h { grid-column: 1 / -1; min-height: 120px; }
  .marks__list li:nth-child(n+9) { display: none; }
  .marks__list li { font-size: 1.25rem; }
  .faq { grid-template-columns: 1fr; padding: 24px 0; }
  .faq h2 { position: static; font-size: 9vw; padding: 0 4px 8px; }
  .faq summary { font-size: 1.125rem; min-height: 64px; padding: 16px 20px; }
  .faq details p { font-size: 1rem; padding: 0 20px 20px; }
  .contact { padding-top: 32px; }
  .strip { overflow-x: auto; scrollbar-width: none; }
  .strip img { height: 110px; }
  .contact__in { padding: 40px 20px 0; }
  .contact h2 { font-size: 9vw; }
  .bar { grid-template-columns: 1fr; }
  .bar__cell { height: 64px; }
  .contact__info { grid-template-columns: 1fr; gap: 12px; }
  .foot { margin: 6px; padding: 20px; gap: 32px; }
  .blocks { height: 22svh; min-height: 140px; }
  .blocks span { font-size: 15vw; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .page { grid-template-columns: 1fr; }
  .page__side { position: static; }
  .page__side .tile--img { display: none; }
  .page__title { min-height: 0; }
  .stepper { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stepper li { padding: 8px; font-size: 0; gap: 0; justify-content: center; }
  .stepper li::before { font-size: .875rem; }
  .panel { padding: 22px 18px; }
  .opts { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr; }
  .car { grid-template-columns: 1fr; }
  .car .chip { justify-self: start; }
  .sum div { grid-template-columns: 1fr; gap: 2px; }
  .extra { grid-template-columns: 1fr; }
  .extra img { width: 100%; aspect-ratio: 16 / 9; }
}

/* ---------- occasions ---------- */
.occ-card { border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.occ-card:focus-visible { outline: 3px solid var(--plate); outline-offset: 2px; }
.occp { display: grid; gap: var(--gap); }
.occp__head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); }
.occp__head { height: clamp(300px, 30vw, 420px); }
.occp__title { min-height: 0; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; padding: 16px; }
.filters__fuel { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 6px; background: var(--bg); font-weight: 500; font-size: .9375rem; transition: background .15s, color .15s; }
.pill:hover span { box-shadow: inset 0 0 0 2px var(--n4); }
.pill input:checked + span { background: var(--ink); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--plate); outline-offset: 2px; }
.pill--check span::before { content: ''; width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 2px currentColor; }
.pill--check input:checked + span::before { background: var(--plate); box-shadow: none; }
.filters__sel { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); font-weight: 500; }
select { font: 500 .9375rem var(--f); color: var(--ink); background: var(--bg); border: 0; border-radius: 6px; padding: 10px 12px; box-shadow: inset 0 0 0 1px #c9c9c1; }
.occp__count { color: var(--muted); font-size: .9375rem; padding: 4px 4px 0; }
.occp__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.occp__none { grid-column: 1 / -1; padding: 32px; }
.occd { border: 0; padding: 0; border-radius: var(--r); width: min(1040px, calc(100% - 24px)); max-height: calc(100svh - 24px); color: var(--ink); background: var(--bg); }
.occd::backdrop { background: rgba(10, 13, 18, .62); }
.occd__in { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.occd__x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 6px; background: var(--ink); color: #fff; font-size: 1.5rem; cursor: pointer; }
.occd__left { position: sticky; top: 0; align-self: start; background: var(--tile); }
.occd__info { display: grid; gap: 14px; padding: 20px; }
.occd__info p { font-size: 1.0625rem; }
.occd__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.occd__body { display: grid; gap: 16px; padding: 28px; align-content: start; }
.occd__body h2 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); padding-right: 48px; }
.occd__state { font-weight: 600; color: var(--ok); }
.occd__price { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.occd__spec { background: var(--bg); }
.occd__spec div { grid-template-columns: 9rem 1fr; padding: 10px 0; }
.occd__form, .occd__trade { display: grid; gap: 14px; background: var(--tile); border-radius: var(--r); padding: 20px; }
.occd__form h3, .occd__trade h3 { font-size: 1.25rem; }
.occd__form .times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.occd__form .opt { grid-template-columns: 1fr; }
.occd__form .opt b { font-size: 1rem; }
.occd__trade .plate-big .plate input, .plate-big--sm .plate input { font-size: 1.75rem; padding: 12px 14px 8px; }
.plate-big--sm { max-width: 560px; }
.err { color: var(--warn); font-weight: 600; }
.err:empty { display: none; }

/* ---------- inloggen ---------- */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.role { display: grid; gap: 8px; align-content: start; min-height: 220px; border: 0; border-radius: var(--r); padding: 24px; text-align: left; font: inherit; cursor: pointer; background: var(--bg); color: var(--ink); transition: box-shadow .15s, transform .15s; }
.role:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.role:focus-visible { outline: 3px solid var(--plate); outline-offset: 2px; }
.role b { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.role span { color: var(--muted); }
.role em { font-style: normal; font-weight: 600; margin-top: auto; display: inline-flex; gap: 8px; }
.role--dark { background: var(--oil); color: #fff; }
.role--dark span { color: #b9bfcf; }
.role--dark:hover { box-shadow: inset 0 0 0 2px var(--plate); }
.role__tag { justify-self: start; }
.role .chip { color: var(--ink); }

/* ---------- app (Mijn Kardan en beheer) ---------- */
.app { display: grid; grid-template-columns: 280px 1fr; gap: var(--gap); align-items: start; min-height: calc(100svh - 84px); }
.app__side { position: sticky; top: 84px; display: grid; gap: 20px; padding: 22px; }
.app__hi { font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.app__side h1 { font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.1; }
.app__side .tile--oil, .tile--oil .app__hi { color: #b9bfcf; }
.tabs { display: grid; gap: 2px; }
.tabs [role=tab] { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; border-radius: 6px; padding: 11px 12px; background: transparent; color: inherit; font: 500 1rem var(--f); text-align: left; cursor: pointer; }
.tabs [role=tab]:hover { background: var(--tile-2); }
.tabs [role=tab][aria-selected=true] { background: var(--ink); color: #fff; }
.tabs [role=tab]:focus-visible { outline: 3px solid var(--plate); outline-offset: 1px; }
.tabs i { font-style: normal; font-size: .8125rem; font-weight: 700; min-width: 22px; padding: 2px 6px; border-radius: 4px; background: var(--plate); color: var(--ink); text-align: center; }
.tabs i:empty { display: none; }
.app__foot { display: flex; flex-wrap: wrap; gap: 6px; }
.app--dark .app__side { background: var(--oil); color: #fff; }
.app--dark .app__hi { color: #9aa1b5; }
.app--dark .tabs [role=tab]:hover { background: var(--oil-2); }
.app--dark .tabs [role=tab][aria-selected=true] { background: var(--plate); color: var(--oil); }
.app--dark .tabs [role=tab][aria-selected=true] i { background: var(--oil); color: var(--plate); }
.app--dark .app__side .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px #3a4152; }
.app--dark .app__side .btn--ghost:hover { background: var(--oil-2); }
.app__main { display: grid; gap: var(--gap); min-width: 0; }
.app__p { display: grid; gap: var(--gap); min-width: 0; }
.app__p > * { min-width: 0; }
.app__h { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding: 22px 24px; }
.app__h h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.app__h p { color: var(--muted); max-width: 60ch; }
.note { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--plate); border-radius: var(--r); padding: 18px 22px; }
.note b { font-size: 1.125rem; }
.note--ok { background: #d4ecdf; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.kpi { display: grid; gap: 4px; align-content: start; }
.kpi b { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .9375rem; }
.kpi--ink { background: var(--ink); color: #fff; }
.kpi--ink span { color: var(--n5); }
.kpi--plate { background: var(--plate); }
.kpi--plate span { color: var(--ink); }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.acar { display: grid; gap: 14px; align-content: start; }
.acar__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.acar h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.acar__meta { color: var(--muted); }
.apk { display: grid; gap: 6px; background: var(--bg); border-radius: 6px; padding: 14px 16px; }
.apk p { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.apk .meter { background: var(--tile-2); }
.apk--warn .meter i { background: var(--warn); }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.rows { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 9rem 1fr auto; gap: 8px 20px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 16px 18px; }
.row__when b { display: block; font-weight: 600; }
.row__when span, .row__what span { color: var(--muted); font-size: .9375rem; }
.row__what b { font-weight: 600; }
.row .acts { justify-content: flex-end; }
.hist details { background: var(--bg); border-radius: var(--r); }
.hist summary { list-style: none; display: grid; grid-template-columns: 7rem 1fr auto 24px; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; }
.hist summary::-webkit-details-marker { display: none; }
.hist summary::after { content: '+'; font-size: 1.5rem; line-height: 1; text-align: right; }
.hist details[open] summary::after { content: '–'; }
.hist summary span { color: var(--muted); }
.hist summary strong { font-variant-numeric: tabular-nums; }
.hist ul { list-style: none; padding: 0 18px 16px; margin: 0; display: grid; gap: 0; }
.hist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--tile); font-size: 1rem; }
.hist li.tot { font-weight: 600; }
.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.toggle input { width: 22px; height: 22px; accent-color: var(--ink); }
.saved { color: var(--ok); font-weight: 600; }
.saved:empty { display: none; }

/* beheer: bruggen */
.wbays { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.wbays .bay { min-height: 300px; }
.bay__acts { display: grid; gap: 6px; }
.bay__acts .btn { justify-content: center; }
.bay .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px #3a4152; }
.bay .btn--ghost:hover { background: var(--oil-2); }
.bay__x { background: var(--plate); color: var(--ink); border-radius: 6px; padding: 10px 12px; font-size: .9375rem; }
.mx { display: grid; gap: 6px; background: var(--oil-2); border-radius: 6px; padding: 10px; }
.mx input { font: 400 .9375rem var(--f); border: 0; border-radius: 4px; padding: 9px 10px; min-width: 0; }
.mx div { display: grid; grid-template-columns: 1fr 90px; gap: 6px; }
.queue { display: grid; gap: 6px; }
.qrow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px 16px; align-items: center; background: var(--bg); border-radius: var(--r); padding: 12px 14px; }
.qrow__car b { font-weight: 600; }
.qrow__car span { display: block; color: var(--muted); font-size: .9375rem; }
.qrow select { padding: 9px 10px; }
.mini { font-size: .875rem; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; background: var(--oil); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); max-width: calc(100% - 32px); }

/* beheer: planning */
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.wday { display: grid; gap: 6px; align-content: start; padding: 14px; }
.wday h3 { font-size: 1.0625rem; display: flex; justify-content: space-between; gap: 8px; }
.wday h3 span { color: var(--muted); font-weight: 500; font-size: .875rem; }
.wday .meter { background: var(--tile-2); margin-bottom: 4px; }
.wday--today { background: var(--ink); color: #fff; }
.wday--today h3 span { color: var(--n5); }
.wday--today .meter { background: rgba(255, 255, 255, .14); }
.wjob { display: grid; gap: 2px; background: var(--bg); color: var(--ink); border-radius: 6px; padding: 10px 12px; font-size: .9375rem; }
.wjob b { font-weight: 600; font-variant-numeric: tabular-nums; }
.wjob span { color: var(--muted); font-size: .875rem; }
.wjob .plate--static { justify-self: start; transform: scale(.82); transform-origin: left center; margin: -2px 0; }

/* beheer: tabellen */
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; }
.tools input[type=search] { flex: 1 1 240px; font: 400 1rem var(--f); color: var(--ink); background: var(--bg); border: 0; border-radius: 6px; padding: 11px 14px; box-shadow: inset 0 0 0 1px #c9c9c1; }
.tbl-wrap { position: relative; overflow-x: auto; background: var(--bg); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--tile-2); }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8125rem; letter-spacing: .03em; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--tile-2); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--tile); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .nr { font: 800 .9375rem var(--fp); letter-spacing: .04em; white-space: nowrap; }
.tbl img { width: 72px; height: 48px; object-fit: cover; border-radius: 4px; }
.tbl input[type=number] { width: 110px; font: 500 1rem var(--f); border: 0; border-radius: 6px; padding: 9px 10px; box-shadow: inset 0 0 0 1px #c9c9c1; text-align: right; }
.plate--sm { box-shadow: 0 0 0 1.5px var(--oil); }
.plate--sm b { width: 18px; flex-basis: 18px; font-size: .5625rem; padding-bottom: 4px; }
.plate--sm span { padding: 4px 8px 2px; font-size: .875rem; }
.cust { display: grid; gap: 10px; align-content: start; }
.cust h3 { font-size: 1.25rem; }
.cust__c { color: var(--muted); font-size: .9375rem; }
.cust__car { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; background: var(--bg); border-radius: 6px; padding: 10px 12px; }
.cust__car p { flex: 1 1 140px; font-size: .9375rem; }
.addf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.addf .field input, .addf .field select { padding: 11px 12px; }

/* beheer: rapport */
.chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 260px; padding: 20px 20px 0; background: var(--bg); border-radius: var(--r); }
.chart li { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; text-align: center; font-size: .8125rem; }
.chart b { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .875rem; }
.chart i { align-self: end; display: block; background: var(--n3); border-radius: 4px 4px 0 0; min-height: 4px; }
.chart li:last-child i { background: var(--plate); }
.chart span { color: var(--muted); padding-bottom: 12px; }
.top5 { display: grid; gap: 8px; }
.top5 li { display: grid; grid-template-columns: 9rem 1fr 3rem; gap: 12px; align-items: center; font-size: .9375rem; }
.top5 .meter { background: var(--tile-2); height: 10px; border-radius: 5px; }
.top5 .meter i { background: var(--ink); border-radius: 5px; }
.top5 em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

@media (max-width: 1100px) {
  .occp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app { grid-template-columns: 1fr; }
  .app__side { position: static; grid-template-columns: 1fr auto; align-items: center; }
  .app__side .tabs { grid-column: 1 / -1; display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .app__side .tabs [role=tab] { flex: 0 0 auto; }
  .app__foot { grid-column: 1 / -1; }
  .wbays, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; }
  .addf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .occp__head { grid-template-columns: 1fr; }
  .occp__img { display: none; }
  .occp__grid { grid-template-columns: 1fr; }
  .filters { gap: 12px; }
  .occd { width: 100%; max-width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; margin: 0; }
  .occd__in { grid-template-columns: 1fr; }
  .occd__left { display: contents; }
  .occd__img { order: 0; }
  .occd__body { order: 1; }
  .occd__info { order: 2; background: var(--tile); }
  .occp__head { height: auto; }
  .occd__body { padding: 20px 16px; }
  .occd__form .times { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .role { min-height: 0; }
  .app__side { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .kpis, .cards2, .wbays { grid-template-columns: 1fr 1fr; }
  .cards2, .wbays { grid-template-columns: 1fr; }
  .wbays .bay { min-height: 0; }
  .row { grid-template-columns: 1fr; }
  .row .acts { justify-content: flex-start; }
  .hist summary { grid-template-columns: 1fr auto 20px; }
  .hist summary span { grid-column: 1; }
  .qrow { grid-template-columns: auto 1fr; }
  .qrow select, .qrow .btn { grid-column: span 1; }
  .addf { grid-template-columns: 1fr; }
  .chart { gap: 4px; padding: 14px 10px 0; }
  .chart b { font-size: .6875rem; }
  .top5 li { grid-template-columns: 6.5rem 1fr 2.5rem; }
  .app__h { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .strip { overflow-x: auto; }
}
