@font-face { font-family: Kopf; src: url(/schrift/Montserrat-Bold.ttf); font-weight: 700; font-display: swap }
@font-face { font-family: Kopf; src: url(/schrift/Montserrat-SemiBold.ttf); font-weight: 600; font-display: swap }
:root { color-scheme: dark; --bg: #101113; --panel: #1a1c20; --rand: #2c2f36; --rand2: #5a5e68; --text: #f2efe9; --leise: #a8a59d; --neu: #f5a524; --neu-t: #181202; --ok: #6cb6ff; --ok-t: #06121f }
* { box-sizing: border-box }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif }
header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--rand) }
.marke { font: 700 19px Kopf, sans-serif; color: var(--text); text-decoration: none; min-height: 44px; display: flex; align-items: center; gap: .3em }
.marke span { color: var(--neu) }
#kosten { color: var(--leise); font-size: 13px }
main { max-width: 1080px; margin: 0 auto; padding: 22px 20px 56px }
h1 { margin: 4px 0 18px; font: 700 26px/1.25 Kopf, sans-serif; text-wrap: balance }
h2 { margin: 28px 0 12px; font: 600 18px Kopf, sans-serif }
.leise { color: var(--leise) }
.amber { color: var(--neu) }
.blau { color: var(--ok) }
.zurueck { display: inline-flex; align-items: center; min-height: 44px; color: var(--leise); text-decoration: none }
button, .knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid var(--rand2); background: none; color: var(--text); font: 600 15px inherit; font-family: inherit; cursor: pointer; text-decoration: none; text-align: center }
button:disabled { opacity: .45; cursor: default }
.neu { background: var(--neu); border-color: var(--neu); color: var(--neu-t) }
.ok { background: var(--ok); border-color: var(--ok); color: var(--ok-t) }
:focus-visible { outline: 3px solid var(--ok); outline-offset: 2px }
.liste { display: flex; flex-direction: column; gap: 12px }
.karte { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--rand); border-radius: 4px; padding: 14px }
.karte .bild { width: 72px; height: 128px; object-fit: cover; border-radius: 2px; background: var(--rand) }
.karte .mitte { flex: 1 1 190px; min-width: 0 }
.karte .name { font: 600 17px Kopf, sans-serif; overflow-wrap: anywhere }
.reiter { display: flex; gap: 8px; margin-bottom: 18px }
.reiter a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 4px; border: 1px solid var(--rand); color: var(--leise); text-decoration: none }
.reiter a[aria-current] { background: var(--panel); color: var(--text); border-color: var(--rand2) }
.streifen { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px }
.chip { flex: 0 0 auto; min-height: 40px; padding: 0 12px; gap: 7px; border-color: var(--rand); font-weight: 500 }
.chip[aria-current] { border-color: var(--text) }
.punkt { width: 9px; height: 9px; border-radius: 5px; border: 1px solid var(--leise) }
.punkt.passt { background: var(--ok); border-color: var(--ok) }
.punkt.notiz, .punkt.laeuft { background: var(--neu); border-color: var(--neu) }
.punkt.warn { border: 2px solid var(--neu) }
.gruppe { flex: 0 0 auto; align-self: center; color: var(--leise); font-size: 12px; padding-left: 6px }
.pruefen { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start }
.spieler { flex: 0 1 320px; width: 100% }
.spieler video, .leer { display: block; width: 100%; aspect-ratio: 9/16; max-height: 78vh; background: #000; border-radius: 4px; object-fit: contain }
.leer { display: flex; align-items: center; justify-content: center; background: var(--panel); color: var(--leise); text-align: center; padding: 20px }
.infos { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px }
.befund { border: 1px solid var(--neu); border-radius: 4px; padding: 12px 14px; overflow-wrap: anywhere }
.befund b { display: block; color: var(--neu) }
.skript { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 8px 12px; background: var(--panel); border-radius: 4px; padding: 14px }
.kasten { background: var(--panel); border-radius: 4px; padding: 14px }
details { color: var(--leise) }
summary { cursor: pointer; min-height: 32px }
.zwei { display: flex; flex-wrap: wrap; gap: 10px }
.zwei > * { flex: 1 1 140px }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px }
.fassung { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border-radius: 4px; padding: 12px }
.fassung img, .fassung video, .fassung .leer { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 2px; background: #000 }
.fassung video { object-fit: contain }
.fassung .bildknopf { position: relative; padding: 0; border: 0; display: block }
.fassung .bildknopf span { position: absolute; inset: auto 8px 8px auto; background: rgba(16,17,19,.8); border-radius: 4px; padding: 3px 10px; font-size: 13px }
.hooktext { font-size: 13px; color: var(--leise); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden }
.balken { margin-top: 10px; height: 6px; background: var(--rand) }
.balken i { display: block; height: 6px; background: var(--neu) }
.auftrag { margin-bottom: 16px }
.zeile { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.spaeter { margin-top: 24px; border: 1px dashed var(--rand2); border-radius: 4px; padding: 14px; color: var(--leise) }
dialog { width: 100%; max-width: 560px; margin: auto auto 0; border: 0; border-top: 3px solid var(--neu); background: var(--panel); color: var(--text); padding: 18px 20px 22px; max-height: 92vh }
dialog::backdrop { background: rgba(0,0,0,.65) }
dialog form { display: flex; flex-direction: column; gap: 12px }
textarea, input[type=password] { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--rand2); border-radius: 4px; padding: 10px; font: inherit; font-size: 16px }
.wahl { display: block; text-align: left; min-height: 56px; background: var(--bg); border: 2px solid var(--rand); padding: 8px 12px; font-weight: 400 }
.wahl b, .wahl small { display: block }
.wahl small { color: var(--leise); font-size: 13px }
.wahl[aria-pressed=true] { border-color: var(--neu) }
.anmeldung { max-width: 340px; margin: 40px auto; display: flex; flex-direction: column; gap: 12px }
#meldung { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); background: var(--text); color: var(--bg); border-radius: 4px; padding: 10px 16px; z-index: 5 }
@media (max-width: 640px) {
  .spieler { flex: 1 1 100% }
  .spieler video, .spieler .leer { height: 52vh; width: auto; max-width: 100%; margin: 0 auto }
  .raster { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
.gruppe { text-transform: capitalize }
