/* Geschichte „Wieder in der Reihe.“ (musik/wieder-im-chor), Faden musikalischer-weg.
   Szene: zwei Säle im Wechsel. Kopfbild: drei Reihen Köpfe im Licht von oben, einer golden. Die Saalbilder stehen auf
   dunklem Grund mit goldenen Linien (lesbar bei Tag und Abend); der Chor leuchtet. Ohne Skript stehen beide Säle
   nebeneinander, mit Skript zeigt der Umschalter einen. Text folgt dem Licht des Raums Musik.
   Bewegung nur mit .lebt am <html>. Alle Selektoren unter .reihe. */
.reihe{position:relative;max-width:1180px;margin:auto;padding:clamp(100px,12vw,160px) clamp(20px,6vw,84px) 80px;
  --gold:#e3b866;--gold-hell:#f6d79a;--saal:#141a33;--saal-tief:#0c1024;--saal-linie:#c9a467}
.reihe h2{font-size:clamp(2.5rem,5.4vw,4.6rem);line-height:1.06;margin-bottom:1.2rem}
.reihe h3{font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.2;margin:0 0 .8rem}
.reihe p{line-height:1.8}
.reihe__intro{font-size:clamp(1.12rem,1.8vw,1.3rem);line-height:1.7;max-width:40rem}
.reihe__notiz{font-size:.9rem;opacity:.8}
.reihe details{border-top:1px solid #8886;padding:1rem 0;max-width:46rem}
.reihe details:first-of-type{margin-top:clamp(3rem,7vw,5rem)}
.reihe summary{cursor:pointer}
.reihe figure{margin:0}
.reihe figcaption{font-size:.85rem;color:var(--leise);margin-top:.8rem;line-height:1.5}

/* Kopf: Text und das Licht von oben */
.reihe__kopf{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(1.5rem,4vw,4rem);align-items:center}
.reihe__licht svg{display:block;width:100%;height:auto;border-radius:14px;
  background:radial-gradient(ellipse 60% 70% at 50% 0%,#2a2547,var(--saal-tief) 75%);box-shadow:0 24px 60px -30px #000}
.reihe__licht figcaption{text-align:center}
.reihe .kopf path,.reihe .kopf circle{fill:#3a3656;stroke:#5b5478;stroke-width:1}
.reihe .kopf--ich path,.reihe .kopf--ich circle{fill:var(--gold);stroke:var(--gold-hell)}
.reihe .kopf--ich{filter:drop-shadow(0 0 6px #f6d79a99)}
.lebt .reihe__kegel{animation:reihe-licht 9s ease-in-out infinite alternate}
@keyframes reihe-licht{from{opacity:.6}to{opacity:1}}

/* Stufen: Text allein, abwechselnd links und rechts, davor eine kleine Glocke aus Gold */
.reihe .stufe{max-width:40rem;margin-top:clamp(3.5rem,8vw,6rem)}
.reihe .stufe--rechts{margin-left:auto}
.reihe .stufe__zeile{display:inline-flex;align-items:center;gap:.7em;font:800 .78rem/1.3 var(--sans,Nunito,sans-serif);letter-spacing:.16em;text-transform:uppercase;color:var(--warm);margin:0 0 .8rem}
.reihe .stufe__zeile::before{content:"";width:.9em;height:.9em;flex:none;background:var(--licht,var(--gold));
  clip-path:polygon(50% 0,64% 10%,70% 40%,84% 78%,100% 86%,0 86%,16% 78%,30% 40%,36% 10%);border-radius:2px}

/* Zwei Säle */
.reihe .saele{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(1.5rem,4vw,4rem);align-items:center;margin-top:clamp(4rem,9vw,7rem)}
.reihe .saele__bilder{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.reihe .saal svg{display:block;width:100%;height:auto;border-radius:12px;box-shadow:0 0 0 1px #c9a46733,0 24px 60px -30px #000}
.reihe .saele.bereit .saele__bilder{grid-template-columns:1fr}
.reihe .saele.bereit .saal[hidden]{display:none}
.reihe .saele__bedienung{display:inline-flex;margin:1.2rem 0 0;border:1px solid var(--licht,var(--gold));border-radius:999px;padding:3px}
.reihe .saele__bedienung button{font:700 .95rem var(--sans,Nunito,sans-serif);color:inherit;background:none;border:0;border-radius:999px;padding:.5rem 1.1rem;cursor:pointer}
.reihe .saele__bedienung button[aria-pressed="true"]{background:var(--licht,var(--gold));color:#1b1426}
.reihe .saele__bedienung button:focus-visible{outline:2px solid var(--warm);outline-offset:2px}
.reihe .saele__status{grid-column:1/-1;margin:0;font-size:.9rem;color:var(--leise)}
.reihe .saele__status[hidden]{display:none}

/* Zeichnung der Säle: dunkler Grund, goldene Linien */
.reihe .s__grund{fill:var(--saal)}
.reihe .s__wand{fill:var(--saal-tief);stroke:var(--saal-linie);stroke-width:1.6}
.reihe .s__linie{fill:none;stroke:var(--saal-linie);stroke-width:1.2}
.reihe .s__fein{fill:none;stroke:#c9a46799;stroke-width:.8}
.reihe .s__saeule{fill:#c9a4671f;stroke:#c9a46766;stroke-width:.8}
.reihe .s__lueste{fill:var(--gold-hell)}
.reihe .s__glanz{fill:#f6d79a22}
.reihe .s__pfeife{fill:#c9a4672e;stroke:var(--saal-linie);stroke-width:.9}
.reihe .s__podium{fill:#3a2d22;stroke:var(--saal-linie);stroke-width:1.2}
.reihe .s__terrasse{fill:#22284a;stroke:#c9a46780;stroke-width:1}
.reihe .s__terrasse--chor{fill:#3a2d22;stroke:var(--saal-linie)}
.reihe .s__orch{fill:#b9a993}
.reihe .s__pub{fill:#6d6a8a}
.reihe .s__chor circle{fill:var(--gold);filter:drop-shadow(0 0 3px #f6d79acc)}
.reihe .s__ring{fill:none;stroke:#fff3d6;stroke-width:1.4}
.reihe .s__t{fill:#e9dcc4;font:600 10px Nunito,system-ui,sans-serif}
.reihe .s__t--m{text-anchor:middle}
.reihe .s__t--e{text-anchor:end}
.lebt .reihe .saal.leuchtet .s__chor circle{animation:reihe-chor 1.6s ease-out}
@keyframes reihe-chor{0%{fill:#fff3d6;filter:drop-shadow(0 0 9px #fff3d6)}100%{fill:var(--gold);filter:drop-shadow(0 0 3px #f6d79acc)}}

/* Schluss */
.reihe__schluss{max-width:40rem;margin:clamp(4rem,9vw,7rem) auto 0;text-align:center}
.reihe__satz{font-size:clamp(1.25rem,2.4vw,1.6rem);line-height:1.5;font-weight:700;color:var(--warm);margin-top:1.4rem}
.reihe__schluss::before{content:"";display:block;width:2px;height:clamp(3rem,7vw,5rem);margin:0 auto 1.6rem;background:linear-gradient(transparent,var(--licht,var(--gold)))}

@media (max-width:860px){
  .reihe__kopf,.reihe .saele{grid-template-columns:1fr}
  .reihe .saele__bilder{grid-template-columns:1fr}
  .reihe .stufe--rechts{margin-left:0}
}
@media print{
  .reihe .saele__bedienung{display:none}
  .reihe .saele.bereit .saal[hidden]{display:block}
}
