: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; }
}
