/* Churer Fasnacht / WAS WETSCH?! — isolated UI component.
   No global selectors, fonts or HOME scroll-controller changes. */
.cfw-root{--cfw-red:#cc1715;position:fixed;inset:0;z-index:10050;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .2s ease,visibility 0s linear .2s;isolation:isolate}
.cfw-root.is-open{visibility:visible;opacity:1;transition:opacity .2s ease,visibility 0s}
.cfw-panel{position:absolute;width:min(48vw,710px);max-height:85svh;aspect-ratio:1292/1218;right:5vw;top:50%;transform:translate3d(60px,-50%,0) scale(.89) rotate(4deg);transform-origin:65% 55%;opacity:0;pointer-events:auto;filter:drop-shadow(0 17px 24px rgba(0,0,0,.12));}
.cfw-root.is-open .cfw-panel{animation:cfw-enter .55s cubic-bezier(.18,.85,.2,1.15) both}
.cfw-root.is-closing .cfw-panel{animation:cfw-exit .23s ease-in forwards}
@keyframes cfw-enter{0%{opacity:0;transform:translate3d(85px,-50%,0) scale(.87) rotate(5deg)}65%{opacity:1;transform:translate3d(-8px,-50%,0) scale(1.023) rotate(-.45deg)}100%{opacity:1;transform:translate3d(0,-50%,0) scale(1) rotate(0)}}
@keyframes cfw-exit{0%{opacity:1;transform:translate3d(0,-50%,0) scale(1)}100%{opacity:0;transform:translate3d(75px,-50%,0) scale(.94)}}
.cfw-frame{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.cfw-choice{position:absolute;display:block;border:0;padding:0;margin:0;background:transparent;color:inherit;cursor:pointer;transform-origin:50% 50%;transform:scale(1);transition:transform .2s cubic-bezier(.2,.8,.2,1),filter .2s ease;outline:none;touch-action:manipulation}
.cfw-choice img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none;-webkit-user-drag:none;transition:opacity .18s ease}
.cfw-choice .cfw-active-art{position:absolute;inset:0;opacity:0;transition:opacity .18s ease}
@media (hover:hover) and (pointer:fine){.cfw-choice:hover{transform:scale(1.045);filter:drop-shadow(0 0 8px rgba(204,23,21,.65)) drop-shadow(0 0 17px rgba(204,23,21,.32))}.cfw-choice:hover .cfw-active-art{opacity:1}.cfw-choice:hover img:first-child{opacity:0}}
.cfw-choice:focus-visible{transform:scale(1.045);filter:drop-shadow(0 0 8px rgba(204,23,21,.77)) drop-shadow(0 0 17px rgba(204,23,21,.38))}
.cfw-choice:focus-visible .cfw-active-art{opacity:1}.cfw-choice:focus-visible img:first-child{opacity:0}
.cfw-choice:active{transform:scale(.985);filter:drop-shadow(0 0 7px rgba(204,23,21,.55))}
.cfw-close{position:absolute;left:83.3%;top:6.0%;width:9%;height:9.2%;border:0;padding:0;background:transparent;border-radius:50%;cursor:pointer;touch-action:manipulation;outline:none}
.cfw-close:focus-visible{outline:2px solid rgba(255,255,255,.9);outline-offset:-6px;box-shadow:0 0 12px var(--cfw-red)}
.cfw-close:active{transform:scale(.94)}
.cfw-sr{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Exact source-art crop locations within 1292 × 1218, no re-typesetting. */
.cfw-choice[data-action="wagenbau"]{left:18.8854%;top:30.6239%;width:64.8607%;height:10.2627%}
.cfw-choice[data-action="anmelden"]{left:18.7307%;top:41.4614%;width:65.0155%;height:10.5911%}
.cfw-choice[data-action="plaketta"]{left:19.3498%;top:52.7094%;width:63.5449%;height:9.7701%}
.cfw-choice[data-action="song"]{left:20.2786%;top:62.9721%;width:61.9195%;height:10.0164%}
.cfw-choice[data-action="luaga"]{left:21.0526%;top:73.1527%;width:60.3715%;height:9.8522%}
@media(max-width:900px){.cfw-panel{width:min(97vw,610px,calc(84svh * 1292 / 1218));right:auto;left:50%;top:70%;transform:translate3d(-50%,-50%,0) scale(.9);transform-origin:center center}.cfw-root.is-open .cfw-panel{animation:cfw-mobile-enter .45s cubic-bezier(.2,.85,.15,1.1) both}.cfw-root.is-closing .cfw-panel{animation:cfw-mobile-exit .2s ease-in forwards}@keyframes cfw-mobile-enter{0%{opacity:0;transform:translate3d(-50%,30px,0) scale(.92)}70%{opacity:1;transform:translate3d(-50%,-52%,0) scale(1.015)}100%{opacity:1;transform:translate3d(-50%,-50%,0) scale(1)}}@keyframes cfw-mobile-exit{to{opacity:0;transform:translate3d(-50%,20px,0) scale(.95)}}}
@media(prefers-reduced-motion:reduce){.cfw-root,.cfw-choice,.cfw-choice .cfw-active-art{transition:none!important}.cfw-root.is-open .cfw-panel,.cfw-root.is-closing .cfw-panel{animation:none!important;opacity:1!important;transform:translate3d(0,-50%,0)!important}@media(max-width:900px){.cfw-root.is-open .cfw-panel,.cfw-root.is-closing .cfw-panel{transform:translate3d(-50%,-50%,0)!important}}}


/* WordPress/Hello Elementor isolation for the five image-only controls.
   Elementor's global button:hover background caused the unwanted pink block.
   Only these popup buttons are reset; approved PNGs provide their full visuals. */
.cfw-root .cfw-panel button.cfw-choice,
.cfw-root .cfw-panel button.cfw-choice:hover,
.cfw-root .cfw-panel button.cfw-choice:focus,
.cfw-root .cfw-panel button.cfw-choice:focus-visible,
.cfw-root .cfw-panel button.cfw-choice:active,
.cfw-root .cfw-panel button.cfw-close,
.cfw-root .cfw-panel button.cfw-close:hover,
.cfw-root .cfw-panel button.cfw-close:focus,
.cfw-root .cfw-panel button.cfw-close:active{
  -webkit-appearance:none!important;
  appearance:none!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  text-shadow:none!important;
  text-decoration:none!important;
  padding:0!important;
  margin:0!important;
  min-width:0!important;
  min-height:0!important;
}
.cfw-root .cfw-panel button.cfw-choice{border-radius:0!important;}
.cfw-root .cfw-panel button.cfw-close{border-radius:50%!important;}

/* Dim only the website behind the approved popup image.
   The original .cfw-panel animation and PNG artwork are unchanged. */
.cfw-root::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  background:rgba(0,0,0,.40);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}
.cfw-root.is-open::before{opacity:1;}
.cfw-root .cfw-panel{z-index:1;}
@media(prefers-reduced-motion:reduce){.cfw-root::before{transition:none;}}

/* Keep the approved hover/focus/press animation above theme-level rules. */
@media(hover:hover) and (pointer:fine){
  .cfw-root .cfw-panel button.cfw-choice:hover{
    transform:scale(1.045)!important;
    filter:drop-shadow(0 0 8px rgba(204,23,21,.65)) drop-shadow(0 0 17px rgba(204,23,21,.32))!important;
  }
}
.cfw-root .cfw-panel button.cfw-choice:focus-visible{
  transform:scale(1.045)!important;
  filter:drop-shadow(0 0 8px rgba(204,23,21,.77)) drop-shadow(0 0 17px rgba(204,23,21,.38))!important;
}
.cfw-root .cfw-panel button.cfw-choice:active{
  transform:scale(.985)!important;
  filter:drop-shadow(0 0 7px rgba(204,23,21,.55))!important;
}
.cfw-root .cfw-panel button.cfw-close:focus-visible{
  outline:2px solid rgba(255,255,255,.9)!important;
  outline-offset:-6px!important;
  box-shadow:0 0 12px var(--cfw-red)!important;
}
