/* voetbal-edge stadi-stijl
   Dezelfde taal als het 3D-stadion: papier, inktzwarte randen, harde schaduwen,
   sportieve accenten. Gedeeld door de inhoudspagina's. */

:root {
  --paper: #f4eee0;
  --paper-2: #ffffff;
  --ink: #141414;
  --dim: #5c564c;
  --yellow: #ffd23f;
  --blue: #3d6dff;
  --green: #2fd573;
  --pink: #ff5d8f;
  --cyanink: #39c4ff;
  --shadow-lg: 7px 7px 0 var(--ink);
  --shadow-md: 4px 4px 0 var(--ink);
  --shadow-sm: 2.5px 2.5px 0 var(--ink);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html, body {
  background: var(--paper);
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

/* ---------- nav ---------- */

.stadi-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  flex-wrap: wrap;
}
.stadi-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 14px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
}
.stadi-brand .bal {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--ink);
}
.stadi-links {
  display: flex;
  gap: 4px;
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 5px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.stadi-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 7px 13px;
  border-radius: 8px;
  transition: background 0.15s;
}
.stadi-links a:hover { background: #e6dfcd; }
.stadi-links a.actief {
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 5px 11px;
  box-shadow: var(--shadow-sm);
}
.stadi-tijd {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  text-align: right;
}
.stadi-tijd a { color: var(--dim); }

/* ---------- pagina ---------- */

.stadi-pagina {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 20px 60px;
}
.stadi-kop {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.stadi-kop h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
}
.stadi-kop .onder { color: var(--dim); font-weight: 600; margin-top: 6px; }

.stadi-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.stadi-chip {
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 8px 14px;
  min-width: 88px;
}
.stadi-chip .label {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--dim);
}
.stadi-chip .waarde {
  font-family: var(--mono); font-size: 17px; font-weight: 700;
}
.stadi-chip.geel { background: var(--yellow); }
.stadi-chip.groen { background: var(--green); }
.stadi-chip.roze { background: var(--pink); color: #fff; }
.stadi-chip.roze .label { color: rgba(255, 255, 255, 0.85); }

.stadi-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
  align-items: start;
}
.stadi-raster .breed { grid-column: 1 / -1; }

/* ---------- kaart ---------- */

.kaart {
  background: var(--paper-2);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.kaart-kop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.kaart-kop .eyebrow {
  font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.kaart-kop .meta { font-size: 10.5px; font-weight: 700; color: var(--dim); text-transform: uppercase; }
.kaart-body { padding: 15px 16px; }
.kaart-body.strak { padding: 0; }
.kaart-body p { margin: 0 0 10px; line-height: 1.55; color: var(--ink); }
.kaart-body p:last-child { margin-bottom: 0; }
.kaart-body .dim { color: var(--dim); }

.kaart ul.lijst { list-style: none; }
.kaart ul.lijst li {
  padding: 7px 0 7px 22px;
  position: relative;
  line-height: 1.5;
  border-bottom: 2px dashed #e0d8c4;
}
.kaart ul.lijst li:last-child { border-bottom: none; }
.kaart ul.lijst li::before {
  content: "";
  position: absolute; left: 2px; top: 13px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--ink);
}

/* ---------- tabel ---------- */

.stadi-tabel-wrap { overflow-x: auto; }
table.stadi {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.stadi thead th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
}
table.stadi td {
  padding: 10px 12px;
  border-bottom: 2px solid #ece5d2;
  vertical-align: top;
}
table.stadi tr:last-child td { border-bottom: none; }
table.stadi td.num, table.stadi th.num { text-align: right; font-family: var(--mono); }
table.stadi td.naam { font-weight: 800; }
table.stadi td.dim { color: var(--dim); }

/* ---------- badges ---------- */

.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--ink);
  border-radius: 7px;
  padding: 3px 8px;
  box-shadow: var(--shadow-sm);
  background: var(--paper-2);
}
.badge.groen { background: var(--green); }
.badge.geel { background: var(--yellow); }
.badge.roze { background: var(--pink); color: #fff; }
.badge.blauw { background: var(--blue); color: #fff; }
.badge.stil { box-shadow: none; border-color: #c9c1ad; color: var(--dim); background: transparent; }

/* ---------- vormreeks (W/D/L-blokjes) ---------- */

.vormreeks { display: inline-flex; gap: 3px; vertical-align: middle; }
.vorm-blokje {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 900;
  background: var(--paper-2);
  color: var(--ink);
}
.vorm-blokje.w { background: var(--green); }
.vorm-blokje.l { background: var(--pink); color: #fff; }
.vorm-blokje.d { background: #e6dfcd; }
.vorm-scheiding { margin: 0 6px; color: var(--dim); font-weight: 900; vertical-align: middle; }

.rol-notitie { display: flex; flex-direction: column; gap: 7px; }
.rol-notitie .badge { align-self: flex-start; }
.lees-meer { color: var(--blue); font-weight: 800; font-size: 12px; white-space: nowrap; }

/* ---------- knoppen ---------- */

.stadi-knop {
  display: inline-block;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 9px;
  padding: 8px 14px;
  box-shadow: var(--shadow-sm);
  background: var(--yellow);
  cursor: pointer;
}
.stadi-knop:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-md); }
.stadi-knop:active { transform: translate(1px, 1px); box-shadow: none; }
.stadi-knop:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.stadi-knop.stil { background: transparent; box-shadow: none; border-color: #c9c1ad; color: var(--dim); }
@media (prefers-reduced-motion: reduce) {
  .stadi-knop:hover, .stadi-knop:active { transform: none; }
}

/* ---------- uitklapdossier ---------- */

.stap-rij { cursor: pointer; }
.stap-rij:hover td { background: #fdf9ee; }
.stap-rij .pijl { display: inline-block; transition: transform 0.15s; font-weight: 900; }
.stap-rij[aria-expanded="true"] .pijl { transform: rotate(90deg); }
.stap-rij:focus { outline: 3px solid var(--blue); outline-offset: -3px; }
.dossier-rij { display: none; }
.dossier-rij.open { display: table-row; }
.dossier-rij > td {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 14px 16px 16px 34px;
}
.dossier-blok {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 14px;
  max-width: 700px;
  font-size: 13px;
}
.dossier-blok dt {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--dim); padding-top: 2px;
}
.dossier-blok dd { margin: 0; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .stap-rij .pijl, .stadi-links a { transition: none; }
}
