/* T-worx, Kessel (Nijlen). Voorbeeldsite.
   Stijl uit ui-ux-pro-max: industrieel leisteen + groen, Outfit voor titels, Work Sans voor tekst, Swiss minimal. */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/outfit-400-800.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; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/work-sans-400-600.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: #f4f5f3;
  --surface: #e3e7e4;
  --ink: #111827;
  --ink-2: #374151;
  --slate: #334155;
  --slate-2: #3f4d62;
  --on-slate: #f4f5f3;
  --on-slate-2: #cfd6de;
  --accent: #059669;
  --accent-hover: #04855d;
  --on-accent: #0b1220;
  --accent-text: #047857;
  --card: #ffffff;
  --display: 'Outfit', system-ui, sans-serif;
  --text: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 84rem;
  --gutter: 1rem;
  --header-h: 4rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --step-2: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  --step-3: clamp(2.5rem, 1.4rem + 5.2vw, 6.75rem);
  --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.6; -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-text); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.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); }
.nobr { white-space: nowrap; }

.display, .head { font-family: var(--display); font-weight: 800; text-wrap: balance; }
.display { font-size: var(--step-3); line-height: 0.98; letter-spacing: -0.035em; }
.head { font-size: var(--step-2); line-height: 1.04; letter-spacing: -0.025em; }
.title { font-family: var(--display); font-size: var(--step-1); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 36ch; }
.display + .lead { margin-top: 1.25rem; }
p + p { margin-top: 0.9em; }
main p { max-width: 54ch; }

/* Woordmerk: het streepje is een groene staaf */
.wm { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; }
.wm i { display: inline-block; width: 0.42em; height: 0.16em; margin: 0 0.06em; background: var(--accent); font-style: normal; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: 999px; 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.25rem; height: 1.25rem; flex: none; }
.button:active { transform: scale(0.98); }
.button--ink { background: var(--ink); color: var(--ground); }
.button--light { background: var(--ground); color: var(--ink); }
@media (hover: hover) { .button:hover { background: var(--accent-hover); } .button--ink:hover { background: var(--slate); } .button--light:hover { background: #ffffff; } }

/* Kop */
.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; border-radius: 999px; transition: background-color 160ms ease; }
.nav-list a[aria-current="page"] { background: var(--surface); }
@media (hover: hover) { .nav-list a:hover { background: var(--surface); } }
.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: 999px; }
.header-mail { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0 0.75rem; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 600; transition: background-color 160ms ease; }
.header-mail svg { width: 1.2rem; height: 1.2rem; }
.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(--slate); } .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-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, kerngegevens rechts, brede foto binnen de marges */
.hero { padding: 2rem 0 0; }
.hero-top { display: grid; gap: 1.5rem; }
.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.75rem; }
.facts li { display: flex; gap: 0.75rem; align-items: flex-start; }
.facts svg { width: 1.4rem; height: 1.4rem; flex: none; margin-top: 0.15rem; color: var(--accent-text); }
.hero-band { margin-top: 2rem; }
.hero-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border-radius: 1.25rem; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.photo-cap { margin-top: 0.6rem; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 48rem) { .hero-photo { aspect-ratio: 21 / 9; } }
@media (min-width: 60rem) {
  .hero { padding-top: 3.5rem; }
  .hero-top { grid-template-columns: 8fr 4fr; gap: 4rem; align-items: end; }
  .hero-actions .button { flex: 0 0 auto; }
  .hero-band { margin-top: 3rem; }
}

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

/* Vakken: lijst met eigen iconen, twee kolommen, geen kaartjes */
.trades { display: grid; gap: 2rem 3rem; margin-top: 2.5rem; }
.trade { display: grid; grid-template-columns: 4rem 1fr; gap: 1.25rem; align-items: start; }
.trade svg { width: 4rem; height: 4rem; }
.trade h3 { font-family: var(--display); font-size: var(--step-1); line-height: 1.2; }
.trade p { margin-top: 0.35rem; }
.trade a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; font-weight: 600; color: var(--accent-text); }
.trade a svg { width: 1.1rem; height: 1.1rem; transition: transform 160ms var(--ease); }
@media (hover: hover) { .trade a:hover svg { transform: translateX(3px); } }
@media (min-width: 52rem) { .trades { grid-template-columns: 1fr 1fr; } }

/* Onderhoudsplanner */
.planner-section { background: var(--surface); }
.planner { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.planner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner legend, .planner label.lbl { display: block; padding: 0; margin-bottom: 0.6rem; font-weight: 600; }
.planner .group + .group { margin-top: 1.75rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 1.1rem; border-radius: 999px; background: var(--card); font-weight: 500; transition: background-color 140ms ease, color 140ms ease; }
.pill span svg { width: 1.5rem; height: 1.5rem; }
.pill input:checked + span { background: var(--ink); color: var(--ground); }
.pill input:focus-visible + span { outline: 3px solid var(--accent-text); outline-offset: 2px; }
@media (hover: hover) { .pill input:not(:checked):hover + span { background: #ffffffb3; } }
.selects { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.selects select { width: 100%; min-height: 3rem; padding: 0 0.9rem; border: 2px solid #9aa5b1; border-radius: 0.75rem; background: var(--card); }
.selects select:focus { border-color: var(--ink); outline: none; }
.range-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.range-row output { font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; height: 2.75rem; margin: 0; accent-color: var(--accent); cursor: pointer; background: transparent; }
[data-kind="machine"] .only-road { display: none; }
.result { background: var(--slate); color: var(--on-slate); border-radius: 1.25rem; padding: 1.5rem; display: grid; gap: 1.25rem; align-content: start; }
.result-label { color: var(--on-slate-2); }
.result-date { margin: 0; font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1.05; letter-spacing: -0.02em; }
.track { position: relative; height: 0.75rem; border-radius: 999px; background: var(--slate-2); overflow: hidden; }
.track span { position: absolute; inset: 0 auto 0 0; width: 50%; border-radius: 999px; background: var(--accent); transform-origin: left; transition: width 420ms var(--ease), background-color 200ms ease; }
.track[data-state="due"] span { background: #f59e0b; }
.track-ends { display: flex; justify-content: space-between; gap: 1rem; color: var(--on-slate-2); font-size: 1rem; }
.result-text { color: var(--on-slate); }
.result .button { justify-self: start; }
.result-note { color: var(--on-slate-2); font-size: 1rem; }
@media (min-width: 60rem) { .planner { grid-template-columns: 7fr 5fr; gap: 4rem; } .result { padding: 2.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Machines: twee foto's van ongelijke grootte */
.machines { display: grid; gap: 2rem; }
.machines figure img { width: 100%; object-fit: cover; border-radius: 1.25rem; }
.machines .m-big img { aspect-ratio: 3 / 2; }
.machines .m-small img { aspect-ratio: 4 / 3; }
.machines .ticks { margin-top: 1.25rem; }
@media (min-width: 60rem) { .machines { grid-template-columns: 5fr 4fr 3fr; gap: 2.5rem; align-items: end; } }
.ticks { display: grid; gap: 0.55rem; }
.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-text); }

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

/* Foto + tekst */
.duo { display: grid; gap: 2rem; }
.duo figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; }
@media (min-width: 60rem) { .duo { grid-template-columns: 6fr 6fr; gap: 4rem; align-items: center; } .duo.flip figure { order: 2; } }
.area { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.area li { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--surface); }
.area li:first-child { background: var(--ink); color: var(--ground); }

/* FAQ */
.faq-grid { display: grid; gap: 2rem; }
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--card); border-radius: 1rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.75rem 1.25rem; 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.25rem 1.25rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 4fr 8fr; gap: 4rem; } }

/* Slot */
.closing { background: var(--slate); color: var(--on-slate); }
.closing-grid { display: grid; gap: 2rem; align-items: end; }
.closing p { color: var(--on-slate-2); }
.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: 1.25rem; }
.head-split .lead { margin-top: 1rem; }
@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: 1.25rem; }
.service h2 { margin-bottom: 1rem; }
.service .ticks { margin-top: 1.25rem; }
.price { margin-top: 1.25rem; padding: 1rem 1.25rem; background: var(--surface); border-radius: 1rem; }
.price strong { font-family: var(--display); }
@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-1); font-weight: 700; 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(--accent-text); }
.info-block h2 { font-family: var(--display); font-size: var(--step-1); margin-bottom: 0.4rem; }
.form { background: var(--card); padding: 1.5rem 1.1rem; border-radius: 1.25rem; }
@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 #9aa5b1; border-radius: 0.75rem; background: var(--ground); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field [aria-invalid="true"] { border-color: #b91c1c; }
.field .error { color: #b91c1c; 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: 999px; background: var(--surface); font-weight: 500; cursor: pointer; }
.radio-row input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent-text); }
.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: 0.75rem; background: #fee2e2; color: #7f1d1d; font-weight: 600; }
.form-done { padding: 1.5rem; border-radius: 1.25rem; background: var(--slate); color: var(--on-slate); }
.form-done h2 { font-family: var(--display); font-size: var(--step-1); }
.form-done a { color: var(--on-slate); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.gallery { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.25rem; }
.gallery figcaption { margin-top: 0.6rem; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 52rem) { .gallery { grid-template-columns: 5fr 4fr 3fr; align-items: end; } }

/* Voet: groen veld, de naam groot */
.site-footer { background: #064e3b; color: #f4f5f3; padding: 4rem 0 2rem; }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 22vw, 18rem); line-height: 0.85; letter-spacing: -0.05em; white-space: nowrap; }
.footer-word .wm i { background: var(--accent); }
.footer-cols { display: grid; gap: 2rem; }
.site-footer .footer-word { margin-top: 3rem; }
.footer-cols h2 { font-family: var(--display); font-size: var(--step-0); margin-bottom: 0.5rem; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-legal { margin-top: 3rem; font-size: 1rem; line-height: 1.6; }
.footer-legal p { max-width: 62ch; }
.footer-legal a { display: inline; }
@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; }
.hero-photo img { transform: scale(1.08) translateX(-1%); transition: transform 2600ms var(--ease); }
.hero-photo.is-in img { transform: none; }
.service figure img, .duo figure img, .machines figure img { transition: transform 600ms var(--ease); }
@media (hover: hover) { .service figure:hover img, .duo 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; }
}

/* Tekst in rechterkolommen loopt tot de marge */
.trade p, .faq details p, .duo p, .service p, .result p { max-width: none; }
.machines > div { order: -1; }
@media (min-width: 60rem) { .machines > div { order: 0; } }
