/* Wonders Metaal, demo-homepage
   Thema: donker staal. Eén accent (merkblauw uit het logo), oranje alleen voor de snijvonk.
   Hoeken: overal scherp (0). */

@font-face { font-family: "Rokkitt"; src: url("../assets/fonts/rokkitt.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../assets/fonts/ibm-plex-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0d1215;
  --bg-2: #11191d;
  --bg-3: #172127;
  --line: rgba(190, 215, 228, .14);
  --line-2: rgba(190, 215, 228, .28);
  --text: #e8eef1;
  --muted: #a6b5bd;
  --dim: #8496a0;
  --blue: #0099ff;
  --blue-2: #5cbcff;
  --ink: #04121c;
  --spark: #ff7a1a;
  --err: #ff8a80;

  --f-display: "Rokkitt", "Rockwell", Georgia, serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 44px);
  --max: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* z-index schaal */
  --z-nav: 40;
  --z-callbar: 45;
  --z-toast: 60;
  --z-intro: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a, button, label, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
.sprite { display: none; }
::selection { background: rgba(0, 153, 255, .38); color: #fff; }
html { scrollbar-color: #33434c var(--bg); }
input, textarea { caret-color: var(--blue-2); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 44px; height: 44px; }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font: 600 .8125rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.h2 { font: 700 clamp(2.25rem, 3.9vw, 3.7rem)/1.02 var(--f-display); letter-spacing: -.01em; word-spacing: -.04em; text-wrap: balance; }
.h3 { font: 700 clamp(1.55rem, 2.2vw, 2rem)/1.1 var(--f-display); letter-spacing: -.005em; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 56ch; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font: 600 1rem/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .12s ease-out;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--blue { background: var(--blue); color: var(--ink); }
.btn--blue:hover { background: var(--blue-2); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(13, 18, 21, .35); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--ghost:hover .ic { transform: none; }

.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(92, 188, 255, .4); padding-bottom: 3px; }
.textlink:hover { border-color: var(--blue-2); }
.textlink:hover .ic { transform: translateX(3px); }
.textlink .ic { transition: transform .25s var(--ease); }

/* ---------- Intro ---------- */
.intro { display: none; }
.is-intro { overflow: hidden; }
.is-intro .intro {
  position: fixed; inset: 0; z-index: var(--z-intro);
  display: grid; place-items: center;
  animation: intro-failsafe .01s linear 5s forwards;
}
@keyframes intro-failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.intro__plate {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, #121a1f, #0a0f12);
}
.intro__mark { position: relative; width: min(300px, 58vw); overflow: visible; }
.intro__fill path { fill: var(--blue); opacity: 0; }
.intro__cut path { fill: none; stroke: var(--spark); stroke-width: .7; stroke-linecap: round; }
.intro__spark { fill: #ffe0c2; opacity: 0; }

/* ---------- Navigatie ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); transition: background-color .3s ease, border-color .3s ease, transform .35s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(13, 18, 21, .82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo img { width: 198px; height: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--muted); padding: 8px 0; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.nav__tel .ic { color: var(--blue-2); }
.nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-2); cursor: pointer; }
.nav__burger .ic { width: 22px; height: 22px; }
.menu { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 700 1.95rem/1.15 var(--f-display); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__tel { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; font-size: 1.125rem; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 720px) {
  .nav__tel, .nav__actions .btn { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__logo img { width: 172px; }
}
@media (min-width: 721px) and (max-width: 1080px) {
  .nav__burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--bg); }
.hero__media {
  --ct: calc(var(--nav-h) + 28px); --cb: 104px; --cl: 53%; --cr: 0px;
  position: absolute; inset: 0;
  clip-path: inset(var(--ct) var(--cr) var(--cb) var(--cl));
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform-origin: 70% 50%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 14, .78), rgba(8, 12, 14, .25) 70%), linear-gradient(0deg, rgba(8, 12, 14, .6), transparent 60%); opacity: .3; }
.hero__cutline {
  position: absolute; top: var(--ct); bottom: var(--cb); left: var(--cl); width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, transparent, var(--spark) 12%, #ffd0a0 50%, var(--spark) 88%, transparent);
  box-shadow: 0 0 14px 2px rgba(255, 122, 26, .55);
  opacity: 0; pointer-events: none;
}
.hero__statement {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12vh; max-width: 16ch;
  font: 700 clamp(2.7rem, 5.6vw, 5.2rem)/1 var(--f-display); letter-spacing: -.012em; word-spacing: -.05em;
  margin: 0 auto; text-align: left; opacity: 0; transform: translateY(40px);
}
@media (min-width: 900px) { .hero__statement { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); right: auto; } }

.hero__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; }
.hero__copy { width: min(48%, 640px); padding-top: calc(var(--nav-h) + 8px); }
.hero__title { font: 700 clamp(2.9rem, 5.2vw, 5.1rem)/.98 var(--f-display); letter-spacing: -.012em; word-spacing: -.05em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { font-size: 1.1875rem; line-height: 1.55; color: var(--muted); max-width: 44ch; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dim { position: absolute; left: 53%; right: 0; bottom: 34px; padding-right: var(--gutter); color: var(--dim); }
.dim__line { display: flex; align-items: center; gap: 12px; font: 500 .8125rem/1 var(--f-mono); color: var(--muted); }
.dim__line i { flex: 1; height: 1px; background: var(--line-2); position: relative; }
.dim__line i:first-child::before, .dim__line i:last-child::after { content: ""; position: absolute; top: -6px; width: 1px; height: 13px; background: var(--line-2); }
.dim__line i:first-child::before { left: 0; }
.dim__line i:last-child::after { right: 0; }
.hero__dim figcaption { font-size: .8125rem; margin-top: 8px; text-align: center; }

.js .hero__title .line > span { transform: translateY(105%); animation: hero-failsafe .01s linear 3.5s forwards; }
.js .hero__sub, .js .hero__ctas { opacity: 0; animation: hero-failsafe-o .01s linear 3.5s forwards; }
@keyframes hero-failsafe { to { transform: none; } }
@keyframes hero-failsafe-o { to { opacity: 1; } }

@media (max-width: 899px) {
  .hero { min-height: 0; }
  .hero__inner { min-height: 0; display: block; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 28px; }
  .hero__copy { width: auto; padding-top: 0; }
  .hero__title { font-size: clamp(2.8rem, 12.4vw, 4rem); }
  .hero__sub { font-size: 1.0625rem; margin-bottom: 26px; }
  .hero__media { position: relative; order: 2; clip-path: none; aspect-ratio: 4 / 3; margin: 0 var(--gutter); }
  .hero { display: flex; flex-direction: column; padding-bottom: 20px; }
  .hero__statement, .hero__cutline { display: none; }
  .hero__dim { position: static; order: 3; padding: 14px var(--gutter) 0; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- Routes ---------- */
.routes { padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 120px); }
.routes__title { margin-bottom: 40px; max-width: 18ch; }
.routes__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 16px; }
.route { position: relative; display: flex; flex-direction: column; text-decoration: none; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s var(--ease); }
.route:hover { border-color: var(--line-2); }
.route--big { grid-column: 1 / 8; grid-row: 1 / 3; }
.route--side { grid-column: 8 / 13; grid-row: 1; }
.route--job { grid-column: 8 / 13; grid-row: 2; justify-content: flex-end; min-height: 220px;
  background:
    repeating-linear-gradient(135deg, rgba(0, 153, 255, .14) 0 1px, transparent 1px 12px),
    linear-gradient(160deg, #0f2432, #0d171d 70%);
  border-color: rgba(0, 153, 255, .3);
}
.route__img { overflow: hidden; flex: 1; min-height: 220px; }
.route--big .route__img { min-height: 360px; }
.route__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.route:hover .route__img img { transform: scale(1.04); }
.route__body { padding: 26px 28px 28px; }
.route__body h3 { font: 700 1.7rem/1.1 var(--f-display); margin-bottom: 8px; }
.route--big .route__body h3 { font-size: clamp(1.8rem, 2.7vw, 2.35rem); }
.route__body p { color: var(--muted); max-width: 52ch; margin-bottom: 18px; }
.route__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue-2); }
.route__go .ic { transition: transform .3s var(--ease); }
.route:hover .route__go .ic { transform: translateX(4px); }
@media (max-width: 899px) {
  .routes__grid { grid-template-columns: 1fr; }
  .route--big, .route--side, .route--job { grid-column: auto; grid-row: auto; }
  .route--big .route__img, .route__img { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .route--job { min-height: 0; }
}

/* ---------- Werkwijze (pin) ---------- */
.flow { position: relative; background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.flow__pin { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--nav-h) + 24px) 0 40px; }
.flow__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.flow__text .h2 { margin-bottom: 36px; max-width: 14ch; }
.flow__steps { display: grid; gap: 22px; position: relative; }
.flow__step { padding-left: 24px; border-left: 1px solid var(--line-2); transition: opacity .4s var(--ease), border-color .4s var(--ease); }
.flow__step h3 { font: 700 1.7rem/1.15 var(--f-display); margin-bottom: 6px; }
.flow__step p { color: var(--muted); max-width: 48ch; }
.js .flow--live .flow__step { opacity: .34; }
.js .flow--live .flow__step.is-active { opacity: 1; border-left-color: var(--blue); }
.flow__ticks { display: none; }
.flow__draw { position: relative; }
.stair { width: 100%; height: auto; max-height: 76vh; overflow: visible; display: block; }
.stair .wire { fill: none; stroke: var(--blue-2); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.stair .face { stroke: rgba(12, 18, 22, .9); stroke-width: .8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.stair .rail { fill: none; stroke: #c9d4da; stroke-linecap: round; stroke-linejoin: round; }
.stair .ground-line { stroke: var(--line-2); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.stair .lbl { font: 500 12px var(--f-mono); fill: var(--muted); }
.stair .lbl-line { stroke: var(--dim); stroke-width: 1; fill: none; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.stair .spark { fill: #ffe0c2; }
.stair .spark-glow { fill: var(--spark); opacity: .5; }
.stair .anchor { fill: none; stroke: var(--blue-2); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.stair .done { font: 600 13px var(--f-body); fill: var(--text); }

@media (max-width: 899px) {
  .flow__pin { align-items: flex-start; padding-top: calc(var(--nav-h) + 20px); }
  .flow__grid { grid-template-columns: 1fr; gap: 12px; }
  .flow__text .h2 { font-size: 2.05rem; margin-bottom: 16px; max-width: none; }
  .js .flow--live .flow__steps { display: block; position: relative; min-height: 172px; }
  .js .flow--live .flow__step { position: absolute; inset: 0 0 auto 0; opacity: 0; }
  .js .flow--live .flow__step.is-active { opacity: 1; }
  .flow__step p { font-size: .98rem; }
  .stair { max-height: 46vh; margin: 0 auto; }
}

/* ---------- Snijwerk ---------- */
.cut { padding: clamp(80px, 10vw, 150px) 0; }
.cut__head { max-width: 760px; margin-bottom: 56px; }
.cut__head .h2 { margin-bottom: 18px; }
.cut__chart { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(24px, 4vw, 64px); align-items: end; padding: 40px 0 48px; border-top: 1px solid var(--line); }
.cut__plate { align-self: start; padding-top: 8px; }
.plate { position: relative; display: block; width: 100%; max-width: 240px; aspect-ratio: 2 / 1; margin: 26px 0 12px; border: 1.5px solid var(--line-2);
  background: repeating-linear-gradient(135deg, rgba(190, 215, 228, .1) 0 1px, transparent 1px 9px); }
.plate__w, .plate__h { position: absolute; font: 500 .8125rem/1 var(--f-mono); color: var(--muted); }
.plate__w { left: 0; right: 0; top: -24px; text-align: center; }
.plate__w::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--line-2) 0 36%, transparent 36% 64%, var(--line-2) 64%); }
.plate__h { right: -52px; top: 50%; transform: translateY(-50%); }
.cut__plate small { display: block; color: var(--dim); font-size: .8125rem; }

.cut__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2.4vw, 32px); align-items: start; }
.cut__bars li { display: grid; grid-template-rows: 338px auto auto auto; cursor: default; }
.cut__bars .bar { align-self: end; }
.bar { position: relative; height: calc(var(--t) / 200 * 320px); min-height: 8px; margin-bottom: 18px; transform-origin: 50% 100%;
  border: 1.5px solid var(--line-2);
  background: repeating-linear-gradient(135deg, rgba(190, 215, 228, .26) 0 1.2px, transparent 1.2px 9px), var(--bg-3);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.bar span { position: absolute; left: -1.5px; right: -1.5px; top: -1.5px; height: 3px; background: var(--blue); }
.cut__bars li:hover .bar, .cut__bars li:focus-within .bar { border-color: var(--blue); background-color: #10263a; }
.cut__bars strong { font: 700 clamp(1.8rem, 2.9vw, 2.7rem)/1 var(--f-display); letter-spacing: -.01em; margin-bottom: 8px; }
.cut__bars h3 { font: 600 1rem/1.3 var(--f-body); margin-bottom: 4px; }
.cut__bars p { font-size: .875rem; color: var(--muted); line-height: 1.45; }

@media (max-width: 899px) {
  .cut__chart { grid-template-columns: 1fr; align-items: start; gap: 28px; padding-top: 28px; }
  .cut__bars { grid-template-columns: 1fr; gap: 22px; }
  .cut__bars li { display: grid; grid-template-rows: auto; grid-template-columns: 1fr auto; grid-template-areas: "bar bar" "name mm" "mat mat"; column-gap: 12px; }
  .cut__bars .bar { grid-area: bar; align-self: start; height: 22px; width: calc(var(--t) / 200 * 100%); min-width: 10px; margin-bottom: 10px; transform-origin: 0 50%; }
  .bar span { top: -1.5px; bottom: -1.5px; left: auto; right: -1.5px; width: 3px; height: auto; }
  .cut__bars strong { grid-area: mm; font-size: 1.5rem; margin: 0; }
  .cut__bars h3 { grid-area: name; font-size: 1.0625rem; margin: 0; align-self: center; }
  .cut__bars p { grid-area: mat; }
}

.tube { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
.tube__img { overflow: hidden; border: 1px solid var(--line); }
.tube__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tube__body .h3 { margin-bottom: 14px; }
.tube__body > p { color: var(--muted); margin-bottom: 26px; max-width: 46ch; }
.tube__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 28px; }
.tube__specs div { background: var(--bg); padding: 16px 18px; }
.tube__specs dt { font-size: .8125rem; color: var(--dim); margin-bottom: 4px; }
.tube__specs dd { font: 700 1.7rem/1.05 var(--f-display); }
@media (max-width: 899px) {
  .tube { grid-template-columns: 1fr; }
}

/* ---------- Projecten ---------- */
.work { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.work .h2 { margin-bottom: 44px; max-width: 16ch; }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px 20px; }
.proj__img { overflow: hidden; background: var(--bg-2); }
.proj__img img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.proj figcaption { padding-top: 14px; }
.proj h3 { font: 700 1.4rem/1.2 var(--f-display); margin-bottom: 4px; }
.proj figcaption p { color: var(--muted); font-size: .9375rem; max-width: 46ch; }
.proj--zwerm { grid-column: 1 / 9; }
.proj--zwerm .proj__img { aspect-ratio: 16 / 9; }
.proj--herperduin { grid-column: 9 / 13; grid-row: 1 / 3; display: flex; flex-direction: column; }
.proj--herperduin .proj__img { flex: 1; min-height: 420px; }
.proj--dalfsen { grid-column: 1 / 5; }
.proj--td { grid-column: 5 / 9; }
.proj--dalfsen .proj__img, .proj--td .proj__img { aspect-ratio: 4 / 3; }
.proj--baronie { grid-column: 1 / 7; }
.proj--baronie .proj__img { aspect-ratio: 16 / 10; }
.proj--more { grid-column: 7 / 13; align-self: center; padding: 32px; border: 1px solid var(--line); background: var(--bg-2); }
.proj--more p { font: 400 1.45rem/1.4 var(--f-display); margin-bottom: 22px; }
@media (max-width: 899px) {
  .work__grid { grid-template-columns: 1fr; gap: 30px; }
  .proj--zwerm, .proj--herperduin, .proj--dalfsen, .proj--td, .proj--baronie, .proj--more { grid-column: auto; grid-row: auto; }
  .proj--herperduin .proj__img { min-height: 0; aspect-ratio: 4 / 5; flex: none; }
  .proj--more { padding: 24px; }
  .proj--more p { font-size: 1.25rem; }
}

/* ---------- Over ons ---------- */
.about { position: relative; padding-bottom: clamp(72px, 9vw, 130px); }
.about__media { position: relative; height: clamp(320px, 62vh, 640px); overflow: hidden; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 18, 21, .5), rgba(13, 18, 21, .1) 30%, rgba(13, 18, 21, .55) 70%, var(--bg)); }
.about__inner { position: relative; margin-top: -120px; display: grid; grid-template-columns: 6fr 6fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.about__copy .h2 { margin-bottom: 18px; max-width: 15ch; }
.about__copy p { color: var(--muted); max-width: 52ch; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about__stats div { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.about__stats dd { font: 700 clamp(2.7rem, 5.2vw, 4.5rem)/1 var(--f-display); letter-spacing: -.015em; font-variant-numeric: tabular-nums; }
.about__stats dt { color: var(--muted); font-size: .9375rem; margin-top: 8px; }
@media (max-width: 899px) {
  .about__inner { grid-template-columns: 1fr; margin-top: -60px; }
}

/* ---------- Werken bij ---------- */
.jobs { padding: clamp(72px, 9vw, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jobs__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.jobs__intro .h2 { margin-bottom: 18px; }
.jobs__intro > p { color: var(--muted); margin-bottom: 28px; max-width: 46ch; }
.jobs__photo { max-width: 420px; }
.jobs__photo img { width: 100%; border: 1px solid var(--line); }
.jobs__photo figcaption { font-size: .875rem; color: var(--dim); margin-top: 10px; }
.jobs__list ul { border-top: 1px solid var(--line-2); }
.jobs__list li a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 12px; border-bottom: 1px solid var(--line-2); text-decoration: none; transition: background-color .25s; }
.jobs__list li a > span { transition: transform .35s var(--ease); }
.jobs__list li a:hover { background: rgba(0, 153, 255, .06); }
.jobs__list li a:hover > span { transform: translateX(8px); }
.jobs__list strong { display: block; font: 700 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--f-display); }
.jobs__list small { display: block; color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.jobs__list .ic { width: 26px; height: 26px; color: var(--blue-2); transition: transform .3s var(--ease); }
.jobs__list li a:hover .ic { transform: translate(3px, -3px); }
.jobs__coffee { margin-top: 26px; color: var(--muted); }
.jobs__coffee a { color: var(--text); font-weight: 600; }
@media (max-width: 899px) {
  .jobs__grid { grid-template-columns: 1fr; }
  .jobs__photo { display: none; }
}

/* ---------- Aanvraag ---------- */
.ask { padding: clamp(80px, 10vw, 150px) 0; }
.ask__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ask__intro .h2 { margin-bottom: 18px; }
.ask__intro p { color: var(--muted); max-width: 40ch; }
.ask__intro a { color: var(--text); font-weight: 600; }
.wizard { background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 3.4vw, 40px); position: relative; }
.wizard__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.wizard__count { font-size: .875rem; line-height: 1; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wizard__count b { color: var(--text); font-weight: 600; }
.wizard__track { flex: 1; height: 2px; background: var(--line); position: relative; }
.wizard__track i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(.25); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.wstep { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.wstep.is-active { display: block; }
.wstep legend { font: 700 clamp(1.6rem, 2.5vw, 2rem)/1.15 var(--f-display); margin-bottom: 20px; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; flex-direction: column; gap: 4px; min-height: 64px; justify-content: center; padding: 16px 18px 16px 46px; border: 1px solid var(--line-2); background: var(--bg); transition: border-color .2s, background-color .2s; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--dim); border-radius: 50%; transition: border-color .2s, box-shadow .2s; }
.choice strong { font-weight: 600; line-height: 1.3; }
.choice small { color: var(--muted); font-size: .875rem; line-height: 1.35; }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--blue); background: #0e2233; }
.choice input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--blue); }
.choice input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.choice:active span { transform: scale(.99); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; padding: 13px 14px; min-height: 50px; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.field__err { display: none; color: var(--err); font-size: .875rem; }
.field.has-err input { border-color: var(--err); }
.field.has-err .field__err { display: block; }
.upload { display: flex !important; align-items: center; gap: 12px; padding: 16px; border: 1px dashed var(--line-2); cursor: pointer; font-weight: 500 !important; transition: border-color .2s; }
.upload:hover { border-color: var(--blue); }
.upload .ic { color: var(--blue-2); width: 22px; height: 22px; }
.upload em { font-style: normal; color: var(--muted); }
#f-file:focus-visible + .upload { outline: 2px solid var(--blue-2); outline-offset: 2px; border-color: var(--blue); }
.upload__name { font-size: .875rem; color: var(--muted); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.wizard__nav .wizard__next { margin-left: auto; }
.wizard__hint { min-height: 1.4em; margin-top: 10px; font-size: .875rem; color: var(--err); }
.wizard__done { text-align: left; padding: 8px 0; }
.wizard__done .ic { color: var(--blue); margin-bottom: 14px; }
.wizard__done h3 { font: 700 1.8rem/1.15 var(--f-display); margin-bottom: 10px; }
.wizard__done p { color: var(--muted); max-width: 54ch; }
.wizard__done a { color: var(--text); font-weight: 600; }
.wizard.is-done .wizard__top, .wizard.is-done .wizard__nav, .wizard.is-done .wizard__hint { display: none; }
@media (max-width: 899px) {
  .ask__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .choices, .fields { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.foot__brand img { width: 238px; margin-bottom: 12px; }
.foot__brand p { color: var(--muted); font-size: .9375rem; }
.foot__h { font: 600 .8125rem/1.2 var(--f-body); color: var(--dim); margin-bottom: 14px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col a { display: inline-flex; align-items: flex-start; gap: 10px; text-decoration: none; color: var(--text); }
.foot__col a .ic { margin-top: .25em; color: var(--blue-2); }
.foot__col a:hover { color: var(--blue-2); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: .875rem; }
.foot__bottom a { color: var(--muted); }
@media (max-width: 899px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
}

/* ---------- Vaste belbalk (mobiel) ---------- */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 18, 21, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .callbar.is-on { transform: none; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; }
  .callbar__tel { border: 1px solid var(--line-2); }
  .callbar__ask { background: var(--blue); color: var(--ink); }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: var(--z-toast); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--ink); padding: 12px 18px; font-weight: 600; font-size: .9375rem; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 720px) { .toast { bottom: 92px; } html { scroll-padding-bottom: 84px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .js .hero__sub, .js .hero__ctas { opacity: 1; }
  .proj__img img { height: 100%; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-scrolled, .callbar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
