/* ==========================================================================
   Hoveniersbedrijf Marco den Boer — sitewide stylesheet
   Palet uit eigen projectfoto's: basalt, buxusgroen, hardhout, siergrind.
   Signature: het stapstenen-motief uit zijn koivijvers.
   ========================================================================== */

:root {
  /* kleuren */
  --basalt: #1e2521;      /* donker groen-zwart, natte basalt */
  --den: #2e4a39;         /* primair groen */
  --den-diep: #24392d;
  --loof: #6f8f5e;        /* licht loofgroen */
  --vlonder: #c08a4b;     /* warm hout, CTA */
  --vlonder-diep: #a97538;
  --grind: #f2f2ed;       /* pagina-achtergrond */
  --leem: #e6e4da;        /* secundair vlak */
  --wit: #ffffff;
  --ink: #22291f;
  --ink-zacht: #4c554b;
  --lijn: #d8d7cc;

  /* typografie */
  --f-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --f-body: "Figtree", "Segoe UI", Arial, sans-serif;

  --maat: 1120px;
  --radius: 10px;
  --schaduw: 0 10px 30px rgba(30, 37, 33, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--grind);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.12;
  color: var(--basalt);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--den); text-underline-offset: 3px; }
a:hover { color: var(--den-diep); }

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

.wrap { max-width: var(--maat); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--basalt); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* --------------------------------------------------------------------------
   Stapstenen-motief (signature)
   -------------------------------------------------------------------------- */

.stenen { display: inline-flex; gap: 5px; align-items: flex-end; }
.stenen i {
  width: 16px; height: 10px; border-radius: 3px;
  background: var(--loof); display: inline-block;
}
.stenen i:nth-child(2) { background: var(--den); transform: translateY(-4px); }
.stenen i:nth-child(3) { background: var(--vlonder); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--den);
  margin-bottom: 0.9rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 242, 237, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lijn);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.7rem; padding-bottom: 0.7rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--f-display); font-weight: 800; font-size: 1.15rem;
  color: var(--basalt);
}
.brand-text small { font-size: 0.75rem; color: var(--ink-zacht); letter-spacing: 0.02em; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav > a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem;
}
.site-nav > a:hover { color: var(--den); }
.site-nav > a[aria-current="page"] {
  color: var(--den); font-weight: 700;
  border-bottom: 3px solid var(--vlonder); padding-bottom: 2px;
}

.nav-toggle {
  display: none; background: none; border: 2px solid var(--basalt);
  border-radius: 8px; font: 600 0.9rem var(--f-body); color: var(--basalt);
  padding: 0.45rem 0.9rem; cursor: pointer;
}

/* --------------------------------------------------------------------------
   Knoppen
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-bel { background: var(--vlonder); color: var(--basalt); }
.btn-bel:hover { background: var(--vlonder-diep); color: var(--wit); }

.btn-groen { background: var(--den); color: var(--wit); }
.btn-groen:hover { background: var(--den-diep); color: var(--wit); }

.btn-licht {
  background: transparent; color: var(--wit);
  border: 2px solid rgba(255, 255, 255, 0.65);
}
.btn-licht:hover { background: rgba(255, 255, 255, 0.14); color: var(--wit); }

.btn-lijn { background: transparent; color: var(--den); border: 2px solid var(--den); }
.btn-lijn:hover { background: var(--den); color: var(--wit); }

.nav-cta {
  background: var(--vlonder); color: var(--basalt) !important;
  padding: 0.5rem 1rem; border-radius: 8px; font-weight: 700 !important;
  text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--vlonder-diep); color: var(--wit) !important; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; color: var(--wit);
  background: var(--basalt);
  display: flex; align-items: flex-end;
  min-height: min(88vh, 760px);
}
.hero-foto {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.62;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 37, 33, 0.25) 0%, rgba(30, 37, 33, 0.82) 78%);
}
.hero-inhoud {
  position: relative; padding: 6rem 0 3.5rem; width: 100%;
}
.hero h1 { color: var(--wit); max-width: 17ch; }
.hero .regio {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #d9e2cf; margin-bottom: 1rem;
}
.hero .sub { max-width: 52ch; font-size: 1.15rem; color: #e8ebe2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.hero-strook {
  position: relative; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  margin-top: 2.2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.95rem; color: #d9e2cf;
}
.hero-strook strong { color: var(--wit); }

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */

.sectie { padding: 4.5rem 0; }
.sectie-leem { background: var(--leem); }
.sectie-basalt { background: var(--basalt); color: #e3e7dd; }
.sectie-basalt h2, .sectie-basalt h3 { color: var(--wit); }
.sectie-basalt .eyebrow { color: var(--loof); }

.sectie-kop { max-width: 62ch; margin-bottom: 2.2rem; }
.sectie-kop.midden { margin-left: auto; margin-right: auto; text-align: center; }
.sectie-kop.midden .eyebrow { justify-content: center; }

.kolommen-2 {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start;
}

/* --------------------------------------------------------------------------
   Dienstenkaarten
   -------------------------------------------------------------------------- */

.diensten-rooster {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.dienst-kaart {
  background: var(--wit); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(30, 37, 33, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dienst-kaart:hover { transform: translateY(-4px); box-shadow: var(--schaduw); color: var(--ink); }
.dienst-kaart img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dienst-kaart .tekst { padding: 1.1rem 1.2rem 1.3rem; }
.dienst-kaart h3 { margin-bottom: 0.35rem; }
.dienst-kaart p { font-size: 0.95rem; color: var(--ink-zacht); }
.dienst-kaart .meer { margin-top: 0.6rem; font-weight: 700; color: var(--den); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Werkwijze: stapstenen over de donkere waterband
   -------------------------------------------------------------------------- */

.stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stap {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.stap:nth-child(2) { transform: translateY(1.4rem); }
.stap:nth-child(3) { transform: translateY(2.8rem); }
.stap .nummer {
  font-family: var(--f-display); font-weight: 800; font-size: 0.95rem;
  display: inline-block; background: var(--vlonder); color: var(--basalt);
  border-radius: 6px; padding: 0.15rem 0.6rem; margin-bottom: 0.9rem;
}
.stap p { color: #c9d1c2; font-size: 0.98rem; }
.stappen-voet { margin-top: 5rem; text-align: center; }

/* --------------------------------------------------------------------------
   Fotorooster
   -------------------------------------------------------------------------- */

.foto-rooster {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.foto-rooster a {
  display: block; border-radius: var(--radius); overflow: hidden;
  position: relative;
}
.foto-rooster img {
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
  transition: transform 0.25s ease;
}
.foto-rooster a:hover img { transform: scale(1.04); }

.rooster-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Vertrouwen / kenmerken
   -------------------------------------------------------------------------- */

.kenmerken { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.kenmerk {
  background: var(--wit); border-radius: var(--radius); padding: 1.5rem;
  border-top: 4px solid var(--loof);
}
.kenmerk:nth-child(2) { border-top-color: var(--den); }
.kenmerk:nth-child(3) { border-top-color: var(--vlonder); }
.kenmerk h3 { margin-bottom: 0.4rem; }
.kenmerk p { font-size: 0.97rem; color: var(--ink-zacht); }

/* citaat / persoonlijk blok */
.citaat {
  border-left: 4px solid var(--vlonder);
  padding: 0.3rem 0 0.3rem 1.3rem; margin: 1.5rem 0;
  font-size: 1.15rem; font-style: italic; color: var(--den-diep);
}

/* --------------------------------------------------------------------------
   Contactblok
   -------------------------------------------------------------------------- */

.contact-kaarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.contact-kaart {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.contact-kaart h3 { color: var(--wit); margin-bottom: 0.3rem; }
.contact-kaart p { color: #c9d1c2; font-size: 0.95rem; margin-bottom: 1rem; }
.contact-kaart .btn { width: 100%; }

.nap {
  margin-top: 2rem; text-align: center; color: #c9d1c2; font-size: 0.98rem;
}
.nap a { color: var(--wit); }

/* contactpagina */
.contact-rooster { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-lijst { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-lijst li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.7rem 0; border-bottom: 1px solid var(--lijn);
}
.contact-lijst .label { font-weight: 700; min-width: 7.5rem; color: var(--basalt); }

.map-link { display: block; border-radius: var(--radius); overflow: hidden; position: relative; text-decoration: none; box-shadow: var(--schaduw); }
.map-link img { width: 100%; object-fit: cover; }
.map-link span {
  position: absolute; right: 0.8rem; bottom: 0.8rem;
  background: var(--basalt); color: var(--wit); font-weight: 600; font-size: 0.85rem;
  padding: 0.4rem 0.8rem; border-radius: 6px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { max-width: 46rem; }
.faq details {
  background: var(--wit); border-radius: var(--radius);
  margin-bottom: 0.7rem; box-shadow: 0 1px 6px rgba(30, 37, 33, 0.06);
}
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--basalt);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--f-display); font-weight: 800; color: var(--vlonder);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1.1rem; color: var(--ink-zacht); }

/* --------------------------------------------------------------------------
   Content-pagina's
   -------------------------------------------------------------------------- */

.pagina-kop {
  background: var(--basalt); color: #e3e7dd; padding: 3.5rem 0 2.8rem;
}
.pagina-kop h1 { color: var(--wit); }
.pagina-kop .sub { max-width: 58ch; font-size: 1.1rem; color: #c9d1c2; }
.pagina-kop .eyebrow { color: var(--loof); }

.kruimel { font-size: 0.85rem; margin-bottom: 1.2rem; color: #9aa694; }
.kruimel a { color: #c9d1c2; }
.kruimel span[aria-current] { color: var(--wit); }

.artikel { max-width: 46rem; }
.artikel h2 { margin-top: 2rem; }
.artikel ul { padding-left: 1.2rem; }
.artikel li { margin-bottom: 0.4rem; }

.foto-breed { border-radius: var(--radius); overflow: hidden; margin: 2rem 0; box-shadow: var(--schaduw); }

.cta-band { text-align: center; }
.cta-band .btn { margin: 0.3rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--basalt); color: #c9d1c2; padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer-rooster {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-footer h3 { color: var(--wit); font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { color: #e3e7dd; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-onder {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  padding-top: 1.2rem; font-size: 0.85rem; color: #9aa694;
}
.footer-onder a { color: #c9d1c2; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .diensten-rooster { grid-template-columns: repeat(2, 1fr); }
  .kolommen-2, .contact-rooster { grid-template-columns: 1fr; }
  .kenmerken, .stappen, .contact-kaarten { grid-template-columns: 1fr; }
  .stap:nth-child(2), .stap:nth-child(3) { transform: none; }
  .stappen-voet { margin-top: 2.5rem; }
  .foto-rooster, .rooster-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-rooster { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--grind); border-bottom: 1px solid var(--lijn);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 0.7rem 0; border-bottom: 1px solid var(--lijn); }
  .site-nav > a[aria-current="page"] { border-bottom: 1px solid var(--lijn); }
  .nav-cta { margin-top: 0.8rem; text-align: center; }
  .hero-inhoud { padding-top: 4rem; }
}

@media (max-width: 520px) {
  .diensten-rooster { grid-template-columns: 1fr; }
  .foto-rooster, .rooster-4 { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

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