/* mondelingtheorie.nl — basisstijl
   Uitgangspunt: dit is een site voor mensen die moeite hebben met lezen.
   Leesbaarheid is hier geen bijzaak maar het ontwerp zelf:
   grote letters, korte regels, hoog contrast, rustige kleuren. */

:root {
  --ink:        #101F19;
  --pine:       #143A2D;
  --pine-deep:  #0C241C;
  --paper:      #F1F3EE;
  --paper-warm: #E7EBE3;
  --marker:     #F7C948;
  --marker-soft:#FDEFC2;
  --muted:      #55665D;
  --line:       #C9D2CA;
  --white:      #FFFFFF;

  --maxw: 1140px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;

  /* Per pagina overschreven: de headerfoto */
  --hero-image: none;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", -apple-system, "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.72;
  letter-spacing: 0.005em;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); text-underline-offset: 4px; text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--marker);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.skip {
  position: absolute; left: -9999px;
  background: var(--marker); color: var(--ink);
  padding: 0.75rem 1.25rem; font-weight: 700; z-index: 99;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- typografie ---------- */
h1, h2, h3, .logo, .step-no, .big-stat {
  font-family: "Bricolage Grotesque", "Atkinson Hyperlegible", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.1rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.75rem); margin: 0 0 0.85rem; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); margin: 0 0 0.5rem; line-height: 1.2; }
p  { max-width: 62ch; margin: 0 0 1.15rem; }
.lead { font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem); line-height: 1.6; max-width: 54ch; }

/* markeerstift-accent: bewust spaarzaam, één keer per pagina */
.mark {
  background: linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 94%, transparent 94%);
  padding: 0 0.12em;
}

/* ---------- header + hero met achtergrondfoto ---------- */
.masthead {
  position: relative;
  color: var(--white);
  background-color: var(--pine-deep);
  isolation: isolate;
}
.masthead::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 55%;
}
/* Scrim: houdt tekst leesbaar, ook als de foto licht is. */
.masthead::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,26,20,.86) 0%, rgba(8,26,20,.62) 45%, rgba(8,26,20,.88) 100%),
    radial-gradient(120% 80% at 12% 20%, rgba(20,58,45,.55), transparent 70%);
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.logo {
  font-size: 1.3rem; color: var(--white); text-decoration: none;
  display: inline-flex; align-items: baseline; gap: .1rem;
}
.logo span { color: var(--marker); }

.nav { display: flex; gap: clamp(.9rem, 2vw, 1.9rem); align-items: center; flex-wrap: wrap; }
.nav a {
  color: rgba(255,255,255,.9); text-decoration: none; font-size: 1rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--marker); }
.nav .tel { color: var(--marker); font-weight: 700; }

.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { color: rgba(255,255,255,.92); }
.eyebrow {
  display: inline-block; margin-bottom: 1.4rem;
  background: rgba(247,201,72,.16);
  border: 1px solid rgba(247,201,72,.5);
  color: var(--marker);
  padding: .4rem .85rem; border-radius: 999px;
  font-size: .95rem; font-weight: 700;
}

/* korte header voor binnenpagina's */
.masthead.compact .hero { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem); }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--marker); color: var(--ink);
  font-weight: 700; font-size: 1.05rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 2px solid var(--marker);
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #FFD65C; transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.dark { background: var(--pine); border-color: var(--pine); color: var(--white); }
.btn.dark:hover { background: var(--pine-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

.reassure { margin-top: 1.4rem; font-size: 1rem; color: rgba(255,255,255,.78); max-width: 46ch; }

/* ---------- secties ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section.tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.on-pine { background: var(--pine); color: var(--white); }
.on-pine h2, .on-pine h3 { color: var(--white); }
.on-pine p { color: rgba(255,255,255,.85); }
.on-warm { background: var(--paper-warm); }

/* ---------- kaarten / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
}
.card p:last-child { margin-bottom: 0; }
.card.plain { background: transparent; border: none; padding: 0; }

/* stappen — dit is echt een volgorde, dus nummers mogen */
.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 3.25rem 1fr; gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.step-no {
  counter-increment: s;
  font-size: 1.65rem; color: var(--marker);
  line-height: 1.2;
}
.step-no::before { content: counter(s, decimal-leading-zero); }
.step p { margin-bottom: 0; max-width: 58ch; }

/* checklijst */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.check li { position: relative; padding-left: 2.25rem; max-width: 58ch; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--marker-soft);
  border: 2px solid var(--marker);
}
.check li::after {
  content: ""; position: absolute; left: .42rem; top: .72em;
  width: .55rem; height: .3rem;
  border-left: 3px solid var(--pine); border-bottom: 3px solid var(--pine);
  transform: rotate(-45deg);
}
.on-pine .check li::after { border-color: var(--pine-deep); }

/* citaat */
.quote {
  border-left: 6px solid var(--marker);
  padding: .35rem 0 .35rem 1.5rem;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.5; max-width: 46ch;
}
.quote cite { display: block; margin-top: .9rem; font-size: 1rem; font-style: normal; color: var(--muted); }
.on-pine .quote cite { color: rgba(255,255,255,.7); }

/* prijs */
.price-card {
  background: var(--white); border: 2px solid var(--pine);
  border-radius: var(--radius); padding: 1.75rem;
}
.big-stat { font-size: clamp(2.75rem, 2rem + 3vw, 3.75rem); line-height: 1; color: var(--pine); }
.price-note { font-size: 1rem; color: var(--muted); }

/* faq */
details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
details summary {
  cursor: pointer; font-weight: 700; font-size: 1.1rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--pine); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: .85rem 0 0; }

/* cta-blok */
.cta-band {
  background: var(--marker);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #3B3113; }

/* ---------- footer ---------- */
footer {
  background: var(--pine-deep); color: rgba(255,255,255,.8);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
  font-size: 1rem;
}
footer a { color: rgba(255,255,255,.85); }
footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .75rem; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.colophon {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .95rem; color: rgba(255,255,255,.6);
}

@media (max-width: 640px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .nav { gap: .9rem 1.1rem; }
  .step { grid-template-columns: 2.5rem 1fr; gap: .9rem; }
}
