/* Kleuren uit het bestaande thema: groen #009534 en #00a94f, grijs #636363 en #363636 */
:root {
  --groen: #009534;
  --groen-licht: #00a94f;
  --groen-donker: #007228;
  --groen-zacht: #eaf6ee;
  --antraciet: #363636;
  --grijs: #636363;
  --lijn: #dfe5e0;
  --zacht: #f5f8f5;
  --wit: #fff;
  --radius: 14px;
  --radius-groot: 26px;
  --schaduw: 0 18px 40px -22px rgba(0, 70, 25, 0.4);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--antraciet);
  background: var(--wit);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--antraciet);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--groen);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--groen-donker);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--groen-licht);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1140px, 100% - 40px);
  margin-inline: auto;
}

.smal {
  max-width: 720px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--wit);
}

.skip:focus {
  left: 8px;
}

.icoon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.label {
  margin-bottom: 10px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--groen);
}

/* Knoppen */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}

.knop:hover {
  transform: translateY(-2px);
}

.knop-groen {
  background: var(--groen);
  color: var(--wit);
}

.knop-groen:hover {
  background: var(--groen-donker);
}

.knop-licht {
  background: var(--wit);
  color: var(--antraciet);
  border-color: var(--lijn);
}

.knop-licht:hover {
  border-color: var(--groen);
}

.knop-wit {
  background: var(--wit);
  color: var(--groen-donker);
}

.knop-omlijnd {
  color: var(--wit);
  border-color: rgba(255, 255, 255, 0.6);
}

.knop-omlijnd:hover {
  border-color: var(--wit);
}

.tekstlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.tekstlink:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lijn);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
}

.logo img {
  width: 132px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu > ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu > ul > li > a,
.subknop {
  display: block;
  padding: 10px 15px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--antraciet);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.menu > ul > li > a:hover,
.menu > ul > li > a[aria-current='page'],
.subknop:hover,
.subknop.is-actief {
  background: var(--groen-zacht);
  color: var(--groen-donker);
}

.subknop::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 3px 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.heeft-sub {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.heeft-sub:hover .submenu,
.heeft-sub:focus-within .submenu,
.heeft-sub.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--antraciet);
  font-weight: 600;
  text-decoration: none;
}

.submenu a:hover,
.submenu a[aria-current='page'] {
  background: var(--groen-zacht);
  color: var(--groen-donker);
}

.menu .knop {
  padding: 11px 20px;
  white-space: nowrap;
}

.menuknop {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.menuknop span {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: var(--antraciet);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menuknop[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menuknop[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menuknop[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding-top: clamp(40px, 6vw, 76px);
  background: linear-gradient(180deg, var(--groen-zacht) 0%, var(--wit) 78%);
}

.hero-tekst {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hero-tekst > p:not(.label) {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: var(--grijs);
}

.hero-acties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.hero-foto {
  margin-top: clamp(32px, 5vw, 56px);
}

.hero-foto img {
  width: 100%;
  aspect-ratio: 1930 / 671;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--radius-groot);
  box-shadow: var(--schaduw);
}

/* Secties */
.sectie {
  padding-block: clamp(52px, 8vw, 92px);
}

.sectie-zacht {
  background: var(--zacht);
}

.sectiekop {
  max-width: 680px;
  margin-bottom: 34px;
}

/* Diensten */
.dienstkaarten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dienstkaart {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius-groot);
  background: var(--wit);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.dienstkaart:hover {
  transform: translateY(-5px);
  border-color: var(--groen);
  box-shadow: var(--schaduw);
}

.dienst-icoon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--groen-zacht);
  color: var(--groen);
  font-size: 1.6rem;
}

.dienstkaart strong {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.dienstkaart > span:not(.dienst-icoon) {
  color: var(--grijs);
}

.dienstkaart em {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--groen-donker);
}

.dienstkaart-groen {
  justify-content: center;
  border: 0;
  background: linear-gradient(140deg, var(--groen-licht), var(--groen) 55%, var(--groen-donker));
  color: var(--wit);
}

.dienstkaart-groen > span:not(.dienst-icoon),
.dienstkaart-groen em {
  color: var(--wit);
}

/* Stappen */
.stappen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stappen li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border-radius: var(--radius-groot);
  background: var(--wit);
  border: 1px solid var(--lijn);
}

.stap-nr {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--groen);
  color: var(--wit);
  font-weight: 800;
}

.stappen strong {
  font-size: 1.2rem;
}

.stappen li > span:last-child {
  color: var(--grijs);
}

/* Tweekolom */
.tweekolom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.tweekolom-foto img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-groot);
  box-shadow: var(--schaduw);
}

.tweekolom p {
  color: var(--grijs);
}

/* Oproep */
.oproep {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-groot);
  background: linear-gradient(130deg, var(--groen-licht), var(--groen) 50%, var(--groen-donker));
  color: #e6f6ec;
}

.oproep > div:first-child {
  flex: 1 1 320px;
  max-width: 540px;
}

.oproep h2 {
  color: var(--wit);
}

.oproep p {
  margin: 0;
}

.oproep-acties {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Paginakop */
.paginakop {
  padding-block: clamp(32px, 5vw, 60px);
  background: var(--groen-zacht);
}

.paginakop h1 {
  max-width: 18em;
  margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

.kruimels {
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--grijs);
}

.kruimels a {
  font-weight: 700;
  text-decoration: none;
}

/* Dienstpagina */
.inhoudraster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: clamp(32px, 5vw, 60px);
}

.tekst {
  font-size: 1.12rem;
}

.dienstfoto {
  margin: 0 0 28px;
}

.dienstfoto img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: var(--radius-groot);
}

.zijkant {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
}

.zijkaart {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius-groot);
  background: var(--wit);
}

.zijkaart h2 {
  margin: 0;
  font-size: 1.25rem;
}

.zijkaart p {
  margin: 0;
}

.zijkaart-groen {
  border: 0;
  background: linear-gradient(150deg, var(--groen-licht), var(--groen) 55%, var(--groen-donker));
  color: #e6f6ec;
}

.zijkaart-groen h2 {
  color: var(--wit);
}

.contactregel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  color: var(--wit);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contactregel:hover {
  background: rgba(255, 255, 255, 0.28);
}

.zijlinks li {
  border-bottom: 1px solid var(--lijn);
}

.zijlinks li:last-child {
  border-bottom: 0;
}

.zijlinks a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  color: var(--antraciet);
  font-weight: 700;
  text-decoration: none;
}

.zijlinks a:hover {
  color: var(--groen-donker);
}

.zijlinks .icoon {
  color: var(--groen);
}

/* Projecten en contact */
.fotorij {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.fotorij img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-groot);
}

.contactraster {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

.contactraster .zijkaart h2 {
  font-size: 1.5rem;
}

.contactraster .contactregel {
  font-size: 1.15rem;
}

/* Footer */
.footer {
  background: var(--antraciet);
  color: #c4c9c5;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-block: clamp(40px, 6vw, 60px);
}

.footer-naam {
  margin-bottom: 8px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--wit);
}

.footer h2 {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--groen-licht);
}

.footer a {
  color: var(--wit);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer li {
  margin-bottom: 6px;
}

.footer-onder {
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}

.belbalk {
  display: none;
}

/* Responsive */
@media (max-width: 920px) {
  .menuknop {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 10px 20px 22px;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
    box-shadow: var(--schaduw);
  }

  .menu.open {
    display: flex;
  }

  .menu > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .subknop {
    display: none;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .menu > ul > li > a,
  .submenu a {
    padding: 12px 8px;
    border-radius: 8px;
  }

  .submenu a {
    padding-left: 22px;
    color: var(--grijs);
  }

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

  .tweekolom,
  .inhoudraster,
  .contactraster {
    grid-template-columns: 1fr;
  }

  .zijkant {
    position: static;
  }

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

  .fotorij li:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding-bottom: 70px;
  }

  .header-inner {
    min-height: 76px;
  }

  .logo img {
    width: 108px;
  }

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

  .fotorij img {
    height: 180px;
  }

  .hero-acties .knop,
  .oproep-acties,
  .oproep-acties .knop {
    width: 100%;
  }

  .belbalk {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--lijn);
  }

  .belbalk .knop {
    padding: 12px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
