/* Drei Vorschau-Effekte auf der aktuellen Startseite. */
.fx-w  { display: inline-block; overflow: hidden; vertical-align: bottom;
         padding-bottom: .12em; margin-bottom: -.12em; }
.fx-wi { display: inline-block; transform: translateY(105%); opacity: 0; }
.fx-zeigen .fx-wi { transform: none; opacity: 1;
         transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease;
         transition-delay: calc(var(--i, 0) * 55ms + 120ms); }


@media (prefers-reduced-motion: no-preference) {
  .fx-bild:not(.fx-offen) { opacity: .22; }
  .fx-bild.fx-offen { animation: fx-einblenden .75s ease-out; }
  @keyframes fx-einblenden { from { opacity: .22; } }

  #film.fx-buehne {
    clip-path: inset(0 var(--fx-rand, 0px) round var(--fx-rund, 0px));
  }
  #film.fx-voll { clip-path: none; }
}


.fx-schalter {
  position: fixed; left: 16px; bottom: 16px; z-index: 2147483000;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(18,18,20,.88); color: #fff; font: 600 13px/1.2 var(--font, sans-serif);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
}
.fx-schalter i { width: 34px; height: 20px; border-radius: 20px; background: #555; position: relative; transition: background .25s; }
.fx-schalter i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s; }
.fx-schalter[aria-pressed="true"] i { background: #e1001a; }
.fx-schalter[aria-pressed="true"] i::after { transform: translateX(14px); }

@media (prefers-reduced-motion: reduce) {
  .fx-wi, .fx-zeigen .fx-wi { transform: none; opacity: 1; transition: none; }
}

@media print {
  .fx-wi, .fx-zeigen .fx-wi { transform: none; opacity: 1; transition: none; }
  .fx-bild, .fx-bild:not(.fx-offen), .fx-bild.fx-offen { opacity: 1; animation: none; }
}
