/* ==========================================================================
   Rick van den Bosch Hovenier — vandenboschhovenier.nl
   Palette en typografie afgeleid van het bedrijf zelf:
   - dennengroen (het groen), antraciet (de bus, keramische tegel),
     voegzand (lichte achtergrond), gebakken-klinker amber (alleen CTA).
   - Brede kapitalen in de koppen verwijzen naar de belettering op de bus.
   - Signatuur: klinkerstrip in halfsteensverband als sectierand.
   ========================================================================== */

:root {
  --groen-900: #1c3a28;
  --groen-800: #24492f;
  --groen-700: #2e5b3c;
  --groen-600: #3a6e4a;
  --blad: #7cae6b;
  --antraciet: #26292b;
  --antraciet-800: #33383b;
  --zand: #efede5;
  --zand-donker: #e0dccd;
  --wit: #ffffff;
  --klinker: #c97b2d;
  --klinker-donker: #a9631f;
  --tekst: #26292b;
  --tekst-zacht: #565e58;
  --focus: #1c6ee0;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  --radius: 10px;
  --schaduw: 0 2px 6px rgba(28, 58, 40, 0.08), 0 12px 32px rgba(28, 58, 40, 0.10);
}

/* ---------- basis ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--zand);
}

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

a { color: var(--groen-700); }
a:hover { color: var(--groen-900); }

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

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

/* ---------- typografie ---------- */

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 750;
  font-stretch: 118%;
  line-height: 1.12;
  letter-spacing: 0.015em;
  margin: 0 0 0.6em;
  color: var(--groen-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-transform: uppercase; }
h3 { font-size: 1.17rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--klinker);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.17rem; color: var(--tekst-zacht); max-width: 46em; }

/* ---------- signatuur: klinkerstrip (halfsteensverband) ---------- */

.klinker-strip {
  height: 18px;
  background:
    repeating-linear-gradient(90deg, var(--klinker) 0 44px, transparent 44px 48px) 0 0 / 48px 8px repeat-x,
    repeating-linear-gradient(90deg, var(--klinker-donker) 0 44px, transparent 44px 48px) 24px 10px / 48px 8px repeat-x;
}
.klinker-strip.groen {
  background:
    repeating-linear-gradient(90deg, var(--groen-600) 0 44px, transparent 44px 48px) 0 0 / 48px 8px repeat-x,
    repeating-linear-gradient(90deg, var(--groen-800) 0 44px, transparent 44px 48px) 24px 10px / 48px 8px repeat-x;
}

/* ---------- knoppen ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primair {
  background: var(--klinker);
  color: var(--wit);
}
.btn-primair:hover { background: var(--klinker-donker); color: var(--wit); }

.btn-secundair {
  background: var(--groen-700);
  color: var(--wit);
}
.btn-secundair:hover { background: var(--groen-900); color: var(--wit); }

.btn-omlijnd {
  background: transparent;
  color: var(--groen-700);
  border-color: var(--groen-700);
}
.btn-omlijnd:hover { background: var(--groen-700); color: var(--wit); }

.btn-omlijnd.licht {
  color: var(--wit);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-omlijnd.licht:hover { background: var(--wit); color: var(--groen-900); }

.cta-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0;
}

/* ---------- header ---------- */

.site-header {
  background: var(--wit);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(38, 41, 43, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  text-decoration: none;
  line-height: 1.15;
  display: block;
}
.logo .logo-naam {
  display: block;
  font-weight: 800;
  font-stretch: 122%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.02rem;
  color: var(--groen-900);
}
.logo .logo-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--klinker);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--groen-900);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-weight: 700;
  color: var(--groen-900);
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--antraciet);
  padding: 0.35rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--groen-700); }
.site-nav a[aria-current="page"] {
  color: var(--groen-700);
  border-bottom-color: var(--klinker);
}

.site-nav .nav-cta {
  background: var(--klinker);
  color: var(--wit);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border-bottom: none;
}
.site-nav .nav-cta:hover { background: var(--klinker-donker); color: var(--wit); }

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wit);
    box-shadow: var(--schaduw);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--zand-donker);
  }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--klinker); }
  .site-nav .nav-cta { margin-top: 0.8rem; text-align: center; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--groen-900);
  color: var(--wit);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 1.25rem 4.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero h1 { color: var(--wit); }
.hero .eyebrow { color: var(--blad); }
.hero p { color: rgba(255, 255, 255, 0.88); max-width: 38em; }

.hero-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.hero-fotos img {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fotos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hero-fotos img:not(:first-child) { aspect-ratio: 4 / 3; }

.hero-feiten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
}
.hero-feiten li::before {
  content: "✔";
  color: var(--blad);
  margin-right: 0.5rem;
}

@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr; padding: 2.6rem 1.25rem 3rem; }
}

/* subpagina-hero (compacter, zonder foto's) */
.hero.klein .hero-inner {
  grid-template-columns: 1fr;
  padding: 2.8rem 1.25rem 3rem;
}

/* ---------- secties ---------- */

.sectie { padding: 3.6rem 0; }
.sectie.wit { background: var(--wit); }
.sectie.groen { background: var(--groen-900); color: var(--wit); }
.sectie.groen h2 { color: var(--wit); }
.sectie.groen p { color: rgba(255, 255, 255, 0.88); }

.sectie-kop { max-width: 46em; margin-bottom: 2.2rem; }

/* ---------- dienstenkaarten ---------- */

.kaarten {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.4rem;
}

.kaart {
  background: var(--wit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--groen-700);
}

.kaart img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.kaart-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.kaart-body h3 { margin-bottom: 0.4rem; }
.kaart-body p { color: var(--tekst-zacht); font-size: 0.98rem; flex: 1; }

.kaart-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--klinker-donker);
}
.kaart-link:hover { color: var(--groen-900); }

/* ---------- werkwijze ---------- */

.stappen {
  list-style: none;
  counter-reset: stap;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.stappen li {
  counter-increment: stap;
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--schaduw);
}

.stappen li::before {
  content: counter(stap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--groen-700);
  color: var(--wit);
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.stappen h3 { margin-bottom: 0.35rem; }
.stappen p { margin: 0; color: var(--tekst-zacht); font-size: 0.97rem; }

/* ---------- galerij ---------- */

.galerij {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.galerij img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--schaduw);
}

.project-blok { margin-bottom: 3rem; }
.project-blok:last-child { margin-bottom: 0; }
.project-blok p { max-width: 46em; color: var(--tekst-zacht); }

/* ---------- materialenlijst (bestrating) ---------- */

.materialen {
  width: 100%;
  border-collapse: collapse;
  background: var(--wit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schaduw);
  font-size: 0.99rem;
}
.materialen th, .materialen td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--zand-donker);
  vertical-align: top;
}
.materialen th {
  background: var(--groen-900);
  color: var(--wit);
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.materialen tr:last-child td { border-bottom: none; }

/* ---------- faq ---------- */

.faq { max-width: 50em; }
.faq details {
  background: var(--wit);
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
  margin-bottom: 0.9rem;
  padding: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.05rem 1.3rem;
  color: var(--groen-900);
}
.faq summary:hover { color: var(--groen-700); }
.faq .faq-antwoord { padding: 0 1.3rem 1.2rem; color: var(--tekst-zacht); }
.faq .faq-antwoord p { margin-bottom: 0.5em; }

/* ---------- over-blok ---------- */

.over-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 2.5rem;
  align-items: center;
}
.over-grid img {
  border-radius: var(--radius);
  box-shadow: var(--schaduw);
}
@media (max-width: 840px) {
  .over-grid { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.contact-kaart {
  background: var(--wit);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--schaduw);
  border-top: 6px solid var(--klinker);
}
.contact-kaart h3 { margin-bottom: 0.4rem; }
.contact-kaart p { margin-bottom: 0.4em; }
.contact-kaart a { font-weight: 700; }

.nap {
  font-style: normal;
  line-height: 1.8;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--antraciet);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.8rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.site-footer h2 {
  color: var(--wit);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--wit); text-decoration: underline; }
.footer-onder {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  font-size: 0.88rem;
  padding: 1rem 0 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--tekst-zacht); }
.breadcrumb a { color: var(--tekst-zacht); }

/* ---------- animatie (subtiel, met reduced-motion respect) ---------- */

/* Alleen verbergen wanneer JavaScript aanwezig is (html.js), zodat de
   inhoud zonder JS gewoon zichtbaar blijft. */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  html.js .reveal.zichtbaar {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 404 ---------- */

.nietgevonden {
  text-align: center;
  padding: 5rem 1.25rem;
}
