/* assets/css/site.css - apk-keuring.com, theme v1 (26-11-2026, "Keuringsrapport")
   Off-white report paper, petrol ink, and three status colours that always come with their word (ruim op tijd green,
   plan je keuring amber, bijna verlopen / verlopen red). Rounded report card with a big date, a yellow NL plate field,
   a numbered 8 / 2 / 3 timeline. Headings in Saira (variable weight + width, OFL), body in Albert Sans (OFL); neither is
   used by another Swoops site. Icons: Font Awesome Pro duotone sprite /assets/img/icons.svg. Deliberately unlike
   terugroepradar.nl (black bar, square board, yellow signal) though both read the vehicle register.
   Bump ?v= in _partials/head-assets.html after every change. */

@font-face { font-family: "Saira"; src: url("/assets/fonts/saira-latin-standard-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #13262e; --paper: #f6f4ee; --card: #ffffff; --muted: #4d5b60; --rule: #d9d4c7; --soft: #ece8dc;
  --petrol: #0e5f68; --petrol-dark: #0a474e; --petrol-soft: #e1eeee;
  --ok: #1e7a46; --ok-soft: #e3f2e8; --amber: #9a4d00; --amber-soft: #fbecd9; --red: #b3261e; --red-soft: #f9e2df;
  --plate: #f7c600; --nl-blue: #1f3f9a;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --head: "Saira", "Albert Sans", system-ui, sans-serif;
  --wrap: 72rem; --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--petrol); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--petrol-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; font-stretch: 88%; line-height: 1.08; letter-spacing: -.01em; margin: 1.6em 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); margin-top: .25em; font-weight: 800; font-stretch: 80%; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p, ul, ol, dl, table { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--petrol); color: #fff; padding: .6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; line-height: 1.5; color: #24383f; max-width: 38rem; }
.source { font-size: .9rem; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--head); font-weight: 600; font-stretch: 100%; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--petrol); margin-bottom: .5rem; }
[hidden] { display: none !important; }
.ic { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.2em; fill: currentColor; }

/* Header: paper, petrol rule, logo, menu, the reminder button */
.site-header { background: var(--paper); border-bottom: 4px solid var(--petrol); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; min-height: 4.2rem; display: flex; align-items: center; gap: 1.5rem; position: relative; }
.brand { display: inline-flex; }
.brand__logo { height: 36px; width: auto; display: block; }
.site-nav { flex: 1; }
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; margin: 0; padding: 0; justify-content: flex-end; }
.site-nav__link { display: block; padding: .5rem 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.site-nav__link:hover { color: var(--petrol); }
.site-nav__item.is-current .site-nav__link { border-bottom-color: var(--petrol); }
.head-cta { display: inline-flex; align-items: center; gap: .35rem; background: var(--petrol); color: #fff; padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.head-cta:hover { background: var(--petrol-dark); color: #fff; }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 2px solid var(--ink); border-radius: 8px; padding: .35rem .6rem; font: 700 .85rem var(--body); color: var(--ink); cursor: pointer; margin-left: auto; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
@media (max-width: 52rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 4px solid var(--petrol); z-index: 20; padding: .5rem 1rem 1rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; justify-content: flex-start; }
  .head-cta { display: none; }
  .site-header__inner { flex-wrap: wrap; }
}

/* Hero: text + plate field left, report card right */
.hero { background: linear-gradient(180deg, var(--petrol-soft), var(--paper)); padding: 2rem 0 2.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2.5rem; align-items: center; }
@media (max-width: 52rem) { .hero__grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.check { margin: 1.4rem 0 .6rem; }
.check__label { display: block; font-weight: 700; margin-bottom: .35rem; }
.check__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.check__msg { margin: .5rem 0 0; color: var(--red); font-weight: 600; }
.check__note { font-size: .88rem; color: var(--muted); max-width: 34rem; }
.check--side { margin: 0; display: grid; gap: .6rem; }
.plate { display: inline-flex; align-items: stretch; background: var(--plate); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; min-width: 0; }
.plate__nl { background: var(--nl-blue); color: #fff; font: 700 .8rem var(--body); padding: 0 .45rem; display: flex; align-items: flex-end; padding-bottom: .4rem; }
.plate__input { border: 0; background: transparent; font: 800 1.7rem/1 var(--head); font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; color: #111; width: 11ch; padding: .45rem .6rem; }
.plate__input::placeholder { color: rgba(0, 0, 0, .35); }
.plate__input:focus { outline: none; }
.plate:focus-within { box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--petrol); }
.plate--small .plate__input { font-size: 1.3rem; width: 100%; }
.plate--small { display: flex; }
.plate-tag { display: inline-block; background: var(--plate); border: 2px solid var(--ink); border-radius: 6px; padding: .1rem .5rem; font: 800 1.05rem var(--head); font-stretch: 80%; letter-spacing: .06em; color: #111; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 2px solid var(--petrol); background: var(--card); color: var(--petrol); padding: .65rem 1.1rem; border-radius: 10px; font: 700 1rem var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--petrol-soft); color: var(--petrol-dark); }
.btn--go { background: var(--petrol); color: #fff; }
.btn--go:hover { background: var(--petrol-dark); color: #fff; border-color: var(--petrol-dark); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Report card: the result of the check (a sample until then) */
.report { background: var(--card); border: 1px solid var(--rule); border-top: 8px solid var(--petrol); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; box-shadow: 0 10px 30px rgba(19, 38, 46, .10); position: relative; }
.report p { margin: 0 0 .5rem; }
.report__plate { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.report__car { font-weight: 600; color: var(--muted); }
.report__status { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; border-radius: 999px; padding: .2rem .75rem; margin-top: .6rem !important; }
.report__label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: .6rem !important; }
.report__date { font: 800 clamp(2.2rem, 6vw, 3.1rem)/1 var(--head); font-stretch: 78%; margin-bottom: .3rem !important; }
.report__days { font: 700 1.3rem var(--head); font-stretch: 90%; }
.report__line { color: #24383f; }
.report__busy { color: var(--muted); }
.report__offer { margin-top: 1rem !important; }
.report.is-sample { opacity: .92; }
.report.is-sample::after { content: "Voorbeeld"; position: absolute; top: .9rem; right: 1rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.report.is-sample .report__status, .report.is-amber .report__status { background: var(--amber-soft); color: var(--amber); }
.report.is-ok { border-top-color: var(--ok); } .report.is-ok .report__status { background: var(--ok-soft); color: var(--ok); }
.report.is-amber { border-top-color: #d9822b; }
.report.is-red, .report.is-late { border-top-color: var(--red); } .report.is-red .report__status, .report.is-late .report__status { background: var(--red-soft); color: var(--red); }
.report.is-late .report__date { color: var(--red); }
.report.is-none { border-top-color: var(--muted); }

/* Band: how the reminder works + the sign-up */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; margin: 2.5rem 0; align-items: start; }
@media (max-width: 52rem) { .band { grid-template-columns: 1fr; gap: 1.2rem; } }
.band h2 { margin-top: .2em; }
.timeline { list-style: none; margin: 1.4rem 0; padding: 0; }
.timeline__step { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 1rem; padding-bottom: 1.1rem; position: relative; }
.timeline__step::before { content: ""; position: absolute; left: 2.05rem; top: 3.6rem; bottom: 0; border-left: 3px dotted var(--petrol); }
.timeline__step--last::before { display: none; }
.timeline__n { grid-row: 1 / 3; width: 4.2rem; height: 3.6rem; border-radius: 12px; background: var(--petrol); color: #fff; font: 800 1.9rem/3.6rem var(--head); text-align: center; }
.timeline__step--last .timeline__n { background: var(--red); }
.timeline__unit { font: 700 1.05rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--petrol); }
.timeline__t { color: #24383f; }

/* Cards + the reminder form */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.2rem; }
.card h2, .card h3 { margin-top: .1em; }
.card--petrol { background: var(--petrol-soft); border-color: #bcd6d7; }
.remind { border: 2px solid var(--petrol); }
.field { display: grid; gap: .3rem; margin-bottom: .9rem; font-weight: 700; }
.field input[type=email] { font: 400 1.05rem var(--body); padding: .65rem .75rem; border: 2px solid var(--ink); border-radius: 8px; width: 100%; background: #fff; }
.remind__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.remind__consent { font-size: .8rem; color: var(--muted); margin-top: .7rem; }
.remind__msg { font-weight: 600; padding: .5rem .7rem; border-radius: 8px; }
.remind__msg.is-ok { background: var(--ok-soft); color: var(--ok); }
.remind__msg.is-err { background: var(--red-soft); color: var(--red); }
.remind__done { background: var(--ok-soft); border-radius: 10px; padding: 1rem; }
.remind__done-title { font: 800 1.3rem var(--head); color: var(--ok); display: flex; gap: .4rem; align-items: center; }
.remind__example { margin-top: 1rem; font-size: .92rem; }
.remind__example summary { cursor: pointer; font-weight: 700; color: var(--petrol); }
.mailx { border: 1px solid var(--rule); border-radius: 10px; padding: .9rem; margin-top: .6rem; background: var(--paper); }
.mailx p { margin: 0 0 .5rem; }
.mailx__from, .mailx__small { font-size: .75rem; color: var(--muted); }
.mailx__subject { font-weight: 800; }
.mailx__cta { display: inline-block; background: var(--petrol); color: #fff; padding: .3rem .7rem; border-radius: 6px; font-weight: 700; }

/* Rules table + body content */
.rules { margin: 2.5rem 0; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 1rem; }
.data { width: 100%; border-collapse: collapse; font-size: .98rem; margin: 0; }
.data caption { text-align: left; padding: .8rem 1rem 0; font-weight: 700; color: var(--muted); font-size: .85rem; }
.data th, .data td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data thead th { font-family: var(--head); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--petrol); border-bottom: 2px solid var(--petrol); }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: 0; }
.data tbody th { font-weight: 600; }
.section { margin: 2.5rem 0; }
.grid { display: grid; gap: 1.2rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 52rem) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
.callout { border-left: 6px solid var(--petrol); background: var(--petrol-soft); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }
.callout--warn { border-left-color: var(--red); background: var(--red-soft); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--petrol); color: #fff; font: 800 1rem/1.9rem var(--head); text-align: center; }
.faq details { border-bottom: 1px solid var(--rule); padding: .8rem 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.more { font-weight: 700; }

/* Text pages */
.page-top { margin-top: .4rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; margin-bottom: 2rem; }
@media (max-width: 60rem) { .layout { grid-template-columns: 1fr; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.5em; }
.prose li { margin-bottom: .35rem; }
.aside .card:first-child { margin-top: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin: 1.3rem 0 .4rem; }
.crumbs a { color: var(--petrol); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "\203A"; margin-right: .3rem; color: var(--muted); }

/* Disclosure + share */
.disclosure-slot { font-size: .85rem; color: var(--muted); margin: 2rem 0; }

/* Footer: petrol */
.site-footer { background: var(--petrol-dark); color: #fff; margin-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--plate); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2.4rem 1rem 1rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
@media (max-width: 52rem) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__logo { height: 33px; width: auto; margin-bottom: .8rem; }
.site-footer p { font-size: .92rem; color: #d7e6e7; }
.site-footer__head { font-family: var(--head); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--plate); margin: 0 0 .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: 1rem 1rem 2rem; font-size: .8rem; color: #b8d0d2; border-top: 1px solid rgba(255, 255, 255, .15); }
