/* Buchen: Effekte und Oberfläche (nur Optik, keine Buchungslogik). Aus bei "Bewegung reduzieren". */
:root{--fx-gold:#f0b24a;--fx-gold2:#ffd98a;--fx-glut:#ff7a26}

/* Grobkörnige Steinstruktur auf Karten, damit die Flächen nicht wie glatte Software aussehen */
#trafo-booking-page .tb-game-tile,#trafo-booking-page .tb-price-box,#trafo-booking-page .tb-box,#trafo-booking-page .tb-anubis,#trafo-booking-page .tb-day,#trafo-booking-page .tb-dialog-card{
  position:relative;isolation:isolate;
  box-shadow:0 1px 0 rgba(255,217,138,.14) inset,0 -1px 0 rgba(0,0,0,.6) inset,0 22px 50px rgba(0,0,0,.4)}
#trafo-booking-page .tb-game-tile::before,#trafo-booking-page .tb-price-box::before,#trafo-booking-page .tb-box::before,#trafo-booking-page .tb-anubis::before{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:.5;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .85  0 0 0 0 .6  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}

/* Spielkarten: Glanzstreifen, Kippen, leuchtender Rahmen bei Auswahl */
#trafo-booking-page .tb-game-tile{transform:perspective(900px) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg));transition:transform .25s ease-out,border-color .25s,box-shadow .25s;overflow:hidden}
#trafo-booking-page .tb-game-tile::after{content:"";position:absolute;top:-40%;bottom:-40%;width:38%;left:-60%;pointer-events:none;transform:skewX(-18deg);
  background:linear-gradient(90deg,transparent,rgba(255,217,138,.22),transparent);transition:left .7s cubic-bezier(.2,.7,.2,1)}
#trafo-booking-page .tb-game-tile:hover::after{left:130%}
#trafo-booking-page .tb-game-tile.selected{animation:fxring 3.2s ease-in-out infinite}
@keyframes fxring{0%,100%{box-shadow:0 0 0 1px var(--brand) inset,0 20px 60px rgba(255,122,38,.22)}50%{box-shadow:0 0 0 1px var(--fx-gold2) inset,0 20px 90px rgba(255,122,38,.5)}}

/* Überschriften: Gold-Linie zeichnet sich, sobald sie sichtbar werden */
#trafo-booking-page .tb-step-title{position:relative;display:inline-block;padding-bottom:14px}
#trafo-booking-page .tb-step-title::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:linear-gradient(90deg,var(--fx-gold),transparent);transform:scaleX(0);transform-origin:left;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
#trafo-booking-page .tb-step.fx-in .tb-step-title::after{transform:scaleX(1)}

/* Uhrzeiten und Tage: gestaffelt einblenden, freie Zeiten leuchten beim Darüberfahren */
#trafo-booking-page .tb-slot,#trafo-booking-page .tb-day{transition:transform .2s,box-shadow .25s,border-color .25s}
#trafo-booking-page .tb-slot:not([disabled]):hover,#trafo-booking-page .tb-day:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(255,122,38,.3)}
#trafo-booking-page .fx-stagger{animation:fxup .5s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0)*35ms)}
@keyframes fxup{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}

/* Hero: langsame Kamerafahrt, Fackel unter der Maus, Live-Streifen */
.hero .bild{animation:fxzoom 26s ease-in-out infinite alternate}
@keyframes fxzoom{from{transform:scale(1)}to{transform:scale(1.09) translateY(-1.5%)}}
.hero.fx-fackel::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;mix-blend-mode:screen;
  background:radial-gradient(circle 300px at var(--mx,50%) var(--my,40%),rgba(255,160,60,.32),rgba(255,120,30,.1) 45%,transparent 72%);opacity:0;transition:opacity .5s}
.hero.fx-fackel.fx-an::after{opacity:1}
.fx-ticket{display:none;margin:34px auto 0;max-width:760px;padding:18px 26px;border-radius:18px;border:1px solid rgba(240,178,74,.5);
  background:linear-gradient(160deg,rgba(40,22,10,.82),rgba(14,9,6,.86));backdrop-filter:blur(6px);box-shadow:0 0 70px rgba(255,122,38,.22),0 1px 0 rgba(255,217,138,.25) inset;
  align-items:center;gap:22px;text-align:left}
.fx-ticket.an{display:flex;flex-wrap:wrap;justify-content:center}
.fx-ticket .ring{--p:0;flex:none;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--fx-gold2) calc(var(--p)*1%),rgba(255,255,255,.1) 0);position:relative}
.fx-ticket .ring::before{content:"";position:absolute;inset:8px;border-radius:50%;background:#150e08}
.fx-ticket .ring b{position:relative;font:900 30px/1 var(--zier);color:var(--fx-gold2)}
.fx-ticket .txt{flex:1 1 260px;display:grid;gap:4px}
.fx-ticket .txt small{font:800 11px/1 var(--fliess);letter-spacing:.2em;text-transform:uppercase;color:var(--fx-glut)}
.fx-ticket .txt strong{font:900 clamp(19px,2.4vw,26px)/1.15 var(--zier);color:var(--sand)}
.fx-ticket .txt span{font:600 14px/1.4 var(--fliess);color:var(--muted,rgba(244,234,216,.76))}
.fx-ticket .btn{min-height:54px;white-space:nowrap}
.fx-ticket .live{display:inline-block;width:9px;height:9px;border-radius:50%;background:#59d46f;margin-right:8px;vertical-align:1px;animation:fxpuls 2s infinite}
@keyframes fxpuls{70%{box-shadow:0 0 0 10px rgba(89,212,111,0)}0%{box-shadow:0 0 0 0 rgba(89,212,111,.7)}}
@media(max-width:560px){.fx-ticket{padding:16px;gap:14px}.fx-ticket .ring{width:76px;height:76px}.fx-ticket .ring b{font-size:24px}.fx-ticket .btn{width:100%}}

/* Preis-Zahl: kurzer Aufleucht-Effekt beim Wechsel */
#trafo-booking-page .fx-flash{animation:fxflash .7s ease-out}
@keyframes fxflash{0%{text-shadow:0 0 0 rgba(255,217,138,0)}30%{text-shadow:0 0 28px rgba(255,217,138,.95)}100%{text-shadow:0 0 0 rgba(255,217,138,0)}}

@media(prefers-reduced-motion:reduce){
  .hero .bild,#trafo-booking-page .tb-game-tile.selected,.fx-ticket .live{animation:none}
  #trafo-booking-page .fx-stagger{animation:none}
  #trafo-booking-page .tb-step-title::after{transform:scaleX(1);transition:none}
  #trafo-booking-page .tb-game-tile{transform:none}
}
