/* ============================================================
   Hope Ahead Books — stylesheet
   Merkgroen 0F6E56, afgeleid van de boekomslag.
   Structuurelement: het groene kantlijnstreepje uit het boek zelf.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Literata:opsz,wght@7..72,400;7..72,500;7..72,600&display=swap');

:root {
  --bg:          #F4F7F3;
  --surface:     #FFFFFF;
  --ink:         #14231D;
  --ink-zacht:   #4A5C54;
  --groen:       #0F6E56;
  --groen-diep:  #0A4A3A;
  --groen-licht: #E1EFE9;
  --goud:        #C8912E;
  --lijn:        #D6E2DB;

  --display: 'Poppins', system-ui, sans-serif;
  --body: 'Literata', Georgia, serif;

  --maat: min(1120px, 92vw);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--groen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--groen-diep); }

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

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

h1, h2, h3, .display { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .5rem; }

.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--groen);
  margin: 0 0 .9rem;
}

.lead { font-size: 1.18rem; color: var(--ink-zacht); }

/* ---------- layout ---------- */

.wrap { width: var(--maat); margin-inline: auto; }

section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
section + section { border-top: 1px solid var(--lijn); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

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

header {
  background: var(--surface);
  border-bottom: 1px solid var(--lijn);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  width: var(--maat); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0; flex-wrap: wrap;
}
.merk {
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
  display: flex; align-items: center; gap: .55rem;
}
.merk::before {
  content: ''; width: 4px; height: 1.15rem;
  background: var(--groen); border-radius: 2px;
}
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a {
  font-family: var(--display); font-size: .93rem; font-weight: 500;
  color: var(--ink-zacht); text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--groen); }

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

.knop {
  display: inline-block;
  font-family: var(--display); font-weight: 600; font-size: .96rem;
  padding: .8rem 1.5rem; border-radius: 3px;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.knop-vol { background: var(--groen); color: #fff; }
.knop-vol:hover { background: var(--groen-diep); color: #fff; }
.knop-rand { border: 1.5px solid var(--groen); color: var(--groen); }
.knop-rand:hover { background: var(--groen-licht); color: var(--groen-diep); }
.knoppen { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- kantlijnstreepje: het structuurelement uit het boek ---------- */

.kader {
  border-left: 4px solid var(--groen);
  padding: .3rem 0 .3rem 1.4rem;
  margin: 1.8rem 0;
}
.kader .eyebrow { margin-bottom: .35rem; }
.kader p { margin: 0; color: var(--ink-zacht); }

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

.hero { padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero-beeld {
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(20,35,29,.16);
  max-width: 340px;
  margin-inline: auto;
}
@media (max-width: 780px) { .hero-beeld { max-width: 270px; } }

/* ---------- signature: de twee lijstjes ---------- */

.lijstjes {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--lijn);
  border-bottom: 1px solid var(--lijn);
  margin-top: 2.5rem;
}
.lijstjes > div { padding: 2rem clamp(1rem, 3vw, 2.4rem); }
.lijstjes > div:first-child { border-right: 1px solid var(--lijn); }
@media (max-width: 640px) {
  .lijstjes { grid-template-columns: 1fr; }
  .lijstjes > div:first-child { border-right: 0; border-bottom: 1px solid var(--lijn); }
}
.lijstjes h3 { font-size: 1rem; letter-spacing: .04em; }
.lijstjes ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.lijstjes li {
  padding: .45rem 0;
  font-size: 1rem;
  border-bottom: 1px dotted var(--lijn);
}
.lijstjes li:last-child { border-bottom: 0; }
.bang h3 { color: var(--ink-zacht); }
.bang li { color: var(--ink-zacht); }
.hoop h3 { color: var(--groen); }
.hoop li { color: var(--ink); }

/* ---------- kaarten ---------- */

.kaarten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.kaart {
  background: var(--surface); border: 1px solid var(--lijn);
  border-radius: 4px; padding: 1.6rem;
}
.kaart h3 { color: var(--groen); }
.kaart p { margin: 0; color: var(--ink-zacht); font-size: .98rem; }

/* ---------- boekvermelding ---------- */

.boek { display: grid; grid-template-columns: 230px 1fr; gap: 2.4rem; align-items: start; }
@media (max-width: 700px) { .boek { grid-template-columns: 1fr; } .boek img { max-width: 220px; } }
.boek img { border-radius: 3px; box-shadow: 0 10px 28px rgba(20,35,29,.14); }
.status {
  display: inline-block; font-family: var(--display); font-size: .74rem;
  font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  background: var(--groen-licht); color: var(--groen-diep);
  padding: .25rem .6rem; border-radius: 2px; margin-left: .5rem;
  vertical-align: middle;
}

/* ---------- illustratiestrook ---------- */

.strook { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
@media (max-width: 700px) { .strook { grid-template-columns: 1fr; } }
.strook figure { margin: 0; }
.strook img { border-radius: 3px; }
.strook figcaption { font-size: .88rem; color: var(--ink-zacht); margin-top: .6rem; }

/* ---------- auteur ---------- */

.auteur-foto { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; }

/* ---------- hulplijn ---------- */

.hulp {
  background: var(--surface); border: 1px solid var(--lijn);
  border-left: 4px solid var(--groen);
  border-radius: 3px; padding: 1.6rem 1.8rem; margin: 1.4rem 0;
}
.hulp h3 { margin-bottom: .3rem; }
.hulp .nummer {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--groen); display: block; margin: .3rem 0;
}
.hulp p { margin: .2rem 0; color: var(--ink-zacht); font-size: .98rem; }

/* ---------- lijst met vinkjes ---------- */

.punten { list-style: none; padding: 0; margin: 1.2rem 0; }
.punten li { padding-left: 1.6rem; position: relative; margin-bottom: .7rem; }
.punten li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 9px; height: 2px; background: var(--groen);
}

/* ---------- citaat ---------- */

.citaat {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  line-height: 1.4; color: var(--groen-diep);
  max-width: 22ch; margin: 0;
}
.citaat cite { display: block; font-family: var(--body); font-size: .9rem; font-style: normal; color: var(--ink-zacht); margin-top: 1rem; font-weight: 400; }

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

footer {
  background: var(--groen-diep); color: #D9E7E1;
  padding: 3.5rem 0 2.5rem; font-size: .95rem;
}
footer a { color: #fff; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; gap: 1.8rem; } }
footer h4 { font-family: var(--display); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: #8FBCAC; margin: 0 0 .8rem; font-weight: 600; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: .45rem; }
footer .slot {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: .85rem; color: #8FBCAC;
}
.footer-merk { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; margin: 0 0 .5rem; }
