/* ==================================================================

  Van Waveren Website
  style.css

  INHOUD

  1. Reset & basis
  2. Header
  3. Algemene componenten
  4. Homepage
     4.1 Hero
     4.2 Hero tekst
     4.3 Hero statistiekkaarten
     4.4 Knoppen
     4.5 Dienstenblok
     4.6 Dienstenkaarten
  5. Contactpagina
     5.1 Contact intro
     5.2 Contactkaarten
     5.3 Contact iconen
     5.4 Contactknoppen
  6. Footer
  7. Responsive tablet
  8. Responsive mobiel

================================================================== */


/* ==========================================================
   1. RESET & BASIS
   ========================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

:root {
  --red: #d81818;
  --red-dark: #b91414;
  --gold: #b7832f;
  --dark: #151922;
  --text: #4b5563;
  --light: #f4f5f7;
  --white: #ffffff;
  --border: #e7e7e7;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --container: 1220px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
  z-index: 50;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp i {
  font-size: 28px;
  line-height: 1;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: #1cb457;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.26);
}

@media (min-width: 641px) {
  .floating-whatsapp {
    overflow: visible;
  }

  .floating-whatsapp::after {
    content: "Chat via WhatsApp";
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    white-space: nowrap;
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .floating-whatsapp:hover,
  .floating-whatsapp:focus-visible {
    transform: translateY(-2px) scale(1.08);
  }

  .floating-whatsapp:hover::after,
  .floating-whatsapp:focus-visible::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}


/* ==========================================================
   2. HEADER
   ========================================================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  transition: padding 0.2s ease, box-shadow 0.2s ease;
}

.topbar {
  width: min(var(--container), calc(100% - 40px));
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active:not(.nav-button) {
  background: #f1f2f4;
  color: var(--red);
}

.main-nav .nav-button {
  background: var(--red);
  color: var(--white);
  padding-inline: 20px;
}

.main-nav .nav-button:hover,
.main-nav .nav-button.active {
  background: var(--red-dark);
  color: var(--white);
}


/* ==========================================================
   3. ALGEMENE COMPONENTEN
   ========================================================== */

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

h1 {
  max-width: 850px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.intro {
  max-width: 680px;
  color: var(--text);
  font-size: 18px;
}


/* ==========================================================
   4. HOMEPAGE
   ========================================================== */


/* 4.1 Hero - bovenste gedeelte homepage */

.hero {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto 0;
  padding: 58px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 24, 24, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: center;
}


/* 4.2 Hero tekst links */

.hero-content h1 {
  margin-bottom: 16px;
}

.hero-content .intro {
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 4px 0 6px;
}

.hero-values {
  margin-top: 6px;
}

.hero-values-title {
  margin-bottom: 8px;
}

.hero-values-list {
  list-style: none;
  display: grid;
  gap: 6px;
  padding-left: 0;
}

.hero-values-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-weight: 700;
}

.hero-values-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
}


/* 4.3 Hero statistiekkaarten rechts */

.hero-panel {
  display: grid;
  gap: 18px;
}

/* Algemene opmaak van beide kaarten */

.panel-card {
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Algemene tekstopmaak */

.panel-number {
  display: block;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.panel-text {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

/* ==========================================
   Kaart: Generaties
   Zwarte achtergrond
   ========================================== */

.panel-generaties {
  background: var(--dark);
}

.panel-generaties .panel-number,
.panel-generaties .panel-text {
  color: var(--white);
}

/* ==========================================
   Kaart: Sinds 1770
   Rode achtergrond
   ========================================== */

.panel-1770 {
  background: var(--red);
}

.panel-1770 .panel-number,
.panel-1770 .panel-text {
  color: var(--white);
}


/* 4.4 Knoppen */

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.22s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-light {
  background: #eef0f3;
  color: var(--dark);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}


/* 4.5 Waarom Van Waveren */

.why {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 0;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 16px;
}

.why-item {
  min-height: 64px;
  padding: 18px 20px;
  border: 1px solid #eeeeee;
  border-radius: 22px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  font-weight: 700;
}

.why-item i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(216, 24, 24, 0.10);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 14px;
}


/* 4.5 Dienstenblok */

.services {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 70px;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

#diensten-titel {
  scroll-margin-top: 128px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading p {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 6px;
}


/* 4.6 Dienstenkaarten */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 320px));
  justify-content: center;
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 28px 20px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: 0.22s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
  border-color: rgba(216, 24, 24, 0.25);
}

.icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(183, 131, 47, 0.08);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 900;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.card p {
  color: var(--text);
  font-size: 14px;
}


/* 4.7 Vertrouwde naam */

.legacy {
  width: min(var(--container), calc(100% - 40px));
  margin: -42px auto 70px;
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  overflow: hidden;
}

.legacy-copy {
  padding: 52px;
}

.legacy h2 {
  margin-bottom: 18px;
}

.legacy-lead {
  color: var(--dark);
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 22px;
}

.legacy-text p {
  color: var(--text);
  font-size: 17px;
  margin-bottom: 16px;
}

.legacy-text p:last-child {
  margin-bottom: 0;
}

.legacy-panel {
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  border-left: 8px solid var(--red);
  color: var(--white);
  padding: 46px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}

.legacy-year {
  display: block;
  color: var(--white);
  font-size: 76px;
  line-height: 0.95;
  font-weight: 900;
}

.legacy-panel-title {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legacy-panel p {
  margin-top: 16px;
  color: var(--light);
  font-size: 16px;
}

.legacy-values {
  display: grid;
  gap: 12px;
}

.legacy-value {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.legacy-value i {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* ==========================================================
   5. WARMTEPOMPENPAGINA
   ========================================================== */

.heat-hero,
.heat-explainer,
.heat-benefits,
.heat-cta {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.heat-hero {
  margin-top: 34px;
  padding: 48px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 24, 24, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 30px;
  align-items: center;
}

.heat-hero-copy .intro {
  margin-bottom: 30px;
}

.heat-side {
  display: grid;
  gap: 0;
  align-content: start;
}

.heat-image {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.heat-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.quote-card {
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.quote-card i {
  width: 66px;
  height: 66px;
  margin-bottom: 22px;
  border-radius: 20px;
  background: var(--red);
  display: grid;
  place-items: center;
  font-size: 30px;
}

.quote-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.quote-card p {
  color: var(--light);
  margin-bottom: 24px;
}

.quote-card .btn {
  width: 100%;
}

.heat-explainer,
.heat-benefits,
.heat-cta {
  margin-top: 28px;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.heat-explainer .intro {
  max-width: none;
  margin-bottom: 8px;
}

.heat-explainer .intro:last-of-type {
  margin-bottom: 0;
}

.heat-explainer .hero-actions {
  margin-top: 12px;
  justify-content: center;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.situation-card {
  border: 1px solid #eeeeee;
  border-radius: 28px;
  padding: 30px;
}

.situation-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.old-situation .situation-label {
  background: #6b7280;
}

.new-situation .situation-label {
  background: var(--red);
}

.situation-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.situation-card p {
  color: var(--text);
}

.simple-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.simple-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.warning-list i {
  color: var(--red);
  margin-top: 4px;
}

.setup-steps {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.setup-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
}

.setup-step > span {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.setup-step h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  min-height: 190px;
  border: 1px solid #eeeeee;
  border-radius: 24px;
  padding: 22px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-card i {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(183, 131, 47, 0.08);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.benefit-card h3 {
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.heat-cta {
  margin-bottom: 70px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.heat-cta h2 {
  margin-bottom: 12px;
}

.heat-cta p:not(.eyebrow) {
  max-width: 720px;
  color: var(--light);
  font-size: 17px;
}

.heat-cta .btn {
  flex: 0 0 auto;
}
/* ==========================================================
   5. WARMTEPOMPEN OVERZICHT
   ========================================================== */

.heat-models {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 0;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.models-shell {
  display: grid;
  gap: 24px;
}

.heat-model-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.brand-section {
  border: 1px solid #eeeeee;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(216, 24, 24, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
}

.brand-section--vaillant {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(183, 131, 47, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.brand-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  min-height: 108px;
}

.brand-header h3 {
  font-size: 22px;
  margin-top: 6px;
}

.brand-intro {
  max-width: 420px;
  color: var(--text);
  font-size: 15px;
}

.models-carousel {
  display: block;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.models-track {
  /* Use a simple block container and center the active card inside it. */
  display: block;
  overflow: visible;
  padding-bottom: 4px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  transition: none;
  position: relative;
  min-width: 0;
}

.models-track::-webkit-scrollbar {
  display: none;
}

.carousel-controls {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cbd2dc;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.carousel-dot:hover {
  background: #99a5b5;
}

.carousel-dot.active {
  width: 28px;
  background: var(--red);
}

.carousel-nav {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.carousel-nav:hover {
  background: var(--red-dark);
}

.model-card {
  --model-media-height: 320px;
  --model-media-radius: 28px;
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 24px;
  padding: 22px;
  display: none; /* hidden by default; .active shows it */
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.models-carousel,
.models-track,
.model-card {
  width: 100%;
}

.model-card.brand-section--vaillant {
  border-color: rgba(183, 131, 47, 0.45);
}

.model-card.active {
  display: flex;
}

@keyframes model-card-enter {
  from {
    opacity: 0;
    transform: translateX(12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes model-card-enter-next {
  from {
    opacity: 0;
    transform: translateX(26px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes model-card-enter-prev {
  from {
    opacity: 0;
    transform: translateX(-26px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.model-card.active.enter-from-next {
  animation: model-card-enter-next 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.model-card.active.enter-from-prev {
  animation: model-card-enter-prev 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.model-card-top h3 {
  font-size: 20px;
  margin: 0;
  overflow-wrap: anywhere;
}

.model-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  justify-items: stretch;
}

.model-card-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.model-card-top .model-label {
  justify-self: start;
}

.model-card-top h3 {
  width: 100%;
  margin: 0;
  text-align: left;
}

.model-card-media {
  display: block;
  width: 100%;
  height: var(--model-media-height);
  margin: 0;
  overflow: hidden;
  border-radius: var(--model-media-radius);
  clip-path: inset(0 round var(--model-media-radius));
}

.model-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  border-radius: var(--model-media-radius);
  clip-path: inset(0 round var(--model-media-radius));
}

.model-card-top .model-card-media {
  width: 100%;
}

.model-card-top .model-intro {
  width: 100%;
  margin: 0;
  text-align: left;
}

.model-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 24, 24, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.model-intro {
  color: var(--text);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.model-meta,
.model-values,
.model-footer {
  display: grid;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.model-meta > div,
.model-values > div,
.model-footer > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.model-meta span,
.model-values span,
.model-footer span {
  color: #6b7280;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.model-meta strong,
.model-values strong,
.model-footer strong {
  font-size: 14px;
  color: var(--dark);
  overflow-wrap: anywhere;
}

.model-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.model-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 14px;
}

.model-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
}

.model-actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
  justify-items: stretch;
  align-items: stretch;
}

.model-button {
  width: 100%;
  min-width: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #eef0f3;
  color: var(--dark);
}

.model-details {
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
  display: grid;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

/* Respect the HTML 'hidden' attribute for details so they stay collapsed
   unless explicitly shown via JS. This prevents author CSS from overriding
   the hidden state. */
.model-details[hidden] {
  display: none !important;
}

.detail-block {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 18px;
  padding: 14px 16px;
}

.detail-block h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--dark);
}

.detail-block p,
.detail-block span,
.detail-block strong {
  font-size: 14px;
  color: var(--text);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-grid strong {
  color: var(--dark);
  font-weight: 800;
}

.brand-placeholder {
  padding: 18px 20px;
  border-radius: 20px;
  background: #f7f7f7;
  color: var(--text);
  font-size: 14px;
}

.offer-section {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 70px;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.offer-form-card {
  background: linear-gradient(135deg, rgba(216, 24, 24, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid #eeeeee;
  border-radius: 28px;
  padding: 28px;
}

.offer-form {
  display: grid;
  gap: 18px;
}

/* Honeypot-veld staat in de HTML voor bots, maar blijft buiten beeld voor bezoekers. */
.honeypot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.offer-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  color: var(--dark);
}

.offer-form input,
.offer-form select,
.offer-form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  color: var(--dark);
  background: var(--white);
}

.offer-form textarea {
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
  flex: 0 0 auto;
}

.checkbox-row span {
  flex: 1;
}

.form-message {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f1f2f4;
  color: var(--dark);
  font-weight: 700;
}

.form-message.is-error {
  background: rgba(216, 24, 24, 0.12);
  color: var(--red-dark);
}

/* ==========================================================
   5. CONTACTPAGINA
   ========================================================== */


/* 5.1 Contact intro */

.contact-hero {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto 0;
  padding: 58px 34px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 24, 24, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-hero h1 {
  margin: 0 auto 18px;
}

.contact-hero .intro {
  margin: 0 auto;
}


/* 5.2 Contactkaarten */

.contact-grid {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  background: var(--white);
  border-radius: 40px;
  padding: 44px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.13);
}

.contact-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text);
  min-height: 54px;
}


/* 5.3 Contact iconen */

.contact-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
}

.contact-icon.whatsapp {
  background: #25d366;
}

.contact-icon.mail {
  background: var(--red);
}

.contact-icon.phone {
  background: var(--dark);
}


/* 5.4 Contactknoppen */

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: 0.22s ease;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.whatsapp-button {
  background: #25d366;
}

.mail-button {
  background: var(--red);
}

.phone-button {
  background: var(--dark);
}


/* ==========================================================
   6. NIEUWBOUW & HISTORIE PAGINA'S
   ========================================================== */

.page-hero {
  width: min(var(--container), calc(100% - 40px));
  margin: 34px auto 0;
  padding: 58px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 24, 24, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #fbfbfb 100%);
  box-shadow: var(--shadow);
}

.page-overview,
.page-cta {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 0;
  background: var(--white);
  border-radius: 40px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  background: linear-gradient(135deg, rgba(216, 24, 24, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid #eeeeee;
  border-radius: 28px;
  padding: 28px;
}

.info-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text);
}

.page-cta {
  margin-bottom: 70px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.page-cta h2 {
  margin-bottom: 12px;
}

.page-cta p:not(.eyebrow) {
  max-width: 720px;
  color: var(--light);
  font-size: 17px;
}

.page-cta .btn-light {
  background: var(--white);
  color: var(--dark);
}


/* ==========================================================
   7. FOOTER
   ========================================================== */

footer {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: #6b7280;
  text-align: center;
  font-size: 14px;
}


/* ==========================================================
   8. RESPONSIVE - TABLET
   ========================================================== */
/* Tablet:
   - Header komt onder elkaar
   - Hero wordt één kolom
   - Diensten worden twee kolommen
   - Contactkaarten worden één kolom
*/

@media (max-width: 1050px) {
  .topbar {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .brand img {
    width: 320px;
  }

  .main-nav {
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy {
    grid-template-columns: 1fr;
  }

  .legacy-panel {
    border-left: 0;
    border-top: 8px solid var(--red);
  }

  .heat-hero,
  .situation-grid,
  .heat-cta {
    grid-template-columns: 1fr;
  }

  .heat-cta {
    align-items: flex-start;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .heat-models {
    padding: 28px;
  }

  .heat-model-columns {
    grid-template-columns: 1fr;
  }

  .brand-header {
    flex-direction: column;
    min-height: 0;
  }

  .card:last-child {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================
   9. RESPONSIVE - MOBIEL
   ========================================================== */
/* Mobiel:
   - Kleinere header
   - Hero volledig onder elkaar
   - Kaarten worden één kolom
   - Knoppen worden volledige breedte
*/

@media (max-width: 640px) {
  .topbar,
  .hero,
  .why,
  .services,
  .legacy,
  .heat-hero,
  .heat-explainer,
  .heat-benefits,
  .heat-cta,
  .contact-hero,
  .contact-grid,
  footer {
    width: calc(100% - 24px);
  }

  .topbar {
    min-height: auto;
    padding: 12px 0;
    overflow: visible;
    transition:
      min-height 0.25s ease,
      padding 0.3s ease,
      gap 0.3s ease;
  }

  .brand img {
    width: 270px;
    height: auto;
    display: block;
  }

  .site-header.is-scrolled {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  }

  .site-header .brand {
    display: block;
    max-height: 180px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
    transform: translateY(0);
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      transform 0.3s ease,
      visibility 0s linear 0s;
  }

  .site-header.is-scrolled .brand {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      max-height 0.3s ease,
      opacity 0.18s ease,
      transform 0.3s ease,
      visibility 0s linear 0.3s;
  }

  .site-header.is-scrolled .topbar {
    min-height: 0;
    padding: 6px 0;
    gap: 0;
  }

  .site-header.is-scrolled .main-nav {
    width: 100%;
    justify-content: center;
  }

  .main-nav {
    gap: 5px;
  }

  .main-nav a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .main-nav .nav-button {
    padding-inline: 14px;
  }

  .hero,
  .contact-hero,
  .page-hero {
    margin-top: 18px;
    padding: 34px 22px;
    border-radius: 0 0 28px 28px;
  }

  h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 28px;
  }

  .intro {
    font-size: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-top: 2px;
  }

  .hero-panel {
    display: none;
  }

  .panel-card {
    padding: 12px 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
  }

  .panel-number,
  .panel-text {
    display: inline;
    margin-top: 0;
    line-height: 1.2;
  }

  .panel-number {
    font-size: 24px;
  }

  .panel-text {
    font-size: 14px;
    font-weight: 700;
  }

  .panel-1770 .panel-number {
    order: 1;
  }

  .panel-1770 .panel-text {
    order: 2;
  }

  #diensten-titel {
    scroll-margin-top: 88px;
  }

  .why {
    margin-top: 18px;
    padding: 22px;
    border-radius: 28px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .page-overview,
  .page-cta {
    margin-top: 18px;
    padding: 22px;
    border-radius: 28px;
  }

  .heat-hero,
  .heat-explainer,
  .heat-benefits,
  .heat-cta,
  .heat-models {
    margin-top: 18px;
    padding: 22px;
    border-radius: 28px;
  }

  .heat-hero {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .heat-image {
    border-radius: 24px;
  }

  .situation-grid,
  .benefit-grid,
  .models-track {
    grid-template-columns: 1fr;
  }

  .heat-model-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .situation-card,
  .benefit-card,
  .model-card,
  .brand-section,
  .offer-form-card,
  .offer-section {
    border-radius: 22px;
  }

  .heat-cta {
    margin-bottom: 50px;
    flex-direction: column;
    align-items: stretch;
  }

  .heat-cta .btn {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

.models-carousel {
  display: block;
  width: 100%;
}

.carousel-controls {
  margin-bottom: 18px;
  gap: 12px;
}

.carousel-controls .carousel-nav {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.models-track {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
}

  .model-card.active {
    animation: none;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .model-card {
    --model-media-height: auto;
    --model-media-radius: 24px;
    width: 100%;
  }

  .model-card-top {
    justify-items: stretch;
  }

  .model-card-media {
    height: auto;
  }

  .model-card-media img {
    height: auto;
    max-height: none;
  }

  .legacy {
    margin-top: -52px;
    margin-bottom: 50px;
    border-radius: 28px;
  }

  .legacy-copy,
  .legacy-panel {
    padding: 28px 22px;
  }

  .legacy-lead {
    font-size: 20px;
  }

  .legacy-text p,
  .legacy-panel p {
    font-size: 16px;
  }

  .legacy-year {
    font-size: 58px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card:last-child {
    grid-column: auto;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp i {
    font-size: 26px;
  }

  .contact-grid {
    margin-top: 18px;
    gap: 18px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .page-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-cta .btn {
    width: 100%;
  }

  .contact-card {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .contact-icon {
    width: 76px;
    height: 76px;
    font-size: 34px;
    border-radius: 22px;
  }

  .contact-button,
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}