/* ============================================================
   TIMMY HEILKREIS — Maximaler Esoterik-Kitsch
   Palette: Tiefes Mitternachts-Lila, Gold, Mystik-Türkis, Kosmisches Rosa
   ============================================================ */

/* --- TOKENS --- */
:root {
  --font-display: 'Cinzel Decorative', 'Georgia', serif;
  --font-body: 'IM Fell English', 'Georgia', serif;
  --font-rune: 'Uncial Antiqua', serif;

  --color-bg: #08051a;
  --color-surface: #0d0826;
  --color-surface-2: #12103a;
  --color-border: #2a1f5e;

  --color-text: #e8d9ff;
  --color-text-muted: #9b8ec4;
  --color-text-faint: #5a4d7a;

  --gold: #f0d060;
  --gold-bright: #ffec8b;
  --gold-dim: #c8a020;
  --purple: #7c3aed;
  --purple-light: #c084fc;
  --teal: #2dd4bf;
  --rose: #f472b6;
  --blue: #60a5fa;
  --white: #f9f0ff;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;
  --transition: 200ms ease;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.7;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; }
p, li { text-wrap: pretty; max-width: 72ch; }

/* ============================================================
   HINTERGRUND — Sterne, Nebel, Partikel
   ============================================================ */

.stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle linear infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.nebula {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(192, 132, 252, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(45, 212, 191, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 60%, rgba(244, 114, 182, 0.06) 0%, transparent 60%);
}

/* ============================================================
   SCHWEBENDE SYMBOLE
   ============================================================ */

.floating-symbols {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.sym {
  position: absolute;
  font-size: clamp(1rem, 2vw, 2rem);
  opacity: 0.12;
  animation: floatSym linear infinite;
  color: var(--gold);
  filter: blur(0.5px);
}
.s1  { left:  5%; top: 10%; animation-duration: 18s; animation-delay: 0s;   font-size: 1.5rem; }
.s2  { left: 15%; top: 80%; animation-duration: 22s; animation-delay: -4s;  font-size: 2rem; }
.s3  { left: 25%; top: 40%; animation-duration: 15s; animation-delay: -7s;  font-size: 1.2rem; }
.s4  { left: 40%; top: 20%; animation-duration: 25s; animation-delay: -2s;  font-size: 1.8rem; }
.s5  { left: 55%; top: 70%; animation-duration: 19s; animation-delay: -9s;  font-size: 1.4rem; color: var(--purple-light); }
.s6  { left: 65%; top: 30%; animation-duration: 23s; animation-delay: -3s;  font-size: 1.6rem; }
.s7  { left: 75%; top: 85%; animation-duration: 17s; animation-delay: -6s;  font-size: 1rem; }
.s8  { left: 85%; top: 15%; animation-duration: 20s; animation-delay: -1s;  font-size: 2rem; color: var(--teal); }
.s9  { left: 90%; top: 55%; animation-duration: 16s; animation-delay: -5s;  font-size: 1.3rem; }
.s10 { left: 50%; top: 50%; animation-duration: 28s; animation-delay: -10s; font-size: 1.1rem; color: var(--rose); }

@keyframes floatSym {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0.08; }
  25%  { opacity: 0.18; }
  50%  { transform: translateY(-40px) rotate(180deg); opacity: 0.12; }
  75%  { opacity: 0.06; }
  100% { transform: translateY(0) rotate(360deg); opacity: 0.08; }
}

/* ============================================================
   HEADER & NAV
   ============================================================ */

.site-header {
  position: relative; z-index: 100;
  padding: var(--space-4) var(--space-8);
  border-bottom: 1px solid rgba(240, 208, 96, 0.2);
  background: rgba(8, 5, 26, 0.8);
  backdrop-filter: blur(12px);
}
nav {
  display: flex; align-items: center; gap: var(--space-8);
  max-width: 960px; margin: 0 auto;
}
.nav-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
}
.cta-nav {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(240, 208, 96, 0.2));
  border: 1px solid rgba(240, 208, 96, 0.3);
  color: var(--gold) !important;
}
.cta-nav:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(240, 208, 96, 0.3));
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(240, 208, 96, 0.3);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative; z-index: 10;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--space-8);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-6);
  max-width: 720px;
}

.whale-sigil {
  width: clamp(180px, 35vw, 280px);
  animation: rotateSlow linear 40s infinite;
  filter: drop-shadow(0 0 30px rgba(192, 132, 252, 0.4)) drop-shadow(0 0 60px rgba(124, 58, 237, 0.2));
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-kicker {
  font-family: var(--font-rune);
  font-size: var(--text-sm);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-light);
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(240, 208, 96, 0.5));
  line-height: 1;
  letter-spacing: 0.05em;
}
.subtitle-gold {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  background: linear-gradient(90deg, var(--teal), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero-tagline {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 50ch;
}
.hero-tagline em { color: var(--gold); font-style: normal; }

.scroll-hint {
  font-family: var(--font-rune);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.2em;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   CTA BUTTON
   ============================================================ */

.btn-heilkreis {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-bg);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, #e0a020 100%);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow:
    0 0 20px rgba(240, 208, 96, 0.4),
    0 0 40px rgba(240, 208, 96, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-heilkreis.large {
  padding: var(--space-6) var(--space-12);
  font-size: var(--text-base);
}
.btn-heilkreis:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 30px rgba(240, 208, 96, 0.6),
    0 0 60px rgba(240, 208, 96, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 200ms;
}
.btn-heilkreis:hover .btn-glow { opacity: 1; }

/* ============================================================
   CONTAINER / SECTIONS
   ============================================================ */

.container { max-width: 1100px; margin: 0 auto; padding: 0 var(--space-8); }
.container.narrow { max-width: 720px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-6); }

.section {
  position: relative; z-index: 10;
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: var(--space-8);
  filter: drop-shadow(0 0 15px rgba(240, 208, 96, 0.4));
  letter-spacing: 0.05em;
}
.section-lead {
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 65ch;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  line-height: 1.8;
}
.section-lead strong { color: var(--gold); font-style: normal; }

/* ============================================================
   TRENNLINIE
   ============================================================ */

.divider-rune {
  position: relative; z-index: 10;
  text-align: center;
  padding: var(--space-4) 0;
  font-family: var(--font-rune);
  font-size: var(--text-base);
  color: var(--gold-dim);
  letter-spacing: 0.5em;
  opacity: 0.6;
}

/* ============================================================
   FAKTEN-KARTEN
   ============================================================ */

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.fact-card {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.fact-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card-blue   { background: linear-gradient(135deg, rgba(96,165,250,0.08), rgba(13,8,38,0.9)); border-color: rgba(96,165,250,0.2); }
.card-blue:hover   { box-shadow: 0 12px 40px rgba(96,165,250,0.15); }
.card-gold   { background: linear-gradient(135deg, rgba(240,208,96,0.1), rgba(13,8,38,0.9)); border-color: rgba(240,208,96,0.2); }
.card-gold:hover   { box-shadow: 0 12px 40px rgba(240,208,96,0.15); }
.card-purple { background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(13,8,38,0.9)); border-color: rgba(124,58,237,0.3); }
.card-purple:hover { box-shadow: 0 12px 40px rgba(124,58,237,0.2); }
.card-teal   { background: linear-gradient(135deg, rgba(45,212,191,0.08), rgba(13,8,38,0.9)); border-color: rgba(45,212,191,0.2); }
.card-teal:hover   { box-shadow: 0 12px 40px rgba(45,212,191,0.15); }
.card-rose   { background: linear-gradient(135deg, rgba(244,114,182,0.08), rgba(13,8,38,0.9)); border-color: rgba(244,114,182,0.2); }
.card-rose:hover   { box-shadow: 0 12px 40px rgba(244,114,182,0.15); }
.card-amber  { background: linear-gradient(135deg, rgba(251,191,36,0.1), rgba(13,8,38,0.9)); border-color: rgba(251,191,36,0.2); }
.card-amber:hover  { box-shadow: 0 12px 40px rgba(251,191,36,0.15); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  filter: drop-shadow(0 0 8px currentColor);
}
.fact-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
}
.fact-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}
.fact-card p strong { color: var(--color-text); }
.fact-card p em { color: var(--teal); font-style: normal; }

/* ============================================================
   HOW-TO STEPS
   ============================================================ */

.steps {
  display: flex; flex-direction: column; gap: var(--space-6);
  margin-bottom: var(--space-10);
}
.step {
  display: flex; gap: var(--space-6); align-items: flex-start;
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(13,8,38,0.6));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-lg);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--gold);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(240,208,96,0.5));
  line-height: 1;
}
.step-text { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }
.step-text strong { color: var(--color-text); }

.cta-center { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.cta-sub {
  font-family: var(--font-rune);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  letter-spacing: 0.2em;
  font-style: italic;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.testimonial {
  padding: var(--space-8);
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(192,132,252,0.15);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--purple-light);
  font-style: italic;
  color: var(--color-text-muted);
}
.testimonial cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: normal;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */

.footer-cta {
  position: relative; z-index: 10;
  padding: var(--space-24) var(--space-8);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.15) 50%, transparent);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.footer-cta p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0 auto var(--space-8);
}
.whale-emoji-big {
  font-size: clamp(4rem, 10vw, 7rem);
  animation: whaleBob 3s ease-in-out infinite;
  display: block;
}
@keyframes whaleBob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-15px) rotate(3deg); }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  position: relative; z-index: 10;
  text-align: center;
  padding: var(--space-8);
  border-top: 1px solid rgba(240,208,96,0.15);
  font-family: var(--font-rune);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.1em;
}
.footer-sub { margin-top: var(--space-2); opacity: 0.5; letter-spacing: 0.05em; font-family: var(--font-body); }

/* ============================================================
   KREIS-SEITE
   ============================================================ */

.kreis-page { background: #04020f; }

.kreis-main {
  position: relative; z-index: 10;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--space-12) var(--space-8) var(--space-16);
  gap: var(--space-8);
}

.kreis-header { text-align: center; }
.kreis-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 25px rgba(240,208,96,0.4));
  letter-spacing: 0.08em;
  line-height: 1;
}
.kreis-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-4);
}

/* Status Bar */
.status-bar {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2) var(--space-6);
  background: rgba(13,8,38,0.8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-rune);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
}
.status-dot.connected { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse-dot 2s ease-in-out infinite; }
.status-dot.offline { background: #ef4444; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Timer Arena */
.timer-arena {
  width: 100%; max-width: 600px;
  display: flex; flex-direction: column; align-items: center;
}

/* WARTE-MODUS */
.mode-wait { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.mode-label {
  font-family: var(--font-rune);
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  color: var(--purple-light);
}

.countdown-ring {
  position: relative;
  width: clamp(220px, 40vw, 300px);
  height: clamp(220px, 40vw, 300px);
}
.ring-svg { width: 100%; height: 100%; }
#progressRing { transition: stroke-dashoffset 0.9s ease; }
.countdown-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.countdown-time {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--gold);
  filter: drop-shadow(0 0 12px rgba(240,208,96,0.6));
  letter-spacing: 0.05em;
}
.countdown-label {
  font-family: var(--font-rune);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
  margin-top: var(--space-1);
}
.wait-hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: italic;
  max-width: 42ch;
  line-height: 1.8;
  text-align: center;
}

/* PULS-MODUS (Heilphase) */
.mode-pulse { display: none; flex-direction: column; align-items: center; gap: var(--space-6); text-align: center; }
.mode-pulse:not(.hidden) { display: flex; }
.hidden { display: none !important; }

/* Pulse Header */
.pulse-header { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.pulse-label {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.08em;
  animation: pulseLabel 1s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(240,208,96,0.8));
}
@keyframes pulseLabel {
  from { opacity: 0.8; text-shadow: 0 0 20px rgba(240,208,96,0.5); }
  to   { opacity: 1;   text-shadow: 0 0 40px rgba(240,208,96,1), 0 0 80px rgba(192,132,252,0.5); }
}
.pulse-timer-bar {
  width: 300px; height: 6px;
  background: rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(240,208,96,0.2);
}
.pulse-timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: var(--radius-full);
  transition: width 0.9s linear;
  box-shadow: 0 0 10px rgba(240,208,96,0.5);
}
.pulse-countdown {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--purple-light);
  letter-spacing: 0.05em;
}
.pulse-sub {
  font-family: var(--font-rune);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  letter-spacing: 0.15em;
}

/* DIE HAND */
.hand-container {
  position: relative;
  width: clamp(200px, 40vw, 280px);
  height: clamp(230px, 46vw, 320px);
  display: flex; align-items: center; justify-content: center;
}

/* Aura-Rings um die Hand */
.hand-aura {
  position: absolute; inset: -40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(240,208,96,0.25) 0%,
    rgba(192,132,252,0.15) 30%,
    rgba(124,58,237,0.08) 60%,
    transparent 80%);
  animation: auraBreath 2s ease-in-out infinite;
  filter: blur(8px);
}
@keyframes auraBreath {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.hand-rings {
  position: absolute; inset: -60px;
  pointer-events: none;
}
.hand-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid;
  animation: expandRing linear infinite;
}
.hr1 { border-color: rgba(240,208,96,0.6);  animation-duration: 2s;   animation-delay: 0s; }
.hr2 { border-color: rgba(192,132,252,0.4); animation-duration: 2s;   animation-delay: 0.67s; }
.hr3 { border-color: rgba(45,212,191,0.3);  animation-duration: 2s;   animation-delay: 1.34s; }
@keyframes expandRing {
  0%   { transform: scale(0.5);  opacity: 1; }
  100% { transform: scale(2.5);  opacity: 0; }
}

.hand-svg {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  filter:
    drop-shadow(0 0 20px rgba(240,208,96,0.8))
    drop-shadow(0 0 40px rgba(192,132,252,0.6))
    drop-shadow(0 0 80px rgba(124,58,237,0.4));
  animation: handShimmer 1.5s ease-in-out infinite alternate;
}
@keyframes handShimmer {
  from {
    filter:
      drop-shadow(0 0 15px rgba(240,208,96,0.6))
      drop-shadow(0 0 35px rgba(192,132,252,0.5))
      drop-shadow(0 0 70px rgba(124,58,237,0.3));
  }
  to {
    filter:
      drop-shadow(0 0 30px rgba(240,208,96,1))
      drop-shadow(0 0 60px rgba(192,132,252,0.9))
      drop-shadow(0 0 120px rgba(124,58,237,0.6));
  }
}

.fingertip-glow {
  animation: fingerpulse 1.2s ease-in-out infinite alternate;
}
@keyframes fingerpulse {
  from { opacity: 0.5; r: 4px; }
  to   { opacity: 1;   r: 7px; }
}

/* Energie-Partikel */
.energy-particles { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle ease-in-out infinite;
}
@keyframes floatParticle {
  0%   { transform: translate(0, 0) scale(1);    opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 0.8; }
  100% { transform: translate(var(--tx, 30px), var(--ty, -50px)) scale(0); opacity: 0; }
}

/* Pulse-Instruction */
.pulse-instruction {
  font-size: var(--text-base);
  color: var(--color-text);
  font-style: italic;
  max-width: 40ch;
  line-height: 1.9;
  text-align: center;
}
.pulse-instruction em { color: var(--gold); font-style: normal; }

/* Pulse-Modus: Body-Hintergrund ändern */
.pulse-mode {
  background: #070210 !important;
}
.pulse-mode .nebula {
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(240,208,96,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(192,132,252,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 70%, rgba(124,58,237,0.2) 0%, transparent 60%);
  animation: nebulaGlow 2s ease-in-out infinite alternate;
}
@keyframes nebulaGlow {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* ============================================================
   TEILNEHMER & AFFIRMATION
   ============================================================ */

.teilnehmer-box {
  position: relative; z-index: 10;
}
.teilnehmer-inner {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  background: rgba(13,8,38,0.8);
  border: 1px solid rgba(45,212,191,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--teal);
}
.teilnehmer-icon { font-size: 1.2em; animation: spinSlow 4s linear infinite; }
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
#teilnehmerCount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(240,208,96,0.6));
}
.teilnehmer-label { color: var(--color-text-muted); }

.affirmation-box {
  position: relative; z-index: 10;
  max-width: 500px;
  text-align: center;
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(13,8,38,0.8));
  border: 1px solid rgba(192,132,252,0.2);
  border-radius: var(--radius-lg);
}
.affirmation-box p {
  font-size: var(--text-base);
  color: var(--purple-light);
  font-style: italic;
  letter-spacing: 0.03em;
  transition: opacity 0.5s ease;
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   PULSE-ACTIVE STATE (gesamte Arena)
   ============================================================ */

.timer-arena.pulse-active {
  animation: arenaGlow 1.5s ease-in-out infinite alternate;
}
@keyframes arenaGlow {
  from { filter: brightness(1); }
  to   { filter: brightness(1.1); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
  .facts-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  nav { gap: var(--space-4); }
  .step { flex-direction: column; gap: var(--space-3); }
  .pulse-timer-bar { width: 250px; }
  .hand-container { width: 180px; height: 205px; }
}
