/* ── Het Oud-Kanaaltje — AD Longread Stijl ── */
:root {
  --bg:        #f0ece3;
  --bg-card:   #e8e2d6;
  --bg-dark:   #2b2318;
  --text:      #2b2318;
  --text-mid:  #5c4f3a;
  --text-lt:   #8a7d6a;
  --red:       #c0392b;
  --gold:      #a07830;
  --max:       680px;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
}

/* ── VOORTGANGSBALK ── */
.progress-bar {
  position: fixed; top:0; left:0;
  height: 3px; background: var(--red);
  z-index: 200; width: 0%;
  transition: width 0.1s linear;
}

/* ── NAV ── */
nav {
  position: sticky; top:0; z-index:100;
  background: rgba(240,236,227,0.95);
  border-bottom: 1px solid rgba(43,35,24,0.12);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family:'Playfair Display',serif;
  font-size:18px; font-weight:900; color:var(--text);
  text-decoration:none;
}
.nav-logo span { color:var(--red); }
.nav-links { display:flex; gap:24px; list-style:none; align-items:center; }
.nav-links a, .nav-links span {
  font-family:'Inter',sans-serif; font-size:13px; font-weight:500;
  color:var(--text-mid); text-decoration:none; letter-spacing:0.02em;
  line-height:1;
}
.nav-links a:hover { color:var(--red); }
.nav-meta {
  font-family:'Inter',sans-serif; font-size:11px;
  color:var(--text-lt); letter-spacing:0.08em; text-transform:uppercase;
}
.nav-hamburger { display:none; cursor:pointer; font-size:22px; color:var(--text); }

@media(max-width:640px){
  .nav-links { display:none; }
  .nav-hamburger { display:block; }
}

/* ── HERO ── */
.hero {
  width:100%; min-height:72vh;
  background:var(--bg-dark);
  position:relative; overflow:hidden;
  display:flex; align-items:flex-end;
}
.hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0.55;
}
.hero-fade {
  position:absolute; bottom:0; left:0; right:0;
  height:220px;
  background:linear-gradient(to top, rgba(43,35,24,0.85) 0%, transparent 100%);
}
.hero-content {
  position:relative; z-index:2;
  padding: 48px 24px 56px;
  width:100%; max-width:820px; margin:0 auto;
}
.hero-anchors { position:relative; z-index:2; padding:48px 24px 56px; max-width:820px; margin:0 auto; }
.label-pill {
  display:inline-block;
  background:var(--red); color:#fff;
  font-family:'Inter',sans-serif; font-size:11px; font-weight:600;
  letter-spacing:0.12em; text-transform:uppercase;
  padding:4px 10px; margin-bottom:20px;
}
.hero-anchor {
  font-family:'Playfair Display',serif;
  font-size: clamp(28px,5vw,52px);
  font-weight:900; color:#fff; line-height:1.1; margin-bottom:16px;
}
.hero-anchor--sub {
  font-size: clamp(15px,2vw,20px); font-weight:400; font-style:italic;
  color:rgba(255,255,255,0.8); margin-bottom:0;
}

/* ── HOME HERO ── */
.home-hero {
  width:100%; min-height:80vh;
  background:var(--bg-dark);
  position:relative; overflow:hidden;
  display:flex; align-items:flex-end;
}
.home-hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.home-hero-fade {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(43,35,24,0.9) 0%, rgba(43,35,24,0.3) 60%, transparent 100%);
}
.home-hero-content {
  position:relative; z-index:2;
  padding:64px 24px 56px; max-width:820px; margin:0 auto; width:100%;
}
.home-hero-content h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(30px,5vw,56px); font-weight:900;
  color:#fff; line-height:1.1; margin-bottom:16px;
}
.home-hero-content p { color:rgba(255,255,255,0.8); font-size:18px; margin-bottom:28px; }
.btn { display:inline-block; padding:12px 28px; border-radius:4px; font-family:'Inter',sans-serif; font-size:14px; font-weight:600; text-decoration:none; transition:0.2s; cursor:pointer; border:none; }
.btn-red { background:var(--red); color:#fff; }
.btn-red:hover { background:#a93226; }
.btn-white { background:#fff; color:var(--text); }
.btn-white:hover { background:var(--bg-card); }
.btn-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); }

/* ── RUBRIEKEN BAR ── */
.rubrieken-bar { background:#fff; border-bottom:1px solid rgba(43,35,24,0.1); overflow-x:auto; }
.rubrieken-inner { display:flex; gap:0; max-width:1200px; margin:0 auto; padding:0 24px; }
.rub-item {
  padding:14px 20px; font-family:'Inter',sans-serif; font-size:13px; font-weight:600;
  color:var(--text-mid); white-space:nowrap; cursor:pointer; border-bottom:2px solid transparent;
  transition:0.2s; text-decoration:none;
}
.rub-item:hover,.rub-item.active { color:var(--red); border-bottom-color:var(--red); }

/* ── HOME SECTIONS ── */
.home-section { max-width:1200px; margin:0 auto; padding:48px 24px; }
.section-hdr { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:28px; }
.section-hdr h2 { font-family:'Playfair Display',serif; font-size:22px; font-weight:900; }
.section-hdr a { font-family:'Inter',sans-serif; font-size:13px; color:var(--red); text-decoration:none; }
.cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }

/* Één rij grid — past aantal kaarten aan breedte */
.cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media(min-width:640px)  { .cards-row { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px) { .cards-row { grid-template-columns: repeat(4, 1fr); } }
@media(min-width:1400px) { .cards-row { grid-template-columns: repeat(5, 1fr); } }

/* Verberg overbodige items zodat er maar 1 rij zichtbaar is */
.cards-row > *:nth-child(n+3) { display: none; }
@media(min-width:640px)  { .cards-row > *:nth-child(n+3) { display: block; } .cards-row > *:nth-child(n+4) { display: none; } }
@media(min-width:1024px) { .cards-row > *:nth-child(n+4) { display: block; } .cards-row > *:nth-child(n+5) { display: none; } }
@media(min-width:1400px) { .cards-row > *:nth-child(n+5) { display: block; } .cards-row > *:nth-child(n+6) { display: none; } }

/* ── STORY CARD ── */
.story-card {
  background:#fff; border-radius:10px; overflow:hidden;
  text-decoration:none; color:var(--text);
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  transition:transform 0.2s, box-shadow 0.2s;
}
.story-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,0.1); }
.story-card-thumb {
  aspect-ratio:16/9; background:var(--bg-dark);
  background-size:cover; background-position:center;
}
.story-card-body { padding:18px; }
.label-pill--sm { font-size:9px; padding:3px 7px; margin-bottom:10px; }
.story-card-body h3 { font-family:'Playfair Display',serif; font-size:17px; font-weight:700; line-height:1.3; margin-bottom:8px; }
.story-card-body p { font-size:14px; color:var(--text-mid); line-height:1.6; margin-bottom:10px; }
.story-card-meta { font-family:'Inter',sans-serif; font-size:12px; color:var(--text-lt); }

/* ── HOME CTA ── */
.home-cta { background:var(--bg-card); padding:64px 24px; margin-top:8px; }

/* ── CHIPS ── */
.chip {
  display:inline-block; padding:6px 14px; border-radius:50px;
  border:1.5px solid rgba(43,35,24,0.2); font-family:'Inter',sans-serif;
  font-size:13px; color:var(--text-mid); text-decoration:none; transition:0.2s;
}
.chip:hover,.chip--active { background:var(--text); color:#fff; border-color:var(--text); }

/* ── ARTIKEL LAYOUT ── */
.article-header {
  max-width:var(--max); margin:0 auto;
  padding:40px 24px 0; text-align:center;
}
.article-header h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(26px,4vw,40px); font-weight:900; line-height:1.15; margin-bottom:20px;
}
.standfirst { font-size:18px; color:var(--text-mid); line-height:1.65; margin-bottom:28px; }
.byline-block {
  border-top:1px solid rgba(43,35,24,0.15);
  border-bottom:1px solid rgba(43,35,24,0.15);
  padding:16px 0; margin-bottom:40px;
  font-family:'Inter',sans-serif; font-size:13px;
  color:var(--text-mid); font-style:italic; line-height:1.8;
}
.byline-block strong { font-style:normal; color:var(--text); }

/* ── TEKST KOLOM ── */
.text-col,.article-body {
  max-width:var(--max); margin:0 auto; padding:0 24px;
}
.text-col p,.article-body p { margin-bottom:22px; color:var(--text); }
.text-col p:first-of-type::first-letter,.article-body > p:first-of-type::first-letter {
  font-family:'Playfair Display',serif;
  font-size:4em; font-weight:900; float:left;
  line-height:0.82; margin:6px 8px 0 0; color:var(--red);
}
.text-col h2,.article-body h2 {
  font-family:'Playfair Display',serif;
  font-size:22px; font-weight:700; margin:32px 0 14px; line-height:1.25;
}

/* ── TEXT BLOCK ── */
.text-block { padding: 8px 0; }
.text-block .article-body { white-space: pre-wrap; font-size:18px; line-height:1.8; }

/* ── ETAPPE DIVIDER ── */
.etappe {
  max-width:var(--max); margin:56px auto 40px; padding:0 24px;
  display:flex; align-items:center; gap:20px;
}
.etappe-icon { width:80px; height:80px; flex-shrink:0; }
.etappe-icon svg { width:100%; height:100%; }
.etappe-text {
  font-family:'Inter',sans-serif;
  font-size:clamp(36px,6vw,56px); font-weight:700;
  color:var(--text); letter-spacing:-1px; line-height:1;
}
.etappe-subtitle {
  max-width:var(--max); margin:0 auto 28px; padding:0 24px;
  font-family:'Playfair Display',serif; font-size:20px; font-weight:700; text-align:center;
}

/* ── FULL PHOTO ── */
.full-photo { width:100%; margin:40px 0; overflow:hidden; background:var(--bg-dark); }
.full-photo img,.full-photo svg { width:100%; display:block; }
.photo-caption {
  max-width:var(--max); margin:0 auto; padding:10px 24px 0;
  font-family:'Inter',sans-serif; font-size:13px; color:var(--text-lt); font-style:italic;
}

/* ── QUOTE CARD ── */
.quote-card {
  background:var(--bg-card); border-radius:16px;
  padding:32px 28px; margin:40px 24px;
}
@media(min-width:728px){ .quote-card { margin:40px auto; max-width:var(--max); } }
.quote-card .quote-text {
  font-family:'Playfair Display',serif;
  font-size:clamp(17px,2.5vw,22px); font-style:italic; line-height:1.5;
  color:var(--text); margin-bottom:16px;
}
.quote-card .quote-text::before { content:'\2018'; }
.quote-card .quote-text::after  { content:'\2019'; }
.quote-card .quote-attr {
  font-family:'Inter',sans-serif; font-size:13px; font-weight:600;
  color:var(--text-mid); text-transform:uppercase; letter-spacing:0.08em;
}

/* ── UITKLAP ── */
.uitklap { background:var(--bg-card); border-radius:12px; margin:32px 24px; overflow:hidden; }
@media(min-width:728px){ .uitklap { margin:32px auto; max-width:var(--max); } }
.uitklap-header {
  padding:22px 24px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  user-select:none;
}
.uitklap-header:hover { background:rgba(0,0,0,0.04); }
.uitklap-title {
  font-family:'Playfair Display',serif;
  font-size:19px; font-weight:700; font-style:italic; line-height:1.35; flex:1;
}
.uitklap-arrow { font-size:20px; color:var(--text-mid); transition:transform 0.3s; flex-shrink:0; margin-top:2px; }
.uitklap.open .uitklap-arrow { transform:rotate(180deg); }
.uitklap-body { max-height:0; overflow:hidden; transition:max-height 0.4s ease; }
.uitklap.open .uitklap-body { max-height:1200px; }
.uitklap-body-inner {
  padding:18px 24px 24px;
  font-size:16px; line-height:1.7; color:var(--text-mid);
  border-top:1px solid rgba(43,35,24,0.12);
}
.uitklap-body-inner p { margin-bottom:12px; }
.uitklap-body-inner p:last-child { margin-bottom:0; }
.lees-verder-btn {
  display:inline-block; margin-top:16px;
  border:1.5px solid var(--text); border-radius:50px;
  padding:8px 22px; font-family:'Inter',sans-serif;
  font-size:13px; font-weight:500; color:var(--text);
  cursor:pointer; background:none; transition:0.2s;
}
.lees-verder-btn:hover { background:var(--text); color:var(--bg); }

/* ── TELEFOON FRAME ── */
.telefoon-wrap {
  background:#ddd8cc;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 18px,rgba(0,0,0,0.04) 18px,rgba(0,0,0,0.04) 19px),
    repeating-linear-gradient(90deg,transparent,transparent 18px,rgba(0,0,0,0.04) 18px,rgba(0,0,0,0.04) 19px);
  padding:60px 24px; margin:40px 0; display:flex; justify-content:center;
}
.telefoon {
  width:min(320px,72vw); background:#1a1208;
  border-radius:36px; padding:14px;
  box-shadow:0 24px 60px rgba(0,0,0,0.35),0 0 0 1px rgba(255,255,255,0.08);
}
.telefoon-screen {
  border-radius:24px; overflow:hidden;
  aspect-ratio:9/16; position:relative; background:var(--bg-dark);
}
.telefoon-screen img,.telefoon-screen video { width:100%; height:100%; object-fit:cover; }
.telefoon-caption {
  color:#fff; font-family:'Inter',sans-serif; font-size:14px; font-weight:600;
  padding:12px 4px 4px; text-align:center;
}

/* ── SLIDER ── */
.slider-wrap { margin:40px 0; overflow:hidden; }
.slider-track { display:flex; transition:transform 0.4s ease; }
.slide { min-width:100%; background:var(--bg-dark); aspect-ratio:16/9; overflow:hidden; position:relative; }
.slide img,.slide svg { width:100%; height:100%; object-fit:cover; }
.slider-controls { display:flex; justify-content:center; align-items:center; gap:12px; padding:16px 24px; }
.slider-dots { display:flex; gap:8px; }
.dot { width:8px; height:8px; border-radius:50%; background:rgba(43,35,24,0.25); cursor:pointer; border:none; padding:0; transition:0.2s; }
.dot.active { background:var(--text); }
.slider-btn {
  background:none; border:1px solid rgba(43,35,24,0.25);
  border-radius:50%; width:36px; height:36px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  font-size:14px; color:var(--text); transition:0.2s;
}
.slider-btn:hover { border-color:var(--text); }

/* ── REVIEW KAART ── */
.review-wrap {
  background:#d8d2c4;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 14px,rgba(0,0,0,0.05) 14px,rgba(0,0,0,0.05) 15px),
    repeating-linear-gradient(90deg,transparent,transparent 14px,rgba(0,0,0,0.05) 14px,rgba(0,0,0,0.05) 15px);
  padding:60px 24px; margin:40px 0; display:flex; justify-content:center;
}
.review-card {
  background:#fff; border-radius:20px; padding:32px 28px;
  max-width:460px; width:100%; box-shadow:0 8px 30px rgba(0,0,0,0.12);
}
.review-stars { font-size:24px; margin-bottom:12px; }
.review-title { font-family:'Inter',sans-serif; font-size:16px; font-weight:700; margin-bottom:14px; }
.review-body { font-family:'Inter',sans-serif; font-size:15px; line-height:1.65; margin-bottom:16px; }
.review-name { font-family:'Inter',sans-serif; font-size:13px; color:var(--text-lt); text-align:right; }

/* ── ARCHIEF / SCHOOL PAGINA'S ── */
.page-banner {
  background:var(--bg-dark); padding:64px 24px 48px;
  text-align:center;
}
.page-banner h1 {
  font-family:'Playfair Display',serif;
  font-size:clamp(28px,5vw,48px); font-weight:900; color:#fff; margin-bottom:12px;
}
.page-banner p { color:rgba(255,255,255,0.65); font-size:16px; font-family:'Inter',sans-serif; }
.contact-wrap { max-width:1200px; margin:0 auto; padding:48px 24px 80px; }
.contact-cols { display:grid; grid-template-columns:1fr 1fr; gap:48px; }
@media(max-width:768px){ .contact-cols { grid-template-columns:1fr; } }
.contact-col h2 { font-family:'Playfair Display',serif; font-size:24px; font-weight:700; margin-bottom:12px; }
.contact-form { display:flex; flex-direction:column; gap:14px; margin-top:20px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-family:'Inter',sans-serif; font-size:13px; font-weight:600; color:var(--text-mid); }
.form-group input,.form-group textarea,.form-group select {
  border:1.5px solid rgba(43,35,24,0.2); border-radius:8px;
  padding:10px 14px; font-family:'Source Serif 4',serif; font-size:16px;
  background:#fff; color:var(--text); transition:border-color 0.2s;
}
.form-group input:focus,.form-group textarea:focus { outline:none; border-color:var(--red); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-error { font-family:'Inter',sans-serif; font-size:12px; color:var(--red); }
.form-hint { font-family:'Inter',sans-serif; font-size:12px; color:var(--text-lt); }
.alert-success {
  background:#d4edda; border:1px solid #c3e6cb; color:#155724;
  padding:12px 16px; border-radius:8px; font-family:'Inter',sans-serif; font-size:14px; margin-bottom:20px;
}

/* ── SCHOOLFOTO'S GRID ── */
.schoolfoto-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.schoolfoto-card {
  background:#fff; border-radius:10px; overflow:hidden;
  text-decoration:none; color:var(--text);
  box-shadow:0 2px 8px rgba(0,0,0,0.06); transition:0.2s;
}
.schoolfoto-card:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.1); }
.schoolfoto-thumb {
  aspect-ratio:4/3; background:var(--bg-dark);
  background-size:cover; background-position:center;
}
.schoolfoto-info { padding:14px 16px; }
.schoolfoto-info h3 { font-family:'Playfair Display',serif; font-size:15px; font-weight:700; margin-bottom:4px; }
.schoolfoto-info .meta { font-family:'Inter',sans-serif; font-size:12px; color:var(--text-lt); }

/* ── MEER LEZEN ── */
.meer-lezen { background:var(--bg-dark); padding:56px 24px; margin-top:64px; }
.meer-lezen h3 {
  font-family:'Playfair Display',serif; font-size:14px; font-weight:700;
  color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:0.12em;
  margin-bottom:28px; max-width:820px; margin-left:auto; margin-right:auto;
}
.meer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; max-width:820px; margin:0 auto; }
.meer-item {
  background:rgba(255,255,255,0.06); border-radius:10px;
  overflow:hidden; text-decoration:none; transition:0.2s;
}
.meer-item:hover { background:rgba(255,255,255,0.1); }
.meer-thumb {
  aspect-ratio:16/9; background:rgba(255,255,255,0.06);
  background-size:cover; background-position:center; overflow:hidden;
}
.meer-info { padding:14px 16px; }
.meer-label { font-family:'Inter',sans-serif; font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.1em; color:var(--red); margin-bottom:6px; }
.meer-title { font-family:'Playfair Display',serif; font-size:15px; font-weight:700; color:#fff; line-height:1.35; }

/* ── COMMENTS ── */
.comments-section { max-width:var(--max); margin:64px auto 0; padding:0 24px 64px; }
.comments-section h3 { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; margin-bottom:24px; }
.comment-form form { display:flex; flex-direction:column; gap:12px; margin-bottom:40px; }
.comment-form textarea {
  border:1.5px solid rgba(43,35,24,0.2); border-radius:8px;
  padding:12px; font-family:'Source Serif 4',serif; font-size:16px; resize:vertical; min-height:100px;
}
.comment { display:flex; gap:16px; margin-bottom:28px; }
.comment-avatar {
  width:40px; height:40px; border-radius:50%;
  background:var(--bg-dark); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Inter',sans-serif; font-size:16px; font-weight:700;
}
.comment-body h4 { font-family:'Inter',sans-serif; font-size:14px; font-weight:700; margin-bottom:2px; }
.comment-body time { font-family:'Inter',sans-serif; font-size:12px; color:var(--text-lt); display:block; margin-bottom:8px; }
.comment-body p { font-size:16px; color:var(--text-mid); }

/* ── PAGINERING ── */
.pagination-wrap { display:flex; justify-content:center; margin:40px 0; }
.pagination { display:flex; gap:6px; align-items:center; }
.page-btn {
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:6px;
  font-family:'Inter',sans-serif; font-size:14px;
  border:1px solid rgba(43,35,24,0.2); color:var(--text);
  text-decoration:none; transition:0.2s;
}
.page-btn:hover { background:var(--text); color:#fff; }
.page-btn--active { background:var(--red); color:#fff; border-color:var(--red); }
.page-btn--disabled { opacity:0.35; pointer-events:none; }
.page-btn--dots { border:none; }

/* ── FOOTER ── */
footer {
  background:var(--bg-dark);
  border-top:1px solid rgba(255,255,255,0.08);
  padding:32px 24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.footer-logo { font-family:'Playfair Display',serif; font-size:18px; font-weight:900; color:#fff; text-decoration:none; }
.footer-logo span { color:var(--red); }
.footer-links { display:flex; gap:20px; }
.footer-links a { font-family:'Inter',sans-serif; font-size:12px; color:rgba(255,255,255,0.45); text-decoration:none; }
.footer-links a:hover { color:rgba(255,255,255,0.7); }
.footer-copy { font-family:'Inter',sans-serif; font-size:11px; color:rgba(255,255,255,0.25); letter-spacing:0.05em; }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ── EMPTY STATE ── */
.empty-state { text-align:center; padding:64px 24px; color:var(--text-mid); font-family:'Inter',sans-serif; }

/* ── DARK MODE ── */
@media(prefers-color-scheme:dark){
  :root:not([data-theme="light"]) {
    --bg:#1e1b15; --bg-card:#2a2518; --text:#e8e2d6; --text-mid:#a89880; --text-lt:#6a5f50;
  }
  :root:not([data-theme="light"]) .story-card { background:#2a2518; }
  :root:not([data-theme="light"]) nav { background:rgba(30,27,21,0.95); }
}
[data-theme="dark"]{
  --bg:#1e1b15; --bg-card:#2a2518; --text:#e8e2d6; --text-mid:#a89880; --text-lt:#6a5f50;
}

/* ══════════════════════════════════════════════════════
   LONGREAD HERO
   Techniek: hero is 100vh hoog en heeft een pseudo-element
   met background-attachment:fixed voor de foto.
   Titels staan er bovenop en scrollen weg via JS.
   Content scrollt er gewoon overheen.
   ══════════════════════════════════════════════════════ */

.lh-hero {
  width: 100%;
  height: calc(100vh - 48px);
  overflow: hidden;
  background: var(--bg-dark);
}

/* Foto via background-attachment:fixed — blijft staan */
.lh-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.85;
}

/* Zorg dat content over de fixed foto heen scrollt */
.longread-content {
  position: relative;
  z-index: 10;
  background: var(--bg);
  min-height: 60vh;
}

/* Verberg de fixed foto zodra content er overheen komt */
.lh-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

/* Video achtergrond */
.lh-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.lh-video-bg iframe {
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: none;
}

/* Telefoon frame */
.lh-phone-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.lh-phone-body {
  width: min(240px, 35vw);
  background: #1a1208;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lh-phone-body::before {
  content: '';
  display: block;
  width: 60px; height: 5px;
  background: #2a2010;
  border-radius: 3px;
  margin: 6px auto 8px;
}
.lh-phone-screen {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9/19.5;
  background: #000;
}
.lh-phone-screen iframe,
.lh-phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; border: none;
}

/* Overlay gradient */
.lh-overlay {
  position: absolute;
  inset: 0; z-index: 3;
  background: linear-gradient(
    to top,
    rgba(20,15,8,0.92) 0%,
    rgba(20,15,8,0.5) 40%,
    rgba(20,15,8,0.1) 80%,
    transparent 100%
  );
}

/* Titels onderaan */
.lh-titles {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  padding: 0 24px 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.lh-label {
  opacity: 0;
  transition: opacity 0.5s ease 0.1s;
}
.lh-label.lh-in { opacity: 1; }

.lh-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 900; line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.lh-title.lh-in { opacity: 1; transform: none; }

.lh-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(16px, 2.5vw, 26px);
  font-style: italic; max-width: 680px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lh-sub.lh-in { opacity: 1; transform: none; }

.lh-intro {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.6; max-width: 620px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.lh-intro.lh-in { opacity: 1; transform: none; }

.lh-hint {
  opacity: 0;
  transition: opacity 0.6s ease;
  color: rgba(255,255,255,0.5);
}
.lh-hint.lh-in { opacity: 1; }
.lh-hint-arrow {
  font-size: 28px;
  animation: lhbounce 1.4s ease-in-out infinite;
}
@keyframes lhbounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

