:root {
  --geel: #FFCC00;
  --kobalt: #16386B;
  --creme: #f6f3ec;
  --tekst: #2f2a24;
  --grijs: #6b655c;
  --lijn: #e4ddcf;
  --wit: #ffffff;
  --rood: #b42318;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Calibri, Arial, Helvetica, sans-serif;
  color: var(--tekst);
  background: var(--creme);
  font-size: 16px;
  line-height: 1.45;
}
a { color: var(--kobalt); }
.container { max-width: 960px; margin: 0 auto; padding: 16px; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 8px 16px; background: var(--wit); border-bottom: 4px solid var(--geel);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 48px; width: auto; display: block; }
.menu { display: flex; gap: 14px; flex-wrap: wrap; }
.menu[hidden] { display: none; }
.menu a { color: var(--tekst); text-decoration: none; font-weight: 600; }
.menu a.actief { text-decoration: underline; }
h1 { font-size: 26px; margin: 8px 0 12px; }
h2 { font-size: 20px; margin: 22px 0 10px; }
.muted { color: var(--grijs); }
.kaart { background: var(--wit); border: 1px solid var(--lijn); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.knop {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--geel); color: var(--tekst); font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: 999px;
}
.knop.tweede { background: var(--wit); border: 1px solid var(--tekst); }
.knop.klein { padding: 7px 14px; font-size: 14px; }
.knop.gevaar { background: var(--wit); color: var(--rood); border: 1px solid var(--rood); }
.knop[disabled] { opacity: .5; cursor: default; }
.knoppen { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, textarea, select {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid var(--lijn); border-radius: 10px; background: var(--wit);
}
textarea { min-height: 90px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.check input { width: auto; }
.melding { padding: 12px 14px; border-radius: 10px; background: #fff7d1; margin: 12px 0; }
.melding.fout { background: #fde8e6; color: var(--rood); }
.tegels { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tegel {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 14px; padding: 16px 10px;
  text-decoration: none; color: var(--tekst); font-weight: 700; min-height: 120px; text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.tegel:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.tegel img { width: 48px; height: 48px; object-fit: contain; }
.held { position: relative; border-radius: 16px; overflow: hidden; background: var(--kobalt); color: var(--wit); margin-bottom: 16px; }
.held img.achter { width: 100%; height: 220px; object-fit: cover; display: block; opacity: .55; }
.held .inhoud { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.held h1 { color: var(--wit); margin: 0; }
.held .logo { position: absolute; top: 12px; left: 12px; width: 64px; height: 64px; object-fit: contain; background: var(--wit); border-radius: 12px; padding: 6px; }
.lijst { list-style: none; padding: 0; margin: 0; }
.rij { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lijn); text-decoration: none; color: var(--tekst); }
.rij:last-child { border-bottom: 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--lijn); flex: none; display: grid; place-items: center; font-weight: 700; color: var(--grijs); }
.avatar.groot { width: 96px; height: 96px; font-size: 32px; }
.sub { font-size: 14px; color: var(--grijs); }
.label { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--creme); border: 1px solid var(--lijn); margin-right: 4px; }
.label.actief { background: var(--geel); border-color: var(--geel); }
.zoek { margin: 8px 0 12px; }
.tellers { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
@media (max-width: 600px) {
  .menu { width: 100%; justify-content: space-between; }
  h1 { font-size: 22px; }
}

/* tellers op de eventkop: geel met blauwe letters, goed leesbaar op foto */
.teller { display: inline-flex; align-items: center; gap: 4px; background: var(--geel); color: var(--kobalt); font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
.held .inhoud { background: linear-gradient(transparent, rgba(0,0,0,.8)); }
.held .inhoud > div { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.held .teller { text-shadow: none; }
svg.mic { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.12em; }
.pitch-tag { display: inline-flex; align-items: center; gap: 3px; background: var(--geel); color: var(--kobalt); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
/* hoofdknoppen: geel met blauwe letters */
.knop:not(.tweede):not(.gevaar) { background: var(--geel); color: var(--kobalt); }

/* eventkop: foto boven, informatie op effen blauw eronder (altijd leesbaar) */
.evkop { border-radius: 16px; overflow: hidden; background: var(--kobalt); color: #fff; margin-bottom: 16px; }
.evkop-foto { display: block; position: relative; height: 200px; background: var(--kobalt); }
.evkop-foto .achter { width: 100%; height: 100%; object-fit: cover; display: block; }
.evkop-foto .logo { position: absolute; top: 12px; left: 12px; width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.evkop-info { padding: 16px; }
.evkop-info h1 { color: #fff; margin: 2px 0 4px; }
.evkop-sub { color: var(--geel); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.evkop-datum { font-size: 16px; opacity: .95; }
.evkop-tellers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.evkop-tellers .teller { justify-content: center; font-size: 17px; padding: 12px 10px; border-radius: 12px; text-decoration: none; text-shadow: none; }
.evkop-tellers .teller b { font-size: 20px; margin-left: 4px; }
.evkop-acties .aanmeldknoppen { margin-top: 0; }
.aanmeldknoppen .knop { flex: 1 1 200px; }
.knop { font-family: inherit; }

.beheerknopjes { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.beheerknopjes .knop { padding: 6px 10px; font-size: 13px; }
