/* Paket 81 – Halloween-Stimmung 2026 (nur mit html[data-mood=halloween]) */
.hw-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 6px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.08), 0 8px 18px -10px rgba(242,112,30,.55); transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .2s; }
.hw-toggle svg { width: 26px; height: 26px; }
.hw-toggle .pk { fill: #F2701E; } .hw-toggle .rib { fill: none; stroke: #B4500C; stroke-width: 1.2; opacity: .55; }
.hw-toggle .st { fill: none; stroke: #3F6212; stroke-width: 2.4; stroke-linecap: round; } .hw-toggle .face { fill: #2B2140; }
.hw-toggle[aria-pressed="false"] .pk { fill: #FDBA74; } .hw-toggle[aria-pressed="false"] .face { fill: #9A3412; opacity: .55; }
.hw-toggle:hover { transform: rotate(-10deg) scale(1.06); } .hw-toggle:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
html[data-mood="halloween"] {
  --h-bg: #FFF6EC; --h-peach: #FFE9D6; --h-lilac: #F3ECFF; --h-accent: #F2701E; --h-accent-text: #B4500C; --h-ink: #2B2140; --h-bar-text: #FFD3A8; }
@media (prefers-color-scheme: light) {
html[data-mood="halloween"] body { background: linear-gradient(180deg, var(--h-bg) 0, var(--h-lilac) 60%, var(--h-bg) 100%) fixed; }
html[data-mood="halloween"] .hf-card { background: linear-gradient(135deg, var(--h-peach), var(--h-lilac)) !important; }
}
html[data-mood="halloween"] .hf-copy .kick { color: var(--h-accent-text); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
html[data-mood="halloween"] .hf-copy h1 { color: var(--h-ink); }
html[data-mood="halloween"] .hf-copy h1 .hl { background: linear-gradient(90deg, #F2701E, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hw-badge { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  color: #fff; background: #B4500C; text-decoration: none; box-shadow: 0 8px 20px -10px rgba(180,80,12,.8); }
.hw-badge:hover { background: #9A3F06; }
html[data-mood="halloween"] .hf-media video, html[data-mood="halloween"] .hf-media .hv-poster { opacity: 0 !important; }
.hw-hero { position: absolute; inset: 0; z-index: 1; display: block; }
.hw-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; display: block; animation: hw-in .8s ease both; }
@media (max-width: 899px) { .hw-hero img { object-position: 50% 30%; } }
@keyframes hw-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
html[data-mood="halloween"] .pz-how img, html[data-mood="halloween"] .pz-who img { object-fit: contain; }
.hw-bats { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hw-bats i { position: absolute; top: calc(8% + var(--i) * 17%); left: -60px; width: 28px; height: 15px; opacity: .38;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 18'%3E%3Cpath fill='%232B2140' d='M17 4c1.5 0 2.5 1.2 2.8 2.6C22 4 26 1.5 34 2c-3 1.5-4 4-3.5 6.5-2.5-1.3-5 0-6 2.3-1.6-1.8-4-2.3-5.5-1.2L17 14l-2-4.4c-1.5-1.1-3.9-.6-5.5 1.2-1-2.3-3.5-3.6-6-2.3C4 6 3 3.5 0 2c8-.5 12 2 14.2 4.6C14.5 5.2 15.5 4 17 4z'/%3E%3C/svg%3E");
  animation: hw-fly calc(26s + var(--i) * 5s) linear infinite; animation-delay: calc(var(--i) * -6s); }
@keyframes hw-fly { 0% { transform: translate(0, 0) scale(.8); } 25% { transform: translate(30vw, -14px) scale(.9); } 50% { transform: translate(60vw, 10px) scale(.8); } 75% { transform: translate(90vw, -8px) scale(.9); } 100% { transform: translate(115vw, 0) scale(.8); } }
html.a11y-still .hw-bats, html.a11y-still .hw-hero img { animation: none !important; }
html.a11y-still .hw-bats { display: none; }
@media (prefers-reduced-motion: reduce) { .hw-bats { display: none; } .hw-hero img { animation: none; } }
@media (prefers-color-scheme: dark) { .hw-toggle { background: #1A2333; } }

/* Paket 93: Banner-Streifen + freigestellte Saison-Posen */
.hw-strip { padding: 8px 0 28px; }
.hw-strip-card { position: relative; border-radius: 24px; overflow: hidden; background: #2B2140; box-shadow: 0 24px 48px -24px rgba(43,33,64,.8); }
.hw-strip-card img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.hw-strip-copy { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 16px; color: #2B2140; display: flex; flex-direction: column; gap: 4px;
  background: rgba(255,248,240,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(43,33,64,.6); }
.hw-strip-copy strong { font-size: 1.1rem; line-height: 1.2; }
.hw-strip-copy span { font-size: .88rem; color: #4A3D6B; line-height: 1.4; }
@media (min-width: 760px) { .hw-strip-copy { left: 28px; right: auto; bottom: auto; top: 50%; transform: translateY(-50%); max-width: 40%; padding: 20px 24px; border-radius: 20px; }
  .hw-strip-copy strong { font-size: 1.55rem; } .hw-strip-copy span { font-size: 1rem; } .hw-strip-card img { aspect-ratio: 21 / 8; } }
@media (prefers-color-scheme: dark) { .hw-strip-copy { background: rgba(43,33,64,.88); color: #fff; } .hw-strip-copy span { color: #E2D9F5; } }
html[data-mood="halloween"] .pz img { object-fit: contain; }
html[data-mood="halloween"] .pz::after { background: radial-gradient(ellipse, rgba(124,58,237,.35), transparent 70%); }

/* Paket 99 (Aykut 20.10.: „bei jedem Mode müssen die auch dementsprechend adjustiert sein“): feste Figuren mit Hut.
   Logo oben (Bild mit Hut ist höher → Höhe so, dass der Kopf gleich groß bleibt), Posen in den Bühnen (+ Hut), Lauf-Belegerl in den Knöpfen. */
html[data-mood="halloween"] .top .brand img { height: 47px; margin-top: -7px; }
@media (min-width: 700px) { html[data-mood="halloween"] .top .brand img { height: 54px; margin-top: -8px; } }
html[data-mood="halloween"] .fx-pose { height: 218px; }
html[data-mood="halloween"] .blfig .blspr { background-image: url('/assets/halloween/fig-run-8.webp?v=99') !important; }
/* Paket 107 (Aykut 21.10.: am Handy verdeckt die Textkarte Belegerl): unter 760 px steht der Text unter dem Bild statt darüber */
@media (max-width: 759px) {
  .hw-strip-card { display: flex; flex-direction: column; background: #FFF7ED; }
  .hw-strip-card img { aspect-ratio: 16 / 9; object-position: 78% 40%; }
  .hw-strip-copy { position: static; margin: 0; border-radius: 0; padding: 14px 16px 16px; background: #FFF7ED; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 759px) and (prefers-color-scheme: dark) { .hw-strip-card, .hw-strip-copy { background: #2B2140; } }
