/* ============================================================
   chrislicht.eu — Design System
   Die Märchen-Reise des Wellenreiters
   ============================================================ */

/* --- TOKENS --- */
:root {
  /* Core Identity */
  --gold: #D4AF37;
  --gold-light: #F4E5BC;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --deep-blue: #1A1A2E;
  --cosmic-purple: #4A3F6B;
  --emerald: #2D6A4F;
  --cream: #FAF8F5;
  --bg-warm: #FDF8F0;

  /* World Colors */
  --terra-fire: #C0392B;
  --terra-fire-glow: #E74C3C;
  --nova-earth: #5D4037;
  --nova-earth-warm: #8D6E63;
  --familie-air: #5DADE2;
  --familie-air-soft: #AED6F1;
  --selbst-water: #2E86C1;
  --selbst-water-light: #85C1E9;
  --kern-aether: #8E44AD;
  --kern-aether-light: #BB8FCE;

  /* Neutral */
  --text: #2C3E50;
  --text-light: #5D6D7E;
  --text-muted: #95A5A6;
  --divider: #E8E8E8;
  --white: #FFFFFF;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 8rem;

  /* Typography */
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 3vw, 2rem);
  --text-3xl: clamp(2rem, 4vw, 2.5rem);
  --text-4xl: clamp(2.5rem, 6vw, 4rem);
  --text-hero: clamp(3rem, 7vw, 5rem);

  /* Layout */
  --container-max: 1100px;
  --container-narrow: 700px;
  --container-wide: 1400px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 800ms;

  /* Z-index */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--deep-blue);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

.chapter-label {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.poem-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--text-2xl);
  line-height: 1.8;
  color: var(--gold-light);
  max-width: 600px;
  margin: 0 auto;
}

.bridge-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: var(--space-lg) auto 0;
  line-height: 1.8;
}

.section-title {
  font-size: var(--text-3xl);
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: var(--text-lg);
}

/* --- LAYOUT --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

/* --- FAIRY-TALE SECTIONS --- */
.tale-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) 20px;
  position: relative;
  overflow: hidden;
}

.tale-section__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Section 0: Die Schwelle */
.section-threshold {
  background: var(--deep-blue);
}

.threshold-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-hero);
  color: var(--gold);
  line-height: 1.3;
  text-shadow: 0 0 60px var(--gold-glow);
}

.threshold-subtitle {
  font-family: 'Cinzel', serif;
  font-size: var(--text-base);
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-lg);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
  animation: pulse-down 2s ease-in-out infinite;
}

.scroll-indicator__arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes pulse-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.8; }
}

/* Particle animation */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Section 1: Der Ruf */
.section-ruf {
  background: linear-gradient(180deg, var(--deep-blue) 0%, #1E1040 50%, #1A1A2E 100%);
}

.section-ruf .wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

/* Section 2: Die Offenbarung */
.section-offenbarung {
  background: linear-gradient(180deg, #1A1A2E 0%, #1A2744 50%, #1E1040 100%);
}

.moon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F5F5DC, #C0C0C0 60%, transparent 100%);
  box-shadow: 0 0 60px rgba(245, 245, 220, 0.3), 0 0 120px rgba(245, 245, 220, 0.1);
  margin: 0 auto var(--space-xl);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.moon.visible { opacity: 1; }

/* Section 3: Die Drei Schlussel */
.section-keys {
  background: linear-gradient(180deg, #1E1040 0%, #2A1A3E 50%, #1A1A2E 100%);
  min-height: auto;
  padding: var(--space-2xl) 20px;
}

.keys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: var(--space-xl) auto;
}

@media (max-width: 768px) {
  .keys-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.key-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.key-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.key-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.key-card:hover::before { opacity: 1; }

.key-card--fire::before { background: linear-gradient(90deg, var(--terra-fire), var(--gold)); }
.key-card--cauldron::before { background: linear-gradient(90deg, var(--gold), #F0C040); }
.key-card--wave::before { background: linear-gradient(90deg, var(--selbst-water), var(--familie-air)); }

.key-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
}

.key-card__number {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.key-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.key-card__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.key-card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.key-card.open .key-card__detail {
  max-height: 300px;
  padding-top: var(--space-md);
}

/* Section 4: Die Funf Welten */
.section-worlds {
  background: var(--deep-blue);
  min-height: auto;
  padding: var(--space-2xl) 20px;
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  max-width: 900px;
  margin: var(--space-xl) auto;
}

.worlds-grid .world-portal:nth-child(4),
.worlds-grid .world-portal:nth-child(5) {
  grid-column: span 1;
}

/* Center the last row (2 items in a 3-col grid) */
.worlds-grid .world-portal:nth-child(4) { justify-self: end; }
.worlds-grid .world-portal:nth-child(5) { justify-self: start; }

@media (max-width: 768px) {
  .worlds-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
  }
  .worlds-grid .world-portal:nth-child(4),
  .worlds-grid .world-portal:nth-child(5) {
    justify-self: auto;
  }
  .worlds-grid .world-portal:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .worlds-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .worlds-grid .world-portal:nth-child(5) {
    max-width: none;
  }
}

.world-portal {
  width: 220px;
  height: 260px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  margin: 0 auto;
}

.world-portal::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transition: all var(--duration-slow) var(--ease-out);
  opacity: 0.15;
}

.world-portal:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
}

.world-portal:hover::after {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.world-portal--fire:hover::after { background: var(--terra-fire); }
.world-portal--earth:hover::after { background: var(--nova-earth-warm); }
.world-portal--air:hover::after { background: var(--familie-air); }
.world-portal--water:hover::after { background: var(--selbst-water); }
.world-portal--aether:hover::after { background: var(--kern-aether); }

.world-portal__solid {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  opacity: 0.8;
  transition: opacity var(--duration-normal);
  position: relative;
  z-index: 1;
}

.world-portal:hover .world-portal__solid { opacity: 1; }

.world-portal__name {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--space-xs);
  position: relative;
  z-index: 1;
}

.world-portal__element {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.world-portal__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.world-portal__soon {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.6;
  margin-top: var(--space-sm);
  position: relative;
  z-index: 1;
}

/* Section 5: Die Vision */
.section-vision {
  background: linear-gradient(180deg, #1A1A2E 0%, #2A1A3E 40%, #3D1F0F 100%);
  min-height: auto;
  padding: var(--space-2xl) 20px;
}

.vision-title {
  font-size: var(--text-4xl);
  color: var(--gold);
  margin-bottom: var(--space-sm);
  text-shadow: 0 0 40px var(--gold-glow);
}

.vision-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
}

.myths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: var(--space-xl) auto;
}

@media (max-width: 768px) {
  .myths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .myths-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

.myth-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.myth-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.myth-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.myth-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-xl);
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.myth-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.vision-bridge {
  margin-top: var(--space-xl);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-base);
}

/* Section 6: Angebote */
.section-offerings {
  background: var(--bg-warm);
  color: var(--text);
  min-height: auto;
  padding: var(--space-2xl) 20px;
}

.section-offerings .section-title {
  color: var(--cosmic-purple);
}

.section-offerings .poem-text {
  color: var(--cosmic-purple);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xl);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.offering-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.offering-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.offering-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
}

.offering-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-2xl);
  color: var(--cosmic-purple);
  margin-bottom: var(--space-sm);
}

.offering-card__meta {
  font-size: var(--text-sm);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.offering-card__desc {
  color: var(--text-light);
  font-size: var(--text-base);
  line-height: 1.7;
  flex: 1;
}

.offering-card__cta {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: 12px 28px;
  background: var(--gold);
  color: var(--deep-blue);
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
  text-align: center;
  align-self: flex-start;
}

.offering-card__cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

/* Section 7: Das Siegel */
.section-seal {
  background: linear-gradient(180deg, #1A1A2E 0%, #2A1A3E 50%, #1A1A2E 100%);
}

.seal-poem {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  text-shadow: 0 0 40px var(--gold-glow);
}

.seal-portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto var(--space-lg);
  overflow: hidden;
  box-shadow: 0 0 40px var(--gold-glow);
}

.seal-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seal-portrait--placeholder {
  background: linear-gradient(135deg, var(--cosmic-purple), var(--emerald));
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-portrait--placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.6;
}

.seal-bio {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-xl);
}

.seal-bio strong {
  color: var(--white);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--deep-blue);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--gold-glow);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--small {
  padding: 10px 24px;
  font-size: var(--text-sm);
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration-normal);
}

.nav--scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav__logo {
  font-family: 'Cinzel', serif;
  font-size: var(--text-lg);
  color: var(--gold);
  letter-spacing: 0.1em;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__sound-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast);
  background: rgba(255, 255, 255, 0.05);
}

.nav__sound-toggle:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}

.nav__sound-toggle.active {
  color: var(--gold);
}

.nav__menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--duration-fast);
  border-radius: 2px;
}

.nav__menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.nav__menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Fullscreen menu overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay__content {
  text-align: center;
}

.menu-overlay__worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--space-xl);
}

@media (max-width: 480px) {
  .menu-overlay__worlds {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-overlay__world-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: 20px;
  border-radius: 16px;
  color: var(--white);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.menu-overlay__world-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.menu-overlay__world-link svg {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.menu-overlay__world-link span {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--gold);
}

.menu-overlay__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.menu-overlay__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-2xl);
  color: var(--white);
  transition: color var(--duration-fast);
}

.menu-overlay__link:hover {
  color: var(--gold);
}

/* --- SCROLL PROGRESS --- */
.scroll-progress {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: calc(var(--z-nav) - 2);
  display: none;
}

@media (min-width: 1024px) {
  .scroll-progress { display: block; }
}

.scroll-progress__track {
  width: 2px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
}

.scroll-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: height 100ms linear;
}

.scroll-progress__nodes {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scroll-progress__node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--duration-fast);
  position: relative;
}

.scroll-progress__node.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.scroll-progress__node::before {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.scroll-progress__node.active::before {
  opacity: 1;
  color: var(--gold);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--deep-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl) 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__name {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.site-footer__contact {
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.site-footer__org {
  font-size: var(--text-sm);
  opacity: 0.6;
  margin-bottom: var(--space-lg);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
}

.site-footer__links a {
  color: var(--gold);
  font-size: var(--text-sm);
  transition: opacity var(--duration-fast);
}

.site-footer__links a:hover { opacity: 0.7; }

.site-footer__motto {
  margin-top: var(--space-lg);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-base);
}

/* --- CIRCLES BACKGROUND PATTERN --- */
.bg-circles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23d4af3715' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='30' fill='none' stroke='%23d4af3710' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* --- ACCESSIBLE MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .particle { display: none; }
}

/* --- FOCUS STYLES --- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--deep-blue);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 999;
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   SUBPAGE STYLES (profil.html, barden.html)
   ============================================================ */

/* Page hero for subpages */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-hero--purple {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--cosmic-purple) 50%, var(--emerald) 100%);
}

.page-hero--warm {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #3D1F0F 50%, var(--cosmic-purple) 100%);
}

/* Content sections on light background */
.content-section {
  padding: var(--space-2xl) 20px;
}

.content-section--light {
  background: var(--cream);
  color: var(--text);
}

.content-section--white {
  background: var(--white);
  color: var(--text);
}

.content-section--dark {
  background: var(--deep-blue);
  color: var(--white);
}

.content-section--gradient {
  background: linear-gradient(135deg, var(--deep-blue), var(--cosmic-purple));
  color: var(--white);
}

.content-section .section-title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.content-section--light .section-title,
.content-section--white .section-title {
  color: var(--cosmic-purple);
}

.content-section .section-subtitle {
  text-align: center;
}

.content-section--light .section-subtitle,
.content-section--white .section-subtitle {
  color: var(--text-light);
}

/* Product cards (reused from original) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.product-card.featured {
  border: 3px solid var(--gold);
}

.product-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: var(--deep-blue);
  padding: 5px 40px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.product-icon-svg {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
}

.product-title {
  font-size: 1.5rem;
  color: var(--cosmic-purple);
  margin-bottom: 10px;
}

.product-price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}

.product-price span {
  font-size: var(--text-base);
  color: var(--text-light);
}

.product-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.product-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.product-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--emerald);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.product-features li.disabled {
  color: #ccc;
}

.product-features li.disabled::before {
  background: #ccc;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Comparison table */
.comparison {
  overflow-x: auto;
  margin-top: 50px;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.comparison th, .comparison td {
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: var(--text);
}

.comparison th {
  background: var(--cosmic-purple);
  color: var(--white);
  font-weight: 600;
}

.comparison td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison tr:hover {
  background: var(--gold-light);
}

/* Order form */
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--cosmic-purple);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: var(--text-base);
  transition: border-color var(--duration-fast);
  font-family: inherit;
  color: var(--text);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .order-form {
    padding: 30px 20px;
  }
}

.product-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .product-select {
    grid-template-columns: 1fr;
  }
}

.product-option {
  padding: 20px;
  border: 2px solid #eee;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.product-option:hover {
  border-color: var(--gold);
}

.product-option.selected {
  border-color: var(--gold);
  background: var(--gold-light);
}

.product-option input { display: none; }

.product-option .name {
  font-weight: 600;
  color: var(--cosmic-purple);
  margin-bottom: 4px;
}

.product-option .price {
  color: var(--gold);
  font-weight: 600;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: normal;
  color: var(--text-light);
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--cosmic-purple);
  text-decoration: underline;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-question {
  font-weight: 600;
  color: var(--cosmic-purple);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  display: none;
  padding-top: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.9;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gold);
}

/* --- MEC BARDEN PAGE --- */
.module-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.module-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--kern-aether), var(--emerald));
}

.module-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-lg);
}

.module-item::before {
  content: attr(data-number);
  position: absolute;
  left: -32px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep-blue);
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.module-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--text-2xl);
  color: var(--cosmic-purple);
  margin-bottom: var(--space-sm);
}

.module-item__gene-key {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.module-item__desc {
  color: var(--text-light);
  line-height: 1.7;
}

/* Pricing tiers for MEC */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 3px solid var(--gold);
  transform: scale(1.03);
}

.pricing-card__name {
  font-family: 'Cinzel', serif;
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  color: var(--cosmic-purple);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.pricing-card__desc {
  color: var(--text-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

/* Career path */
.career-path {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.career-step {
  width: 100%;
  padding: 20px 24px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.career-step__title {
  font-family: 'Cinzel', serif;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.career-step__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.career-arrow {
  color: var(--gold);
  font-size: var(--text-xl);
  opacity: 0.5;
}
