/* Halloween-Edition (31.10.–07.11.2026). Greift nur, wenn das Script im <head> die Klasse .halloween setzt – danach automatisch aus. */
.halloween body {
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(122, 44, 255, 0.22), rgba(122, 44, 255, 0) 70%),
    radial-gradient(50% 35% at 0% 30%, rgba(255, 106, 0, 0.16), rgba(255, 106, 0, 0) 70%),
    var(--bg);
}
.hw-banner { display: none; position: relative; z-index: 2; }
.halloween .hw-banner {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px; text-align: center;
  background: linear-gradient(90deg, #FF6A00, #FF8A00 45%, #7A2CFF);
  color: #0A0A0A; font: 700 14px/1.3 'Manrope', system-ui, sans-serif; letter-spacing: 0.01em;
}
.hw-banner b { font-weight: 800; }
.hw-banner a { color: #0A0A0A; text-decoration: underline; text-underline-offset: 3px; }
.halloween .eyebrow { border-color: rgba(255, 138, 0, 0.5); }
.halloween .eyebrow .dot { background: #FF8A00; box-shadow: 0 0 12px #FF8A00; }
.halloween h1 .lime { text-shadow: 0 0 40px rgba(181, 255, 0, 0.35); }

/* Schwebende Kürbisse und Fledermäuse – rein dekorativ, Klicks gehen durch */
.hw-deco { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hw-deco span { position: absolute; font-size: 34px; opacity: 0.85; animation: hw-float 9s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.hw-deco span:nth-child(1) { top: 14%; left: 4%; animation-delay: 0s; }
.hw-deco span:nth-child(2) { top: 22%; right: 6%; font-size: 26px; animation-delay: -3s; }
.hw-deco span:nth-child(3) { top: 90%; left: 46%; font-size: 28px; animation-delay: -5s; }
.hw-deco span:nth-child(4) { top: 78%; right: 4%; animation-delay: -1.5s; }
.hw-deco span:nth-child(5) { top: 8%; left: 40%; font-size: 22px; opacity: 0.5; animation-delay: -6s; }
@keyframes hw-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .hw-deco span { animation: none; } }
@media (max-width: 720px) { .hw-deco span:nth-child(n+3) { display: none; } }

.hw-on { display: none; }
.halloween .hw-on { display: inline; }
.halloween .hw-off { display: none; }

/* 3D-Szene (halloween.js) */
.hw-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.halloween main, .halloween .nav, .halloween footer { position: relative; z-index: 1; }
.halloween .nav { position: sticky; }
.halloween .hero-visual { transition: transform .2s ease-out; transform-style: preserve-3d; will-change: transform; }
.halloween .hero::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -40px; height: 220px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 100% at 30% 100%, rgba(150,120,200,.18), transparent 70%), radial-gradient(50% 100% at 75% 100%, rgba(255,140,40,.12), transparent 70%);
  filter: blur(20px); animation: hw-fog 12s ease-in-out infinite alternate; }
@keyframes hw-fog { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
.halloween .hero { position: relative; }

/* Handy: Banner kompakt, teure Effekte aus */
.hw-short { display: none; }
@media (max-width: 760px) {
  .halloween .hw-banner { padding: 8px 12px; font-size: 12.5px; gap: 6px; }
  .hw-long { display: none; }
  .hw-short { display: inline; }
  .halloween .hero::after { display: none; }
  .halloween .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 10, 11, 0.94); }
}
