/* BoomersDelight — design system */

:root {
  --ink: #2b2a25;
  --ink-soft: #55534a;
  --paper: #faf6ee;
  --paper-raised: #ffffff;
  --forest: #1f4b43;
  --forest-dark: #163530;
  --gold: #c69a45;
  --gold-soft: #e7c584;
  --line: #e5ded0;
  --callout-bg: #fff6e6;
  --callout-border: #d9a94a;
  --shadow: 0 10px 30px rgba(43, 42, 37, 0.08);
  --shadow-lg: 0 20px 50px rgba(43, 42, 37, 0.14);
  --radius: 18px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--forest); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--forest-dark);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.wide { max-width: 1080px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--forest-dark);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.brand span { color: var(--gold); }
.brand-mark { flex: none; width: 30px; height: 30px; }

.hero-seal { margin: 0 auto 28px; width: 84px; height: 84px; }

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.lang-switch a, .lang-switch span {
  padding: 4px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
}
.lang-switch a:hover { color: var(--forest); }
.lang-switch span.current {
  color: var(--forest-dark);
  background: var(--paper);
  border: 1px solid var(--gold-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 128px 28px 108px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-home {
  background: radial-gradient(120% 160% at 20% 0%, #2c6157 0%, var(--forest) 45%, var(--forest-dark) 100%);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 24px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 58px);
  margin: 0 0 26px;
}

.hero p.lead {
  max-width: 600px;
  margin: 0 auto;
  font-size: 21px;
  color: #f1ece0;
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.65;
}

.hero-deco {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 20%, rgba(230, 197, 132, 0.25), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(230, 197, 132, 0.15), transparent 40%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Chapter hero banners */
.chapter-hero {
  position: relative;
  padding: 96px 28px 84px;
  color: #fff;
  text-align: left;
  overflow: hidden;
}

.chapter-hero .container { max-width: 720px; position: relative; z-index: 1; }

.chapter-hero .kicker {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 18px;
}

.chapter-hero h1 {
  color: #fff;
  font-size: clamp(30px, 5vw, 44px);
  margin: 0 0 18px;
}

.chapter-hero .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  opacity: 0.92;
  max-width: 560px;
  line-height: 1.6;
}

.hero-water { background: linear-gradient(135deg, #1c5b73 0%, #2f8fae 55%, #6cc3d6 100%); }
.hero-emf { background: linear-gradient(135deg, #3a2f66 0%, #6a3f8f 55%, #b25a86 100%); }
.hero-horen { background: linear-gradient(135deg, #4a2f6b 0%, #8a4fa0 55%, #d9a94a 100%); }
.hero-car { background: linear-gradient(135deg, #10151d 0%, #1f3a55 55%, #3f76ab 100%); }

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.back-link:hover { color: #fff; }

/* ---------- Sections ---------- */
main { padding: 88px 0 56px; }

.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-num {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 14px;
  scroll-margin-top: 96px;
}
.section-num:hover { color: var(--forest); text-decoration: underline; }
.section-num:target { color: var(--forest); }

article p { margin: 0 0 28px; }
article h2 { font-size: 28px; margin: 0 0 26px; }
article h3 { font-size: 23px; margin: 60px 0 24px; padding-top: 4px; }
article h3:first-child { margin-top: 0; }

.price-reveal {
  position: relative;
  border-bottom: 1px dotted var(--gold);
  cursor: help;
}
.price-reveal .price-tooltip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(4px);
  background: var(--forest-dark);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow);
  z-index: 5;
}
.price-reveal:hover .price-tooltip,
.price-reveal:focus-visible .price-tooltip,
.price-reveal:active .price-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

figure { margin: 44px 0; }
figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
  font-style: italic;
}

.img-placeholder {
  border-radius: var(--radius);
  padding: 60px 24px;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- Quotes / callouts ---------- */
blockquote {
  margin: 40px 0;
  padding: 30px 32px;
  background: var(--paper-raised);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  box-shadow: var(--shadow);
  font-size: 17px;
}
blockquote p { margin: 0 0 14px; }
blockquote p:last-child { margin-bottom: 0; }
blockquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--forest);
  font-size: 14px;
}

.testimonial em {
  color: var(--ink-soft);
  font-size: 15px;
}

.callout {
  background: var(--callout-bg);
  border: 1px solid var(--callout-border);
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 15px;
  color: #6b5223;
  margin: 36px 0;
}
.callout strong { color: #4d3a17; }

.video-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1ece0;
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 36px 0;
}
.video-note .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------- Lists ---------- */
.benefits {
  list-style: none;
  margin: 32px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.benefits li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Chapter cards (home) ---------- */
.chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (max-width: 720px) {
  .chapters { grid-template-columns: 1fr; }
}

.chapter-card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.chapter-card .thumb {
  position: relative;
  height: 168px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.chapter-card .thumb svg.icon { position: relative; z-index: 1; width: 46px; height: 46px; }
.chapter-card .thumb svg.thumb-pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; }
.chapter-card .body { padding: 28px 28px 32px; }
.chapter-card .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}
.chapter-card h3 {
  margin: 8px 0 14px;
  font-size: 21px;
  color: var(--forest-dark);
}
.chapter-card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }
.chapter-card .cta {
  font-weight: 700;
  font-size: 14px;
  color: var(--forest);
}

/* ---------- Intro / about ---------- */
.lead-text {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  line-height: 1.6;
}

.salutation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 8px;
}

.about-box {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.about-box p { margin: 0 0 24px; }
.about-box p:last-of-type { margin-bottom: 28px; }

/* ---------- Profiles (wie is wie) ---------- */
.profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 4px 0 36px;
}
@media (max-width: 640px) {
  .profiles { grid-template-columns: 1fr; }
}
.profile-card { display: flex; gap: 18px; align-items: flex-start; }
.profile-avatar {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.profile-avatar-bw { filter: grayscale(1); }
.profile-card .role {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.profile-card h3 { margin: 0 0 8px; font-size: 19px; }
.profile-card p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- BD Handelshuis note ---------- */
.bd-note {
  background: var(--callout-bg);
  border: 1px solid var(--callout-border);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.bd-note h2 { font-size: 20px; margin: 0 0 16px; color: #4d3a17; }
.bd-note p { margin: 0; color: #6b5223; font-size: 16px; }

.footer-sub { font-size: 13px; margin-top: 4px; color: var(--ink-soft); }

/* ---------- Inhoudsopgave (section index) ---------- */
.toc-box {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow);
}
.toc-intro { color: var(--ink-soft); margin: 0 0 8px; }
.toc-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 28px;
}
.toc-group h3 {
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--forest-dark);
}
.toc-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.toc-group li a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.5;
}
.toc-group li a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold-soft); }
.toc-group li a .n {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--serif);
  font-style: italic;
  margin-right: 6px;
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary { background: var(--gold); color: #3a2c0d; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); color: #3a2c0d; }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-outline { border: 2px solid var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest-dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 44px;
  text-align: center;
  margin: 20px 0 0;
}
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: #e6e1d2; max-width: 520px; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

.chapter-nav-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
}
.chapter-nav-footer a { text-decoration: none; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  color: var(--ink-soft);
  font-size: 14px;
}
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer .brand { font-size: 17px; }
