/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 42ch;
}

.section-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.hr {
  border: none;
  border-top: 1px solid var(--border);
}

.eyebrow-off { display: none; } /* intentionally unused: eyebrows are refused by design system */

/* Alternating raised bands to separate sections without cards or eyebrows */
.band { background: var(--bg-raised); }
.band-line-top { border-top: 1px solid var(--border); }
.band-line-bottom { border-bottom: 1px solid var(--border); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 3rem;
  padding-inline: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-active); }

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-whatsapp {
  background: #1f2a24;
  border-color: rgba(111, 191, 139, 0.35);
  color: #bfe8cd;
}
.btn-whatsapp:hover { background: #24352c; border-color: rgba(111, 191, 139, 0.6); }

.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-light);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out);
}
.link-arrow:hover { border-color: var(--accent-light); gap: 0.6rem; }
.link-arrow svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out),
              backdrop-filter var(--dur-slow) var(--ease-out);
}

.navbar.is-scrolled {
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo .mark {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease-out);
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-current { color: var(--accent-light); }
.mobile-menu-links a.is-current { color: var(--accent-light); }

.nav-right { display: flex; align-items: center; gap: 1.1rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.lang-switch button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.lang-switch button.is-active { background: var(--accent-dim); color: var(--accent-light); }
.lang-switch button:hover:not(.is-active) { color: var(--text-muted); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 55;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem var(--edge) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 1.3rem; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 1rem);
  overflow: hidden;
}

/* Homepage hero has no photo: same flat near-black ground as the rest of
   the page (Werkgebied included), so the whole first screen reads as one
   solid dark surface instead of a photo banner. */
.hero-home {
  background: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(10,11,13,0.97) 0%, rgba(10,11,13,0.72) 32%, rgba(10,11,13,0.32) 62%, rgba(10,11,13,0.55) 100%),
    linear-gradient(90deg, rgba(10,11,13,0.55) 0%, rgba(10,11,13,0.05) 45%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(0deg, transparent 0%, rgba(0,0,0,0.9) 40%, transparent 85%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.hero-title {
  font-size: clamp(2.75rem, 6.6vw, 5rem);
  font-weight: 800;
  max-width: 16ch;
  color: #fff;
}

.hero-subtitle {
  margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(243,244,242,0.82);
  max-width: 42ch;
  font-weight: 400;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Homepage hero only: vertically centered (no bottom-anchored content below
   it any more), with a 3D model split to the right at wider viewports. */
.hero-home {
  align-items: center;
}
.hero-home .hero-content {
  padding-bottom: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }
}

.hero-3d {
  display: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-inline: auto;
  /* gentle up/down levitation, driven by main.js */
  animation: hero-float 6.5s ease-in-out infinite;
}
@media (min-width: 900px) {
  .hero-3d { display: block; }
}
.hero-3d model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  --progress-bar-height: 0px;
  background-color: transparent;
  /* Purely decorative and self-animating: no drag-to-orbit, no click target. */
  pointer-events: none;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-3d { animation: none; }
}

/* Compact banner reused on inner pages (Diensten/Projecten/Offerte) instead of
   the full-viewport homepage hero: same visual language, a fraction of the height. */
.hero.page-header {
  min-height: 46vh;
}
.hero.page-header .hero-title {
  font-size: clamp(2.25rem, 4.4vw, 3.4rem);
  max-width: 20ch;
}
.hero.page-header .hero-subtitle {
  max-width: 46ch;
}

/* 404: reuses the same left-aligned page-header language as the other
   inner pages, for one consistent visual system across the site. */
.notfound-code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-media img {
  transform: scale(1.06);
}
.service-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,0) 40%, rgba(10,11,13,0.75) 100%);
}

.service-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  background: rgba(10,11,13,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.service-icon svg { width: 1.25rem; height: 1.25rem; }
.service-card:hover .service-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.service-body {
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.service-body h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.service-body p { font-size: 0.93rem; color: var(--text-muted); flex: 1; }

.service-more {
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--accent-light);
  align-self: flex-start;
  transition: gap var(--dur) var(--ease-out);
}
.service-more:hover { gap: 0.6rem; }
.service-more svg { width: 1em; height: 1em; }

/* ==========================================================================
   Why us (checklist, no cards)
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
}

.why-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
}
.why-media img { width: 100%; height: 100%; object-fit: cover; }

.why-list {
  display: flex;
  flex-direction: column;
}
.why-item {
  display: flex;
  gap: 1rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--border);
}
.why-item:last-child { border-bottom: 1px solid var(--border); }
.why-item .check {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}
.why-item .check svg { width: 0.95rem; height: 0.95rem; }
.why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.why-item p { font-size: 0.92rem; color: var(--text-muted); }

/* ==========================================================================
   Projects gallery + lightbox
   ========================================================================== */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.filter-btn {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  transition: all var(--dur) var(--ease-out);
}
.filter-btn:hover { border-color: var(--border-strong); color: var(--text); }
.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  cursor: pointer;
}
.gallery-item:nth-child(5n+1) { aspect-ratio: 4/5; grid-row: span 2; }
@media (max-width: 639px) { .gallery-item:nth-child(5n+1) { aspect-ratio: 1/1; grid-row: auto; } }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .tag {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  background: rgba(10,11,13,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

.gallery-item[hidden] { display: none; }

/* Voor/Na (before/after) pair: one grid cell, two photos side by side. */
.gallery-item.gallery-item--pair {
  /* compound selector so this reliably outranks .gallery-item:nth-child(5n+1),
     which has the same specificity as a bare ".gallery-item--pair" would */
  grid-column: span 2;
  grid-row: auto;
  aspect-ratio: 2 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
@media (max-width: 479px) {
  .gallery-item.gallery-item--pair { grid-column: span 1; aspect-ratio: 1 / 1.05; grid-template-columns: 1fr; }
}
.pair-half {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.pair-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.gallery-item--pair:hover .pair-half img { transform: scale(1.06); }
.pair-label {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  background: rgba(10,11,13,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: var(--text);
}
.pair-label--after { color: var(--accent-light); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6,7,8,0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
  padding: 4rem 1.5rem;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  transform: scale(0.96);
  transition: transform var(--dur) var(--ease-out);
}
.lightbox.is-open .lightbox-figure { transform: scale(1); }
.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  margin-inline: auto;
  border: 1px solid var(--border-strong);
}
.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.lightbox-pair {
  display: none;
  gap: 1.25rem;
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  transform: scale(0.96);
  transition: transform var(--dur) var(--ease-out);
}
.lightbox.is-open .lightbox-pair { transform: scale(1); }
.lightbox-pair.is-active { display: flex; }
.lightbox-pair figure { flex: 1; min-width: 0; }
.lightbox-pair img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border: 1px solid var(--border-strong);
  background: var(--bg-raised);
}
.lightbox-pair figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lightbox-pair figure:last-child figcaption { color: var(--accent-light); }
@media (max-width: 700px) {
  .lightbox-pair { flex-direction: column; overflow-y: auto; max-height: 84vh; }
  .lightbox-pair img { max-height: 36vh; }
}
.lightbox-close, .lightbox-nav {
  position: fixed;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(10,11,13,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); }
.lightbox-close:active, .lightbox-nav:active { transform: scale(0.94); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav svg, .lightbox-close svg { width: 1.3rem; height: 1.3rem; }

/* ==========================================================================
   Process
   ========================================================================== */

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 900px) {
  .process-list { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  padding: 1.6rem 1.7rem 1.6rem 0;
  border-top: 1px solid var(--border);
  position: relative;
}
@media (min-width: 900px) {
  .process-step { border-top: none; border-left: 1px solid var(--border); padding: 0 1.7rem; }
  .process-step:first-child { padding-left: 0; }
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.process-step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.92rem; color: var(--text-muted); }

/* ==========================================================================
   About
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: center; }
}

.about-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(10,11,13,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.about-body h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 1.1rem; }
.about-body p { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 1.2rem; }
.about-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text); }
.about-role { color: var(--accent-light); font-size: 0.92rem; font-weight: 600; margin-bottom: 1.4rem; }

/* Two independent zzp'ers sharing one trade name: one card per person. */
.about-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1.6rem;
}
.about-team-member { background: var(--bg); padding: 1.1rem 1.2rem; }
.about-team-member .about-name { font-size: 1.05rem; margin-bottom: 0.6rem; }
.about-team-facts { display: flex; flex-direction: column; gap: 0.3rem; }
.about-team-facts div { display: flex; gap: 0.4rem; font-size: 0.85rem; }
.about-team-facts dt { color: var(--text-faint); }
.about-team-facts dd { font-family: var(--font-mono); color: var(--text-muted); }

.about-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1px;
}
.about-fact { background: var(--bg); padding: 1rem 1.1rem; }
.about-fact dt { font-size: 0.76rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.about-fact dd { font-family: var(--font-mono); font-size: 0.95rem; color: var(--text); }

@media (max-width: 480px) {
  .about-team { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Werkgebied
   ========================================================================== */

.werkgebied-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .werkgebied-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: start; }
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.region-chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 0.5rem 1rem;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.map-frame .pin {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-inline: auto 0.9rem;
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.offerte-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .offerte-grid { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; }
}

.offerte-intro h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 1.2rem; }
.offerte-intro p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

.offerte-contacts { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.offerte-contact-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  padding-block: 0.4rem;
}
.offerte-contact-link .ic {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--bg-raised-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  flex-shrink: 0;
}
.offerte-contact-link .ic svg { width: 1.05rem; height: 1.05rem; }

.form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.3rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.field .req { color: var(--accent-light); }

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a1a7ac' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.field .hint { font-size: 0.78rem; color: var(--text-faint); }
.field .error {
  font-size: 0.8rem;
  color: #e2a3a3;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b96a6a; }
.field.has-error .error { display: block; }

.upload-zone {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  position: relative;
}
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--accent); background: var(--accent-dim); }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-zone .ic {
  width: 2.6rem;
  height: 2.6rem;
  margin-inline: auto;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--bg-raised-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
}
.upload-zone .ic svg { width: 1.3rem; height: 1.3rem; }
.upload-zone strong { font-size: 0.92rem; }
.upload-zone span { display: block; font-size: 0.8rem; color: var(--text-faint); margin-top: 0.3rem; }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.upload-thumb {
  position: relative;
  aspect-ratio: 1/1;
  border: 1px solid var(--border);
  overflow: hidden;
}
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; }
.upload-thumb button {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(10,11,13,0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.upload-thumb button:hover { background: #b96a6a; }
.upload-thumb button svg { width: 0.8rem; height: 0.8rem; }

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.form-consent input { margin-top: 3px; accent-color: var(--accent); }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-color: rgba(111,191,139,0.4); color: #bfe8cd; background: rgba(111,191,139,0.06); }
.form-status.is-error { border-color: rgba(185,106,106,0.4); color: #e2a3a3; background: rgba(185,106,106,0.06); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 32ch; margin-bottom: 1.6rem; }
.footer-cta-group { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}

.footer-list { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-list a, .footer-list span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-list a:hover { color: var(--accent-light); }
.footer-list svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--accent-light); }
.footer-list dt { font-size: 0.76rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.footer-list dd.mono { font-size: 0.92rem; }

.footer-legal-line {
  font-size: 0.83rem;
  color: var(--text-faint);
  line-height: 1.6;
}
.footer-legal-line strong { color: var(--text-muted); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-bottom .lang-switch { transform: scale(0.94); transform-origin: left center; }

/* ==========================================================================
   Service detail modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6,7,8,0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow: auto;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  transform: scale(0.95) translateY(8px);
  opacity: 0;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.modal-overlay.is-open .modal { transform: scale(1) translateY(0); opacity: 1; }

.modal-media { aspect-ratio: 16/9; overflow: hidden; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 1.8rem 2rem 2.2rem; }
.modal-body h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.modal-body p { color: var(--text-muted); margin-bottom: 1rem; }
.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(10,11,13,0.6);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.modal-close svg { width: 1rem; height: 1rem; }

/* ==========================================================================
   Reveal-on-scroll (motivated: sequenced entrance signals reading order)
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal-stagger].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 60ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 300ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 420ms; }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body.no-scroll { overflow: hidden; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius);
  z-index: 200;
  transition: top var(--dur) var(--ease-out);
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
