/* Vier totaal verschillende ontwerpen voor de keuzeronde.
   Basis (Klassiek) staat in style.css; hieronder drie ontwerpen die naast
   kleuren en fonts ook de lay-out ingrijpend veranderen, plus de stijlkiezer. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ════════════════════════════════════════════════════════
   2. MODERN — groot, krachtig, veel wit (24-7 Prayer-stijl)
   Lay-out: linksuitgelijnde XL-hero, oranje quote-band,
   genummerde kaarten, strakke zwarte footer.
   ════════════════════════════════════════════════════════ */
[data-theme="modern"] {
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --bg: #ffffff;
  --bg-alt: #f6f5f2;
  --ink: #141414;
  --muted: #5f5f5f;
  --accent: #e8552f;
  --accent-dark: #c74423;
  --line: #e8e6e2;
  --white: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #141414;
  --footer-text: #c9c9c9;
  --footer-head: #ffffff;
  --footer-dim: #8a8a8a;
  --radius: 999px;
  --card-radius: 16px;
}
[data-theme="modern"] h1, [data-theme="modern"] h2 { font-weight: 800; letter-spacing: -0.025em; }
[data-theme="modern"] h3, [data-theme="modern"] .card h3 { font-weight: 700; }
[data-theme="modern"] .brand { font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; }
[data-theme="modern"] .brand .mark { display: none; }
[data-theme="modern"] nav.main a { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
/* Hero: bijna schermvullend, links uitgelijnd, XL-typografie */
[data-theme="modern"] .hero {
  text-align: left;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
[data-theme="modern"] .hero > * { max-width: 62rem; margin-left: auto; margin-right: auto; width: 100%; }
[data-theme="modern"] .hero .ornament { display: none; }
[data-theme="modern"] .hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); line-height: 1.15; max-width: 62rem; }
[data-theme="modern"] .hero .sub {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  order: -1;
  margin: 0 auto 1.25rem;
}
[data-theme="modern"] .hero .actions { justify-content: flex-start; }
/* Quote wordt een volle oranje band */
[data-theme="modern"] .quote {
  max-width: none;
  background: var(--accent);
  color: #ffffff;
  font-style: normal;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  padding: 4rem 1.5rem;
}
[data-theme="modern"] .quote .source { color: rgba(255,255,255,0.75); font-weight: 500; }
[data-theme="modern"] .section h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
[data-theme="modern"] .page-header { text-align: left; border-bottom: 1px solid var(--line); background: var(--bg); padding: 4.5rem 1.5rem 3rem; }
[data-theme="modern"] .page-header h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 62rem; margin: 0 auto; }
[data-theme="modern"] .page-header p { font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem; max-width: 62rem; margin: 0.9rem auto 0; }
/* Genummerde kaarten zonder rand */
[data-theme="modern"] .cards { counter-reset: kaart; gap: 1.5rem; }
[data-theme="modern"] .card { border: none; background: var(--bg-alt); padding: 2rem 1.75rem; }
[data-theme="modern"] .section.alt .card { background: var(--white); }
[data-theme="modern"] .card::before {
  counter-increment: kaart;
  content: counter(kaart, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}
[data-theme="modern"] .divider { display: none; }
[data-theme="modern"] .motto, [data-theme="modern"] .serif { font-style: normal; font-weight: 700; }
[data-theme="modern"] form.styled input, [data-theme="modern"] form.styled textarea, [data-theme="modern"] form.styled select { border-radius: 12px; }
[data-theme="modern"] footer.site { margin-top: 0; }

/* ════════════════════════════════════════════════════════
   3. GROEN — organisch, zacht, editorial
   Lay-out: hero met organische bladvorm-achtergrond, initiaal
   (drop cap), afgeronde vormen, accentlijn links bij secties.
   ════════════════════════════════════════════════════════ */
[data-theme="groen"] {
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --bg: #f4f6f0;
  --bg-alt: #e9eee1;
  --ink: #263127;
  --muted: #5c6b5c;
  --accent: #4a6b4f;
  --accent-dark: #3a5540;
  --line: #d9e0d0;
  --white: #fcfdfa;
  --header-bg: rgba(244, 246, 240, 0.95);
  --footer-bg: #263127;
  --footer-text: #cdd6c9;
  --footer-head: #f4f6f0;
  --footer-dim: #93a08f;
  --radius: 12px;
  --card-radius: 22px;
}
[data-theme="groen"] h1 { font-style: italic; }
/* Nav-links als zachte pillen */
[data-theme="groen"] nav.main a { padding: 0.35rem 0.8rem; border-radius: 999px; }
[data-theme="groen"] nav.main a:hover, [data-theme="groen"] nav.main a.active { border-bottom: none; background: var(--bg-alt); color: var(--accent-dark); }
/* Hero met organische 'blad'-vorm */
[data-theme="groen"] .hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 1.5rem 5.5rem;
  background: var(--bg);
}
[data-theme="groen"] .hero::before {
  content: '';
  position: absolute;
  inset: auto -20% -55% -20%;
  height: 130%;
  background: radial-gradient(ellipse at 50% 100%, var(--bg-alt) 0%, var(--bg-alt) 55%, transparent 56%);
  z-index: 0;
}
[data-theme="groen"] .hero::after {
  content: '❦';
  position: absolute;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 1.6rem;
  opacity: 0.85;
}
[data-theme="groen"] .hero > * { position: relative; z-index: 1; }
[data-theme="groen"] .hero .ornament { display: none; }
[data-theme="groen"] .hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
[data-theme="groen"] .hero .sub { font-size: clamp(1.15rem, 2.8vw, 1.45rem); }
/* Secties: accentlijn links + initiaal */
[data-theme="groen"] .section h2 {
  border-left: 4px solid var(--accent);
  padding-left: 0.9rem;
  font-style: italic;
}
[data-theme="groen"] .section.center h2, [data-theme="groen"] .section h2.center { border-left: none; padding-left: 0; }
[data-theme="groen"] .section > h2:first-of-type + p::first-letter,
[data-theme="groen"] .section.alt .inner > h2:first-of-type + p::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.1em;
  float: left;
  line-height: 0.85;
  padding: 0.08em 0.12em 0 0;
  color: var(--accent);
}
[data-theme="groen"] .section.alt { border-radius: 40px; margin: 0 0.9rem; }
[data-theme="groen"] .quote {
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  position: relative;
  padding: 3.5rem 1.5rem;
}
[data-theme="groen"] .quote::before {
  content: '"';
  display: block;
  font-size: 3.4rem;
  line-height: 0.4;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.2rem;
}
[data-theme="groen"] .card { border: none; box-shadow: 0 2px 12px rgba(38, 49, 39, 0.07); border-top: 3px solid var(--accent); }
[data-theme="groen"] .page-header p { font-style: italic; }
[data-theme="groen"] .divider { border-radius: 2px; height: 3px; width: 2.4rem; }

/* ════════════════════════════════════════════════════════
   4. AVOND — donker, immersief, kaarslicht
   Lay-out: schermvullende hero met gloed, zwevende panelen,
   gouden accenten, gecentreerde sfeer.
   ════════════════════════════════════════════════════════ */
[data-theme="avond"] {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --bg: #171a20;
  --bg-alt: #20242e;
  --ink: #e9e4d8;
  --muted: #a49d8f;
  --accent: #d9a441;
  --accent-dark: #e3b45c;
  --line: #333845;
  --white: #20242e;
  --header-bg: rgba(23, 26, 32, 0.9);
  --footer-bg: #101218;
  --footer-text: #b5aea0;
  --footer-head: #e9e4d8;
  --footer-dim: #6e6a60;
  --radius: 4px;
  --card-radius: 12px;
}
[data-theme="avond"] .brand .mark { text-shadow: 0 0 12px rgba(217, 164, 65, 0.8); }
[data-theme="avond"] nav.main a { letter-spacing: 0.04em; }
[data-theme="avond"] nav.main a:hover, [data-theme="avond"] nav.main a.active { border-bottom-color: var(--accent); color: var(--accent-dark); }
/* Hero: bijna schermvullend met kaarslicht-gloed van onderen */
[data-theme="avond"] .hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(217, 164, 65, 0.22) 0%, transparent 60%),
    linear-gradient(180deg, #171a20 0%, #1b1f27 100%);
}
[data-theme="avond"] .hero .ornament {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(217, 164, 65, 0.9);
}
[data-theme="avond"] .hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 400; }
[data-theme="avond"] .hero .sub { color: var(--accent-dark); }
/* Quote: gouden gloed, sterk gespatieerd */
[data-theme="avond"] .quote {
  color: var(--accent);
  letter-spacing: 0.04em;
  text-shadow: 0 0 22px rgba(217, 164, 65, 0.35);
  padding: 4rem 1.5rem;
}
[data-theme="avond"] .quote .source { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; }
/* Secties als zwevende panelen */
[data-theme="avond"] .section.alt {
  background: transparent;
  padding: 1.5rem;
}
[data-theme="avond"] .section.alt > .inner {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
[data-theme="avond"] .section h2 { color: var(--accent-dark); font-weight: 400; }
[data-theme="avond"] .page-header {
  background:
    radial-gradient(ellipse 80% 70% at 50% 115%, rgba(217, 164, 65, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #171a20 0%, #1b1f27 100%);
}
[data-theme="avond"] .page-header p { color: var(--accent-dark); }
[data-theme="avond"] .card { border: 1px solid var(--line); background: var(--bg-alt); }
[data-theme="avond"] .card h3 { color: var(--accent-dark); }
[data-theme="avond"] .btn.primary { background: var(--accent); border-color: var(--accent); color: #171a20; }
[data-theme="avond"] .btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
[data-theme="avond"] .btn.outline { color: var(--ink); border-color: var(--muted); }
[data-theme="avond"] .btn.outline:hover { background: var(--ink); color: #171a20; }
[data-theme="avond"] .form-status.ok { color: #9cc79c; }
[data-theme="avond"] .form-status.error { color: #e0907e; }
[data-theme="avond"] .divider { box-shadow: 0 0 10px rgba(217, 164, 65, 0.7); }

/* ── Stijlkiezer-widget ── */
.theme-picker { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 100; font-family: var(--font-body); }
.theme-picker-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-picker-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 3.7rem;
  width: 16.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  padding: 0.9rem;
}
.theme-picker.open .theme-picker-panel { display: block; }
.theme-picker-panel h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}
.theme-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
}
.theme-option:hover { background: var(--bg-alt); }
.theme-option.active { border-color: var(--accent); }
.theme-option .dots { display: flex; gap: 3px; flex-shrink: 0; }
.theme-option .dot { width: 0.95rem; height: 0.95rem; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); }
.theme-option small { display: block; color: var(--muted); font-size: 0.75rem; }
@media (max-width: 700px) {
  .theme-picker { right: 0.8rem; bottom: 0.8rem; }
  .theme-picker-btn { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
  .theme-picker.typing { display: none; }
}
