/* High Nachten skin – Bekifft #16 season (bud-candy purple + fairy lights).
   Only active while <html> has the class "hn" (set by the inline script in index.html until 20.12.2026).
   Remove this file and the script after the season – the default brown/orange theme comes back by itself. */

html.hn {
  /* Brown scale → deep aubergine */
  --bk-brown-950:#0F0816;
  --bk-brown-900:#160D1F;
  --bk-brown-800:#1F1229;
  --bk-brown-700:#2A1938;
  --bk-brown-600:#3A244D;
  --bk-brown-500:#533669;
  --bk-brown-400:#8A72A3;

  /* Orange scale → bud-candy purple */
  --bk-orange-100:#F3E5FF;
  --bk-orange-200:#E2C2FF;
  --bk-orange-300:#D29BFF;
  --bk-orange-400:#C77DFF;
  --bk-orange-500:#B05CF2;
  --bk-orange-600:#8E2DE2;
  --bk-orange-700:#6A1FB0;
  --bk-orange-800:#3F1270;

  --bk-orange-a15:rgba(176,92,242,.15);
  --bk-orange-a45:rgba(176,92,242,.45);
  --bk-orange-a50:rgba(176,92,242,.5);

  /* Fairy-light gold instead of sticker yellow; green stays as the Christmas-tree complement */
  --bk-yellow:#FFD36E;

  /* Hard-coded colours in components */
  --hn-gold:#FFD36E;
  --hn-wire:#6E5A80;
  background: var(--bk-brown-800);
}

/* Raster logo in the loader: orange → purple */
html.hn .loader__logo-img { filter: hue-rotate(258deg) saturate(1.25) brightness(1.08); }

/* Lever handle and other gradients that use raw orange hex */
html.hn .radial-lever__input::-webkit-slider-thumb { background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(0,0,0,.28) 7px 9px) center / 16px 60% no-repeat, linear-gradient(180deg, #E2C2FF, var(--bk-accent) 55%, #6A1FB0); }
html.hn .radial-lever__input::-moz-range-thumb { background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(0,0,0,.28) 7px 9px) center / 16px 60% no-repeat, linear-gradient(180deg, #E2C2FF, var(--bk-accent) 55%, #6A1FB0); }

/* Inline raw hex from the design export */
html.hn [style*="#2B2623"], html.hn [style*="#2b2623"] { background-color: var(--bk-brown-800) !important; }

/* ===== Fairy lights hanging under the fixed nav ===== */
html.hn .site-nav::before,
html.hn .site-nav::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 44px; pointer-events: none;
  background-repeat: repeat-x; background-size: 220px 44px; background-position: 0 0;
}
/* wire + bulbs */
html.hn .site-nav::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='44' viewBox='0 0 220 44'%3E%3Cpath d='M0 4 Q55 30 110 4 Q165 30 220 4' fill='none' stroke='%236E5A80' stroke-width='2'/%3E%3Cg%3E%3Crect x='33' y='14' width='6' height='6' rx='1' fill='%236E5A80'/%3E%3Cellipse cx='36' cy='27' rx='5' ry='8' fill='%23FFD36E'/%3E%3Crect x='71' y='14' width='6' height='6' rx='1' fill='%236E5A80'/%3E%3Cellipse cx='74' cy='27' rx='5' ry='8' fill='%23C77DFF'/%3E%3Crect x='143' y='14' width='6' height='6' rx='1' fill='%236E5A80'/%3E%3Cellipse cx='146' cy='27' rx='5' ry='8' fill='%2326A55D'/%3E%3Crect x='181' y='14' width='6' height='6' rx='1' fill='%236E5A80'/%3E%3Cellipse cx='184' cy='27' rx='5' ry='8' fill='%23FFF3C4'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Cellipse cx='34.5' cy='24' rx='1.6' ry='3'/%3E%3Cellipse cx='72.5' cy='24' rx='1.6' ry='3'/%3E%3Cellipse cx='144.5' cy='24' rx='1.6' ry='3'/%3E%3Cellipse cx='182.5' cy='24' rx='1.6' ry='3'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 0 3px rgba(255,211,110,.35));
}
/* glow halos, twinkling */
html.hn .site-nav::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='44' viewBox='0 0 220 44'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23FFE6A8' stop-opacity='.9'/%3E%3Cstop offset='1' stop-color='%23C77DFF' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='36' cy='27' r='16' fill='url(%23g)'/%3E%3Ccircle cx='146' cy='27' r='16' fill='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode: screen; animation: hn-twinkle 2.6s ease-in-out infinite alternate;
}
@keyframes hn-twinkle { 0% { opacity: .25; } 55% { opacity: 1; } 100% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { html.hn .site-nav::after { animation: none; opacity: .7; } }
@media (max-width: 600px) {
  html.hn .site-nav::before, html.hn .site-nav::after { height: 34px; background-size: 170px 34px; }
}

/* ===== Mummy as Santa: climbs out of a snowy chimney (hero-mascot) ===== */
.hn-chimney, .hn-hat { display: none; }
html.hn .hn-chimney { display: block; position: absolute; z-index: 2; left: 33%; width: 58%; top: 44%; height: 120%; pointer-events: none; }
html.hn .hn-chimney svg { display: block; width: 100%; height: 100%; overflow: visible; }
html.hn .hn-hat { display: block; position: absolute; z-index: 3; left: 49%; top: -9.5%; width: 40%; pointer-events: none; transform: rotate(-9deg); transform-origin: 30% 90%; }
html.hn .hn-hat svg { display: block; width: 100%; height: auto; overflow: visible; }
html.hn .hero-mascot__body { transform: translateY(46%); transition: transform 1.5s cubic-bezier(.34, 1.36, .5, 1); }
html.hn .hero-mascot.hn-in .hero-mascot__body { transform: translateY(0); }
html.hn .hero-mascot.hn-in .hn-hat svg .hn-pom { animation: hn-pom 2.8s ease-in-out 1.4s infinite alternate; transform-origin: 150px 40px; }
@keyframes hn-pom { from { transform: rotate(0); } to { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { html.hn .hero-mascot__body { transform: none; transition: none; } }

/* Hero line 2 "High / Nachten #16" is longer than "Pop-up / Space #15": keep the ticket on one line on phones */
@media (max-width: 600px) {
  html.hn .hero-404__title { font-size: min(50.7px, 10.4vw); }
  html.hn .hero-opening__tag { white-space: nowrap; }
}

/* Date pill and "Anlass" chip sit on top of the stage: push the stage below the fairy lights */
html.hn .hero-title--404 .hero-title__stage { margin-top: 62px; }
@media (max-width: 600px) { html.hn .hero-title--404 .hero-title__stage { margin-top: 52px; } }
