/* ===================================================================
   NBM — Nederlandsche Beleggings Maatschappij
   Gedeelde stylesheet (site.css)
   Huisstijl: warme crème, Amsterdams donkergroen, warm goud
   Typografie: Cormorant Garamond (serif) + Inter (sans)
   =================================================================== */

:root {
  --color-bg: #faf8f3;          /* warme crème */
  --color-surface: #f2efe6;
  --color-surface-2: #ece7da;
  --color-ink: #211517;          /* diep groen-zwart */
  --color-muted: #6b5a5c;
  --color-accent: #722f37;       /* Amsterdams donkergroen */
  --color-accent-light: #8f434d;
  --color-accent-dark: #4a1e24;
  --color-gold: #b8945a;         /* warm goud */
  --color-gold-light: #d4b685;
  --color-bordeaux: #722f37;     /* logo-accent */
  --color-border: #e5e2d9;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(42,22,25, 0.06);
  --shadow-md: 0 8px 24px rgba(42,22,25, 0.10);
  --shadow-lg: 0 24px 80px rgba(42,22,25, 0.15);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 92px; }
::selection { background: var(--color-gold); color: var(--color-accent-dark); }

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Typografie ===== */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; color: var(--color-ink); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 18px;
}
.lead { font-size: 1.28rem; color: var(--color-muted); font-weight: 400; line-height: 1.6; }
.serif-quote { font-family: var(--font-serif); }

/* ===== Header / Navigatie ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42,22,25, 0.06);
  z-index: 100;
  transition: background 0.3s;
}
header.scrolled { background: rgba(250, 248, 243, 0.96); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.logo {
  text-decoration: none;
  color: var(--color-bordeaux);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.logo-tag {
  font-size: 0.68rem;
  color: var(--color-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.current { color: var(--color-accent); }
.nav-links a:hover::after,
.nav-links a.current::after { width: 100%; }

.lang-toggle { display: flex; align-items: center; gap: 5px; }
.lang-btn {
  background: none; border: none;
  font-family: inherit; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--color-muted);
  cursor: pointer; padding: 4px 1px; transition: color 0.2s;
}
.lang-btn:hover { color: var(--color-accent); }
.lang-btn.active { color: var(--color-accent); }
.lang-sep { color: var(--color-border); font-size: 0.8rem; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--color-ink); padding: 4px;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: inherit; font-size: 0.92rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  letter-spacing: 0.02em; transition: all 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--color-gold); color: var(--color-accent-dark); }
.btn-gold:hover { background: var(--color-gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--color-accent); color: #fff; }
.btn-dark:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--color-accent); border: 1px solid var(--color-accent); }
.btn-outline:hover { background: var(--color-accent); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.btn-ghost-light:hover { background: #fff; color: var(--color-accent); border-color: #fff; }

/* ===== Page hero (binnenpagina's) ===== */
.page-hero {
  padding: 180px 0 90px;
  position: relative;
  color: #fff;
  border-bottom: 4px solid var(--color-accent);
  background:
    linear-gradient(100deg, rgba(32,15,17,0.92) 0%, rgba(38,19,22,0.66) 55%, rgba(42,22,25,0.4) 100%),
    var(--ph-image, none) center/cover no-repeat,
    var(--color-accent);
}
.page-hero .eyebrow { color: var(--color-gold-light); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 620px; margin-top: 22px; font-size: 1.18rem; }

/* ===== Home hero ===== */
.hero {
  min-height: 100vh;
  padding: 128px 0 120px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(32,15,17,0.9) 0%, rgba(38,19,22,0.6) 55%, rgba(42,22,25,0.3) 100%),
    url('../panden/hero-amsterdam.jpg') center/cover no-repeat,
    var(--color-accent);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
/* Zachte overgang van video naar de crème pagina eronder */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(250,248,243,0) 0%,
    rgba(250,248,243,0.35) 55%,
    rgba(250,248,243,0.85) 82%,
    var(--color-bg) 100%);
}
.hero > .container { width: 100%; position: relative; z-index: 2; }
.hero-inner { width: 100%; position: relative; z-index: 2; text-align: left; }
.hero .eyebrow {
  color: var(--color-gold-light); font-size: 0.72rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.45);
}
.hero h1 {
  color: #fff; font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  max-width: 15ch; letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 16px rgba(0,0,0,0.5);
}
.hero h1 em { font-style: italic; color: var(--color-gold-light); }
.hero-sub {
  margin-top: 20px; max-width: 460px;
  font-size: 0.98rem; color: #fff; line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 1px 12px rgba(0,0,0,0.5);
}
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Klein onderschrift in hero (Kroonenberg-stijl) */
.hero-caption {
  display: flex; flex-direction: column; gap: 10px;
  max-width: min(92%, 660px);
}
.hero-caption .cap-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: 0.01em; line-height: 1.12; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 14px rgba(0,0,0,0.5);
}
.hero-caption .cap-sub {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--color-gold-light);
  text-shadow: 0 1px 2px rgba(0,0,0,0.7), 0 0 10px rgba(0,0,0,0.45);
}

/* Intro-sectie direct onder de hero (tekst uit de video gehaald) */
.hero-intro h1 {
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 18ch; letter-spacing: -0.01em;
  margin-top: 14px;
}
.hero-intro h1 em { font-style: italic; color: var(--color-gold); }
.hero-intro .lead { margin-top: 20px; max-width: 620px; }

/* Geluidsknop in hero */
.hero-sound {
  position: absolute; right: 30px; bottom: 28px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(32, 15, 17, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.hero-sound:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-accent-dark); }
.hero-sound svg { width: 20px; height: 20px; }
.hero-sound .icon-on { display: none; }
.hero-sound.on .icon-on { display: block; }
.hero-sound.on .icon-off { display: none; }

/* ===== Generic section ===== */
section { position: relative; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-accent-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--color-gold-light); }
.section-dark p { color: rgba(255,255,255,0.82); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 500; }
.section-head p { margin-top: 18px; font-size: 1.18rem; color: var(--color-muted); }
.section-dark .section-head p { color: rgba(255,255,255,0.82); }

/* ===== Editorial alternating rows ===== */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 110px;
}
.story:last-child { margin-bottom: 0; }
.story.reverse .story-text { order: 2; }
.story.reverse .story-media { order: 1; }
.story-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--color-surface-2) center/cover no-repeat;
}
.story-media::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; background-size: cover; background-position: center;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.story-media:hover::before { transform: scale(1.05); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }

/* Label "Uit de NBM-portefeuille" op pandfoto's */
.media-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--color-gold-light);
  background: rgba(32, 15, 17, 0.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 4px;
  pointer-events: none;
}
.story-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 500; margin-bottom: 8px; }
.story-text h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; }
.story-text p { margin-top: 18px; color: var(--color-muted); font-size: 1.06rem; }
.story-text .eyebrow { margin-bottom: 14px; }
.story-stat {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--color-border);
  display: flex; align-items: baseline; gap: 16px;
}
.story-stat .num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; color: var(--color-accent); line-height: 1; }
.story-stat .label { font-size: 0.95rem; color: var(--color-muted); }

/* ===== Pull quote ===== */
.pullquote { text-align: center; max-width: 900px; margin: 0 auto; }
.pullquote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic; font-weight: 500;
  line-height: 1.3;
}
.pullquote .by { margin-top: 26px; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); }
.section-dark .pullquote .by { color: var(--color-gold-light); }

/* ===== Stat band ===== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg); }
.stat-cell { padding: 38px 28px; border-right: 1px solid var(--color-border); }
.stat-cell:last-child { border-right: none; }
.stat-cell .num { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 600; color: var(--color-accent); line-height: 1; }
.stat-cell .label { margin-top: 10px; font-size: 0.95rem; color: var(--color-muted); }

/* ===== Teaser cards (home) ===== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-md);
  background: var(--color-accent-dark) center/cover no-repeat;
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: inherit; background-size: cover; background-position: center;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover::after { transform: scale(1.05); }
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(32,15,17,0.86) 0%, rgba(32,15,17,0.25) 55%, rgba(32,15,17,0.12) 100%);
  transition: background 0.3s;
}
.card:hover::before { background: linear-gradient(to top, rgba(32,15,17,0.9) 0%, rgba(32,15,17,0.4) 60%, rgba(32,15,17,0.2) 100%); }
.card-body { position: relative; z-index: 2; padding: 34px; }
.card-body .eyebrow { color: var(--color-gold-light); margin-bottom: 10px; }
.card-body h3 { color: #fff; font-size: 1.7rem; font-weight: 500; }
.card-body p { color: rgba(255,255,255,0.82); margin-top: 8px; font-size: 0.98rem; }
.card-body .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; color: var(--color-gold-light); }
.card-body .more svg { width: 16px; height: 16px; }

/* ===== Property grid (portefeuille) ===== */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prop {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-bg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s;
}
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop-img {
  aspect-ratio: 3 / 2; background: var(--color-surface-2) center/cover no-repeat;
  position: relative; overflow: hidden;
}
.prop-img::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; background-size: cover; background-position: center;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prop:hover .prop-img::before { transform: scale(1.06); }
.prop-cap { padding: 20px 22px 24px; }
.prop-cap .cat { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--color-gold); }
.prop-cap h4 { margin-top: 8px; font-size: 1.35rem; font-weight: 600; }
.prop-cap .loc { margin-top: 4px; font-size: 0.95rem; color: var(--color-muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-block + .contact-block { margin-top: 34px; }
.contact-block h4 { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); font-family: var(--font-sans); font-weight: 600; margin-bottom: 12px; }
.contact-block p, .contact-block a { font-size: 1.12rem; color: var(--color-ink); text-decoration: none; line-height: 1.8; }
.contact-block a:hover { color: var(--color-accent); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; border: 1px solid var(--color-border); }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-legal { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--color-border); font-size: 0.92rem; color: var(--color-muted); }
.contact-legal span { display: inline-block; margin-right: 22px; }

/* ===== CTA strip (sober, visitekaartje) ===== */
.endbar { text-align: center; }
.endbar h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; }
.endbar p { margin: 16px auto 30px; max-width: 540px; }
.endbar .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
footer { background: var(--color-accent-dark); color: rgba(255,255,255,0.78); padding: 72px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
footer h5 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-tagline { font-size: 0.96rem; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 36ch; }
footer a { display: block; color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.94rem; padding: 5px 0; transition: color 0.2s; }
footer a:hover { color: var(--color-gold-light); }
.footer-col-title { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold-light); font-weight: 600; margin-bottom: 14px; }
.footer-legal { margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 24px; font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.footer-legal strong { color: rgba(255,255,255,0.82); font-weight: 600; }
.footer-legal-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal-links a { padding: 0; font-size: 0.84rem; color: rgba(255,255,255,0.6); }
.footer-bottom { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: rgba(255,255,255,0.6); }

/* ===== 404-pagina ===== */
.error-section { padding: 200px 0 130px; min-height: 82vh; display: flex; align-items: center; }
.error-code {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(5.5rem, 20vw, 12rem); line-height: 0.95;
  color: var(--color-accent); letter-spacing: 0.02em;
  margin: 10px 0 6px;
}
.error-section h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; }
.error-section .lead { margin: 18px auto 32px; max-width: 560px; }

/* ===== Reveal on scroll (gestaggerd via JS --reveal-delay) ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Tijdlijn (over-ons) ===== */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(to bottom, var(--color-gold), var(--color-border));
}
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -38px; top: 8px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--color-bg); border: 2px solid var(--color-gold);
}
.timeline-item .tl-year {
  font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600;
  color: var(--color-accent); line-height: 1.2;
}
.timeline-item h3 { font-size: 1.25rem; font-weight: 600; margin-top: 4px; }
.timeline-item p { margin-top: 8px; color: var(--color-muted); font-size: 1.02rem; max-width: 56ch; }

/* ===== Fotomozaïek (portefeuille) ===== */
.mosaic {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}
.mosaic-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--color-surface-2) center/cover no-repeat;
}
.mosaic-item::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; background-size: cover; background-position: center;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mosaic-item:hover::before { transform: scale(1.06); }
.mosaic-item.wide { grid-column: span 2; }
.mosaic-item.tall { grid-row: span 2; }

/* ===== Cijferband count-up ===== */
.stat-cell .num { font-variant-numeric: tabular-nums; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .story { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .story.reverse .story-text { order: 2; }
  .story.reverse .story-media { order: 1; }
  .cards { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 920px) and (min-width: 761px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 760px) {
  .container, .container-narrow { padding: 0 22px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .timeline { padding-left: 34px; }
  .hero-scroll { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    padding: 8px 0; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 32px; }
  .nav-links a::after { display: none; }
  .section { padding: 64px 0; }
  .prop-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--color-border); }
  .stat-cell:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ===========================================================
   Smalle schermen: video als blok, titel op donkere band eronder
   Geldt voor telefoons en voor een rechtopstaande iPad (t/m 834).
   Laptop en liggende iPad blijven ongewijzigd.
   =========================================================== */
@media (max-width: 834px) {
  .hero {
    min-height: 0;
    display: block;
    padding: calc(80vw + 22px) 0 30px;    /* videovlak + band om de tekst */
    background: #2a1416;
  }
  .hero-video { height: 80vw; bottom: auto; object-fit: contain; }  /* hele beeld, niets weggesneden */
  .hero::after { display: none; }
  .hero-sound { top: calc(68.125vw - 58px); bottom: auto; right: 14px; }  /* rechtsonder in het beeld */
  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.4rem);
    max-width: 18ch;
    text-shadow: none;
  }
  .hero .eyebrow,
  .hero-sub,
  .hero-caption .cap-title,
  .hero-caption .cap-sub { text-shadow: none; }
  .hero-actions { margin-top: 24px; }
}

/* ===========================================================
   Mobiel uitklapmenu achter de hamburger
   =========================================================== */
@media (max-width: 760px) {
  .nav-links {
    background: #2a1416;
    border-top: 1px solid var(--color-gold);
    border-bottom: none;
    padding: 6px 0 10px;
    box-shadow: 0 18px 40px rgba(26, 12, 13, 0.28);
  }
  .nav-links li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links li:first-child { border-top: none; }

  .nav-links a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    padding: 15px 30px;
    position: relative;
  }
  .nav-links a::after { display: none; }

  .nav-links a::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 2px; height: 0;
    background: var(--color-gold);
    transition: height 0.25s;
  }
  .nav-links a.current { color: var(--color-gold-light); }
  .nav-links a.current::before,
  .nav-links a:active::before { height: 26px; }

  .nav-links.open { animation: navIn 0.26s ease both; }
  .nav-links.open li { animation: navItem 0.34s ease both; }
  .nav-links.open li:nth-child(1) { animation-delay: 0.03s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.07s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.11s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.15s; }
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes navItem {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links.open,
  .nav-links.open li { animation: none; }
}
