/* S.V. Subliem — huisstijl: zwart (#1d1c16) + Subliem-groen (#80ab42) */
:root {
  --ink: #1d1c16;
  --ink-soft: #3a3930;
  --muted: #6b6a5f;
  --green: #80ab42;
  --green-ink: #4a781d;      /* groen voor tekst op licht (contrast AA) */
  --green-soft: #eef4e3;
  --paper: #f7f6f0;
  --card: #ffffff;
  --line: #e4e2d6;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 28, 22, .06), 0 8px 24px rgba(29, 28, 22, .06);
  --shadow-lg: 0 2px 4px rgba(29, 28, 22, .06), 0 20px 48px rgba(29, 28, 22, .12);
  --max: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 1.1em;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--green); }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 40em; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .55em; font: inherit; font-weight: 700; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #8fbc4f; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: inherit; }
.btn--sm { padding: .55em 1.15em; font-size: .95rem; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 240, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(29, 28, 22, .05); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; padding: .55em .8em; border-radius: 999px; white-space: nowrap;
}
.nav a:not(.btn):hover { background: rgba(29, 28, 22, .06); color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { background: var(--green-soft); color: var(--green-ink); }
.nav .btn { margin-left: 8px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--ink); }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px; margin: auto; position: relative; transition: transform .2s, opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .burger { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); padding: 12px 20px 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(29, 28, 22, .12); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9em 1em; font-size: 1.1rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: min(62vw, 720px); aspect-ratio: 780 / 640;
  transform: translateY(-50%); background: url("../img/merk-wit.png") center / contain no-repeat; opacity: .07;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--green) 0 30%, transparent 30%);
}
.hero__in { padding: clamp(72px, 12vw, 150px) 0 clamp(80px, 12vw, 150px); max-width: 860px; }
.hero h1 { margin-bottom: .45em; }
.hl { color: var(--green); }
.hero .lead { color: rgba(255, 255, 255, .78); margin-bottom: 2em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -3%; top: 50%; width: min(42vw, 420px); aspect-ratio: 780 / 640;
  transform: translateY(-50%); background: url("../img/merk-wit.png") center / contain no-repeat; opacity: .06;
}
.page-hero .wrap { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: .35em; }
.page-hero .lead { color: rgba(255, 255, 255, .78); margin: 0; }

/* Tegels / kaarten */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
a.card { display: block; text-decoration: none; color: inherit; position: relative; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
a.card h3 { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
a.card h3 .arr { color: var(--green-ink); transition: transform .2s; }
a.card:hover h3 .arr { transform: translateX(5px); }
.icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--green-soft); color: var(--green-ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.tiles { margin-top: -56px; position: relative; z-index: 2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }

.band { background: var(--green); color: var(--ink); }
.band .eyebrow { color: var(--ink); opacity: .75; }
.band p { color: var(--ink); }
.dark { background: var(--ink); color: #fff; }
.dark p { color: rgba(255, 255, 255, .78); }
.dark a:not(.btn) { color: var(--green); }

.stat-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; }
.stat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; aspect-ratio: 780 / 640; background: url("../img/merk-groen.png") center / contain no-repeat; opacity: .9; }
.stat-card h3 { font-size: 1.9rem; letter-spacing: -.02em; max-width: 8em; }
.stat-card p { color: rgba(255, 255, 255, .75); max-width: 20em; }

/* Lijst-items (activiteiten) */
.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px 18px 18px;
  box-shadow: var(--shadow);
}
.event__date { background: var(--ink); color: #fff; border-radius: 14px; text-align: center; padding: 10px 0 8px; line-height: 1; }
.event__date b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.event__date span { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; color: var(--green); font-weight: 700; }
.event h3 { margin: 0 0 .15em; }
.event p { margin: 0; color: var(--muted); font-size: .98rem; }
.event--past { opacity: .62; box-shadow: none; }
.event--past .event__date { background: #8a897d; }
.event--past .event__date span { color: #fff; }
.tag { font-size: .8rem; font-weight: 700; background: var(--green-soft); color: var(--green-ink); padding: .3em .85em; border-radius: 999px; white-space: nowrap; }
@media (max-width: 640px) {
  .event { grid-template-columns: 68px 1fr; padding: 14px; gap: 16px; }
  .event .tag { grid-column: 2; justify-self: start; }
}
.empty {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--ink-soft); background: rgba(255,255,255,.5);
}

/* Commissies */
.cie { display: flex; flex-direction: column; gap: 6px; }
.cie h3 { margin: 0; }
.cie__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); margin-bottom: 14px; }

/* Prijzen */
.price { display: flex; flex-direction: column; }
.price__amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: .15em 0 .1em; }
.price__amt small { display: block; font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: .5em; }
.price ul { padding: 0; margin: 18px 0 0; list-style: none; color: var(--ink-soft); }
.price li { padding-left: 1.7em; position: relative; margin-bottom: .5em; }
.price li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .8em; border-radius: 50%; background: var(--green); }
.price--pop { background: var(--ink); color: #fff; border-color: var(--ink); }
.price--pop p, .price--pop li { color: rgba(255, 255, 255, .78); }
.price--pop .price__amt small { color: rgba(255, 255, 255, .6); }

/* Tekstpagina's */
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.anchors a { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; padding: .5em 1.1em; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.anchors a:hover { background: var(--green); color: var(--ink); }
.sub { scroll-margin-top: 100px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: .8em 1em; transition: border-color .15s, background .15s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.captcha { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha b { font-size: 1.25rem; background: var(--green-soft); color: var(--green-ink); padding: .35em .8em; border-radius: 10px; letter-spacing: .05em; }
.captcha input { width: 90px; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.fine { font-size: .88rem; color: var(--muted); margin: 0; }
.notice { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.notice[hidden] { display: none; }
.notice--ok { background: var(--green-soft); color: #2f5410; border: 1px solid #c9dfa5; }
.notice--err { background: #fdecea; color: #8a1c10; border: 1px solid #f3c2bc; }
.info { display: grid; gap: 14px; }
.info__item { display: flex; gap: 16px; align-items: flex-start; }
.info__item .icon { margin: 0; flex: none; width: 44px; height: 44px; border-radius: 14px; }
.info__item .icon svg { width: 22px; height: 22px; }
.info__item b { display: block; }
.info__item span, .info__item a { color: var(--ink-soft); }
.hours { color: var(--muted); font-size: .95rem; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 72px 0 32px; font-size: .98rem; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--green); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.flogo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.flogo img:first-child { height: 44px; width: auto; }
.flogo img:last-child { height: 22px; width: auto; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .15s, color .15s, transform .15s; }
.socials a:hover { background: var(--green); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

/* Subtiele onthulling bij scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ===================== Navigatie met submenu's ===================== */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__toggle {
  background: none; border: 0; cursor: pointer; color: var(--ink); width: 28px; height: 36px; margin-left: -6px;
  display: grid; place-items: center; border-radius: 8px;
}
.nav__toggle svg { transition: transform .2s; }
.nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub a { display: block; padding: .6em .9em; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.nav__sub a:hover { background: var(--green-soft); color: var(--green-ink); }
.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub, .has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.lang {
  margin-left: 6px; font-weight: 800; font-size: .82rem; letter-spacing: .08em; color: var(--ink); text-decoration: none;
  border: 2px solid var(--line); border-radius: 999px; padding: .35em .75em;
}
.lang:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 1140px) {
  .burger { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100vh - 76px); overflow: auto;
    background: var(--paper); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(29, 28, 22, .12); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__item { flex-wrap: wrap; justify-content: space-between; }
  .nav__item > a:not(.btn) { flex: 1; padding: .9em 1em; font-size: 1.1rem; }
  .nav__toggle { width: 44px; height: 44px; margin: 0; }
  .has-sub.is-open .nav__toggle svg { transform: rotate(180deg); }
  .nav__sub { position: static; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; }
  .has-sub.is-open > .nav__sub { display: block; }
  .has-sub:hover > .nav__sub { display: none; }
  .has-sub.is-open:hover > .nav__sub { display: block; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .lang { align-self: flex-start; margin: 10px 0 0; }
}
@media (min-width: 1141px) { .burger { display: none; } }
.nav a:not(.btn) { padding: .55em .7em; }

/* ===================== Subnavigatie & hero met foto ===================== */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 40; }
.subnav__in { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); padding: .45em 1em; border-radius: 999px; }
.subnav a:hover { background: var(--paper); color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.page-hero--photo { background-image: linear-gradient(180deg, rgba(29,28,22,.66) 0%, rgba(29,28,22,.5) 100%), var(--hero-img); background-size: cover; background-position: center; }
.page-hero--photo::before { display: none; }
.page-hero .anchors { max-height: 120px; overflow: auto; }

/* ===================== Inhoud (oude pagina's) ===================== */
.section--content { padding: clamp(40px, 6vw, 80px) 0; }
.section--content + .section--content { padding-top: 0; }
.stack > * + * { margin-top: 1.4em; }
.stack > .sec-title + * { margin-top: .9em; }
.sec-title { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 800; margin: 1.2em 0 0; }
.stack > .sec-title:first-child { margin-top: 0; }
.sub-title { font-size: 1.3rem; margin: 1.4em 0 0; }
.prose-p, .prose-list { max-width: 46em; margin-bottom: 0; color: var(--ink-soft); }
.prose-p.note { background: var(--green-soft); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--ink); }
.prose-list { padding-left: 1.3em; }
.prose-list li { margin-bottom: .5em; }
.fig { margin: 0; max-width: 820px; }
.fig img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); }
.fig--wide { max-width: 1100px; }
.gallery { display: grid; gap: 14px; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); } .gallery--3 { grid-template-columns: repeat(3, 1fr); } .gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; place-items: center; min-height: 100px; }
.gallery img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 700px) { .gallery--3, .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
.table-wrap { overflow-x: auto; max-width: 820px; }
table { border-collapse: collapse; width: 100%; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
td, th { padding: .7em 1em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--green-soft); }
.embed iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* Kaarten met foto */
.tiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
a.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.tile__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.tile:hover .tile__media img { transform: scale(1.04); }
.tile__body { padding: 20px 22px 24px; }
.tile__body h3 { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 .4em; font-size: 1.15rem; }
.tile__body h3 .arr { color: var(--green-ink); transition: transform .2s; }
a.tile:hover h3 .arr { transform: translateX(5px); }
.tile__body p { margin: 0 0 .5em; color: var(--ink-soft); font-size: .98rem; }
.tile__body p:last-child { margin-bottom: 0; }
.tile__meta { color: var(--muted) !important; font-weight: 600; font-size: .9rem !important; }

/* Quotes / personen */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.quote__img img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.quote blockquote { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.quote figcaption b { display: block; } .quote figcaption span { color: var(--muted); font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; max-width: 900px; }
.stat { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; }
.stat b { display: block; font-size: 2.6rem; line-height: 1; color: var(--green); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.8); font-size: .95rem; }

/* Bestuur */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.person__img { aspect-ratio: 4/5; overflow: hidden; background: var(--green-soft); }
.person__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person__body { padding: 24px; }
.person__body h3 { margin: 0; font-size: 1.35rem; }
.person__role { color: var(--green-ink); font-weight: 700; margin: .2em 0 1em; }
.person__body p { color: var(--ink-soft); font-size: .98rem; }
.about__photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }

/* Oude besturen */
.year { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 150px; }
.year:first-child { border-top: 0; }
.year__head h2 { font-size: 2.4rem; color: var(--green-ink); margin: 0; position: sticky; top: 160px; }
.members { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.members li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.members b { display: block; } .members span { color: var(--muted); font-size: .9rem; }
.year__photos { display: grid; gap: 14px; margin-bottom: 24px; }
.year__photos img { width: 100%; max-width: 760px; border-radius: var(--radius); box-shadow: var(--shadow); }
.year__photos figure { margin: 0; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.note-card { background: var(--green-soft); border-radius: var(--radius-sm); padding: 18px 20px; }
.note-card h4 { margin: 0 0 .4em; font-size: 1.05rem; } .note-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .year { grid-template-columns: 1fr; gap: 8px; } .year__head h2 { position: static; } }

/* Fotoalbums */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.album { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.album:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.album .icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.album .icon svg { width: 22px; height: 22px; }

/* Activiteiten met foto */
.event--photo { grid-template-columns: 220px 84px 1fr auto; padding: 0 24px 0 0; overflow: hidden; }
.event__photo { align-self: stretch; min-height: 120px; }
.event__photo img { width: 100%; height: 100%; object-fit: cover; }
.event--photo .event__date { margin: 0; }
@media (max-width: 760px) { .event--photo { grid-template-columns: 1fr; padding: 0 0 16px; gap: 12px; } .event--photo > :not(.event__photo) { margin-inline: 16px; } .event__photo { height: 180px; } .event--photo .event__date { width: 84px; } }

/* Contactinfo uit oude site */
.info__block h3 { font-size: 1.05rem; margin: 0 0 .3em; }
.info__block p { margin: 0 0 .6em; color: var(--ink-soft); font-size: .98rem; }
.info { gap: 22px; }

/* Formulieren */
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__fields .field { grid-column: 1 / -1; }
.form__fields .field--half { grid-column: auto; }
@media (max-width: 640px) { .form__fields { grid-template-columns: 1fr; } .form__fields .field--half { grid-column: 1 / -1; } }
.field select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .8em 1em; }
.field select:focus { outline: none; border-color: var(--green); background: #fff; }
.field legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.field.check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--green-ink); }
.req { color: var(--green-ink); }
.section--form { background: var(--green-soft); }
.section--form .form-wrap { max-width: 860px; }
.section--form .section-head { margin-bottom: 28px; }

.tiles-grid--wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tile--person .tile__media { aspect-ratio: 4 / 3; }
.tile--person .tile__media img { object-position: center 20%; }
.tile--person .tile__body h3 { margin-bottom: .1em; }
.tile--person .btn { margin-top: .4em; }
.album--nolink { box-shadow: none; opacity: .75; }

/* ===================== Correcties na controle ===================== */
/* Subnavigatie: op brede schermen laten omslaan i.p.v. afkappen; op smalle schermen scrollen met ruimte aan het einde */
.subnav__in { flex-wrap: wrap; overflow: visible; }
@media (max-width: 760px) {
  .subnav__in { flex-wrap: nowrap; overflow-x: auto; padding-right: 20px; scroll-snap-type: x proximity; }
  .subnav a { scroll-snap-align: start; }
}
/* Groepsfoto op de homepage: nooit bijsnijden, zodat iedereen in beeld blijft */
.about__photo img { aspect-ratio: auto; height: auto; object-fit: contain; }
/* Lange woorden en e-mailadressen mogen afbreken i.p.v. buiten het kader te lopen */
.prose-p, .tile__body, .info, .person__body, .note-card, .members li, .quote blockquote, .footer li, .hero .lead, .page-hero .lead, h1, h2, h3 { overflow-wrap: anywhere; }
/* Bij bijgesneden kaartfoto's de bovenkant (gezichten) bewaren */
.tile__media img, .event__photo img { object-position: center 30%; }

/* Logo mag nooit krimpen of uitrekken */
.brand { flex: none; }
.brand img, .flogo img { max-width: none; }
.nav { min-width: 0; }
/* Documenten (Juridisch) */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.doc .icon { margin: 0; flex: none; }
.doc__t b { display: block; font-size: 1.05rem; }
.doc__t small { color: var(--muted); font-weight: 600; letter-spacing: .08em; }

/* ===================== Compacte indeling: accordeons, tabs, dialogen ===================== */
.section--soft { background: #fff; border-block: 1px solid var(--line); }
.acc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; scroll-margin-top: 100px; }
.section--soft .acc { background: var(--paper); }
.acc > summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: var(--radius); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-size: 1.4rem; font-weight: 600; line-height: 1; transition: transform .2s, background .2s; }
.acc[open] > summary::after { content: "–"; background: var(--green); color: var(--ink); }
.acc > summary:hover { background: rgba(29, 28, 22, .03); }
.acc__body { padding: 4px 26px 28px; }
.acc__body > .stack > * + * { margin-top: 1.2em; }
.more { margin-top: .6em; }
.more > summary { cursor: pointer; font-weight: 700; color: var(--green-ink); list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: " ↓"; }
.more[open] > summary::after { content: " ↑"; }
.more p { margin-top: .8em; }

.tabs { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin-bottom: 32px; box-shadow: var(--shadow); }
.tabs button { font: inherit; font-weight: 700; border: 0; background: transparent; padding: .65em 1.4em; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs button:hover:not([aria-selected="true"]) { background: var(--green-soft); }
.tabpanel[hidden] { display: none; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.tabpanel + .tabpanel { margin-top: 56px; }
.form-wrap--inline { margin-top: 36px; max-width: 860px; }

.tile--btn { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; padding: 0; }
.tile--btn:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile--btn .arr { font-weight: 600; font-size: 1.4rem; line-height: 1; }
.cie-dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(94vw, 920px); max-height: 90vh; box-shadow: 0 30px 80px rgba(0,0,0,.35); background: var(--paper); color: var(--ink); }
.cie-dialog::backdrop { background: rgba(20, 20, 15, .62); backdrop-filter: blur(3px); }
.cie-dialog__in { padding: clamp(24px, 4vw, 44px); overflow-wrap: anywhere; }
.cie-dialog__in h2 { padding-right: 48px; }
.cie-dialog__close { position: sticky; top: 0; float: right; margin: -8px -8px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 2; }
.cie-dialog__close:hover { background: var(--green-ink); }
body:has(dialog[open]) { overflow: hidden; }


/* Stappenplan: vijf stappen op één rij */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.stack > .steps { margin-top: 1.2em; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 16px 22px; text-align: center; box-shadow: var(--shadow); }
.step__num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--paper); }
.step__img { height: 96px; display: grid; place-items: center; margin-bottom: 14px; }
.step__img img { max-width: 96px; max-height: 96px; width: auto; height: auto; object-fit: contain; }
.step h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .step:last-child:nth-child(odd) { grid-column: 1 / -1; } }


/* ===================== Opmaakronde: alle pagina's ===================== */
[id] { scroll-margin-top: 96px; }
h1, h2, h3, .lead { text-wrap: balance; }
p { text-wrap: pretty; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.tile--btn { height: 100%; align-self: stretch; }
.tile:focus-visible, .doc:focus-visible, .album:focus-visible, .acc > summary:focus-visible, .tabs button:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; }
.tile__media--empty { background: var(--green-soft) url("../img/merk-groen.png") center / 38% auto no-repeat; }
.tile__media--empty { opacity: 1; }
.covers { display: flex; flex-wrap: wrap; gap: 24px; }
.covers figure { margin: 0; }
.covers img { height: 340px; width: auto; max-width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .4s; }
.strip figure:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.price { position: relative; }
.price h3 { margin-bottom: .2em; }
@media (hover: none) { .nav__toggle { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) {
  .tile, .tile__media img, .strip img, .btn, .album, .doc, .acc > summary::after { transition: none !important; }
  .tile:hover, a.tile:hover, .tile--btn:hover, .album:hover, .doc:hover, .btn:hover { transform: none !important; }
}

.tiles-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .tiles-grid--3 { grid-template-columns: 1fr; } }

/* ===================== Commissie-popups: vaste indeling ===================== */
.cie-dialog { width: min(94vw, 880px); }
.cie-dialog__in { padding: 0 0 clamp(24px, 4vw, 40px); }
.cie { display: block; }
.cie > :not(.cie__banner) { margin-inline: clamp(22px, 4vw, 44px); }
.cie__banner { margin: 0; aspect-ratio: 21 / 9; overflow: hidden; background: var(--green-soft); border-radius: var(--radius) var(--radius) 0 0; }
.cie__banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cie > h2 { margin-top: clamp(22px, 3vw, 32px); margin-bottom: .3em; padding-right: 56px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.cie > .cie__banner + h2 { margin-top: 24px; }
.cie .lead { font-size: 1.1rem; margin-bottom: 0; }
.cie__text { margin-top: 18px; color: var(--ink-soft); }
.cie__text p { margin: 0 0 .8em; }
.cie__sec { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cie__h { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 14px; font-weight: 800; }
.cie__cap { margin: -4px 0 16px; color: var(--muted); font-size: .95rem; }
.cie-members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cie-members li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.cie-members li b { font-size: .98rem; }
.cie-members li span { color: var(--muted); font-size: .85rem; }
.cie-members li.is-lead { background: var(--ink); border-color: var(--ink); }
.cie-members li.is-lead b { color: #fff; }
.cie-members li.is-lead span { color: var(--green); font-weight: 700; }
.cie__photos { margin-top: 24px; display: grid; gap: 14px; }
.cie__photos figure { margin: 0; }
.cie__photos img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.cie-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cie-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.cie-card__img { aspect-ratio: 16 / 10; background: var(--green-soft); overflow: hidden; }
.cie-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cie-card__body { padding: 16px 18px 20px; }
.cie-card__body h4 { margin: 0 0 .35em; font-size: 1.05rem; }
.cie-card__body p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 640px) { .cie-cards { grid-template-columns: 1fr; } .cie__banner { aspect-ratio: 16 / 9; } }
.cie-dialog__close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
/* sluitknop beïnvloedt de indeling niet meer: ligt boven de banner */
.cie-dialog__close { float: none; display: block; position: sticky; top: 12px; margin: 12px 12px -56px auto; width: 44px; height: 44px; }

/* Vakkenoverzicht bachelor */
.curr { margin: 8px 0 28px; }
.curr-h { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green-ink); margin: 26px 0 10px; font-weight: 800; }
.curr-bar { display: flex; gap: 4px; border-radius: 14px; overflow: hidden; }
.curr-seg { background: var(--ink); color: #fff; padding: 14px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.curr-seg:nth-child(2) { background: #2f2e26; }
.curr-seg:nth-child(3) { background: var(--green-ink); }
.curr-seg:nth-child(4) { background: var(--green); color: var(--ink); }
.curr-seg b { font-size: 1.4rem; line-height: 1; }
.curr-seg span { font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.curr-split { margin: 12px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
.curr-split li { margin-bottom: .3em; }
.curr-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; align-items: start; }
.curr-year { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; box-shadow: var(--shadow); }
.curr-year h4 { margin: 0 0 6px; font-size: 1.35rem; color: var(--green-ink); }
.curr-year__intro { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.curr-year ul { list-style: none; margin: 0; padding: 0; counter-reset: v; }
.curr-year li { counter-increment: v; padding: 9px 0 9px 32px; border-top: 1px solid var(--line); position: relative; font-weight: 600; font-size: .96rem; line-height: 1.35; }
.curr-year li::before { content: counter(v); position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.curr-year li small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }
.curr-note { margin: 22px 0 4px; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.curr-src { margin: 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .curr-years { grid-template-columns: 1fr; } .curr-bar { flex-direction: column; } .curr-seg { flex: none !important; flex-direction: row; align-items: baseline; gap: 10px; } }

.curr-years--3 { grid-template-columns: repeat(3, 1fr); }
.curr-year li small { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .curr-years--3 { grid-template-columns: 1fr; } }

/* Home: foto's direct zichtbaar in de hero */
.hero--photos::before { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 84px) 0 clamp(52px, 7vw, 96px); }
.hero__grid .hero__in { padding: 0; max-width: none; }
.hero__grid h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, clamp(110px, 14vw, 170px)); gap: 12px; text-decoration: none; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); background: #2a2920; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .5s ease; }
.mosaic:hover img { transform: scale(1.04); }
.mosaic__1 { grid-column: 1; grid-row: 1 / span 2; }
.mosaic__2 { grid-column: 2; grid-row: 1; }
.mosaic__3 { grid-column: 2; grid-row: 2 / span 2; }
.mosaic__4 { grid-column: 1; grid-row: 3; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .mosaic { grid-template-rows: repeat(3, clamp(84px, 22vw, 130px)); }
}
@media (prefers-reduced-motion: reduce) { .mosaic img { transition: none; } .mosaic:hover img { transform: none; } }
@media (max-width: 560px) {
  .hero__grid { padding-top: 22px; gap: 22px; }
  .hero__grid h1 { font-size: 2.15rem; margin-bottom: .35em; }
  .hero__grid .lead { font-size: 1rem; margin-bottom: 1.2em; }
  .hero__grid .eyebrow { margin-bottom: .7em; letter-spacing: .18em; font-size: .7rem; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { padding: .7em 1.2em; font-size: .95rem; flex: 1 1 auto; justify-content: center; }
}
