:root {
  --green: #1f8f3a;
  --green-dark: #11662c;
  --green-soft: #d9f2e2;
  --blue: #193f78;
  --blue-dark: #102a52;
  --blue-soft: #dcecff;
  --orange: #ff7a26;
  --cream: #f6fbff;
  --cream-strong: #e7f4ff;
  --ink: #10223f;
  --muted: #536782;
  --card-bg: rgba(255, 255, 255, 0.82);
  --shadow: 0 22px 70px rgba(25, 63, 120, 0.13);
}

.detail-page {
  margin: 8px auto 28px;
  padding: 42px clamp(20px, 6vw, 80px);
  background: #fff;
  border-radius: 14px;
  color: var(--blue);
}
.page-title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding-bottom: 30px;
  font: 700 clamp(1.5rem, 3vw, 2rem)/1.3 "Ink Free", "Segoe Print", Verdana, sans-serif;
  text-align: center;
}
.page-section { display: flow-root; margin: 0 0 24px; }
.page-section p { margin: 0 0 20px; }
.page-section h2, .page-cards h2 {
  margin: 0 0 6px;
  font: 700 1.05rem/1.5 Verdana, sans-serif;
  color: var(--green-dark);
}
.page-section figure { float: left; width: 26%; margin: 0 24px 12px 0; }
.page-section figure img { width: 100%; height: auto; }
.page-section figcaption { font-size: .85rem; font-style: italic; }
[data-page="vve"] .page-section:first-child figure,
[data-page="makelaar"] .page-section:first-child figure { float: right; margin: 0 0 12px 24px; }
.page-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.page-cards:empty { display: none; }
.page-cards .service-card { background: #fcfaf4; box-shadow: none; }
.page-cards .service-card:nth-child(2)::before { border-color: var(--green); }
.page-cards .service-card:nth-child(2)::after { border-top-color: var(--green); }
.profile-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.profile-link img { width: 32px; height: 32px; }
.profile-link:hover { text-decoration: underline; }
.contact-page .contact-form { max-width: 650px; margin: auto; box-shadow: none; }
[data-cms] { white-space: pre-line; }
@media (max-width: 640px) {
  .detail-page { padding: 28px 20px; }
  .page-title { margin-bottom: 30px; }
  .page-cards { grid-template-columns: 1fr; }
  .page-section figure,
  [data-page="vve"] .page-section:first-child figure,
  [data-page="makelaar"] .page-section:first-child figure {
    float: none; width: min(240px, 100%); margin: 0 auto 20px;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(31, 143, 58, 0.11), transparent 26rem),
    linear-gradient(180deg, #f7fcff 0%, #edf7ff 46%, #f8fcff 100%);
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

button.button {
  border: 0;
  cursor: pointer;
}

.site-header,
main,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 0 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: auto;
  height: 96px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: clamp(12px, 2vw, 30px);
  align-items: center;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  font-size: 0.88rem;
  color: var(--blue);
  padding: 12px 18px 7px 0;
}

.main-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 24px;
  border-right: 2px solid var(--green);
  border-top: 2px solid var(--green);
  border-top-right-radius: 7px;
  opacity: 0.82;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 25px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--green);
  opacity: 0.82;
  transform: translateY(-2px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav .active::before,
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .active::after {
  opacity: 1;
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before,
.main-nav .active::before {
  transform: translateY(0);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav .active::after {
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(47, 95, 31, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 14px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.main-nav .active,
.text-link,
.service-card .service-more {
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #26a64a, var(--green-dark));
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.14), 0 12px 26px rgba(35, 73, 24, 0.2);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1.32fr);
  min-height: 500px;
  overflow: hidden;
  border-radius: 0 28px 28px 74px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), var(--blue-soft));
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::after {
  inset: 0 auto 0 0;
  width: 47%;
  background: linear-gradient(90deg, #f7fcff 0%, rgba(247, 252, 255, 0.94) 55%, rgba(247, 252, 255, 0) 100%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 62px 20px 62px 46px;
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--blue);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 365px;
  margin: 0 0 30px;
  font-size: 1.05rem;
}

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

.intro-section {
  position: relative;
  display: grid;
  grid-template-columns: 230px 1fr 270px;
  align-items: center;
  gap: 50px;
  padding: 34px 78px 26px;
}

.portrait {
  width: 230px;
  aspect-ratio: 1;
  border-radius: 14px;
  object-fit: cover;
  object-position: 68% center;
}

h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-family: "Ink Free", "Segoe Print", Verdana, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.intro-copy p {
  max-width: 560px;
  margin: 0 0 18px;
}

.text-link,
.service-card .service-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.intro-section blockquote,
.testimonial-grid blockquote,
.contact-strip,
.service-card,
.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 247, 255, 0.72)),
    var(--card-bg);
  box-shadow: 0 16px 42px rgba(25, 63, 120, 0.09);
}

.intro-section blockquote {
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 34px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 1.03rem;
}

blockquote > span:first-child {
  display: block;
  color: var(--green);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.8;
}

cite {
  display: block;
  margin-top: 14px;
  color: var(--green);
  font-family: "Ink Free", "Segoe Print", Verdana, sans-serif;
  font-size: 2rem;
  font-style: italic;
}

.services,
.benefits,
.testimonials {
  padding: 34px 78px 20px;
  text-align: center;
}

.services h2,
.benefits h2,
.testimonials h2 {
  display: inline-block;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 30px;
}

.card-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
  text-align: left;
}

.service-card {
  position: relative;
  overflow: visible;
  padding: 28px 26px 24px;
  border-radius: 12px;
  border: 1px solid rgba(25, 63, 120, 0.08);
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 16px 42px rgba(25, 63, 120, 0.08);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before,
.intro-section blockquote::before,
.service-detail::before,
.testimonial-grid blockquote::before {
  content: "";
  position: absolute;
  inset: -2px -2px 0 0;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  border-top-right-radius: 26px;
  pointer-events: none;
  z-index: 1;
}

.service-card::after,
.intro-section blockquote::after,
.service-detail::after,
.testimonial-grid blockquote::after {
  content: "";
  position: absolute;
  right: -8.5px;
  bottom: -3px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 11px solid var(--blue);
  pointer-events: none;
  z-index: 1;
}

.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 18px 38px rgba(25, 63, 120, 0.15);
  outline: 0;
  transform: translateY(-3px);
}

.service-card.highlight {
  background: linear-gradient(135deg, rgba(239, 255, 244, 0.95), rgba(255, 255, 255, 0.86));
}

.service-card.is-coming {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 242, 0.8));
}

.service-card.highlight::before,
.service-detail::before,
.testimonial-grid blockquote.is-featured::before {
  border-top-color: var(--green);
  border-right-color: var(--green);
}

.service-card.highlight::after,
.service-detail::after,
.testimonial-grid blockquote.is-featured::after {
  border-top-color: var(--green);
}

.icon,
.benefit-row span,
.mail-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 9px 25px rgba(47, 95, 31, 0.14);
  font-size: 2rem;
  font-weight: 700;
}

.service-card .icon {
  overflow: hidden;
  padding: 12px;
}

.service-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlight .icon,
.highlight h3,
.highlight .service-more {
  color: var(--green-dark);
}

.service-card h3,
.benefit-row h3 {
  margin: 18px 0 8px;
  color: var(--blue);
  font-size: 1.15rem;
}

.service-card p,
.benefit-row p {
  margin: 0 0 18px;
}

.service-detail {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 1fr 180px;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(47, 95, 31, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  text-align: left;
  box-shadow: 0 14px 36px rgba(25, 63, 120, 0.1);
}

.service-detail .eyebrow,
.contact-form .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail h3 {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 1.35rem;
}

.service-detail p:not(.eyebrow) {
  margin: 0;
}

.service-detail-image {
  grid-row: 2 / span 2;
  grid-column: 2;
  width: 180px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 63, 120, 0.1);
}

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
  text-align: left;
}

.benefit-row article {
  display: grid;
  grid-template-columns: 66px 1fr;
  column-gap: 18px;
  align-items: center;
  border-right: 1px solid rgba(25, 63, 120, 0.14);
}

.benefit-row article:last-child {
  border-right: 0;
}

.benefit-row span {
  grid-row: span 2;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 1.6rem;
}

.benefit-row h3,
.benefit-row p {
  margin: 0;
}

.testimonial-grid blockquote {
  position: relative;
  overflow: visible;
  margin: 0;
  min-height: 140px;
  padding: 26px 30px;
  border-radius: 10px;
  border: 1px solid rgba(25, 63, 120, 0.08);
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.testimonial-grid blockquote.is-featured {
  opacity: 1;
  transform: translateY(-3px);
}

.testimonial-grid cite {
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 800;
}

.centered {
  justify-content: center;
  margin-top: 16px;
}

.testimonial-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.testimonial-controls button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 16px;
}

.testimonial-controls span {
  min-width: 48px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.contact-strip {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 22px;
  margin: 28px auto 22px;
  padding: 22px 34px;
  border-radius: 16px;
}

.contact-strip h2,
.contact-strip p {
  margin: 0;
}

.mail-icon {
  background: linear-gradient(180deg, #2db456, var(--green-dark));
  color: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1.4fr auto;
  gap: 36px;
  margin-bottom: 28px;
  padding: 34px 76px;
  border-radius: 0 0 28px 28px;
}

.site-footer h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.88rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 7px;
  font-size: 0.86rem;
}

.footer-logo {
  align-self: start;
}

.footer-logo img {
  height: 92px;
}

.linkedin {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.linkedin img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-modal, .service-modal {
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
}

.contact-modal::backdrop, .service-modal::backdrop {
  background: rgba(17, 22, 15, 0.45);
  backdrop-filter: blur(4px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 18px;
  background: #f7fcff;
  box-shadow: 0 30px 80px rgba(17, 22, 15, 0.22);
}

.form-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.form-result .contact-form {
  width: min(560px, 100%);
}

.form-result h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.12;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note[hidden] {
  display: none;
}

.contact-form h2 {
  margin-bottom: 0;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(47, 95, 31, 0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 95, 31, 0.13);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  cursor: pointer;
  font-size: 1.4rem;
}

.form-note {
  margin: 0;
  border-radius: 10px;
  background: #eaf7ef;
  color: var(--green-dark);
  font-weight: 700;
  padding: 12px 14px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .intro-section,
  .contact-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    padding: 44px 34px 10px;
  }

  .hero img {
    height: 410px;
  }

  .intro-section,
  .services,
  .benefits,
  .testimonials {
    padding-inline: 16px;
  }

  .testimonial-grid,
  .benefit-row {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-detail-image {
    grid-column: 1;
    grid-row: auto;
    width: min(220px, 100%);
  }

  .benefit-row article {
    border-right: 0;
  }
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .logo img {
    height: 82px;
  }

  .menu-toggle {
    grid-column: 1 / -1;
    display: inline-flex;
    justify-content: center;
    justify-self: end;
    order: 2;
    width: 100%;
  }

  .menu-toggle span {
    display: none;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: repeat(2, max-content);
    justify-content: flex-start;
    gap: 12px 16px;
    order: 4;
  }

  .site-header.nav-open .main-nav {
    display: grid;
  }

  .main-nav a {
    font-size: 0.9rem;
  }

  .hero {
    border-radius: 0 18px 18px 44px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 3vw, 2rem);
  }

  .hero img {
    height: 310px;
  }

  .portrait {
    width: 100%;
  }

  .contact-strip {
    padding: 22px;
  }

  .contact-strip .button {
    width: 100%;
  }

  .contact-form {
    padding: 26px 20px 22px;
  }

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

[hidden] { display: none !important; }

.header-energy-label {
  width: clamp(64px, 7vw, 96px);
  flex: 0 0 auto;
  border-radius: 10px;
}

.services h2::after,
.benefits h2::after,
.testimonials h2::after,
.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 44' preserveAspectRatio='none'%3E%3Cpath d='M3 40 C120 3 345 -2 477 6' fill='none' stroke='%231f8f3a' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.service-card {
  display: flex;
  flex-direction: column;
  cursor: default;
}

.service-card .service-more {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.service-more:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
  border-radius: 2px;
}

.service-modal {
  background: var(--cream);
  max-height: calc(100dvh - 40px);
}

.service-detail {
  grid-template-columns: 1fr;
  margin: 0;
  padding: 46px 32px 32px;
}

.service-detail::before,
.service-detail::after { display: none; }

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

@media (max-width: 640px) {
  .header-energy-label {
    grid-column: 2;
    grid-row: 1;
    width: 82px;
  }
  .hero .button {
    white-space: normal;
    text-align: center;
    padding: 12px 20px;
  }
}
