/* Over ons background image */
.background-image-over-ons {
  width: 100%;
  min-height: 100vh;
  background: url('airco installatie.jpg') center/cover no-repeat;  

  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.background-image-airco-onderhoud {
  width: 100%;
  min-height: 130vh;
  background: url('airco onderhoud.jpg') center/cover no-repeat;
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;

}
.background-image-aircos{
  width: 100%;
  min-height: 130vh;
  background: url('comfyaircoroom.jpg') center/cover no-repeat;
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;

}
/* Airco Check page */
.background-image-airco-check {
  width: 100%;
  min-height: 100vh;
  /* Gradient plus foto-achtergrond */
  background:
    radial-gradient(1000px 500px at -10% -10%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(800px 500px at 110% 0%, rgba(255,255,255,0.10), transparent 55%),
    linear-gradient(135deg, #0ea5ea 0%, #2563eb 55%, #7c3aed 100%),
    url('airco installatie.jpg') center/cover no-repeat;
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.background-image-airco-check::before,
.background-image-airco-check::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.background-image-airco-check::before {
  width: 640px; height: 640px;
  top: -180px; left: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.25), rgba(255,255,255,0) 60%);
  filter: blur(10px);
  opacity: 0.6;
}
.background-image-airco-check::after {
  width: 720px; height: 720px;
  right: -160px; bottom: -220px;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.20), rgba(255,255,255,0) 60%);
  filter: blur(12px);
  opacity: 0.5;
}
.background-image-airco-check main {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.92);
  padding: 40px 48px;
  border-radius: 18px;
  max-width: 980px;
  margin: 180px 30px 220px auto;
  box-shadow: 0 16px 50px rgba(13, 38, 76, 0.25);
  border: 1px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
}
.background-image-warmtepompen {
  width: 100%;
  min-height: 130vh;
  background: url('binnenunit-warmtepomp.jpg') center/cover no-repeat;
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;

}
/* Specific warmtepomp variant backgrounds */
.background-image-lucht-water {
  width: 100%;
  min-height: 100vh;
  background-image: url('lucht-water-warmtepomp.jpg');
  background-position: center top;
  background-size: contain; /* show full image without cropping */
  background-repeat: no-repeat;
  background-color: #ffffff; /* fallback to avoid light gaps */
  margin-bottom: 0px;

  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.background-image-lucht-lucht {
  width: 100%;
  min-height: 130vh;
  background-image: url('lucht-lucht-warmtepomp.webp');
  background-position: center top;
  background-size: contain; /* show full image without cropping */
  background-repeat: no-repeat;
  background-color: #000; /* fallback to avoid light gaps */
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}
.background-image-hybride-warmtepompen {
  width: 100%;
  min-height: 100vh;
  background-image: url('hybride-warmtepomp.jpg');
  background: url('hybride-warmtepomp.jpg') center/cover no-repeat;
  background-position: center top; 
  margin-bottom: 0px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;

}
.background-image-hybride-warmtepompen main {
  background: rgba(255,255,255,0.7);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px 30px 800px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.background-image-over-ons main {
  background: rgba(255,255,255,0.7);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px 100px 850px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.background-image-aircos main {
  background: rgba(255,255,255,0.7);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 200px 30px 750px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.background-image-warmtepompen main {
  background: rgba(255,255,255,0.7);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.background-image-lucht-lucht main {
  background: transparent;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px 850px 100px auto;
  box-shadow: none;
}
.background-image-lucht-water main {
  background: rgba(255,255,255,0.7);
  padding: 40px 48px;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px auto 140px auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-with-button {
  width: 100%;
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
  flex-wrap: nowrap;
}
.footer-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}
.footer-img.left {
  margin-right: 8px;
}
.footer-img.right {
  margin-left: 8px;
}
.footer-privacy {
  white-space: normal;
  margin-left: auto;
  text-align: center;
  max-width: 420px;
  flex: 0 1 auto;
}
.cookie-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1300;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
  padding: 44px 52px;
  width: min(90vw, 1200px);
  max-width: 1200px;
  margin: 0;
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #1f2937;
  font-size: 1.4rem;
  font-weight: 600;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner__actions .btn-secondary {
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 1.1rem;
  font-weight: 700;
}
/* WhatsApp button styling */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-left: 25px;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.whatsapp-btn:hover {
  background: #128c7e;
  color: #fff;
}

/* Prominent CTA button */
.cta-wrap { margin-top: 16px; }
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5ed7, #0a56c7);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(11,94,215,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(11,94,215,0.45);
  background: linear-gradient(135deg, #0a56c7, #094eb7);
}
.cta-button i { font-size: 1.1em; }
.cta-button[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Form styling for questionnaires */
.form-card {
  background: rgba(255,255,255,0.96);
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(255,255,255,0.6);
  max-width: 960px;
  margin: 24px auto 200px auto;
}
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section { margin-top: 18px; }
.form-section h3 { margin: 8px 0 6px; }
.form-row { display:flex; flex-direction:column; gap:6px; }
.form-row label { font-weight: 600; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row select,
.form-row textarea {
  padding:10px 12px; border:1px solid #d7d7d7; border-radius:10px; font:inherit; background:#fff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-actions { margin-top: 16px; display:flex; gap:12px; flex-wrap:wrap; }
.btn-secondary { background:#f1f3f5; color:#222; border:1px solid #e1e3e6; border-radius:10px; padding:10px 14px; text-decoration:none; }

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

/* Wizard progress bar */
.wizard-progress { margin: 8px auto 16px auto; max-width: 960px; }
.wizard-progress .track { height: 8px; background:#e9ecef; border-radius: 999px; overflow: hidden; }
.wizard-progress .fill { height: 8px; width: 0%; background: linear-gradient(90deg, #ef4444, #2563eb); border-radius: 999px; transition: width 200ms ease; }
.wizard-steps { display:flex; justify-content: space-between; font-size: 12px; color:#6b7280; margin-bottom:6px; }
.wizard-steps .step-label { white-space: nowrap; }
.wizard-actions { display:flex; justify-content: space-between; align-items:center; gap:12px; max-width: 960px; margin: 12px auto 200px auto; }
.wizard-meta { max-width: 960px; margin: 6px auto 0 auto; text-align: right; font-size: 12px; color:#6b7280; }

/* Radio cards */
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-card { display:flex; align-items:center; gap:10px; border:1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; background:#fff; cursor:pointer; transition: box-shadow .15s ease, border-color .15s ease, background .15s ease; }
.radio-card:hover { border-color:#cbd5e1; box-shadow: 0 6px 18px rgba(2,6,23,0.06); }
.radio-card input[type=radio] { accent-color: #2563eb; width: 18px; height: 18px; }
.radio-card:has(input[type=radio]:checked) { border-color:#2563eb; background:#eff6ff; box-shadow: 0 10px 24px rgba(37,99,235,0.15); }
.radio-card:has(input[type=radio]:focus-visible) { outline: 2px solid #2563eb; outline-offset: 2px; }
.radio-card-title { font-weight: 600; color:#0f172a; }
.radio-card-help { font-size: 12px; color:#6b7280; }

@media (max-width: 640px){ .radio-cards { grid-template-columns: 1fr; } }

/* Inline validation */
.input-error { border-color: #ef4444 !important; outline: none; box-shadow: 0 0 0 2px rgba(239,68,68,0.15); }
.error-text { color: #ef4444; font-size: 12px; margin-top: 4px; }

/* Wizard header */
.wizard-header {
  max-width: 960px;
  margin: 16px auto 12px auto;
  padding: 20px 24px;
  border-radius: 18px;
  color: #f8fafc;
  background:
    radial-gradient(800px 400px at -10% -20%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #1d4ed8 100%);
  box-shadow: 0 16px 48px rgba(2, 6, 23, 0.18);
}
.wizard-header h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.wizard-header p { margin: 6px 0 0 0; color: #e2e8f0; }

/* Optional label hint */
.optional { color: #9ca3af; font-weight: normal; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #383838;
  background: #f4f4f4;
  min-height: 100vh;      
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-top: 160px; /* reserve space for fixed header */
  padding-bottom: 0; /* no extra space under footer */
}
footer {
  background: #222;
  color: #fff;
  padding: 30px;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}
main {
  flex: 1;                     /* expands to push footer down */
  padding-top: 150px;          /* avoids overlapping logo */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 100px;
  margin: 0;
  padding: 0 0 0 400px; /* space for logo */
  align-items: center; /* vertically center items inside header */
  height: 160px; /* match header height so items align consistently */
}
nav ul li {
  margin: 0;
}
nav ul li a, .dropdown-parent {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 23px;
  display: inline-block;
}
/* Header should float above the video */
header {
  position: fixed; /* float on top of page */
  left: 0;
  top: 0;
  width: 100%;
  height: 160px;
  z-index: 1000;
  background-color: rgba(255,255,255,0.95); /* mostly opaque white for readability */
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px); /* soft blur of video beneath (supported browsers) */
}
.logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 130px;
  height: auto;
  z-index: 1001; /* ensure logo sits above header background/video */
}

nav ul li a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: #333;
}
/* Dropdown styles for Warmtepompen */
.has-dropdown {
  position: relative;
}
/* ensure the dropdown parent matches the nav links in height and alignment */
.dropdown-parent {
  cursor: default; /* not clickable */
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 6px;
}
/* .dropdown-parent now uses the same styles as nav links above */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 2px 0;
  display: none;
  list-style: none;
  min-width: 200px;
  z-index: 1100;
  display: none;
  flex-direction: column;
}
.dropdown li {
  padding: 0;
  margin: 0;
}
.dropdown li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  line-height: 2.15;
}
.dropdown li a:hover {
  background: rgba(0,0,0,0.05);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}
/* Also show dropdown when JS toggles an 'open' class on the parent */
.has-dropdown.open .dropdown {
  display: block;
}
/* Background video container */
.video-bg {
  position: relative; /* place in normal flow so video height determines layout */
  width: 100%;
  overflow: hidden;
  pointer-events: none; /* so video doesn't block clicks */
  z-index: 0;
}
.video-bg video {
  display: block;
  width: 100%;
  height: auto; /* keep original aspect ratio */
  object-fit: contain; /* avoid cropping/zooming */
  filter: brightness(0.85) contrast(1);
}
.video-bg .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(0,0,0,0.12);
  pointer-events: none;
}

/* Ensure main and footer stack above the video; header is fixed on top */
main, footer {
  position: relative;
  z-index: 2;
}

/* Container for content that overlays the video */
.video-bg-contents {
  position: absolute;
  inset: 0; /* fill the video container */
  z-index: 3; /* above video but below fixed header */
  pointer-events: none; /* container doesn't block clicks */
}

.hero {
  position: absolute;
  top: 5%; /* nudge higher so it's not too low */
  left: 60%; /* move slightly to the left */
  transform: translateY(-30%);
  max-width: 520px;
  color: rgb(238, 238, 238)
 
}

@media (max-width: 800px) {
  .hero {
    left: 5%;
    right: 5%;
    max-width: none;
    width: calc(100% - 40px);
  }
}

/* Reviews page */
.landing {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.hero-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hero-half {
  position: relative;
  min-height: 80vh;
  padding: 140px 32px 80px;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-half::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.68));
  z-index: 0;
}
.hero-half.team {
  background: url('TnTteamfoto.jpg') center/cover no-repeat;
  align-items: flex-end;
}
.hero-half.warmtepomp {
  background: url('T-CAP.jpg') center/cover no-repeat;
}
.hero-half.monteur {
  background: url('TnTmonteerfoto.jpg') center/cover no-repeat;
  align-items: flex-end;
}
.hero-half.airco {
  background: url('shutterstock_2268305919-BLACK-ETHEREA.jpg') center/cover no-repeat;
}
.hero-banner {
  position: relative;
  min-height: 80vh;
  padding: 140px 32px 80px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-banner.team {
  align-items: center;
  padding-top: 120px;
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.72));
  z-index: 0;
}
.hero-banner.team {
  background: url('TnTteamfoto.jpg') center/cover no-repeat;
}
.hero-banner.monteur {
  background: url('TnTmonteerfoto.jpg') center/cover no-repeat;
}
.banner-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.banner-content.align-right {
  margin-left: auto;
  text-align: right;
  align-items: flex-end;
}
.banner-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #c7d2fe;
  font-weight: 700;
  margin: 0;
}
.banner-content h1,
.banner-content h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  letter-spacing: -0.01em;
}
.banner-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
}
.hero-banner .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b5ed7, #0a56c7);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11,94,215,0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hero-banner .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(11,94,215,0.55);
  background: linear-gradient(135deg, #0a56c7, #094eb7);
}
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }
  .hero-banner {
    min-height: 70vh;
    padding: 120px 20px 70px;
  }
  .banner-content.align-right {
    margin-left: 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero-half {
    min-height: 70vh;
    padding: 120px 20px 70px;
  }
}
@media (max-width: 640px) {
  .hero-banner {
    min-height: 65vh;
    padding: 110px 16px 60px;
  }
  .banner-content h1,
  .banner-content h2 {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }
  .banner-content p {
    font-size: 1rem;
  }
  .hero-half {
    min-height: 65vh;
    padding: 110px 16px 60px;
  }
}
.reviews-background {
  width: 100%;
  min-height: 100vh;
  padding: 180px 24px 140px;
  background:
    radial-gradient(120% 80% at 12% 12%, rgba(37, 99, 235, 0.12), transparent 55%),
    radial-gradient(90% 75% at 85% 0%, rgba(14, 165, 234, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #f1f4fb 100%);
}
.reviews-hero {
  max-width: 1180px;
  margin: 0 auto 70px auto;
  background: rgba(255,255,255,0.98);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.reviews-intro .eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1d4ed8;
  font-weight: 700;
}
.reviews-intro h1 {
  font-size: clamp(2.2rem, 3vw, 3.3rem);
  margin: 14px 0 10px;
  color: #0b1630;
  letter-spacing: -0.01em;
}
.reviews-intro p {
  color: #425166;
  line-height: 1.7;
  font-size: 1.05rem;
}
.review-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b1630 0%, #102041 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(13, 24, 54, 0.35);
}
.summary-label {
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0;
}
.summary-score {
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 800;
}
.summary-stars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.summary-stars span {
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: #fbbf24;
}
.summary-count {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}
.review-form {
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.96) 0%, rgba(241, 245, 255, 0.96) 100%);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.review-form h2 {
  margin: 0;
  color: #0b1630;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.review-form-info {
  margin: -4px 0 6px 0;
  color: #475467;
  font-size: 0.95rem;
}
.review-form label {
  font-size: 1rem;
  color: #0b1630;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-form input,
.review-form select,
.review-form textarea {
  border-radius: 14px;
  border: 1px solid #d6dbe7;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.review-form input:hover,
.review-form select:hover,
.review-form textarea:hover {
  border-color: #99a7c2;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.12);
}
.review-form textarea {
  min-height: 150px;
  resize: vertical;
}
.review-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #0f172a;
}
.review-checkbox input {
  width: auto;
  margin-top: 4px;
}
.review-feedback {
  font-size: 0.95rem;
  color: #4b5563;
  margin: -4px 0 6px 0;
  min-height: 1.2em;
}
.review-feedback[data-state="error"] {
  color: #b42318;
}
.review-feedback[data-state="success"] {
  color: #047857;
}
.hp-field {
  display: none !important;
}
.review-legal {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: -2px;
  line-height: 1.5;
}
.review-form .cta-button {
  align-self: flex-start;
  padding: 12px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0ea5ea 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 30px rgba(14, 165, 234, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-form .cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(14, 165, 234, 0.3);
}
.reviews-list-section {
  max-width: 1180px;
  margin: 0 auto;
}
.reviews-list-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 26px;
}
.reviews-list-header h2 {
  margin: 0;
  color: #0b1630;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
.reviews-list-header p {
  margin: 0;
  color: #475467;
}
.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 24px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card .review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.review-name {
  font-weight: 700;
  color: #0b1630;
  margin: 0;
  font-size: 1.05rem;
}
.review-date {
  margin: 0;
  font-size: 0.92rem;
  color: #70819b;
}
.review-rating {
  font-size: 1.15rem;
  color: #fbbf24;
  letter-spacing: 0.24em;
}
.summary-stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f5c200;
}
.review-message {
  margin: 0;
  color: #425166;
  line-height: 1.6;
  font-size: 1rem;
}
.review-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 42px;
  border-radius: 22px;
  background: rgba(255,255,255,0.95);
  border: 1px dashed #94a3b8;
  color: #475467;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
@media (max-width: 1100px) {
  .reviews-hero {
    grid-template-columns: 1fr;
    padding: 42px;
  }
}
@media (max-width: 640px) {
  .reviews-hero {
    padding: 28px;
  }
  .reviews-background {
    padding: 150px 16px 90px;
  }
  .reviews-list-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .review-form .cta-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Responsive header/footer */
@media (max-width: 1024px) {
  body {
    padding-top: 140px;
  }
  main {
    padding-top: 120px;
  }
  header {
    height: 130px;
  }
  .logo {
    width: 110px;
    top: 12px;
  }
  nav ul {
    gap: 48px;
    padding: 0 24px 0 180px;
    height: 130px;
  }
  nav ul li a, .dropdown-parent {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 130px;
  }
  main {
    padding-top: 40px;
  }
  header {
    position: sticky;
    height: auto;
    padding: 12px 16px 18px;
  }
  .logo {
    position: static;
    width: 100px;
    margin-bottom: 10px;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: auto;
    width: 100%;
  }
  nav ul li a, .dropdown-parent {
    font-size: 17px;
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .dropdown li a {
    padding: 6px 0;
  }
  footer {
    position: relative;
  }

  header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 16px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .logo {
    position: absolute;
    top: 12px;
    right: 16px;
    left: auto;
    width: 120px;
    z-index: 1100;
  }
  nav ul li {
    width: 100%;
  }

  .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-img {
  width: 110px;
  height: auto;
}
}

/* Override mobile header/nav/footer to keep menu clear of logo */
@media (max-width: 768px) {
  header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 16px 16px 20px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .logo {
    position: absolute;
    top: 12px;
    right: 16px;
    left: auto;
    width: 110px;
    z-index: 1100;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px 14px 14px;
    padding-right: 150px; /* leave space so logo doesn’t overlap links */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: auto;
    width: 100%;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a, .dropdown-parent {
    font-size: 17px;
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .dropdown li a {
    padding: 6px 0;
  }
  footer {
    position: relative;
  }
  .footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: none;
  margin: 0;
  padding: 0 12px;
}
  .footer-logos {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-img {
    width: 90px;
    height: auto;
  }
  .cookie-banner {
    width: min(92vw, 900px);
    padding: 28px 24px;
  }
}

/* Final mobile overrides to keep logo clear of menu on all pages */
@media (max-width: 780px) {
  body {
    padding-top: 0;
    background: #fff;
  }
  header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 12px 14px;
    height: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1200;
    background: rgba(255,255,255,0.98);
  }
  .logo {
    position: static !important;
    align-self: flex-end !important;
    margin: 0 0 6px auto !important;
    width: 90px !important;
    height: auto !important;
    z-index: 1300;
  }
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    width: 100%;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a,
  .dropdown-parent {
    font-size: 17px;
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .dropdown li a {
    padding: 6px 0;
  }
  footer {
    position: relative;
    width: 100%;
    padding: 20px 16px;
  }
  .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
  .footer-img {
    width: 110px;
    height: auto;
  }
  main {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }
  .form-card,
  .wizard-header,
  .wizard-progress,
  .wizard-actions,
  .wizard-meta,
  .reviews-hero,
  .reviews-list-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .reviews-background {
    padding-left: 0;
    padding-right: 0;
  }
  .reviews-hero {
    border-radius: 0;
  }
  .background-image-over-ons,
  .background-image-airco-onderhoud,
  .background-image-aircos,
  .background-image-airco-check,
  .background-image-warmtepompen,
  .background-image-lucht-water,
  .background-image-lucht-lucht,
  .background-image-hybride-warmtepompen,
  .reviews-background {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }
}









