/* KL-automotive: het dashboard. Grafiet, licht asgrijs en het amber van een waarschuwingslampje. */
@font-face { font-family: "Saira"; src: url("../fonts/saira-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/saira-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ground: #f2f3f4;
  --paper: #ffffff;
  --ink: #15181d;
  --ink-soft: #444b55;
  --panel: #15181d;
  --panel-2: #20252c;
  --on-panel: #f2f3f4;
  --on-panel-soft: #b9c0c9;
  --amber: #f2a900;
  --amber-ink: #8a5a00;
  --red: #e5484d;
  --text: "Saira", "Segoe UI", Arial, sans-serif;
  --display: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --wrap: 80rem;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --gap: clamp(5rem, 3.4rem + 6vw, 9.5rem);
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --step-3: clamp(2.25rem, 1.3rem + 4.6vw, 5rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--step-0); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--ground); padding: 0.75rem 1rem; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: 0.5rem 1rem; text-align: center; }
.demo-note a { display: inline-block; padding: 0.6875rem 0.5rem; margin: -0.6875rem -0.5rem; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.demo-note a:focus-visible { outline: 2px solid currentColor; outline-offset: -0.375rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Woordmerk: een meter met naald, dan de naam */
.brand { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.wm { font-family: var(--display); font-weight: 800; font-size: 1.625rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }

/* Kop */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ground); }
.header-bar { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
.main-nav { margin-left: auto; display: none; }
.nav-list { display: flex; gap: 0.25rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; text-decoration: none; font-weight: 500; white-space: nowrap; border-radius: 999px; transition: background-color 160ms var(--ease); }
.nav-list a:hover { background: #e3e5e8; }
.nav-list a[aria-current="page"] { background: var(--ink); color: var(--ground); }
.header-actions { display: flex; align-items: center; gap: 0.375rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.call-pill { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.call-pill svg { width: 20px; height: 20px; flex: none; }
.call-pill:hover { background: #ffbb1f; }
.ghost-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background-color 160ms var(--ease); }
.ghost-pill:hover { background: #2c323b; }
.ghost-pill.short { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; padding: 0; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle [hidden] { display: none; }
.mobile-nav { padding-bottom: 1rem; }
.mobile-nav ul { display: grid; gap: 0.125rem; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 1.375rem; font-weight: 600; font-family: var(--display); }
@media (max-width: 26rem) { .call-pill .label { display: none; } .call-pill { padding: 0; width: 44px; justify-content: center; } }
@media (max-width: 29.99rem) { .brand svg { display: none; } .wm { font-size: 1.25rem; } .header-actions { gap: 0.25rem; } .ghost-pill.short { display: inline-flex; padding: 0 0.8rem; } }
@media (min-width: 30rem) { .header-bar { gap: 1rem; } .header-actions { gap: 0.5rem; } .ghost-pill.short { display: inline-flex; } }
@media (min-width: 74rem) { .main-nav { display: block; } .menu-toggle, .mobile-nav { display: none !important; } }

/* Tekst */
.display { font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 0.96; letter-spacing: -0.015em; text-wrap: balance; }
.head { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; }
main p { max-width: 60ch; }
p + p { margin-top: 0.9em; }
.section { padding-top: var(--gap); }
.section-intro { margin-top: 1.25rem; max-width: 52ch; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; padding: 0.75rem 1.5rem; border-radius: 999px; background: var(--amber); color: var(--ink); text-decoration: none; font-weight: 600; border: 0; cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.button:hover { background: #ffbb1f; }
.button:active, .call-pill:active { transform: translateY(1px); }
.button svg { width: 22px; height: 22px; flex: none; }
.button--dark { background: var(--ink); color: var(--ground); }
.button--dark:hover { background: #2c323b; }
.button--light { background: var(--paper); color: var(--ink); }
.button--light:hover { background: #e3e5e8; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--amber-ink); }

/* Held en dashboard op één grafietvlak */
.dash { background: var(--panel); color: var(--on-panel); padding-block: clamp(2rem, 1.5rem + 2.5vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.dash .lead, .dash p { color: var(--on-panel); }
.hero-grid { display: grid; gap: 2rem; }
.hero .lead { margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-actions .button { flex: 1 1 auto; }
@media (min-width: 36rem) { .hero-actions .button { flex: 0 0 auto; } }
.facts { margin-top: 1.75rem; display: grid; gap: 0.6rem; }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; color: var(--on-panel); }
.facts svg { width: 22px; height: 22px; flex: none; margin-top: 0.15rem; color: var(--amber); }
.frame { position: relative; overflow: hidden; border-radius: 18px; background: var(--panel-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 3; }
.cap { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-soft); }
.dash .cap { color: var(--on-panel-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: slowzoom 22s var(--ease) both; }
  @keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
}
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 3.5rem; } }

/* Het levende ding: welk lampje brandt? */
.lamps { margin-top: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.lamps .head { color: var(--on-panel); }
.lamps-grid { display: grid; gap: 1.75rem; margin-top: 2rem; }
.cluster { background: #0b0d10; border-radius: 28px; padding: clamp(0.625rem, 0.3rem + 1.6vw, 2rem); }
.lamp-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.375rem; }
@media (min-width: 30rem) { .lamp-buttons { gap: 0.5rem; } }
.lamp { appearance: none; border: 0; cursor: pointer; display: grid; place-items: center; gap: 0.35rem; min-height: 88px; padding: 0.6rem 0.25rem; border-radius: 16px; background: #171b21; color: #4b525c; transition: background-color 160ms var(--ease), color 200ms var(--ease), transform 160ms var(--ease); }
.lamp svg { width: 40px; height: 40px; }
.lamp span { font-size: 1rem; line-height: 1.15; color: var(--on-panel-soft); text-align: center; }
.lamp:hover { background: #1f242c; color: #8a929c; }
.lamp:active { transform: scale(0.97); }
.lamp[aria-pressed="true"] { background: #1f242c; }
.lamp[aria-pressed="true"][data-tone="red"] { color: var(--red); }
.lamp[aria-pressed="true"][data-tone="orange"] { color: var(--amber); }
.lamp[aria-pressed="true"] span { color: var(--on-panel); }
.cluster-photo { margin-top: 1rem; border-radius: 16px; aspect-ratio: 16 / 9; }
.readout { background: var(--panel-2); border-radius: 28px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); display: grid; gap: 1rem; align-content: start; }
.readout-tone { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.readout-tone i { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); display: inline-block; }
.readout-tone[data-tone="red"] i { background: var(--red); }
.readout h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.02; color: var(--on-panel); }
.readout dl { display: grid; gap: 0.85rem; }
.readout dt { font-weight: 600; color: var(--amber); }
.readout dd { color: var(--on-panel); }
.readout .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.readout .note { color: var(--on-panel-soft); font-size: 1rem; }
@media (min-width: 60rem) { .lamps-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }

/* Mechanica en elektriciteit, twee helften */
.halves { display: grid; gap: 3rem; margin-top: 2.5rem; }
.half .frame { aspect-ratio: 3 / 2; }
.half h3 { margin-top: 1.25rem; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; display: flex; align-items: center; gap: 0.65rem; }
.half h3 svg { width: 44px; height: 44px; flex: none; }
.half p { margin-top: 0.6rem; }
.work-list { margin-top: 1rem; display: grid; gap: 0.15rem; }
.work-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; background: var(--paper); border-radius: 12px; font-weight: 500; }
.work-list li + li { margin-top: 0.35rem; }
@media (min-width: 52rem) { .halves { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* Ook bestelwagens en tweedehands */
.also { margin-top: var(--gap); background: var(--paper); padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.also-grid { display: grid; gap: 2.5rem; }
.also-item { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.also-item svg { width: 56px; height: 56px; }
.also-item h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; }
.also-item p { margin-top: 0.5rem; }
@media (min-width: 52rem) { .also-grid { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; } }

/* Werkwijze */
.steps { margin-top: 0.5rem; display: grid; gap: 1.75rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.step .pin { width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.step .pin svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; }
.step p { margin-top: 0.3rem; }
.steps-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .steps-grid { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; } }

/* Ligging */
.where { margin-top: var(--gap); background: var(--panel); color: var(--on-panel); padding-block: var(--gap); }
.where .head, .where p { color: var(--on-panel); }
.where-grid { display: grid; gap: 2.5rem; }
.address { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.02; margin-top: 1.25rem; }
.towns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.towns li { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--panel-2); color: var(--on-panel); font-weight: 500; }
.towns li.home { background: var(--amber); color: var(--ink); font-weight: 600; }
.road svg { width: 100%; height: auto; }
@media (min-width: 60rem) { .where-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }

/* Vragen */
.faq-grid { display: grid; gap: 2rem; }
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--paper); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0.85rem 1.1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 1.1rem 1.1rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Afsluiter */
.closer { padding-top: var(--gap); }
.closer-grid { display: grid; gap: 1.5rem; align-items: end; }
.closer .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 60rem) { .closer-grid { grid-template-columns: 1.4fr 1fr; } }

/* Dienstenpagina */
.page-hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.page-hero-grid { display: grid; gap: 2rem; }
.page-hero .frame { aspect-ratio: 16 / 10; }
@media (min-width: 60rem) { .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }
.split { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } }
.price-list { display: grid; gap: 0.5rem; }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 1rem 1.25rem; background: var(--paper); border-radius: 16px; }
.price-list b { font-weight: 600; }
.price-list .amount { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list small { grid-column: 1 / -1; font-size: 1rem; color: var(--ink-soft); }
.detail-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.detail-grid article { display: grid; gap: 0; }
.detail-grid .frame { aspect-ratio: 16 / 10; }
.detail-grid .body { padding-top: 1.25rem; }
.detail-grid h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; }
.detail-grid ul { margin-top: 0.75rem; display: grid; gap: 0.4rem; }
.detail-grid li { display: flex; gap: 0.6rem; }
.detail-grid li svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; color: var(--amber-ink); }
@media (min-width: 52rem) { .detail-grid { grid-template-columns: 1fr 1fr; } }

/* Contactpagina */
.contact-grid { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list dt { font-weight: 600; }
.contact-list dd a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.form-panel { background: var(--paper); border-radius: 24px; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.two { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border: 2px solid #c3c8cf; border-radius: 12px; background: var(--ground); font-size: 1.0625rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 1px; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypotveld, onzichtbaar */
.form-done { background: var(--ink); color: var(--ground); border-radius: 16px; padding: 1.25rem; }
.form-done a { color: var(--ground); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
.photo-row .frame { aspect-ratio: 4 / 3; border-radius: 14px; }
@media (min-width: 52rem) { .photo-row { grid-template-columns: repeat(4, 1fr); } }

/* Voet */
.site-footer { background: var(--panel); color: var(--on-panel); margin-top: var(--gap); padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.site-footer a { color: var(--on-panel); }
.foot-grid { display: grid; gap: 2rem; }
.foot-grid h2 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.4rem; }
.foot-grid p { color: var(--on-panel-soft); font-size: 1rem; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: min(14rem, calc((100vw - 2 * var(--gutter)) / 5.3)); line-height: 0.9; letter-spacing: -0.02em; margin-top: 3rem; white-space: nowrap; color: var(--on-panel); }
.foot-name span { color: var(--amber); }
.credits { color: var(--on-panel-soft); font-size: 1rem; padding-block: 1.5rem 2rem; max-width: 62ch; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .lamp[aria-pressed="true"] svg { animation: blink 1.2s var(--ease) 2; }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  .needle { transform-origin: 17px 20px; animation: sweep 1.4s 0.3s var(--ease) both; }
  @keyframes sweep { from { transform: rotate(-80deg); } to { transform: rotate(0deg); } }
}

/* Elementen met het attribuut hidden blijven verborgen, ook als een klasse display zet (nakijkronde 27 oktober 2026). */
[hidden] { display: none !important; }
