/* ==========================================================================
   Sierbestrating Groningen — stylesheet van de publieke website
   Opbouw: 1 variabelen · 2 basis · 3 componenten · 4 secties · 5 responsive
   ========================================================================== */

/* 1. Variabelen ---------------------------------------------------------- */
:root {
  --groen: #244b36;
  --groen-donker: #173425;
  --groen-diep: #102319;
  --groen-licht: #eaf1eb;
  --zand: #d8b56a;
  --zand-hover: #e7c879;
  --zand-diep: #b8934a;
  --antraciet: #242724;
  --grijs: #66706a;
  --grijs-licht: #8d968f;
  --lijn: #e4e9e4;
  --achtergrond: #f7f8f5;
  --wit: #ffffff;

  --radius: 14px;
  --radius-s: 8px;
  --schaduw: 0 10px 30px rgba(22, 42, 30, 0.10);
  --schaduw-hover: 0 18px 44px rgba(22, 42, 30, 0.16);
  --overgang: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --breedte: 1180px;
}

/* 2. Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--antraciet);
  background: var(--achtergrond);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--groen); }

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

h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; color: var(--groen-donker); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.22rem; }
p { color: var(--grijs); }

strong { color: var(--antraciet); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--groen-donker);
  color: var(--wit);
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--wit); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: min(var(--breedte), 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }

.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-tint { background: var(--groen-licht); }

.section-heading { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-heading p { font-size: 1.05rem; }
.section-footer { margin-top: 36px; text-align: center; }

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--groen);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow-light { color: var(--zand); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.empty-state {
  padding: 42px 20px;
  border: 1px dashed var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  text-align: center;
}

.muted-inline { color: var(--grijs-licht); }

/* 3. Componenten --------------------------------------------------------- */

/* Knoppen */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  background: var(--zand);
  color: #1f1c13;
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform var(--overgang), background var(--overgang), box-shadow var(--overgang), color var(--overgang);
}
.button:hover { transform: translateY(-2px); background: var(--zand-hover); color: #1f1c13; box-shadow: 0 8px 20px rgba(184, 147, 74, 0.32); }
.button:active { transform: translateY(0); }

.button-outline { border-color: rgba(255, 255, 255, 0.75); background: transparent; color: var(--wit); }
.button-outline:hover { background: var(--wit); color: var(--groen-donker); box-shadow: none; }

.button-dark { background: var(--groen-donker); color: var(--wit); }
.button-dark:hover { background: var(--groen); color: var(--wit); box-shadow: 0 8px 20px rgba(23, 52, 37, 0.28); }

.button-small { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.button-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--groen);
  font-weight: 700;
}
.link-arrow::after { content: "→"; transition: transform var(--overgang); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow-light { color: var(--zand); }
.link-arrow-light:hover { color: var(--zand-hover); }

/* Meldingen */
.flash-stack { padding-top: 22px; }
.alert {
  padding: 15px 20px;
  margin-bottom: 12px;
  border-left: 4px solid var(--groen);
  border-radius: var(--radius-s);
  background: var(--groen-licht);
  color: var(--groen-donker);
  font-weight: 600;
}
.alert-error { border-left-color: #b3261e; background: #fdecea; color: #7c1d16; }
.alert-success { border-left-color: #2e7d32; background: #e8f5e9; color: #1b5e20; }

/* Topbar */
.topbar {
  padding: 9px 0;
  background: var(--groen-donker);
  color: #e2ebe4;
  font-size: 0.87rem;
}
.topbar-content { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.topbar-phone { font-weight: 700; color: var(--wit); }
.topbar-phone:hover { color: var(--zand); }
.topbar-divider { opacity: 0.4; }
.topbar-badge { color: var(--zand); font-weight: 700; }

/* Header en navigatie */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--lijn);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--overgang);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(22, 42, 30, 0.09); }

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

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-mark { display: grid; place-items: center; flex-shrink: 0; }
.logo-text { color: var(--groen-donker); font-size: 1.15rem; font-weight: 800; line-height: 1.15; }
.logo-text span {
  display: block;
  color: var(--zand-diep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; font-size: 0.93rem; font-weight: 700; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-block;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  transition: background var(--overgang), color var(--overgang);
}
.nav-link:hover, .nav-link.is-active { background: var(--groen-licht); color: var(--groen-donker); }

.caret { display: inline-block; margin-left: 5px; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  box-shadow: var(--schaduw);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--overgang);
}
.has-children:hover .submenu,
.has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 12px; border-radius: var(--radius-s); font-weight: 600; }
.submenu a:hover { background: var(--groen-licht); }

.submenu-toggle { display: none; }

.menu-toggle {
  display: none;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle-bars { display: block; width: 26px; }
.menu-toggle-bars span {
  display: block;
  height: 2.5px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--groen-donker);
  transition: transform var(--overgang), opacity var(--overgang);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Kruimelpad */
.breadcrumbs { padding: 16px 0; background: var(--wit); border-bottom: 1px solid var(--lijn); font-size: 0.87rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; color: var(--grijs); }
.breadcrumbs a { color: var(--grijs); }
.breadcrumbs a:hover { color: var(--groen); }
.breadcrumbs [aria-current="page"] { color: var(--groen-donker); font-weight: 700; }
.crumb-sep { margin-left: 8px; color: var(--grijs-licht); }

/* Kaarten: diensten */
.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--schaduw-hover); }
.service-media { display: block; overflow: hidden; }
.service-media img { width: 100%; height: 224px; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex-grow: 1; }
.service-body h3 { margin-bottom: 2px; }
.service-body .link-arrow { margin-top: auto; padding-top: 8px; }

.card-tag {
  display: inline-block;
  color: var(--groen);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-from { color: var(--groen-donker); font-weight: 700; }

/* Kaarten: projecten */
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  box-shadow: var(--schaduw);
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--schaduw-hover); }
.project-media { position: relative; display: block; overflow: hidden; }
.project-media img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 13px;
  border-radius: 99px;
  background: rgba(23, 52, 37, 0.9);
  color: var(--wit);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-body { display: flex; flex-direction: column; gap: 9px; padding: 22px; flex-grow: 1; }
.project-meta { display: flex; gap: 16px; flex-wrap: wrap; list-style: none; color: var(--grijs-licht); font-size: 0.86rem; }
.project-body .link-arrow { margin-top: auto; padding-top: 6px; }

/* Kaarten: artikelen */
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  transition: transform var(--overgang), box-shadow var(--overgang);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--schaduw); }
.post-media img { width: 100%; height: 200px; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 22px; flex-grow: 1; }
.post-body time { color: var(--grijs-licht); font-size: 0.84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.post-body .link-arrow { margin-top: auto; padding-top: 6px; }

/* Merkenkaart */
.brand-card {
  padding: 28px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
}
.brand-card img { max-height: 46px; width: auto; margin-bottom: 16px; object-fit: contain; }

/* Vinkjeslijst */
.check-list { list-style: none; margin: 20px 0; }
.check-list li { position: relative; margin: 11px 0; padding-left: 30px; color: var(--grijs); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen);
  font-size: 0.72rem;
  font-weight: 900;
}
.check-list-columns { columns: 2; column-gap: 32px; }
.check-list-columns li { break-inside: avoid; }

/* Formulieren */
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { margin-bottom: 16px; }

label { display: block; margin-bottom: 6px; color: var(--groen-donker); font-size: 0.88rem; font-weight: 700; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"], input[type="date"],
input[type="datetime-local"], select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d5ddd6;
  border-radius: var(--radius-s);
  background: #fcfdfc;
  font: inherit;
  color: var(--antraciet);
  transition: border-color var(--overgang), box-shadow var(--overgang);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--groen);
  box-shadow: 0 0 0 3px rgba(36, 75, 54, 0.12);
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }

.has-error input, .has-error select, .has-error textarea { border-color: #b3261e; background: #fff8f7; }
.field-error { margin-top: 6px; color: #b3261e; font-size: 0.85rem; font-weight: 600; }

.form-check { display: flex; gap: 11px; align-items: flex-start; margin: 18px 0; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--groen); }
.form-check label { margin: 0; font-size: 0.9rem; font-weight: 500; color: var(--grijs); line-height: 1.5; }
.form-check a { color: var(--groen); font-weight: 700; text-decoration: underline; }

.form-note { margin-top: 14px; font-size: 0.84rem; color: var(--grijs-licht); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Paginering */
.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 44px; }
.pagination a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius-s);
  background: var(--wit);
  font-weight: 700;
}
.pagination a:hover { border-color: var(--groen); color: var(--groen); }
.pagination a.is-active { background: var(--groen-donker); border-color: var(--groen-donker); color: var(--wit); }

/* Filterchips */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 38px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--lijn);
  border-radius: 99px;
  background: var(--wit);
  font-size: 0.92rem;
  font-weight: 700;
  transition: all var(--overgang);
}
.filter-chip:hover { border-color: var(--groen); color: var(--groen); }
.filter-chip.is-active { background: var(--groen-donker); border-color: var(--groen-donker); color: var(--wit); }
.chip-count { opacity: 0.65; font-size: 0.82rem; }

/* Rijke tekst uit de beheeromgeving */
.rich-text { color: var(--grijs); font-size: 1.03rem; }
.rich-text > * + * { margin-top: 1.1em; }
.rich-text h2 { margin-top: 1.8em; font-size: clamp(1.45rem, 2.3vw, 1.9rem); }
.rich-text h3 { margin-top: 1.5em; font-size: 1.2rem; }
.rich-text ul, .rich-text ol { padding-left: 1.4em; }
.rich-text li { margin: 0.5em 0; }
.rich-text a { color: var(--groen); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rich-text img { margin: 1.6em 0; border-radius: var(--radius); }
.rich-text blockquote {
  padding: 18px 24px;
  border-left: 4px solid var(--zand);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: var(--groen-licht);
  font-style: italic;
  color: var(--groen-donker);
}
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text th, .rich-text td { padding: 11px 14px; border: 1px solid var(--lijn); text-align: left; }
.rich-text th { background: var(--groen-licht); color: var(--groen-donker); }

/* 4. Secties ------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(500px, 72vh, 680px);
  color: var(--wit);
  background:
    linear-gradient(96deg, rgba(16, 35, 25, 0.93) 8%, rgba(16, 35, 25, 0.55) 68%, rgba(16, 35, 25, 0.35) 100%),
    var(--hero-image, linear-gradient(135deg, #1d3d2c, #2f5b43)) center / cover no-repeat;
}
.hero-content { max-width: 780px; padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { color: var(--wit); margin-bottom: 20px; }
.hero-lead { max-width: 640px; margin-bottom: 32px; color: #edf3ee; font-size: clamp(1.02rem, 1.4vw, 1.17rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 38px; list-style: none; }
.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.87rem;
  font-weight: 700;
}
.hero-badges span { color: var(--zand); }

/* Kop van binnenpagina's */
.page-hero {
  padding: clamp(46px, 6vw, 78px) 0;
  color: var(--wit);
  background: linear-gradient(120deg, var(--groen-donker), var(--groen));
}
.page-hero-image {
  background:
    linear-gradient(120deg, rgba(16, 35, 25, 0.92), rgba(16, 35, 25, 0.72)),
    var(--hero-image) center / cover no-repeat;
}
.page-hero h1 { color: var(--wit); }
.page-hero-intro { max-width: 720px; margin-top: 16px; color: #e6eee8; font-size: 1.07rem; }

/* Merkenbalk */
.brands-strip { padding: 26px 0; background: var(--wit); border-bottom: 1px solid var(--lijn); }
.brands-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.brands-label { color: var(--grijs-licht); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.brands-list { display: flex; align-items: center; gap: clamp(20px, 4vw, 50px); flex-wrap: wrap; list-style: none; }
.brands-list img { max-height: 34px; width: auto; opacity: 0.75; filter: grayscale(1); transition: all var(--overgang); }
.brands-list img:hover { opacity: 1; filter: none; }
.brand-name { color: var(--grijs); font-size: 1.08rem; font-weight: 800; letter-spacing: 0.06em; }

/* Pluspunten */
.usp-section { position: relative; z-index: 10; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -46px; list-style: none; }
.usp {
  padding: 27px 22px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  box-shadow: var(--schaduw);
}
.usp-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen);
  font-size: 1.3rem;
}
.usp-title { margin-bottom: 8px; font-size: 1.13rem; font-weight: 800; }

.services-section { background: var(--wit); }

/* Markten (particulier / zakelijk) */
.markets { background: var(--groen-licht); }
.market-card { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); background: var(--wit); box-shadow: var(--schaduw); }
.market-card h2 { margin-bottom: 14px; }

/* Werkwijze */
.process-section { background: var(--wit); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; counter-reset: stap; }
.process-grid li { position: relative; padding-top: 14px; }
.process-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--groen-donker);
  color: var(--zand);
  font-size: 1.1rem;
  font-weight: 800;
}
.process-grid h3 { margin-bottom: 8px; }

/* Reviews */
.testimonials-section { background: var(--groen-licht); }
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--wit);
  box-shadow: var(--schaduw);
}
.stars { color: var(--zand-diep); font-size: 1.05rem; letter-spacing: 2px; }
.testimonial blockquote { color: var(--antraciet); font-size: 1.03rem; font-style: italic; line-height: 1.65; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; color: var(--grijs); font-size: 0.9rem; }
.testimonial figcaption strong { color: var(--groen-donker); font-style: normal; }
.testimonial-service { color: var(--grijs-licht); font-size: 0.83rem; }

/* Werkgebied */
.area-section {
  color: var(--wit);
  background: linear-gradient(140deg, var(--groen-diep), var(--groen));
}
.area-section h2 { color: var(--wit); }
.area-section p { color: #dce8de; }
.area-content { max-width: 860px; margin-inline: auto; text-align: center; }
.places { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; list-style: none; }
.place {
  display: inline-block;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--overgang);
}
a.place:hover { background: var(--wit); border-color: var(--wit); color: var(--groen-donker); }

.section-tint .place { border-color: var(--lijn); background: var(--wit); color: var(--groen-donker); }
.section-tint a.place:hover { background: var(--groen-donker); color: var(--wit); }
.section-tint .area-content h2 { color: var(--groen-donker); }

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 14px; list-style: none; }
.area-card a, .area-card-static {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 19px 22px;
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  transition: all var(--overgang);
}
.area-card a:hover { border-color: var(--groen); box-shadow: var(--schaduw); transform: translateY(-3px); }
.area-card strong { color: var(--groen-donker); font-size: 1.05rem; }
.area-card span { color: var(--grijs-licht); font-size: 0.85rem; }

/* Veelgestelde vragen */
.faq-section { background: var(--wit); }
.faq-category { margin: 42px 0 16px; font-size: 1.35rem; }
.faq-category:first-of-type { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  background: var(--wit);
  overflow: hidden;
  transition: border-color var(--overgang), box-shadow var(--overgang);
}
.faq-item[open] { border-color: var(--groen); box-shadow: var(--schaduw); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  color: var(--groen-donker);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen);
  font-size: 1.2rem;
  transition: transform var(--overgang);
}
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p + p { margin-top: 0.9em; }

/* Tekst met zijkolom */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.content-image { margin-bottom: 32px; border-radius: var(--radius); }
.content-main h2 { margin: 1.7em 0 0.6em; }
.content-main > h2:first-child { margin-top: 0; }

.content-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 108px; }
.side-card { padding: 28px; border: 1px solid var(--lijn); border-radius: var(--radius); background: var(--wit); }
.side-card h2 { margin-bottom: 10px; font-size: 1.2rem; }
.side-card .button { margin-top: 14px; }
.side-card-dark { border: 0; background: linear-gradient(145deg, var(--groen-donker), var(--groen)); color: var(--wit); }
.side-card-dark h2 { color: var(--wit); }
.side-card-dark p { color: #dce8de; }
.side-price { margin-top: 12px; font-size: 1.1rem; }
.side-price strong { color: var(--zand); }
.side-list { list-style: none; margin: 12px 0; color: var(--grijs); }
.side-list li { padding: 7px 0; border-bottom: 1px solid var(--lijn); }
.side-list li:last-child { border-bottom: 0; }
.side-list-links a { color: var(--groen-donker); font-weight: 600; }
.side-list-links a:hover { color: var(--groen); }
.side-quote { margin: 14px 0; padding-left: 14px; border-left: 3px solid var(--zand); }
.side-quote blockquote { color: var(--grijs); font-style: italic; font-size: 0.94rem; }
.side-quote figcaption { margin-top: 6px; color: var(--groen-donker); font-size: 0.85rem; font-weight: 700; }

/* Projectdetail */
.project-header { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; margin-bottom: 34px; align-items: start; }
.project-lead { margin-top: 14px; font-size: 1.08rem; }
.project-facts {
  display: grid;
  gap: 2px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--groen-licht);
}
.project-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(36, 75, 54, 0.12); }
.project-facts > div:last-child { border-bottom: 0; }
.project-facts dt { color: var(--grijs); font-size: 0.88rem; }
.project-facts dd { color: var(--groen-donker); font-size: 0.92rem; font-weight: 700; text-align: right; }

.project-cover { margin-bottom: 34px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schaduw); }
.project-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.project-body { max-width: 820px; }
.gallery-heading { margin: 46px 0 20px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gallery-item { overflow: hidden; border-radius: var(--radius-s); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.project-service-link { margin-top: 34px; color: var(--grijs); }
.project-service-link a { color: var(--groen); font-weight: 700; text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  background: rgba(10, 20, 14, 0.94);
  padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { grid-column: 2; text-align: center; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius-s); }
.lightbox-figure figcaption { margin-top: 14px; color: #dce8de; font-size: 0.92rem; }
.lightbox button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--wit);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--overgang);
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; }
.lightbox-prev { grid-column: 1; justify-self: start; }
.lightbox-next { grid-column: 3; justify-self: end; }

/* Artikel */
.article-header { margin-bottom: 30px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; color: var(--grijs-licht); font-size: 0.88rem; }
.article-lead { margin-top: 18px; font-size: 1.1rem; color: var(--grijs); }
.article-image { margin: 0 0 34px; border-radius: var(--radius); overflow: hidden; }

/* Oproep tot actie */
.cta-band { color: var(--wit); background: linear-gradient(120deg, var(--groen-donker), var(--groen)); }
.cta-band h2 { color: var(--wit); margin-bottom: 12px; }
.cta-band p { max-width: 620px; color: #dce8de; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact */
.contact-section { background: var(--wit); }
.contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 30px; align-items: start; }
.contact-details { padding: clamp(28px, 3.4vw, 42px); border-radius: var(--radius); background: linear-gradient(150deg, var(--groen-donker), var(--groen)); color: var(--wit); }
.contact-details h2, .contact-details h3 { color: var(--wit); }
.contact-details p { color: #dce8de; }
.contact-details a { color: var(--zand); font-weight: 700; }
.contact-details a:hover { color: var(--zand-hover); }
.contact-line { margin: 22px 0; }
.contact-line h3 { margin-bottom: 4px; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.contact-legal { margin-top: 26px; font-size: 0.84rem; opacity: 0.7; }

.hours-list { display: grid; gap: 3px; }
.hours-list > div { display: flex; justify-content: space-between; gap: 14px; font-size: 0.9rem; }
.hours-list dt { color: #cfdcd2; }
.hours-list dd { color: var(--wit); font-weight: 600; }

.contact-form-wrapper { padding: clamp(28px, 3.4vw, 42px); border: 1px solid var(--lijn); border-radius: var(--radius); background: var(--wit); box-shadow: var(--schaduw); }
.contact-form-wrapper > p { margin-bottom: 22px; }

.map-section iframe { display: block; width: 100%; border: 0; filter: grayscale(0.25); }

/* Bedankt en 404 */
.thanks-section, .error-section { background: var(--wit); text-align: center; }
.thanks-inner { display: flex; flex-direction: column; align-items: center; }
.thanks-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--groen-licht);
  color: var(--groen);
  font-size: 2rem;
  font-weight: 900;
}
.thanks-lead, .error-lead { max-width: 620px; margin: 16px auto 10px; font-size: 1.1rem; }
.thanks-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.error-section .check-list { text-align: left; max-width: 640px; margin-inline: auto; }
.error-subheading { margin-top: 48px; font-size: 1.3rem; }

/* Footer */
.site-footer { padding: clamp(46px, 5vw, 68px) 0 26px; background: var(--groen-diep); color: #c2cec6; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px; }
.footer-brand { color: var(--wit); font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.footer-about p { color: #c2cec6; }
.footer-heading { margin-bottom: 16px; color: var(--wit); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links, .footer-socials { list-style: none; display: grid; gap: 9px; }
.footer-links-compact { grid-template-columns: repeat(2, 1fr); gap: 7px 16px; }
.site-footer a:hover { color: var(--zand); }
.footer-more { display: inline-block; margin-top: 14px; color: var(--zand); font-weight: 700; }
.footer-socials { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.footer-socials a { font-weight: 700; }
.footer-address { display: grid; gap: 5px; font-style: normal; margin-bottom: 18px; }
.footer-address a { color: var(--wit); font-weight: 700; }
.footer-hours { display: grid; gap: 3px; margin-top: 22px; font-size: 0.85rem; }
.footer-hours > div { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours dt { color: #97a69c; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; }

/* Mobiele actiebalk */
.mobile-bar { display: none; }

/* 5. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .usp-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .project-header { grid-template-columns: 1fr; }
  .content-side { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }

  nav#hoofdnavigatie {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 18px 4%;
    background: var(--wit);
    border-bottom: 1px solid var(--lijn);
    box-shadow: var(--schaduw);
    display: none;
  }
  nav#hoofdnavigatie.is-open { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; font-size: 1rem; }
  .nav-list > li { position: relative; }
  .nav-link { display: block; padding: 13px 12px; }
  .nav-list .button { width: 100%; margin-top: 10px; }

  .caret { display: none; }
  .submenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--groen-licht);
    border-radius: 0;
    margin: 2px 0 6px 12px;
    padding: 0 0 0 8px;
  }
  .submenu.is-open { display: block; }
  .has-children:hover .submenu, .has-children:focus-within .submenu { opacity: 1; visibility: visible; }
  .submenu-toggle {
    display: block;
    position: absolute;
    top: 6px;
    right: 4px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-s);
    background: transparent;
    cursor: pointer;
  }
  .submenu-toggle::after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 auto;
    border-right: 2px solid var(--groen-donker);
    border-bottom: 2px solid var(--groen-donker);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform var(--overgang);
  }
  .submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px, -2px); }

  .grid-2, .grid-3, .form-row { grid-template-columns: 1fr; }
  .check-list-columns { columns: 1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox-figure { grid-column: 1; }
  .lightbox-prev, .lightbox-next { grid-row: 2; grid-column: 1; }
  .lightbox-prev { justify-self: center; transform: translateX(-40px); }
  .lightbox-next { justify-self: center; transform: translateX(40px); }

  /* Vaste balk met bel- en offerteknop op mobiel */
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: flex;
    border-top: 1px solid var(--lijn);
    background: var(--wit);
    box-shadow: 0 -4px 18px rgba(22, 42, 30, 0.12);
  }
  .mobile-bar-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 58px;
    color: var(--groen-donker);
    font-size: 0.92rem;
    font-weight: 700;
  }
  .mobile-bar-cta { background: var(--zand); color: #1f1c13; }
  body { padding-bottom: 58px; }
}

@media (max-width: 620px) {
  .usp-grid, .process-grid { grid-template-columns: 1fr; }
  .usp-grid { margin-top: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links-compact { grid-template-columns: repeat(2, 1fr); }
  .topbar-content { justify-content: center; text-align: center; font-size: 0.82rem; }
  .project-facts > div { flex-direction: column; gap: 2px; }
  .project-facts dd { text-align: left; }
}

/* Afdrukken */
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .site-footer, .filter-bar { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 16px 0; }
}
