/* v26: neon glow on the white polaroid family (.pol / .pol.fbx).
   Keeps the existing tilt and dark drop-shadow; adds a slow palette-cycle
   neon ring + soft glow. LED / hero untouched. */

.s4-photos-v2 .pol,
.fbx-grid .pol.fbx{
  animation:v26-neon 16s linear infinite;
  box-shadow:
    0 18px 30px -8px rgba(0,0,0,.7),
    0 4px 10px rgba(0,0,0,.4),
    0 0 0 3px #D6007E,
    0 0 18px 2px rgba(214,0,126,.75),
    0 0 36px 4px rgba(214,0,126,.35);
}

@keyframes v26-neon{
  0%,100%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #D6007E,
      0 0 18px 2px rgba(214,0,126,.75),
      0 0 36px 4px rgba(214,0,126,.35);
  }
  16%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #FEED00,
      0 0 18px 2px rgba(254,237,0,.75),
      0 0 36px 4px rgba(254,237,0,.35);
  }
  33%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #005CA9,
      0 0 18px 2px rgba(0,92,169,.8),
      0 0 36px 4px rgba(0,92,169,.4);
  }
  50%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #EF7D00,
      0 0 18px 2px rgba(239,125,0,.8),
      0 0 36px 4px rgba(239,125,0,.38);
  }
  66%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #DC102D,
      0 0 18px 2px rgba(220,16,45,.8),
      0 0 36px 4px rgba(220,16,45,.38);
  }
  83%{
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #54AF3C,
      0 0 18px 2px rgba(84,175,60,.8),
      0 0 36px 4px rgba(84,175,60,.38);
  }
}

@media (prefers-reduced-motion:reduce){
  .s4-photos-v2 .pol,
  .fbx-grid .pol.fbx{
    animation:none;
    box-shadow:
      0 18px 30px -8px rgba(0,0,0,.7),
      0 4px 10px rgba(0,0,0,.4),
      0 0 0 3px #D6007E,
      0 0 16px 2px rgba(214,0,126,.7),
      0 0 28px 4px rgba(214,0,126,.3);
  }
}

/* Address: one line, may wrap naturally, no forced breaks */
.foot-addr,
.k-addr{
  display:block;
  white-space:normal;
  margin:.35em 0 0;
  font-size:.88em;
  line-height:1.35;
  opacity:.88;
}
.kform .k-addr{
  margin:.85rem 0 0;
  color:#4a3d5c;
  text-align:center;
  font-size:.82rem;
  line-height:1.4;
}

/* Helvetia moderately larger (~25%) in the partner row */
.spons-v2 .spons-track img[src*="helvetia"]{
  height:clamp(70px,7.5vw,105px);
}

/* Headings: <span class="nw"> must keep the heading font.
   body * sets Helvetica Neue !important, so «HITS-PARTY» in the
   booking form (and any other heading span) otherwise looks different
   from POPCORN / BUCHEN. nowrap stays; wording unchanged. */
h1 .nw, h2 .nw, h3 .nw, h4 .nw,
.lbl .nw, .bar .nw, .flyer h3 .nw, .org-line .nw{
  font-family:inherit!important;
  font-weight:inherit!important;
  font-size:inherit!important;
  letter-spacing:inherit!important;
  text-transform:inherit!important;
  font-stretch:inherit!important;
  line-height:inherit!important;
  color:inherit!important;
}

/* Colour-safe heart after the «Liebe Grüsse / … TEAM» sign-off.
   Inline SVG fill #DC102D, so body * Helvetica !important cannot turn it black. */
.sig-heart{
  display:inline-block;
  width:1.05em;
  height:1.05em;
  vertical-align:-0.12em;
  margin-left:.15em;
  line-height:0;
}
.sig-heart svg{display:block;width:100%;height:100%}

/* QA-Fixes 5.12.2026 (Backup: v26.css.bak-20261205-qa-fixes) */
/* Slogan: auf dem Handy kleiner Seitenrand, das SVG selbst bleibt unveraendert */
@media (max-width:600px){
  .hero9 .h9-slogan{box-sizing:border-box;padding-inline:clamp(12px,4vw,20px)}
}
/* Popcorn-Maschine: natuerliches Seitenverhaeltnis (Breite aus der Hoehe, nicht aus dem Restplatz neben left:50%) */
.s3-vis-pm .pm-stage{width:auto!important;aspect-ratio:700/1105}
/* Formular-Titel: HITS-PARTY bleibt zusammen (v4 hebt .nw auf dem Handy auf) */
.flyer h3 .nw{white-space:nowrap!important}

/* Fotobox-Foto: Neon-Leuchtstreifen um den pinken Rahmen (2026-12-05). Nur Rahmen, Foto unverändert. */
@property --pnb-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.s3-fbphoto{--pnb-w:clamp(6px,.8vw,10px);position:relative;isolation:isolate}
.s3-fbphoto::before,.s3-fbphoto::after{content:"";position:absolute;inset:calc(-1*var(--pnb-w));border-radius:6px;pointer-events:none}
.s3-fbphoto::before{z-index:2;padding:var(--pnb-w);background:conic-gradient(from var(--pnb-a),rgba(255,79,184,0) 0deg,rgba(255,79,184,0) 230deg,#FF4FB8 290deg,#FFD6EF 318deg,#FEED00 326deg,#FFFFFF 330deg,#FF4FB8 345deg,rgba(255,79,184,0) 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:pnb-run 3.6s linear infinite}
.s3-fbphoto::after{z-index:1;box-shadow:0 0 10px 1px rgba(214,0,126,.85),0 0 26px 4px rgba(214,0,126,.5),0 0 52px 8px rgba(255,79,184,.22);animation:pnb-flicker 5.5s steps(1,end) infinite;will-change:opacity}
@keyframes pnb-run{to{--pnb-a:360deg}}
@keyframes pnb-flicker{0%,100%{opacity:1}41%{opacity:.82}42%{opacity:1}43.5%{opacity:.9}44.5%{opacity:1}78%{opacity:.88}79%{opacity:1}}
@media (prefers-reduced-motion:reduce){.s3-fbphoto::before,.s3-fbphoto::after{animation:none}}
