/* Garage P&W
   ui-ux-pro-max: Flat Design, "professional blue + urgent orange" (garage) en "natural green" (fietsenwinkel),
   letter Work Sans uit dezelfde zoektocht. Blauw draagt de auto, groen de fiets, oranje alleen de belknop. */

@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/work-sans-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #f3f5f8;
  --white: #ffffff;
  --step: #e4e9f0;
  --ink: #0b1b33;
  --ink-soft: #3d4b5f;
  --auto: #1e40af;
  --fiets: #15803d;
  --mode: var(--auto);
  --orange: #ea580c;
  --orange-hover: #f26a1f;
  --on-orange: #000000;
  --error: #b91c1c;
  --font: 'Work Sans', 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html[data-mode="fiets"] { --mode: var(--fiets); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: var(--ink); text-decoration-color: var(--mode); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--mode); }
:focus-visible { outline: 3px solid var(--auto); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.nums { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* taste-skill-ignore: screen-reader text */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* wat bij welke keuze hoort */
html:not([data-mode]) .only-auto, html:not([data-mode]) .only-fiets { display: none; }
html[data-mode="auto"] .only-fiets, html[data-mode="auto"] .only-none { display: none; }
html[data-mode="fiets"] .only-auto, html[data-mode="fiets"] .only-none { display: none; }

/* knoppen: vierkant, één vulling */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; font-family: var(--font); font-weight: 700; font-size: 18px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-call { background: var(--orange); color: var(--on-orange); }
.btn-call:hover { background: var(--orange-hover); color: var(--on-orange); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-big { min-height: 56px; padding: 0 26px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.text-link svg { width: 20px; height: 20px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* kop */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.header-bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--ink); text-decoration: none; }
.brand-mark { width: 44px; height: 32px; }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.main-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { display: flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--mode); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-head { min-height: 44px; padding: 0 16px; font-size: 16px; }
.label-long { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle:hover { background: var(--step); }
.menu-toggle svg { width: 26px; height: 26px; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .main-nav { display: block; }
html:not(.js) .header-bar { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 0 18px; }
.js .main-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--ground); padding: 8px var(--gutter) 20px; box-shadow: 0 14px 24px rgba(11, 27, 51, .14); } /* taste-skill-ignore: open menu is a real overlay */
@media (min-width: 64rem) {
  :root { --header-h: 76px; }
  .js .main-nav, .main-nav { display: block; position: static; padding: 0; box-shadow: none; margin-right: 8px; } /* taste-skill-ignore: reset of the overlay */
  .nav-list { display: flex; gap: 28px; }
  .menu-toggle { display: none; }
  .label-short { display: none; }
  .label-long { display: inline; }
}

/* eerste scherm */
.hero { padding: 16px 0 72px; }
.hero-grid { display: grid; gap: 32px; }
.hero h1 { font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
.lead { margin-top: 16px; font-size: 18px; max-width: 40ch; }
.switch { border: 0; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.switch legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.switch-option { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 12px; background: var(--white); color: var(--ink); font-weight: 700; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .12s ease; }
.switch-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch-option svg { width: 30px; height: 30px; flex: none; }
.switch-option:active { transform: translateY(1px); }
.switch-auto:has(input:checked) { background: var(--auto); color: #fff; }
.switch-fiets:has(input:checked) { background: var(--fiets); color: #fff; }
.switch-option:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.switch-option:hover { background: var(--step); }
.switch-auto:has(input:checked):hover { background: var(--auto); }
.switch-fiets:has(input:checked):hover { background: var(--fiets); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.hero-actions .btn { flex: 1 1 100%; }
.hero-address { margin-top: 16px; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-split figure { margin: 0; position: relative; overflow: hidden; }
.hero-split img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: filter .5s ease, opacity .5s ease, transform 1.2s var(--ease); }
.split-auto img { object-position: 45% 50%; }
.split-fiets img { object-position: 35% 50%; }
.hero-split figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; transition: background-color .3s ease; }
html[data-mode="auto"] .split-fiets img, html[data-mode="fiets"] .split-auto img { filter: grayscale(1); opacity: .62; }
html[data-mode="auto"] .split-auto img, html[data-mode="fiets"] .split-fiets img { transform: scale(1.03); }
html[data-mode="auto"] .split-auto figcaption { background: var(--auto); }
html[data-mode="fiets"] .split-fiets figcaption { background: var(--fiets); }
@media (min-width: 40rem) { .hero-actions .btn { flex: 0 0 auto; } }
@media (min-width: 64rem) {
  .hero { padding: 24px 0 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .lead { font-size: 22px; }
  .switch { max-width: 520px; }
  .hero-split img { aspect-ratio: auto; height: clamp(440px, calc(100vh - 160px), 720px); }
}

/* secties */
.section { padding: 72px 0; }
.section-title { font-weight: 800; font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
.section-lead { margin-top: 16px; font-size: 18px; max-width: 44ch; }
@media (min-width: 64rem) {
  .section { padding: 128px 0; }
  .section-lead { font-size: 22px; }
}

/* diensten: twee werkplaatsen */
.services-head { display: grid; gap: 0; }
@media (min-width: 64rem) { .services-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; } .services-head .section-lead { margin-top: 0; } }
.services { display: grid; gap: 16px; margin-top: 40px; }
.service-col { padding: 24px 0; transition: background-color .3s ease; }
html[data-mode="fiets"] .col-fiets { order: -1; }
.col-title { display: flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: -0.02em; }
.col-title svg { width: 44px; height: 44px; }
.col-auto .col-title svg, .col-auto .service-list svg { color: var(--auto); }
.col-fiets .col-title svg, .col-fiets .service-list svg { color: var(--fiets); }
.service-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 22px; }
.service-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
.service-list svg { width: 40px; height: 40px; }
.service-list h4 { font-size: 18px; font-weight: 700; }
.service-list p { margin-top: 2px; color: var(--ink); }
.services-more { margin-top: 28px; }
@media (min-width: 48rem) {
  .services { grid-template-columns: 1fr 1fr; gap: 24px; }
  .service-col { padding: 32px; }
  html[data-mode="fiets"] .col-fiets { order: 0; }
  html[data-mode="auto"] .col-auto, html[data-mode="fiets"] .col-fiets { background: var(--white); }
}
@media (min-width: 64rem) { .service-col { padding: 40px; } }

/* werkwijze: vlak in de kleur van de keuze */
.field-navy { background: var(--mode); color: #fff; transition: background-color .5s ease; }
.field-navy a { color: #fff; }
.work-grid { display: grid; gap: 40px; }
.work-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.work-list li { padding-left: 24px; position: relative; }
.work-list li::before { content: ''; position: absolute; left: 0; top: .4em; width: 12px; height: 12px; background: var(--orange); }
.work-list h3 { font-size: 22px; letter-spacing: -0.01em; }
.work-list p { margin-top: 4px; }
.work-pictures { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.work-pictures figure { margin: 0; }
.work-pictures img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (min-width: 64rem) {
  .work-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
  .work-list { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .work-pictures figure:last-child { margin-top: 64px; }
}

/* fietsen te koop */
.sale-grid { display: grid; gap: 36px; }
.sale-picture { margin: 0; }
.sale-picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sale-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.sale-list li { padding-left: 24px; position: relative; }
.sale-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--fiets); }
.sale-actions { margin-top: 26px; }
@media (min-width: 64rem) {
  .sale-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
}

/* vragen */
.faq-grid { display: grid; gap: 28px; }
.faq details { background: var(--white); margin-bottom: 8px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--mode); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; max-width: 60ch; }
@media (min-width: 64rem) { .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; } }

/* ligging */
.place-grid { display: grid; gap: 36px; }
.place-sub { margin-top: 14px; font-size: 18px; }
.place-sub b { font-size: 22px; }
.hours { margin-top: 24px; border-collapse: separate; border-spacing: 0 4px; width: 100%; max-width: 460px; }
.hours th, .hours td { padding: 12px 16px; background: var(--white); text-align: left; }
.hours th { font-weight: 700; }
.hours td { text-align: right; }
.place-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.place-picture { margin: 0; }
.place-picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: 10px; font-size: 16px; color: var(--ink-soft); }
@media (min-width: 64rem) { .place-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; } }

/* afspraakpagina */
.page-hero { padding: 16px 0 48px; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.75rem); line-height: 1; letter-spacing: -0.035em; }
.page-hero .lead { max-width: 46ch; }
.page-hero .hero-actions { margin-top: 22px; }
.contact-grid { display: grid; gap: 40px; padding-bottom: 96px; }
.form { background: var(--white); padding: 24px 18px; }
.form-title { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 18px; }
.two { display: grid; gap: 0 16px; }
.field { margin: 0 0 16px; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.req { font-weight: 400; color: var(--ink-soft); }
.hint { font-size: 16px; color: var(--ink-soft); margin: -2px 0 8px; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #8b97a8; border-radius: 0; background: #fff; color: var(--ink); font: inherit; font-size: 18px; }
textarea.input { min-height: 132px; resize: vertical; }
.input:focus { outline: 3px solid var(--mode); outline-offset: 1px; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-size: 16px; font-weight: 700; margin-top: 4px; }
.error:empty { display: none; }
.hp { display: none; }
fieldset.field { border: 0; padding: 0; }
.form .switch { margin-top: 0; }
.switch > .switch-option { display: flex; margin: 0; }
.form .switch-option:not(:has(input:checked)) { background: var(--ground); }
.switch > legend { grid-column: 1 / -1; }
.btn-submit { width: 100%; min-height: 56px; margin-top: 4px; }
.form-alt { margin-top: 14px; }
.form-status { margin-top: 18px; padding: 16px; background: var(--ground); }
.form-status-title { font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.contact-side { display: grid; gap: 28px; align-content: start; }
.contact-side h2 { font-size: 28px; letter-spacing: -0.02em; }
.contact-list { margin: 14px 0 0; display: grid; gap: 12px; }
.contact-list dt { font-weight: 700; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list dd a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-pictures { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-pictures figure { margin: 0; }
.contact-pictures img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 40rem) { .two { grid-template-columns: 1fr 1fr; } .form { padding: 32px; } }
@media (min-width: 64rem) {
  .page-hero { padding: 32px 0 64px; }
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-bottom: 128px; }
}

/* voet */
.site-footer { background: var(--ink); color: #dfe5ee; padding: 88px 0 40px; font-size: 16px; }
.site-footer a { color: #fff; text-decoration-color: #fff; }
.footer-name { font-weight: 800; font-size: clamp(6rem, 30vw, 24rem); line-height: .8; letter-spacing: -0.06em; color: #1c3354; margin: 0 0 44px; }
.footer-grid { display: grid; gap: 24px; }
.footer-grid p + p { margin-top: 12px; }
.footer-credits { color: #c3ccd9; }
@media (min-width: 64rem) {
  .site-footer { padding: 104px 0 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1.4fr; gap: 48px; }
}

/* beweging */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js [data-load] { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0ms); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-load] { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .switch-option, .hero-split img, .field-navy, .service-col, .text-link svg, .faq summary svg { transition: none; }
}
