/* ══════════════════════════════════════════════════════════════════════════
   I rauch, i sauf — fireworks-composer template
   Anti-fitness celebration · Raleway + Source Sans 3
   ══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky:       #0d0d2b;
  --sky-mid:   #12123a;
  --burgundy:  #7b1a2a;
  --gold:      #d4a017;
  --gold-lt:   #f0c040;
  --cream:     #f5f0e8;
  --warm-bg:   #1a100a;
  --muted:     #9a8878;
  --font-h:    'Raleway', system-ui, sans-serif;
  --font-b:    'Source Sans 3', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body.is-fireworks {
  background: var(--warm-bg);
  color: var(--cream);
  font-family: var(--font-b);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Fireworks Hero ─────────────────────────────────────────────────────── */
.fw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  overflow: hidden;
}

#fw-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fw-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(13,13,43,0) 40%, rgba(13,13,43,0.6) 100%);
  pointer-events: none;
}

.fw-nav {
  position: absolute;
  top: 1.5rem; left: 2rem;
  z-index: 10;
}
.fw-nav-home {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-lt);
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s;
}
.fw-nav-home:hover { opacity: 1; }

.fw-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem clamp(1.5rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.fw-hero-kicker {
  font-family: var(--font-b);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}

.fw-deco-row {
  display: flex;
  gap: .75rem;
  font-size: 1.75rem;
  animation: deco-dance 2s ease-in-out infinite;
}
@keyframes deco-dance {
  0%, 100% { transform: translateY(0); }
  25%       { transform: translateY(-4px); }
  75%       { transform: translateY(4px); }
}

.fw-hero-quote {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 40px rgba(255,255,255,0.15);
  position: relative;
}
.fw-hero-quote em {
  font-style: italic;
  color: var(--gold-lt);
  text-shadow: 0 0 30px rgba(240,192,64,0.5), 0 0 60px rgba(240,192,64,0.2);
  display: block;
}
.quote-mark-open {
  position: absolute;
  left: -.2em; top: -.1em;
  font-size: 1.8em;
  color: var(--gold);
  opacity: .4;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}
.quote-mark-close {
  position: absolute;
  right: -.15em; bottom: -.1em;
  font-size: 1.8em;
  color: var(--gold);
  opacity: .4;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.fw-hero-attr {
  font-family: var(--font-h);
  font-style: italic;
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  color: var(--muted);
}

.fw-zitat-ende {
  font-family: var(--font-b);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,160,23,0.4);
  padding: .3rem 1rem;
  border-radius: 2rem;
  opacity: .7;
}

.fw-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  opacity: .5;
  animation: fw-bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes fw-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Content sections ───────────────────────────────────────────────────── */
.fw-content {
  background: var(--warm-bg);
  padding: 3rem clamp(1.5rem, 5vw, 4rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* Medal card */
.fw-card {
  background: linear-gradient(135deg, #22100a 0%, #1a0c06 100%);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.medal-icon { font-size: 3rem; margin-bottom: 1rem; }
.fw-card-title {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--gold-lt);
  margin-bottom: .75rem;
}
.fw-card-text { color: var(--cream); opacity: .85; }

/* Stats row */
.fw-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  width: 100%;
}

.fw-stat-card {
  background: linear-gradient(135deg, #1e1206 0%, #1a1006 100%);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 12px;
  padding: 2rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fw-stat-card.in-view { opacity: 1; transform: none; }
.fw-stat-card:nth-child(2) { transition-delay: .15s; }
.fw-stat-card:nth-child(3) { transition-delay: .3s; }

.fw-stat-no {
  background: linear-gradient(135deg, #1a0a12 0%, #160810 100%);
  border-color: rgba(180,60,80,0.3);
}

.stat-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.stat-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.stat-value {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-lt);
  line-height: 1;
  margin-bottom: .5rem;
}
.fw-stat-no .stat-value { color: #e05070; }
.stat-verdict {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold);
  opacity: .7;
}
.fw-stat-no .stat-verdict { color: #e05070; }

/* Feature card */
.fw-feature-card {
  background: linear-gradient(135deg, #1e0c14 0%, #190e08 100%);
  border: 2px solid rgba(212,160,23,0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 80px rgba(212,160,23,0.05), 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.fw-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 20px,
    rgba(212,160,23,0.015) 20px,
    rgba(212,160,23,0.015) 21px
  );
  pointer-events: none;
}
.fw-feature-deco {
  display: flex;
  justify-content: center;
  gap: .75rem;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.fw-big-quote {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 900;
  font-style: italic;
  color: var(--gold-lt);
  line-height: 1.3;
  margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(240,192,64,0.2);
}

.fw-cast {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.fw-cast-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .9rem;
}
.fw-cast-role {
  font-weight: 700;
  color: var(--gold);
  min-width: 60px;
  text-align: right;
}
.fw-cast-sep { color: var(--muted); }
.fw-cast-note { color: var(--cream); opacity: .7; }

/* Featured image */
.fw-featured-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.fw-img-link { display: block; }
.fw-featured-img {
  max-width: 280px;
  max-height: 280px;
  object-fit: contain;
  border: 2px solid rgba(212,160,23,0.2);
  border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.fw-featured-img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 0 40px rgba(212,160,23,0.15);
}
.fw-img-caption {
  font-size: .75rem;
  color: var(--muted);
  font-style: italic;
}

/* Verdict */
.fw-verdict-wrap { width: 100%; max-width: 700px; }
.fw-verdict {
  background: linear-gradient(135deg, #12120a 0%, #1a1406 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 0 80px rgba(212,160,23,0.08), inset 0 0 60px rgba(212,160,23,0.03);
}
.fw-verdict-firework { font-size: 3rem; animation: fw-pulse 2s ease-in-out infinite; }
@keyframes fw-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(212,160,23,0.4)); }
  50%       { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(212,160,23,0.8)); }
}
.fw-verdict-title {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold-lt);
}
.fw-verdict-text {
  color: var(--cream);
  opacity: .8;
  line-height: 1.8;
}
.fw-verdict-badge {
  display: inline-block;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .25em;
  padding: .4rem 1.5rem;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 0 15px rgba(212,160,23,0.3);
}

/* Labels */
.fw-labels-wrap { text-align: center; }
.fw-labels-title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.fw-labels { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }

.label-tag {
  display: inline-block;
  padding: .25rem .75rem;
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 2rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.label-tag:hover { background: rgba(212,160,23,0.1); }

/* Collections */
.event-collections {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  background: #0d0d0d;
  border-top: 1px solid rgba(212,160,23,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .85rem;
}
.event-collections a { color: var(--muted); text-decoration: none; }
.event-collections a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 600px) {
  .fw-stats-row { grid-template-columns: 1fr; }
  .fw-hero-quote { font-size: clamp(2rem, 11vw, 3rem); }
}

/* ── Lightbox ── */
#lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.9);
  z-index:9999;align-items:center;justify-content:center;
  flex-direction:column;gap:.5rem}
#lightbox img{max-width:90vw;max-height:80vh;object-fit:contain}
.lb-close{position:fixed;top:1rem;right:1.5rem;font-size:2.5rem;
  color:#fff;cursor:pointer;line-height:1;opacity:.8}
.lb-close:hover{opacity:1}
.lb-nav{position:fixed;top:50%;transform:translateY(-50%);font-size:3rem;
  color:#fff;cursor:pointer;padding:.5rem;user-select:none;opacity:.7}
.lb-nav:hover{opacity:1}
.lb-prev{left:1rem}.lb-next{right:1rem}
.lb-caption{color:#ccc;font-size:.9rem;text-align:center;max-width:80vw}

/* ── Collection links ── */
nav.event-collections{{display:flex;flex-wrap:wrap;gap:.5rem 1rem;padding:1rem 1.5rem;border-top:1px solid rgba(128,128,128,.2);font-family:var(--font-head,sans-serif);font-size:.82rem}}
