/* Interview-Coach: nur Layout und Bewegung. Farben, Schrift, Abstände kommen als Tokens aus styles.css (docs/INTERVIEW-COACH.md). */

/* ---------- Gemeinsam ---------- */
.ch-mono { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--night); color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -.03em; text-transform: uppercase; }
.ch-mono.big { width: 64px; height: 64px; border-radius: 20px; font-size: 28px; }
.ch-mono.lime { background: var(--lime); color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); font-size: var(--t-xs); }
.input.big { min-height: 60px; font-size: var(--t-l); font-weight: 600; }

/* Interviewer (public/interviewer.js): Szene füllt ihren Rahmen, Porträts sind quadratisch */
.iv { display: block; width: 100%; height: 100%; }
@keyframes welle { 0%, 100% { height: 10px; } 50% { height: 34px; } }

/* ---------- Übersicht ---------- */
.ch { display: grid; gap: var(--s6); }
.ch-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s6); align-items: center; }
.ch-hero h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; outline: none; margin: var(--s2) 0 var(--s4); }
.ch-lead { color: var(--ink-2); max-width: 52ch; margin-bottom: var(--s5); }
.ch-visual { display: grid; place-items: center; padding: var(--s2); } /* Luft für die schräg gestellte Karte */
.ch-call { position: relative; width: min(420px, 100%); padding: var(--s3); border-radius: var(--r-l); background: var(--stage); box-shadow: var(--sh-3); transform: rotate(-1.5deg); }
.ch-tile { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-m); background: var(--stage-2); overflow: hidden; }
.ch-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--lime); pointer-events: none; }
.ch-tile .mt-eq i { background: var(--lime); animation: eq .6s var(--ease) infinite; } .ch-tile .mt-eq i:nth-child(2) { animation-delay: .12s; } .ch-tile .mt-eq i:nth-child(3) { animation-delay: .24s; }
.ch-scene { position: absolute; inset: 0; }
.ch-cc { margin: var(--s3) var(--s2) var(--s1); color: #fff; font-weight: 700; font-size: var(--t-m); letter-spacing: -.01em; }
.ch-dots { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 4px; }
.ch-dots i, .ds-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: blink .9s infinite alternate; }
.ch-dots i:nth-child(2), .ds-dots i:nth-child(2) { animation-delay: .2s; } .ch-dots i:nth-child(3), .ds-dots i:nth-child(3) { animation-delay: .4s; }
.mt-name { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(9, 10, 8, .72); color: #fff; font-size: var(--t-xs); font-weight: 700; }
.ch-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s3); }
.ch-nextc { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); border-radius: var(--r-l); border: 0; background: var(--night); color: #fff; text-align: left; cursor: pointer; transition: transform var(--fast) var(--spring); }
.ch-nextc:hover { transform: translateY(-2px); }
.ch-nextc .ch-mono { background: var(--lime); color: var(--ink); }
.ch-nextc > span:nth-child(2) { flex: 1 1 150px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.ch-nextc { flex-wrap: wrap; } /* Handy: „Jetzt üben“ rutscht unter den Firmennamen, statt darüber zu liegen */
.ch-nextc > .btn { margin-left: auto; }
.ch-nextc b { overflow-wrap: break-word; }
.ch-nextc small { font-size: var(--t-xs); color: var(--night-muted); font-weight: 600; }
.ch-nextc b { font-size: var(--t-m); }
.ch-nextc em { font-style: normal; font-size: var(--t-s); color: var(--night-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-nextc .btn { pointer-events: none; }
.ch-list { display: grid; gap: var(--s2); }
.ch-item { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--soft); text-decoration: none; transition: background var(--fast) var(--ease), transform var(--fast) var(--spring); }
.ch-item:hover { background: var(--surface); box-shadow: var(--sh-2); transform: translateY(-1px); }
.ch-item .ring { width: 52px; height: 52px; } .ch-item .ring b { font-size: 17px; }
.ch-item-m { flex: 1; min-width: 0; display: grid; }
.ch-item-m small { color: var(--muted); font-size: var(--t-s); }
.ch-item-s { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: flex-end; }
.ch-tools h2 { font-size: var(--t-l); letter-spacing: -.03em; margin-bottom: var(--s3); }
.ch-tgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.ch-t { display: grid; gap: 6px; align-content: start; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.ch-t svg { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--surface); }
.ch-t b { font-size: var(--t-s); } .ch-t small { font-size: var(--t-xs); color: var(--muted); }

/* ---------- Wizard ---------- */
.cw-fields { display: grid; gap: var(--s4); max-width: 560px; }
.cw-anz { border-radius: var(--r-m); background: var(--soft); }
.cw-anz summary { display: flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 0 var(--s4); cursor: pointer; font-weight: 700; font-size: var(--t-s); list-style: none; }
.cw-anz summary::-webkit-details-marker { display: none; }
.cw-anz summary svg { width: 20px; height: 20px; }
.cw-anz[open] summary { padding-bottom: 4px; }
.cw-anz .field { padding: 0 var(--s3) var(--s3); }
.cw-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.cw-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-bottom: var(--s4); }
.cw .tile[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.cw .tile[aria-checked="true"] small { color: var(--night-muted); }
.cw .tile[aria-checked="true"] svg { background: var(--lime); color: var(--ink); }
.cw-row { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: end; }
.cw-row .field { width: min(240px, 100%); }
.cw-stil { min-height: 168px; }
.cw-mini { display: block; width: 72px; height: 72px; border-radius: 18px; background: var(--stage-2); overflow: hidden; }
.tile .cw-mini svg.iv { width: 100%; height: 100%; padding: 0; border-radius: 0; background: none; }
.tile.cw-stil[aria-checked="true"] .cw-mini { box-shadow: 0 0 0 3px var(--lime); }
.tile.cw-stil[aria-checked="true"] .cw-mini svg.iv { background: none; }
.cw-btns { gap: var(--s5); align-items: flex-start; }
.cw-bl { display: grid; justify-items: center; gap: 6px; }
.cw-bl small { font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.cw-btns .deck-count { align-self: center; margin-top: -22px; }
.cw .deck { gap: var(--s5); }
.cw-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.sw { position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--soft); cursor: pointer; font-size: var(--t-s); font-weight: 700; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw small { display: block; font-weight: 500; color: var(--muted); font-size: var(--t-xs); }
.sw svg { width: 22px; height: 22px; color: var(--ink-2); }
.sw-ui { order: 9; margin-left: auto; position: relative; width: 46px; height: 28px; flex: none; border-radius: 28px; background: #cfd0c7; transition: background var(--fast) var(--ease); }
.sw-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform var(--fast) var(--spring); }
.sw input:checked ~ .sw-ui { background: var(--night); }
.sw input:checked ~ .sw-ui::after { transform: translateX(18px); background: var(--lime); }
.sw:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Warten, bis die Fragen da sind */
.cw-wait { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; }
.cw-wait b { font-size: var(--t-m); }
.cw-log { list-style: none; padding: 0; margin-top: var(--s2); display: grid; gap: 4px; font-size: var(--t-s); color: var(--night-muted); }
.cw-log li { animation: rise var(--dur) var(--ease) both; }
.cw-log li:last-child { color: #fff; }
.cw-log li:last-child::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--lime); animation: blink .8s infinite alternate; }
.cw-scan { display: flex; gap: 5px; align-items: end; height: 36px; flex: none; }
.cw-scan i { width: 7px; border-radius: 4px; background: var(--lime); animation: welle 1s var(--ease) infinite; }
.cw-scan i:nth-child(2) { animation-delay: .15s; } .cw-scan i:nth-child(3) { animation-delay: .3s; }
@keyframes welle { 0%, 100% { height: 10px; } 50% { height: 34px; } }

/* Fragen-Karten */
/* Oberste Karte liegt im Fluss und bestimmt die Höhe, die Karten darunter folgen ihr (nur als Kante, ohne Text) */
.cw-stack { width: min(440px, 100%); height: auto; margin-bottom: var(--s4); }
.cw-card { justify-content: flex-start; gap: var(--s3); }
.cw-stack .cw-card:not(.under):not(.under2) { position: relative; inset: auto; min-height: 280px; }
.cw-card.under > *, .cw-card.under2 > * { visibility: hidden; }
.cw-card h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; margin-top: var(--s2); overflow-wrap: break-word; hyphens: auto; }
.cw-card h3.l { font-size: 21px; line-height: 1.2; }
.cw-card h3.xl { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.cw-card p { margin-top: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; max-height: 2.7em; flex: none; }
.cw-kat { justify-self: start; align-self: flex-start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--lime); color: var(--ink); font-size: var(--t-xs); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cw-card .stamp.nein { color: #fff; }
.cw-card.out-r, .cw-card.out-l { transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); opacity: 0; }
.deck-btns .round svg { width: 28px; height: 28px; }
.cw-swdone { display: grid; gap: var(--s3); justify-items: start; }
.cw-count { display: flex; gap: var(--s2); }
.cw-count span { display: grid; min-width: 120px; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.cw-count span:first-child { background: var(--night); color: var(--night-muted); }
.cw-count b { font-size: 44px; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.cw-count span:first-child b { color: var(--lime); }

/* Einladung */
.invite { display: grid; grid-template-columns: 112px minmax(0, 1fr); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; animation: rise var(--slow) var(--ease) both; }
.inv-date { display: grid; place-content: center; text-align: center; gap: 2px; background: var(--night); color: #fff; padding: var(--s4); }
.inv-date b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--lime); }
.inv-date small { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--night-muted); font-weight: 700; }
.inv-main { display: grid; gap: var(--s3); padding: var(--s5); }
.inv-main h3 { font-size: var(--t-l); letter-spacing: -.03em; }
.inv-who { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-s); color: var(--ink-2); }
.inv-av { display: block; width: 52px; height: 52px; border-radius: 50%; background: var(--stage-2); overflow: hidden; flex: none; }

.inv-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.inv-facts li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: var(--r-pill); background: var(--soft); font-size: var(--t-xs); font-weight: 700; }
.inv-facts svg { width: 16px; height: 16px; }

/* Dossier */
.dossier { position: sticky; top: 16px; align-self: start; display: grid; gap: var(--s4); padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; box-shadow: var(--sh-3); overflow: hidden; }
.dossier::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid var(--night-2); pointer-events: none; }
.ds-head { position: relative; display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.ds-head b { display: block; font-size: var(--t-l); font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.ds-head small { display: block; font-size: var(--t-xs); color: var(--night-muted); font-weight: 600; }
.ds-rows { position: relative; display: grid; gap: 2px; }
.ds-rows > div { display: grid; grid-template-columns: 82px 1fr; gap: var(--s3); align-items: center; min-height: 44px; border-bottom: 1px solid var(--night-2); }
.ds-rows dt { font-size: 11px; font-weight: 700; color: var(--night-muted); text-transform: uppercase; letter-spacing: .07em; }
.ds-rows dd { font-size: var(--t-s); font-weight: 700; overflow-wrap: anywhere; }
.ds-rows dd.leer { color: #6f7467; font-weight: 600; }
.ds-rows .hl { color: var(--lime); }
.ds-dots { display: inline-flex; gap: 4px; }
.ds-live { display: flex; gap: var(--s2); align-items: center; padding: var(--s3); border-radius: var(--r-s); background: var(--night-2); font-size: var(--t-xs); color: var(--night-muted); font-weight: 600; }
.ds-pulse { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(204, 236, 66, .6); animation: puls 1.4s infinite; }
@keyframes puls { 70% { box-shadow: 0 0 0 10px rgba(204, 236, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(204, 236, 66, 0); } }
.ds-brief { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-m); background: var(--night-2); font-size: var(--t-s); animation: rise var(--slow) var(--ease) both; }
.ds-brief .kicker { color: var(--lime); }
.ds-brief small { font-size: var(--t-xs); color: var(--night-muted); }
.ds-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ds-chips span { padding: 4px 10px; border-radius: var(--r-pill); background: var(--night-line); font-size: var(--t-xs); font-weight: 700; }
.ds-chips.light span { background: var(--soft); color: var(--ink); }
.ds-note { font-size: var(--t-xs); color: var(--night-muted); }

/* ---------- Meeting ---------- */
body.mt-open { overflow: hidden; }
/* Höhe und Lage aus dem sichtbaren Bereich (site.js, --vv-*): am iPhone verdecken Safari-Leisten und Tastatur sonst die Knöpfe unten (Runde 8) */
.mt { position: fixed; top: var(--vv-top, 0); left: 0; right: 0; height: var(--vv-h, 100dvh); z-index: 200; overflow-y: auto; overscroll-behavior: contain; /* passt doch etwas nicht: scrollen statt unerreichbar */ display: grid; grid-template-columns: minmax(0, 1fr); /* sonst 12 px zu breit bei 360 px, Senden und „Beenden“ abgeschnitten */ grid-template-rows: auto minmax(0, 1fr) auto auto auto auto; gap: var(--s3); padding: var(--s4) clamp(12px, 3vw, 32px) max(var(--s4), env(safe-area-inset-bottom)); background: var(--stage); color: #fff; animation: mtIn var(--slow) var(--ease) both; }
@keyframes mtIn { from { opacity: 0; transform: scale(1.02); } }
.mt :focus-visible { outline-color: var(--lime); }
.mt-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); }
.mt-title { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.mt-title > span:last-child { display: grid; min-width: 0; }
.mt-title b { font-size: var(--t-s); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* Tablet: „Vorstellungsgespräch · IT-Support“ in zwei Zeilen statt mit … */
.mt-title small { font-size: var(--t-xs); color: var(--night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-live { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: var(--r-pill); background: var(--stage-2); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mt-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1s infinite alternate; }
.mt-time { font-weight: 700; font-size: var(--t-s); padding: 6px 14px; border-radius: var(--r-pill); background: var(--stage-2); }
.mt-prog { display: grid; justify-items: end; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--night-muted); }
.mt-seg { display: flex; gap: 4px; }
.mt-seg i { width: 18px; height: 5px; border-radius: 4px; background: var(--stage-line); transition: background var(--dur) var(--ease); }
.mt-seg i.on { background: var(--lime); }
.mt-seg i.now { background: #fff; }
.mt-main { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s3); min-height: 0; overflow: hidden; } /* nie über Hinweis und Antwortfeld darunter (positioniert, läge sonst darüber) */
.mt-stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--s3); min-height: 0; justify-items: center; overflow-y: auto; }
.mt-tile { position: relative; width: min(100%, calc((100svh - 330px) * 16 / 10)); min-height: 220px; aspect-ratio: 16 / 10; max-height: 100%; border-radius: var(--r-l); background: var(--stage-2); overflow: hidden; display: grid; place-items: end center; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow var(--dur) var(--ease); }
.mt-scene { position: absolute; inset: 0; }
.mt-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow var(--dur) var(--ease); pointer-events: none; }
.mt-ai[data-state="speaking"]::after { box-shadow: inset 0 0 0 3px var(--lime); }
.mt-eq { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.mt-eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--night-muted); }
.mt-ai[data-state="speaking"] .mt-eq i { background: var(--lime); animation: welle .6s var(--ease) infinite; }
.mt-ai[data-state="speaking"] .mt-eq i:nth-child(2) { animation-delay: .12s; } .mt-ai[data-state="speaking"] .mt-eq i:nth-child(3) { animation-delay: .24s; }
.mt-ai .mt-eq i { animation-name: none; }
.mt-ai[data-state="speaking"] .mt-eq i { animation-name: eq; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.mt-self { position: absolute; right: 14px; bottom: 14px; width: clamp(110px, 18%, 200px); aspect-ratio: 4 / 3; border-radius: var(--r-m); background: var(--stage); border: 1px solid var(--stage-line); overflow: hidden; display: grid; place-items: center; box-shadow: var(--sh-3); }
.mt-self img, .mt-self video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-self video { transform: scaleX(-1); }
.mt-self.cam img { display: none; }
.mt-self .mt-name { left: 8px; bottom: 8px; padding: 3px 9px; font-size: 11px; }
.mt-ini { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 18px; }
.mt-cc { width: min(860px, 100%); min-height: 3.2em; text-align: center; }
.mt-cc p { font-size: clamp(18px, 1.6vw + 8px, 26px); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.mt-ohne { display: block; margin-top: var(--s2); font-size: var(--t-xs); color: rgba(255, 255, 255, .7); }
.mt-cc p span { opacity: .18; transition: opacity var(--fast) var(--ease); }
.mt-cc p span.on, .mt-cc p.in span { opacity: 1; }
.mt-cc .mt-du { color: var(--lime); }
.mt-cc .mt-join { color: var(--night-muted); font-weight: 600; font-size: var(--t-m); }
.mt-cc .mt-tonan { margin-top: 10px; }
.mt-cc .mt-err { color: #fff; font-weight: 600; font-size: var(--t-m); background: var(--stage-2); padding: 6px 14px; border-radius: var(--r-s); }
.mt-composer { display: flex; gap: var(--s2); align-items: flex-end; width: min(860px, 100%); justify-self: center; padding: 8px; border-radius: 28px; background: var(--surface); box-shadow: var(--sh-3); }
.mt-composer textarea { flex: 1; min-height: 48px; max-height: 180px; padding: 12px 14px; border: 0; background: transparent; resize: none; color: var(--ink); font-size: var(--t-m); line-height: 1.45; }
.mt-composer textarea:focus { outline: none; }
.mt-composer textarea:disabled { opacity: .5; }
.mt-mic, .mt-send { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; cursor: pointer; touch-action: manipulation; transition: transform var(--fast) var(--spring), background var(--fast) var(--ease); }
.mt-mic { background: var(--soft); color: var(--ink); }
.mt-mic:hover { background: var(--line); }
.mt-mic[aria-disabled="true"] { opacity: .45; }
.mt-mic.on { background: var(--lime); box-shadow: 0 0 0 0 rgba(204, 236, 66, .7); animation: puls 1.3s infinite; }
.mt-send { background: var(--night); color: var(--lime); }
.mt-send:hover:not(:disabled) { transform: scale(1.06); }
.mt-send:disabled { opacity: .4; cursor: default; }
.mt-composer :focus-visible { outline-color: var(--ink); }
/* Live-Mitschrift: Wer spricht, sieht man sofort (Rahmen um dein Bild, Ring um das Mikro, beide folgen der Lautstärke); solange ein Satz
   erkannt wird, laufen drei Punkte im Antwortfeld */
.mt-self::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow 90ms linear; pointer-events: none; }
.mt-self.spricht::after { box-shadow: inset 0 0 0 calc(2px + var(--pegel, 0) * 4px) var(--lime); }
.mt-mic.live.on { animation: none; box-shadow: 0 0 0 0 rgba(204, 236, 66, .5); transition: box-shadow 90ms linear, background var(--fast) var(--ease); }
.mt-mic.live.on.spricht { box-shadow: 0 0 0 calc(3px + var(--pegel, 0) * 10px) rgba(204, 236, 66, .45); }
.mt-composer { position: relative; }
.mt-composer.schreibt::after { content: ""; position: absolute; right: 128px; bottom: 28px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); box-shadow: 9px 0 var(--muted), 18px 0 var(--muted); animation: mt-punkte 1s var(--ease) infinite; pointer-events: none; }
@keyframes mt-punkte { 50% { opacity: .25; } }
.mt-hint { text-align: center; font-size: var(--t-xs); color: var(--night-muted); }
/* Aufnahme läuft: roter Punkt, Zeit und Pegel im Antwortfeld neben dem Mikro (auch auf dem Handy, wo der Hinweis fehlt). Rot nur hier, als Aufnahme-Zeichen */
.mt-rec { align-self: center; display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 10px; border-radius: var(--r-pill); background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 800; pointer-events: none; }
.mt-rec[hidden] { display: none; }
.mt-rec-p, .tr-rec-p { width: 9px; height: 9px; border-radius: 50%; background: var(--rec, #ff4f45); animation: blink 1s infinite alternate; flex: none; }
.mt-rec-l, .tr-rec-l { width: 32px; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.mt-rec-l i, .tr-rec-l i { display: block; height: 100%; width: var(--p, 0%); background: var(--ink); transition: width 90ms linear; }
.mt-rec.ohne-pegel .mt-rec-l { display: none; }
.mt-composer.rec.schreibt::after { right: 236px; }
.mt-bar { display: flex; justify-content: center; gap: var(--s2); flex-wrap: wrap; }
.mt-btn { display: grid; justify-items: center; gap: 4px; min-width: 76px; min-height: 60px; padding: 8px 10px; border-radius: var(--r-m); border: 0; background: var(--stage-2); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; transition: background var(--fast) var(--ease); }
.mt-btn:hover:not(:disabled) { background: var(--stage-line); }
.mt-btn:disabled { opacity: .4; cursor: default; }
.mt-btn[aria-pressed="true"], .mt-btn[aria-expanded="true"] { background: #fff; color: var(--ink); }
.mt-btn.end { background: #fff; color: var(--ink); min-width: 96px; }
.mt-btn.end:hover { background: var(--lime); }
.mt-side { width: min(360px, 34vw); overflow-y: auto; padding: var(--s4); border-radius: var(--r-l); background: var(--surface); color: var(--ink); animation: sheetIn var(--dur) var(--ease) both; font-size: var(--t-s); display: grid; align-content: start; gap: var(--s3); }
.mt-side :focus-visible { outline-color: var(--ink); }
.mt-side-h { display: flex; justify-content: space-between; align-items: center; position: sticky; top: calc(var(--s4) * -1); background: var(--surface); margin: calc(var(--s4) * -1) calc(var(--s4) * -1) 0; padding: var(--s3) var(--s4); }
.mt-side-h b { font-size: var(--t-m); }
.mt-tip { justify-self: center; width: min(860px, 100%); animation: rise var(--dur) var(--ease) both; }
.mt-tip-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4); align-items: center; padding: var(--s4); border-radius: var(--r-l); background: var(--stage-2); border: 1px solid var(--stage-line); font-size: var(--t-s); }
.mt-tip-in p + p { margin-top: 4px; }
.mt-tip-in b { color: var(--lime); }
.mt-tip-in .ring .t { stroke: var(--stage-line); } .mt-tip-in .ring .v { stroke: var(--lime); } .mt-tip-in .ring b { color: #fff; }
.mt-tip-b { display: flex; gap: var(--s2); flex-wrap: wrap; justify-content: flex-end; }
.mt-tip .btn.secondary { background: transparent; color: #fff; border-color: var(--stage-line); }
.mt-tip .btn.secondary:hover { border-color: #fff; }
.mt-consent > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.mt-consent .link { color: #fff; }
.mt.mt-ending .mt-composer, .mt.mt-ending .mt-bar { opacity: .4; pointer-events: none; }

/* Verlauf (Meeting-Seitenleiste und Detail) */
.vl { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.vl li { max-width: 88%; padding: var(--s3) var(--s4); border-radius: var(--r-m) var(--r-m) var(--r-m) 6px; background: var(--soft); }
.vl li.du { justify-self: end; background: var(--night); color: #fff; border-radius: var(--r-m) var(--r-m) 6px var(--r-m); }
.vl li.du small { color: var(--night-muted); }
.vl small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.vl p { font-size: var(--t-s); }
.vl-tip { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--night-line); color: var(--lime); font-size: var(--t-xs) !important; }
.sp-merk { padding-left: 1.3em; display: grid; gap: 6px; font-weight: 600; }
.sp-merk li::marker { font-weight: 800; }
.sp-list { padding-left: 1.2em; display: grid; gap: 4px; }

/* ---------- Detail: Bericht ---------- */
.cd { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.cd-back { justify-self: start; margin-left: -14px; }
.cd-head { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.cd-head > div:nth-child(2) { flex: 1; min-width: 200px; }
.cd-head h1 { font-size: var(--t-2xl, 40px); font-size: clamp(30px, 3vw + 12px, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1; outline: none; margin: 4px 0; }
.cd-acts { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.cd-tabs { justify-self: start; }
.cd-verlauf { max-width: 760px; }
.rp { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.rp-cta .btn, .cd-acts .btn { white-space: normal; text-align: center; }
.rp-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s6); align-items: center; padding: var(--s6); border-radius: var(--r-l); background: var(--night); color: #fff; }
.rp-score { display: grid; justify-items: center; gap: var(--s2); }
.rp-score > span { font-weight: 800; font-size: var(--t-s); color: var(--lime); }
.ring.xl { width: 150px; height: 150px; }
.ring.xl b { font-size: 54px; color: #fff; }
.ring.xl .t { stroke: var(--night-2); stroke-width: 4; } .ring.xl .v { stroke: var(--lime); stroke-width: 4; }
.rp-sum { display: grid; gap: var(--s4); }
.rp-sum .kicker { color: var(--night-muted); }
.rp-fazit { font-size: var(--t-l); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.rp-bars { display: grid; gap: var(--s2); }
.rp-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 36px; gap: var(--s3); align-items: center; font-size: var(--t-xs); font-weight: 700; color: var(--night-muted); }
.rp-bar div { height: 10px; border-radius: 10px; background: var(--night-2); overflow: hidden; }
.rp-bar i { display: block; height: 100%; width: var(--w); border-radius: 10px; background: var(--lime); transform-origin: left; animation: balken 700ms var(--ease) both; }
.rp-bar b { color: #fff; text-align: right; font-size: var(--t-s); }
@keyframes balken { from { transform: scaleX(0); } }
.rp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.rp-col { padding: var(--s5); border-radius: var(--r-l); background: var(--soft); }
.rp-col.good { background: var(--lime-soft); }
.rp-col h3 { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-m); margin-bottom: var(--s3); }
.rp-col h3 svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--surface); }
.rp-col ul { padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--t-s); }
.rp-cta { display: flex; gap: var(--s2); flex-wrap: wrap; }
.rp-h { font-size: var(--t-l); letter-spacing: -.03em; }
.rp-ans { display: grid; gap: var(--s2); }
.rp-a { border-radius: var(--r-m); background: var(--soft); }
.rp-a summary { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); cursor: pointer; list-style: none; }
.rp-a summary::-webkit-details-marker { display: none; }
.rp-a summary > span:not(.ring) { flex: 1; min-width: 0; display: grid; }
.rp-a summary small { font-size: var(--t-xs); color: var(--muted); font-weight: 700; }
.rp-a summary b { font-size: var(--t-s); }
.rp-a summary > svg { transition: transform var(--fast) var(--ease); }
.rp-a[open] summary > svg { transform: rotate(180deg); }
.rp-a .ring { width: 48px; height: 48px; } .rp-a .ring b { font-size: 16px; }
.rp-a-in { display: grid; gap: var(--s3); padding: 0 var(--s4) var(--s4); font-size: var(--t-s); }
.rp-a blockquote { padding: var(--s3) var(--s4); border-left: 3px solid var(--line); background: var(--surface); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--ink-2); }
.rp-a blockquote small, .rp-better small { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.rp-better { padding: var(--s4); border-radius: var(--r-m); background: var(--night); color: #fff; }
.rp-better small { color: var(--lime); }
.rp-better small svg { width: 14px; height: 14px; }

/* ---------- Werkzeuge ---------- */
.wk-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.wk-card { position: relative; display: grid; align-content: start; gap: 6px; min-height: 210px; padding: var(--s4); border-radius: var(--r-l); border: 1px solid var(--line); background: var(--soft); text-align: left; cursor: pointer; transition: transform var(--fast) var(--spring), background var(--fast) var(--ease), border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.wk-card:hover { transform: translateY(-3px); background: var(--surface); border-color: var(--ink); box-shadow: var(--sh-2); }
.wk-card > svg { width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--surface); margin-bottom: var(--s2); }
.wk-card b { font-size: var(--t-m); letter-spacing: -.02em; }
.wk-card small { font-size: var(--t-xs); color: var(--muted); }
.wk-num { position: absolute; top: 14px; right: 16px; font-size: var(--t-xs); font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.wk-st { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: var(--s3); font-size: var(--t-xs); font-weight: 800; }
.wk-st svg { width: 14px; height: 14px; }
.wk-card.ready > svg { background: var(--lime); }
.wk-card[aria-expanded="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.wk-card[aria-expanded="true"] small, .wk-card[aria-expanded="true"] .wk-num { color: var(--night-muted); }
.wk-card[aria-expanded="true"] > svg { background: var(--lime); color: var(--ink); }
.wk-panel { padding: var(--s5); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; gap: var(--s4); animation: rise var(--dur) var(--ease) both; }
.wk-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.wk-h h2 { font-size: var(--t-l); letter-spacing: -.03em; outline: none; }
.wk-load { display: flex; gap: var(--s4); align-items: center; padding: var(--s5); border-radius: var(--r-m); background: var(--night); color: #fff; }
.icon-btn.ok { background: var(--lime); color: var(--ink); }
/* Spickzettel */
.sp-card { display: grid; gap: var(--s4); }
.sp-top { display: flex; align-items: center; gap: var(--s3); }
.sp-top b { display: block; font-size: var(--t-l); letter-spacing: -.03em; }
.sp-top small { color: var(--muted); font-size: var(--t-s); }
.sp-kurz { font-size: var(--t-m); max-width: 70ch; }
.sp-merkbox { padding: var(--s4) var(--s5); border-radius: var(--r-m); background: var(--lime); }
.sp-merkbox .kicker { color: var(--lime-ink); margin-bottom: var(--s2); }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); font-size: var(--t-s); }
.sp-grid .kicker { margin-bottom: 6px; }
.sp-fakten { list-style: none; padding: 0; display: grid; gap: 2px; font-size: var(--t-s); }
.sp-fakten li { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
/* Rückfragen */
.wk-rf { list-style: none; padding: 0; display: grid; gap: var(--s2); counter-reset: rf; }
.wk-rf li { display: flex; gap: var(--s2); align-items: center; padding: var(--s2) var(--s2) var(--s2) var(--s4); border-radius: var(--r-m); background: var(--soft); }
.wk-rf-i { flex: 1; display: flex; gap: var(--s3); align-items: flex-start; cursor: pointer; padding: 6px 0; }
.wk-rf-i input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--night); flex: none; }
.wk-rf-i span { display: grid; gap: 2px; }
.wk-rf-i b { font-size: var(--t-s); } .wk-rf-i small { font-size: var(--t-xs); color: var(--muted); }
.wk-rf li:has(input:checked) { background: var(--lime-soft); }
/* Vorstellung + Timer */
.wk-vs { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr); gap: var(--s5); align-items: start; }
.wk-vs-text { display: grid; gap: var(--s3); font-size: var(--t-m); line-height: 1.6; }
.wk-points { padding-left: 1.3em; display: grid; gap: 4px; font-size: var(--t-s); font-weight: 600; }
.wk-timer { display: grid; gap: var(--s3); justify-items: center; text-align: center; padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; position: sticky; top: 16px; }
.wk-timer .small { color: var(--night-muted); }
.wk-timer .btn.secondary { background: transparent; color: #fff; border-color: var(--night-line); }
.wk-timer .btn.quiet { color: var(--night-muted); } .wk-timer .btn.quiet:hover { background: var(--night-2); color: #fff; }
.wk-timer .btns { justify-content: center; }
.wk-dial { position: relative; width: 168px; height: 168px; display: grid; place-content: center; text-align: center; }
.wk-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.wk-dial .t { fill: none; stroke: var(--night-2); stroke-width: 7; }
.wk-dial .v { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-dasharray: calc(var(--p) * 1) 100; transition: stroke-dasharray 100ms linear; }
.wk-dial.over .v { stroke: #fff; }
.wk-dial b { font-size: 52px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.wk-dial small { font-size: var(--t-xs); color: var(--night-muted); font-weight: 700; }
/* Gehalt */
.wk-geld { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s5); align-items: start; }
.wk-span { display: grid; gap: var(--s2); padding: var(--s5); border-radius: var(--r-l); background: var(--lime); }
.wk-span small { font-size: var(--t-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--lime-ink); }
.wk-span b { font-size: clamp(24px, 2.4vw + 10px, 36px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.wk-span p { font-size: var(--t-s); color: var(--ink); }
.wk-say { display: flex; gap: var(--s2); align-items: center; padding: var(--s3) var(--s2) var(--s3) var(--s4); margin-bottom: var(--s2); border-radius: var(--r-m); background: var(--soft); font-size: var(--t-s); font-weight: 600; }
.wk-say p { flex: 1; }
.wk-geld .kicker { margin: var(--s3) 0 var(--s2); } .wk-geld .kicker:first-child { margin-top: 0; }
/* Tag-X */
.wk-tx-top { display: flex; gap: var(--s4); align-items: center; flex-wrap: wrap; }
.wk-cd { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-radius: var(--r-m); background: var(--night); color: #fff; }
.wk-cd b { font-size: 44px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--lime); }
.wk-cd b svg { width: 32px; height: 32px; }
.wk-cd small { font-size: var(--t-xs); color: var(--night-muted); font-weight: 700; max-width: 9em; }
.wk-tx-bar { flex: 1; min-width: 200px; display: grid; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.wk-tx-bar div { height: 10px; border-radius: 10px; background: var(--soft); overflow: hidden; }
.wk-tx-bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--night); border-radius: 10px; transition: width var(--dur) var(--ease); }
.wk-tx { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s3); }
.wk-tx fieldset { border: 0; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); display: grid; gap: 4px; align-content: start; }
.wk-tx legend { float: left; width: 100%; font-size: var(--t-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.wk-chk { display: flex; gap: var(--s3); align-items: flex-start; min-height: 40px; padding: 6px 0; font-size: var(--t-s); cursor: pointer; }
.wk-chk input { width: 22px; height: 22px; accent-color: var(--night); flex: none; margin-top: 1px; }
.wk-chk:has(input:checked) span { text-decoration: line-through; color: var(--muted); }

/* ---------- Breiten ---------- */
@media (max-width: 1100px) {
  .ch-tgrid, .wk-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .dossier { order: -1; position: static; padding: var(--s4); gap: var(--s3); margin-bottom: var(--s3); }
  .dossier::before, .dossier .ds-brief, .dossier .ds-rows { display: none; }
  .dossier .stamps { grid-template-columns: repeat(6, 30px); gap: 5px; }
  .dossier .stamp-i svg { width: 15px; height: 15px; }
  .ch-hero { grid-template-columns: 1fr; }
  .ch-visual { display: none; }
  .wk-vs, .wk-geld { grid-template-columns: 1fr; }
  .wk-timer { position: static; }
  .mt-side { position: absolute; right: 0; top: 0; bottom: 0; z-index: 3; width: min(380px, 92vw); box-shadow: var(--sh-3); }
}
@media (max-width: 720px) {
  .rp-hero { grid-template-columns: 1fr; justify-items: start; padding: var(--s5); gap: var(--s4); }
  .rp-score { grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .ring.xl { width: 110px; height: 110px; } .ring.xl b { font-size: 40px; }
  .rp-bar { grid-template-columns: 110px minmax(0, 1fr) 30px; }
  .rp-cols, .sp-grid, .cw-toggles { grid-template-columns: 1fr; }
  .ch-tgrid, .wk-grid { grid-template-columns: 1fr 1fr; }
  .wk-card { min-height: 0; }
  .wk-card small { display: none; }
  .mt { padding: var(--s3) var(--s3) max(var(--s3), env(safe-area-inset-bottom)); gap: var(--s2); }
  .mt-top { grid-template-columns: 1fr auto; }
  .mt-prog { display: none; }
  .mt-title small { display: none; }
  .mt-title b { white-space: normal; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: var(--t-xs); line-height: 1.25; } /* Handy: Titel in zwei Zeilen statt mit … */
  .mt-tile { width: 100%; min-height: 0; aspect-ratio: auto; height: 100%; }
  .mt-self { width: 88px; right: 10px; top: 10px; bottom: auto; }
  .mt-self .mt-name { display: none; }
  .mt-ini { width: 40px; height: 40px; font-size: 15px; }
  .mt-hint { display: none; }
  .mt-rec { padding: 4px 8px; } .mt-rec-l { display: none; } .mt-composer.rec.schreibt::after { right: 172px; }
  .mt-btn, .mt-btn.end { min-width: 0; flex: 1; padding: 8px 4px; } /* „Beenden“ nicht breiter, sonst passt „Spickzettel“ bei 360 px nicht */
  .mt-btn span { font-size: 10px; }
  .mt-cc p { font-size: 18px; }
  .mt-tip-in { grid-template-columns: auto 1fr; }
  .mt-tip-b { grid-column: 1 / -1; justify-content: stretch; } .mt-tip-b .btn { flex: 1; }
}
/* Wenig sichtbare Höhe (Handy quer, Tastatur offen; data-vv-knapp aus site.js): Leiste nur Symbole, Antwortfeld und Knöpfe bleiben im Bild */
[data-vv-knapp] .mt { gap: 6px; padding-top: 8px; }
[data-vv-knapp] .mt-hint, [data-vv-knapp] .mt-prog, [data-vv-knapp] .mt-title small { display: none; }
[data-vv-knapp] .mt-tile { min-height: 0; }
[data-vv-knapp] .mt-btn { min-height: 44px; padding: 4px; }
[data-vv-knapp] .mt-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-vv-knapp] .mt-cc p { font-size: 16px; }
[data-vv-knapp] .mt-tip-in { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s3); font-size: var(--t-xs); }
[data-vv-knapp] .mt-tip-in > svg, [data-vv-knapp] .mt-tip-in > .ring { display: none; }
[data-vv-knapp] .mt-tip-b { grid-column: auto; }
@media (max-width: 600px) {
  .cw-grid3 { grid-template-columns: 1fr; }
  .cw-grid4 { grid-template-columns: 1fr 1fr; }
  .cw-stil { min-height: 0; }
  .cw-mini { width: 48px; height: 48px; border-radius: 12px; }
  .tile.cw-stil small { display: none; }
  .invite { grid-template-columns: 1fr; }
  .inv-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: var(--s2); padding: var(--s3) var(--s5); }
  .inv-date b { font-size: 28px; }
  .cw-stack .cw-card:not(.under):not(.under2) { min-height: 260px; padding: var(--s4); }
  .ch-item { flex-wrap: wrap; } .ch-item-s { width: 100%; justify-content: flex-start; padding-left: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .mt-composer.schreibt::after { animation: none; }
}

/* Panel-Übersicht: Kachel zum Coach */
.coachmini { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4); align-items: center; margin-bottom: var(--s3); padding: var(--s4) var(--s5); border-radius: var(--r-l); background: var(--lime); }
.coachmini-av { display: block; width: 72px; height: 72px; border-radius: 22px; background: var(--stage-2); overflow: hidden; }
.coachmini .kicker { color: var(--lime-ink); }
.coachmini h2 { font-size: var(--t-l); letter-spacing: -.03em; overflow-wrap: anywhere; }
.coachmini p { font-size: var(--t-s); color: var(--ink); margin-top: 2px; }
@media (max-width: 600px) { .coachmini { grid-template-columns: auto minmax(0, 1fr); } .coachmini .btn { grid-column: 1 / -1; } .coachmini-av { width: 56px; height: 56px; border-radius: 16px; } }

.cw-quelle { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); font-size: var(--t-s); }
.cw-quelle svg { width: 20px; height: 20px; margin-top: 2px; }
.cw-quelle span { display: grid; gap: 2px; }
.cw-quelle small { color: var(--muted); font-size: var(--t-xs); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Reden und Bewerbung üben (public/uebung.js) ---------- */
.ue-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 4px; border-radius: var(--r-pill); background: var(--soft); justify-self: start; }
.ue-tabs a { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--t-s); font-weight: 700; text-decoration: none; }
.ue-tabs a:hover { background: var(--surface); color: var(--ink); }
.ue-tabs a[aria-current="page"] { background: var(--night); color: #fff; }
.ue-tabs a[aria-current="page"] svg { color: var(--lime); }
.ue-tabs svg { width: 18px; height: 18px; }
.ch-ue { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.ch-uec { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); border-radius: var(--r-l); background: var(--soft); color: var(--ink); text-decoration: none; transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease); }
.ch-uec:hover { background: var(--surface); box-shadow: var(--sh-2); transform: translateY(-2px); }
.ch-uec > svg:first-child { width: 48px; height: 48px; padding: 11px; flex: none; border-radius: 15px; background: var(--lime); }
.ch-uec > svg:last-child { width: 20px; height: 20px; flex: none; }
.ch-uec > span { flex: 1; display: grid; gap: 2px; }
.ch-uec b { font-size: var(--t-m); letter-spacing: -.02em; }
.ch-uec small { color: var(--muted); font-size: var(--t-xs); }
.ue { display: grid; gap: var(--s6); }
.ue-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s6); align-items: center; }
.ue-hero h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; outline: none; margin: var(--s2) 0 var(--s4); }
.ue-stand-in { display: grid; gap: var(--s2); padding: var(--s5); border-radius: var(--r-l); background: var(--night); color: #fff; }
.ue-stand-in .kicker { color: var(--night-muted); }
.ue-stand-in .muted, .ue-stand-in .small { color: var(--night-muted); }
.ue-stand-zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s3); font-size: 56px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.ue-stand-zahl small { font-size: var(--t-s); font-weight: 700; letter-spacing: 0; color: var(--lime); }
.ue-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.ue-bars i { flex: 1; max-width: 28px; height: var(--h); min-height: 4px; border-radius: 6px 6px 3px 3px; background: var(--night-line); }
.ue-bars i.now { background: var(--lime); }
.ue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.ue-card { position: relative; display: grid; align-content: start; gap: 6px; min-height: 230px; padding: var(--s4); border-radius: var(--r-l); border: 1px solid var(--line); background: var(--soft); color: var(--ink); text-decoration: none; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.ue-card:hover { transform: translateY(-3px); background: var(--surface); border-color: var(--ink); box-shadow: var(--sh-2); }
.ue-card > svg { width: 42px; height: 42px; padding: 9px; border-radius: 13px; background: var(--surface); margin-bottom: var(--s2); }
.ue-card:hover > svg { background: var(--lime); }
.ue-card b { font-size: var(--t-m); letter-spacing: -.02em; }
.ue-card small { font-size: var(--t-xs); color: var(--muted); }
.ue-card .pill:not(.lime) { background: var(--surface); border: 1px solid var(--line); }
.ue-card-f { display: grid; gap: var(--s2); margin-top: auto; padding-top: var(--s3); justify-items: start; }
.ue-ziel { display: inline-flex; align-items: center; gap: 5px; font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); }
.ue-ziel svg { width: 14px; height: 14px; flex: none; }
.ue-wend { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
.ue-w { position: relative; display: grid; gap: 4px; padding: var(--s4) 56px var(--s4) var(--s4); border-radius: var(--r-m); background: var(--soft); }
.ue-w p { font-weight: 700; letter-spacing: -.01em; }
.ue-w small { color: var(--muted); font-size: var(--t-xs); }
.ue-w .icon-btn { position: absolute; top: 8px; right: 8px; }
.ue-vh { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
/* Übungsseite */
.ue-ex { gap: var(--s5); }
.ue-back { justify-self: start; }
.ue-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4); align-items: center; }
.ue-head h1 { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; outline: none; margin: 4px 0 6px; }
.ue-ic svg { width: 64px; height: 64px; padding: 15px; border-radius: 20px; background: var(--lime); }
.ue-zielpill { align-self: start; min-height: 36px; max-width: 100%; padding: 4px 14px; font-weight: 700; white-space: normal; line-height: 1.35; } /* langes Ziel bricht um statt die Seite zu verbreitern */
.ue-zielpill svg { flex: none; width: 15px; height: 15px; }
.ue-kontext { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--night); color: #fff; font-size: var(--t-s); }
.ue-kontext > svg { width: 22px; height: 22px; flex: none; color: var(--lime); }
.ue-kontext span { flex: 1; display: grid; gap: 2px; }
.ue-kontext b { color: var(--lime); font-size: var(--t-xs); }
.ue-kontext .btn.quiet { color: #fff; } .ue-kontext .btn.quiet:hover { background: var(--night-2); }
.ue-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s5); align-items: start; }
.ue-left { display: grid; gap: var(--s4); min-width: 0; }
.ue-side { position: sticky; top: var(--s4); display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-l); background: var(--lime-soft); }
.ue-side .kicker { color: var(--lime-ink); }
.ue-tipps { display: grid; gap: var(--s3); padding-left: 1.2em; font-size: var(--t-s); }
.ue-tipps.big { gap: var(--s2); font-size: var(--t-m); }
.ue-steps { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; counter-reset: s; }
.ue-steps li { counter-increment: s; display: flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: var(--soft); font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.ue-steps li::before { content: counter(s); display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--night); color: #fff; font-size: 12px; font-weight: 800; }
.ue-task { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.ue-task-h { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.ue-dice svg { width: 18px; height: 18px; }
.ue-frage { font-size: var(--t-l); font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
.ue-verdeckt { display: flex; align-items: center; gap: var(--s2); color: var(--muted); font-weight: 600; }
.ue-verdeckt svg { width: 20px; height: 20px; flex: none; }
.ue-satz { font-size: var(--t-l); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.ue-satz.schwach { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--field); text-decoration-thickness: 2px; }
.ue-lesen { font-size: var(--t-m); line-height: 1.75; max-width: 64ch; }
.ue-pz { display: inline-block; width: 4px; height: 1.1em; margin: 0 6px; vertical-align: -.15em; border-radius: 2px; background: var(--night); }
.ue-vorlesen:empty { display: none; }
.ue-rec { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-l); background: var(--soft); }
.ue-rec > .btn.quiet { justify-self: start; }
.ue-mic-row { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.ue-mic { display: inline-flex; align-items: center; gap: var(--s3); min-height: 64px; padding: 0 28px 0 10px; border: 0; border-radius: var(--r-pill); background: var(--night); color: #fff; font: inherit; font-size: var(--t-m); font-weight: 800; cursor: pointer; transition: transform var(--fast) var(--ease); }
.ue-mic:hover { transform: translateY(-1px); }
.ue-mic svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.ue-mic.on svg { animation: puls 1.2s var(--ease) infinite; }
.ue-mic:disabled { opacity: .6; cursor: wait; }
@keyframes puls { 50% { box-shadow: 0 0 0 10px rgba(204, 236, 66, .3); } }
.ue-meter { display: flex; align-items: center; gap: 3px; height: 32px; }
.ue-meter i { width: 5px; height: 30%; border-radius: 3px; background: var(--line); transition: height 80ms linear, background 80ms linear; }
.ue-meter i.on { height: 100%; background: var(--night); }
.ue-meter i:nth-child(odd).on { height: 75%; }
.ue-zeit { font-size: var(--t-l); font-weight: 800; color: var(--ink-2); min-width: 3ch; }
.ue-antwort { display: grid; gap: var(--s3); }
.ue-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); padding: var(--s4); border-radius: var(--r-m); background: var(--night); color: #fff; font-size: var(--t-s); }
.ue-consent > svg { width: 22px; height: 22px; color: var(--lime); }
.ue-consent p + p { margin-top: 4px; color: var(--night-muted); }
.ue-consent .link { color: #fff; }
.ue-consent .btns { margin-top: var(--s3); }
.ue-consent .btn.quiet { color: #fff; } .ue-consent .btn.quiet:hover { background: var(--night-2); }
/* Ergebnis */
.ue-erg:empty { display: none; }
.ue-res { display: grid; gap: var(--s4); padding: var(--s5); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); animation: rise var(--dur) var(--ease) both; }
.ue-res-top { display: flex; align-items: center; gap: var(--s5); }
.ue-res-top h2 { font-size: var(--t-l); letter-spacing: -.03em; outline: none; margin: 2px 0 6px; }
.ring.big { width: 104px; height: 104px; } .ring.big b { font-size: 34px; }
.ue-zielz { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--soft); font-size: var(--t-s); font-weight: 700; }
.ue-zielz.ok { background: var(--lime); }
.ue-zielz svg { width: 16px; height: 16px; flex: none; }
.ue-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--s2); }
.ue-tile { display: grid; gap: 2px; align-content: start; padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--soft); color: var(--ink); text-decoration: none; }
.ue-tile small { font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.ue-tile b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.ue-tile span { font-size: var(--t-xs); color: var(--ink-2); }
.ue-tile em { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-style: normal; font-size: var(--t-xs); font-weight: 800; }
.ue-tile em svg { width: 13px; height: 13px; }
.ue-tile.gut { background: var(--lime-soft); }
.ue-tile.viel { background: var(--night); color: #fff; } .ue-tile.viel small, .ue-tile.viel span { color: var(--night-muted); }
a.ue-tile { transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
a.ue-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.ue-chips span { font-weight: 800; }
.ue-said { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.ue-said > small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ue-said > p:first-of-type { font-size: var(--t-m); line-height: 1.75; }
mark { color: inherit; border-radius: 4px; padding: 0 2px; }
mark.m-fuell { background: var(--lime); }
mark.m-weich { background: var(--surface); box-shadow: inset 0 -2px 0 var(--ink-2); }
mark.m-mund { background: var(--paper-line); }
.ue-legende { display: flex; gap: var(--s2); flex-wrap: wrap; font-size: var(--t-xs); font-weight: 700; }
.ue-star { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.ue-star div { display: grid; gap: 2px; align-content: start; padding: var(--s3); border-radius: var(--r-m); background: var(--soft); }
.ue-star div.ok { background: var(--lime-soft); }
.ue-star svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--surface); }
.ue-star div.ok svg { background: var(--lime); }
.ue-star b { font-size: var(--t-s); } .ue-star small { font-size: var(--t-xs); color: var(--ink-2); }
.ue-res .rp-better .btns { margin-top: var(--s3); }
.ue-res .rp-col p { font-size: var(--t-s); }
.ue-on-dark { color: #fff; } .ue-on-dark:hover { background: var(--night-2); color: #fff; }
.ue-hinw { display: grid; gap: var(--s2); padding-left: 1.2em; font-size: var(--t-s); }
.ue-res-b { padding-top: var(--s4); border-top: 1px solid var(--line); }
/* Schreiben */
.ue-stelle, .ue-anf { display: grid; gap: var(--s3); }
.ue-chipsel { display: flex; flex-wrap: wrap; gap: 6px; }
.ue-chipsel button { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--t-s); font-weight: 600; cursor: pointer; text-align: left; }
.ue-chipsel button:hover { border-color: var(--ink); }
.ue-chipsel button[aria-checked="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.ue-anz { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-m); background: var(--soft); font-size: var(--t-s); }
.ue-anz summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); cursor: pointer; list-style: none; }
.ue-anz summary::-webkit-details-marker { display: none; }
.ue-anz summary > span { display: grid; gap: 2px; }
.ue-anz summary > svg { width: 20px; height: 20px; flex: none; transition: transform var(--fast) var(--ease); }
.ue-anz[open] summary > svg { transform: rotate(180deg); }
.ue-anz b { font-size: var(--t-m); }
.ue-anz summary span span, .ue-anz > span { color: var(--ink-2); }
.ue-write { display: grid; gap: var(--s3); }
.ue-write textarea { font-size: var(--t-m); line-height: 1.6; }
.ue-live:empty { display: none; }
.ue-live { padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--lime-soft); font-size: var(--t-s); }
.ue-live .kicker { color: var(--lime-ink); margin-bottom: 4px; }
.ue-live ul { padding-left: 1.2em; display: grid; gap: 4px; }
.ue-bal { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-m); background: var(--night); }
.ue-vn { display: grid; gap: var(--s2); }
.ue-vn > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.ue-vn p { padding: var(--s3) var(--s4); border-radius: var(--r-m); font-size: var(--t-s); }
.ue-vn small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.ue-vn small svg { width: 13px; height: 13px; }
.ue-vn .vor { background: var(--soft); color: var(--ink-2); }
.ue-vn .vor small { color: var(--muted); }
.ue-vn .nach { background: var(--night); color: #fff; }
.ue-vn .nach small { color: var(--lime); }
.ue-fehler { display: grid; gap: 6px; list-style: none; font-size: var(--t-s); }
.ue-fehler li { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.ue-fehler svg { width: 14px; height: 14px; color: var(--muted); }
.ue-fehler s { color: var(--muted); }
/* Interview-Coach: Tipp im Meeting und Bericht */
.mt-tip-in .mt-satz, .mt-tip-in .mt-rede { margin-top: 6px; font-size: var(--t-s); }
.mt-tip-in .mt-rede { display: flex; align-items: center; gap: 6px; color: var(--night-muted); }
.mt-tip-in .mt-rede svg { width: 16px; height: 16px; flex: none; color: var(--lime); }
.rp-coach { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); align-items: start; padding: var(--s5); border-radius: var(--r-l); background: var(--lime); }
.rp-coach > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--night); color: var(--lime); }
.rp-coach .kicker { color: var(--lime-ink); margin-bottom: 4px; }
.rp-coach p:not(.kicker) { font-size: var(--t-m); font-weight: 600; line-height: 1.45; }
.rp-sprech { display: grid; gap: var(--s3); }
.rp-sprech-t { font-size: var(--t-m); max-width: 70ch; }
.rp-sprech.leer { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); font-size: var(--t-s); }
.rp-sprech.leer > svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--surface); }
.rp-wend { display: grid; gap: var(--s3); }
.rp-tipps small { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.rp-tipps small svg { width: 14px; height: 14px; }
.rp-tipps ul { padding-left: 1.2em; display: grid; gap: 4px; }
.rp-rede { display: flex; align-items: center; gap: 6px; font-size: var(--t-xs); font-weight: 700; color: var(--ink-2); }
.rp-rede svg { width: 15px; height: 15px; flex: none; }
.rp-ueben .btn svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .ue-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .ue-hero, .ue-main { grid-template-columns: 1fr; }
  .ue-side { position: static; }
  .ue-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ch-ue, .ue-wend, .ue-vn > div { grid-template-columns: 1fr; }
  .ue-head { grid-template-columns: auto minmax(0, 1fr); }
  .ue-zielpill { grid-column: 1 / -1; justify-self: start; }
  .ue-ic svg { width: 52px; height: 52px; padding: 12px; border-radius: 16px; }
  .ue-star { grid-template-columns: 1fr 1fr; }
  .ue-card { min-height: 0; }
  .ue-res, .ue-task, .ue-rec { padding: var(--s4); }
  .ue-res-top { gap: var(--s3); }
  .ring.big { width: 80px; height: 80px; } .ring.big b { font-size: 26px; }
  .ue-tabs { border-radius: var(--r-m); justify-self: stretch; }
  .ue-tabs a { flex: 1; justify-content: center; padding: 0 10px; font-size: var(--t-xs); }
}
@media (max-width: 480px) { .ue-grid { grid-template-columns: 1fr; } .ue-tabs a svg { display: none; } .ue-stand-zahl { font-size: 44px; } }
@media (prefers-reduced-motion: reduce) { .ue-mic.on svg { animation: none; } }

/* ---------- Sprech-Trainer (public/training.js): Start, Bühne, Auswertung ---------- */
.tr-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s6); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); background: var(--stage); color: #fff; overflow: hidden; }
.tr-hero .kicker { color: var(--lime); }
.tr-hero h1, .tr-rep-hero h1 { color: #fff; }
.tr-hero h1 { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.045em; line-height: 1; outline: none; margin: var(--s2) 0 var(--s4); }
.tr-lead { color: var(--night-muted); max-width: 54ch; font-size: var(--t-m); line-height: 1.55; }
.tr-kontext { display: flex; gap: var(--s3); align-items: flex-start; margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--stage-2); font-size: var(--t-s); }
.tr-kontext svg { width: 20px; height: 20px; flex: none; color: var(--lime); }
.tr-kontext b { display: block; }
.tr-start-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.btn.big { min-height: 60px; padding: 0 28px; font-size: var(--t-m); }
.btn.big svg { width: 22px; height: 22px; }
.tr-start-info { font-size: var(--t-s); color: var(--night-muted); }
.tr-coachwahl { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.tr-coachwahl button { display: grid; grid-template-columns: auto auto; column-gap: var(--s2); align-items: center; text-align: left; padding: 8px 16px 8px 8px; border: 1px solid var(--stage-line); border-radius: var(--r-pill); background: transparent; color: #fff; font: inherit; cursor: pointer; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.tr-coachwahl button[aria-checked="true"] { border-color: var(--lime); background: var(--stage-2); }
.tr-coachwahl b { font-size: var(--t-s); }
.tr-coachwahl small { grid-column: 2; font-size: 11px; color: var(--night-muted); }
.tr-mini-orb { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0, var(--lime) 45%, var(--lime-ink) 100%); }
.tr-coachwahl button[aria-checked="false"] .tr-mini-orb { filter: grayscale(1); opacity: .6; }
.tr-hero-r { display: grid; justify-items: center; gap: var(--s3); }
.tr-hero-r canvas { width: min(100%, 380px); aspect-ratio: 1; }
.tr-demo-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s2); }
.tr-demo-chips span { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(30, 33, 27, .86); border: 1px solid var(--stage-line); font-size: var(--t-xs); color: var(--night-muted); }
.tr-demo-chips b { color: #fff; }
.tr-demo-chips .tr-chip-aeh b { color: var(--lime); }
.tr-how ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); padding: 0; }
.tr-how li { display: grid; gap: 4px; align-content: start; padding: var(--s4); border-radius: var(--r-m); background: var(--soft); }
.tr-how li span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--lime); font-weight: 800; font-size: var(--t-xs); margin-bottom: 4px; }
.tr-how li small { color: var(--muted); font-size: var(--t-xs); }
.tr-card { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tr-card-top { background: var(--night); color: #fff; border-color: var(--night); }
.tr-card-top small, .tr-card-top .ue-ziel { color: var(--night-muted); }
.tr-card-top > svg { background: var(--lime); color: var(--ink); }
.tr-card-top:hover { background: var(--night-2); border-color: var(--night-2); }
.tr-set-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.tr-set-g .sw > span:last-child { display: grid; gap: 2px; }
.tr-stand:not(:empty) { margin-bottom: var(--s4); }
.tr-privacy { display: flex; gap: var(--s2); align-items: flex-start; color: var(--muted); margin-top: var(--s5); }
.tr-privacy svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }

/* Zustimmung */
.tr-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--s4); background: rgba(9, 10, 8, .6); animation: rise var(--dur) var(--ease); }
.tr-modal-in { display: grid; gap: var(--s3); width: min(480px, 100%); padding: var(--s6); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--sh-3); }
.tr-modal-in > svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lime); }
.tr-modal-in h2 { font-size: var(--t-l); letter-spacing: -.02em; }
.tr-modal-in .small { color: var(--muted); }

/* Bühne */
body.tr-offen { overflow: hidden; }
.tr { --still: 0; position: fixed; top: var(--vv-top, 0); left: 0; right: 0; height: var(--vv-h, 100dvh); z-index: 250; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: var(--s3); padding: var(--s4) clamp(12px, 3vw, 32px) max(var(--s4), env(safe-area-inset-bottom)); background: var(--stage); color: #fff; outline: none; animation: mtIn var(--slow) var(--ease) both; }
.tr :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.tr-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--s4); }
.tr-title { display: flex; align-items: center; gap: var(--s3); min-width: 0; }
.tr-title > span:last-child { display: grid; min-width: 0; }
.tr-title b { font-size: var(--t-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-title small { font-size: var(--t-xs); color: var(--night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-seg { display: flex; gap: 4px; }
.tr-seg i { width: 26px; height: 5px; border-radius: 4px; background: var(--stage-line); transition: background var(--dur) var(--ease); }
.tr-seg i.on { background: var(--lime); }
.tr-seg i.now { background: #fff; }
.tr-top-r { display: flex; justify-content: flex-end; align-items: center; gap: var(--s2); }
.tr-ib { color: #fff; background: var(--stage-2); }
.tr-ib:hover { background: var(--stage-line); }
.tr-x:hover { background: #fff; color: var(--ink); }
.tr-main { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.25fr) minmax(200px, .8fr); gap: var(--s5); align-items: center; min-height: 0; }
.tr-task { align-self: center; display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-l); background: var(--stage-2); border: 1px solid var(--stage-line); max-height: 100%; overflow: auto; }
.tr-task:empty { visibility: hidden; }
.tr-task-h { display: flex; gap: var(--s3); align-items: center; }
.tr-task-h > span:last-child { display: grid; }
.tr-task-h small { font-size: var(--t-xs); color: var(--night-muted); }
.tr-task-h b { font-size: var(--t-s); }
.tr-ic svg { display: block; width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--lime); color: var(--ink); }
.tr-auf { font-size: clamp(18px, 1.2vw + 10px, 24px); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.tr-auf.schwach { color: var(--night-muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.tr-lesen { font-size: clamp(17px, .9vw + 10px, 21px); line-height: 1.7; }
.tr-lesen .ue-pz { background: var(--lime); }
.tr-ziel { display: flex; gap: var(--s2); align-items: center; font-size: var(--t-xs); font-weight: 700; color: var(--lime); }
.tr-ziel svg { width: 15px; height: 15px; flex: none; }
.tr-tipps summary { cursor: pointer; font-size: var(--t-xs); font-weight: 700; color: var(--night-muted); }
.tr-tipps ul { margin: var(--s2) 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: var(--t-xs); color: var(--night-muted); }
.tr-center { display: grid; justify-items: center; gap: var(--s3); min-height: 0; }
.tr-orb { position: relative; width: min(100%, 44vh, 400px); aspect-ratio: 1; }
.tr-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Ring um den Orb: füllt sich, wenn du still bist; voll = Runde fertig */
.tr-orb::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--still) * 360deg), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); opacity: calc(var(--still) * 1.4); pointer-events: none; }
.tr-orb-btn { position: absolute; inset: 22%; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.tr-state { font-size: var(--t-s); font-weight: 700; color: var(--night-muted); min-height: 1.4em; text-align: center; }
.tr.hoert .tr-state { color: #fff; }
.tr-cc { width: min(720px, 100%); min-height: 3.2em; text-align: center; }
.tr-cc p { font-size: clamp(17px, 1.2vw + 9px, 23px); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; }
.tr-cc p span { opacity: .2; transition: opacity var(--fast) var(--ease); }
.tr-cc p span.on { opacity: 1; }
.tr-cc p.du span { color: var(--lime); }
.tr-cc p.tr-hint { font-size: var(--t-s); font-weight: 500; color: var(--night-muted); }
.tr-cc p.tr-gesagt { font-size: var(--t-s); font-weight: 500; line-height: 1.55; color: var(--night-muted); max-height: 7.8em; overflow: auto; }
.tr-cc p.tr-gesagt small { display: block; margin-bottom: var(--s1); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; }
.tr-cc p.tr-gesagt mark { color: var(--ink); border-radius: 3px; padding: 0 2px; }
.tr-cc p.tr-gesagt.live { color: #fff; } /* Live-Mitschrift: was du gerade sagst */
.tr-cc .btns { justify-content: center; margin-top: var(--s3); }
.tr-live { display: grid; gap: var(--s2); align-content: center; opacity: .35; transition: opacity var(--dur) var(--ease); }
.tr.hoert .tr-live { opacity: 1; }
.tr-aeh, .tr-kpi, .tr-pegel { padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--stage-2); border: 1px solid var(--stage-line); }
.tr-aeh { display: grid; gap: 2px; transition: background var(--dur) var(--ease); }
.tr-aeh small, .tr-kpi small, .tr-pegel small { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--night-muted); }
.tr-aeh b { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--lime); display: inline-block; justify-self: start; transform-origin: left center; }
.tr-aeh b.pop { animation: aehPop .45s var(--spring); }
@keyframes aehPop { 0% { transform: scale(1); } 35% { transform: scale(1.35); color: #fff; } 100% { transform: scale(1); } }
.tr-aeh span { font-size: var(--t-xs); color: var(--night-muted); }
.tr-aeh.viel { background: var(--tr-warn); border-color: var(--tr-warn-line); }
.tr-kpi { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px var(--s3); }
.tr-kpi b { font-size: var(--t-l); font-weight: 800; letter-spacing: -.02em; }
.tr-gauge { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--stage-line) 0 25%, var(--lime) 25% 70%, var(--stage-line) 70%); }
.tr-gauge i { --x: 50%; position: absolute; top: -4px; left: var(--x); width: 4px; height: 14px; margin-left: -2px; border-radius: 3px; background: #fff; transition: left var(--dur) var(--ease); }
.tr-pegel div { height: 6px; margin-top: 6px; border-radius: 6px; background: var(--stage-line); overflow: hidden; }
.tr-pegel i { --p: 0%; display: block; height: 100%; width: var(--p); background: #fff; transition: width 90ms linear; }
.tr-res { display: none; }
.tr-res.an { display: block; animation: rise var(--dur) var(--ease); }
.tr-card-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s5); align-items: center; width: min(1100px, 100%); margin: 0 auto; padding: var(--s3) var(--s4); border-radius: var(--r-l); background: var(--stage-2); border: 1px solid var(--stage-line); }
.tr-r-top { display: flex; gap: var(--s3); align-items: center; min-width: 0; }
.tr-r-top > div { display: grid; min-width: 0; }
.tr-r-top small { font-size: var(--t-xs); color: var(--night-muted); }
.tr-r-top b { font-size: var(--t-s); }
.tr-card-r .ring b { color: #fff; }
.tr-r-kpi { display: flex; gap: var(--s4); justify-content: flex-end; }
.tr-r-kpi span { display: grid; font-size: 11px; color: var(--night-muted); text-align: right; }
.tr-r-kpi b { font-size: var(--t-l); color: #fff; }
.tr-said { grid-column: 1 / -1; font-size: var(--t-s); line-height: 1.6; color: var(--night-muted); max-height: 4.8em; overflow: auto; }
.tr-said mark { color: var(--ink); border-radius: 3px; padding: 0 2px; }
.tr-st { grid-column: 1 / -1; }
.tr-st summary { cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-size: var(--t-xs); font-weight: 700; color: var(--lime); }
.tr-st summary svg { width: 14px; height: 14px; }
.tr-st p { margin-top: var(--s2); font-size: var(--t-s); }
.tr-bot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s3); }
.tr-bot > :first-child { justify-self: start; } .tr-bot > :last-child { justify-self: end; }
.tr-ghost { color: var(--night-muted); }
.tr-ghost:hover { color: #fff; background: var(--stage-2); }
.tr-ghost svg { width: 16px; height: 16px; }
.tr-mic { display: inline-flex; align-items: center; gap: var(--s3); min-height: 64px; padding: 0 28px 0 10px; border: 0; border-radius: var(--r-pill); background: #fff; color: var(--ink); font: inherit; font-weight: 800; font-size: var(--t-m); cursor: pointer; transition: transform var(--fast) var(--ease), background var(--fast) var(--ease); }
.tr-mic:hover { transform: translateY(-1px); }
.tr-mic svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--night); color: var(--lime); }
.tr-mic[data-m="hoert"] { background: var(--lime); }
.tr-mic[data-m="hoert"] svg { animation: puls 1.2s var(--ease) infinite; }
.tr-mic:disabled { opacity: .55; cursor: wait; }
/* Aufnahme läuft: roter Punkt, Zeit und Pegel im Knopf (die Seitenleiste mit dem Pegel fehlt auf dem Handy) */
.tr-rec { display: none; align-items: center; gap: 6px; margin-left: 2px; font-size: var(--t-xs); }
.tr-mic[data-m="hoert"] .tr-rec { display: inline-flex; }
.tr-rec-l { background: rgba(0, 0, 0, .18); }
.tr-mic[data-m="neu"] svg { color: var(--rec, #ff4f45); }
.tr-cc p.tr-fehler { color: #fff; }
.tr-type { position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-l); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); }
.tr-type[hidden] { display: none; }
.tr-type .tr-ghost { color: var(--ink-2); }

/* Auswertung */
.tr-rep-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s5); align-items: start; padding: clamp(20px, 3vw, 36px); border-radius: var(--r-l); background: var(--night); color: #fff; margin-bottom: var(--s4); }
.tr-rep-hero .kicker { color: var(--night-muted); }
.tr-rep-hero h1 { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; outline: none; margin: var(--s2) 0 var(--s4); }
.tr-rep-hero .ring b { color: #fff; }
.tr-rep-hero .muted { color: var(--night-muted); }
.tr-rep-hero .btns { margin-top: var(--s4); }
.tr-quote { display: grid; gap: var(--s2); justify-items: start; padding-left: var(--s4); border-left: 3px solid var(--lime); }
.tr-quote p { font-size: var(--t-m); line-height: 1.55; }
.tr-quote .btn.quiet { color: #fff; }
.tr-quote .btn.quiet:hover { background: var(--night-2); }
.tr-quote.small { border-left-color: var(--ink); }
.tr-quote.small p { font-size: var(--t-s); color: var(--ink-2); }
.tr-tiles { margin-bottom: var(--s2); }
.tr-kurve { display: flex; align-items: flex-end; gap: var(--s2); height: 240px; padding: var(--s5) var(--s4) var(--s4); border-radius: var(--r-l); background: var(--soft); overflow-x: auto; }
.tr-k { flex: 1 0 64px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; gap: 6px; justify-items: center; text-align: center; }
.tr-k > b { font-size: var(--t-xs); padding: 2px 8px; border-radius: var(--r-pill); background: var(--surface); }
.tr-k i { align-self: end; position: relative; width: min(46px, 100%); height: var(--h); min-height: 4px; border-radius: 10px 10px 4px 4px; background: var(--ink); animation: grow var(--slow) var(--ease) both; transform-origin: bottom; }
.tr-k i span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--ink-2); font-style: normal; white-space: nowrap; }
.tr-k.fin i { background: var(--lime); box-shadow: inset 0 0 0 2px var(--ink); }
.tr-k small { font-size: 11px; color: var(--muted); line-height: 1.25; max-width: 90px; }
.tr-vn .vor, .tr-vn .nach { font-size: var(--t-s); line-height: 1.65; }
.tr-vs { display: grid; gap: var(--s2); padding: 0; list-style: none; counter-reset: vs; }
.tr-vs li { counter-increment: vs; display: grid; grid-template-columns: auto 1fr; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); border-radius: var(--r-m); background: var(--soft); font-weight: 700; }
.tr-vs li::before { content: counter(vs); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-weight: 800; }
.tr-runden { display: grid; gap: var(--s2); }
.tr-rd { border-radius: var(--r-m); background: var(--soft); }
.tr-rd summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); cursor: pointer; list-style: none; }
.tr-rd summary::-webkit-details-marker { display: none; }
.tr-rd summary > span { display: grid; min-width: 0; }
.tr-rd summary small { font-size: var(--t-xs); color: var(--muted); }
.tr-rd summary > svg { width: 18px; height: 18px; transition: transform var(--fast) var(--ease); }
.tr-rd[open] summary > svg { transform: rotate(180deg); }
.tr-rd-in { display: grid; gap: var(--s3); padding: 0 var(--s4) var(--s4); }
.tr-rd-in .ue-said { background: var(--surface); }

@media (max-width: 1100px), (max-height: 760px) {
  .tr { overflow: auto; grid-template-rows: auto auto auto auto; align-content: start; }
  .tr-main, .tr-center { min-height: auto; }
  .tr-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; align-items: start; }
  .tr-center { grid-column: 1 / -1; grid-row: 1; }
  .tr-orb { width: min(100%, 34vh, 340px); }
  .tr-live { grid-template-columns: repeat(2, 1fr); }
  .tr-aeh { grid-row: span 2; }
}
@media (max-width: 960px) {
  .tr-hero { grid-template-columns: 1fr; } .tr-hero-r { min-height: 220px; } .tr-hero-r canvas { width: 240px; }
  .tr-how ol { grid-template-columns: repeat(2, 1fr); } .tr-set-g { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .tr { padding: var(--s3) var(--s3) max(var(--s3), env(safe-area-inset-bottom)); gap: var(--s2); overflow: auto; grid-template-rows: auto auto auto auto; }
  .tr-top { grid-template-columns: minmax(0, 1fr) auto; } .tr-seg { grid-column: 1 / -1; grid-row: 2; } .tr-seg i { flex: 1; }
  .tr-title .mt-live { display: none; }
  .tr-main { grid-template-columns: 1fr; gap: var(--s3); }
  .tr-center { grid-row: auto; order: -1; }
  .tr-orb { width: min(64vw, 260px); }
  .tr-task { padding: var(--s4); }
  .tr-live { grid-template-columns: repeat(3, 1fr); }
  .tr-aeh { grid-row: auto; grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s3); }
  .tr-aeh b { font-size: 44px; grid-row: span 2; }
  .tr-pegel { display: none; }
  .tr-card-r { grid-template-columns: 1fr; }
  .tr-r-kpi { justify-content: space-between; }
  .tr-bot { position: sticky; bottom: 0; padding: var(--s2) 0; background: var(--stage); grid-template-columns: auto 1fr auto; }
  .tr-bot .tr-mic { justify-self: center; }
  .tr-ghost { padding: 0 10px; font-size: var(--t-xs); }
  .tr-rep-hero { grid-template-columns: 1fr; }
  .tr-how ol { grid-template-columns: 1fr; }
  .tr-hero { padding: var(--s5); }
}
@media (prefers-reduced-motion: reduce) { .tr-aeh b.pop, .tr-k i, .tr-mic[data-m="hoert"] svg, .mt-rec-p, .tr-rec-p { animation: none; } }
