/* V61 - Opt-in fuer Nutzer mit prefers-reduced-motion:reduce.
   Normale Browser und alle Layouts ohne Opt-in bleiben unberuehrt.
   Die Browser-Einstellung wird NICHT ueberschrieben; nur bewusst gewaehlte
   Effekte werden innerhalb dieses Kalenders lokal aktiviert. */
.adv-motion-switch-v61 {
  position:fixed !important;right:max(12px,env(safe-area-inset-right,0px)) !important;
  bottom:max(14px,env(safe-area-inset-bottom,0px)) !important;
  z-index:200 !important;
  border:2px solid #fff4bf !important; border-radius:12px 0 12px 12px !important;
  padding:10px 14px !important; min-height:44px !important;
  background:#cb1b6f !important;color:#fff !important;
  font:700 13px/1.35 Arial,Helvetica,sans-serif !important;
  box-shadow:0 6px 20px #0009 !important;
  cursor:pointer !important;white-space:normal !important;
  max-width:min(220px,70vw) !important;
}
.adv-motion-switch-v61:focus-visible {outline:3px solid #ffdc65 !important;outline-offset:3px !important;}
@media (prefers-reduced-motion:reduce) {
  /* Globale .001ms-Reduktion aus calendar.css nur bei freiwilligem Opt-in ueberstimmen. */
  html.adv-motion-enabled .snow-layer {display:block !important;visibility:visible !important;}
  html.adv-motion-enabled .snowflake {
    animation-name:snowfall !important;
    animation-duration:var(--adv-fall-duration,10s) !important;
    animation-timing-function:linear !important;
    animation-iteration-count:1 !important;
    animation-fill-mode:forwards !important;
  }
  /* Kugeln koennen auch dann schwingen, wenn der Browser reduziert melden soll. */
  html.adv-motion-enabled body.theme-extra .tree-stage.tree-ready .tree-door:is(:hover,:focus-within),
  html.adv-motion-enabled body.theme-extra .tree-stage.tree-ready .tree-door.is-touch-swing {
    animation-name:advV24HangingSwing !important;
    animation-duration:var(--sway-time,1.12s) !important;
    animation-timing-function:ease-in-out !important;
    animation-iteration-count:1 !important;
    animation-fill-mode:none !important;
    z-index:12 !important;
  }
  html.adv-motion-enabled body.theme-extra .christmas-railway .railway-train,
  html.adv-motion-enabled body.theme-extra .christmas-railway .train-vehicles {
    display:inline !important;
    visibility:visible !important;
  }
  html.adv-motion-enabled body.theme-extra .christmas-railway .steam {
    animation:trainSteam 2.2s ease-in-out infinite alternate !important;
  }
  html.adv-motion-enabled body.theme-extra4 .christmas-railway .dog-head {
    animation:x4DogNod 2.2s ease-in-out infinite alternate !important;
  }
  html.adv-motion-enabled body.theme-extra4 .christmas-railway .dog-tail {
    animation:x4DogTail .5s ease-in-out infinite alternate !important;
  }
  /* Winterlandschafts-Animationen optional ebenfalls wiederherstellen. */
  html.adv-motion-enabled body .winter-wimmel-stage .winter-door.is-winter-tapped {
    animation-duration:.55s !important;
  }
}
