/* MLK Trans, Sint-Katelijne-Waver. Voorbeeldsite.
   Stijl uit ui-ux-pro-max: vertrouwensblauw + oranje actie, Swiss minimal. Letters: Barlow Condensed en Barlow
   (typografie-zoekopdracht "logistics transport condensed"): Barlow is getekend naar de letters van verkeersborden. */

@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-600.woff2') format('woff2'); }

:root {
  --ground: #f7f8fa;
  --surface: #e6ebf2;
  --ink: #172033;
  --ink-2: #3b4658;
  --sign: #1f4ba5;
  --sign-2: #2a58b8;
  --on-sign: #ffffff;
  --on-sign-2: #d5e0f5;
  --accent: #ea580c;
  --accent-hover: #d14c08;
  --on-accent: #0b0f19;
  --card: #ffffff;
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 84rem;
  --gutter: 1rem;
  --header-h: 4rem;
  --step-0: 1.125rem;
  --step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-2: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --step-3: clamp(2.875rem, 1.6rem + 6.4vw, 8rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 40rem) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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; -webkit-font-smoothing: antialiased; touch-action: manipulation; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--sign); color: var(--on-sign); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1rem; background: var(--ink); color: var(--ground); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 0.5rem; }
.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); }

.display, .head { font-family: var(--display); font-weight: 800; text-transform: uppercase; text-wrap: balance; }
.display { font-size: var(--step-3); line-height: 0.92; letter-spacing: -0.01em; }
.head { font-size: var(--step-2); line-height: 0.98; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.display + .lead { margin-top: 1.25rem; }
p + p { margin-top: 0.9em; }
main p { max-width: 56ch; }

/* Woordmerk: MLK in een blauw bord, TRANS ernaast */
.wm { display: inline-flex; align-items: center; gap: 0.3em; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.wm b { display: inline-block; padding: 0.12em 0.3em 0.08em; border-radius: var(--radius); background: var(--sign); color: var(--on-sign); font-weight: 800; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0 1.4rem; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease); }
.button svg { width: 1.3rem; height: 1.3rem; flex: none; }
.button:active { transform: translateY(1px); }
.button--sign { background: var(--sign); color: var(--on-sign); }
.button--light { background: var(--on-sign); color: var(--ink); }
@media (hover: hover) { .button:hover { background: var(--accent-hover); } .button--sign:hover { background: var(--sign-2); } .button--light:hover { background: var(--surface); } }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.header-bar { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; margin-right: auto; text-decoration: none; font-size: 1.5rem; }
.main-nav { display: none; }
.nav-list { display: flex; gap: 0.25rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.85rem; white-space: nowrap; text-decoration: none; font-weight: 500; transition: color 160ms ease; }
.nav-list a[aria-current="page"] { color: var(--sign); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.45em; }
@media (hover: hover) { .nav-list a:hover { color: var(--sign); } }
.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.header-mail, .header-cta, .menu-toggle { min-height: 2.75rem; min-width: 2.75rem; border-radius: var(--radius); }
.header-mail { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0 0.75rem; background: var(--sign); color: var(--on-sign); text-decoration: none; font-weight: 600; transition: background-color 160ms ease; }
.header-mail svg { width: 1.25rem; height: 1.25rem; }
.header-mail .label { display: none; }
.header-cta { display: inline-flex; align-items: center; padding: 0 1rem; white-space: nowrap; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 600; transition: background-color 160ms ease; }
@media (hover: hover) { .header-mail:hover { background: var(--sign-2); } .header-cta:hover { background: var(--accent-hover); } }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; cursor: pointer; }
.menu-toggle svg { width: 1.6rem; height: 1.6rem; }
.menu-toggle [hidden] { display: none; }
.mobile-nav { padding-bottom: 1rem; }
.mobile-nav ul { display: grid; gap: 0.25rem; }
.mobile-nav a { display: flex; align-items: center; min-height: 3.25rem; font-family: var(--display); font-weight: 700; font-size: var(--step-1); text-transform: uppercase; text-decoration: none; }
.mobile-nav[hidden] { display: none; }
@media (max-width: 23.5rem) { .brand { font-size: 1.3rem; } .header-cta { padding: 0 0.75rem; } .header-bar { gap: 0.3rem; } }
@media (min-width: 48rem) { .header-mail .label { display: inline; } }
@media (min-width: 64rem) {
  :root { --header-h: 5rem; }
  .main-nav { display: block; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .brand { font-size: 1.75rem; }
}

/* Hero: tekst links, foto rechts */
.hero { padding: 2rem 0 0; }
.hero-grid { display: grid; gap: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions .button { flex: 1 1 15rem; }
.facts { display: grid; gap: 0.6rem; margin-top: 1.75rem; }
.facts li { display: flex; gap: 0.7rem; align-items: flex-start; }
.facts svg { width: 1.35rem; height: 1.35rem; flex: none; margin-top: 0.2rem; color: var(--sign); }
.hero-photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--surface); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); transition: transform 2600ms var(--ease); }
.hero-photo.is-in img { transform: none; }
.photo-cap { margin-top: 0.6rem; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 60rem) {
  .hero { padding-top: 3.5rem; }
  .hero-grid { grid-template-columns: 6fr 6fr; gap: 4rem; align-items: center; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .hero-actions .button { flex: 0 0 auto; }
}

.section { padding: 4.5rem 0; }
@media (min-width: 60rem) { .section { padding: 8rem 0; } }
.section-intro { margin-top: 1rem; }

/* Drie soorten ritten: elke rij begint met een bord */
.rides { display: grid; gap: 4rem; margin-top: 3rem; }
.ride { display: grid; gap: 1.5rem; }
.ride figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.sign { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.55rem 1rem 0.5rem; border-radius: var(--radius); background: var(--sign); color: var(--on-sign); font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1; text-transform: uppercase; outline: 2px solid var(--on-sign); outline-offset: -5px; }
.sign svg { width: 0.9em; height: 0.9em; flex: none; }
.ride h3 { margin: 0; }
.ride p { margin-top: 1rem; }
.ticks { display: grid; gap: 0.5rem; margin-top: 1rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: 0.25rem; color: var(--accent); }
@media (min-width: 60rem) { .ride { grid-template-columns: 6fr 5fr; gap: 4rem; align-items: center; } .ride:nth-child(even) figure { order: 2; } }

/* Ritplanner: blauw veld, het resultaat is een wegwijzer */
.route-section { background: var(--sign); color: var(--on-sign); }
.route-section .section-intro { color: var(--on-sign-2); }
.route { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.route fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.route legend, .route .lbl { display: block; padding: 0; margin-bottom: 0.6rem; font-weight: 600; }
.route .group + .group { margin-top: 1.5rem; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; border-radius: var(--radius); background: var(--sign-2); color: var(--on-sign); font-weight: 500; transition: background-color 140ms ease, color 140ms ease; }
.opt input:checked + span { background: var(--on-sign); color: var(--ink); font-weight: 600; }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pair { display: grid; gap: 1rem; }
.route select, .route input[type="date"] { width: 100%; min-height: 3.25rem; padding: 0 0.9rem; border: 2px solid var(--on-sign-2); border-radius: var(--radius); background: var(--card); color: var(--ink); }
.route select:focus, .route input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
@media (min-width: 40rem) { .pair { grid-template-columns: 1fr 1fr; } }
.signpost { display: grid; gap: 1.25rem; align-content: start; }
.post-sign { position: relative; background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 1.25rem 1.5rem; display: grid; gap: 0.25rem; }
.post-sign .to { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1; text-transform: uppercase; }
.post-sign .to svg { width: 0.85em; height: 0.85em; flex: none; color: var(--sign); }
.post-sign .to .place { overflow-wrap: anywhere; }
.post-sign .km { font-family: var(--display); font-weight: 800; font-size: var(--step-2); color: var(--sign); white-space: nowrap; }
.post-sign .from { color: var(--ink-2); }
.route-sum { color: var(--on-sign); }
.route-note { color: var(--on-sign-2); font-size: 1rem; }
.signpost .button { justify-self: start; }
@media (min-width: 60rem) { .route { grid-template-columns: 6fr 6fr; gap: 4rem; } .signpost { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Werkwijze */
.steps { display: grid; gap: 2rem; margin-top: 2.5rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--sign); color: var(--on-sign); font-family: var(--display); font-weight: 800; font-size: var(--step-1); }
.steps h3 { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; line-height: 1.1; }
.steps p { margin-top: 0.3rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* Werkgebied */
.area-wrap { display: grid; gap: 2rem; }
.area-wrap figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1.5rem; }
.towns li { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.6rem 0.8rem; border-radius: var(--radius); background: var(--card); font-weight: 500; }
.towns li span { color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 60rem) { .area-wrap { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: center; } }

/* FAQ */
.faq-section { background: var(--surface); }
.faq-grid { display: grid; gap: 2rem; }
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--card); border-radius: var(--radius); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.75rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.25rem; height: 1.25rem; flex: none; transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.2rem; max-width: none; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }

.closing { background: var(--ink); color: var(--ground); }
.closing-grid { display: grid; gap: 2rem; align-items: end; }
.closing p { color: #c9d1de; }
.closing .hero-actions { margin-top: 0; }
@media (min-width: 60rem) { .closing-grid { grid-template-columns: 7fr 5fr; gap: 4rem; } }

/* Subpagina's */
.page-head { padding: 2.5rem 0 1rem; }
@media (min-width: 60rem) { .page-head { padding: 4rem 0 2rem; } }
.head-split { display: grid; gap: 2rem; }
.head-split figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 60rem) { .head-split { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; } }
.service { display: grid; gap: 2rem; padding: 3.5rem 0; }
.service figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.service h2 { margin-bottom: 1rem; }
.service p { max-width: none; }
.price { margin-top: 1.25rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface); }
.price strong { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; }
@media (min-width: 60rem) { .service { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 0; } .service:nth-of-type(even) figure { order: 2; } }

/* Contact */
.contact-grid { display: grid; gap: 3rem; padding-bottom: 5rem; }
.contact-direct { display: grid; gap: 1.75rem; align-content: start; }
.big-mail { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 3.5rem; font-family: var(--display); font-size: var(--step-2); font-weight: 800; text-transform: lowercase; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; overflow-wrap: anywhere; }
.big-mail svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--sign); }
.info-block h2 { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; margin-bottom: 0.4rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 600; color: var(--sign); }
.text-link svg { width: 1.1rem; height: 1.1rem; }
.form { background: var(--card); padding: 1.5rem 1.1rem; border-radius: var(--radius); }
@media (min-width: 40rem) { .form { padding: 2rem; } }
.form h2 { margin-bottom: 1.25rem; }
.field { display: grid; gap: 0.4rem; margin-top: 1.1rem; }
.field label, .field legend { font-weight: 600; }
.field .hint { color: var(--ink-2); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 3rem; padding: 0.65rem 0.85rem; border: 2px solid #98a3b5; border-radius: var(--radius); background: var(--ground); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sign); outline: none; }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .error { color: #b42318; font-weight: 600; font-size: 1rem; }
.field fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: var(--radius); background: var(--surface); font-weight: 500; cursor: pointer; }
.radio-row input { width: 1.15rem; height: 1.15rem; accent-color: var(--sign); }
.two { display: grid; gap: 0 1rem; }
@media (min-width: 40rem) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; width: 0; height: 0; overflow: hidden; clip-path: inset(50%); }
.form .button { width: 100%; margin-top: 1.5rem; }
.form-note { margin-top: 1rem; color: var(--ink-2); font-size: 1rem; }
.form-summary { margin-bottom: 1rem; padding: 1rem; border-radius: var(--radius); background: #fde4dc; color: #7a1f0a; font-weight: 600; }
.form-done { padding: 1.5rem; border-radius: var(--radius); background: var(--sign); color: var(--on-sign); }
.form-done h2 { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; }
.form-done a { color: var(--on-sign); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.strip { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.strip figcaption { margin-top: 0.6rem; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 52rem) { .strip { grid-template-columns: 4fr 3fr 3fr; align-items: start; } }

/* Voet */
.site-footer { background: var(--ink); color: var(--ground); padding: 4rem 0 2rem; }
.footer-cols { display: grid; gap: 2rem; }
.footer-cols h2 { font-family: var(--display); font-size: var(--step-1); text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-legal { margin-top: 3rem; color: #c9d1de; font-size: 1rem; line-height: 1.6; }
.footer-legal p { max-width: 64ch; }
.footer-legal a { display: inline; }
.footer-word { margin-top: 3rem; font-size: clamp(3.5rem, 19vw, 16rem); line-height: 0.9; }
.footer-word .wm b { padding: 0.06em 0.2em 0.02em; }
@media (min-width: 52rem) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }

/* Beweging */
.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; }
.post-sign { transition: transform 260ms var(--ease); }
.post-sign.is-changing { transform: translateX(6px); }
.ride figure img, .service figure img { transition: transform 600ms var(--ease); }
@media (hover: hover) { .ride figure:hover img, .service figure:hover img { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-rise] { opacity: 1; transform: none; }
  .hero-photo img { transform: none; }
}
