/* =========================================================
   't Kabotske (VZW) — Bilzen / Munsterbilzen, België
   Stylesheet: parochiaal centrum · cultuur · feest · gemeenschap
   ========================================================= */

:root {
  --primary: #8B3A3A;
  --primary-dark: #6E2D2D;
  --primary-light: #A64E4E;
  --secondary: #C89B3C;
  --secondary-dark: #B98D34;
  --secondary-light: #F2D8A7;
  --accent: #7A8B6F;
  --accent-dark: #6E7F5F;
  --accent-light: #C9D4C2;
  --bg: #F8F6F2;
  --bg-soft: #F0EBE1;
  --text: #2B2B2B;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px rgba(43, 43, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 43, 43, 0.12);
  --container: 1160px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--primary-dark);
  color: var(--bg);
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}
.topbar a { color: var(--secondary-light); }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header / Navbar ---------- */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 46px; height: 46px; flex-shrink: 0; }
.brand__text { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.3px; }
.brand__sub { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.85; letter-spacing: 1.2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav a {
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 500;
}
.nav a:hover { background: rgba(255,255,255,0.14); text-decoration: none; }
.nav a.active { background: var(--secondary); color: var(--primary-dark); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 3px; background: #fff; border-radius: 3px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); box-shadow: 0 10px 22px rgba(122,139,111,0.35); }
.btn--light { background: var(--secondary); color: var(--primary-dark); }
.btn--light:hover { background: var(--secondary-light); box-shadow: 0 10px 22px rgba(200,155,60,0.35); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); box-shadow: none; }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; display: block; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 76px 24px 96px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--secondary-light);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--secondary-light); }
.hero p.lead { font-size: 1.14rem; opacity: 0.94; max-width: 56ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.9rem; opacity: 0.9; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 18px; height: 18px; }
.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 520px; height: auto; }

/* ---------- Page hero (interne pages) ---------- */
.page-hero {
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 12px; }
.page-hero p { opacity: 0.93; max-width: 70ch; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; margin-bottom: 16px; opacity: 0.85; }
.breadcrumb a { color: var(--secondary-light); }
.breadcrumb span { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--secondary { background: var(--secondary); color: var(--primary-dark); }
.section--secondary p { color: rgba(110,45,45,0.92); }
.section--white { background: #fff; }

.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--primary-dark); margin-bottom: 16px; }
.section--secondary h2 { color: var(--primary-dark); }
.section__lead { color: var(--text-light); font-size: 1.08rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card__icon { width: 66px; height: 66px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); margin-bottom: 20px; }
.card__icon svg { width: 40px; height: 40px; }
.card h3 { font-size: 1.22rem; color: var(--primary-dark); margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 0.97rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  text-align: center;
  border-top: 5px solid var(--secondary);
}
.stat__num { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat__label { color: var(--text-light); font-size: 0.95rem; margin-top: 6px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__art { display: flex; justify-content: center; }
.split__art svg { width: 100%; max-width: 460px; height: auto; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--primary-dark); margin-bottom: 16px; }
.split p { color: var(--text-light); margin-bottom: 16px; }
.checklist { list-style: none; margin: 18px 0 24px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.value::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--secondary);
}
.value:nth-child(2)::before { background: var(--primary-light); }
.value:nth-child(3)::before { background: var(--accent); }
.value:nth-child(4)::before { background: var(--secondary-dark); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.value__icon svg { width: 46px; height: 46px; }
.value h3 { color: var(--primary-dark); margin-bottom: 10px; font-size: 1.2rem; }
.value p { color: var(--text-light); font-size: 0.95rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 4px; background: var(--secondary); border-radius: 4px; }
.timeline__item { position: relative; padding: 0 0 36px 52px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  border: 5px solid var(--secondary-light);
}
.timeline__year { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem; padding: 4px 14px; border-radius: 50px; margin-bottom: 10px; }
.timeline h3 { color: var(--primary-dark); margin-bottom: 6px; }
.timeline p { color: var(--text-light); }

/* ---------- Board ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.board__item { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; text-align: center; }
.board__avatar { width: 78px; height: 78px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.board__avatar svg { width: 46px; height: 46px; }
.board__item h3 { color: var(--primary-dark); font-size: 1.15rem; }
.board__role { display: inline-block; background: var(--secondary); color: var(--primary-dark); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 14px; border-radius: 50px; margin-top: 8px; }

/* ---------- Activities ---------- */
.activity { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: flex-start; }
.activity__icon { width: 110px; height: 110px; background: var(--bg-soft); border-radius: 20px; display: flex; align-items: center; justify-content: center; }
.activity__icon svg { width: 62px; height: 62px; }
.activity h3 { color: var(--primary-dark); font-size: 1.3rem; margin-bottom: 8px; }
.activity p { color: var(--text-light); margin-bottom: 12px; }
.tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; color: #fff; }
.cta p { max-width: 62ch; margin: 0 auto 30px; opacity: 0.92; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.form__group { margin-bottom: 20px; }
.form label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary-dark); font-size: 0.95rem; }
.form input, .form textarea, .form select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #E4DED2;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(122,139,111,0.18); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 0.82rem; color: var(--text-light); margin-top: 6px; }

.info-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px; margin-bottom: 24px; }
.info-card h3 { color: var(--primary-dark); margin-bottom: 18px; font-size: 1.2rem; }
.info-card ul { list-style: none; display: grid; gap: 16px; }
.info-card li { display: flex; gap: 14px; align-items: flex-start; }
.info-card svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; }
.info-card a { color: var(--primary); font-weight: 500; }
.info-card .label { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 2px; }

/* ---------- Map ---------- */
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; position: relative; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map .map-note { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,0.95); padding: 10px 16px; border-radius: 10px; font-size: 0.85rem; line-height: 1.4; box-shadow: var(--shadow); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #EFE9DC; font-size: 0.96rem; }
th { background: var(--primary); color: #fff; font-weight: 600; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--bg); }

/* ---------- Legal content ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal .card h2 { font-size: 1.5rem; margin: 26px 0 10px; color: var(--primary-dark); }
.legal .card h2:first-child { margin-top: 0; }
.legal .card h3 { color: var(--primary-dark); font-size: 1.15rem; margin: 20px 0 8px; }
.legal .card p, .legal .card li { color: var(--text-light); margin-bottom: 12px; }
.legal .card ul { padding-left: 22px; margin-bottom: 14px; }
.legal .card strong { color: var(--text); }
.legal .updated { display: inline-block; background: var(--accent-light); color: var(--accent-dark); font-size: 0.82rem; font-weight: 600; padding: 6px 14px; border-radius: 50px; margin-bottom: 18px; }

/* ---------- Notices ---------- */
.notice { background: var(--bg-soft); border-left: 5px solid var(--secondary); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 18px 0; }
.notice strong { color: var(--primary-dark); }
.notice a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-dark); color: #D8CFC4; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; }
.footer-brand:hover { text-decoration: none; }
.footer-brand svg { width: 44px; height: 44px; }
.footer-brand span { font-size: 1.25rem; font-weight: 700; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.6px; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #D8CFC4; }
.site-footer a:hover { color: var(--secondary-light); text-decoration: none; }
.site-footer p { margin-bottom: 10px; font-size: 0.95rem; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 22px 0; font-size: 0.86rem; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom a { color: var(--secondary-light); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent-dark); }
.back-top svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Form success ---------- */
.form-success {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}
.form-success.show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; padding: 56px 24px 84px; text-align: center; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .grid--4, .values, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .board { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 16px; }
  .brand__sub { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__right { display: none; }
}

@media (max-width: 576px) {
  .grid--4, .values, .stats, .grid--3, .board, .footer-grid { grid-template-columns: 1fr; }
  .activity { grid-template-columns: 1fr; }
  .activity__icon { margin: 0 auto; }
  .hero h1 { font-size: 2rem; }
  .card, .form { padding: 24px; }
}
