/* styles.css — Gedeelde stijlen Buitendraads
   Gebruik op elke pagina:
   <link rel="stylesheet" href="/styles.css">

   Bevat: CSS-variabelen, typografie, hero-kader, artikel-layout,
   footer-basis, en herhalende utility-classes.
   Pagina-specifieke stijlen blijven in de <style> van de pagina zelf.
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABELEN ── */
:root {
  --cream:        #f5f1e8;
  --offwhite:     #f7f4ed;
  --green-dark:   #2b4a35;
  --green-mid:    #6B9060;
  --green-light:  #93B585;
  --green-pale:   #C5D9B8;
  --green-block:  #4E6B3A;
  --terra:        #D94F35;
  --terra-ui:     #D94F35;
  --red-hero:     #E06848;
  --bordeaux:     #7a2a1e;
  --text:         #1e3025;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── TYPOGRAFIE ── */
h1 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 52px);
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 em { font-style: normal; color: var(--red-hero); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(21px, 3.2vw, 28px);
  font-weight: 400;
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 18px;
}
h2 em { font-style: italic; color: var(--green-mid); }

h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
  margin-top: 28px;
  letter-spacing: -0.01em;
}

p {
  font-size: 15.5px;
  line-height: 1.88;
  color: #384232;
  max-width: 580px;
  font-weight: 300;
}
p + p { margin-top: 13px; }

ul, ol { padding-left: 1.4rem; margin-top: 10px; }
li { font-size: 15.5px; line-height: 1.85; color: #384232; font-weight: 300; margin-bottom: 6px; }

/* ── PUNT ── */
.h1-dot  { color: var(--red-hero); font-size: 0.4em; }
.synthese-dot { color: var(--green-dark); font-style: normal; }

/* ── EYEBROW / LABEL ── */
.eyebrow {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 18px;
}
.label, .section-label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 12px; display: block;
}

/* ── HERO KADER ── */
.hero-outer {
  max-width: 700px; margin: 0 auto; padding: 140px 44px 0;
}
.hero {
  position: relative; overflow: hidden;
  background: var(--green-dark);
  border-radius: 4px; padding: 48px 48px 44px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18; z-index: 0; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-sub {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  font-weight: 300; max-width: 480px;
}

/* ── BODY ACHTERGROND WATERMARK ── */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background-image: url('/images/buitendraads_achtergrond_transparant.png');
  background-size: cover; background-position: center;
  opacity: 0.03; pointer-events: none;
}

/* ── ARTIKEL / ESSAY ── */
.artikel, .essay {
  max-width: 700px; margin: 0 auto; padding: 72px 44px 100px;
}
.sectie, .section {
  margin-bottom: 56px; scroll-margin-top: 90px;
}

/* ── CITAAT ── */
.citaat {
  border-left: 2px solid var(--terra);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
}
.citaat p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--green-dark);
  font-weight: 400;
}

/* ── INHOUDSOPGAVE ── */
.inhoudsopgave {
  background: var(--offwhite); border-radius: 4px;
  padding: 1.4rem 1.8rem; margin-bottom: 52px;
  border: 1px solid rgba(43,74,53,0.1);
}
.inhoudsopgave-titel {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: 10px; display: block;
}
.inhoudsopgave ol { padding-left: 1.2rem; }
.inhoudsopgave li { margin-bottom: 4px; }
.inhoudsopgave a { font-size: 14px; color: var(--green-dark); text-decoration: none; font-weight: 300; }
.inhoudsopgave a:hover { color: var(--terra); }

/* ── KNOPPEN ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--green-dark); color: var(--offwhite);
  text-decoration: none; padding: 0.85rem 2rem; border-radius: 3px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s;
}
.btn:hover { background: var(--terra); transform: translateY(-1px); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-bordeaux { background: var(--bordeaux); color: #fff; }
.btn-bordeaux:hover { background: #5a1e14; transform: translateY(-1px); }

/* ── SECTION TITLE ── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--green-dark); line-height: 1.15; margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--terra); }

/* ── FADE-UP ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE (gedeeld) ── */
@media (max-width: 860px) {
  .hero-outer { padding-left: 22px; padding-right: 22px; }
  .hero { padding: 36px 28px 32px; }
  .artikel, .essay { padding-left: 22px; padding-right: 22px; }
}

/* ── PRINT ── */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  #site-nav { display: none; }
  .hero-outer { padding-top: 40px; }
}
