/* Seasonal themes for /weihnachtsmaerkte and /silvester. Self-contained dark scenes (independent of light/dark mode). */
.season-theme{--s-page:#0d1a16;--s-page-2:#10231d;--s-text:#fdf6ea;--s-muted:#cfc6b8;--s-card:#14281f;--s-card-hover:#18322a;--s-line:rgba(255,215,122,.18);--s-gold:#ffd77a;--s-accent:#e0464b;--s-accent-deep:#8e1b22;--s-glow:rgba(255,190,90,.35);background:linear-gradient(180deg,var(--s-page) 0%,var(--s-page-2) 100%);color:var(--s-text)}
.season-theme--nye{--s-page:#0a0a1c;--s-page-2:#120f2e;--s-text:#f6f3ff;--s-muted:#c4bfdc;--s-card:#16143a;--s-card-hover:#1d1a4a;--s-line:rgba(245,210,122,.18);--s-gold:#f5d27a;--s-accent:#ff5fa2;--s-accent-deep:#7a2a8c;--s-glow:rgba(255,95,162,.35)}
.season-theme .section{color:var(--s-text)}
.season-theme .kicker{color:var(--s-gold)}
.season-theme h2,.season-theme h3{color:var(--s-text)}
.season-theme .section-head p,.season-theme .section-head .text-link{color:var(--s-muted)}
.season-theme .text-link{color:var(--s-gold)}

/* Scene */
.season-scene{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(480px,72vh,660px);display:flex;align-items:flex-end;padding:clamp(2.4rem,7vw,5rem) max(1.25rem,calc((100vw - 1180px)/2)) clamp(3rem,8vw,6rem);background-image:linear-gradient(180deg,rgba(6,14,11,.25) 0%,rgba(6,14,11,.15) 40%,var(--s-page) 100%),var(--season-hero,none);background-size:cover;background-position:center}
.season-theme--xmas .season-scene{background-color:#0b1b2a;background-image:linear-gradient(180deg,rgba(8,16,28,0) 55%,var(--s-page) 100%),var(--season-hero,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='%23071410'%3E%3Cpath d='M0 220V150l60-40 60 40v70zM140 220v-90l70-50 70 50v90zM300 220v-60l50-35 50 35v60zM520 220v-80l65-45 65 45v80zM700 220v-100l80-55 80 55v100zM900 220v-70l55-40 55 40v70zM1040 220v-85l60-45 60 45v85zM1160 220v-60l40-30 40 30v60z'/%3E%3Cpath d='M450 72 478 112H466L496 152H482L514 198H386L418 152H404L434 112H422Z' stroke='%23071410' stroke-width='6' stroke-linejoin='round'/%3E%3Cpath d='M443 196h14v24h-14z'/%3E%3C/g%3E%3Cg fill='%23ffcf6b'%3E%3Cpath d='M450 54l3.5 7.2 8 1.2-5.8 5.6 1.4 8-7.1-3.8-7.1 3.8 1.4-8-5.8-5.6 8-1.2z'/%3E%3Crect x='40' y='170' width='14' height='12' rx='2'/%3E%3Crect x='70' y='170' width='14' height='12' rx='2'/%3E%3Crect x='185' y='150' width='16' height='14' rx='2'/%3E%3Crect x='220' y='150' width='16' height='14' rx='2'/%3E%3Crect x='335' y='180' width='14' height='12' rx='2'/%3E%3Crect x='565' y='165' width='16' height='14' rx='2'/%3E%3Crect x='600' y='165' width='16' height='14' rx='2'/%3E%3Crect x='750' y='150' width='18' height='16' rx='2'/%3E%3Crect x='792' y='150' width='18' height='16' rx='2'/%3E%3Crect x='940' y='175' width='14' height='12' rx='2'/%3E%3Crect x='1085' y='160' width='16' height='14' rx='2'/%3E%3Crect x='1180' y='185' width='12' height='10' rx='2'/%3E%3C/g%3E%3C/svg%3E")),radial-gradient(ellipse at 50% 100%,rgba(255,170,70,.45) 0%,rgba(255,120,60,.12) 35%,transparent 60%),radial-gradient(circle at 80% 10%,rgba(255,240,200,.18),transparent 25%),linear-gradient(180deg,#0a1626 0%,#10263a 55%,#1b2f2a 100%);background-size:cover,100% auto,cover,cover,cover;background-position:center,center bottom,center,center,center;background-repeat:no-repeat}
.season-theme--nye .season-scene{background-color:#07071a;background-image:linear-gradient(180deg,rgba(7,7,26,0) 55%,var(--s-page) 100%),var(--season-hero,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='xMidYMax slice'%3E%3Cpath fill='%23050514' d='M0 200v-60h40v-30h30v50h40V90h25v-20h20v20h25v90h30v-70h50v40h35V60h12V40h6v20h12v100h40v-50h45v70h30V80h60v100h25v-40h40v60h35V100h20V70h30v30h20v80h40v-60h50v40h30V90h45v90h40v-50h35v70h45V110h40v90z'/%3E%3Cg fill='%23f5d27a' opacity='.8'%3E%3Crect x='96' y='110' width='5' height='6'/%3E%3Crect x='300' y='80' width='5' height='6'/%3E%3Crect x='300' y='110' width='5' height='6'/%3E%3Crect x='560' y='100' width='5' height='6'/%3E%3Crect x='575' y='130' width='5' height='6'/%3E%3Crect x='760' y='110' width='5' height='6'/%3E%3Crect x='980' y='120' width='5' height='6'/%3E%3C/g%3E%3C/svg%3E")),radial-gradient(ellipse at 50% 110%,rgba(255,95,162,.28) 0%,transparent 55%),linear-gradient(180deg,#05051a 0%,#0e0b34 60%,#1a1040 100%);background-size:cover,100% auto,cover,cover;background-position:center,center bottom,center,center;background-repeat:no-repeat}
.season-scene-inner{position:relative;z-index:2;max-width:860px}
.season-scene-deco{position:absolute;inset:0;z-index:1;pointer-events:none}
.season-scene .event-breadcrumb{color:rgba(255,255,255,.75);margin-bottom:1.4rem}
.season-scene .event-breadcrumb a{color:inherit}
.season-kicker{display:inline-flex;align-items:center;gap:.55rem;padding:.4rem .85rem .4rem .5rem;border:1px solid var(--s-line);border-radius:999px;background:rgba(0,0,0,.28);backdrop-filter:blur(6px);color:var(--s-gold);font-size:11px;font-weight:900;letter-spacing:.18em}
.season-scene h1{margin:.9rem 0 1rem;font-size:clamp(2.6rem,7.4vw,5.6rem);line-height:.98;letter-spacing:-.03em;color:#fff;text-shadow:0 4px 30px rgba(0,0,0,.45)}
.season-theme--xmas .season-scene h1{font-family:Georgia,"Times New Roman",serif;font-weight:700;letter-spacing:-.01em}
.season-year{display:inline-block;background:linear-gradient(120deg,#fff3c4 0%,var(--s-gold) 40%,#e9a93c 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.season-theme--nye .season-year{background:linear-gradient(120deg,#fff 0%,var(--s-gold) 35%,var(--s-accent) 100%);-webkit-background-clip:text;background-clip:text}
.season-lead{max-width:680px;color:#efe7da;font-size:clamp(1rem,2vw,1.18rem);line-height:1.6}
.season-theme--nye .season-lead{color:#e4e0f7}
.season-stats{display:flex;flex-wrap:wrap;gap:.6rem;margin:1.4rem 0 0;padding:0;list-style:none}
.season-stats li{display:flex;align-items:baseline;gap:.45rem;padding:.55rem .95rem;border:1px solid var(--s-line);border-radius:14px;background:rgba(0,0,0,.32);backdrop-filter:blur(6px)}
.season-stats strong{color:var(--s-gold);font-size:1.35rem;font-weight:900}
.season-stats span{color:#e9e2d4;font-size:.86rem}
.season-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.6rem}
.season-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0!important;padding:12px 20px;line-height:1.2;box-sizing:border-box}

/* Christmas decorations */
.season-garland{position:absolute;left:0;right:0;top:0;height:46px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 46'%3E%3Cpath d='M0 6 Q30 34 60 6 T120 6' fill='none' stroke='%23142a20' stroke-width='2'/%3E%3C/svg%3E") 0 0/120px 46px repeat-x}
.season-garland::before,.season-garland::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15px 19px,#ff5656 0 5px,transparent 6px) 0 0/120px 46px repeat-x,radial-gradient(circle at 45px 19px,#ffd77a 0 5px,transparent 6px) 0 0/120px 46px repeat-x,radial-gradient(circle at 75px 19px,#58d68d 0 5px,transparent 6px) 0 0/120px 46px repeat-x,radial-gradient(circle at 105px 19px,#6ec6ff 0 5px,transparent 6px) 0 0/120px 46px repeat-x;filter:drop-shadow(0 0 6px rgba(255,220,120,.85))}
.season-garland::after{opacity:0;filter:drop-shadow(0 0 12px rgba(255,240,180,1)) brightness(1.4);animation:season-twinkle 2.4s ease-in-out infinite alternate}
.season-snow{position:absolute;inset:-100% 0 0;background-image:radial-gradient(4px 4px at 20px 30px,rgba(255,255,255,.95),transparent),radial-gradient(3px 3px at 90px 120px,rgba(255,255,255,.85),transparent),radial-gradient(5px 5px at 160px 60px,rgba(255,255,255,.8),transparent),radial-gradient(3px 3px at 60px 170px,rgba(255,255,255,.85),transparent),radial-gradient(4px 4px at 130px 190px,rgba(255,255,255,.9),transparent);background-size:220px 220px;opacity:.7;filter:blur(.5px);animation:season-snow 26s linear infinite}
/* Less snow over the text column so flakes never read as punctuation. */
.season-theme--xmas .season-scene-deco .season-snow{-webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.18) 52%,#000 78%);mask-image:linear-gradient(90deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.18) 52%,#000 78%)}
.season-snow--far{background-size:120px 120px;opacity:.4;animation-duration:40s;filter:blur(.6px)}

/* New Year's Eve decorations */
.season-stars{position:absolute;inset:0;background-image:radial-gradient(1.5px 1.5px at 30px 40px,#fff 50%,transparent 52%),radial-gradient(1px 1px at 120px 90px,#fff 50%,transparent 52%),radial-gradient(1.5px 1.5px at 200px 30px,#fff 50%,transparent 52%),radial-gradient(1px 1px at 260px 140px,#fff 50%,transparent 52%);background-size:300px 180px;opacity:.6}
.season-burst{position:absolute;width:220px;height:220px;border-radius:50%;background:repeating-conic-gradient(from 0deg,var(--burst,#f5d27a) 0deg 3deg,transparent 3deg 18deg);-webkit-mask:radial-gradient(circle,transparent 0 14%,#000 16% 58%,transparent 62%);mask:radial-gradient(circle,transparent 0 14%,#000 16% 58%,transparent 62%);opacity:0;transform:scale(.2);animation:season-burst 4.2s ease-out infinite;filter:drop-shadow(0 0 10px var(--burst,#f5d27a))}
.season-burst--1{--burst:#f5d27a;top:8%;right:12%}
.season-burst--2{--burst:#ff5fa2;top:22%;right:34%;width:160px;height:160px;animation-delay:1.1s}
.season-burst--3{--burst:#5fd4ff;top:4%;right:52%;width:130px;height:130px;animation-delay:2.2s}
.season-burst--4{--burst:#b78cff;top:30%;right:6%;width:120px;height:120px;animation-delay:3s}

@keyframes season-snow{to{transform:translateY(50%)}}
@keyframes season-twinkle{0%{opacity:0}100%{opacity:.9}}
@keyframes season-burst{0%{opacity:0;transform:scale(.2)}12%{opacity:1}55%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.12) translateY(14px)}}
@media (prefers-reduced-motion:reduce){.season-snow,.season-garland::after,.season-burst{animation:none}.season-burst{opacity:.5;transform:none}}

/* Place chips */
.season-place-chips{display:flex;gap:.5rem;overflow-x:auto;padding:1rem max(1.25rem,calc((100vw - 1180px)/2));scrollbar-width:none;border-bottom:1px solid var(--s-line)}
.season-place-chips::-webkit-scrollbar{display:none}
.season-place-chips a{flex:none;display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;border:1px solid var(--s-line);border-radius:999px;background:var(--s-card);color:var(--s-text);font-weight:700;font-size:.9rem;text-decoration:none;transition:background .2s,border-color .2s}
.season-place-chips a:hover{border-color:var(--s-gold);background:var(--s-card-hover)}
.season-place-chips small{color:var(--s-gold);font-weight:900}

/* Map */
.season-map-section .section-head{align-items:end}
.season-map-legend{display:flex;align-items:center;gap:.4rem;margin:0;font-size:.85rem;color:var(--s-muted)}
.season-map{border:1px solid var(--s-line)!important;border-radius:22px!important;overflow:hidden;background:var(--s-card)!important;box-shadow:0 0 0 6px rgba(255,215,122,.05),0 20px 60px rgba(0,0,0,.35)}
.season-map #event-map{height:min(76vh,620px)!important;border:0!important;margin:0!important;border-radius:0!important}
.season-theme .nachtkarte-marker>span{border-color:var(--s-gold);box-shadow:0 9px 24px rgba(0,0,0,.45),0 0 18px var(--s-glow)}
.season-theme--xmas .nachtkarte-marker>span{background:radial-gradient(circle at 35% 30%,#f05a5a,#9b1f27 70%)}
.season-theme--nye .nachtkarte-marker>span{background:radial-gradient(circle at 35% 30%,#3b2f8f,#14113a 70%)}
.season-theme .nachtkarte-marker i{display:block;width:28px;height:28px;font-size:0;background:url(/assets/season/marker-xmas.svg) center/contain no-repeat}
.season-theme--nye .nachtkarte-marker i{background-image:url(/assets/season/marker-nye.svg)}
.season-theme .nachtkarte-marker b{background:var(--s-gold);color:#2a1a08}
.season-theme .nachtkarte-cluster>span{background:radial-gradient(circle at 35% 30%,var(--s-accent),var(--s-accent-deep) 75%)!important;border:3px solid var(--s-gold);color:#fff;box-shadow:0 0 0 6px rgba(255,215,122,.18),0 8px 24px rgba(0,0,0,.4)!important}

/* Cards */
.season-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:16px;margin-top:1.2rem}
.season-card{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:16px;align-items:start;padding:16px;border:1px solid var(--s-line);border-radius:20px;background:var(--s-card);transition:transform .2s ease,background .2s ease,border-color .2s ease}
.season-card:hover{transform:translateY(-3px);background:var(--s-card-hover);border-color:var(--s-gold)}
.season-card.is-running{box-shadow:inset 0 0 0 1px rgba(255,215,122,.35),0 0 24px var(--s-glow)}
.season-card-date{display:grid;justify-items:center;align-content:center;gap:2px;min-height:86px;padding:8px 4px;border-radius:14px;color:#fff;text-align:center}
.season-theme--xmas .season-card-date{background:linear-gradient(160deg,#c8323a,#7c1720);box-shadow:inset 0 0 0 2px rgba(255,215,122,.55),inset 0 0 0 5px rgba(0,0,0,.12)}
.season-theme--nye .season-card-date{background:linear-gradient(160deg,#2e2580,#14113a);box-shadow:inset 0 0 0 2px rgba(245,210,122,.6)}
.season-card-date span{font-size:.7rem;font-weight:900;letter-spacing:.16em;color:var(--s-gold)}
.season-card-date strong{font-size:2rem;line-height:1;font-weight:900}
.season-card-date small{font-size:.68rem;opacity:.85}
.season-card-body{min-width:0}
.season-card-badge{display:inline-block;margin-bottom:.35rem;padding:.15rem .55rem;border-radius:999px;background:rgba(255,215,122,.12);color:var(--s-gold);font-size:.7rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.season-card.is-running .season-card-badge{background:var(--s-gold);color:#2a1a08}
.season-card h3{margin:0 0 .45rem;font-size:1.06rem;line-height:1.25}
.season-card h3 a{color:var(--s-text);text-decoration:none}
.season-card h3 a::after{content:"";position:absolute;inset:0;border-radius:20px}
.season-card-place{display:flex;gap:.35rem;align-items:flex-start;margin:0 0 .3rem;color:var(--s-muted);font-size:.88rem;line-height:1.4}
.season-card-place svg{flex:none;width:15px;height:15px;margin-top:2px;fill:var(--s-gold)}
.season-card-dates{margin:0;color:var(--s-muted);font-size:.84rem}
.season-card .season-series{display:inline;margin:0;color:var(--s-gold);font-weight:800;font-size:.84rem}
.season-card-link{align-self:center;color:var(--s-gold);font-weight:900;text-decoration:none}
.season-more{margin-top:1.2rem}
.season-theme .season-note{color:var(--s-muted)}
.season-empty{padding:2rem;border:1px dashed var(--s-line);border-radius:20px;text-align:center}

/* Places */
.season-place-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:1.2rem}
.season-place-grid a{display:grid;gap:.25rem;padding:16px;border:1px solid var(--s-line);border-radius:16px;background:var(--s-card);color:var(--s-text);text-decoration:none;transition:border-color .2s,background .2s}
.season-place-grid a:hover{border-color:var(--s-gold);background:var(--s-card-hover)}
.season-place-grid span{color:var(--s-muted);font-size:.85rem}

/* Teaser + copy inside the theme */
.season-theme--xmas .together-card{background:radial-gradient(circle at 85% 15%,rgba(255,215,122,.2),transparent 32%),linear-gradient(145deg,#5d1219,#14281f);border:1px solid var(--s-line)}
.season-theme--nye .together-card{background:radial-gradient(circle at 85% 15%,rgba(255,95,162,.25),transparent 32%),linear-gradient(145deg,#2b1d6b,#0e0b2a);border:1px solid var(--s-line)}
.season-theme .together-card .kicker,.season-theme .together-steps li::before{color:var(--s-gold)}
.season-copy>*{max-width:900px}
.season-copy p{color:var(--s-muted);line-height:1.7}
.season-copy-links{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem}

@media (max-width:640px){
  .season-scene{min-height:auto;padding-top:3.6rem}
  .season-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:.5rem}
  .season-stats li{flex-direction:column;align-items:flex-start;gap:.1rem;padding:.6rem .7rem}
  .season-stats strong{font-size:1.25rem}
  .season-stats span{font-size:.75rem;line-height:1.25}
  .season-actions .button{flex:1 1 100%}
  .season-theme .section-head{flex-direction:column;align-items:flex-start;gap:.5rem}
  .season-theme .section-head>div{margin:0}
  .season-map-legend{font-size:.78rem}
  .season-card{grid-template-columns:64px minmax(0,1fr);padding:14px}
  .season-card-link{display:none}
  .season-card-date{min-height:76px}
  .season-burst{width:120px;height:120px}
  .season-map #event-map{height:420px!important}
}

/* Überschrift passt immer in die Breite: kein Umbruch mitten im Wort ("Weihnachtsmär-kte").
   "Weihnachtsmärkte" ist in Georgia Bold ~9,9 em breit, daher Schriftgröße ≤ Breite / 10,3. */
.season-scene h1{overflow-wrap:break-word;word-break:normal;hyphens:manual}
.season-theme--xmas .season-scene h1{font-size:min(clamp(2.6rem,7.4vw,5.6rem),calc((100vw - 48px) / 10.3))}
@supports (font-size:1cqi){
  .season-scene-inner{width:100%;container-type:inline-size}
  .season-theme--xmas .season-scene h1{font-size:min(clamp(2.6rem,7.4vw,5.6rem),9.7cqi)}
}
