:root {
  --black: #050505;
  --gold: #c8a45d;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { height: 58px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; color: rgba(255,255,255,0.72); font-size: 14px; }
.nav-links a:hover { color: var(--gold); }
.nav-button { padding: 13px 20px; border-radius: 999px; background: var(--gold); color: #000; font-weight: 700; }

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('assets/ridderkerk-shovel.jpg');
  background-size: cover; background-position: center; opacity: 0.48; z-index: -3;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.82) 42%, rgba(0,0,0,0.28) 100%);
  z-index: -2;
}
.hero-content { max-width: 780px; padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(200,164,93,0.38); background: rgba(0,0,0,0.42);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; margin-bottom: 32px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
h1 { font-size: clamp(48px, 8vw, 96px); line-height: 0.94; letter-spacing: -4px; font-weight: 800; }
h1 span { color: var(--gold); }
.hero-text { max-width: 620px; margin-top: 28px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px; border-radius: 999px; font-weight: 700; transition: 0.25s ease;
}
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-secondary { border: 1px solid var(--line); color: var(--white); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

section { padding: 110px 0; }
.section-dark { background: #000; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; }
.label { color: var(--gold); letter-spacing: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -2px; }
.section-heading p { max-width: 420px; color: var(--muted); line-height: 1.7; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  padding: 30px; min-height: 250px; border: 1px solid var(--line); border-radius: 28px;
  background: rgba(255,255,255,0.035); transition: 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(200,164,93,0.65); background: rgba(255,255,255,0.06); }
.icon {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  color: var(--gold); background: rgba(200,164,93,0.1); border: 1px solid rgba(200,164,93,0.24);
  font-size: 24px; margin-bottom: 30px;
}
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card p { color: rgba(255,255,255,0.58); line-height: 1.7; font-size: 15px; }

.projects { display: grid; gap: 28px; margin-top: 54px; }
.project-card {
  position: relative; min-height: 460px; border-radius: 38px; overflow: hidden;
  border: 1px solid var(--line); background: #000; isolation: isolate;
}
.project-card::before {
  content: ""; position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.58; transition: 0.6s ease; z-index: -3;
}
.project-card:hover::before { transform: scale(1.05); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.78) 42%, rgba(0,0,0,0.15) 100%);
  z-index: -2;
}
.project-ridderkerk::before { background-image: url('assets/ridderkerk-shovel.jpg'); }
.project-harderwijk::before { background-image: url('assets/harderwijk-project.png'); }
.project-nijkerk::before { background-image: url('assets/nijkerk-project.jpg'); }
.project-content { min-height: 460px; max-width: 610px; padding: 46px; display: flex; flex-direction: column; justify-content: end; }
.tag {
  width: fit-content; display: inline-flex; background: var(--gold); color: #000;
  padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; margin-bottom: 22px;
}
.project-content h3 { font-size: clamp(34px, 5vw, 56px); line-height: 1; margin-bottom: 18px; letter-spacing: -2px; }
.project-content p { color: var(--muted); line-height: 1.7; font-size: 18px; margin-bottom: 28px; }
.text-link { color: var(--gold); font-weight: 800; }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 58px; align-items: center; }
.about p { color: var(--muted); line-height: 1.8; font-size: 18px; margin-top: 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,0.035); }
.stat strong { display: block; color: var(--gold); font-size: 34px; margin-bottom: 6px; }
.stat span { color: rgba(255,255,255,0.55); font-size: 14px; }
.about-image {
  min-height: 520px; border-radius: 36px; overflow: hidden; border: 1px solid var(--line);
  background-image: url('assets/ridderkerk-shovel-2.jpg'); background-size: cover; background-position: center;
}

.contact-card {
  padding: 56px; border-radius: 38px; border: 1px solid rgba(200,164,93,0.28);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card p { color: var(--muted); line-height: 1.7; font-size: 18px; margin-top: 20px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: rgba(0,0,0,0.34); }
.contact-item strong { display: block; color: var(--gold); margin-bottom: 8px; }
.contact-item span { color: rgba(255,255,255,0.68); line-height: 1.6; }

footer { border-top: 1px solid var(--line); padding: 34px 0; color: rgba(255,255,255,0.45); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .services-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
  .stats { grid-template-columns: 1fr; }
  h1 { letter-spacing: -2px; }
  .contact-card, .project-content { padding: 30px; }
  .logo { height: 46px; }
}


/* V2: mobiele navigatie, animaties en projectpagina */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  margin: 5px auto;
  transition: 0.25s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding-top: 150px;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,0.75) 52%, rgba(0,0,0,0.25) 100%),
    url('assets/ridderkerk-shovel.jpg') center/cover;
}

.project-detail-grid {
  display: grid;
  gap: 34px;
}

.detail-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
}

.detail-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.detail-card h2 {
  margin: 18px 0;
  font-size: clamp(32px, 4vw, 52px);
}

.detail-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 86px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(0,0,0,0.94);
  }

  .nav-links.open {
    display: flex;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card img {
    height: 300px;
  }
}


/* V3: cinematic premium upgrades */
.navbar {
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0,0,0,0.88);
  border-bottom-color: rgba(200,164,93,0.24);
}

.hero::before {
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content {
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -80px;
  top: 42px;
  background: rgba(200,164,93,0.12);
  filter: blur(80px);
  border-radius: 999px;
  z-index: -1;
}

.cinematic-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(200,164,93,0.12), transparent 30%),
    linear-gradient(135deg, #050505 0%, #111 100%);
  border-bottom: 1px solid var(--line);
}

.cinematic-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.cinematic-copy p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.process-steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  transition: 0.25s ease;
}

.step:hover {
  transform: translateX(8px);
  border-color: rgba(200,164,93,0.55);
}

.step span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
}

.step strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 22px;
}

.step p {
  color: rgba(255,255,255,0.58);
  line-height: 1.65;
}

.project-card {
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.project-card:hover {
  border-color: rgba(200,164,93,0.45);
}

.stat strong {
  font-size: 30px;
}

.cta-strip {
  padding: 60px 0;
  background: #000;
  border-top: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(200,164,93,0.28);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(200,164,93,0.12), rgba(255,255,255,0.03));
}

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 15px 19px;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #fff;
}

@media (max-width: 900px) {
  .cinematic-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-inner {
    align-items: start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}


/* V4: groter logo en luxere header */
.nav-inner {
  height: 112px;
}

.logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 22px;
  border: 1px solid rgba(200,164,93,0.22);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 0 35px rgba(200,164,93,0.08);
}

.logo {
  height: 92px;
  max-width: 245px;
  object-fit: contain;
}

.hero {
  padding-top: 120px;
}

.hero-logo-badge {
  width: fit-content;
  padding: 16px 22px;
  border-radius: 28px;
  border: 1px solid rgba(200,164,93,0.22);
  background: rgba(0,0,0,0.34);
  backdrop-filter: blur(10px);
  margin-bottom: 34px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
}

.hero-logo-badge img {
  width: min(360px, 72vw);
  height: auto;
  display: block;
}

.navbar.scrolled .nav-inner {
  height: 96px;
}

.navbar.scrolled .logo {
  height: 74px;
}

.navbar.scrolled .logo-frame {
  padding: 8px 12px;
}

@media (max-width: 900px) {
  .nav-inner {
    height: 94px;
  }

  .logo {
    height: 68px;
    max-width: 180px;
  }

  .logo-frame {
    padding: 7px 10px;
    border-radius: 18px;
  }

  .navbar.scrolled .nav-inner {
    height: 86px;
  }

  .navbar.scrolled .logo {
    height: 58px;
  }

  .nav-links {
    top: 98px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-logo-badge {
    padding: 12px 16px;
    margin-bottom: 26px;
  }
}


/* V5: premium transparent logo refinements */
.logo-frame {
  background: rgba(8,8,8,0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(200,164,93,0.24);
  box-shadow:
    0 10px 35px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.logo {
  height: 108px;
  width: auto;
  filter:
    drop-shadow(0 0 14px rgba(200,164,93,0.16))
    drop-shadow(0 0 30px rgba(200,164,93,0.08));
}

.hero-logo-badge {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.72),
    rgba(18,18,18,0.82)
  );
  border: 1px solid rgba(200,164,93,0.22);
}

.hero-logo-badge img {
  width: min(460px, 76vw);
  filter:
    drop-shadow(0 0 20px rgba(200,164,93,0.14))
    drop-shadow(0 0 60px rgba(200,164,93,0.08));
}

.hero-content h1 {
  max-width: 850px;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(200,164,93,0.35),
    transparent
  );
}

@media (max-width: 900px) {
  .logo {
    height: 78px;
  }

  .hero-logo-badge img {
    width: min(320px, 82vw);
  }
}


/* V6: logo alleen in navbar, geen groot logo in hero */
.hero-logo-badge {
  display: none !important;
}

.nav-inner {
  height: 92px;
}

.logo {
  height: 78px;
  max-width: 210px;
}

.logo-frame {
  padding: 8px 12px;
  border-radius: 20px;
}

.navbar.scrolled .nav-inner {
  height: 84px;
}

.navbar.scrolled .logo {
  height: 66px;
}

.hero {
  padding-top: 95px;
}

@media (max-width: 900px) {
  .nav-inner {
    height: 82px;
  }

  .logo {
    height: 58px;
    max-width: 155px;
  }

  .navbar.scrolled .logo {
    height: 52px;
  }

  .nav-links {
    top: 86px;
  }

  .hero {
    padding-top: 90px;
  }
}


/* V7: machinale bestrating prominent toegevoegd */
.services-grid-v7 {
  grid-template-columns: repeat(5, 1fr);
}

.service-card-feature {
  position: relative;
  overflow: hidden;
  border-color: rgba(200,164,93,0.38);
  background:
    radial-gradient(circle at 20% 10%, rgba(200,164,93,0.16), transparent 36%),
    rgba(255,255,255,0.045);
}

.service-card-feature::after {
  content: "Specialisme";
  position: absolute;
  top: 18px;
  right: 18px;
  color: #000;
  background: var(--gold);
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  letter-spacing: 0.8px;
}

.machine-section {
  background: #050505;
  border-bottom: 1px solid var(--line);
  padding: 100px 0;
}

.machine-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.machine-image {
  min-height: 540px;
  border-radius: 36px;
  border: 1px solid rgba(200,164,93,0.22);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.42)),
    url('assets/harderwijk-project.png') center/cover;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.machine-copy p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.machine-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.machine-points span {
  padding: 12px 15px;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(200,164,93,0.26);
  background: rgba(200,164,93,0.08);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .services-grid-v7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid-v7,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .machine-image {
    min-height: 360px;
  }

  .service-card-feature::after {
    position: static;
    display: inline-flex;
    margin-top: 20px;
  }
}


/* V8: lichtere beelden en frissere cinematic look */
.hero::before {
  opacity: 0.62 !important;
  filter:
    brightness(1.12)
    contrast(1.08)
    saturate(1.05);
}

.hero::after {
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.52) 42%,
      rgba(0,0,0,0.18) 100%
    ) !important;
}

.project-card::before {
  opacity: 0.72;
  filter:
    brightness(1.08)
    contrast(1.04)
    saturate(1.02);
}

.project-card::after {
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.68) 0%,
      rgba(0,0,0,0.48) 42%,
      rgba(0,0,0,0.10) 100%
    ) !important;
}

.machine-image {
  filter:
    brightness(1.08)
    contrast(1.05)
    saturate(1.04);
}

.about-image {
  filter:
    brightness(1.10)
    contrast(1.04)
    saturate(1.02);
}

.service-card,
.step,
.contact-item,
.stat {
  background: rgba(255,255,255,0.05);
}

.hero-content::before {
  background: rgba(200,164,93,0.16);
}

body {
  background: #070707;
}

.cinematic-band {
  background:
    radial-gradient(circle at 20% 20%, rgba(200,164,93,0.16), transparent 30%),
    linear-gradient(135deg, #090909 0%, #151515 100%);
}


/* V9 offerteformulier */
.offer-section {
  background: #080808;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.offer-copy p {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.offer-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(200,164,93,0.24);
  background: rgba(255,255,255,0.04);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.38);
  color: white;
  padding: 16px 18px;
  border-radius: 18px;
  outline: none;
  transition: 0.25s ease;
  font-size: 15px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,164,93,0.55);
  box-shadow: 0 0 0 3px rgba(200,164,93,0.08);
}

.offer-form .btn {
  margin-top: 10px;
  width: fit-content;
}

@media (max-width: 900px) {
  .offer-grid,
  .offer-form {
    grid-template-columns: 1fr;
  }

  .offer-form {
    padding: 24px;
  }
}


/* V10 portfolio uitbreiding */
.portfolio-showcase {
  background: linear-gradient(180deg, #070707 0%, #101010 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.portfolio-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(200,164,93,0.18);
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.7)),
    radial-gradient(circle at top left, rgba(200,164,93,0.18), transparent 30%),
    rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .35s ease, border-color .35s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200,164,93,0.42);
}

.portfolio-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(200,164,93,0.16);
  border: 1px solid rgba(200,164,93,0.28);
  color: var(--gold);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .8px;
}

.portfolio-card h3 {
  font-size: 30px;
  margin-bottom: 14px;
}

.portfolio-card p {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

@media (max-width: 950px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}


/* V11 echte galleries */
.gallery-section {
  background: #060606;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gallery-grid {
  display: grid;
  gap: 20px;
}

.harderwijk-grid {
  grid-template-columns: repeat(3, 1fr);
}

.nijkerk-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.gallery-item {
  min-height: 260px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(200,164,93,0.18);
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .4s ease, filter .4s ease;
  filter:
    brightness(1.06)
    contrast(1.04)
    saturate(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.04),
      rgba(0,0,0,0.18)
    );
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
}

.gallery-item.large {
  grid-column: span 2;
  min-height: 420px;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-heading-space {
  margin-top: 90px;
}

@media (max-width: 950px) {
  .harderwijk-grid,
  .nijkerk-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }

  .gallery-item {
    min-height: 240px;
  }
}


/* V12 cleaner project presentatie */
.projects-intro {
  background: #050505;
  padding-bottom: 10px;
}

.projects-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.projects-intro p {
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  font-size: 18px;
  max-width: 640px;
}

.gallery-section {
  padding-top: 40px;
}

.section-heading h2 {
  max-width: 720px;
}

.gallery-item {
  min-height: 300px;
}

.gallery-item.large {
  min-height: 520px;
}

@media (max-width: 900px) {
  .projects-intro-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== V19 STABIELE OPSCHONING ===== */

/* Homepage: rustig, geen dubbele projectsecties */
#projecten {
  padding-bottom: 110px;
}

/* Navbar stabiel */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}

.nav-inner {
  height: 92px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.nav-links {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-direction: row !important;
  gap: 34px !important;
  margin-left: auto !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.logo {
  height: 72px !important;
  max-width: 190px !important;
  width: auto !important;
}

/* Hero netjes onder navbar */
.hero {
  padding-top: 110px !important;
}

/* Diensten terug naar nette grid */
#diensten .services-grid,
#diensten .services-grid-v7 {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

#diensten .service-card {
  position: relative !important;
  width: auto !important;
  min-height: 270px !important;
}

/* Projectpagina's */
.project-page-hero {
  min-height: 78vh;
  padding-top: 140px;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.project-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.78));
}

.project-page-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  max-width: 900px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.project-page-content h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  margin: 18px 0;
}

.project-page-content p {
  max-width: 760px;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
  line-height: 1.75;
}

.project-info-section {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.project-info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.project-info-grid p {
  color: rgba(255,255,255,0.68);
  font-size: 18px;
  line-height: 1.85;
}

.project-photo-section {
  background: #080808;
}

.project-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-photo {
  min-height: 430px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(200,164,93,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
  transition: transform .35s ease;
}

.project-photo:hover {
  transform: translateY(-6px);
}

@media (max-width: 1100px) {
  #diensten .services-grid,
  #diensten .services-grid-v7 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block !important;
  }

  .nav-links {
    position: fixed !important;
    top: 88px !important;
    left: 20px !important;
    right: 20px !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px !important;
    border: 1px solid var(--line) !important;
    border-radius: 24px !important;
    background: rgba(0,0,0,0.94) !important;
  }

  .nav-links.open {
    display: flex !important;
  }

  .logo {
    height: 58px !important;
    max-width: 155px !important;
  }

  #diensten .services-grid,
  #diensten .services-grid-v7,
  .project-info-grid,
  .project-photo-grid {
    grid-template-columns: 1fr !important;
  }

  .project-photo {
    min-height: 280px;
  }

  .project-page-hero {
    padding-top: 115px;
  }
}


/* ===== V21 CLEAN FIX DIENSTEN ===== */

/* Geen rare woordafbreking meer */
#diensten .service-card h3,
#diensten .service-card p {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* Dienstenkaartjes ruimer en netter */
#diensten .services-grid,
#diensten .services-grid-v7 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

/* Laat de laatste twee kaarten mooi breed staan */
#diensten .service-card:nth-child(4),
#diensten .service-card:nth-child(5) {
  grid-column: span 1 !important;
}

#diensten .service-card {
  min-height: 300px !important;
  padding: 30px !important;
  width: auto !important;
  max-width: none !important;
  overflow: hidden !important;
}

#diensten .service-card h3 {
  font-size: 24px !important;
  line-height: 1.15 !important;
  max-width: 100% !important;
}

#diensten .service-card p {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  max-width: 100% !important;
}

/* Op brede schermen: 3 boven, 2 onder voelt rustiger dan 5 smalle kolommen */
@media (min-width: 1201px) {
  #diensten .services-grid,
  #diensten .services-grid-v7 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  #diensten .service-card:nth-child(4) {
    grid-column: 1 / span 1 !important;
  }

  #diensten .service-card:nth-child(5) {
    grid-column: 2 / span 1 !important;
  }
}

/* Tablet: twee kolommen */
@media (max-width: 1200px) {
  #diensten .services-grid,
  #diensten .services-grid-v7 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobiel: onder elkaar */
@media (max-width: 760px) {
  #diensten .services-grid,
  #diensten .services-grid-v7 {
    grid-template-columns: 1fr !important;
  }
}


/* ===== V22 FINAL POLISH ===== */

/* Algemeen rustiger en luxer */
section {
  scroll-margin-top: 120px;
}

.container {
  width: min(1240px, 92%);
}

/* Hero iets cleaner */
.hero-content h1 {
  max-width: 900px;
  line-height: 0.95;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255,255,255,0.76);
}

/* Buttons premium hover */
.btn,
.nav-button,
.text-link {
  transition:
    transform .28s ease,
    opacity .28s ease,
    background .28s ease,
    border-color .28s ease;
}

.btn:hover,
.nav-button:hover {
  transform: translateY(-2px);
}

/* Project kaarten */
.project-card,
.project-photo,
.gallery-item,
.service-card {
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.project-card:hover,
.project-photo:hover,
.gallery-item:hover,
.service-card:hover {
  box-shadow: 0 24px 80px rgba(0,0,0,0.34);
}

/* Footer professioneler */
footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(
      180deg,
      #060606 0%,
      #0b0b0b 100%
    );
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,0.58);
  font-size: 14px;
}

/* Contact blok rustiger */
.contact-item {
  background: rgba(255,255,255,0.045);
}

/* Soepel scrollen */
html {
  scroll-behavior: smooth;
}

/* Mobiel */
@media (max-width: 900px) {

  .hero-content h1 {
    line-height: 1;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .project-card,
  .project-photo,
  .gallery-item {
    border-radius: 24px;
  }
}
