@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('./fonts/PlayfairDisplay-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --gold: #C8A24E;
  --gold-light: #E8D5A0;
  --gold-bright: #F0C654;
  --dark: #0A0A0F;
  --dark-card: #12121A;
  --dark-subtle: #1A1A25;
  --text: #E8E6E1;
  --text-muted: #9994A6;
  --accent: #6C5CE7;
  --accent-soft: rgba(108, 92, 231, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── Grain Overlay ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 162, 78, 0.4); }
  50% { box-shadow: 0 0 0 20px rgba(200, 162, 78, 0); }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: url('bilder/header-mehr-wert.jpg') center center / cover no-repeat;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.hero-bg .orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200, 162, 78, 0.15), transparent 70%);
  top: -10%; right: -5%;
  animation-delay: 0s;
}
.hero-bg .orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.1), transparent 70%);
  bottom: -5%; left: -5%;
  animation-delay: -3s;
}
.hero-bg .orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200, 162, 78, 0.08), transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -5s;
}

.hero-line {
  position: absolute;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.2;
}
.hero-line-1 { left: 15%; top: 5%; transform: rotate(15deg); }
.hero-line-2 { right: 20%; top: 15%; transform: rotate(-10deg); height: 150px; }
.hero-line-3 { left: 40%; bottom: 10%; transform: rotate(5deg); height: 180px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 162, 78, 0.1);
  border: 1px solid rgba(200, 162, 78, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  margin-bottom: 0.3em;
  animation: fadeUp 0.8s ease 0.15s both;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.3s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-date {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
  animation: fadeUp 0.8s ease 0.45s both;
}

.hero-cta {
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 15, 0.7);
  z-index: 1;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 40px rgba(200, 162, 78, 0.35);
}

.hero-free {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: fadeUp 0.8s ease 0.75s both;
}

/* ── Section Shared ── */
section {
  padding: 8rem 2rem;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  font-weight: 300;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Problem Section ── */
.problem {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-subtle) 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.stat-block {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(200, 162, 78, 0.1);
  position: relative;
  overflow: hidden;
}
.stat-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

.problem-points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}
.problem-point:hover {
  border-color: rgba(200, 162, 78, 0.2);
  transform: translateX(8px);
}

.problem-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: rgba(200, 162, 78, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.problem-point h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.problem-point p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Speakers Section ── */
.speakers {
  background: var(--dark);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.speaker-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.speaker-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(200, 162, 78, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.speaker-card:hover::before { opacity: 1; }
.speaker-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 162, 78, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.speaker-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  overflow: hidden;
}
.speaker-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.speaker-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(200, 162, 78, 0.3);
}

.speaker-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.speaker-topic {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  position: relative;
}

.speaker-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  position: relative;
}

/* ── Schedule Section ── */
.schedule {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-subtle) 50%, var(--dark) 100%);
}

.schedule-wrapper {
  margin-top: 4rem;
  max-width: 800px;
}

.schedule-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  position: relative;
}
.schedule-item:hover {
  padding-left: 1rem;
}
.schedule-item:last-child { border-bottom: none; }

.schedule-day {
  min-width: 100px;
}
.schedule-day .day-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
}
.schedule-day .day-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

.schedule-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.schedule-content .schedule-speaker {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.schedule-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
}

.schedule-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(200, 162, 78, 0.1);
  color: var(--gold-light);
  border: 1px solid rgba(200, 162, 78, 0.2);
}

.qa-note {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 16px;
  background: var(--dark-card);
  border: 1px solid rgba(200, 162, 78, 0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.qa-icon {
  width: 56px; height: 56px; min-width: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.qa-note h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.qa-note p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Format Section ── */
.format {
  background: var(--dark);
}

.format-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.format-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: all 0.4s ease;
}
.format-card:hover {
  border-color: rgba(200, 162, 78, 0.2);
  transform: translateY(-5px);
}

.format-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(200, 162, 78, 0.08);
  border: 1px solid rgba(200, 162, 78, 0.15);
}

.format-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.format-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ── CTA Section ── */
.cta {
  text-align: center;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 162, 78, 0.08), transparent 60%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

.cta .section-title {
  position: relative;
}

.cta .section-desc {
  margin: 0 auto 3rem;
  position: relative;
}

.cta .btn-primary {
  position: relative;
  animation: pulse 2.5s ease infinite;
}

/* ── Footer ── */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  section { padding: 5rem 1.5rem; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .schedule-item {
    flex-direction: column;
    gap: 0.8rem;
  }

  .format-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .qa-note {
    flex-direction: column;
    text-align: center;
  }
}

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

  .speaker-card {
    padding: 2rem 1.2rem 1.5rem;
  }
}
