/* ═══════════════════════════════════════════════════
   Sleutels tot Herstel Urk — Stylesheet
   ═══════════════════════════════════════════════════ */

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

:root {
  --bg:        #f7f3ee;
  --fg:        #1a2e2c;
  --card:      #faf8f5;
  --muted:     #5a7472;
  --border:    #e0d8cf;
  --primary:   #1f3d3a;
  --gold:      #b8913a;
  --gold-fg:   #12201f;
  --radius:    0.75rem;
  --font-disp: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --hero-grad: linear-gradient(120deg, rgba(18,38,36,.93) 0%, rgba(22,45,42,.80) 50%, rgba(18,38,36,.55) 100%);
  --warm-grad: linear-gradient(180deg, #f7f3ee 0%, #f0e9df 100%);
  --hero-bg:   linear-gradient(135deg, #122624 0%, #1f3d3a 60%, #274d49 100%);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ── */
header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-family: var(--font-disp);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.nav-logo svg { color: var(--gold); flex-shrink: 0; }

nav { display: flex; gap: 2rem; }
nav a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.8);
  transition: color .2s;
}
nav a:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: .25rem;
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
  }
  nav.open { display: flex; }
  nav a {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.85);
  }
  nav a:last-child { border-bottom: none; }
  .menu-toggle { display: block; }
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  background: var(--hero-bg);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-grad);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 1.5rem 7rem;
  color: #fff;
}
@media (min-width: 768px) {
  .hero-content { padding: 13rem 1.5rem 10rem; }
}
/* Tekst beperkt tot linker helft, net als origineel */
.hero-inner {
  max-width: 48rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(184,145,58,.4);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 0.375rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
h1 { font-size: clamp(2.8rem, 7vw, 5rem); color: #fff; }
h1 .italic { font-style: italic; color: var(--gold); }
h1 .sub {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 400;
  color: rgba(255,255,255,.75);
  margin-top: .5rem;
}
.hero-text {
  margin-top: 2rem;
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--gold-fg);
  border-radius: 99px;
  padding: .8rem 2rem;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(184,145,58,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(184,145,58,.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 99px;
  padding: .8rem 2rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ── SECTIONS ── */
section { padding: 5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }

.label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--fg); margin-top: .5rem; }

/* ── PROGRAMMA ── */
.grid-2 { display: grid; gap: 3rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 5fr 7fr; } }

.prose p { font-size: 1.1rem; line-height: 1.8; color: var(--muted); margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); font-weight: 600; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4rem;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); padding: 2rem 1rem; text-align: center; }
.stat-num { font-family: var(--font-disp); font-size: 3rem; color: var(--primary); line-height: 1; }
.stat-gender { font-size: 2.2rem; letter-spacing: .05em; }
.stat-label { margin-top: .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ── AVOND ── */
#avond { background: var(--warm-grad); }
.evening-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  margin-top: 3rem;
}
@media (min-width: 640px)  { .evening-grid { grid-template-columns: repeat(2, 1fr); } }
/* 5e item op tablet breed uitsmeren zodat er geen lege cel overblijft */
@media (min-width: 640px) and (max-width: 1023px) {
  .evening-grid li:nth-child(5) { grid-column: span 2; }
}
@media (min-width: 1024px) { .evening-grid { grid-template-columns: repeat(5, 1fr); } }

.evening-card { background: var(--card); padding: 1.75rem; }
.evening-num { font-family: var(--font-disp); font-size: 1.5rem; color: var(--gold); }
.evening-icon { margin-top: .25rem; }
.evening-card h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--fg);
  margin-top: 1rem; font-family: var(--font-body);
}
.evening-card p { margin-top: .5rem; font-size: .875rem; line-height: 1.6; color: var(--muted); }

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(184,145,58,.3);
  background: rgba(184,145,58,.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.info-box p { font-size: .9rem; line-height: 1.6; color: var(--fg); }
.info-box strong { font-weight: 600; }

/* ── THEMA'S ── */
.themes-list { display: flex; flex-direction: column; gap: .75rem; }
.theme-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.theme-item:hover {
  border-color: rgba(184,145,58,.6);
  box-shadow: 0 4px 20px rgba(31,61,58,.1);
}
.theme-num { font-family: var(--font-disp); font-size: 1.75rem; color: var(--gold); width: 2.5rem; flex-shrink: 0; }
.theme-text { font-size: 1.05rem; color: var(--fg); flex: 1; }
.theme-icon { color: var(--muted); flex-shrink: 0; transition: color .2s; }
.theme-item:hover .theme-icon { color: var(--gold); }

/* ── QUOTE ── */
.quote-section {
  background: var(--hero-bg);
  text-align: center;
  padding: 5rem 1.5rem;
}
@media (min-width: 768px) { .quote-section { padding: 7rem 1.5rem; } }
.quote-section blockquote {
  font-family: var(--font-disp);
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  max-width: 52rem;
  margin: 1.5rem auto 0;
  line-height: 1.3;
}
.quote-ref { margin-top: 1.5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .3em; color: var(--gold); }
.quote-icon { color: var(--gold); }

/* ── CONTACT ── */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.detail-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.detail-icon { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.detail-title { font-weight: 600; color: var(--fg); }
.detail-sub { font-size: .875rem; color: var(--muted); margin-top: .1rem; }

/* ── FORM ── */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(31,61,58,.1);
}
.contact-form h3 { font-size: 1.6rem; font-family: var(--font-disp); }

.form-group { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.form-group label {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-size: .95rem;
  color: var(--fg);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,145,58,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Honeypot — onzichtbaar voor mensen, zichtbaar voor bots */
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; tabindex: -1; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: .9rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  transition: transform .2s, background .2s;
}
.btn-submit:hover { transform: translateY(-2px); background: #244845; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Form feedback */
.form-msg {
  display: none;
  padding: .875rem 1rem;
  border-radius: .5rem;
  font-size: .9rem;
  margin-top: 1rem;
  line-height: 1.5;
}
.form-msg.success { background: #d1fadf; color: #166534; border: 1px solid #a7f3c0; display: block; }
.form-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); background: var(--card); padding: 2.5rem 1.5rem; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: .875rem;
  color: var(--muted);
}
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: .5rem; font-family: var(--font-disp); font-size: 1.05rem; color: var(--fg); }
.footer-logo svg { color: var(--gold); }

svg { display: inline-block; vertical-align: middle; }
