/* Boomverzorging & Verwijdering – standalone site */

/* NUKE: page-hero img mag NOOIT layout innemen */
img.page-hero__img,
.page-hero__img,
.page-hero img.page-hero__img {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Roboto Slab wordt ook via <link> in site-chrome.js geladen (betrouwbaarder dan alleen @import) */

:root {
  --hero-overlay: linear-gradient(105deg, rgba(3, 22, 2, 0.94) 0%, rgba(6, 36, 4, 0.88) 40%, rgba(10, 48, 6, 0.80) 100%);
  --green-950: #0a2e08;
  --green-900: #1b4400;
  --green-800: #1b5e08;
  --green-700: #158706;
  --green-600: #1a9e0a;
  --green-500: #2db812;
  --green-400: #81d742;
  --green-200: #9fd69c;
  --green-100: #e8f5e6;
  --green-50: #f4faf3;
  --text: #002d00;
  --text-muted: #3d5a3d;
  --border: #c5dcc3;
  --white: #ffffff;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(27, 68, 0, 0.12);
  --shadow-sm: 0 2px 10px rgba(27, 68, 0, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
  text-decoration: none;
}

a:hover {
  color: var(--green-900);
  text-decoration: underline;
}

/*
 * Inline content links (FAQ, body text, cards): always underline + stronger green
 * so they stand out from muted paragraph text (nav/buttons stay plain via :not).
 */
main p a:not(.btn),
main li a:not(.btn),
main td a:not(.btn),
main .faq-item a,
main .card p a,
main .card .mb-0 a,
main .prose a:not(.btn),
main .content-main a:not(.btn):not(.card),
main .lead a,
main .lead-muted a,
main .check-list a,
main .home-faq-wrap a {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-color: rgba(21, 135, 6, 0.45);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

main p a:not(.btn):hover,
main li a:not(.btn):hover,
main td a:not(.btn):hover,
main .faq-item a:hover,
main .card p a:hover,
main .card .mb-0 a:hover,
main .prose a:not(.btn):hover,
main .content-main a:not(.btn):not(.card):hover,
main .lead a:hover,
main .lead-muted a:hover,
main .check-list a:hover,
main .home-faq-wrap a:hover {
  color: var(--green-900);
  text-decoration-color: var(--green-800);
}

main p a:not(.btn):focus-visible,
main .faq-item a:focus-visible,
main .card p a:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6,
.page-hero h1,
.hero h1,
.section-dark h2,
.form-section > legend,
.group-title {
  font-family: "Roboto Slab", var(--font-display), Georgia, serif !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-900);
  margin: 0 0 0.75em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; font-weight: 600; }

/* Logo-boompje voor koppen – hoogte = 1em (zelfde als koptekst) */
main h1,
main h2,
main h3.group-title,
.form-section > legend {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
}
main h1::before,
main h2::before,
main h3.group-title::before,
.form-section > legend::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-top: 0.12em; /* optisch op één lijn met kapitalen */
  background: url("../images/logo.png") center / contain no-repeat;
  pointer-events: none;
}
/*
 * Stronk-logo i.p.v. boompje bij koppen over boomstronken frezen / stump grinding
 * Formaat t.o.v. boompje (1em): iets groter, passend bij FAQ-h3 (~1.05rem)
 */
main .heading-stump,
main h3.group-title--stump {
  display: flex !important;
  align-items: flex-start;
  gap: 0.4em;
}
main .heading-stump::before,
main h3.group-title--stump::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 auto;
  width: 1.85em !important;
  height: 1.85em !important;
  margin-top: -0.2em !important;
  background: url("../images/logo-stump.png?v=18") center bottom / contain no-repeat !important;
  pointer-events: none;
}
/* h1: iets bescheidener */
main h1.heading-stump::before {
  width: 1.4em !important;
  height: 1.4em !important;
  margin-top: -0.05em !important;
}
/* h2 sectiekoppen (bijv. “Veelgestelde vragen – Boomstronken frezen…”) */
main h2.heading-stump::before {
  width: 1.65em !important;
  height: 1.65em !important;
  margin-top: -0.12em !important;
}
/*
 * Kaarten (o.a. “Ook in … / Stronken frezen Arnhem”, service-cards, FAQ):
 * zelfde orde van grootte als het boompje (1em), iets groter zodat het zichtbaar blijft
 */
main .card h3.heading-stump::before,
main .service-card h3.heading-stump::before,
main article.card h3.heading-stump::before,
main .grid-3 .card h3.heading-stump::before {
  width: 1.55em !important;
  height: 1.55em !important;
  min-width: 1.55em !important;
  min-height: 1.55em !important;
  margin-top: -0.08em !important;
  background: url("../images/logo-stump.png?v=18") center bottom / contain no-repeat !important;
}
/* Offerte-sectiekop “Gegevens boomstronken frezen” */
main h3.group-title--stump::before,
main .cf-group > h3.group-title--stump::before {
  width: 1.75em !important;
  height: 1.75em !important;
  margin-top: -0.15em !important;
}
/* Geen boompje/stronk-logo op kaarten / sidebar (projectkaarten: nooit) */
main .card h3::before,
main .service-card h3::before,
main .project-card h3::before,
main .sidebar-card h3::before,
main .gr-card h3::before,
main .footer-col h3::before,
main article.card h3::before {
  content: none;
  display: none;
}
main .card h3.heading-stump::before,
main .service-card h3.heading-stump::before,
main article.card h3.heading-stump::before {
  content: "" !important;
  display: block !important;
}
/* Projectkaarten: geen logo naast de titel (ook niet met .heading-stump) */
main .project-card h3,
main .project-card h3.heading-stump,
.project-card h3,
.project-card h3.heading-stump {
  display: block !important;
  gap: 0 !important;
}
main .project-card h3::before,
main .project-card h3.heading-stump::before,
.project-card h3::before,
.project-card h3.heading-stump::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  background: none !important;
}
/* h3 in main content (prose) wél met boompje */
main .prose > h3,
main .content-main > h3,
main .content-main.prose h3 {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
}
main .prose > h3::before,
main .content-main > h3::before,
main .content-main.prose h3::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-top: 0.12em;
  background: url("../images/logo.png") center / contain no-repeat;
  pointer-events: none;
}

.page-hero h1,
.hero h1,
.section-dark h2 {
  color: inherit;
}
.page-hero h1 { color: #fff; }
.hero h1 { color: #fff; }
.section-dark h2 { color: #fff; }

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-top: 0.35rem;
  padding-bottom: 0.25rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green-900);
  text-decoration: none;
  background: var(--green-50);
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.lang-flag-svg,
.lang-switch .lang-flag-svg,
.footer-lang .lang-flag-svg,
.site-footer .lang-flag-svg {
  display: block;
  width: 1.15rem;
  height: 0.78rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.lang-switch .lang-code {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.lang-switch:hover {
  background: var(--green-100);
  border-color: var(--green-400);
  text-decoration: none;
  color: var(--green-900);
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.footer-lang a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.site-footer .footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumb {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0 0 0.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.place-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.place-list li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 700px) {
  .place-list {
    columns: 1;
  }
  .header-actions {
    margin-left: 0;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--green-900);
  text-decoration: none;
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif !important;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  min-width: 0;
}

.logo:hover {
  text-decoration: none;
  color: var(--green-700);
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Merkteken bij logo (prominent), plaatsnaam eronder */
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  max-width: 100%;
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif !important;
  font-weight: 700;
  line-height: 1.15;
}
.logo-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--green-900);
  white-space: nowrap;
  max-width: 100%;
}
.logo-brand-line {
  display: inline;
  white-space: nowrap;
}
.logo-place {
  display: block;
  font-size: 0.88em;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green-700);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo:hover .logo-brand {
  color: var(--green-800);
}

/*
 * Contentfoto’s altijd 4:3 – staande beelden worden gecropt (cover)
 * zodat het vlak gevuld is. Gebruik object-position voor betere framing.
 */
.media-4x3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-50);
}

.media-4x3 > img,
img.media-4x3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Hero image on service / location landing pages */
.page-figure {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--green-50);
  max-width: 100%;
}
.page-figure img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
}
main .page-figure {
  max-width: 100%;
  max-height: none;
  margin: 0 0 1rem;
  overflow: visible;
}
.page-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  background: var(--green-50);
}

.nav-toggle {
  display: none;
  background: var(--green-900);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ===== Main navigation ===== */
.main-nav {
  font-size: 0.92rem;
}

.main-nav .menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav .menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 0 0 auto;
}

/* All top-level items share this class (links + dropdown triggers) */
.main-nav .nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.25;
  text-decoration: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: inherit;
  cursor: pointer;
  margin: 0;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
}

.main-nav .nav-item:hover,
.main-nav .nav-item:focus-visible,
.main-nav .has-dropdown.open > .nav-item {
  background: var(--green-50);
  color: var(--green-800);
  text-decoration: none;
  outline: none;
}

/* Actieve pagina: lichte markering + lichte tekstkleur op die achtergrond */
.main-nav .nav-item.active,
.main-nav .has-dropdown.active > .nav-item {
  background: var(--green-100);
  color: var(--green-800);
  text-decoration: none;
  outline: none;
  box-shadow: inset 0 -2px 0 var(--green-600);
  font-weight: 700;
}

/* Offerte: géén permanente donkergroene knop – zelfde familie als overige menu-items */
.main-nav .nav-item.btn-nav {
  background: transparent;
  color: var(--green-800) !important;
  margin-left: 0.25rem;
  box-shadow: inset 0 0 0 1.5px var(--green-600);
  font-weight: 700;
}

.main-nav .nav-item.btn-nav:hover,
.main-nav .nav-item.btn-nav:focus-visible {
  background: var(--green-50);
  color: var(--green-900) !important;
  box-shadow: inset 0 0 0 1.5px var(--green-700);
}

/* Alleen op de offertepagina zelf “actief” */
.main-nav .nav-item.btn-nav.active {
  background: var(--green-100);
  color: var(--green-800) !important;
  box-shadow: inset 0 -2px 0 var(--green-600);
}

.main-nav .nav-caret {
  font-size: 0.65em;
  opacity: 0.75;
  line-height: 1;
  pointer-events: none;
}

/* Dropdown panel: hidden by default, never in the horizontal flow.
   Support both .submenu (current) and .nav-dropdown (older markup).
   top: 100% + ::before-bridge voorkomt dat hover wegvalt tussen knop en panel. */
.main-nav .submenu,
.main-nav .nav-dropdown,
.main-nav .has-dropdown > ul {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 300;
  min-width: 12.75rem;
  width: max-content;
  max-width: min(18rem, 90vw);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  flex-direction: column;
}

/* Onzichtbare “brug” boven het panel zodat de muis de hover niet verliest */
.main-nav .submenu::before,
.main-nav .nav-dropdown::before,
.main-nav .has-dropdown > ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5rem;
  height: 0.5rem;
}

.main-nav .submenu > li,
.main-nav .nav-dropdown > li,
.main-nav .has-dropdown > ul > li {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  list-style: none;
  float: none;
}

.main-nav .submenu a,
.main-nav .nav-dropdown a,
.main-nav .has-dropdown > ul a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav .submenu a:hover,
.main-nav .submenu a:focus-visible,
.main-nav .submenu a.active,
.main-nav .nav-dropdown a:hover,
.main-nav .nav-dropdown a:focus-visible,
.main-nav .nav-dropdown a.active,
.main-nav .has-dropdown > ul a:hover,
.main-nav .has-dropdown > ul a.active {
  background: var(--green-100);
  color: var(--green-900);
  text-decoration: none;
}

/* Open only when .open or hover (desktop) */
.main-nav .has-dropdown.open > .submenu,
.main-nav .has-dropdown.open > .nav-dropdown,
.main-nav .has-dropdown.open > ul {
  display: block !important;
}

@media (min-width: 761px) {
  .main-nav .has-dropdown:hover > .submenu,
  .main-nav .has-dropdown:hover > .nav-dropdown,
  .main-nav .has-dropdown:hover > ul {
    display: block !important;
  }
  .main-nav .has-dropdown:hover > .nav-item,
  .main-nav .has-dropdown:hover > .nav-dropdown-toggle {
    background: var(--green-100);
    color: var(--green-900);
  }
}

/* Hero */
.hero {
  position: relative;
  color: white;
  background: var(--green-900);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--green-900, #0a2e08);
  background-image: var(--hero-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 40rem;
}

.hero h1 {
  color: white;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: 0.15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--green-400);
  color: #0a2e08;
  border-color: var(--green-400);
}

.btn-primary:hover {
  background: #93e055;
  color: #0a2e08;
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.btn-outline {
  background: white;
  color: var(--green-800);
  border-color: var(--green-200);
}

.btn-outline:hover {
  border-color: var(--green-700);
  color: var(--green-900);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  color: #fff;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--green-50);
}

.section-dark {
  background: var(--green-900);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards / features */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  background: var(--green-50);
}

.service-card .card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card .card-body p {
  flex: 1;
  color: var(--text-muted);
}

/* Content page – zelfde getinte hero-foto als homepage (.hero) */
.page-hero {
  position: relative;
  color: white;
  background: var(--green-900);
  box-sizing: border-box;
  overflow: hidden;
  padding: 3.25rem 0 2.5rem;
  display: flex;
  align-items: center;
  min-height: 280px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Zelfde merktint als homepage; foto alleen via --hero-image of .page-hero__img */
  background-color: var(--green-900, #0a2e08);
  background-image:
    var(--hero-overlay),
    var(--hero-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Hard block: nooit een impliciete klimmer-foto op page-hero */
.page-hero:not([style*="--hero-image"]):not(.page-hero--with-img)::before {
  background-image: var(--hero-overlay);
}

/* Betrouwbare hero-foto: echte <img> als bron voor --hero-image; visueel via ::before */
.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
}
.page-hero--with-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--hero-overlay);
}
.page-hero--with-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--green-900, #0a2e08);
  background-image: var(--hero-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  overflow: visible;
}

.page-hero h1 {
  color: white;
  margin: 0 0 0.5rem !important;
  padding: 0;
  line-height: 1.3;
  overflow: visible;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.page-hero p {
  margin: 0;
  padding: 0;
  opacity: 0.95;
  max-width: 40rem;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ruimte boven Offerte / WhatsApp in locatie-heroes */
.page-hero .hero-actions {
  margin-top: 1.75rem;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-main .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.sidebar-card {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--green-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.sidebar-card li {
  margin-bottom: 0.5rem;
}

.sidebar-card a {
  font-weight: 600;
}

.prose img {
  border-radius: var(--radius);
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  background: var(--green-50);
  display: block;
}
/* Kaartjes mogen wel kort blijven */
.prose .service-card img,
.prose .project-card img,
.prose .card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  height: auto;
}
/* Contentfoto's in page-figure: volle hoogte, geen crop */
.prose .page-figure img,
.content-main .page-figure img,
main .page-figure img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Foto’s op informatiepagina’s – onder koppen in de tekst */
.info-photo {
  margin: 0.85rem 0 1.35rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-50);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-photo--inline {
  max-width: 100%;
}

.info-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--green-50);
}

.info-photo figcaption {
  margin: 0;
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  background: #fff;
}

/* compat: oude cluster (niet meer gebruikt) */
.info-photos {
  margin: 0 0 1.5rem;
}
.info-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 640px) {
  .info-photo-grid {
    grid-template-columns: 1fr;
  }
}

.prose h2 {
  margin-top: 2rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 4rem;
  margin-bottom: 0.85rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

/* Dienstpagina: tweede contentsectie als kaart met poolfoto */
.service-how-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 0;
  margin: 1.5rem 0 1.75rem;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 0, 0, 0.06));
}
.service-how-card__media {
  min-height: 100%;
  background: var(--green-50, #f4faf3);
}
.service-how-card__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.service-how-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.service-how-card__body h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.25;
  color: var(--green-900, #1b4400);
}
.service-how-card__body h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.02rem;
}
.service-how-card__body > p {
  margin: 0 0 0.85rem;
  color: var(--text, #002d00);
  line-height: 1.55;
}
.service-how-card__body .content-steps {
  margin: 0.35rem 0 0;
  padding-left: 0;
  list-style: none;
  counter-reset: how-step;
}
.service-how-card__body .content-steps li {
  position: relative;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem 0.65rem 2.75rem;
  line-height: 1.45;
  background: var(--green-50, #f4faf3);
  border-radius: 10px;
  border: 1px solid var(--border, #c5dcc3);
  counter-increment: how-step;
}
.service-how-card__body .content-steps li::before {
  content: counter(how-step, decimal-leading-zero);
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-700, #158706);
  letter-spacing: 0.02em;
}
.service-how-card__body .content-steps li strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--green-900, #1b4400);
}
@media (max-width: 800px) {
  .service-how-card {
    grid-template-columns: 1fr;
  }
  .service-how-card__media img {
    min-height: 200px;
    aspect-ratio: 16 / 10;
    height: auto;
  }
}

/* Eerste contentfoto onder lead: duidelijk zichtbaar */
.content-main > .page-figure:first-of-type,
.prose > .page-figure:first-of-type,
.content-main > .page-figure.page-figure--hero {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 1.5rem !important;
  max-width: 100% !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  border: 1px solid var(--border, #c5dcc3) !important;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.06)) !important;
  background: var(--green-50, #f4faf3) !important;
}
.content-main > .page-figure:first-of-type img,
.prose > .page-figure:first-of-type img,
.content-main > .page-figure.page-figure--hero img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 200px !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  aspect-ratio: 16 / 10 !important;
}

/* Feature tiles + content split op dienstenpagina’s */
.feature-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 1.75rem;
}
.feature-tile {
  background: #fff;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 12px;
  padding: 1.1rem 1rem 1.15rem;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.05));
}
.feature-tile h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--green-900, #1b4400);
}
.feature-tile p {
  margin: 0;
  color: var(--text-muted, #3d5a3d);
  font-size: 0.92rem;
  line-height: 1.45;
}
@media (max-width: 800px) {
  .feature-tiles { grid-template-columns: 1fr; }
}
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: center;
  margin: 1.75rem 0;
}
.content-split__media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, #c5dcc3);
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.05));
  background: var(--green-50, #f4faf3);
}
.content-split__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  object-position: center 30%;
}
.content-split__body h2 {
  margin-top: 0;
}
@media (max-width: 800px) {
  .content-split { grid-template-columns: 1fr; }
}

/* Losse werkwijze-stappen (buiten how-card) ook netter */
.content-main > ol.content-steps,
.prose > ol.content-steps {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  counter-reset: how-step;
  display: grid;
  gap: 0.65rem;
}
.content-main > ol.content-steps > li,
.prose > ol.content-steps > li {
  position: relative;
  padding: 0.85rem 1rem 0.9rem 3rem;
  background: #fff;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 12px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,0.04));
  counter-increment: how-step;
}
.content-main > ol.content-steps > li::before,
.prose > ol.content-steps > li::before {
  content: counter(how-step, decimal-leading-zero);
  position: absolute;
  left: 0.85rem;
  top: 0.9rem;
  font-weight: 700;
  color: var(--green-700, #158706);
  font-size: 0.9rem;
}
.content-main > ol.content-steps > li strong,
.prose > ol.content-steps > li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--green-900, #1b4400);
}

/* Project YouTube embed */
.project-video {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 14px;
  overflow: hidden;
  background: #0b1a0a;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 0, 0, 0.08));
}
.project-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.project-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.project-video__cap {
  margin: 0;
  padding: 0.65rem 0.9rem;
  background: #f4faf3;
  color: var(--text-muted, #3d5a3d);
  font-size: 0.9rem;
}
.project-video__cap a {
  color: var(--green-800, #1b5e08);
  font-weight: 700;
  text-decoration: none;
}
.project-video__cap a:hover {
  text-decoration: underline;
}

/* Suitable trees list */
.tree-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}
.tree-list__item {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,.06));
}
.tree-list__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--green-800, #1b5e08);
}
.tree-list__item p {
  margin: 0;
  color: var(--text-muted, #3d5a3d);
  font-size: 0.95rem;
  line-height: 1.45;
}
.tree-list__item--photo {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0.85rem 1.1rem;
  align-items: center;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
}
.content-main .tree-list__item img,
.tree-list__item img {
  margin: 0 !important;
  width: 168px;
  height: 126px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: none !important;
  background: var(--green-50, #f4faf3);
  max-height: none;
  aspect-ratio: 4 / 3;
}
.tree-list__item--photo h3 { margin-top: 0; }
@media (max-width: 640px) {
  .tree-list__item--photo {
    grid-template-columns: 1fr;
    padding: 0.65rem;
  }
  .content-main .tree-list__item img,
  .tree-list__item img {
    width: 100%;
    height: 200px;
  }
}

/* Project gallery */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.project-card-link:hover h3,
.project-card-link:focus-visible h3 {
  color: var(--green-700, #1b5e3b);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  background: var(--green-100);
}

.project-card-hidden,
.project-card[hidden] {
  display: none !important;
}

.project-card-more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-700, #1b5e3b);
}

/* Enkel projectblok op plaatspagina’s → zelfde look als project-card */
.project-feature {
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 420px;
  border: 1px solid var(--border, #c5dcc3);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 0, 0, 0.06));
}
.project-feature .page-figure {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #e8ebe6;
  overflow: hidden;
}
.project-feature .page-figure img,
.project-feature > a > img,
.project-feature img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  max-height: none !important;
  display: block;
}
.project-feature h3 {
  margin: 0.9rem 1.1rem 0.35rem;
  font-size: 1.05rem;
}
.project-feature p {
  margin: 0 1.1rem 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.project-feature .btn,
.project-feature > p {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}
.project-feature > p:last-child {
  margin-bottom: 1.1rem;
}
.project-feature-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-feature-link:hover h3 {
  color: var(--green-700, #1b5e3b);
}
/* Dubbele h2 direct onder section-intro verbergen (oude generate-output) */
.section .container.prose > .section-intro + h2,
.section .container > .section-intro + h2 {
  display: none !important;
}

.project-card .body,
.project-card .project-card-body {
  padding: 1.15rem 1.35rem 1.4rem;
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.project-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* Project detail gallery */
.project-gallery {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0 2rem;
}
.project-gallery-item {
  margin: 0;
}
.project-gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.project-back {
  margin-top: 1.5rem;
}
.project-back a {
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.45rem;
  align-items: center;
}

.contact-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-800);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-item .icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.contact-item .icon--wa {
  background: #e8f8ee;
  color: #128c7e;
}

.contact-item strong {
  display: block;
  color: var(--green-900);
}

/* Bedrijfsgegevens (KvK, BTW, IBAN) – zelfde set als oude WP-footer */
.company-details h3 {
  margin-top: 0;
  margin-bottom: 0.85rem;
}
.company-dl {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem 1rem;
}
.company-dl > div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 38%) 1fr;
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}
.company-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.company-dl dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.company-dl dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.company-dl .iban {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .company-dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* Form */
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form-intro {
  background: var(--green-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-section {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}

.form-section > legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-900);
  margin-bottom: 1rem;
  padding: 0;
  width: 100%;
  border-bottom: 2px solid var(--green-200);
  padding-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label,
.form-group .label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--green-900);
}

.form-group .hint {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 0.45rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}

/* Custom file picker (EN labels independent of browser locale) */
.file-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.file-upload-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.file-upload-btn {
  flex-shrink: 0;
}
.file-upload-status {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(21, 135, 6, 0.15);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group.invalid {
  border-radius: 10px;
  outline: 2px solid var(--danger);
  outline-offset: 4px;
  background: rgba(180, 35, 24, 0.04);
  padding: 0.65rem 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 1px var(--danger);
}

.form-group.invalid .choice {
  border-color: var(--danger);
}

.form-group.invalid .label,
.form-group.invalid > label {
  color: var(--danger);
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.choice-list.inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--green-50);
  cursor: pointer;
  transition: 0.12s ease;
}

.choice:hover {
  border-color: var(--green-400);
}

.choice:has(input:checked) {
  border-color: var(--green-700);
  background: #dff5d4;
  box-shadow: inset 0 0 0 1px var(--green-700);
}

.choice input {
  margin-top: 0.25rem;
  accent-color: var(--green-700);
}

.choice span {
  flex: 1;
  line-height: 1.4;
}

/* Conditional groups */
.cf-group {
  display: none;
  margin-top: 0.5rem;
  padding: 1.15rem;
  border: 1px dashed var(--green-200);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fcf7 0%, #ffffff 100%);
}

.cf-group.visible {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.cf-group > h3,
.cf-group > .group-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  color: var(--green-800);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.photo-need-note {
  margin: 0.15rem 0 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px solid #e6d3a8;
  color: #3a2a12;
  font-size: 0.95rem;
  line-height: 1.45;
}
.photo-need-note a {
  font-weight: 700;
  text-decoration: underline;
}

.form-success,
.form-error {
  display: none;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.form-success {
  background: #e8f8e4;
  border: 1px solid var(--green-400);
  color: var(--green-900);
}

.form-error {
  background: #fef3f2;
  border: 1px solid #fda29b;
  color: var(--danger);
}

/* honeypot – verborgen voor mensen */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-success.show,
.form-error.show {
  display: block;
}

.form-success--page {
  padding: 1.6rem 1.4rem;
  font-size: 1.12rem;
  line-height: 1.55;
  border-radius: 14px;
}

.form-nophotos {
  display: none;
}
.form-nophotos.show {
  display: block;
}
.form-nophotos-card {
  background: #fff;
  border: 1px solid var(--border, #d8cfc4);
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(0, 0, 0, 0.08));
}
.form-nophotos-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.3;
}
.form-nophotos-card p {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1.55;
}
.form-nophotos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.3rem;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  max-width: 24rem;
  color: #fff !important;
}

.unit-suffix {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.unit-suffix input {
  flex: 1;
}

.unit-suffix span {
  color: var(--text-muted);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 1rem;
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  opacity: 0.95;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: #d5e8d4;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.75rem;
  margin-bottom: 2rem;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer h3 {
  color: white;
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.site-footer a {
  color: #9fe07a; /* lichtgroen – duidelijk t.o.v. bodytekst */
}

.site-footer a:hover {
  color: #c8f5a8;
}

/* Links op donkergroene vlakken (hero, CTA) */
.page-hero a:not(.btn),
.section-dark a:not(.btn),
.cta-band a:not(.btn) {
  color: #9fe07a;
}

.page-hero a:not(.btn):hover,
.section-dark a:not(.btn):hover,
.cta-band a:not(.btn):hover {
  color: #c8f5a8;
}

/* Lichtgroene knoppen: zwarte tekst (leesbaar) */
.page-hero .btn-primary,
.hero .btn-primary,
.section-dark .btn-primary,
.cta-band .btn-primary,
.sidebar-card .btn-primary,
.gr-actions .btn-primary,
.footer-cta .btn-primary {
  color: #0a2e08 !important;
}
.page-hero .btn-primary:hover,
.hero .btn-primary:hover,
.section-dark .btn-primary:hover,
.cta-band .btn-primary:hover,
.sidebar-card .btn-primary:hover,
.gr-actions .btn-primary:hover,
.footer-cta .btn-primary:hover {
  color: #0a2e08 !important;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-cta .btn { min-width: 12rem; }

/* WhatsApp-knoppen met zwarte tekst (footer + CTA onderaan locatiepagina's) */
.footer-cta .btn-whatsapp,
.site-footer .btn-whatsapp,
.cta-band .btn-whatsapp,
.section-dark .btn-whatsapp,
.page-hero .btn-whatsapp {
  color: #0a2e08 !important;
}
.footer-cta .btn-whatsapp:hover,
.site-footer .btn-whatsapp:hover,
.cta-band .btn-whatsapp:hover,
.section-dark .btn-whatsapp:hover,
.page-hero .btn-whatsapp:hover {
  color: #0a2e08 !important;
}


.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  flex: 1 1 240px;
  max-width: 300px;
  min-width: 0;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #b7d4b5;
}

.footer-col {
  flex: 0 1 150px;
  min-width: 130px;
  max-width: 200px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-size: 1.6rem;
  text-decoration: none;
  transition: transform 0.15s;
}

.wa-float:hover {
  transform: scale(1.06);
  color: white;
  text-decoration: none;
}

/* Checklist */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.55rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 800;
}

/* Media */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid {
    gap: 1.75rem 2rem;
  }
  .footer-brand {
    flex: 1 1 100%;
    max-width: none;
  }
  .footer-col {
    flex: 1 1 140px;
    max-width: none;
  }
}

.site-header {
  position: sticky;
}

.site-header .header-inner {
  position: relative;
  flex-wrap: wrap;
}

.site-header .main-nav {
  /* desktop: in flow on the right */
}

@media (min-width: 761px) {
  .site-header .header-actions .nav-toggle {
    display: none;
  }
  .site-header .lang-switch {
    order: 0;
  }
  .site-header .header-actions {
    order: 3;
    margin-left: 0.5rem;
  }
  .site-header .main-nav {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  /* Compacte header: geen lege band boven de bedrijfsnaam */
  .site-header .header-inner {
    align-items: flex-start !important;
    /* Iets meer lucht helemaal bovenaan de site */
    padding-top: 0.55rem !important;
    padding-bottom: 0.35rem !important;
    min-height: 0 !important;
    gap: 0.35rem;
  }
  .site-header .logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 7.25rem);
    gap: 0.4rem;
    align-items: flex-start !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .site-header .logo img {
    width: 38px;
    height: 38px;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
  }
  .site-header .logo-text {
    min-width: 0;
    max-width: 100%;
    gap: 0.02rem !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-start !important;
    line-height: 1.05 !important;
  }
  /* Mobiel: Boomverzorging / en Verwijdering onder elkaar */
  .site-header .logo-brand {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    white-space: normal !important;
    font-size: 0.92em !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header .logo-brand-line {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.05 !important;
  }
  .site-header .logo-place {
    font-size: 0.78em;
    margin: 0.02rem 0 0 !important;
    padding: 0 !important;
    line-height: 1.1;
  }
  .site-header .header-actions {
    align-self: flex-start !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header .lang-switch,
  .site-header .nav-toggle {
    margin-top: 0 !important;
  }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 0.75rem 1rem 1rem;
    order: 10;
    width: 100%;
  }
  .main-nav.open { display: block; }
  .main-nav .menu {
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav .menu > li {
    width: 100%;
  }
  .main-nav .nav-item {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
  }
  .main-nav .nav-item.btn-nav {
    margin-left: 0;
    justify-content: center;
  }
  .main-nav .submenu,
  .main-nav .nav-dropdown,
  .main-nav .has-dropdown > ul {
    position: static !important;
    display: none !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0.25rem 0 0.4rem;
    box-shadow: none;
    background: var(--green-50);
  }
  .main-nav .has-dropdown.open > .submenu,
  .main-nav .has-dropdown.open > .nav-dropdown,
  .main-nav .has-dropdown.open > ul {
    display: block !important;
  }
  .main-nav .submenu a,
  .main-nav .nav-dropdown a,
  .main-nav .has-dropdown > ul a {
    white-space: normal;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-brand,
  .footer-col {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
  .hero {
    min-height: 360px;
  }
  .page-hero {
    min-height: 220px;
    padding: 2.5rem 0 2rem;
  }
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--text-muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Local service tabs on city pages (not the main header menu) */
.service-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem;
  background: var(--green-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.service-local-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-900);
  text-decoration: none;
  background: white;
  border: 1px solid var(--border);
}
.service-local-nav a:hover,
.service-local-nav a.active {
  background: var(--green-700);
  color: white;
  border-color: var(--green-700);
  text-decoration: none;
}

/* Sidebar omgeving list: clean vertical links */
.sidebar-card ul {
  display: block;
}
.sidebar-card li {
  display: block;
}

/* Google reviews */
.google-reviews-section .gr-business-name {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--green-900);
  font-size: 1.05rem;
}
.google-reviews-section {
  background: var(--green-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.google-reviews-section .gr-business-name {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: var(--green-900);
  font-size: 1.05rem;
}
.google-reviews-section .section-intro p.gr-business-name {
  opacity: 1;
  max-width: none;
}
.gr-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 auto 1.5rem;
  justify-content: center;
  text-align: center;
}
.gr-score {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-900);
  line-height: 1;
  font-family: "Roboto Slab", Georgia, serif;
}
.gr-stars {
  color: #f4b400;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  line-height: 1;
}
.gr-stars-sm {
  font-size: 1rem;
}
.gr-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}
/* Horizontal reviews carousel: 1 per view mobile, 3 desktop */
.gr-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}
.gr-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0.15rem 0.1rem 0.65rem;
  /* hide scrollbar on WebKit but keep scroll */
}
.gr-track::-webkit-scrollbar {
  height: 6px;
}
.gr-track::-webkit-scrollbar-thumb {
  background: var(--green-300, #a3c9a0);
  border-radius: 999px;
}
.gr-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  min-height: 11rem;
}
@media (min-width: 768px) {
  /* 3 cards + 2 gaps of 1rem */
  .gr-card {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}
.gr-nav {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--green-900);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  z-index: 1;
}
.gr-nav:hover:not(:disabled) {
  background: var(--green-50);
  border-color: var(--green-400);
}
.gr-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.gr-nav[hidden] {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 480px) {
  .gr-carousel {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .gr-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
  }
  .gr-prev {
    left: 0.15rem;
  }
  .gr-next {
    right: 0.15rem;
  }
  .gr-track {
    padding-inline: 0.15rem;
  }
}
.gr-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.gr-author {
  color: var(--green-900);
  font-size: 0.98rem;
}
.gr-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.gr-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.gr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ===== Form submit progress overlay (large photo uploads) ===== */
body.form-submitting {
  overflow: hidden;
}
body.form-submitting #offerte-form,
body.form-submitting #contact-form {
  pointer-events: none;
}
.form-progress-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 16, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.form-progress-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.form-progress-card {
  width: min(100%, 26rem);
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border, #c5dcc3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: center;
}
.form-progress-spinner {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--accent, var(--green-600, #1a9e0a));
  animation: form-progress-spin 0.75s linear infinite;
}
@keyframes form-progress-spin {
  to { transform: rotate(360deg); }
}
.form-progress-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text, #111);
  font-family: var(--font-display, inherit);
}
.form-progress-detail {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--text-muted, #555);
  line-height: 1.45;
}
.form-progress-bar {
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 0 0.5rem;
}
.form-progress-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--green-700, #158706),
    var(--accent, var(--green-500, #2db812))
  );
  transition: width 0.55s ease-out;
}
.form-progress-bar-fill.is-indeterminate {
  width: 35% !important;
  animation: form-progress-slide 1.1s ease-in-out infinite;
}
@keyframes form-progress-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.form-progress-pct {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-800, var(--accent-dark, #1b5e08));
  min-height: 1.2em;
}
.form-progress-wait {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted, #666);
  line-height: 1.4;
}

/* ===== Photo picker (offerte form) – thumbnails, add/remove ===== */
.photo-picker {
  --pp-accent: var(--accent, var(--green-600, #1a9e0a));
  --pp-accent-dark: var(--accent-dark, var(--green-800, #1b5e08));
  --pp-soft: color-mix(in srgb, var(--pp-accent) 12%, #fff);
  --pp-border: var(--border, #c5dcc3);
  margin-top: 0.25rem;
}
.photo-picker-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.photo-picker-drop {
  border: 2px dashed var(--pp-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f7faf6 100%);
  padding: 1.15rem 1rem 1.05rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, transform 0.15s;
  outline: none;
}
.photo-picker-drop:hover,
.photo-picker-drop:focus-visible {
  border-color: var(--pp-accent);
  box-shadow: 0 0 0 3px rgba(21, 135, 6, 0.18);
}
.photo-picker-drop.is-dragover {
  border-color: var(--pp-accent);
  border-style: solid;
  background: #f3faf0;
  transform: scale(1.01);
}
.photo-picker-drop.has-photos {
  padding: 0.85rem 1rem;
}
.photo-picker-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}
.photo-picker-icon {
  color: var(--pp-accent-dark);
  opacity: 0.9;
  margin-bottom: 0.15rem;
}
.photo-picker-drop.has-photos .photo-picker-icon {
  display: none;
}
.photo-picker-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text, #1a1a1a);
  line-height: 1.3;
}
.photo-picker-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted, #666);
  line-height: 1.4;
  max-width: 28rem;
}
.photo-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.55rem;
}
.photo-picker-actions .btn {
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}
.photo-picker-camera {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.photo-picker-camera svg {
  flex-shrink: 0;
}
.photo-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}
.photo-picker-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.photo-picker-thumb-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ece7e0;
  border: 1px solid var(--pp-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.photo-picker-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-picker-thumb--placeholder {
  background: linear-gradient(135deg, #ddd 25%, #eee 50%, #ddd 75%);
}
.photo-picker-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 12, 8, 0.72);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.photo-picker-remove:hover,
.photo-picker-remove:focus-visible {
  background: #b42318;
  transform: scale(1.06);
  outline: none;
}
.photo-picker-name {
  font-size: 0.75rem;
  color: var(--text-muted, #666);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.1rem;
}
.photo-picker-meta {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
}
.photo-picker-alert {
  margin: 0.45rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fff4f2;
  border: 1px solid #f0c2ba;
  color: #8a2218;
  font-size: 0.9rem;
  line-height: 1.4;
}
.photo-picker-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 10, 6, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
}
.photo-picker-sheet-panel {
  width: min(22rem, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  margin-bottom: env(safe-area-inset-bottom, 0);
}
.photo-picker-sheet-panel .btn {
  width: 100%;
  min-height: 2.6rem;
  justify-content: center;
}
.photo-picker-sheet-cancel {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted, #666);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.55rem;
  cursor: pointer;
  min-height: 2.4rem;
}
.photo-picker-sheet-cancel:hover,
.photo-picker-sheet-cancel:focus-visible {
  color: var(--text, #1a1a1a);
  outline: none;
}
.photo-live {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(10, 7, 5, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.photo-live[hidden] {
  display: none !important;
}
.photo-live-dialog {
  width: min(28rem, 100%);
  background: #14110e;
  color: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}
.photo-live-title {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.photo-live-video {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
}
.photo-live-error {
  margin: 0.55rem 0 0;
  color: #ffd0c8;
  font-size: 0.9rem;
}
.photo-live-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.85rem;
}
.photo-live-actions .btn {
  min-height: 2.5rem;
}
@media (max-width: 520px) {
  .photo-picker-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
  }
  .photo-picker-remove {
    width: 1.85rem;
    height: 1.85rem;
  }
}



/* Locatie-hub + diensten op locatie: compacte getinte fotobalk */
main > .page-hero.page-hero--with-img,
.page-hero.page-hero--with-img.page-hero--service,
.page-hero.page-hero--service {
  height: auto !important;
  min-height: 168px !important;
  max-height: none !important;
  padding: 1.15rem 0 1.25rem !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}
/* Zelfde donkere merktint als op de dienstenpagina’s (--hero-overlay) */
.page-hero.page-hero--with-img.page-hero--service::after,
.page-hero.page-hero--service.page-hero--with-img::after {
  background: var(--hero-overlay) !important;
}
.page-hero.page-hero--with-img.page-hero--service p,
.page-hero.page-hero--service p {
  -webkit-line-clamp: 2 !important;
}
/* Ongetinte grote hero-foto ONDER de introtekst */
.page-figure.page-figure--hero {
  margin: 0 0 1.5rem;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: visible;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--green-50);
}
.page-figure.page-figure--hero img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  background: var(--green-50);
}
.page-figure.page-figure--hero figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.55rem 0.85rem;
  background: var(--green-50);
}
.section-after-strip {
  padding-top: 1.5rem !important;
}
/* img blijft uit de layout (foto via ::before + --hero-image), maar niet width/height 0 */
main > .page-hero.page-hero--with-img .page-hero__img,
.page-hero.page-hero--service .page-hero__img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
main > .page-hero.page-hero--with-img h1,
.page-hero.page-hero--service h1 {
  margin: 0 0 0.25rem !important;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem) !important;
  line-height: 1.25 !important;
}
main > .page-hero.page-hero--with-img p,
.page-hero.page-hero--service p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-width: 36rem !important;
}
.page-hero.page-hero--service .container,
.page-hero.page-hero--with-img.page-hero--service .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Breadcrumb verborgen in compacte locatiebalk */
main > .page-hero.page-hero--with-img .breadcrumb,
.page-hero.page-hero--service .breadcrumb {
  display: none !important;
}
/* Compactere knoppen in locatie/dienst-herobalk */
.page-hero.page-hero--with-img.page-hero--service .hero-actions .btn,
.page-hero.page-hero--service .hero-actions .btn,
.page-hero.page-hero--with-img .hero-actions .btn {
  font-size: 0.82rem !important;
  padding: 0.4rem 0.85rem !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}
@media (max-width: 700px) {
  main > .page-hero.page-hero--with-img,
  .page-hero.page-hero--with-img.page-hero--service,
  .page-hero.page-hero--service {
    min-height: 150px !important;
    height: auto !important;
    max-height: none !important;
    padding: 1rem 0 !important;
  }
  main > .page-hero.page-hero--with-img h1,
  .page-hero.page-hero--service h1 {
    font-size: 1.15rem !important;
  }
  main > .page-hero.page-hero--with-img p,
  .page-hero.page-hero--service p {
    font-size: 0.82rem !important;
    -webkit-line-clamp: 2;
  }
  .page-hero.page-hero--with-img.page-hero--service .hero-actions .btn,
  .page-hero.page-hero--service .hero-actions .btn {
    font-size: 0.78rem !important;
    padding: 0.35rem 0.7rem !important;
  }
}
/* Force tinted page-hero photo headers (must win over theme overrides) */
.page-hero.page-hero--with-img {
  isolation: isolate;
}
/* Foto-laag */
.page-hero.page-hero--with-img::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background-color: var(--green-900, #0a2e08) !important;
  background-image: var(--hero-image, none) !important;
  background-position: center 25% !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}
/* Merktint-laag (apart van foto: voorkomt CSS-parsefout door komma's in gradient) */
.page-hero.page-hero--with-img::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: var(--hero-overlay) !important;
}
.page-hero.page-hero--with-img .page-hero__img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  object-fit: cover !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.page-hero.page-hero--with-img > .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Homepage / sidebar: compacte plaatsenlijst (SEO) */
.place-list-compact {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.75rem;
  font-size: 0.92rem;
}
.place-list-compact a { color: var(--green-800); }
.place-list-compact a:hover { color: var(--green-900); }

@media (max-width: 700px) {
  
}

/* ===== Ook-in 3 kaarten (enige bron) ===== */
.ook-in-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 1.25rem 0 !important;
}
.ook-in-grid > article.card,
.ook-in-grid > article {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
/* Vaste 170px crop-box – staand/liggend maakt niet uit */
.ook-in-grid .ook-in-media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  max-height: 170px !important;
  min-height: 170px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  flex: 0 0 170px !important;
  background: #163214 !important;
}
/* Alleen imgs IN .ook-in-media mogen absolute zijn (vaste 170px box) */
.ook-in-grid .ook-in-media img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-height: 0 !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  object-position: center 20% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
/* Directe img in ook-in kaart: oude vaste strook */
.ook-in-grid > article > img,
.ook-in-grid .service-card > img,
.ook-in-grid .card > img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 170px !important;
  max-height: 170px !important;
  min-height: 170px !important;
  max-width: 100% !important;
  aspect-ratio: unset !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 170px !important;
}
.ook-in-grid .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0.85rem 1.15rem 1.15rem !important;
  min-height: 0 !important;
  margin: 0 !important;
}
.ook-in-grid .card-body h3 {
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}
.ook-in-grid .card-body p {
  flex: 1 1 auto !important;
  margin: 0 0 0.75rem !important;
}
.ook-in-grid .card-body .btn {
  margin-top: auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  min-height: 2.85em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.ook-in-grid h3.heading-stump {
  display: block !important;
}
.ook-in-grid h3.heading-stump::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}
@media (max-width: 700px) {
  .ook-in-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Extra hard: service/location heroes compact; with-img diensten iets hoger */
.page-hero.page-hero--service.page-hero--frezen:not(.page-hero--with-img),
.page-hero.page-hero--service.page-hero--kappen:not(.page-hero--with-img),
.page-hero.page-hero--service.page-hero--snoeien:not(.page-hero--with-img) {
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  padding: 0.9rem 0 !important;
  overflow: hidden !important;
}
main > section.page-hero.page-hero--with-img.page-hero--service { height: 160px !important; min-height: 160px !important; max-height: 160px !important; overflow: hidden !important; }

/* fig2-locatie-compact: heroes + page-figures hard begrensd */
main > .page-hero.page-hero--with-img.page-hero--service,
.page-hero.page-hero--service {
  height: 150px !important;
  min-height: 150px !important;
  max-height: 150px !important;
  padding: 0.85rem 0 !important;
  overflow: hidden !important;
}
.page-hero.page-hero--service .hero-actions,
.page-hero.page-hero--service .breadcrumb {
  display: none !important;
}
/* fig3-plain-loc-heroes */

/* Contentfoto's: nooit inkorten/croppen */
.prose > .page-figure:first-of-type img,
.content-main > .page-figure:first-of-type img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}
/* Witte knoptekst hero + sidebar */
.page-hero .btn-primary,
.page-hero .hero-actions .btn-primary,
.page-hero .btn-secondary,
.content-wrap .sidebar-card .btn-primary,
.sidebar-card .btn-primary,
.content-wrap .sidebar-card a.btn-whatsapp,
.content-wrap .sidebar-card .btn-whatsapp,
.sidebar-card a.btn-whatsapp {
  color: #fff !important;
}
.content-wrap .sidebar-card a.btn-whatsapp:hover,
.content-wrap .sidebar-card .btn-whatsapp:hover,
.sidebar-card a.btn-whatsapp:hover {
  color: #fff !important;
}
.page-hero.page-hero--with-img.page-hero--service .hero-actions,
.page-hero.page-hero--service .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-top: 0.65rem !important;
}

/* Sidebar info links */
.sidebar-links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.sidebar-links li {
  margin: 0;
  border-bottom: 1px solid var(--border, #d7e6d5);
}
.sidebar-links li:last-child { border-bottom: 0; }
.sidebar-links a {
  display: block;
  padding: 0.55rem 0;
  color: var(--green-800, #1b5e08);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.sidebar-links a:hover { text-decoration: underline; }

/* Compacte herobalk: echte <img> zichtbaar, schuine snede */
.page-hero.page-hero--with-img img.page-hero__img,
main > .page-hero.page-hero--with-img .page-hero__img,
.page-hero.page-hero--service img.page-hero__img {
  display: block !important;
  visibility: visible !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center 30% !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: none !important;
}
.page-hero,
.page-hero.page-hero--with-img,
.page-hero.page-hero--service,
main > .page-hero,
main > .page-hero.page-hero--with-img,
main > section.page-hero.page-hero--with-img.page-hero--service {
  height: 188px !important;
  min-height: 188px !important;
  max-height: 188px !important;
  padding: 0.85rem 0 2.75rem !important;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 0 100%) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.page-hero.page-hero--with-img::before,
.page-hero--with-img::before {
  background-image: none !important;
  background-color: transparent !important;
}
.page-hero:not(.page-hero--with-img)::before {
  background-image:
    linear-gradient(105deg, rgba(3, 22, 2, 0.70) 0%, rgba(6, 36, 4, 0.54) 50%, rgba(10, 48, 6, 0.38) 100%),
    url("/images/diensten/kappen/bomen-kappen-01.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}
.page-hero h1,
main > .page-hero.page-hero--with-img h1,
.page-hero.page-hero--service h1 {
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
  margin: 0 0 0.12rem !important;
  line-height: 1.2 !important;
}
.page-hero p,
main > .page-hero.page-hero--with-img p,
.page-hero.page-hero--service p {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  -webkit-line-clamp: 1 !important;
  max-width: 42rem !important;
}
.page-hero .breadcrumb,
main > .page-hero.page-hero--with-img .breadcrumb,
.page-hero.page-hero--service .breadcrumb {
  display: none !important;
}
.page-hero .hero-actions,
.page-hero.page-hero--service .hero-actions,
.page-hero.page-hero--with-img .hero-actions {
  display: none !important;
}
.page-hero.page-hero--with-img::after,
.page-hero--with-img::after {
  background: linear-gradient(100deg, rgba(4, 18, 3, 0.74) 0%, rgba(8, 36, 6, 0.60) 55%, rgba(12, 52, 10, 0.44) 100%) !important;
}

/* === PAGE-HEAD: koptekst zonder hero-foto (homepage .hero blijft) === */
.page-hero,
.page-hero.page-hero--with-img,
.page-hero.page-hero--service,
main > .page-hero,
main > .page-hero.page-hero--with-img,
main > section.page-hero.page-hero--with-img.page-hero--service {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 1.55rem 0 1.25rem !important;
  margin: 0 !important;
  clip-path: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  isolation: auto;
  background: transparent !important;
  background-image: none !important;
  color: var(--text, #002d00) !important;
  border-bottom: 1px solid var(--border, #c5dcc3);
}
.page-hero::before,
.page-hero::after,
.page-hero.page-hero--with-img::before,
.page-hero.page-hero--with-img::after,
.page-hero--with-img::before,
.page-hero--with-img::after,
.page-hero:not(.page-hero--with-img)::before,
.page-hero.page-hero--service::before,
.page-hero.page-hero--service::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}
.page-hero .page-hero__img,
.page-hero img.page-hero__img,
.page-hero.page-hero--with-img img.page-hero__img,
main > .page-hero.page-hero--with-img .page-hero__img,
.page-hero.page-hero--service img.page-hero__img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  pointer-events: none !important;
}
.page-hero .page-hero__mark {
  display: none !important;
}
.page-hero > .container,
.page-hero.page-hero--with-img > .container,
.page-hero.page-hero--service > .container {
  position: relative !important;
  z-index: 1 !important;
  border-left: 5px solid var(--green-700, #158706) !important;
  padding-left: 1.15rem !important;
}
.page-hero h1,
main > .page-hero h1,
main > .page-hero.page-hero--with-img h1,
.page-hero.page-hero--service h1 {
  color: var(--green-900, #1b4400) !important;
  font-size: clamp(1.55rem, 3.2vw, 2.2rem) !important;
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  line-height: 1.15 !important;
  text-shadow: none !important;
  overflow: visible !important;
}
.page-hero h1::before,
.page-hero.page-hero--with-img h1::before,
.page-hero.page-hero--service h1::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}
.page-hero p,
main > .page-hero p,
main > .page-hero.page-hero--with-img p,
.page-hero.page-hero--service p {
  color: var(--text-muted, #3d5a3d) !important;
  font-size: 1.02rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  max-width: 40rem !important;
  text-shadow: none !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
}
.page-hero a:not(.btn),
.page-hero.page-hero--with-img a:not(.btn) {
  color: var(--green-800, #1b5e08) !important;
}
.page-hero a:not(.btn):hover,
.page-hero.page-hero--with-img a:not(.btn):hover {
  color: var(--green-700, #158706) !important;
}
.page-hero + .section,
.page-hero + .section-alt {
  padding-top: 1.75rem !important;
}
@media (max-width: 700px) {
  .page-hero,
  .page-hero.page-hero--with-img,
  .page-hero.page-hero--service,
  main > .page-hero {
    padding: 1.2rem 0 1.05rem !important;
  }
  .page-hero h1,
  main > .page-hero h1 {
    font-size: 1.4rem !important;
  }
  .page-hero p,
  main > .page-hero p {
    font-size: 0.95rem !important;
  }
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
  justify-content: center;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--green-50, #f4faf3);
  border-bottom: 1px solid var(--border, #c5dcc3);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-900, #1b4400);
  line-height: 1.35;
}
.trust-strip span {
  position: relative;
  padding-left: 0.9rem;
}
.trust-strip span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700, #158706);
  font-weight: 800;
}
.loc-mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0.35rem;
}
.loc-mid-cta .btn {
  margin: 0;
}
@media (max-width: 700px) {
  .trust-strip {
    justify-content: flex-start;
    font-size: 0.82rem;
    gap: 0.25rem 0.9rem;
  }
}

.kap-disclaimer {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4a5c4a;
}
