:root {
  --green-950: #0f2d23;
  --green-900: #143d2f;
  --green-700: #1f5a45;
  --green-100: #dcebe3;
  --sage: #9fb8aa;
  --stone-950: #20241f;
  --stone-700: #4f574f;
  --stone-500: #757d73;
  --stone-100: #f3f5f2;
  --warm-100: #f7f3ed;
  --line: #dde4dc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(17, 44, 34, 0.12);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--stone-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.container {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin-inline: auto;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--green-900);
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 228, 220, 0.75);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(15, 45, 35, 0.08);
}

.nav {
  min-height: var(--header-height);
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-900);
  font-weight: 800;
  line-height: 1.15;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-900);
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--stone-700);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-menu > a:not(.button) {
  position: relative;
  padding: 10px 0;
}

.nav-menu > a:not(.button)::after {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background: var(--green-700);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-menu > a:hover::after,
.nav-menu > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-900);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 99px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--green-900);
  border-radius: 7px;
  background: var(--green-900);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 14px 28px rgba(20, 61, 47, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible {
  background: var(--green-700);
  box-shadow: 0 18px 34px rgba(20, 61, 47, 0.22);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-900);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
  color: var(--green-900);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 88px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--warm-100);
  padding: clamp(86px, 11vw, 128px) 0 clamp(70px, 8vw, 104px);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/hero-onderhoud.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 36%, rgba(255, 255, 255, 0.58) 66%, rgba(255, 255, 255, 0.36) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 243, 237, 0.72));
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--green-950);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6vw, 4.9rem);
}

.mobile-line {
  display: inline;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 28px;
  color: var(--stone-700);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.usp-strip {
  border-block: 1px solid var(--line);
  background: var(--white);
}

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

.usp-item {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
  color: var(--green-950);
}

.usp-item:last-child {
  border-right: 1px solid var(--line);
}

.usp-item span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 7px var(--green-100);
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-muted {
  background: var(--stone-100);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.85fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.footer p {
  color: var(--stone-700);
}

.section-copy p,
.contact-copy p {
  font-size: 1.04rem;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-card,
.service-card,
.project-card,
.price-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(32, 36, 31, 0.04);
}

.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding: 22px;
}

.value-card h3,
.value-card p {
  grid-column: 2;
}

.value-card p,
.service-card p,
.project-card p {
  margin-bottom: 0;
  color: var(--stone-700);
}

.icon-badge,
.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green-100);
  color: var(--green-900);
}

.icon-badge {
  grid-row: 1 / 3;
}

.icon-badge svg,
.service-icon svg {
  width: 22px;
  height: 22px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.projects-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.projects-heading > div:first-child {
  max-width: 720px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(31, 90, 69, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 18px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--green-700);
  background: var(--green-100);
  transform: translateY(-2px);
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.project-slider {
  overflow: hidden;
}

.project-track {
  display: flex;
  gap: 18px;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-card {
  flex: 0 0 calc((100% - 36px) / 3);
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-content {
  padding: 22px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c6d1c8;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.slider-dot[aria-current="true"] {
  background: var(--green-900);
  transform: scale(1.24);
}

.price-panel {
  overflow: hidden;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
  gap: 18px;
  align-items: center;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: var(--stone-700);
}

.price-row strong {
  color: var(--green-900);
  text-align: right;
}

.section-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.section-action p {
  max-width: 520px;
  margin: 0;
  color: var(--stone-700);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(20, 61, 47, 0.04), rgba(255, 255, 255, 0)),
    var(--white);
}

.contact-centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-copy {
  width: min(100%, 720px);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin: 28px auto 22px;
  padding: 26px;
  border-top: 4px solid var(--green-900);
  border-radius: var(--radius);
  background: var(--stone-100);
  color: var(--stone-700);
  font-style: normal;
  text-align: center;
}

.contact-details strong {
  color: var(--green-950);
}

.contact-details a:hover {
  color: var(--green-700);
}

.whatsapp-button {
  margin-inline: auto;
  width: fit-content;
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 8px;
}

.footer p {
  max-width: 470px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer nav {
  display: flex;
  max-width: 540px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 0.94rem;
}

.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

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

  .project-card {
    flex-basis: calc((100% - 18px) / 2);
  }

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

  .usp-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 4px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(15, 45, 35, 0.12);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu .button {
    margin-top: 10px;
    justify-self: start;
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 50px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.89) 62%, rgba(247, 243, 237, 0.74) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.52));
  }

  .hero-content {
    max-width: 620px;
  }

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

  .projects-heading,
  .section-action {
    align-items: start;
    flex-direction: column;
  }

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

  .footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand span:last-child {
    max-width: 168px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.5vw, 2.45rem);
    line-height: 1.1;
  }

  .mobile-line {
    display: block;
  }

  .hero-content {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-copy {
    max-width: 330px;
    font-size: 0.94rem;
  }

  .hero-actions {
    max-width: 330px;
  }

  .hero-actions,
  .section-action {
    align-items: stretch;
  }

  .hero-actions .button,
  .section-action .button,
  .whatsapp-button {
    width: 100%;
  }

  .usp-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .usp-item,
  .usp-item:last-child,
  .usp-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .project-card {
    flex-basis: 100%;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-row strong {
    text-align: left;
  }

  .contact-details {
    padding: 22px 18px;
  }
}
