/* ============================================================
   SlimVerlof.be — Stijlblad
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Nunito:wght@400;600;700&display=swap');

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

:root {
  --primair:    #0A7EA4;
  --primair-d:  #075f7c;
  --accent:     #F59E0B;
  --accent-d:   #d97706;
  --bg:         #F8FAFC;
  --tekst:      #1E293B;
  --muted:      #64748B;
  --licht:      #E0F2FE;
  --success:    #10B981;
  --border:     #CBD5E1;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(10,126,164,0.10);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--tekst);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Typografie ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif;
  line-height: 1.2;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; }
h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { font-size: 0.97rem; color: var(--muted); line-height: 1.75; }
a  { color: var(--primair); }

/* ── Layout ────────────────────────────────────────────────── */
.wrap {
  max-width: 720px; margin: 0 auto; padding: 0 1.25rem;
}
section { padding: 3rem 0; }

/* ── Header / Nav ──────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}
.header-inner {
  max-width: 720px; margin: 0 auto; padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.2rem; color: var(--primair);
  text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
nav a {
  font-size: 0.88rem; font-weight: 600; color: var(--muted);
  text-decoration: none; margin-left: 1.25rem; transition: color 0.2s;
}
nav a:hover { color: var(--primair); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primair) 0%, var(--primair-d) 100%);
  color: var(--white);
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
}
.hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero p   { color: rgba(255,255,255,0.88); font-size: 1.05rem; max-width: 580px; margin: 0 auto 1.75rem; }
.hero-cta {
  background: var(--accent); color: var(--tekst);
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  display: inline-block; transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}
.hero-cta:hover { background: var(--accent-d); transform: translateY(-1px); }

/* ── Jaarkeuze ─────────────────────────────────────────────── */
.jaar-tabs {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.jaar-tab {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 8px; padding: 0.5rem 1.25rem;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  font-family: inherit; color: var(--muted); transition: all 0.2s;
}
.jaar-tab.actief {
  background: var(--primair); color: var(--white); border-color: var(--primair);
}
.jaar-tab:hover:not(.actief) { border-color: var(--primair); color: var(--primair); }

/* ── Sectietitel ───────────────────────────────────────────── */
.sectie-titel {
  text-align: center; margin-bottom: 2rem;
}
.sectie-titel h2 { color: var(--tekst); margin-bottom: 0.4rem; }
.sectie-titel p  { font-size: 0.95rem; }

/* ── Calculator ────────────────────────────────────────────── */
.calc-box {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem;
  margin-bottom: 1.5rem; border: 1px solid var(--border);
}
.calc-row {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.calc-row label { font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.calc-input {
  border: 2px solid var(--border); border-radius: 8px;
  padding: 0.55rem 0.9rem; font-size: 1rem; font-family: inherit;
  color: var(--tekst); outline: none; width: 100px;
  transition: border-color 0.2s;
}
.calc-input:focus { border-color: var(--primair); }

/* ── Brugkaartjes ──────────────────────────────────────────── */
#brug-resultaten { display: flex; flex-direction: column; gap: 1rem; }
.brug-kaart {
  background: var(--white); border-radius: var(--radius);
  border: 2px solid var(--border); padding: 1.25rem;
  box-shadow: var(--shadow); position: relative;
}
.brug-kaart.top { border-color: var(--accent); }
.brug-badge {
  position: absolute; top: -1px; right: 1rem;
  background: var(--accent); color: var(--tekst);
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem;
  border-radius: 0 0 6px 6px; letter-spacing: 0.04em; text-transform: uppercase;
}
.brug-naam { font-weight: 700; font-size: 1.05rem; color: var(--tekst); margin-bottom: 0.3rem; }
.brug-periode { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.brug-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.brug-stat {
  background: var(--licht); border-radius: 8px; padding: 0.6rem 0.5rem; text-align: center;
}
.brug-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--primair); line-height: 1; }
.brug-stat .lbl { font-size: 0.72rem; color: var(--muted); margin-top: 0.2rem; }
.brug-stat.groen .val { color: var(--success); }
.brug-stat.groen { background: #d1fae5; }

/* ── Feestdagenlijst ───────────────────────────────────────── */
.feestdag-lijst { display: flex; flex-direction: column; gap: 0.6rem; }
.feestdag-item {
  background: var(--white); border-radius: 10px;
  border: 1px solid var(--border); padding: 0.85rem 1.1rem;
  display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.feestdag-item.brug-kans { border-color: var(--accent); background: #fffbeb; }
.feestdag-dag {
  min-width: 48px; text-align: center;
  background: var(--licht); border-radius: 8px; padding: 0.4rem;
  font-weight: 700; font-size: 0.82rem; color: var(--primair); line-height: 1.3;
}
.feestdag-info { flex: 1; }
.feestdag-naam { font-weight: 700; font-size: 0.95rem; }
.feestdag-datum { font-size: 0.82rem; color: var(--muted); }
.feestdag-badge {
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem;
  border-radius: 20px; white-space: nowrap;
}
.feestdag-badge.feestdag { background: var(--licht); color: var(--primair); }
.feestdag-badge.brug     { background: #fef3c7; color: #92400e; }
.feestdag-badge.weekend  { background: #f1f5f9; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-lijst { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.faq-item summary {
  padding: 1rem 1.25rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem;
}
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--primair); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-body { padding: 0 1.25rem 1rem; font-size: 0.93rem; color: var(--muted); line-height: 1.75; }
.faq-body strong { color: var(--tekst); }

/* ── Wettelijke info pagina ────────────────────────────────── */
.content-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2rem;
  border: 1px solid var(--border);
}
.content-card h2 { color: var(--primair); font-size: 1.2rem; margin: 1.5rem 0 0.65rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { font-size: 0.93rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.5rem; }
.content-card ul { padding-left: 1.3rem; }
.content-card a { color: var(--primair); }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--tekst); color: rgba(255,255,255,0.65);
  padding: 2rem 1.25rem; text-align: center;
}
footer p { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 0.35rem; }
footer a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }
.footer-tools {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem;
  margin: 1rem 0 0.5rem;
}
.footer-tool {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  text-decoration: none; border-radius: 8px; padding: 0.35rem 0.85rem;
  font-size: 0.82rem; font-weight: 600; transition: background 0.2s;
}
.footer-tool:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Cookie banner ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--tekst); color: rgba(255,255,255,0.9);
  padding: 1rem 1.25rem; z-index: 999;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { display: none !important; }
.ck-txt { flex: 1; min-width: 200px; font-size: 0.88rem; }
.ck-txt a { color: var(--accent); }
.btn-ck {
  background: var(--accent); color: var(--tekst);
  border: none; padding: 0.5rem 1.2rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: inherit;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .brug-stats { grid-template-columns: repeat(2, 1fr); }
  .calc-row { flex-direction: column; align-items: flex-start; }
  .calc-input { width: 100%; }
  nav a:not(:last-child) { display: none; }
  .hero { padding: 2.5rem 1rem 2rem; }
}
