/* Teaser „NextGen Strikes and Egress“ (public/teaser/teaser.js): Vollbild über Start- bzw. Bestellseite, nach der Anmeldung
   einmal pro Sitzung. Alle Namen mit at- bzw. asia-teaser, damit nichts in die Seite durchschlägt. Bewusst nur dunkel. */
/* Vorhang bis zum Teaser (Klasse vor-teaser, im Seitenkopf gesetzt): Seite dunkel und unsichtbar, nur der Teaser darf sich zeigen */
html.vor-teaser, html.vor-teaser body { background: #01030a; }
html.vor-teaser body > :not(.asia-teaser) { visibility: hidden; }
.asia-teaser { visibility: visible; }
.asia-teaser { position: fixed; inset: 0; z-index: 2000; overflow: hidden; color: #fff; cursor: default; user-select: none;
  font-family: Figtree, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; transition: opacity .5s;
  background: radial-gradient(ellipse at 50% 48%, #0b1d47 0%, #040a1e 60%, #01030a 100%); }
.asia-teaser.weg { opacity: 0; }
.asia-teaser.at-bereit { cursor: pointer; }
/* Nach dem Durchlauf: Hinweis, dass ein Klick weiterführt */
.at-weiter { position: absolute; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom)); text-align: center; font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1rem);
  letter-spacing: .24em; text-transform: uppercase; color: #e8fbff; text-shadow: 0 0 12px #09c3f1; animation: at-weiter-ein .8s ease-out both, at-atmen 2.2s ease-in-out .8s infinite; }
@keyframes at-weiter-ein { from { opacity: 0; transform: translateY(8px); } }
/* nur für Admins: dezent oben rechts, solange der Teaser läuft */
.at-ueberspringen { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 18px; font-weight: 700; font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(232, 251, 255, .7); animation: at-weiter-ein .8s ease-out both; pointer-events: none; }
@keyframes at-atmen { 50% { opacity: .55; } }
.asia-teaser canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Texte */
.at-next { font-weight: 800; letter-spacing: .02em; color: #b9f1ff; text-shadow: 0 0 18px rgba(9,195,241,.8); font-size: clamp(1.1rem, 2.6vw, 2rem); }
.at-titel { margin: 0; font-weight: 900; line-height: .92; letter-spacing: -.02em; font-size: clamp(2.5rem, 8.4vw, 7rem); text-wrap: balance;
  background: linear-gradient(180deg, #fff 0%, #dff7ff 45%, #7fe3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(9,195,241,.55)); }
.at-bald { font-weight: 700; letter-spacing: .38em; text-transform: uppercase; color: #ffe9a8; text-shadow: 0 0 6px #ffcf4d, 0 0 22px #ff9f1c; font-size: clamp(.85rem, 1.8vw, 1.3rem); }
.at-saeulen { display: flex; gap: .4em 1.4em; flex-wrap: wrap; justify-content: center; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #b9f1ff; font-size: clamp(.75rem, 1.5vw, 1rem); }
.at-saeulen span { text-shadow: 0 0 14px rgba(9,195,241,.9); }
.at-saeulen i { font-style: normal; color: #09c3f1; }
.at-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.at-fortschritt { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #09c3f1, #ffe9a8); box-shadow: 0 0 10px #09c3f1;
  animation: at-fuellen var(--dauer, 14s) linear forwards; }
@keyframes at-fuellen { to { width: 100%; } }

/* Art „warp“: Wörter fliegen an der Kamera vorbei; danach die Fallblatt-Anzeigetafel (wächst aus der Tür heraus) */
.at-flug { position: absolute; left: 50%; top: 46%; font-weight: 900; font-size: clamp(2rem, 8vw, 6rem); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-shadow: 0 0 18px #09c3f1, 0 0 40px rgba(9,195,241,.7); opacity: 0; white-space: nowrap; pointer-events: none; will-change: transform, opacity, filter; }
.at-tafel { position: absolute; left: 50%; top: 47%; translate: -50% -50%; width: max-content; max-width: calc(100vw - 20px); display: grid; gap: clamp(8px, 1.6vh, 16px); justify-items: center;
  padding: clamp(14px, 2.4vw, 30px) clamp(10px, 2.2vw, 36px); font-family: Orbitron, Figtree, sans-serif;
  background: #050b1f; border: 2px solid #1d3466; border-radius: 14px; box-shadow: 0 0 40px rgba(9,195,241,.28), inset 0 0 30px rgba(0,0,0,.6);
  transition: transform 1.3s cubic-bezier(.6,0,.2,1), background-color 1.1s ease, box-shadow 1.2s; }
.at-tafel[hidden] { display: none; }
.at-tafel.at-hellweiss { background-color: #e8fbff; box-shadow: 0 0 80px rgba(255,255,255,.9); }
.at-tafel.at-hellweiss .at-zeile { opacity: 0; }
.at-zeile { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(8px, 1.6vw, 20px); transition: opacity .6s .5s; }
.at-wort { display: flex; gap: 2px; }
.at-zeile b { display: inline-grid; place-items: center; position: relative; overflow: hidden; perspective: 140px; opacity: 0; border-radius: 4px;
  width: clamp(15px, 2.6vw, 30px); height: clamp(22px, 3.6vw, 42px); font-weight: 700; font-size: clamp(.75rem, 1.9vw, 1.4rem);
  color: #ffe9a8; text-shadow: 0 0 8px #ff9f1c;
  background: linear-gradient(180deg, #13244f 0%, #0d1a3d 49%, #050c22 51%, #0b1838 100%); box-shadow: inset 0 0 0 1px rgba(127,227,255,.18), 0 2px 6px rgba(0,0,0,.5); }
.at-zeile b.at-an { opacity: 1; }
.at-zeile b::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.75); }   /* Trennfuge des Blatts */
.at-zeile b.at-klapp::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 50%; transform-origin: bottom;
  background: linear-gradient(180deg, #1f3670, #0f1f47); border-bottom: 1px solid #000; animation: at-klapp .14s ease-in forwards; }
@keyframes at-klapp { from { transform: rotateX(0); } to { transform: rotateX(-90deg); filter: brightness(.5); } }
.at-zeile.next b { color: #7fe3ff; text-shadow: 0 0 8px #09c3f1; }
.at-zeile.gross b { width: clamp(16px, 4.3vw, 56px); height: clamp(26px, 6.4vw, 78px); font-size: clamp(.85rem, 3.2vw, 2.5rem); font-weight: 900; color: #fff; text-shadow: 0 0 12px rgba(9,195,241,.9); }
.at-zeile.klein b { color: #b9f1ff; text-shadow: 0 0 8px #09c3f1; width: clamp(12px, 2vw, 22px); height: clamp(18px, 2.8vw, 32px); font-size: clamp(.6rem, 1.4vw, 1rem); }
.at-tafel.at-steht .at-zeile.gross b { animation: at-glimmen 2.4s ease-in-out infinite; }
@keyframes at-glimmen { 50% { text-shadow: 0 0 22px #09c3f1, 0 0 6px #fff; color: #e8fbff; } }
.at-leds { display: flex; gap: 8px; }
.at-leds i { width: 8px; height: 8px; border-radius: 50%; background: #1d3466; }
.at-tafel.at-steht .at-leds i { background: #ffcf4d; box-shadow: 0 0 8px #ff9f1c; animation: at-led 1.2s ease-in-out infinite; }
.at-tafel.at-steht .at-leds i:nth-child(2) { animation-delay: .15s; } .at-tafel.at-steht .at-leds i:nth-child(3) { animation-delay: .3s; }
.at-tafel.at-steht .at-leds i:nth-child(4) { animation-delay: .45s; } .at-tafel.at-steht .at-leds i:nth-child(5) { animation-delay: .6s; }
@keyframes at-led { 50% { opacity: .25; } }
@media (max-width: 700px) {
  .at-tafel { max-width: calc(100vw - 32px); padding: 12px 8px; }
  .at-zeile.gross b { width: 25px; height: 36px; font-size: 1.15rem; }
  .at-zeile.klein b { width: 12px; height: 18px; font-size: .58rem; }
}

/* Text unter der Teilchenschrift (Partikel und Warp) */
.at-unter { position: absolute; left: 0; right: 0; display: grid; justify-items: center; gap: 1rem; padding: 0 16px; text-align: center; }
.at-unter > * { opacity: 0; transform: translateY(10px); transition: opacity 1.4s, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.at-unter > .at-an { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .asia-teaser *, .asia-teaser { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
