/* Lehrzeug Traumreise (Lehrzeug 1.9.2) */
.tr-quick { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c-lila) 12%, var(--surface)); }
.tr-quick-t { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); } .tr-quick-t b { color: var(--ink); }
.tr-seg { width: 100%; }
.tr-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tr-chip { padding: 6px 12px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.tr-chip[aria-pressed="true"] { background: var(--c-lila); border-color: var(--c-lila); color: #fff; }
.tr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 560px; overflow: auto; padding-right: 2px; }
.tr-list li { position: relative; }
.tr-card { width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; text-align: left; border: 2px solid var(--line-2); border-radius: 14px; background: var(--surface-2); color: var(--ink); font: inherit; cursor: pointer; }
.tr-card:hover { border-color: var(--c-lila); }
.tr-card.is-on { border-color: var(--c-lila); box-shadow: inset 0 0 0 1px var(--c-lila); background: color-mix(in srgb, var(--c-lila) 8%, var(--surface)); }
.tr-th { display: block; width: 92px; height: 52px; border-radius: 9px; overflow: hidden; }
.tr-th svg { display: block; width: 100%; height: 100%; }
.tr-ct { display: grid; gap: 1px; line-height: 1.3; min-width: 0; padding-right: 26px; }
.tr-ct b { font-size: 14.5px; } .tr-ct small { font-size: 12.5px; color: var(--ink-2); } .tr-ct em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.tr-del { position: absolute; right: 8px; top: 8px; }
.tr-none { font-size: 14px; color: var(--ink-3); padding: 8px; }
.tr-opts { display: grid; gap: 2px; margin-bottom: 8px; }
.tr-safe { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; font-size: 13px; color: var(--ink-3); } .tr-safe .i { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--teal-ink); }
.tr-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tr-views { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--sunken); }
.tr-view { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tr-view .i { width: 17px; height: 17px; }
.tr-view[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.tr-sum { font-size: 13.5px; color: var(--ink-3); }
/* Bühne */
.tr-stage { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 16px; overflow: hidden; background: #1E3A5F; color: #fff; outline: none; }
.tr-stage:focus-visible { box-shadow: 0 0 0 3px var(--focus); }
.tr-stage:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.tr-bg { position: absolute; inset: 0; }
.tr-bg svg { display: block; width: 100%; height: 100%; }
.tr-regie { position: absolute; left: 3%; top: 4%; right: 3%; margin: 0; font-size: clamp(11px, 1.3vw, 18px); color: rgba(255, 255, 255, .78); font-style: italic; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.tr-stage:fullscreen .tr-regie { font-size: 1.4vw; }
.tr-band { position: absolute; left: 5%; right: 5%; bottom: 17%; padding: 2.2% 3%; border-radius: 18px; background: rgba(8, 14, 38, .48); transition: opacity .8s; }
.tr-band.is-title { bottom: 38%; background: rgba(8, 14, 38, .35); text-align: center; }
.tr-band[hidden] { display: none; }
.tr-line { margin: 0; font-size: clamp(16px, 2.3vw, 34px); line-height: 1.4; font-weight: 500; text-shadow: 0 1px 4px rgba(0, 0, 0, .45); }
.tr-band.is-title .tr-line { font-size: clamp(22px, 3.4vw, 52px); font-weight: 700; }
.tr-stage:fullscreen .tr-line { font-size: 3vw; }
.tr-stage:fullscreen .tr-band.is-title .tr-line { font-size: 4.4vw; }
.tr-stage.is-hell .tr-band { background: rgba(255, 255, 255, .6); color: #0B1B3F; }
.tr-stage.is-hell .tr-line { text-shadow: none; }
.tr-stage.is-hell .tr-regie { color: rgba(11, 27, 63, .75); text-shadow: none; }
.tr-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .15); }
.tr-prog i { display: block; height: 100%; width: 0; background: rgba(255, 255, 255, .7); transition: width 1s linear; }
.tr-ctl { position: absolute; left: 50%; bottom: 3.2%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 99px; background: rgba(8, 14, 38, .45); opacity: .35; transition: opacity .3s; }
.tr-stage:hover .tr-ctl, .tr-stage:focus-within .tr-ctl { opacity: 1; }
.tr-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.tr-btn:hover { background: rgba(255, 255, 255, .28); }
.tr-btn .i { width: 19px; height: 19px; }
.tr-play { width: 46px; height: 46px; background: rgba(255, 255, 255, .26); }
.tr-time { min-width: 86px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .9); }
.tr-keys { margin-top: 8px; }
/* Atemkreis: 4 Sekunden ein, 6 Sekunden aus */
.tr-stage.is-atem .tr-atemkreis { transform-box: fill-box; transform-origin: center; animation: tr-atem 10s ease-in-out infinite; }
@keyframes tr-atem { 0% { transform: scale(.55); } 40% { transform: scale(1.18); } 100% { transform: scale(.55); } }
@media (prefers-reduced-motion: reduce) { .tr-stage.is-atem .tr-atemkreis { animation: none; } }
/* Vorlesetext */
.tr-textbtns { margin-bottom: 12px; }
.tr-script { background: var(--sunken); border-radius: 16px; padding: 18px; max-height: calc(100vh - 220px); overflow: auto; }
.tr-sheet { background: #fff; color: #071B4A; padding: 12mm 14mm 16mm; font-family: var(--font); font-size: 11.5pt; line-height: 1.55; max-width: 210mm; margin: 0 auto; }
.tr-sheet h1 { font-size: 20pt; margin: 0 0 1mm; }
.tr-meta { margin: 0 0 3mm; color: #4A5468; font-size: 10pt; }
.tr-note { margin: 0 0 5mm; padding: 2.4mm 3mm; background: #F1F4FA; border-radius: 2mm; font-size: 9.5pt; color: #2B3A55; }
.tr-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.4mm; }
.tr-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4mm; align-items: baseline; break-inside: avoid; }
.tr-lines li.is-r { color: #5B4FA8; font-size: 10pt; }
.tr-p { font-weight: 500; font-size: 8.5pt; color: #8A93A6; white-space: nowrap; }
.tr-learn { margin: 26px 0 18px; } .tr-h2 { margin: 0 0 12px; font-size: 22px; }
.tr-tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tr-tips li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.tr-tips .i { width: 20px; height: 20px; color: var(--c-lila); }
@media (max-width: 700px) { .tr-tips { grid-template-columns: minmax(0, 1fr); } .tr-ctl { gap: 2px; } .tr-time { min-width: 60px; } }
