/* ==========================================================================
   Belder 9B — verhuur-landingspage
   Design: industrieel-premium. Antraciet / betongrijs / safety orange.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1c21;
  --ink-soft: #4b4f57;
  --paper: #f4f4f2;
  --paper-deep: #e9e9e5;
  --dark: #16181d;
  --dark-2: #1e2128;
  --dark-3: #262a33;
  --line-light: #d8d8d3;
  --line-dark: #343945;
  --accent: #ff7a1a;
  --accent-deep: #e05f00;
  --white: #ffffff;
  --muted-on-dark: #9aa0ab;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1200px;
  --radius: 3px;
  --shadow-lift: 0 18px 50px -18px rgba(10, 12, 16, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.04;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 650; line-height: 1.25; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container.narrow { max-width: 860px; }

section { padding-block: clamp(4.5rem, 9vw, 8rem); }
section[id] { scroll-margin-top: 64px; }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"),
    var(--dark);
  color: var(--white);
}
.section-dark + .section-dark { border-top: 1px solid var(--line-dark); }

.section-kicker {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section-sub { max-width: 46rem; color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-sub { color: var(--muted-on-dark); }
.accent-text { color: var(--accent); font-weight: 600; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  padding: .9rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #ff8d3d; box-shadow: 0 10px 30px -10px rgba(255, 122, 26, .55); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-small { padding: .55rem 1.05rem; font-size: .9rem; }

/* voetnoten */
sup.fn { font-size: .72em; line-height: 0; }
sup.fn a { color: #565b63; text-decoration: none; }
.section-dark sup.fn a, .stats sup.fn a, .hero sup.fn a, .condities sup.fn a { color: #a6acb8; }
sup.fn a:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(22, 24, 29, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}
.header-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: .9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}
.brand span { color: var(--accent); }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--white); }
@media (max-width: 820px) { .site-nav { display: none; } .header-inner { justify-content: space-between; } }
@media (max-width: 640px) {
  .header-inner > .btn { display: none; } /* sticky bottom-bar neemt de CTA-rol over */
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  animation: hero-zoom 8s cubic-bezier(.22, .6, .3, 1) forwards;
  will-change: transform;
}
@keyframes hero-zoom { to { transform: scale(1.015); } }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13, 14, 18, .92) 0%, rgba(13, 14, 18, .45) 38%, rgba(13, 14, 18, .18) 62%, rgba(13, 14, 18, .38) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(5rem, 11vh, 8rem);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: .5rem .95rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, .55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 122, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); } }
.hero h1 {
  font-size: clamp(2.55rem, 9vw, 7.5rem);
  font-weight: 820;
  letter-spacing: -.03em;
  margin: .35em 0 .18em;
  text-transform: uppercase;
}
.hero-sub {
  max-width: 44rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, .88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(12px); opacity: .25; } }

/* laad-reveals (hero) — alleen actief mét JS, zodat content nooit verborgen blijft */
html.js:not(.noanim) .reveal-load { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2, .65, .25, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll-reveals */
html.js:not(.noanim) .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .65, .25, 1), transform .8s cubic-bezier(.2, .65, .25, 1); }
html.js:not(.noanim) .reveal.in-view { opacity: 1; transform: none; }

/* ---------- stat-strip ---------- */
.stats { background: var(--dark-2); color: var(--white); padding-block: clamp(2.4rem, 4.5vw, 3.6rem); border-top: 3px solid var(--accent); }
.stats-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; border-left: 1px solid var(--line-dark); padding-left: 1.1rem; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}
.stat-letter { color: var(--accent); }
.stat-unit { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: 1rem; margin-top: .25rem; }
.stat-label { color: var(--muted-on-dark); font-size: .88rem; margin-top: .3rem; }
@media (max-width: 1080px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
}
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- intro ---------- */
.intro-copy p { font-size: 1.12rem; max-width: 46rem; }
.intro-meta {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--ink);
  border-top: 1px solid var(--line-light);
  padding-top: 1.2rem;
  margin-top: 1.6rem;
}

/* ---------- plattegrond scrollytelling ---------- */
.floorplan { padding-bottom: clamp(3rem, 6vw, 5rem); }
.fp-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: 1.5rem;
}
.fp-sticky { position: sticky; top: clamp(4.5rem, 12vh, 8rem); }
.fp-svg {
  width: 100%;
  height: auto;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.fp-disclaimer { font-size: .82rem; color: var(--ink-soft); margin-top: .7rem; }
.section-dark .fp-disclaimer { color: var(--muted-on-dark); }

.fp-steps { display: flex; flex-direction: column; gap: clamp(3rem, 18vh, 9rem); padding-block: clamp(2rem, 10vh, 5rem); }
.fp-step {
  border-left: 3px solid var(--line-light);
  padding-left: 1.4rem;
  opacity: .35;
  transition: opacity .4s ease, border-color .4s ease;
}
.fp-step.is-active { opacity: 1; border-color: var(--accent); }
.fp-step h3 { margin-bottom: .4em; }
.fp-step p { color: var(--ink-soft); margin: 0; }

/* SVG-lagen */
.fp-svg text { font-family: var(--display); }
.fp-label { text-anchor: middle; font-weight: 700; font-size: 21px; fill: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.fp-label-sub { font-size: 15px; fill: var(--ink-soft); font-weight: 500; text-transform: none; letter-spacing: 0; }
.fp-hal-vlak { fill: #eceded; opacity: 0; transition: opacity .8s ease .3s; }
.fp-hal-contour { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .6, .3, 1); }
.fp-hal .fp-label, .fp-hal .fp-label-sub, .fp-maat { opacity: 0; transition: opacity .7s ease .6s; }
.fp-maat line { stroke: var(--ink-soft); stroke-width: 1; }
.fp-maat-text { text-anchor: middle; font-size: 14px; fill: var(--ink-soft); font-weight: 550; }

.fp-kantoor-vlak { fill: #e3e5e8; opacity: 0; transition: opacity .8s ease .25s; }
.fp-kantoor-contour { fill: none; stroke: var(--ink-soft); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s cubic-bezier(.3, .6, .3, 1); }
.fp-kantoor .fp-label, .fp-kantoor .fp-label-sub { opacity: 0; transition: opacity .7s ease .55s; }
.fp-label-kantoor { font-size: 16px; }

.fp-deur { fill: var(--accent); opacity: 0; transform: scaleX(0); transform-origin: left center; transition: opacity .4s ease, transform .5s cubic-bezier(.3, .6, .3, 1); }
.fp-deuren .fp-deur:nth-child(2) { transition-delay: .15s; }
.fp-deuren .fp-deur:nth-child(3) { transition-delay: .3s; }
.fp-deur-label { font-size: 13px; fill: var(--accent-deep); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; opacity: 0; transition: opacity .6s ease .5s; }

.fp-terrein-vlak { fill: url(#) #f7f7f4; fill: #f0f0eb; stroke: var(--line-light); stroke-dasharray: 6 5; opacity: 0; transition: opacity .9s ease; }
.fp-label-terrein { font-size: 14px; fill: var(--ink-soft); letter-spacing: .14em; opacity: 0; transition: opacity .7s ease .4s; }
.fp-noord path { fill: var(--ink-soft); }
.fp-noord text { font-size: 13px; fill: var(--ink-soft); text-anchor: start; font-weight: 600; }

/* stap-activatie */
.fp-svg.s1 .fp-hal-contour { stroke-dashoffset: 0; }
.fp-svg.s1 .fp-hal-vlak, .fp-svg.s1 .fp-hal .fp-label, .fp-svg.s1 .fp-hal .fp-label-sub, .fp-svg.s1 .fp-maat { opacity: 1; }
.fp-svg.s2 .fp-kantoor-contour { stroke-dashoffset: 0; }
.fp-svg.s2 .fp-kantoor-vlak, .fp-svg.s2 .fp-kantoor .fp-label, .fp-svg.s2 .fp-kantoor .fp-label-sub { opacity: 1; }
.fp-svg.s3 .fp-deur { opacity: 1; transform: scaleX(1); }
.fp-svg.s3 .fp-deur-label { opacity: 1; }
.fp-svg.s4 .fp-terrein-vlak { opacity: 1; }
.fp-svg.s4 .fp-label-terrein { opacity: 1; }

@media (max-width: 900px) {
  .fp-layout { grid-template-columns: 1fr; }
  .fp-sticky { position: relative; top: 0; }
  .fp-steps { gap: 2rem; padding-block: 1rem; }
}

/* ---------- 3D-situatie ---------- */
.scene-wrap { margin-top: 1rem; }
.scene-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: radial-gradient(120% 120% at 50% 0%, #232732 0%, #14161b 70%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.scene-canvas:active { cursor: grabbing; }
.scene-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.scene-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted-on-dark);
  font-size: .95rem;
}
.scene-loading span {
  width: 30px; height: 30px;
  border: 3px solid var(--line-dark);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.scene-hotspot {
  position: absolute;
  transform: translate(-50%, -100%);
  background: rgba(22, 24, 29, .92);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--accent);
  color: var(--white);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .6rem;
  border-radius: 2px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity .3s ease;
}
.scene-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.1rem; }
.legend-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted-on-dark); }
.legend-swatch { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.legend-accent { background: var(--accent); }
.legend-neutral { background: #6d7480; }
.legend-terrein { background: #3a3f4a; }

/* ---------- galerij ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 1.8rem; }
.tab {
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  padding: .5rem 1.1rem;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-light);
  border-radius: 99px;
  cursor: pointer;
  transition: all .18s ease;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
}
.g-item {
  position: relative;
  margin: 0;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  cursor: zoom-in;
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}
.g-item:nth-child(1) { grid-column: span 6; }
.g-item.is-portrait { grid-row: span 3; grid-column: span 3; }
.g-item picture, .g-item img { width: 100%; height: 100%; }
.g-item img { object-fit: cover; transition: transform .45s cubic-bezier(.2, .6, .3, 1); }
.g-item:hover { box-shadow: var(--shadow-lift); z-index: 2; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.6rem .9rem .7rem;
  background: linear-gradient(to top, rgba(13, 14, 18, .78), transparent);
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s ease;
}
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; }
.g-item[data-hidden] { display: none; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; }
  .g-item, .g-item:nth-child(1), .g-item.is-portrait { grid-column: span 2; grid-row: span 1; }
  .g-item.is-portrait { grid-column: span 1; }
  .g-item figcaption { opacity: 1; }
}

/* ---------- locatie ---------- */
.loc-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.loc-text p { color: var(--muted-on-dark); }
.loc-text p.section-kicker { color: var(--accent); }
.rijtijden {
  list-style: none;
  margin: 1.8rem 0 .6rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem 1.6rem;
}
.rijtijden li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: .45rem;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: .55rem;
}
.rt-min {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.rt-unit { font-family: var(--display); color: var(--accent); font-weight: 650; font-size: .85rem; }
.rt-dest { color: var(--muted-on-dark); font-size: .92rem; text-align: right; }
.rt-bron { font-size: .82rem; color: var(--muted-on-dark); }

.loc-map { position: relative; }
.route-svg {
  width: 100%;
  height: auto;
  background: linear-gradient(160deg, var(--dark-2), var(--dark-3));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.map-note { font-size: .78rem; color: var(--muted-on-dark); margin-top: .6rem; text-align: right; }
.route-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.loc-map.in-view .route-line { transition: stroke-dashoffset 2.6s cubic-bezier(.3, .5, .3, 1) .3s; stroke-dashoffset: 0; }
.border-line { fill: none; stroke: #4a505d; stroke-width: 1.5; stroke-dasharray: 7 6; }
.map-country { font-family: var(--display); font-size: 15px; font-weight: 700; fill: #58606e; letter-spacing: .15em; }
.map-node circle { fill: #cfd4dc; }
.map-node text { font-family: var(--display); font-size: 17px; font-weight: 650; fill: #e8eaee; }
.map-node .map-sub { font-size: 12.5px; font-weight: 500; fill: var(--muted-on-dark); }
.map-node .node-ring { fill: none; stroke: rgba(207, 212, 220, .3); stroke-width: 1.5; }
.map-port circle:first-child { fill: #8f97a4; }
.map-hier circle:first-child { fill: var(--accent); }
.map-hier .node-ring { stroke: rgba(255, 122, 26, .5); animation: ring 2.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ring { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.25); opacity: 0; } }
.map-node, .map-country, .map-road { opacity: 0; transition: opacity .7s ease; }
.loc-map.in-view .map-node, .loc-map.in-view .map-country, .loc-map.in-view .map-road { opacity: 1; }
.loc-map.in-view .map-node { transition-delay: var(--nd, 1s); }
.loc-map.in-view .map-node:nth-of-type(1) { --nd: .5s; }
.loc-map.in-view .map-node:nth-of-type(2) { --nd: 1s; }
.loc-map.in-view .map-node:nth-of-type(3) { --nd: 1.25s; }
.loc-map.in-view .map-node:nth-of-type(4) { --nd: 1.5s; }
.loc-map.in-view .map-node:nth-of-type(5) { --nd: 1.9s; }
.loc-map.in-view .map-node:nth-of-type(6) { --nd: 2.3s; }
.map-road { font-family: var(--display); font-size: 12.5px; font-weight: 600; fill: #6a7280; letter-spacing: .12em; }
@media (max-width: 900px) {
  .loc-layout { grid-template-columns: 1fr; }
  .rijtijden { grid-template-columns: 1fr; }
}

/* ---------- context / in goed gezelschap ---------- */
.context-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.ctx-card {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ctx-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ctx-card h3 { color: var(--white); }
.ctx-card p { color: var(--muted-on-dark); margin: 0; font-size: .98rem; }
@media (max-width: 800px) { .context-grid { grid-template-columns: 1fr; } }

/* ---------- specificaties ---------- */
.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.2rem;
  font-size: 1rem;
}
.spec-table caption {
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--ink);
}
.spec-table th, .spec-table td { text-align: left; padding: .7rem .2rem; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink-soft); width: 38%; }
.spec-table td { font-weight: 550; }

.condities {
  position: sticky;
  top: 6rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-lift);
}
.condities h3 {
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: .7rem;
}
.condities dl { margin: 0 0 1.6rem; }
.condities dt { font-family: var(--display); font-weight: 650; font-size: .92rem; margin-top: 1rem; color: var(--white); }
.condities dd { margin: .15rem 0 0; color: var(--muted-on-dark); font-size: .95rem; }
.condities .btn { width: 100%; text-align: center; margin-top: .4rem; }
@media (max-width: 900px) { .specs-layout { grid-template-columns: 1fr; } .condities { position: relative; top: 0; } }

/* ---------- contact ---------- */
.contact-form { margin-top: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .04em;
  margin-bottom: 1.1rem;
  color: var(--muted-on-dark);
}
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .85rem .95rem;
  font: inherit;
  color: var(--white);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: .95rem; color: var(--accent); margin-top: .8rem; }
.contact-alt { color: var(--muted-on-dark); margin-top: 1.4rem; }
.contact-alt a { color: var(--white); text-decoration-color: var(--accent); text-underline-offset: 3px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- footer ---------- */
.site-footer {
  background: #101216;
  color: var(--muted-on-dark);
  padding: 3.5rem 0 2.5rem;
  font-size: .92rem;
}
.footer-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1.5rem; margin-bottom: 1.8rem; }
.footer-adres { margin: 0; }
.bronnen { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 1rem 0; margin-bottom: 1.6rem; }
.bronnen summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 650;
  color: #c8ccd4;
  letter-spacing: .03em;
}
.bronnen ol { margin: 1rem 0 .4rem; padding-left: 1.4rem; }
.bronnen li { margin-bottom: .5rem; }
.bronnen a { color: #aab0bb; text-decoration-color: var(--line-dark); text-underline-offset: 3px; word-break: break-word; }
.bronnen a:hover { color: var(--white); }
.disclaimer { max-width: 62rem; font-size: .85rem; }
.copyright { margin-top: 1.4rem; font-size: .85rem; }

/* ---------- sticky mobiele CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 1.1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(22, 24, 29, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  border-top: 1px solid var(--line-dark);
  transform: translateY(105%);
  transition: transform .35s cubic-bezier(.2, .65, .25, 1);
}
.sticky-cta.visible { transform: none; }
@media (max-width: 767px) { .sticky-cta { display: flex; } }

/* ---------- lightbox ---------- */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(10, 11, 14, .93); }
.lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .8);
}
.lb-caption {
  position: absolute;
  bottom: 3vh;
  inset-inline: 0;
  text-align: center;
  color: #c8ccd4;
  font-size: .95rem;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .18s ease;
  z-index: 2;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 122, 26, .85); }
.lb-close { top: 2.5vh; right: 2.5vw; }
.lb-prev { left: 2.5vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 2.5vw; top: 50%; transform: translateY(-50%); }

/* ---------- focus & toegankelijkheid ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-light :focus-visible { outline-color: var(--accent-deep); }

/* ---------- reduced motion / geen JS / ?noanim ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-load { opacity: 1 !important; transform: none !important; }
  .fp-svg .fp-hal-contour, .fp-svg .fp-kantoor-contour, .route-line { stroke-dashoffset: 0 !important; }
  .fp-hal-vlak, .fp-kantoor-vlak, .fp-terrein-vlak, .fp-deur, .fp-deur-label, .fp-label, .fp-label-sub, .fp-maat, .fp-label-terrein, .map-node, .map-country, .map-road { opacity: 1 !important; transform: none !important; }
  .hero-media img { animation: none; transform: scale(1.015); }
}
html:not(.js) .fp-svg rect, html:not(.js) .fp-svg text, html:not(.js) .fp-svg g,
html.noanim .fp-svg rect, html.noanim .fp-svg text, html.noanim .fp-svg g {
  opacity: 1 !important; transform: none !important;
}
html:not(.js) .fp-hal-contour, html:not(.js) .fp-kantoor-contour, html:not(.js) .route-line,
html.noanim .fp-hal-contour, html.noanim .fp-kantoor-contour, html.noanim .route-line { stroke-dashoffset: 0 !important; }
html:not(.js) .map-node, html:not(.js) .map-country, html:not(.js) .map-road, html:not(.js) .fp-step,
html.noanim .map-node, html.noanim .map-country, html.noanim .map-road, html.noanim .fp-step { opacity: 1 !important; }
html:not(.js) .scene-loading { display: none; }
html.noanim { scroll-behavior: auto; }
html.noanim .hero-media img, html:not(.js) .hero-media img { animation: none; transform: scale(1.015); }
html.noanim .status-dot, html.noanim .scroll-cue span { animation: none; }
