/* SALI TRANSPORT, voorbeeldsite.
   Basis uit ui-ux-pro-max (vrachtvervoer: "Funnel in drie stappen", Swiss minimal, groen als hoofdkleur).
   Aangepast: één diep vrachtwagengroen in plaats van groen met oranje, donkergroen veld voor de laadmeter-rekenhulp.
   Letters: Saira Condensed (koppen, woordmerk, cijfers) en Saira (tekst). */

@font-face { font-family: "Saira Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/saira-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/saira-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/saira-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/saira-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/saira-latin-600-normal.woff2") format("woff2"); }

:root {
  --ground: #eef1ee;
  --surface: #ffffff;
  --step: #dfe5df;
  --step-2: #cdd6ce;
  --ink: #111814;
  --ink-2: #45514a;
  --field: #123a27;
  --field-2: #1b4d33;
  --on-field: #eef1ee;
  --on-field-2: #a9c4b1;
  --accent: #1e6a42;
  --accent-press: #16533a;
  --on-accent: #ffffff;
  --wood: #d9b98a;
  --font-d: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --font-t: "Saira", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --t-h1: clamp(2.7rem, 1.5rem + 5.2vw, 6.4rem);
  --t-h2: clamp(2.1rem, 1.3rem + 2.8vw, 4rem);
  --t-h3: 1.3rem;
  --t-body: 1.125rem;
  --t-small: 1rem;
  --gap-section: clamp(96px, 7vw + 56px, 200px);
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-t); font-size: var(--t-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
h1 { font-size: var(--t-h1); line-height: .92; }
h2 { font-size: var(--t-h2); line-height: .96; }
h3 { font-family: var(--font-t); font-size: var(--t-h3); font-weight: 600; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Skiplink en voorbeeldmelding ---------- */
.skip-link { position: absolute; left: var(--gutter); top: -120px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: .55rem 1rem; text-align: center; text-wrap: balance; }
.demo-note a { padding: 13px 12px; margin: 0 -12px; white-space: nowrap; color: inherit; text-decoration: underline; }
.demo-note a:hover { color: inherit; }
.demo-note a:focus-visible { outline: 2px solid var(--ground); outline-offset: -10px; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 0;
  font-family: var(--font-t); font-weight: 600; font-size: var(--t-body); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 140ms var(--ease-out);
}
.btn svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease-out); }
.btn:hover svg.i-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-big { min-height: 56px; padding: 0 24px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-press); color: var(--on-accent); }
.btn-quiet { background: var(--step); color: var(--ink); }
.btn-quiet:hover { background: var(--step-2); color: var(--ink); }
.btn-light { background: var(--ground); color: var(--ink); }
.btn-light:hover { background: var(--surface); color: var(--ink); }

/* ---------- Kop ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); }
.bar { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; text-decoration: none; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wm-svg { width: 108px; height: 36px; flex: none; }
.wm-sub { display: none; font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.nav-links { display: none; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.head-mail { min-width: 44px; min-height: 44px; padding: 0 12px; }
.head-mail .label { display: none; }
.head-cta { min-height: 44px; padding: 0 14px; }
.head-cta .long { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 26px; height: 26px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--surface); box-shadow: 0 18px 40px rgba(17, 24, 20, .2); /* taste-skill-ignore: menu is a real overlay */ display: flex; flex-direction: column; padding: 8px; }
.menu-panel a { min-height: 48px; display: flex; align-items: center; padding: 0 14px; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--ground); color: var(--ink); }
@media (max-width: 389px) { .bar { gap: 6px; } .wm-svg { width: 96px; height: 32px; } }
@media (min-width: 440px) { .head-mail .label { display: inline; } }
@media (min-width: 600px) { .head-cta .long { display: inline; } .wm-sub { display: inline; } }
@media (min-width: 1180px) {
  .nav-links { display: flex; gap: 2px; margin-right: 12px; }
  .menu { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 4vw, 64px); }
.hero-top { display: grid; gap: 20px; }
.lead { font-size: var(--t-body); line-height: 1.5; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-media { margin: clamp(28px, 4vw, 56px) 0 0; }
.frame { overflow: hidden; background: var(--step); aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-wide { aspect-ratio: 4 / 3; }
.frame-wide img { object-position: 52% 60%; }
.hero-foot { display: grid; gap: 22px; margin-top: 12px; }
figcaption { font-size: var(--t-small); color: var(--ink-2); line-height: 1.4; }
.figure-cap, .work-media figcaption, .road-media figcaption, .faq-media figcaption, .detail-media figcaption { margin-top: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.facts dt { font-size: var(--t-small); color: var(--ink-2); line-height: 1.35; margin-top: 4px; }
.facts dd { margin: 0; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 960px) {
  .hero-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
  .lead { font-size: 1.3rem; line-height: 1.42; }
  .frame-wide { aspect-ratio: 21 / 9; }
  .hero-foot { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .frame-wide img { animation: drift 20s var(--ease-out) both; }
  @keyframes drift { from { transform: scale(1.1); } to { transform: scale(1); } }
}

/* ---------- Laadmeter (levend element) ---------- */
.ldm-field { background: var(--field); color: var(--on-field); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 32px, 136px) 0; }
.ldm-field a:hover { color: var(--on-field); }
.ldm { display: grid; gap: 32px; grid-template-areas: "head" "controls" "out" "trailer" "send"; }
.ldm-head { grid-area: head; } .ldm-controls { grid-area: controls; } .ldm-out { grid-area: out; } .trailer { grid-area: trailer; } .ldm-send { grid-area: send; }
.ldm-head p { margin-top: 18px; max-width: 34em; }
.ldm-controls { display: grid; gap: 22px; }
.stepper label { display: block; font-weight: 600; margin-bottom: 8px; }
.stepper label span { font-weight: 400; color: var(--on-field-2); margin-left: 6px; }
.step-row { display: flex; align-items: stretch; gap: 0; max-width: 280px; }
.step-btn { flex: none; width: 56px; min-height: 56px; display: grid; place-items: center; background: var(--field-2); color: var(--on-field); border: 0; cursor: pointer; transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out); }
.step-btn:hover { background: var(--accent); }
.step-btn:active { transform: scale(.94); }
.step-btn svg { width: 22px; height: 22px; }
.step-row input { width: 100%; min-width: 0; min-height: 56px; text-align: center; background: var(--on-field); color: var(--ink); border: 0; border-radius: 0; font-family: var(--font-d); font-weight: 700; font-size: 1.875rem; -moz-appearance: textfield; }
.step-row input::-webkit-outer-spin-button, .step-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-weight: 600; }
.check input { width: 26px; height: 26px; accent-color: var(--accent); flex: none; }
.ldm-big { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-d); font-weight: 700; line-height: .9; text-transform: uppercase; }
.ldm-big strong { font-size: clamp(4.6rem, 3rem + 7vw, 9rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.ldm-big span { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: var(--on-field-2); }
.ldm-sub { margin-top: 14px; font-size: var(--t-body); max-width: 30em; }
.trailer { margin: 0; }
.trailer svg { width: 100%; height: auto; }
.trailer figcaption { color: var(--on-field-2); margin-top: 12px; max-width: 60ch; }
.pallet { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .pallet.new { animation: drop 420ms var(--ease-out) both; }
  @keyframes drop { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
}
@media (min-width: 960px) {
  .ldm { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head out" "controls trailer" "send trailer"; grid-template-rows: auto auto 1fr; column-gap: 72px; row-gap: 36px; align-items: start; }
  .ldm-out { align-self: end; }
  .trailer { align-self: start; }
}

/* ---------- Werkwijze ---------- */
.section { margin-top: var(--gap-section); }
.work { display: grid; gap: 40px; }
.steps { margin-top: 30px; display: grid; gap: 30px; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.steps li::before { content: ""; width: 48px; height: 32px; margin-top: 2px; background: var(--wood); clip-path: polygon(0 0, 100% 0, 100% 72%, 86% 72%, 86% 100%, 58% 100%, 58% 72%, 42% 72%, 42% 100%, 14% 100%, 14% 72%, 0 72%); }
.steps li:nth-child(2)::before { background: var(--accent); }
.steps li:nth-child(3)::before { background: var(--ink); }
.steps h3, .steps p { grid-column: 2; }
.steps p { margin-top: 4px; }
.work-media { margin: 0; }
.frame-tall { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .work { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
  .frame-tall { aspect-ratio: 1 / 1; }
}

/* ---------- Weg ---------- */
.road-media { margin: 0; }
.frame-band { aspect-ratio: 16 / 9; }
.road-grid { display: grid; gap: 24px; margin-bottom: 40px; }
.towns-title { font-weight: 600; margin-top: 24px; }
.towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12em), 1fr)); gap: 6px 20px; margin-top: 10px; }
.towns li { white-space: nowrap; }
.towns-more { margin-top: 16px; }
@media (min-width: 760px) { .frame-band { aspect-ratio: 5 / 2; } }
@media (min-width: 960px) { .road-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; margin-bottom: 56px; } }

/* ---------- Vragen ---------- */
.faq { display: grid; gap: 32px; }
.faq-intro { margin-top: 16px; }
.faq-media { margin: 32px 0 0; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { background: var(--surface); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 20px; cursor: pointer; font-weight: 600; font-size: var(--t-body); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-family: var(--font-d); font-weight: 700; font-size: 1.875rem; line-height: 1; color: var(--accent); transition: transform 220ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details > div { padding: 0 20px 20px; }
.faq-list p, .lead, .road-grid p, .detail p { max-width: 60ch; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; } }

/* ---------- Slot ---------- */
.close { background: var(--accent); color: var(--on-accent); margin-top: var(--gap-section); padding: clamp(64px, 6vw + 32px, 128px) 0; }
.close a:hover { color: var(--on-accent); }
.close-grid { display: grid; gap: 40px; }
.close p { margin-top: 14px; max-width: 30em; }
.mail-big { display: flex; width: fit-content; max-width: 100%; align-items: center; min-height: 48px; margin: 20px 0 26px; font-family: var(--font-d); font-weight: 700; font-size: clamp(1.6rem, .9rem + 3vw, 3rem); line-height: 1.1; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; overflow-wrap: break-word; }
.close-facts { display: grid; gap: 24px; align-content: end; }
.close-facts h3 { font-size: 1rem; font-weight: 600; }
.close-facts p { margin-top: 4px; font-size: var(--t-body); font-weight: 600; }
@media (min-width: 960px) { .close-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }

/* ---------- Voet ---------- */
.site-footer { background: var(--ink); color: var(--on-field); padding: 64px 0 40px; }
.site-footer a:hover { color: var(--on-field); }
.foot-mark { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.6rem, .8rem + 9vw, 10.5rem); line-height: .86; text-transform: uppercase; margin: 0 0 40px; }
.foot-grid { display: grid; gap: 24px; }
.foot-grid b { display: block; margin-bottom: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.credits { margin-top: 36px; font-size: 1rem; color: var(--on-field-2); max-width: 64ch; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-links { flex-direction: column; } }

/* ---------- Binnenpagina's ---------- */
.page-head { padding-top: clamp(28px, 4vw, 64px); }
.page-head .lead { margin-top: 20px; }
.page-head-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .page-head-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; } .page-head-grid .lead { margin-top: 0; } }
.detail { display: grid; gap: 32px; }
.detail-media { margin: 0; }
.detail .ticks { margin-top: 18px; }
.detail h2 + p { margin-top: 18px; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; } .detail-flip > .detail-media { order: -1; } }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 20px; height: 12px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 70%, 80% 70%, 80% 100%, 60% 100%, 60% 70%, 40% 70%, 40% 100%, 20% 100%, 20% 70%, 0 70%); }
.band { background: var(--surface); padding: clamp(56px, 5vw + 28px, 112px) 0; }
.need { display: grid; gap: 28px; }
.need-list { display: grid; gap: 12px; }
@media (min-width: 640px) { .need-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 960px) { .need { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }

/* ---------- Formulier ---------- */
.contact-grid { display: grid; gap: 48px; margin-top: clamp(40px, 4vw, 72px); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }
.form { background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.form h2 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.fields { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .wide { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--ground); border: 2px solid var(--step-2); border-radius: 0; font-size: 1.05rem; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23111814' stroke-width='2.4'/%3E%3C/svg%3E"); background-position: right 14px center; background-size: 20px 20px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.err { display: none; color: #b3261e; font-weight: 600; margin-top: 6px; font-size: 1rem; }
.err.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot field, off screen, not a rule */
.form .btn { margin-top: 24px; }
.form-note { margin-top: 14px; color: var(--ink-2); font-size: 1rem; }
.done { display: none; background: var(--surface); padding: clamp(20px, 3vw, 40px); }
.done.show { display: block; }
.done h2 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.done p { margin-top: 14px; }
.side h2 { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.4rem); }
.side dl { margin: 18px 0 0; display: grid; gap: 18px; }
.side dt { font-weight: 600; }
.side dd { margin: 2px 0 0; }
.side dd a { display: inline-flex; align-items: center; min-height: 44px; word-break: break-all; }
.side figure { margin: 36px 0 0; }
.band-grid { display: grid; gap: 24px; margin-top: 28px; }
.band-grid figure { margin: 0; }
.band-grid figcaption { margin-top: 10px; }
@media (min-width: 760px) { .band-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main:not(:has(.close)) { padding-bottom: var(--gap-section); }

/* ---------- Verschijnen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .load { animation: rise 620ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

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