/* Seiten „Checkliste alte Prüfungen“ und „Abschlusstest“ – Karten im Dashboard-Stil. Kopf, Fuß und Tokens aus site.css. */
main { max-width: 1120px; margin: 0 auto; padding: 56px 24px 72px; }
.page-head { text-align: center; margin-bottom: 28px; }
.page-head h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 6vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.page-head p { margin: 12px auto 0; max-width: 60ch; color: var(--text-2); font-size: 17px; line-height: 1.6; }

/* Werkzeugleiste: Suche, Legende, Download */
.werkzeug { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 24px; padding: 12px 14px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: var(--radius-card); }
.suche { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text-3); }
.suche:focus-within { border-color: var(--text-3); }
.suche svg { width: 16px; height: 16px; flex: none; }
.suche input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--text); }
.legende { display: flex; gap: 14px; }
.werkzeug .btn-glanz { text-decoration: none; }
.leer { text-align: center; color: var(--text-3); }

/* Status-Punkt: grün = Video online, grau = ausstehend */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #27a644; box-shadow: 0 0 0 3px #27a64422; }
.status.ist-offen i { background: var(--text-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-3) 18%, transparent); }

/* Ein Prüfungstermin: Überschrift + Karten */
.termin { margin: 0 0 28px; }
.termin[hidden] { display: none; }
.termin h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 16px; font-weight: 600; }
.termin h2 small { font-size: 13px; font-weight: 400; color: var(--text-3); font-variant-numeric: tabular-nums; }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.karte { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.skizze { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; background: #fff; border-bottom: 1px solid var(--border); }
.skizze img { width: 100%; height: 100%; object-fit: contain; }
/* Neueste Jahre: Skizze ist zugleich Vorschaubild, Klick lädt das Lösungsvideo (.vimeo-klick aus site.css/consent.js) */
.skizze.vimeo-klick { display: block; padding: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: #fff; }
.skizze.vimeo-klick .vimeo-klick-bild { padding: 14px; object-fit: contain; }
.skizze.vimeo-klick .vimeo-klick-start { background: #fff; }
.skizze.vimeo-klick .vimeo-klick-start::after { display: none; }
.skizze.vimeo-klick .vimeo-klick-play { width: 46px; height: 46px; }
.skizze.vimeo-klick:has(iframe) { background: #0b0f14; }
.info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px 12px; }
.info strong { flex: 1 0 100%; font-size: 14px; font-weight: 600; }
.info .datum { flex: 1 0 100%; margin-top: -4px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.termin h2 span { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.thema { padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); }

.stufe { display: inline-flex; gap: 3px; }
.stufe i { width: 7px; height: 7px; border-radius: 2px; background: var(--border); }
.stufe i.an { background: var(--text-2); }

/* Hinweis am Ende */
.hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); }
.hinweis strong { font-size: 16px; font-weight: 600; }
.hinweis p { margin: 4px 0 0; color: var(--text-2); font-size: 15px; }
.hinweis .btn-glanz { height: 40px; padding: 0 18px 1px; text-decoration: none; }

@media (max-width: 640px) {
  main { padding: 32px 16px 56px; }
  .werkzeug { top: 64px; }
  .legende { order: 3; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .skizze { padding: 8px; }
  .skizze.vimeo-klick { padding: 0; }
  .skizze.vimeo-klick .vimeo-klick-bild { padding: 8px; }
  .info { padding: 8px 10px 10px; }
}
@media print {
  .werkzeug, .hinweis { display: none; }
  .karte { break-inside: avoid; }
}
