:root {
    --dark: #0f2027;
    --teal: #003333;
    --teal-mid: #005555;
    --gold: #c8922a;
    --cream: #f9f3ea;
    --warm-white: #fdfaf5;
    --text: #1a2a2a;
    --muted: #5a7070;
    --border: #ddd5c0;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--warm-white);
    overflow-x: hidden;
  }

  /* ── HEADER ── */
  header {
    background: var(--teal);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,.35);
  }

  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 120px;
  }

  .header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .header-brand img {
    height: 90px;
    width: auto;
  }

  .header-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
  }

  .header-brand-text span {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .7rem;
    font-weight: 300;
    color: rgba(255,255,255,.65);
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  nav { display: flex; gap: 0; }
  nav a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: 0 1.1rem;
    height: 120px;
    display: flex;
    align-items: center;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color .2s, background .2s;
    border-bottom: 3px solid transparent;
  }
  nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.07);
    border-bottom-color: var(--gold);
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--teal) 0%, #0a3a3a 55%, #1a4a30 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 2rem 5rem;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 20% 80%, rgba(200,146,42,.12) 0%, transparent 70%),
      radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0,100,100,.25) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-churches {
    display: flex;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
  }

  .hero-churches img {
    height: 200px;
    width: auto;
    border-radius: 6px;
    opacity: .82;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    transition: opacity .2s, transform .2s;
  }
  .hero-churches img:hover { opacity: 1; transform: translateY(-3px); }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
  }

  .hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    font-weight: 300;
  }

  .hero-badges {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .badge {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 100px;
    padding: .35rem 1rem;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
  }

  .hero-churches a {
  display: inline-block;
  line-height: 0;      /* voorkomt extra ruimte */
}

  /* ── LAYOUT ── */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  section { padding: 4rem 0; scroll-margin-top: 50px;}
  section:nth-child(even) { background: var(--cream); }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
    visibility: hidden;
   
  }
  .section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold);
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1.25rem;
    line-height: 1.25;

  }

  .section-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 780px;
  }

  /* ── ANBI INFO ── */
  .anbi-block {
    background: var(--teal);
    color: #fff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .anbi-item { flex: 1; min-width: 200px; }
  .anbi-item .label {
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: .25rem;
  }
  .anbi-item .value {
    font-size: .95rem;
    font-weight: 400;
    color: #fff;
  }

  /* ── WIJKEN GRID ── */
  .wijken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .wijk-card {
    background: #fff;
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    transition: box-shadow .2s, transform .2s;
    position: relative;
  }
  .wijk-card:hover { box-shadow: 0 8px 28px rgba(0,51,51,.12); transform: translateY(-3px); }

  .wijk-card-img {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--teal-mid);
    box-shadow: 0px 10px 5px rgba(0,0,0,.15);
  }
  .wijk-card-img:nth-child(2) {
  top: 6rem; /* 1rem + 75px + 1rem spacing = ongeveer 6rem */
  }

  .wijk-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .wijk-card p {
    font-size: .82rem;
    line-height: 1.7;
    color: var(--muted);
  }

  .wijk-card a {
    color: var(--teal-mid);
    text-decoration: none;
    font-weight: 600;
  }
  .wijk-card a:hover { text-decoration: underline; }

  /* ── BESTUUR TABLE ── */
  .board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .board-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.25rem;
  }
  .board-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
  }
  .board-box ul {
    list-style: none;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.9;
  }

  /* ── WIJKRADEN TABLE ── */
  .wijk-bestuur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .wijk-bestuur-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .wijk-bestuur-card .head {
    background: var(--teal);
    color: #fff;
    padding: .65rem .9rem;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
  }

  .wijk-bestuur-card ul {
    list-style: none;
    padding: .9rem;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.85;
  }

  /* ── FINANCE IMAGES ── */
  .finance-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
  }
  .finance-block-header {
    background: var(--teal);
    color: #fff;
    padding: 1rem 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
  }
  .finance-block-header span {
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .75rem;
    font-weight: 300;
    color: rgba(255,255,255,.65);
    margin-top: .1rem;
  }
  .finance-block img {
    display: block;
    max-width: 100%;
    padding: 1.5rem;
  }

  /* ── DOELEN LIST ── */
  .doelen-list {
    list-style: none;
    margin-top: 1rem;
  }
  .doelen-list li {
    display: flex;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.7;
    font-size: .95rem;
    color: var(--text);
  }
  .doelen-list li::before {
    content: '✦';
    color: var(--gold);
    flex-shrink: 0;
    margin-top: .1em;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--teal);
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: .82rem;
    line-height: 1.9;
  }
  footer strong { color: #fff; }
  footer img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .6;
    display: block;
    margin: 0 auto 1rem;
  }

  /* ── PROSE ── */
  .prose { font-size: .95rem; line-height: 1.85; color: var(--text); }
  .prose + .prose { margin-top: 1rem; }

  a { color: var(--teal-mid); }


/* ── BACK TO TOP BUTTON ── */
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--teal);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,51,51,.3);
    transition: opacity .3s, transform .3s, background .2s;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .back-to-top.visible {
    opacity: 1;
    pointer-events: all;
  }

  .back-to-top:hover {
    background: var(--teal-mid);
    transform: translateY(-3px);
  }

  .back-to-top:active {
    transform: translateY(-1px);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 700px) {
    nav { display: none; }
    .hero { padding: 3.5rem 1.25rem 3rem; }
    .hero-churches img { height: 52px; }
    section { padding: 2.5rem 0; }
    .container { padding: 0 1.25rem; }
    .anbi-block { padding: 1.25rem; }
    .back-to-top {
      bottom: 1rem;
      right: 1rem;
      width: 45px;
      height: 45px;
      font-size: 1.25rem;
    }
  }