/* AISandbox · Aussehen. Farben und Schrift wie die Okulus-Präsis. */
@font-face { font-family: Noi; src: url("fonts/NoiGrotesk-Regular.woff2") format("woff2"); font-weight: 400; }
@font-face { font-family: Noi; src: url("fonts/NoiGrotesk-Semibold.woff2") format("woff2"); font-weight: 600; }
:root {
  --weiss: #fff; --schwarz: #000; --zitrone: #DAFF62; --heidel: #8762FF; --himbeere: #FF2F6A;
  --grau: #6E6B78; --nebel: #F3F1F8; --linie: #E6E3EE; --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: Noi, "Helvetica Neue", Arial, sans-serif; background: var(--nebel); color: var(--schwarz); -webkit-font-smoothing: antialiased; line-height: 1.4; }
a { color: inherit; }
h1 { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
small, .leise { color: var(--grau); font-size: 14px; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: var(--nebel); padding: 1px 6px; border-radius: 6px; }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.marke { font-weight: 600; letter-spacing: -.02em; font-size: 18px; text-decoration: none; }
.marke b { background: var(--zitrone); padding: 0 6px; border-radius: 6px; }
.seite { max-width: 1080px; margin: 0 auto; padding: 32px 16px 80px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; margin-top: 20px; }
.reihe { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }

label { display: block; font-size: 14px; color: var(--grau); margin: 10px 0 4px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid var(--linie); border-radius: 10px; background: var(--weiss); color: var(--schwarz); }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--heidel); outline-offset: 0; border-color: transparent; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 0; background: var(--schwarz); color: var(--weiss); cursor: pointer; text-decoration: none; white-space: nowrap; }
.knopf:hover { background: var(--heidel); }
.knopf.hell { background: var(--weiss); color: var(--schwarz); border: 1px solid var(--linie); }
.knopf.hell:hover { border-color: var(--schwarz); background: var(--weiss); }
.knopf.zitrone { background: var(--zitrone); color: var(--schwarz); }
.knopf.zitrone:hover { background: var(--schwarz); color: var(--zitrone); }
.knopf.gross { font-size: 18px; padding: 16px 26px; }
.knopf:disabled { opacity: .35; cursor: default; }
.meldung { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--zitrone); font-weight: 600; }
.fehler { margin-top: 12px; color: var(--himbeere); font-weight: 600; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-weight: 600; color: var(--grau); font-size: 13px; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--linie); }
td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.etikett { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--nebel); }
.etikett.heidel { background: var(--heidel); color: var(--weiss); }
.etikett.zitrone { background: var(--zitrone); }

/* ---------- Ergebnisse: auf dem Beamer gross, in der Regie klein ---------- */
.ergebnis { --gr: 1; }
.ergebnis .zeile { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: calc(6px * var(--gr)) calc(18px * var(--gr)); align-items: center; margin-bottom: calc(16px * var(--gr)); }
.ergebnis .wort { font-weight: 600; font-size: calc(18px * var(--gr)); letter-spacing: -.02em; overflow-wrap: anywhere; }
.ergebnis .balken { display: grid; gap: calc(5px * var(--gr)); }
.ergebnis .bahn { position: relative; height: calc(26px * var(--gr)); background: rgba(127,127,127,.15); border-radius: 999px; overflow: hidden; }
.ergebnis .bahn i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--zitrone); transition: width .9s cubic-bezier(.22,1,.36,1); }
.ergebnis .bahn.modell i { background: var(--heidel); }
.ergebnis .b { display: grid; grid-template-columns: minmax(0, 1fr) calc(58px * var(--gr)); align-items: center; gap: calc(10px * var(--gr)); }
.ergebnis .b span { text-align: right; font-size: calc(15px * var(--gr)); font-weight: 600; font-variant-numeric: tabular-nums; }
.ergebnis .legende { display: flex; gap: calc(22px * var(--gr)); font-size: calc(14px * var(--gr)); margin-bottom: calc(18px * var(--gr)); }
.ergebnis .legende b { display: inline-block; width: calc(14px * var(--gr)); height: calc(14px * var(--gr)); border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.ergebnis .wolke { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(6px * var(--gr)) calc(22px * var(--gr)); line-height: 1.05; }
.ergebnis .wolke span { font-weight: 600; letter-spacing: -.03em; }
.ergebnis .liste { display: grid; gap: calc(12px * var(--gr)); }
.ergebnis .liste div { font-size: calc(18px * var(--gr)); padding: calc(12px * var(--gr)) calc(16px * var(--gr)); border-radius: calc(12px * var(--gr)); background: rgba(127,127,127,.12); }
.ergebnis .leer { color: var(--grau); font-size: calc(16px * var(--gr)); }
