/* WW Houtland – publieke website */
:root {
  --ink: #1f2423;
  --muted: #5d6664;
  --bg: #ffffff;
  --sand: #f1eeea;
  --blush: #efe7e6;
  --teal: #2f6b66;
  --teal-dark: #214e4a;
  --line: #ddd7d0;
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid #e0a21b; outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; flex-wrap: wrap; padding-block: .5rem; }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.site-header nav a {
  display: block; padding: .45rem .9rem; border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 1.05rem;
}
.site-header nav a:hover { background: var(--sand); }
.site-header nav a[aria-current="page"] { background: var(--teal); color: #fff; }

/* Hero */
.hero {
  --hero: none;
  position: relative;
  min-height: clamp(240px, 38vw, 420px);
  display: grid; place-items: center; text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(70, 150, 140, .85), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(60, 80, 40, .9), transparent 60%),
    linear-gradient(120deg, #9fb2b0 0%, #6f8c7f 45%, #2e3d2c 100%);
}
.hero { overflow: hidden; }
.hero.has-img { background: #333; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero.has-img::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .32); z-index: 1; }
.hero .wrap { position: relative; z-index: 2; padding-block: 3rem; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* Intro (grijze band zoals op de oorspronkelijke site) */
.intro { background: var(--sand); padding-block: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.intro .rich p { margin: 0 0 .45rem; }
.intro .rich p:first-child { font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }

/* Secties */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section + .section { padding-top: 0; }
.page-title, .section-title { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 1.25rem; }
.page-title { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.section-title { font-size: 2rem; text-align: center; }
.lead { font-size: 1.2rem; margin-bottom: 1.5rem; }
.switch { margin: 0 0 2rem; font-weight: 600; }
.empty { background: var(--sand); padding: 1.5rem 1.75rem; border-radius: var(--radius); }
.empty p:last-child { margin-bottom: 0; }

.rich h2, .rich h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 1.4em 0 .4em; }
.rich h3 { font-size: 1.5rem; }
.rich > :first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 1.3em; }

.btn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700;
  padding: .8rem 1.5rem; border-radius: 999px; margin-top: 1rem;
}
.btn:hover { background: var(--teal-dark); color: #fff; }

/* Activiteiten */
.month {
  font-family: var(--serif); font-weight: 400; font-size: 1.7rem; text-transform: capitalize;
  margin: 2.5rem 0 1rem; padding-bottom: .4rem; border-bottom: 2px solid var(--line);
}
.month:first-of-type { margin-top: 0; }
.acts { display: grid; gap: 1.25rem; }
.act {
  display: grid; grid-template-columns: 92px 1fr; gap: 1.25rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
  scroll-margin-top: 100px;
}
.act:target { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 107, 102, .2); }
.act.has-img { grid-template-columns: 92px 1fr 260px; }
.badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; border-radius: 12px; padding: .6rem .3rem; line-height: 1.1;
}
.b-dow { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.b-day { font-family: var(--serif); font-size: 2.4rem; line-height: 1.05; }
.b-mon { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.act h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.2; margin: 0 0 .75rem; }
.meta { margin: 0 0 1rem; display: grid; gap: .35rem; }
.meta div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; }
.meta dt { font-weight: 700; color: var(--muted); }
.meta dd { margin: 0; }
.act .rich { border-top: 1px solid var(--line); padding-top: .9rem; }
.act .rich p { margin: 0 0 .7rem; }
.act-img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.act .more { margin: 0; font-weight: 700; }

/* Bestuur */
.board-photo { margin: 0 auto 2.5rem; max-width: 640px; }
.board-photo img { border-radius: var(--radius); width: 100%; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.member { background: var(--sand); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.member h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 0 0 .3rem; }
.member .role { color: var(--teal-dark); font-weight: 700; margin: 0 0 .5rem; }
.member p { margin: 0 0 .6rem; }
.member .lbl { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.member .contact a { word-break: break-word; }

/* Footer */
.site-footer { background: var(--blush); padding: 1.25rem 0; text-align: center; font-size: .95rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer .sep { margin: 0 .4rem; }

@media (max-width: 820px) {
  .act.has-img { grid-template-columns: 80px 1fr; }
  .act-img { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  body { font-size: 1.08rem; }
  .header-inner { justify-content: center; text-align: center; }
  .site-header { position: static; }
  .site-header nav ul { justify-content: center; }
  .site-header nav ul { gap: 0; }
  .site-header nav a { padding: .35rem .6rem; font-size: 1rem; }
  .act, .act.has-img { grid-template-columns: 1fr; padding: 1.1rem; }
  .badge { flex-direction: row; gap: .5rem; justify-content: flex-start; padding: .45rem .9rem; width: max-content; }
  .b-day { font-size: 1.5rem; }
  .meta div { grid-template-columns: 1fr; gap: 0; }
}
@media print {
  .site-header nav, .site-footer, .switch { display: none; }
  .act { break-inside: avoid; }
}

[hidden] { display: none !important; }
