/* =========================================================
   Ronde Tafel Ieper – Round Table Night 2027
   Kleuren en typografie overgenomen uit de sponsorbrochure
   ========================================================= */

:root {
  --night:      #1C2946;  /* hoofdachtergrond */
  --night-deep: #131C33;  /* diepere secties */
  --haze:       #4D5569;  /* wolkengrijs */
  --gold:       #B98C36;  /* balken, accenten */
  --champagne:  #E9D295;  /* lichtgoud, neon-script */
  --sand:       #E8D399;  /* extra-balken */
  --ink:        #0E1630;  /* tekst op goud */
  --paper:      #F3F0EA;  /* tekst op nacht */
  --muted:      #C9CCD6;
  --error:      #FF6B57;  /* zacht koraalrood, leesbaar op nachtblauw */

  --f-block:  "Rubik One", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --f-script: "RT27 Script", "Sacramento", "Brush Script MT", "Segoe Script", cursive;
  --f-body:   "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }

/* Montserrat, Rubik One en Sacramento komen van Google Fonts (zie <head> in index.html).
   RT27 Script = AdUScript, rechtstreeks uit de brochure-PDF gehaald.
   Bevat enkel de letters uit de brochure: N R a d e f g h i l m n o r s t u + spatie.
   Andere letters vallen terug op Sacramento. */
@font-face { font-family: "RT27 Script"; src: url("/fonts/RT27Script.woff2") format("woff2"); font-weight: 400; font-display: swap; }

html { scroll-behavior: smooth; scroll-padding-top: calc(4.5rem + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--champagne); }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
  border-radius: 2px;
}
h1, h2, h3 { margin: 0; font-weight: 400; }

.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--champagne); color: var(--ink);
  padding: .5rem 1rem; z-index: 100;
}
.skip:focus { top: 1rem; }

/* ---------- Gedeelde titelstijl: blokletter + neon-script ---------- */
.title-block {
  display: block;
  font-family: var(--f-block);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  color: #fff;
}
.title-script {
  display: block;
  font-family: var(--f-script);
  color: var(--champagne);
  line-height: .8;
  text-shadow:
    0 0 6px rgba(233, 210, 149, .55),
    0 0 22px rgba(233, 180, 80, .45);
}
.section-title .title-block { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.section-title .title-script {
  font-size: clamp(4.2rem, 8vw, 5.6rem);
  margin: -.3em 0 0 .7em;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-block);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--champagne);
  padding: .9rem 1.5rem;
  border-radius: 2px;
  transition: background-color .2s;
}
.btn:hover { background: #fff; }
.btn-small { padding: .55rem 1rem; font-size: .8rem; }
.btn-large { padding: 1.1rem 2rem; font-size: 1.05rem; }

/* ---------- Topbalk ---------- */
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .85rem var(--gutter);
  background: rgba(19, 28, 51, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 210, 149, .14);
}
body::before {
  content: "";
  position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: rgba(19, 28, 51, .82);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--paper); text-decoration: none;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
}
.brand b { color: var(--champagne); font-weight: 700; }
.brand-text { display: flex; align-items: center; gap: .8rem; }
.brand-tag {
  font-family: var(--f-block);
  font-size: .85rem;
  letter-spacing: .14em;
  line-height: 1;
  color: #fff;
  background: var(--gold);
  padding: .5rem .7rem;
}
.brand-name { font-size: .95rem; }
@media (max-width: 760px) {
  .brand-text { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .brand-tag { font-size: .72rem; padding: .35rem .5rem; }
  .brand-name { font-size: .8rem; }
}
.brand-plane { width: 1.4rem; height: 1.4rem; color: var(--champagne); transform: rotate(-30deg); }
.topbar nav { margin-left: auto; }
.topbar ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.topbar nav a {
  color: var(--paper); text-decoration: none; font-size: .9rem;
  padding: .25rem 0; border-bottom: 1px solid transparent;
}
.topbar nav a:hover { border-color: var(--champagne); }
@media (max-width: 760px) {
  .topbar nav { display: none; }
  .topbar .btn-small { margin-left: auto; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 62rem);
  background:
    radial-gradient(60% 55% at 62% 55%, rgba(208, 178, 140, .38), transparent 70%),
    radial-gradient(45% 40% at 20% 30%, rgba(120, 128, 152, .45), transparent 70%),
    linear-gradient(180deg, #2a3350 0%, var(--night) 55%, var(--night-deep) 100%);
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sky img { position: absolute; }
.rays     {
  top: -18%; left: -14%; width: min(52rem, 80vw); opacity: .45; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(90% 90% at 0 0, #000 35%, transparent 80%);
          mask-image: radial-gradient(90% 90% at 0 0, #000 35%, transparent 80%);
}
.cloud    { opacity: .32; filter: blur(2px); mix-blend-mode: screen; }
.c1       { width: 38rem; top: 4%;  left: 2%; }
.c2       { width: 44rem; top: 30%; right: -8%; opacity: .26; }
.c3       { width: 34rem; bottom: -8%; left: 28%; opacity: .22; }
.sparkles { width: 60rem; top: 0; left: 10%; opacity: .7; }

/* goudpuntjes zoals in de brochure */
.dots {
  position: absolute;
  background-image: radial-gradient(circle, var(--gold) 38%, transparent 42%);
  background-size: 14px 14px;
}
.dots-r {
  top: 14%; right: 0; width: 14rem; height: 28rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
          mask-image: linear-gradient(90deg, transparent, #000 85%);
  opacity: .7;
}
.dots-l {
  bottom: 0; left: 0; width: 18rem; height: 14rem;
  -webkit-mask-image: radial-gradient(120% 120% at 0 100%, #000 30%, transparent 75%);
          mask-image: radial-gradient(120% 120% at 0 100%, #000 30%, transparent 75%);
  opacity: .8;
}

.hero-inner {
  position: relative;
  max-width: 84rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(36rem, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 2rem;
  min-height: inherit;
}
.hero-copy { align-self: center; padding-bottom: 4rem; position: relative; z-index: 2; }
.crew { position: relative; z-index: 1; }

/* ---------- Officieel logo "Round Table Night" (uit de brochure-PDF) ---------- */
.logo { margin: 0 0 2rem; }
.logo img { display: block; width: min(100%, 40rem); height: auto; margin-left: -1.2%; }

.crew {
  justify-self: end;
  align-self: end;
  width: min(125%, 50rem);
  max-width: none;
  margin-right: -6%;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
          mask-image: linear-gradient(180deg, #000 82%, transparent);
}

/* ---------- Boarding pass ---------- */
.pass {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 40rem;
  background: rgba(19, 28, 51, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(233, 210, 149, .35);
  border-radius: 10px;
  position: relative;
}
.pass-main { padding: 1.5rem 1.6rem; }
.pass dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 2rem; }
.pass dt {
  font-family: var(--f-block);
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #fff;
}
.pass dd {
  margin: .2rem 0 0;
  text-transform: uppercase;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--paper);
}
.pass-allin {
  margin: 1.25rem 0 0;
  font-family: var(--f-block);
  font-size: 1.15rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold);
}
.pass-stub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.2rem;
  width: 12rem;
  border-left: 2px dashed rgba(233, 210, 149, .45);
  position: relative;
}
/* uitgeknipte halve cirkels van de perforatie */
.pass-stub::before, .pass-stub::after {
  content: "";
  position: absolute;
  left: -11px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid rgba(233, 210, 149, .35);
}
.pass-stub::before { top: -11px; clip-path: inset(50% 0 0 0); }
.pass-stub::after  { bottom: -11px; clip-path: inset(0 0 50% 0); }
.stub-from {
  margin: 0;
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-block);
  font-size: 1.05rem;
  color: var(--champagne);
}
.stub-from svg { width: 1.2rem; height: 1.2rem; }
.pass-stub .btn { display: block; text-align: center; padding-inline: .8rem; }

/* het logo verschijnt zacht bij het laden */
@media (prefers-reduced-motion: no-preference) {
  .logo img { animation: logo-in 1s ease-out both .1s; }
  @keyframes logo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-copy { padding-bottom: 1rem; }
  .crew { width: min(100%, 34rem); justify-self: center; margin-right: 0; }
}
@media (max-width: 520px) {
  .pass { grid-template-columns: 1fr; }
  .pass dl { grid-template-columns: 1fr; gap: .9rem; }
  .pass-stub { width: auto; justify-content: space-between; border-left: 0; border-top: 2px dashed rgba(233, 210, 149, .45); flex-direction: row; align-items: center; }
  .pass-stub::before { top: -11px; left: -11px; clip-path: inset(0 0 0 50%); }
  .pass-stub::after  { top: -11px; bottom: auto; left: auto; right: -11px; clip-path: inset(0 50% 0 0); }
}

/* =========================================================
   GOEDE DOELEN
   ========================================================= */
.causes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  background: var(--night);
}
.causes-intro {
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.lede { max-width: 26rem; margin: 2.5rem 0 3rem; font-size: 1.1rem; }
.causes-note {
  max-width: 22rem;
  margin: 0 0 0 auto;
  text-align: right;
  font-family: var(--f-block);
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--gold);
}
.causes-panel {
  background: var(--gold);
  color: #fff;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  display: grid;
  align-content: center;
  gap: 3.5rem;
}
.causes-panel article { max-width: 34rem; }
.causes-panel h3 {
  font-family: var(--f-block);
  font-size: 1.25rem;
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 1rem;
}
.causes-panel p { margin: 0; letter-spacing: .06em; color: var(--ink); }

@media (max-width: 860px) {
  .causes { grid-template-columns: 1fr; }
  .causes-note { margin: 0; text-align: left; }
}

/* =========================================================
   SPONSORFORMULES
   ========================================================= */
.sponsor {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 2rem 4rem;
}
.sponsor-head p { max-width: 22rem; margin-top: 2.5rem; color: var(--muted); }

.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }
.tier {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
/* het aantal personen staat centraal */
.tier-pax {
  margin: 0;
  display: grid;
  justify-items: center;
  text-align: center;
  line-height: 1;
}
.pax-num {
  font-family: var(--f-block);
  font-size: 4rem;
  color: var(--champagne);
  font-variant-numeric: tabular-nums;
}
.pax-label {
  margin-top: .4rem;
  font-family: var(--f-block);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
}
.tier-gold .pax-num {
  font-size: 5rem;
  text-shadow: 0 0 18px rgba(233, 180, 80, .45);
}

.tier-bar, .extra-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.4rem;
  font-family: var(--f-block);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .85rem 1.3rem;
}
.tier-bar {
  background: var(--gold);
  color: #fff;
  font-size: 1.05rem;
}
.tier-bar span:last-child { margin-left: auto; }
.tier-body p, .extra p { margin: 1rem 1.3rem 0; max-width: 38rem; }
.tier-body strong { color: var(--champagne); font-weight: 700; }
.tier-gold .tier-bar {
  background: linear-gradient(100deg, var(--gold), #D7B062 55%, var(--gold));
  font-size: 1.25rem;
  padding-block: 1.05rem;
}
@media (max-width: 520px) {
  .tier { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; }
  .pax-num { font-size: 3rem; }
  .tier-gold .pax-num { font-size: 3.6rem; }
  .tier-body p { margin-inline: 0; }
}


/* ---------- Variant B: ronde tafels (zet class "tiers-seats" op <ol class="tiers">)
   Zonder die class krijg je variant A: groot getal links. ---------- */
.tier-seats { display: none; }
.tiers-seats .tier { grid-template-columns: minmax(0, 1fr); }
.tiers-seats .tier-pax { display: none; }
.tiers-seats .tier-seats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  margin: 1.1rem 1.3rem 0;
}
.rtable { width: 5.2rem; height: 5.2rem; flex: none; overflow: visible; }
.rtable-chairs { fill: var(--champagne); }
.rtable-top { fill: var(--gold); stroke: var(--champagne); stroke-width: 1.5; }
.tier-gold .rtable { width: 6.2rem; height: 6.2rem; filter: drop-shadow(0 0 10px rgba(233, 180, 80, .35)); }
.seats-label {
  font-family: var(--f-block);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--paper);
}
.seats-label b {
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0;
  color: var(--champagne);
  margin-right: .15em;
}
.tier-gold .seats-label b { font-size: 2rem; text-shadow: 0 0 14px rgba(233, 180, 80, .45); }
.tiers-seats .tier-body > p:not(.tier-seats) { margin-top: .9rem; }
@media (max-width: 520px) {
  .rtable { width: 4.4rem; height: 4.4rem; }
  .tier-gold .rtable { width: 5rem; height: 5rem; }
  .tiers-seats .tier-seats { margin-inline: 0; }
}



/* ---------- Variant D: zoals B, maar zonder tafels (class "tiers-seats no-tables") ---------- */
.no-tables .rtable { display: none; }
.tiers-seats.no-tables .tier-seats { margin-top: 1.25rem; gap: .5rem; align-items: baseline; }
.no-tables .seats-label { font-size: .95rem; letter-spacing: .14em; }
.no-tables .seats-label b { font-size: 2.8rem; line-height: 1; margin-right: .2em; }
.no-tables .tier-gold .seats-label b { font-size: 3.4rem; }
.tiers-seats.no-tables .tier-body > p:not(.tier-seats) { margin-top: .6rem; }
@media (max-width: 520px) {
  .no-tables .seats-label b { font-size: 2.3rem; }
  .no-tables .tier-gold .seats-label b { font-size: 2.8rem; }
}

/* ---------- Variant C: kaarten naast elkaar (class "tiers-cards")
   Overzicht varianten op <ol class="tiers …">:
   – geen extra class  → A: groot getal links
   – tiers-seats       → B: ronde tafels
   – tiers-cards       → C: drie kaarten met groot aantal personen
   – tiers-seats no-tables → D: zoals B, zonder tafels ---------- */
.sponsor:has(.tiers-cards) { grid-template-columns: 1fr; }
.sponsor:has(.tiers-cards) .sponsor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
}
.sponsor:has(.tiers-cards) .sponsor-head p { margin: 0; }
.tiers-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.tiers-cards .tier {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: rgba(19, 28, 51, .65);
  border: 1px solid rgba(233, 210, 149, .25);
}
.tiers-cards .tier-body { display: contents; }
.tiers-cards .tier-bar { order: 1; }
.tiers-cards .tier-bar span:last-child { margin-left: auto; }
.tiers-cards .tier-pax { order: 2; padding: 2rem 1rem 1.5rem; min-height: 12.5rem; align-content: center; }
.tiers-cards .tier-body > p:not(.tier-seats) {
  order: 3;
  margin: 0;
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px dashed rgba(233, 210, 149, .3);
  text-align: center;
  font-size: .95rem;
}
.tiers-cards .tier-seats { display: none; }
.tiers-cards .pax-num { font-size: 5.5rem; }
.tiers-cards .pax-label { font-size: .9rem; margin-top: .6rem; }
.tiers-cards .tier-gold {
  border-color: var(--champagne);
  box-shadow: 0 0 0 1px var(--champagne), 0 18px 50px rgba(185, 140, 54, .25);
}
.tiers-cards .tier-gold .pax-num { font-size: 6.5rem; }
@media (max-width: 860px) {
  .tiers-cards { grid-template-columns: 1fr; }
  .tiers-cards .tier-pax { padding: 1.5rem 1rem 1rem; min-height: 0; }
  .tiers-cards .pax-num { font-size: 4.5rem; }
  .tiers-cards .tier-gold .pax-num { font-size: 5rem; }
}

.extras {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  margin-top: 1.5rem;
}
.extra-bar {
  background: var(--sand);
  color: var(--ink);
  font-size: .95rem;
  min-height: 3.4rem;
  align-items: center;
}
.extra-bar span:last-child { margin-left: auto; }
.extra p { margin-bottom: 0; }

@media (max-width: 860px) {
  .sponsor { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
}

/* =========================================================
   RESERVEREN
   ========================================================= */
.book {
  padding: clamp(4rem, 9vw, 6rem) var(--gutter);
  background:
    radial-gradient(50% 70% at 20% 0%, rgba(185, 140, 54, .22), transparent 70%),
    var(--night-deep);
  border-block: 1px solid rgba(233, 210, 149, .14);
}
.book > * { max-width: var(--wrap); margin-inline: auto; }
.book-intro { display: grid; gap: .75rem; margin-bottom: 2.5rem; }
.book-plane { width: 2.6rem; height: 2.6rem; color: var(--champagne); transform: rotate(-35deg); }
.book h2 {
  font-family: var(--f-block);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}
.book-intro p { max-width: 36rem; margin: 0; color: var(--muted); }

/* =========================================================
   FORMULIER
   Opgebouwd op de CMS-code met Bootstrap-klassen (row, col-sm-6, mb-3 …).
   Bootstrap is NIET nodig: de paar gebruikte klassen staan hieronder,
   enkel binnen .form-slot, zodat niets anders op de site beïnvloed wordt.
   ========================================================= */
.form-slot .form {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(28, 41, 70, .7);
  border: 1px solid rgba(233, 210, 149, .3);
  border-top: 6px solid var(--gold);
}

/* Bootstrap-klassen, vereenvoudigd en enkel in het formulier */
.form-slot .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 0;
}
.form-slot .row > [class*="col-"] {
  min-width: 0;
  max-width: none;
  width: auto;
  flex: none;
  padding: 0;
  margin-bottom: 0;           /* tussenruimte komt van de grid-gap */
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-slot .mb-3 { margin-bottom: 1.25rem; }
.form-slot .mt-3 { margin-top: 1rem; }
.form-slot .text-gold { color: var(--gold); }
.form-slot .text-medium { font-weight: 500; }
.form-slot .text-md-right { align-items: flex-end; justify-content: center; }
.form-slot > .form > div.mb-3:not(.row) { display: flex; flex-direction: column; gap: .45rem; }
.form-slot p.mb-3 { margin-top: 0; margin-bottom: 1.5rem; font-size: .9rem; color: var(--muted); }

/* Spamval (honeypot): onzichtbaar voor bezoekers, wel aanwezig voor bots */
.form-slot .contact-extra {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Labels en sterretjes */
.form-slot label {
  font-family: var(--f-block);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--champagne);
  margin: 0;
}
.form-slot label span { color: var(--gold); margin-left: .15em; }

/* Velden: werkt voor alles wat het CMS als {$txt…} rendert */
.form-slot input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
.form-slot select,
.form-slot textarea {
  display: block;
  width: 100%;
  height: auto;
  font: inherit;
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--paper);
  background-color: var(--night-deep);
  border: 1px solid rgba(233, 210, 149, .28);
  border-radius: 2px;
  box-shadow: none;
  padding: .8rem .9rem;
}
.form-slot .select-wrapper { position: relative; }
.form-slot .select-wrapper::before,
.form-slot .select-wrapper::after { display: none; }   /* oude pijltjes uitschakelen */
.form-slot select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%),
                    linear-gradient(135deg, var(--champagne) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 50%, calc(100% - .85rem) 50%;
  background-size: .35rem .35rem;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-slot select option { background: var(--night-deep); color: var(--paper); }
.form-slot textarea { resize: vertical; min-height: 8rem; }
.form-slot input:focus, .form-slot select:focus, .form-slot textarea:focus {
  outline: 2px solid var(--champagne);
  outline-offset: 1px;
  border-color: transparent;
}

/* Verzendknop */
.form-slot input[type="submit"] {
  font-family: var(--f-block);
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--champagne);
  border: 0;
  border-radius: 2px;
  padding: 1.1rem 2.2rem;
  cursor: pointer;
  transition: background-color .2s;
  -webkit-appearance: none;
}
.form-slot input[type="submit"]:hover { background: #fff; }
.form-slot input[type="submit"]:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

/* reCAPTCHA (vaste breedte van Google: 304px) */
.form-slot .g-recaptcha { min-height: 78px; }

/* Bevestiging na verzenden, en spamfout (successmsg bg-red) */
.form-slot .successmsg {
  display: block;
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: rgba(185, 140, 54, .18);
  color: var(--paper);
  font-weight: 500;
}
.form-slot .successmsg.bg-red {
  border-left-color: var(--error);
  background: rgba(255, 107, 87, .16);
  color: #FFD3CB;
  font-weight: 700;
}

/* ---------- Foutmeldingen van de server ----------
   <span class="form-error d-inline-block text-left">…</span>
   Alleen de span zelf wordt opgemaakt, dus het werkt waar hij ook staat,
   met of zonder Bootstrap. */
.form-error {
  display: inline-block;
  justify-self: start;
  margin: .5rem 0 0;
  padding: .55rem .85rem .55rem .7rem;
  border-left: 4px solid var(--error);
  border-radius: 0 3px 3px 0;
  background: rgba(255, 107, 87, .16);
  color: #FFD3CB;
  font-family: var(--f-body);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: left;
  text-transform: none;
}
.form-error::before,
.formError:not(:empty)::before {
  content: "!";
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: .55rem;
  border-radius: 50%;
  background: var(--error);
  color: var(--night-deep);
  font-family: var(--f-block);
  font-size: .75rem;
  line-height: 1.25rem;
  text-align: center;
  vertical-align: .05em;
}

/* Foutmelding die het CMS bij een veld zet ({$txt…Error}).
   Afhankelijk van het CMS heet die span "formError" of "form-error". */
.formError { display: inline-block; }
.formError:not(:empty) {
  margin-top: .5rem;
  padding: .55rem .85rem .55rem .7rem;
  border-left: 4px solid var(--error);
  border-radius: 0 3px 3px 0;
  background: rgba(255, 107, 87, .16);
  color: #FFD3CB;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.4;
}
.form-slot [class*="col-"] > .form-error,
.form-slot [class*="col-"] > .formError { align-self: flex-start; }

@media (max-width: 575.98px) {
  .form-slot .row { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .form-slot .text-md-right { align-items: stretch; }
  .form-slot input[type="submit"] { width: 100%; }
  .form-slot .row:has(.g-recaptcha) { grid-template-columns: 1fr; }
}

/* =========================================================
   LEDEN
   ========================================================= */
.members {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
}
.members .section-title { margin-bottom: 3.5rem; }
.members-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 3rem 4rem;
  align-items: start;
}
.members-col { display: grid; gap: 2.75rem; }
.group-bar {
  background: var(--gold);
  color: #fff;
  font-family: var(--f-block);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .95rem;
  padding: .85rem 1.2rem;
  margin-bottom: 1.4rem;
}
.committee { margin: 0; }
.committee div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(233, 210, 149, .14);
}
.committee dt { white-space: nowrap; }
.committee dd { margin: 0; white-space: nowrap; color: var(--champagne); font-size: .92rem; text-align: right; }
.names {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2 12rem;
  column-gap: 2rem;
}
.names li { padding: .3rem 0; break-inside: avoid; }

@media (max-width: 760px) {
  .members-grid { grid-template-columns: 1fr; }
  /* op gsm: comité, leden, would be's */
  .members-col { display: contents; }
  .group-leden { order: 2; }
  .group-wb { order: 3; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--night-deep);
  border-top: 1px solid rgba(233, 210, 149, .14);
  color: var(--muted);
  font-size: .85rem;
}
.footer p { margin: 0; }
@media (max-width: 520px) { .footer { justify-content: center; text-align: center; } }
.footer-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-block);
  text-transform: uppercase;
  color: var(--paper);
  letter-spacing: .1em;
}
.footer-brand svg { width: 1.3rem; height: 1.3rem; color: var(--champagne); transform: rotate(-30deg); }

/* reCAPTCHA is 304px breed: op smalle gsm's iets minder binnenmarge,
   en op heel smalle schermen de reCAPTCHA lichtjes verkleinen */
@media (max-width: 420px) {
  .form-slot .form { padding: 1.25rem 1rem; }
}
@media (max-width: 359px) {
  .form-slot .g-recaptcha { transform: scale(.88); transform-origin: left top; margin-bottom: -10px; }
}


