/* AB & C Trans: Swiss grid, wit papier, inkt en signaalrood. Tokens eerst, daarna de onderdelen. */
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/ibm-plex-sans-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #ffffff;
  --field: #eeefeb;
  --ink: #12161c;
  --ink-soft: #3b424c;
  --red: #d0262d;
  --red-ink: #b11e24;
  --on-red: #ffffff;
  --on-ink: #ffffff;
  --on-ink-soft: #c9ced6;
  --text: "Plex", "Helvetica Neue", Arial, sans-serif;
  --display: "Plex Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 82rem;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --gap: clamp(5rem, 3.4rem + 6vw, 10rem);
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.75rem, 1.35rem + 1.9vw, 3rem);
  --step-3: clamp(2rem, 1.2rem + 4.2vw, 4.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; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { 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(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--on-red); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--on-ink); 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: AB & C in smalle letters, het en-teken in rood */
.brand { display: inline-flex; align-items: baseline; gap: 0.35rem; text-decoration: none; color: var(--ink); min-height: 44px; align-items: center; }
.wm { font-family: var(--display); font-weight: 700; font-size: 1.625rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.wm .amp { color: var(--red); padding-inline: 0.04em; }
.wm small { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-left: 0.3em; }

/* 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; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--red-ink); text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 0.375rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 44px; min-height: 44px; padding: 0 0.75rem; text-decoration: none; color: var(--ink); background: var(--field); font-weight: 600; white-space: nowrap; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.icon-btn svg { width: 20px; height: 20px; flex: none; }
.icon-btn .label { display: none; }
.icon-btn:hover { background: #e2e4de; }
.icon-btn:active, .button:active { transform: translateY(1px); }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; background: var(--red); color: var(--on-red); text-decoration: none; font-weight: 600; white-space: nowrap; transition: background-color 160ms var(--ease); }
.header-cta:hover { background: var(--red-ink); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle [hidden] { display: none; }
.mobile-nav { padding-bottom: 1rem; background: var(--ground); }
.mobile-nav ul { display: grid; gap: 0.125rem; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 0.25rem; text-decoration: none; font-size: 1.375rem; font-weight: 600; }
.mobile-nav a:hover { color: var(--red-ink); }

@media (min-width: 30rem) { .icon-btn .label { display: inline; } .header-bar { gap: 1rem; } .header-actions { gap: 0.5rem; } .header-cta { padding: 0 1rem; } }
@media (max-width: 23.9rem) { .wm { font-size: 1.375rem; } .icon-btn { padding: 0; } }
@media (min-width: 72rem) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* Algemene tekst */
.display { font-family: var(--display); font-weight: 700; font-size: var(--step-3); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.head { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.section { padding-block: var(--gap) 0; }
.section-intro { margin-top: 1.25rem; max-width: 52ch; }
main p { max-width: 60ch; }
p + p { margin-top: 0.9em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.75rem 1.25rem; background: var(--red); color: var(--on-red); text-decoration: none; font-weight: 600; border: 0; cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.button:hover { background: var(--red-ink); }
.button svg { width: 22px; height: 22px; flex: none; }
.button--ink { background: var(--ink); color: var(--on-ink); }
.button--ink:hover { background: #2a313b; }
.button--plain { background: var(--field); color: var(--ink); }
.button--plain:hover { background: #e2e4de; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; display: inline-flex; align-items: center; min-height: 44px; }
.text-link:hover { color: var(--red-ink); }

/* Held */
.hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.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; }
.facts svg { width: 22px; height: 22px; flex: none; margin-top: 0.15rem; color: var(--red); }
.frame { position: relative; overflow: hidden; background: var(--field); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 3; }
.hero-photo img { transform-origin: 60% 60%; }
.cap { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-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.2fr 1fr; align-items: end; gap: 3rem; }
  .hero-photo { aspect-ratio: 5 / 4; }
}

/* De route A, B en C als lint onder de held */
.route-band { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--ink); color: var(--on-ink); }
.route-band .wrap { display: grid; gap: 1.25rem; padding-block: 1.75rem; }
.stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.stop { display: grid; gap: 0.35rem; align-content: start; }
.stop b { font-family: var(--display); font-weight: 700; font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); line-height: 0.9; }
.stop:nth-child(3) b { color: #ff6a6f; }
.stop span { color: var(--on-ink-soft); font-size: 1rem; }
.route-band p { color: var(--on-ink); max-width: 46ch; }
@media (min-width: 60rem) { .route-band .wrap { grid-template-columns: 2fr 1fr; align-items: center; } }

/* Diensten als lijst met foto's */
.services-list { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.service { display: grid; gap: 1.25rem; }
.service .frame { aspect-ratio: 3 / 2; }
.service h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1.05; display: flex; align-items: center; gap: 0.6rem; }
.service h3 svg { width: 40px; height: 40px; flex: none; }
.service p { margin-top: 0.75rem; }
.ticks { margin-top: 1rem; display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; color: var(--red); }
@media (min-width: 52rem) {
  .service { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
  .service:nth-child(even) .frame { order: 2; }
}

/* Het ritbriefje */
.planner { background: var(--field); padding-block: var(--gap); margin-top: var(--gap); }
.planner + .section { padding-top: var(--gap); }
.planner-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; }
.field .hint { font-size: 1rem; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.85rem; background: var(--ground); border: 2px solid var(--ink); border-radius: 0; font-size: 1.0625rem; }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red); outline-offset: 1px; }
.two { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .two { grid-template-columns: 1fr 1fr; } }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; border: 0; padding: 0; margin: 0; }
.kinds legend { grid-column: 1 / -1; margin-bottom: 0.4rem; padding: 0; }
.kind { position: relative; }
.kind input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kind span { display: flex; align-items: center; gap: 0.55rem; min-height: 52px; padding: 0.55rem 0.75rem; background: var(--ground); border: 2px solid var(--ink); font-weight: 600; line-height: 1.2; transition: background-color 140ms var(--ease), color 140ms var(--ease); }
.kind svg { width: 26px; height: 26px; flex: none; }
.kind input:checked + span { background: var(--ink); color: var(--on-ink); }
.kind input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.kind:hover span { background: #f6f6f3; }
.kind:hover input:checked + span { background: var(--ink); }

.slip { background: var(--ground); color: var(--ink); padding: clamp(1.25rem, 1rem + 1vw, 2rem); border: 3px solid var(--red); align-self: start; }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.slip-head h3 { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--red-ink); }
.slip-head span { font-weight: 600; }
.slip-route { margin-block: 1.25rem; }
.slip-route svg { width: 100%; height: auto; }
.slip-boxes { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--red); border-left: 2px solid var(--red); }
.slip-box { border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); padding: 0.6rem 0.75rem 0.75rem; min-height: 5.25rem; }
.slip-box.wide { grid-column: 1 / -1; }
.slip-box dt { display: flex; align-items: baseline; gap: 0.5rem; color: var(--red-ink); font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.slip-box dt b { font-size: 1.375rem; line-height: 1; }
.slip-box dd { margin-top: 0.35rem; font-weight: 600; overflow-wrap: anywhere; }
.slip-box dd.empty { color: var(--ink-soft); font-weight: 400; }
.slip-foot { margin-top: 1rem; color: var(--ink-soft); font-size: 1rem; }
.slip-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.slip-actions .button { flex: 1 1 14rem; }
.slip-note { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-soft); }
@media (min-width: 60rem) { .planner-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } .slip { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Werkwijze als rit met haltes */
.steps { margin-top: 2.5rem; display: grid; gap: 1.75rem; counter-reset: none; }
.step { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.step .dot { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); }
.step .dot svg { width: 22px; height: 22px; }
.step:last-child .dot { background: var(--red); }
.step h3 { font-size: 1.375rem; line-height: 1.25; font-weight: 700; }
.step p { margin-top: 0.35rem; }
.steps-split { display: grid; gap: 2.5rem; }
.steps-split .frame { aspect-ratio: 3 / 2; }
@media (min-width: 60rem) { .steps-split { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }

/* Werkgebied op een inktvlak */
.area { background: var(--ink); color: var(--on-ink); margin-top: var(--gap); padding-block: var(--gap); }
.area .head { color: var(--on-ink); }
.area p { color: var(--on-ink); }
.area-grid { display: grid; gap: 2.5rem; }
.towns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.5rem; margin-top: 1.5rem; }
.towns li { font-size: 1.0625rem; font-weight: 600; padding-block: 0.3rem; }
@media (min-width: 36rem) { .towns li { font-size: 1.375rem; font-weight: 500; } }
.towns li.home { color: #ff6a6f; font-weight: 700; }
.area-map svg { width: 100%; height: auto; }
@media (min-width: 60rem) { .area-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }

/* Vragen */
.faq-grid { display: grid; gap: 2rem; }
.faq { display: grid; gap: 0.5rem; margin-top: 2rem; }
.faq details { background: var(--field); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0.85rem 1rem; font-weight: 600; font-size: 1.0625rem; }
.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 1rem 1.1rem; }
.faq summary:hover { color: var(--red-ink); }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } .faq { margin-top: 0; } }

/* Afsluiter */
.closer { padding-top: var(--gap); }
.closer-grid { display: grid; gap: 2rem; 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; } }

/* Prijzen en details (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 / 9; }
@media (min-width: 60rem) { .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; } }
.price-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.price-table th, .price-table td { text-align: left; padding: 1rem 0.75rem 1rem 0; border-bottom: 2px solid var(--ink); vertical-align: top; }
.price-table th { font-weight: 700; }
.price-table td.price { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table small { display: block; font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.split { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } .split .price-table { margin-top: 0; } }
.detail-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.detail-grid h3 { font-size: 1.375rem; line-height: 1.25; }
.detail-grid p, .detail-grid ul { margin-top: 0.6rem; }
@media (min-width: 52rem) { .detail-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
.photo-row .frame { aspect-ratio: 4 / 3; }
@media (min-width: 52rem) { .photo-row { grid-template-columns: repeat(4, 1fr); } }

/* Contactpagina */
.contact-grid { display: grid; gap: 3rem; margin-top: clamp(3.5rem, 3rem + 3vw, 6rem); }
.contact-list { display: grid; gap: 1.25rem; }
.contact-list dt { font-weight: 700; }
.contact-list dd a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 0.2em; display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.form-panel { background: var(--field); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.form-panel .head { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypotveld, onzichtbaar */
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-done { background: var(--ink); color: var(--on-ink); padding: 1.25rem; margin-top: 1rem; }
.form-done a { color: var(--on-ink); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 4rem; } }

/* Voet */
.site-footer { background: var(--ink); color: var(--on-ink); padding-top: clamp(3rem, 2rem + 4vw, 6rem); margin-top: var(--gap); }
.site-footer a { color: var(--on-ink); }
.foot-grid { display: grid; gap: 2rem; }
.foot-grid h2 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; }
.foot-grid p, .foot-grid li { color: var(--on-ink-soft); font-size: 1rem; }
.foot-grid li a, .foot-grid p a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: min(15rem, calc((100vw - 2 * var(--gutter)) / 5)); line-height: 0.85; letter-spacing: -0.03em; margin-top: 3rem; white-space: nowrap; color: var(--on-ink); }
.foot-name .amp { color: #ff6a6f; }
.credits { color: var(--on-ink-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: alleen met JavaScript, en nooit bij verminderde 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; }
  .route-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s 0.4s var(--ease) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

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