/* =====================================================
   Montferland Psychologie — designsysteem
   Palet: dennengroen / salie / papier / honing-amber
   Type:  Fraunces (display) + Karla (body)
   ===================================================== */

:root {
  --groen-diep: #24382e;
  --groen: #3e5c4b;
  --salie: #dfe8dd;
  --salie-licht: #eef3ec;
  --papier: #f8f8f3;
  --inkt: #26302b;
  --inkt-zacht: #55635b;
  --amber: #b0761f;
  --amber-donker: #8f5e15;
  --wit: #ffffff;
  --radius: 10px;
  --maxw: 1080px;
  --schaduw: 0 2px 14px rgba(36, 56, 46, 0.08);
}

* { 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: "Karla", "Segoe UI", sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--papier);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  line-height: 1.18;
  color: var(--groen-diep);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0 0 0.7em; }
h3 { font-size: 1.22rem; margin: 0 0 0.5em; }

p { margin: 0 0 1.1em; }
a { color: var(--amber-donker); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--groen-diep); }

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

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--amber-donker);
  margin: 0 0 0.9em;
}

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

/* ---------- header & navigatie ---------- */
.site-header {
  background: var(--papier);
  border-bottom: 1px solid var(--salie);
  position: sticky; top: 0; z-index: 40;
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none;
}
.brand svg { flex: none; }
.brand-tekst { line-height: 1.15; }
.brand-naam {
  font-family: "Fraunces", serif; font-weight: 600;
  font-size: 1.18rem; color: var(--groen-diep); display: block;
}
.brand-sub { font-size: 0.78rem; color: var(--inkt-zacht); letter-spacing: 0.04em; }

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

.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--inkt);
  font-weight: 600; font-size: 0.97rem; padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--amber); color: var(--groen-diep); }

.heeft-sub { position: relative; }
.heeft-sub > a::after { content: " ▾"; font-size: 0.7em; }
.submenu {
  position: absolute; top: 100%; left: -0.8rem; min-width: 240px;
  background: var(--wit); border: 1px solid var(--salie);
  border-radius: var(--radius); box-shadow: var(--schaduw);
  list-style: none; margin: 0.4rem 0 0; padding: 0.5rem 0;
  display: none;
}
.heeft-sub:hover .submenu, .heeft-sub:focus-within .submenu { display: block; }
.submenu a {
  display: block; padding: 0.45rem 1rem; border-bottom: none; font-weight: 500;
}
.submenu a:hover { background: var(--salie-licht); }

.nav-cta {
  background: var(--amber); color: var(--wit) !important;
  padding: 0.55rem 1.1rem !important; border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--amber-donker); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wit); border-bottom: 1px solid var(--salie);
    padding: 0.6rem 1.2rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0; }
  .submenu { position: static; display: block; border: none; box-shadow: none; padding: 0 0 0 1rem; margin: 0; }
  .nav-cta { text-align: center; margin-top: 0.6rem; }
}

/* ---------- hero ---------- */
.hero { background: var(--salie-licht); }
.hero-inner {
  display: grid; grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem; align-items: center; padding: 4rem 0 3.2rem;
}
.hero p.lead { font-size: 1.18rem; color: var(--inkt-zacht); max-width: 34em; }
.hero-figuur {
  background: var(--wit); border-radius: var(--radius);
  border: 1px solid var(--salie); box-shadow: var(--schaduw);
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  color: var(--inkt-zacht); text-align: center; padding: 1rem; font-size: 0.9rem;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding: 2.6rem 0 2.4rem; gap: 1.6rem; }
  .hero-figuur { max-width: 320px; }
}

.knoppenrij { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.knop {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 0.75rem 1.5rem; border-radius: 999px; font-size: 1rem;
}
.knop-primair { background: var(--amber); color: var(--wit); }
.knop-primair:hover { background: var(--amber-donker); color: var(--wit); }
.knop-secundair { border: 2px solid var(--groen); color: var(--groen-diep); }
.knop-secundair:hover { background: var(--groen); color: var(--wit); }

/* ---------- heuvelrug-divider (signatuur) ---------- */
.heuvels { display: block; width: 100%; height: 70px; }
.heuvels-onder { transform: scaleY(-1); }

/* ---------- secties ---------- */
.sectie { padding: 3.6rem 0; }
.sectie-salie { background: var(--salie-licht); }
.sectie-groen { background: var(--groen-diep); color: #e9efe9; }
.sectie-groen h2, .sectie-groen h3 { color: var(--wit); }
.sectie-groen a { color: #ecc27a; }
.sectie-groen .eyebrow { color: #d8b26a; }

.smal { max-width: 46em; }

/* ---------- kaartengrid (aanbod) ---------- */
.kaarten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.3rem; margin-top: 1.8rem;
}
.kaart {
  background: var(--wit); border: 1px solid var(--salie);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--schaduw);
  display: flex; flex-direction: column;
}
.kaart p { color: var(--inkt-zacht); font-size: 0.98rem; flex: 1; }
.kaart-link { font-weight: 700; text-decoration: none; }
.kaart-link::after { content: " →"; }
.kaart-icoon { color: var(--groen); margin-bottom: 0.7rem; }

/* ---------- wandelpad (werkwijze) ---------- */
.pad { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.pad li {
  position: relative; padding: 0 0 2.2rem 3.4rem; max-width: 40em;
}
.pad li::before {
  content: ""; position: absolute; left: 0.95rem; top: 2.1rem; bottom: 0.2rem;
  border-left: 3px dotted var(--amber); opacity: 0.7;
}
.pad li:last-child::before { display: none; }
.pad .stap-nr {
  position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--groen); color: var(--wit);
  font-family: "Fraunces", serif; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.pad h3 { margin-bottom: 0.25em; }
.pad p { color: var(--inkt-zacht); margin: 0; }

/* ---------- checklijst "herken je dit" ---------- */
.herken { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; }
.herken li { padding: 0.35rem 0 0.35rem 2rem; position: relative; }
.herken li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--salie); border: 2px solid var(--groen);
}

/* ---------- tekstpagina's ---------- */
.pagina-kop { background: var(--salie-licht); padding: 3rem 0 2.4rem; }
.pagina-kop p.lead { font-size: 1.15rem; color: var(--inkt-zacht); max-width: 36em; margin: 0; }
.broodtekst { padding: 3rem 0; }
.broodtekst h2 { margin-top: 1.6em; }
.broodtekst h2:first-child { margin-top: 0; }

/* ---------- infoblokken / praktisch ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.3rem; margin-top: 1.6rem; }
.info-blok { background: var(--wit); border: 1px solid var(--salie); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.info-blok h3 { font-size: 1.05rem; }
.info-blok p { margin: 0; color: var(--inkt-zacht); font-size: 0.97rem; }

/* ---------- FAQ ---------- */
details.faq {
  background: var(--wit); border: 1px solid var(--salie);
  border-radius: var(--radius); margin-bottom: 0.8rem; padding: 0;
}
details.faq summary {
  cursor: pointer; font-weight: 700; padding: 1rem 1.3rem;
  font-family: "Fraunces", serif; font-size: 1.08rem; color: var(--groen-diep);
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--amber-donker); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-antwoord { padding: 0 1.3rem 1.1rem; color: var(--inkt-zacht); }

/* ---------- tarieventabel ---------- */
table.tarieven { width: 100%; border-collapse: collapse; margin: 1.4rem 0; background: var(--wit); border-radius: var(--radius); overflow: hidden; }
table.tarieven th, table.tarieven td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--salie); }
table.tarieven th { background: var(--salie-licht); font-family: "Fraunces", serif; color: var(--groen-diep); }
table.tarieven tr:last-child td { border-bottom: none; }

/* ---------- placeholder-markering ---------- */
.invullen {
  background: #fdf3e3; border: 1px dashed var(--amber);
  padding: 0 0.3em; border-radius: 4px; font-style: normal;
}

/* ---------- CTA-band ---------- */
.cta-band { text-align: center; }
.cta-band p { max-width: 36em; margin-left: auto; margin-right: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--groen-diep); color: #cfdccf; padding: 3rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.site-footer h3 { color: var(--wit); font-size: 1.02rem; }
.site-footer a { color: #ecc27a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-onder { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.2rem; padding-top: 1.2rem; font-size: 0.85rem; color: #a9bba9; }

/* ---------- kleinigheden ---------- */
.adres-kaart {
  background: var(--wit); border: 1px solid var(--salie); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; box-shadow: var(--schaduw);
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--wit);
  padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
