/* Saison-Design Halloween – greift nur, wenn js/season.js html[data-season="halloween"] setzt.
   Grundsatz: Stimmung im großen Kasten der Startseite, alles andere bleibt ruhig und lesbar (nur die Akzentfarbe wird warm).
   Bildsprache: eine einzige Lichtquelle (die Laterne), kühles Mondlicht als Gegenlicht, Tiefe durch Unschärfe und Nebel. */
html[data-season="halloween"]:root{--accent-l:#C2410C!important;--accent-d:#FB923C!important}

/* ===== Laterne (gemeinsam für Kasten und Intro) ===== */
.hwj{display:block;width:100%;height:auto;overflow:visible}
.hwj-face,.hwj-glow{animation:hwflick 3.2s ease-in-out infinite}
.hwj-glow{animation-duration:2.6s}
@keyframes hwflick{0%,100%{opacity:1}18%{opacity:.88}22%{opacity:.97}47%{opacity:.84}52%{opacity:1}74%{opacity:.9}80%{opacity:.98}}

/* ===== Startseiten-Kasten ===== */
html[data-season="halloween"] .hero.hw-on{background:radial-gradient(120% 90% at 85% 100%,#3A160E 0%,rgba(58,22,14,0) 55%),linear-gradient(180deg,#07040E 0%,#120A22 45%,#1D0F2C 80%,#1A0B16 100%);box-shadow:0 26px 60px -22px rgba(40,10,60,.75),0 0 0 1px rgba(255,214,150,.08) inset}
html[data-season="halloween"] .hero.hw-on::before,html[data-season="halloween"] .hero.hw-on::after{display:none}
.hero.hw-on > .hw-scene{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;border-radius:inherit}
.hw-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.hwfar{filter:blur(1.4px);opacity:.9}
body.rtl .hw-svg{transform:scaleX(-1)}
.hws-moon{position:absolute;top:11%;inset-inline-end:35%;width:74px;height:74px;border-radius:50%;
  background:radial-gradient(circle at 62% 40%,rgba(160,140,110,.25) 0 7%,transparent 8%),radial-gradient(circle at 38% 64%,rgba(160,140,110,.2) 0 6%,transparent 7%),radial-gradient(circle at 40% 36%,#FFFBF0 0%,#F3E2BF 55%,#CDB083 100%);
  box-shadow:0 0 34px 8px rgba(255,236,200,.22),0 0 140px 50px rgba(190,170,255,.10)}
.hws-fog{position:absolute;left:-25%;width:150%;border-radius:50%;filter:blur(18px);pointer-events:none}
.hws-fog.f1{bottom:8%;height:34%;background:radial-gradient(ellipse at 40% 50%,rgba(196,180,240,.16),transparent 62%);animation:hwdrift 46s ease-in-out infinite alternate}
.hws-fog.f2{bottom:-12%;height:30%;background:radial-gradient(ellipse at 60% 50%,rgba(210,195,250,.13),transparent 60%);animation:hwdrift 60s ease-in-out infinite alternate-reverse}
.hws-pk{position:absolute;bottom:3%;inset-inline-end:27%;width:156px}
.hws-pk2{inset-inline-end:7%;bottom:5%;width:66px;filter:blur(1.6px) brightness(.62) saturate(.85);opacity:.9}
.hws-pk2 .hwj-face,.hws-pk2 .hwj-glow{animation-delay:-1.3s}
.hws-floor{position:absolute;left:-40%;right:-40%;bottom:-16%;height:46%;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,rgba(255,140,40,.38),rgba(255,110,20,.10) 45%,transparent 70%);filter:blur(6px)}
.hws-pk1 .hwj{position:relative;filter:drop-shadow(0 0 36px rgba(255,140,40,.35))}
.hws-em{position:absolute;inset:0;width:100%;height:100%}
.hw-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,4,14,.86) 0%,rgba(7,4,14,.58) 40%,rgba(7,4,14,0) 66%)}
body.rtl .hw-scrim{background:linear-gradient(270deg,rgba(7,4,14,.86) 0%,rgba(7,4,14,.58) 40%,rgba(7,4,14,0) 66%)}
@media (max-width:760px){
  .hw-scrim,body.rtl .hw-scrim{background:linear-gradient(180deg,rgba(7,4,14,.8) 0%,rgba(7,4,14,.6) 48%,rgba(7,4,14,.15) 78%,rgba(7,4,14,0) 100%)}
  html[data-season="halloween"] .hero.hw-on{padding-bottom:132px}
  .hws-pk1{width:122px;bottom:2%;inset-inline-end:5%}.hws-pk2{width:50px;inset-inline-end:40%;bottom:4%}
  .hws-moon{display:none}}

/* Text über der Szene: klar und ruhig */
html[data-season="halloween"] .hero.hw-on .eyebrow{font-size:0;letter-spacing:0}
.hw-eye{display:inline-flex;align-items:center;gap:10px;font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:19px;letter-spacing:.01em;color:#F8C77A;text-transform:none}
.hw-eye::before{content:"";width:22px;height:1px;background:linear-gradient(90deg,transparent,#F8C77A)}
body.rtl .hw-eye{font-family:var(--far);font-style:normal;font-size:16px;font-weight:600}
body.rtl .hw-eye::before{background:linear-gradient(270deg,transparent,#F8C77A)}
html[data-season="halloween"] .hero.hw-on .h1{color:#FFF6E8;text-shadow:0 2px 24px rgba(251,191,36,.18)}
html[data-season="halloween"] .hero.hw-on .lead{color:rgba(255,246,232,.82)}
html[data-season="halloween"] .hero.hw-on .hstat{background:rgba(14,7,28,.55);border:1px solid rgba(253,230,138,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html[data-season="halloween"] .hero.hw-on .hstat svg{color:#F8C77A}
html[data-season="halloween"] .hero.hw-on .abchip{background:rgba(14,7,28,.45);border-color:rgba(253,230,138,.28)}
html[data-season="halloween"] .hero.hw-on .motto{text-shadow:0 2px 14px rgba(9,4,18,.9)}

.hwtw{animation:hwtw 5s ease-in-out infinite}
@keyframes hwtw{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes hwdrift{from{transform:translateX(0)}to{transform:translateX(-8%)}}
@media (prefers-reduced-motion: reduce){.hw-scene *{animation:none!important}}

/* Kleiner Hexenhut auf dem Logo */
html[data-season="halloween"] .brand-mark{position:relative}
.hw-hat{position:absolute;left:50%;top:-14px;width:30px;transform:translateX(-50%) rotate(-12deg);pointer-events:none;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.hw-hat svg{display:block;width:100%}

/* ===== Intro: Schwarz → die Laterne zündet → Licht enthüllt den Kürbis → Gruß → sanfter Übergang zur Seite ===== */
#hw-intro{position:fixed;inset:0;z-index:9998;overflow:hidden;background:#050307;color:#FFF3DC;font-family:var(--f);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#hw-intro.go{cursor:pointer}
#hw-intro *{animation-play-state:paused}
#hw-intro.go *{animation-play-state:running}
.hwi-bg{position:absolute;inset:0;opacity:0;background:radial-gradient(70% 55% at 50% 44%,#2A120C 0%,#160A14 45%,#08040C 75%,#050307 100%),linear-gradient(160deg,rgba(120,100,200,.10),transparent 40%);animation:hwiFade 1.4s ease-out .3s forwards}
.hwi-stage{position:absolute;inset:0;transform:scale(1.07);animation:hwiPull 3.8s cubic-bezier(.22,.6,.2,1) forwards}
.hwi-pk{position:absolute;left:50%;top:41%;width:min(64vw,340px);transform:translate(-50%,-50%)}
.hwi-pk .hwj{filter:drop-shadow(0 0 60px rgba(255,140,40,.32))}
.hwi-pk .hwj-body{opacity:0;animation:hwiBody 1.1s cubic-bezier(.3,.6,.2,1) .45s forwards}
.hwi-pk .hwj-face{opacity:0;animation:hwiIgnite .7s linear .15s forwards,hwflick 3.2s ease-in-out .85s infinite}
.hwi-pk .hwj-glow{opacity:0;animation:hwiIgnite .75s linear .2s forwards,hwflick 2.6s ease-in-out .95s infinite}
.hwi-halo{position:absolute;left:50%;top:41%;width:130vmin;height:130vmin;transform:translate(-50%,-50%) scale(.5);border-radius:50%;background:radial-gradient(circle,rgba(255,150,50,.30) 0%,rgba(255,110,30,.12) 28%,rgba(120,40,20,.05) 48%,transparent 66%);opacity:0;animation:hwiHalo 1.6s cubic-bezier(.2,.7,.2,1) .3s forwards}
.hwi-floor{position:absolute;left:50%;top:calc(41% + min(32vw,170px) * .82);width:min(110vw,620px);height:90px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(255,140,40,.30),rgba(255,110,20,.08) 45%,transparent 70%);filter:blur(4px);opacity:0;animation:hwiFade 1.2s ease-out .55s forwards}
.hwi-fog{position:absolute;left:-30%;width:160%;border-radius:50%;filter:blur(24px);opacity:0}
.hwi-fog.f1{bottom:-6%;height:42%;background:radial-gradient(ellipse at 40% 50%,rgba(200,185,240,.16),transparent 62%);animation:hwiFade 1.4s ease-out .3s forwards,hwiDrift 9s ease-in-out infinite alternate}
.hwi-fog.f2{bottom:16%;height:26%;background:radial-gradient(ellipse at 65% 50%,rgba(220,200,250,.08),transparent 60%);animation:hwiFade 1.4s ease-out .5s forwards,hwiDrift 12s ease-in-out infinite alternate-reverse}
.hwi-em{position:absolute;inset:0;width:100%;height:100%}
.hwi-txt{position:absolute;left:0;right:0;top:calc(41% + min(32vw,170px) + 34px);display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 20px}
.hwi-t{margin:0;font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-weight:400;font-size:clamp(42px,9.5vw,92px);line-height:1;letter-spacing:-.015em;color:#F6CF8E;text-shadow:0 0 40px rgba(255,150,50,.25)}
.hwi-t .wd{display:inline-block;white-space:nowrap}
.hwi-t .c,.hwi-t .w{display:inline-block;opacity:0;filter:blur(12px);transform:translateY(14px);animation:hwiChar .8s cubic-bezier(.2,.7,.2,1) forwards;animation-delay:calc(.95s + var(--i) * 32ms);
  background:linear-gradient(180deg,#FFF6E2 0%,#F6CF8E 50%,#D98A3A 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;padding:0 .02em .08em}
#hw-intro[dir="rtl"] .hwi-t{font-family:var(--far);font-style:normal;font-weight:700;letter-spacing:0;font-size:clamp(40px,10vw,84px);line-height:1.25}
.hwi-rule{width:0;height:1px;margin:22px 0 14px;background:linear-gradient(90deg,transparent,rgba(246,207,142,.85),transparent);animation:hwiRule .8s cubic-bezier(.2,.7,.2,1) 1.6s forwards}
.hwi-sub{margin:0;font-size:12px;font-weight:600;letter-spacing:.38em;text-transform:uppercase;color:rgba(255,236,205,.62);opacity:0;animation:hwiFade .8s ease-out 1.8s forwards;padding-inline-start:.38em}
#hw-intro[dir="rtl"] .hwi-sub{font-family:var(--far);letter-spacing:0;text-transform:none;font-size:15px;padding:0}
.hwi-grain{position:absolute;inset:-50%;opacity:.07;pointer-events:none;mix-blend-mode:overlay;animation:hwiGrain .9s steps(4) infinite}
.hwi-vig{position:absolute;inset:0;pointer-events:none;background:radial-gradient(110% 85% at 50% 45%,transparent 50%,rgba(0,0,0,.7) 100%)}
.hwi-skip{position:absolute;top:calc(18px + env(safe-area-inset-top,0px));inset-inline-end:18px;border:1px solid rgba(255,236,205,.18);background:rgba(255,236,205,.04);color:rgba(255,236,205,.7);font:inherit;font-size:12px;letter-spacing:.06em;padding:8px 15px;border-radius:999px;cursor:pointer;opacity:0;animation:hwiFade .5s ease-out .6s forwards}
#hw-intro.out{animation:hwiOut .8s cubic-bezier(.4,0,.2,1) forwards;pointer-events:none}
#hw-intro.out *{animation-play-state:running}
#hw-intro.out .hwi-stage{animation:hwiPush .9s cubic-bezier(.4,0,.2,1) forwards}
@keyframes hwiPush{from{transform:scale(1)}to{transform:scale(1.12);filter:blur(6px)}}
#hw-intro.rm *{animation:none!important;opacity:1!important;filter:none!important}
#hw-intro.rm .hwi-t .c,#hw-intro.rm .hwi-t .w{transform:none}#hw-intro.rm .hwi-rule{width:120px}#hw-intro.rm .hwi-stage{transform:none}
#hw-intro.rm .hwi-bats{display:none}#hw-intro.rm .hwi-halo{transform:translate(-50%,-50%)}#hw-intro.rm .hwi-grain{display:none}
#hw-intro.rm.out{animation:hwiOut .5s ease forwards!important}
@keyframes hwiFade{to{opacity:1}}
@keyframes hwiPull{to{transform:scale(1)}}
@keyframes hwiBody{0%{opacity:0;filter:brightness(.3)}100%{opacity:1;filter:brightness(1)}}
@keyframes hwiIgnite{0%{opacity:0}12%{opacity:.55}20%{opacity:.08}34%{opacity:.8}42%{opacity:.35}60%{opacity:.95}70%{opacity:.7}100%{opacity:1}}
@keyframes hwiHalo{to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes hwiDrift{from{transform:translateX(0)}to{transform:translateX(-6%)}}
@keyframes hwiChar{to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes hwiRule{to{width:min(160px,40vw)}}
@keyframes hwiGrain{0%{transform:translate(0,0)}25%{transform:translate(-3%,2%)}50%{transform:translate(2%,-3%)}75%{transform:translate(-2%,-1%)}100%{transform:translate(1%,3%)}}
@keyframes hwiOut{to{opacity:0;visibility:hidden}}

/* Fledermäuse: brechen hinter der Laterne hervor und fliegen am Betrachter vorbei aus dem Bild */
.hwi-bats{position:absolute;inset:0;pointer-events:none}
.hwi-bat{position:absolute;left:50%;top:36%;width:120px;opacity:0;transform:translate(-50%,-50%) scale(.3);animation:hwiBat var(--t) cubic-bezier(.35,.1,.6,1) var(--d) forwards}
.hwi-bat svg{display:block;width:100%;overflow:visible;filter:drop-shadow(0 0 2px rgba(255,170,90,.7)) drop-shadow(0 0 10px rgba(255,140,40,.25))}
.hwi-bat .wr,.hwi-bat .wl{transform-box:view-box;animation:hwiFlapR var(--f) ease-in-out infinite alternate}
.hwi-bat .wr{transform-origin:104px 34px}.hwi-bat .wl{transform-origin:96px 34px;animation-name:hwiFlapL}
.hwi-bat .bd{transform-box:view-box;animation:hwiBob var(--f) ease-in-out infinite alternate}
@keyframes hwiBat{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}10%{opacity:1}100%{opacity:1;transform:translate(-50%,-50%) translate(var(--x),var(--y)) rotate(var(--r)) scale(var(--s))}}
@keyframes hwiFlapR{from{transform:rotate(-34deg)}to{transform:rotate(24deg) scaleY(.82)}}
@keyframes hwiFlapL{from{transform:rotate(34deg)}to{transform:rotate(-24deg) scaleY(.82)}}
@keyframes hwiBob{from{transform:translateY(-2px)}to{transform:translateY(3px)}}
