/* ==========================================================
   DESIGN TOKENS — Dark navy premium (mooigeschilderdhuis stijl)
   ========================================================== */
:root {
  --navy:        #06102b;
  --navy-mid:    #0d2470;
  --navy-light:  #132d6e;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --sky:         #38bdf8;
  --amber:       #f59e0b;
  --cream:       #fafaf7;

  --bg:          #ffffff;
  --bg-light:    #f8fafc;
  --bg-dark:     #06102b;
  --surface:     #ffffff;
  --fg:          #0f172a;
  --fg-muted:    #64748b;
  --fg-light:    #94a3b8;
  --accent:      #2563eb;
  --accent-dark: #1d4ed8;
  --accent-bg:   #eff6ff;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(6,16,43,.07), 0 1px 2px rgba(6,16,43,.04);
  --shadow-md:  0 4px 16px rgba(6,16,43,.09), 0 2px 6px rgba(6,16,43,.05);
  --shadow-lg:  0 12px 40px rgba(6,16,43,.14), 0 4px 12px rgba(6,16,43,.07);
  --shadow-card:0 0 0 1.5px rgba(6,16,43,.06), 0 8px 28px rgba(6,16,43,.08);
  --shadow-blue:0 8px 30px rgba(37,99,235,.30);

  --font:  'Outfit', 'Inter', system-ui, sans-serif;
  --max-w: 1400px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================
   RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}

.section-label--light { color: rgba(255,255,255,.5); }

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--fg);
}

.section-title--light { color: #fff; }
.section-header { margin-bottom: 3.5rem; }

/* ==========================================================
   LAYOUT
   ========================================================== */
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9375rem;
  border-radius: 50px;
  padding: .8rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .22s var(--ease-out-expo),
              box-shadow .22s ease,
              background .15s ease;
  white-space: nowrap;
  text-decoration: none;
}

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

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 14px 40px rgba(37,99,235,.42);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.btn-lg { font-size: 1rem; padding: .9rem 2.25rem; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  padding: .8rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: .9375rem;
  margin-top: 1.75rem;
  transition: background .2s ease, transform .2s var(--ease-out-expo), box-shadow .2s ease;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}

/* ==========================================================
   BADGE
   ========================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge--light {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

/* ==========================================================
   NAVIGATION
   ========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.125rem 2rem;
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  line-height: 1.15;
  margin-right: auto;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--fg);
}

.nav-logo-sub {
  font-size: .6875rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: .06em;
}

.nav-links { display: flex; align-items: center; gap: .25rem; }

.nav-links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  padding: .4rem .875rem;
  border-radius: var(--radius-sm);
  transition: color .15s ease, background .15s ease;
}

.nav-links a:hover { color: var(--navy); background: var(--bg-light); }

.nav-cta { font-size: .875rem; padding: .55rem 1.375rem; }

.nav-rating {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .35rem .7rem;
  background: var(--accent-bg);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 50px;
  font-size: .8125rem;
}
.nav-rating-stars { color: var(--amber); letter-spacing: .05em; font-size: .75rem; }
.nav-rating-num   { font-weight: 700; color: var(--navy); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  padding: .45rem .85rem;
  border-radius: 50px;
  transition: background .2s ease, color .2s ease;
}
.nav-phone:hover { background: var(--bg-light); color: var(--accent); }
.nav-phone svg { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .3s var(--ease-out-expo), opacity .3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.nav-mobile-overlay.open { opacity: 1; pointer-events: all; }
.nav-mobile-overlay ul { display: flex; flex-direction: column; align-items: center; gap: .5rem; }

.mobile-nav-link {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--fg);
  padding: .5rem 1rem;
  transition: color .15s ease;
}

.mobile-nav-link:hover { color: var(--accent); }

/* ==========================================================
   HERO — foto slideshow achtergrond met navy overlay
   ========================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--navy);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  animation: heroKenBurns 8s ease-in-out forwards;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes heroKenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}

/* Navy overlay + radiale blauwe gloed — mooigeschilderdhuis stijl */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(6,16,43,.90) 0%,
      rgba(6,16,43,.40) 55%,
      rgba(6,16,43,.60) 100%),
    linear-gradient(to bottom,
      rgba(6,16,43,.20) 0%,
      rgba(6,16,43,.00) 40%,
      rgba(6,16,43,.80) 100%);
}

/* Radiale blauwe gloed over het hero-plaatje */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 55% at 4% 50%, rgba(37,99,235,.22) 0%, transparent 65%),
    radial-gradient(ellipse 25% 25% at 96% 85%, rgba(245,158,11,.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Links uitgelijnd — tekst leesbaar op lichte overlay */
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 8rem 2rem 4rem;
  max-width: min(640px, 50vw);
  margin-left: max(2rem, calc((100vw - var(--max-w)) / 2 + 2rem));
}

.hero-headline {
  font-size: clamp(2.75rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.04em;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
}

.accent-word { color: var(--sky); }

.hero-tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,.75);
  max-width: 44ch;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Ghost knop op donkere video achtergrond */
.hero-content .btn-ghost {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}

.hero-content .btn-ghost:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
}

/* Trust bar */
.trust-bar {
  position: relative;
  z-index: 3;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}

.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.125rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-muted);
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }

.trust-divider {
  width: 1px; height: 1.25rem;
  background: var(--border-dark);
  flex-shrink: 0;
}

/* ==========================================================
   DIENSTEN
   ========================================================== */
.diensten { padding: 7rem 0; background: var(--bg); }

.dienst-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.dienst-row:last-child { border-bottom: 1px solid var(--border); }

.dienst-row--reverse { grid-template-columns: 4.5rem 1fr 1fr; }
.dienst-row--reverse .dienst-img-wrap { order: 2; }
.dienst-row--reverse .dienst-content  { order: 3; }
.dienst-row--reverse .dienst-num      { order: 1; }

.dienst-num {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--border-dark);
  letter-spacing: -.06em;
  line-height: 1;
  align-self: start;
  padding-top: .25rem;
}

.dienst-title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--fg);
  margin-bottom: .875rem;
}

.dienst-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

.dienst-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap .2s var(--ease-out-expo);
}

.dienst-link:hover { gap: .625rem; }

.dienst-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
  will-change: transform;
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s ease;
}

.dienst-img-wrap img {
  width: 100%;
  height: 125%;          /* hoger dan kader zodat parallax-ruimte beschikbaar is */
  object-fit: cover;
  display: block;
  transform: translateY(-12%); /* begin iets omhoog, GSAP stuurt vandaaruit */
  will-change: transform;
}

/* ==========================================================
   WERKWIJZE
   ========================================================== */
.werkwijze {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stappen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stap { padding: 2.5rem 2.5rem 2.5rem 0; }
.stap:not(:first-child) { padding-left: 2.5rem; border-left: 1px solid var(--border); }

.stap-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.stap-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--fg);
  margin-bottom: .625rem;
}

.stap-desc {
  font-size: .9375rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 28ch;
}

/* ==========================================================
   PROJECTEN
   ========================================================== */
.projecten { padding: 7rem 0; background: var(--bg); }

.projecten-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.6s var(--ease-out-expo);
}

.project-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  min-height: 240px;
  pointer-events: none;
}

/* Glans-highlight volgt cursor */
.project-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--gx, 50%) var(--gy, 50%),
    rgba(255,255,255,.18) 0%,
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.project-item:hover::after { opacity: 1; }
.project-item--tall { grid-row: 1 / 3; }
.project-item--wide { grid-column: 1 / 3; }

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,16,43,.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
}

.project-item:hover .project-overlay { opacity: 1; }

.project-tag {
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .25rem .875rem;
}

.project-year {
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

/* ==========================================================
   GARANTIE (dark)
   ========================================================== */
.garantie {
  background: linear-gradient(145deg, #04091c, #0d2470);
  color: #fff;
  padding: 7rem 0 5rem;
}

.garantie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.garantie-body {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.garantie-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.stat-num {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -.04em;
  margin-left: .1em;
}

.stat-label {
  display: block;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  margin-top: .375rem;
  font-weight: 400;
}

.usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 4rem;
}

.usp svg { color: var(--accent); margin-bottom: 1.25rem; }

.usp h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: .5rem;
}

.usp p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 26ch;
}

/* ==========================================================
   REVIEWS
   ========================================================== */
.reviews {
  padding: 7rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-carousel-wrap {
  overflow: hidden;
  margin: 0 -2rem;
  padding: .5rem 2rem;
  cursor: grab;
}

.reviews-carousel-wrap:active { cursor: grabbing; }

.reviews-carousel {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s var(--ease-out-expo);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.review-text {
  font-size: .9375rem;
  color: var(--fg);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.review-footer { display: flex; align-items: center; gap: .75rem; }

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--fg);
  flex-shrink: 0;
}

.review-name { font-size: .9375rem; font-weight: 600; color: var(--fg); }
.review-location { font-size: .8125rem; color: var(--fg-muted); }

.reviews-source {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg-muted);
  margin-top: 2rem;
}

.reviews-source svg { color: var(--accent); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { padding: 7rem 0; background: var(--bg-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 38ch;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: .875rem; }

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--fg-muted);
  transition: color .15s ease;
}

.contact-detail-item:hover { color: var(--fg); }
.contact-detail-item svg { color: var(--accent); flex-shrink: 0; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: .375rem; }

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: .9375rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--fg-light); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,174,230,.14);
  background: var(--surface);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.form-error { font-size: .8125rem; color: #dc2626; min-height: 1em; font-weight: 500; }

.form-group textarea { resize: vertical; min-height: 100px; }

.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }

.select-arrow {
  position: absolute;
  right: .75rem; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--fg-muted);
}

.btn-submit { width: 100%; justify-content: center; margin-top: .25rem; }

.form-success {
  font-size: .9375rem;
  color: #16a34a;
  font-weight: 600;
  text-align: center;
  min-height: 1.5em;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #020814;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; color: #fff; }

.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.footer-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color .15s ease;
}

.footer-nav a:hover { color: #fff; }

.footer-legal {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
}

.footer-sep { color: rgba(255,255,255,.2); }

/* ==========================================================
   WHATSAPP FLOAT
   ========================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 90;
  transition: transform .25s var(--ease-spring), box-shadow .25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

/* ==========================================================
   REVEAL ANIMATIONS
   ========================================================== */
.reveal-up    { opacity: 0; transform: translateY(36px); }
.reveal-left  { opacity: 0; transform: translateX(-56px); }
.reveal-right { opacity: 0; transform: translateX(56px); }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .hero-content { max-width: min(580px, 60vw); }
  .stappen-grid { grid-template-columns: 1fr 1fr; }
  .stap:nth-child(3) { border-left: none; border-top: 1px solid var(--border); padding-top: 2.5rem; }
  .stap:nth-child(4) { border-top: 1px solid var(--border); padding-top: 2.5rem; }
  .usps { grid-template-columns: 1fr 1fr; }
  .garantie-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta, .nav-rating, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 7rem 1.5rem 3rem;
    align-items: flex-start;
  }

  .hero-overlay {
    background:
      linear-gradient(to bottom,
        rgba(248,245,240,.88) 0%,
        rgba(248,245,240,.75) 55%,
        rgba(248,245,240,.5) 100%
      );
  }

  .dienst-row,
  .dienst-row--reverse {
    grid-template-columns: 3.5rem 1fr;
    grid-template-rows: auto auto;
  }

  .dienst-img-wrap { grid-column: 2; grid-row: 2; }
  .dienst-content  { grid-column: 2; grid-row: 1; }
  .dienst-num      { grid-column: 1; grid-row: 1; }
  .dienst-row--reverse .dienst-img-wrap { order: unset; }
  .dienst-row--reverse .dienst-content  { order: unset; }
  .dienst-row--reverse .dienst-num      { order: unset; }

  .projecten-grid { grid-template-columns: 1fr 1fr; }
  .project-item--tall { grid-row: auto; }
  .project-item--wide { grid-column: auto; }

  .garantie-grid { grid-template-columns: 1fr; gap: 3rem; }
  .garantie-stats { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-brand { margin-right: 0; }
}

@media (max-width: 640px) {
  .section-wrap { padding: 0 1.25rem; }
  .site-header  { padding: .875rem 1.25rem; }
  .hero-content { padding: 6.5rem 1.25rem 2.5rem; }
  .hero-headline { font-size: clamp(2.25rem, 9vw, 3rem); }

  .trust-bar-inner {
    gap: .875rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
  }
  .trust-divider { display: none; }

  .diensten, .werkwijze, .projecten,
  .garantie, .reviews, .contact { padding: 5rem 0; }

  .stappen-grid { grid-template-columns: 1fr; }
  .stap:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0; padding-top: 2rem;
  }

  .projecten-grid { grid-template-columns: 1fr; }
  .garantie-stats { grid-template-columns: 1fr 1fr; }
  .usps { grid-template-columns: 1fr; gap: 1.75rem; }
  .review-card { width: 290px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .footer-sep { display: none; }
}

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.lightbox:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}
.lightbox[hidden] {
  display: flex !important;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .92);
  cursor: pointer;
}
.lightbox-img-wrap {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  display: block;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  z-index: 2;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, transform .15s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,.25);
  transform: scale(1.08);
}
.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2.25rem;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* project-item pointer cursor */
.project-item { cursor: pointer; }

/* ============================================================
   HERO CAROUSEL — scrollende teksten met navigatie
============================================================ */
.hero-carousel {
  position: relative;
  min-height: clamp(8rem, 14vw, 13rem);
  margin: 1rem 0 0;
}

.hero-slide-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s var(--ease-out-expo), transform .55s var(--ease-out-expo);
  pointer-events: none;
}

.hero-slide-text.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.hero-slide-text.is-exit {
  position: absolute;
  opacity: 0;
  transform: translateY(-18px);
  pointer-events: none;
}

/* Nav buttons + dots */
.hero-nav {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin: 1.5rem 0 2rem;
}

.hero-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s var(--ease-spring);
  flex-shrink: 0;
}

.hero-nav-btn:hover {
  background: rgba(255,255,255,.26);
  transform: scale(1.12);
}

.hero-dots { display: flex; gap: .45rem; align-items: center; }

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .35s var(--ease-spring);
}

.hero-dot.is-active {
  width: 26px;
  border-radius: 4px;
  background: #fff;
}

/* ============================================================
   WERKGEBIED — links naar SEO landingspagina's
============================================================ */
.werkgebied {
  padding: 7rem 0;
  background: var(--bg);
}

.werkgebied-intro {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 60ch;
  margin-top: 1rem;
}

.werkgebied-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.werkgebied-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--fg);
  transition: all .3s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.werkgebied-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue-dark) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}

.werkgebied-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 14px 40px rgba(37,99,235,.30);
}

.werkgebied-card:hover::before { opacity: 1; }

.werkgebied-card > * { position: relative; z-index: 1; transition: color .3s ease; }
.werkgebied-card:hover > * { color: #fff; }

.werkgebied-card-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--fg-light);
  letter-spacing: .08em;
  font-family: 'JetBrains Mono', monospace;
}

.werkgebied-card-name {
  font-size: 1rem;
  font-weight: 600;
  flex: 1;
}

.werkgebied-card-arrow {
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform .3s ease;
}

.werkgebied-card:hover .werkgebied-card-arrow {
  transform: translateX(4px);
  color: #fff;
}

.werkgebied-more {
  text-align: center;
  font-size: .9375rem;
  color: var(--fg-muted);
  margin-top: 1rem;
}

.werkgebied-more a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}

.werkgebied-more a:hover { color: var(--accent-dark); }

@media (max-width: 1024px) {
  .werkgebied-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .werkgebied-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .werkgebied-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO FOTO-STRIP — doorlopende filmrol van projectfoto's
============================================================ */
.hero-strip-label {
  position: absolute;
  bottom: 152px;
  left: max(2rem, calc((100vw - var(--max-w)) / 2 + 2rem));
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem .35rem .65rem;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .01em;
}

.strip-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.25);
  animation: stripDotPulse 2s ease-in-out infinite;
}

@keyframes stripDotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
  50%      { box-shadow: 0 0 0 7px rgba(34,197,94,.10); }
}

.hero-photo-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  overflow: hidden;
  z-index: 3;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.photo-strip-track {
  display: flex;
  gap: 10px;
  padding: 0 5px;
  animation: stripRun 36s linear infinite;
  width: max-content;
}

.photo-strip-track:hover { animation-play-state: paused; }

.strip-img {
  width: 200px;
  height: 140px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.45);
  border: 1.5px solid rgba(255,255,255,.12);
  transition: transform .3s ease, border-color .3s ease;
}

.strip-img:hover {
  transform: scale(1.06) translateY(-4px);
  border-color: rgba(255,255,255,.35);
}

@keyframes stripRun {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   3D EFFECTEN — will-change hints voor hero-lagen
============================================================ */
.hero-slideshow,
.hero-overlay,
.hero-headline,
.hero-tagline,
.hero-actions,
.badge--light {
  will-change: transform;
}
