:root {
  --color-bg: #F1ECDC;
  --color-bg-alt: #E7E0CB;
  --color-ink: #2B2621;
  --color-ink-soft: #4A443C;
  --color-taupe: #A79C87;
  --color-taupe-light: #D6CDB6;
  --color-bordeaux: #6E1423;
  --color-bordeaux-dark: #4E0E19;
  --color-bordeaux-light: #8B2233;

  /* Bernhard MT Condensed is het merklettertype uit het logo. Browsers gebruiken
     het automatisch als het lokaal geïnstalleerd staat; anders vallen we terug
     op condensed webfonts met een vergelijkbaar karakter. */
  --font-display: 'Bernhard MT Condensed', 'Bevan', Georgia, serif;
  --font-body: 'Bernhard MT Condensed', 'Oswald', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-ink);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  line-height: 1.1;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-taupe-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.brand-logo {
  height: 56px;
  display: block;
}

.logo-fallback {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-bordeaux);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.site-nav a:hover { color: var(--color-bordeaux); text-decoration: none; }

.nav-cta {
  background: var(--color-bordeaux);
  color: #fff !important;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--color-bordeaux-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-logo {
  max-width: 240px;
  width: 60%;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero-tagline {
  max-width: 560px;
  margin: 0 auto 2rem;
  color: var(--color-ink-soft);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-bordeaux {
  background: var(--color-bordeaux);
  color: #fff;
}
.btn-bordeaux:hover {
  background: var(--color-bordeaux-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-outline:hover {
  border-color: var(--color-bordeaux);
  color: var(--color-bordeaux);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  scroll-margin-top: 90px;
}

.hero { scroll-margin-top: 90px; }

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--color-ink-soft);
}

.over-ons-grid {
  max-width: 700px;
  margin: 2rem auto 0;
  font-size: 1.1rem;
  color: var(--color-ink-soft);
}

/* Bestuur */
.bestuur-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 640px;
  margin: 1rem auto 0;
}

.bestuur-card {
  background: var(--color-bg);
  border: 1px solid var(--color-taupe-light);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
}

.bestuur-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-bordeaux);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.bestuur-card h3 { margin-bottom: 0.15rem; }
.bestuur-naam {
  color: var(--color-taupe);
  font-style: italic;
  margin: 0;
}

/* Sparen & betalen */
.sparen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.sparen-card {
  background: var(--color-bg-alt);
  border-radius: 14px;
  padding: 2rem;
}

/* Info voor nieuwe leden */
.info-nieuwe-leden {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-taupe-light);
  border-radius: 14px;
  padding: 2.2rem;
}

.info-nieuwe-leden h3 { margin-bottom: 1rem; }
.info-nieuwe-leden p { color: var(--color-ink-soft); }
.info-nieuwe-leden p:last-child { margin-bottom: 0; }

/* Form */
.lid-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-taupe-light);
  border-radius: 14px;
  padding: 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--color-ink-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-taupe);
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-ink);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-bordeaux);
}

.form-status {
  margin-top: 1rem;
  font-style: italic;
  color: var(--color-bordeaux);
}

/* Steun de Broonk */
.steun-inner { text-align: center; }

.steun-tekst-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--color-ink-soft);
  text-align: left;
}

.steun-slot {
  max-width: 640px;
  margin: 1.5rem auto 0;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--color-ink);
}

.steun-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.qr-card {
  background: var(--color-bg);
  border: 1px solid var(--color-taupe-light);
  border-radius: 14px;
  padding: 1rem;
  display: inline-flex;
}

.qr-image { display: block; border-radius: 6px; }

.steun-tekst {
  max-width: 320px;
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt);
  color: var(--color-ink);
  border-top: 1px solid var(--color-taupe-light);
  padding: 3rem 0 1.2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.footer-logo {
  height: 48px;
}

.footer-contact p { margin: 0 0 0.3rem; color: var(--color-ink-soft); }
.footer-contact a { color: var(--color-bordeaux); }

.footer-links a { color: var(--color-bordeaux); }

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-taupe);
  margin: 0;
  border-top: 1px solid var(--color-taupe-light);
  padding-top: 1rem;
}

/* Privacy page */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.privacy-content h2 { margin-top: 2rem; }
.privacy-content p, .privacy-content li { color: var(--color-ink-soft); }

/* Responsive */
@media (max-width: 780px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--color-taupe-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav a {
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-top: 1px solid var(--color-taupe-light);
  }
  .nav-cta { border-radius: 0; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}
