html { scroll-behavior: smooth; }

:focus-visible {
  outline: 2px solid #5D7A54;
  outline-offset: 2px;
}

/* ── Display-serif voor warm-direction headings ──────────────── */
.display-serif {
  font-family: 'Playfair Display', 'Roboto', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.display-serif em { font-style: italic; }

/* Tailwind heeft text-balance native sinds v3.4; deze fallback dekt oudere builds. */
.text-balance { text-wrap: balance; }

/* ── Formuliervelden ──────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #c8d5c0;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: 'Nunito', system-ui, sans-serif;
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #5D7A54;
  box-shadow: 0 0 0 3px rgba(93, 122, 84, 0.15);
}

/* ── Knoppen ──────────────────────────────────────────────── */
.btn-primair {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: #A46333;
  color: white;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  transition: background-color 0.2s, transform 0.1s;
  font-family: 'Nunito', system-ui, sans-serif;
}
.btn-primair:hover { background-color: #8a5228; transform: translateY(-1px); }

.btn-secundair {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: #3E5A35;
  color: white;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  transition: background-color 0.2s, transform 0.1s;
  font-family: 'Nunito', system-ui, sans-serif;
}
.btn-secundair:hover { background-color: #5D7A54; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: transparent;
  color: #2a241a;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(42, 36, 26, 0.15);
  transition: all 0.15s;
  font-family: 'Nunito', system-ui, sans-serif;
}
.btn-ghost:hover {
  border-color: #2a241a;
  background-color: white;
  transform: translateY(-1px);
}

/* ── Kaartcomponenten ─────────────────────────────────────── */
.kaart {
  background: white;
  border-radius: 0.875rem;
  box-shadow: 0 2px 8px rgba(62, 90, 53, 0.08);
  border: 1px solid #e8f0e4;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kaart:hover {
  box-shadow: 0 6px 20px rgba(62, 90, 53, 0.14);
  transform: translateY(-2px);
}

/* Warm variant: ronder + zachtere schaduw, voor de nieuwe templates */
.kaart-warm {
  background: #EDE5D8;
  border-radius: 1.5rem;
  border: 1px solid rgba(42, 36, 26, 0.06);
  box-shadow: 0 1px 0 rgba(42, 36, 26, 0.04), 0 6px 20px rgba(42, 36, 26, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.kaart-warm:hover {
  transform: translateY(-2px);
  border-color: rgba(62, 90, 53, 0.25);
  box-shadow: 0 1px 0 rgba(42, 36, 26, 0.04), 0 14px 36px rgba(42, 36, 26, 0.08);
}

/* ── Tag-pills ────────────────────────────────────────────── */
.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag-pill-groen { background: #EDE5D8; color: #3E5A35; }
.tag-pill-white { background: #ffffff; color: #3E5A35; }
.tag-pill-beige { background: #F5F0E8; color: #4B4B4B; }
.tag-pill-bruin { background: rgba(164, 99, 51, 0.12); color: #A46333; }
.tag-pill-sauge { background: rgba(169, 185, 154, 0.35); color: #3E5A35; }

/* ── Dot-row: bullet voor agenda meta-lijstjes ──────────────── */
.dot-row { display: flex; align-items: center; gap: 0.6rem; }
.dot-row::before {
  content: ''; width: 5px; height: 5px; border-radius: 9999px;
  background-color: #5D7A54; flex-shrink: 0;
}

/* ── Agenda-tabs ──────────────────────────────────────────── */
.agenda-tab {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #5b504a;
  background: transparent;
  border: 1px solid rgba(42, 36, 26, 0.12);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Nunito', system-ui, sans-serif;
}
.agenda-tab:hover { color: #2a241a; border-color: #2a241a; }
.agenda-tab-active {
  background: #3E5A35;
  color: white;
  border-color: #3E5A35;
}
.agenda-tab-active:hover { color: white; border-color: #3E5A35; background: #3E5A35; }

/* ── Placeholder-strepen: wanneer een WorkshopPage nog geen foto heeft ── */
.placeholder-stripe {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 14px),
    #5D7A54;
}
.placeholder-stripe-groen { background:
  repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 14px),
  #5D7A54;
}
.placeholder-stripe-bruin { background:
  repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 14px),
  #A46333;
}

/* ── Sectie dividers (bestaand, behouden) ─────────────────── */
.sectie-beige { background-color: #F5F0E8; }
.sectie-wit   { background-color: #ffffff; }
.sectie-groen { background-color: #3E5A35; color: white; }
.sectie-sauge { background-color: #A9B99A; }

/* ── Richtext (bestaand + warm-variant) ───────────────────── */
.richtext h2 { font-size: 1.5rem; font-weight: 600; color: #3E5A35; margin: 1.5rem 0 0.6rem; font-family: 'Roboto', sans-serif; }
.richtext h3 { font-size: 1.15rem; font-weight: 600; color: #3E5A35; margin: 1.1rem 0 0.4rem; font-family: 'Roboto', sans-serif; }
.richtext p  { margin-bottom: 0.85rem; line-height: 1.8; color: #374151; }
.richtext ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 0.85rem; }
.richtext li { margin-bottom: 0.35rem; line-height: 1.75; }
.richtext a  { color: #5D7A54; text-decoration: underline; transition: color 0.15s; }
.richtext a:hover { color: #3E5A35; }
.richtext strong { color: #3E5A35; font-weight: 600; }

/* Warm-variant: serif h2's voor over-mij body + bredere ritme */
.richtext-warm h2 {
  font-family: 'Playfair Display', 'Roboto', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.015em;
  color: #3E5A35;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.1;
}
.richtext-warm h2:first-child { margin-top: 0; }
.richtext-warm h3 {
  font-family: 'Playfair Display', 'Roboto', serif;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: #3E5A35;
  margin: 1.75rem 0 0.5rem;
}
.richtext-warm p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #4a3f33;
  margin-bottom: 1rem;
}
.richtext-warm p em {
  font-family: 'Playfair Display', 'Roboto', serif;
  font-style: italic;
  font-size: 1.05em;
  color: #2a241a;
}
.richtext-warm strong { color: #3E5A35; font-weight: 600; }

/* Quote-blok voor warm richtext (gebruik <blockquote> in Wagtail richtext) */
.richtext-warm blockquote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: #3E5A35;
  color: white;
  border-radius: 1.5rem;
  font-family: 'Playfair Display', 'Roboto', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.35;
  text-wrap: balance;
}
.richtext-warm blockquote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0;
  vertical-align: -1.25rem;
  color: #D59F77;
  margin-right: 0.25rem;
}
.richtext-warm blockquote p { color: inherit; margin: 0; line-height: inherit; font-size: inherit; }

/* ── Pull quote block (EetMetInzichtPage) ─────────────────── */
.pull-quote-block p { margin: 0; }
.pull-quote-block strong { font-weight: normal; color: #A46333; }
.pull-quote-block em { color: #A46333; }

/* ── Hero onderschrift (bestaand, behouden) ───────────────── */
.hero-onderschrift {
  color: #D59F77;
  font-size: 1.1rem;
  font-style: italic;
}

/* ────────────────────────────────────────────────────────────
   MENU-BALK VARIANTEN
   Wissel in templates/base.html van class op <header id="site-header">:
     site-style-beige        → light beige (huidig, transparant met blur)
     site-style-beige-dark   → donker beige, solide
     site-style-terracotta   → terracotta, witte tekst
   ──────────────────────────────────────────────────────────── */

/* Gedeelde basis voor alle varianten */
#site-header #nav-pill { border-color: rgba(0, 0, 0, 0.05); }
#site-header .nav-link { color: #374151; }
#site-header .nav-link:hover { background: rgba(0, 0, 0, 0.05); color: #3E5A35; }
#site-header .nav-link.is-active { background: #3E5A35; color: #ffffff; }
#site-header .nav-link.is-active:hover { background: #3E5A35; color: #ffffff; }
#site-header .cta-btn { background: #A46333; color: #ffffff; }
#site-header .cta-btn:hover { background: #D59F77; }
#site-header .brand-img-white { display: none; }

/* ── Variant 1 — Light beige (huidig) ───────────────────────── */
#site-header.site-style-beige #nav-pill {
  background-color: rgba(245, 240, 232, 0.85);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

/* ── Variant 2 — Dark beige ─────────────────────────────────── */
#site-header.site-style-beige-dark #nav-pill {
  background-color: #EDE5D8;
  border-color: rgba(62, 90, 53, 0.12);
  box-shadow: 0 4px 14px rgba(62, 90, 53, 0.05);
}
#site-header.site-style-beige-dark .nav-link:hover {
  background: rgba(62, 90, 53, 0.1);
  color: #3E5A35;
}

/* ── Variant 3 — Terracotta ─────────────────────────────────── */
#site-header.site-style-terracotta #nav-pill {
  background-color: #A46333;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(164, 99, 51, 0.18);
}
#site-header.site-style-terracotta .brand-img-color { display: none; }
#site-header.site-style-terracotta .brand-img-white { display: inline-block; }
#site-header.site-style-terracotta .nav-link {
  color: rgba(255, 255, 255, 0.9);
}
#site-header.site-style-terracotta .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
#site-header.site-style-terracotta .nav-link.is-active {
  background: #ffffff;
  color: #A46333;
}
#site-header.site-style-terracotta .nav-link.is-active:hover {
  background: #ffffff;
  color: #A46333;
}
#site-header.site-style-terracotta .cta-btn {
  background: #ffffff;
  color: #A46333;
}
#site-header.site-style-terracotta .cta-btn:hover {
  background: #F5F0E8;
  color: #A46333;
}
#site-header.site-style-terracotta #menu-toggle {
  color: #ffffff;
}
#site-header.site-style-terracotta #menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ── Bot-bescherming — honeypot (bestaand, behouden) ──────── */
.bot-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ===== Aankondigingsbanner ===== */
.banner {
  width: 100%;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}
.banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.banner__tekst p {
  margin: 0;
}
.banner__link {
  white-space: nowrap;
  font-weight: 600;
  text-decoration: underline;
}
/* Info = groen (#3E5A35 — zelfde als btn-secundair) */
.banner--info {
  background-color: #3E5A35;
  color: #fff;
}
.banner--info .banner__link { color: #fff; }
/* Actie = bruin (#A46333 — zelfde als btn-primair) */
.banner--actie {
  background-color: #A46333;
  color: #fff;
}
.banner--actie .banner__link { color: #fff; }
/* Waarschuwing = donkergeel/amber */
.banner--waarschuwing {
  background-color: #b45309;
  color: #fff;
}
.banner--waarschuwing .banner__link { color: #fff; }

/* Prijsbadge in workshopblokken (homepage) */
.prijs-badge { display:inline-flex; align-items:baseline; gap:0.3rem; flex-shrink:0; background:#A46333; color:#fff; padding:0.35rem 0.85rem; border-radius:9999px; font-family:'Playfair Display', Georgia, serif; font-size:1.05rem; font-weight:600; line-height:1.1; white-space:nowrap; font-variant-numeric:lining-nums tabular-nums; }
.prijs-badge-gratis { background:rgba(169,185,154,0.35); color:#3E5A35; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
