/* Baustein „Zwei Bildschirme“ (Entwurf A, 04.10.2026) – Gäste-Handy links, zweiter Bildschirm rechts */
.erl-ts { padding-bottom: 0; }
.erl-ts .serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.erl-ts-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-bottom: 56px; }
.erl-ts-hero-text { flex: 999 1 560px; min-width: 0; }
.erl-ts-h1 { margin: 18px 0 0; line-height: 1; }
.erl-ts-h1 .serif { color: var(--bronze); }
.erl-ts-lead { max-width: 560px; margin-top: 24px; }
.erl-ts-names { flex: 1 1 320px; max-width: 420px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(22,20,18,.08); }
.erl-ts-names-row { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.erl-ts-names-row label { flex: 1 1 140px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.erl-ts-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.erl-ts-cap { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.erl-ts-small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.erl-ts-small.center { text-align: center; margin-top: auto; color: var(--ink-2); }
.erl-ts-tiny { font-size: 11px; line-height: 1.4; color: var(--muted); text-align: center; }
.erl-ts-input { width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(22,20,18,.22); border-radius: 12px; background: #fff; font: 500 16px var(--sans); color: var(--ink); }
.erl-ts-input.sm { min-height: 44px; font-size: 15px; }
.erl-ts-input:focus { outline: 2px solid var(--bronze); outline-offset: 1px; }
.erl-ts-area { min-height: 84px; resize: none; line-height: 1.4; }

/* Band mit Stationen */
.erl-ts-band { background: var(--paper-2); border-top: 1px solid rgba(22,20,18,.08); padding: 48px 0 80px; }
.erl-ts-steps { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.erl-ts-step { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid rgba(22,20,18,.16); background: transparent; cursor: pointer; font: 600 14px var(--sans); color: var(--ink-2); transition: background .25s, color .25s, border-color .25s; }
.erl-ts-step:hover { border-color: var(--ink); }
.erl-ts-step .n { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stone); font-size: 12px; font-stretch: 125%; }
.erl-ts-step.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.erl-ts-step.is-on .n, .erl-ts-step.is-done .n { background: var(--bronze); color: #fff; }
.erl-ts-count { margin-left: auto; font-size: 14px; color: var(--ink-2); }
.erl-ts-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; margin-top: 40px; }
.erl-ts-info { flex: 1 1 280px; min-width: 0; max-width: 340px; }
.erl-ts-panel { display: none; }
.erl-ts-panel.is-on { display: block; animation: erlTsRise .5s ease; }
.erl-ts-h2 { margin: 12px 0 0; font-size: clamp(34px, 3.4vw, 44px); line-height: 1.05; }
.erl-ts-text { margin: 16px 0 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.erl-ts-points { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(22,20,18,.14); }
.erl-ts-points ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.erl-ts-points li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.erl-ts-points li::before { content: "✓"; color: var(--bronze); font-weight: 700; }
.erl-ts-hint { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* Handy */
.erl-ts-phonewrap { flex: 0 0 300px; display: flex; justify-content: center; }
.erl-ts-phone { width: 300px; height: 620px; border-radius: 44px; background: var(--ink); padding: 12px; box-sizing: border-box; box-shadow: 0 30px 60px rgba(22,20,18,.28); }
.erl-ts-screen { position: relative; width: 100%; height: 100%; border-radius: 33px; background: var(--paper); overflow: hidden; }
.erl-ts-notch { position: absolute; top: 10px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: var(--ink); z-index: 3; }
.erl-ts-app { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: none; flex-direction: column; gap: 12px; padding: 46px 18px 18px; overflow: hidden; }
.erl-ts-app.is-on { display: flex; }
.erl-ts-flow { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; }
.erl-ts-flow[hidden] { display: none; }
.erl-ts-flow .erl-ts-btn { margin-top: auto; }
.erl-ts-done-part { text-align: center; align-items: center; justify-content: center; }
.erl-ts-done-part .erl-ts-btn { margin-top: 12px; }
.erl-ts-apphead { text-align: center; padding: 6px 0 4px; border-bottom: 1px solid rgba(22,20,18,.12); }
.erl-ts-paar { font-size: 30px; line-height: 1.1; margin-top: 4px; }
.erl-ts-paar.sm { font-size: 24px; margin: 0; }
.erl-ts-apptop { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.erl-ts-field { display: flex; flex-direction: column; gap: 6px; }
.erl-ts-row { display: flex; gap: 8px; }
.erl-ts-chip { flex: 1; min-height: 44px; padding: 0 8px; border-radius: 12px; border: 1px solid rgba(22,20,18,.2); background: #fff; font: 600 13px var(--sans); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.erl-ts-chip.sm { font-size: 12px; padding: 0 4px; }
.erl-ts-chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.erl-ts-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 12px var(--sans); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.erl-ts-btn:hover { background: var(--ink-2); }
.erl-ts-btn.ghost { background: transparent; color: var(--ink); }
.erl-ts-btn.ghost:hover { background: var(--stone); }
.erl-ts-btn[disabled] { opacity: .35; cursor: default; }
.erl-ts-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--bronze); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.erl-ts-badge.dark { background: var(--ink); }
.erl-ts-big { font-size: 30px; line-height: 1.1; }
.erl-ts-darkbox { padding: 12px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.45; }
.erl-ts-hits { display: flex; flex-direction: column; gap: 6px; }
.erl-ts-ans { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(22,20,18,.2); background: #fff; font: 600 14px var(--sans); color: var(--ink); cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.erl-ts-ans strong { width: 18px; flex: none; }
.erl-ts-hits .erl-ts-ans { justify-content: space-between; font-size: 13px; min-height: 44px; }
.erl-ts-ans.is-on { background: var(--ink); color: var(--paper); }
.erl-ts-ans.is-right { background: var(--bronze); color: #fff; border-color: var(--bronze); }
.erl-ts-seat { margin-top: auto; padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--bronze-2); }
.erl-ts-seat[hidden] { display: none; }
.erl-ts-seatrow { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.erl-ts-seatno { font-size: 44px; font-weight: 800; font-stretch: 125%; color: var(--bronze); line-height: 1; }
.erl-ts-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.erl-ts-thumb { aspect-ratio: 1 / 1; padding: 0; border-radius: 12px; overflow: hidden; border: 3px solid transparent; background: var(--stone); cursor: pointer; }
.erl-ts-thumb.is-on { border-color: var(--bronze); }
.erl-ts-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.erl-ts-tags { display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.erl-ts-tags span { padding: 6px 10px; border-radius: 99px; background: var(--stone); }
.erl-ts-tags span.on { background: var(--ink); color: var(--paper); }
.erl-ts-app .erl-ts-btn[data-ts-act="share"], .erl-ts-app .erl-ts-btn[data-ts-act="draw"] { margin-top: auto; }
.erl-ts-buf { padding: 16px; border-radius: 16px; background: var(--stone); color: var(--ink); transition: background .4s, color .4s; }
.erl-ts-buf.is-mine { background: var(--bronze); color: #fff; }
.erl-ts-buf.is-mine .erl-ts-cap { color: rgba(255,255,255,.8); }
.erl-ts-bufmsg { font-size: 26px; line-height: 1.12; margin-top: 4px; }
.erl-ts-drawn { display: flex; flex-direction: column; gap: 6px; font-size: 13px; overflow: hidden; }
.erl-ts-li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #fff; font-size: 13px; }
.erl-ts-li .b { color: #7a5f2e; font-weight: 600; }
.erl-ts-li.new { background: #f6ecd8; outline: 1px solid var(--bronze-2); }
.erl-ts-li.new .b { font-size: 11px; font-weight: 700; }
.erl-ts-li.dim { opacity: .7; }
.erl-ts-li[hidden] { display: none; }
.erl-ts-q { font-size: 24px; line-height: 1.15; }
.erl-ts-answers { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.erl-ts-recrow { display: flex; align-items: center; gap: 12px; }
.erl-ts-rec { flex: none; width: 60px; height: 60px; border-radius: 50%; border: 0; background: #a33a2c; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.erl-ts-rec span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: border-radius .2s; }
.erl-ts-rec.is-rec { animation: erlTsPulse 1s ease-in-out infinite; }
.erl-ts-rec.is-rec span { border-radius: 3px; }
.erl-ts-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 36px; }
.erl-ts-wave span { display: block; width: 4px; height: 4px; border-radius: 2px; background: var(--sand); transition: height .15s ease, background .2s; }
.erl-ts-time { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.erl-ts-mini { min-height: 42px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(22,20,18,.2); background: #fff; font: 600 13px var(--sans); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.erl-ts-mini.grow { flex: 1; }
.erl-ts-tri { width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--ink); }
.erl-ts-mini.is-playing .erl-ts-tri { width: 10px; height: 12px; border: 0; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); box-sizing: border-box; }
.erl-ts-row[hidden], [data-ts-simnote][hidden] { display: none; }

/* Zweiter Bildschirm */
.erl-ts-tvwrap { flex: 999 1 420px; min-width: 0; }
.erl-ts-tvhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.erl-ts-tv { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0e0c0b; padding: 10px; box-sizing: border-box; box-shadow: 0 30px 60px rgba(22,20,18,.25); }
.erl-ts-tvin { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #1c1916; color: var(--paper); container-type: inline-size; }
.erl-ts-stand { width: 22%; height: 18px; margin: 0 auto; background: var(--sand); border-radius: 0 0 6px 6px; }
.erl-ts-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.erl-ts-layer[hidden] { display: none; }
.erl-ts-laptop { background: var(--paper); color: var(--ink); display: flex; }
.erl-ts-side { width: 26%; background: var(--ink); color: var(--paper); padding: 4% 3%; box-sizing: border-box; display: flex; flex-direction: column; gap: 3cqw; font-size: max(11px, 1.6cqw); }
.erl-ts-side .serif { font-size: max(15px, 2.6cqw); line-height: 1.1; }
.erl-ts-side span { opacity: .55; }
.erl-ts-side span.on { opacity: 1; color: #d2b27a; font-weight: 600; }
.erl-ts-list { flex: 1; padding: 3.4% 3.6%; display: flex; flex-direction: column; gap: 1.6cqw; min-width: 0; }
.erl-ts-list .erl-ts-li { font-size: max(10px, 1.55cqw); padding: 1.1cqw 1.6cqw; }
.erl-ts-listhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: max(11px, 1.7cqw); }
.erl-ts-listhead strong { font-size: max(13px, 2.2cqw); }
.erl-ts-listhead b { font-size: max(18px, 3.4cqw); font-stretch: 125%; display: inline-block; }
.erl-ts-foods { margin-top: auto; display: flex; gap: 1.2cqw; }
.erl-ts-foods div { flex: 1; padding: 1.2cqw 1.4cqw; border-radius: 10px; background: var(--stone); display: flex; flex-direction: column; font-size: max(10px, 1.5cqw); color: var(--muted); }
.erl-ts-foods b { color: var(--ink); font-size: max(14px, 2.4cqw); font-stretch: 125%; display: inline-block; }
.erl-ts-plan { background: var(--paper); }
.erl-ts-plantitle { position: absolute; top: 3%; left: 3%; color: var(--ink); font-weight: 700; font-size: max(11px, 1.8cqw); z-index: 1; }
.erl-ts-planhint { position: absolute; top: 3%; right: 3%; color: var(--muted); font-size: max(10px, 1.5cqw); z-index: 1; }
.erl-ts-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.erl-ts-svg text { font-family: var(--sans); }
.erl-ts-svg polyline { transition: opacity .5s; }
.erl-ts-table { position: absolute; width: 8.75%; aspect-ratio: 1 / 1; margin-left: -4.375%; margin-top: -4.375%; border-radius: 50%; background: #fff; border: 1px solid var(--sand); color: var(--ink-2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: max(10px, 1.8cqw); transition: background .4s, color .4s, border-color .4s; }
.erl-ts-table.is-on { background: var(--bronze); border-color: var(--bronze); color: #fff; animation: erlTsPop .5s cubic-bezier(.2,1.4,.4,1); }
.erl-ts-night { background: #1c1916; }
.erl-ts-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.erl-ts-slide.is-on { opacity: 1; }
.erl-ts-shade { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(14,12,11,.1) 40%, rgba(14,12,11,.85) 100%); }
.erl-ts-mono { position: absolute; left: 3.4%; top: 4%; display: flex; align-items: center; gap: 1.4cqw; z-index: 1; }
.erl-ts-mono .serif { width: max(30px, 5.4cqw); height: max(30px, 5.4cqw); border-radius: 50%; border: 1px solid rgba(243,240,234,.5); display: flex; align-items: center; justify-content: center; font-size: max(11px, 1.8cqw); }
.erl-ts-mono em { font-style: normal; font-size: max(9px, 1.6cqw); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.erl-ts-clock { position: absolute; right: 3.4%; top: 3.4%; text-align: right; z-index: 1; display: flex; flex-direction: column; }
.erl-ts-clock b { font-size: max(18px, 4.4cqw); font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1.1; }
.erl-ts-clock span { font-size: max(10px, 1.7cqw); opacity: .75; }
.erl-ts-ov { position: absolute; left: 3.4%; right: 3.4%; bottom: 4%; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.erl-ts-ov[hidden] { display: none; }
.erl-ts-ov.full { top: 0; left: 0; right: 0; bottom: 0; padding: 15% 5% 4%; box-sizing: border-box; background: rgba(14,12,11,.9); flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 2.2cqw; }
.erl-ts-ov.full.left { align-items: stretch; text-align: left; justify-content: flex-end; }
.erl-ts-kick { font-size: max(9px, 1.7cqw); letter-spacing: .14em; text-transform: uppercase; color: #d2b27a; }
.erl-ts-ovtitle { font-size: max(18px, 4.2cqw); line-height: 1.1; margin-top: .6cqw; }
.erl-ts-ovtext { font-size: max(11px, 2.1cqw); opacity: .85; max-width: 60cqw; }
.erl-ts-qr { text-align: center; font-size: max(9px, 1.5cqw); flex: none; }
.erl-ts-qr i { display: block; width: max(36px, 7.6cqw); aspect-ratio: 1 / 1; margin-bottom: 4px; border-radius: 6px; background: #f3f0ea; background-image: repeating-linear-gradient(90deg, #161412 0 14%, transparent 14% 28%), repeating-linear-gradient(0deg, #161412 0 14%, transparent 14% 28%); background-blend-mode: multiply; border: 4px solid #f3f0ea; box-sizing: border-box; }
.erl-ts-roll { font-size: max(26px, 7cqw); font-weight: 800; font-stretch: 125%; line-height: 1; color: #d2b27a; transition: color .2s; }
.erl-ts-roll.is-rolling { color: var(--paper); }
.erl-ts-rollsub { font-size: max(11px, 2cqw); opacity: .8; }
.erl-ts-lot { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.erl-ts-lot span { padding: .7cqw 1.5cqw; border-radius: 99px; font-size: max(9px, 1.7cqw); background: rgba(243,240,234,.1); color: #e9e3d8; transition: background .3s; }
.erl-ts-lot span.done { background: var(--bronze); color: #fff; }
.erl-ts-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2cqw; margin-top: 1cqw; }
.erl-ts-bar { position: relative; height: max(26px, 5.2cqw); border-radius: 8px; background: rgba(243,240,234,.12); overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 1.8cqw; font-size: max(10px, 2cqw); }
.erl-ts-bar i { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--bronze); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.erl-ts-bar i.is-win { background: #d2b27a; }
.erl-ts-bar span, .erl-ts-bar em { position: relative; font-style: normal; }
.erl-ts-count-big { font-size: max(40px, 13cqw); font-weight: 800; font-stretch: 125%; line-height: 1; }
.erl-ts-pill { font-size: max(10px, 1.9cqw); padding: 1cqw 2cqw; border-radius: 99px; background: rgba(210,178,122,.18); color: #d2b27a; }
.erl-ts-pill[hidden] { display: none; }

/* Abschluss */
.erl-ts-final { margin-top: 48px; padding: 28px 32px; border-radius: 20px; background: var(--ink); color: var(--paper); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.erl-ts-final[hidden] { display: none; }
.erl-ts-finaltitle { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-top: 6px; }
.erl-ts-final .btn { color: var(--paper); border-color: var(--bronze-2); }

/* Bewegung */
.erl-ts-pop { animation: erlTsPop .5s cubic-bezier(.2,1.4,.4,1); }
.erl-ts-rise { animation: erlTsRise .6s ease; }
@keyframes erlTsPop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes erlTsRise { 0% { transform: translateY(14px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes erlTsPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .erl-ts *, .erl-ts *::before { animation: none !important; transition: none !important; }
}

/* Handy-Breite: Text oben, Handy, dann Bildschirm; Stationen als waagerechte Leiste */
@media (max-width: 760px) {
  .erl-ts-hero { gap: 28px; padding-bottom: 40px; }
  .erl-ts-names { max-width: none; }
  .erl-ts-band { padding: 28px 0 56px; }
  .erl-ts-steps { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--pad, 20px) * -1); padding: 0 var(--pad, 20px) 6px; scrollbar-width: none; }
  .erl-ts-steps::-webkit-scrollbar { display: none; }
  .erl-ts-step { flex: none; }
  .erl-ts-count { flex: none; margin-left: 8px; white-space: nowrap; }
  .erl-ts-grid { gap: 28px; margin-top: 24px; }
  .erl-ts-info { max-width: none; }
  /* Leinwand über dem Handy und beim Scrollen oben stehen lassen – so sieht man die Reaktion beim Tippen */
  .erl-ts-tvwrap { flex: 1 1 100%; order: 1; position: sticky; top: calc(var(--header-h, 64px) + 6px); z-index: 3; background: var(--paper-2); padding: 6px 0 10px; }
  .erl-ts-tvhead { margin-bottom: 6px; }
  .erl-ts-stand { display: none; }
  .erl-ts-tv { box-shadow: 0 12px 30px rgba(22,20,18,.25); }
  .erl-ts-phonewrap { flex: 1 1 100%; order: 2; }
  .erl-ts-phone { height: 560px; }
  .erl-ts-final { padding: 22px; }
}
@media (max-width: 360px) {
  .erl-ts-phone { width: 280px; height: 590px; }
  .erl-ts-phonewrap { flex-basis: 280px; }
}
