/* Stromfee Radar Akademie · Apple-Light · Mobile-First */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fdfcff;
  --surface: #ffffff;
  --surface-alt: #f5f3ff;
  --text: #1e1b4b;
  --text-soft: #5b5575;
  --text-mute: #94a3b8;
  --accent: #a78bfa;
  --accent-deep: #7c3aed;
  --accent-soft: #ede9fe;
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --blue: #3b82f6;
  --border: #ece9f5;
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, 0.04), 0 1px 4px rgba(30, 27, 75, 0.05);
  --shadow-md: 0 6px 18px rgba(30, 27, 75, 0.06), 0 2px 6px rgba(30, 27, 75, 0.04);
  --shadow-lg: 0 16px 40px rgba(30, 27, 75, 0.08), 0 4px 10px rgba(30, 27, 75, 0.05);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  scroll-behavior: smooth;
}
body { padding-bottom: 80px; }

/* Mobile-First Container */
.shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Top Bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.topbar .row {
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  font-size: 17px; font-weight: 700; letter-spacing: -0.3px;
  color: var(--text); text-decoration: none;
}
.brand .accent { color: var(--accent-deep); }
.topbar a.back {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent-deep); font-size: 15px; font-weight: 600;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 40px 0 28px;
  text-align: center;
}
.hero .kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 38px; line-height: 1.05; letter-spacing: -1.2px;
  font-weight: 800; color: var(--text);
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--accent-deep); }
.hero .sub {
  font-size: 17px; color: var(--text-soft);
  max-width: 380px; margin: 0 auto;
  line-height: 1.5;
}

/* Stats Strip */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 28px 0;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
  text-align: center;
}
.stat .val {
  font-size: 24px; font-weight: 800; color: var(--text);
  letter-spacing: -0.5px; font-variant-numeric: tabular-nums;
}
.stat .lbl {
  font-size: 11px; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
  margin-top: 4px;
}

/* Section Heading */
.section-head {
  margin: 36px 0 16px;
}
.section-head h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.6px;
  color: var(--text);
}
.section-head .desc {
  font-size: 14px; color: var(--text-soft); margin-top: 4px;
}

/* Module-Card */
.mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--text);
  display: block; position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mod-card:active { transform: scale(0.98); box-shadow: var(--shadow-md); }
.mod-card .head {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px;
}
.mod-card .badge {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.mod-card .title-block { flex: 1; min-width: 0; }
.mod-card h3 {
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  line-height: 1.3; margin-bottom: 4px;
}
.mod-card .mod-sub {
  font-size: 13px; color: var(--text-soft); line-height: 1.4;
}
.mod-card .meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--text-mute); font-weight: 600;
  border-top: 1px solid var(--border); padding-top: 12px;
}
.mod-card .pill {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}
.mod-card .pill.live { background: #dcfce7; color: var(--green); }
.mod-card .pill.soon { background: #fef3c7; color: var(--gold); }
.mod-card .chevron { color: var(--text-mute); margin-left: auto; font-size: 18px; }

/* Lesson Item */
.lesson {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text);
}
.lesson .num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--surface-alt); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.lesson .body { flex: 1; min-width: 0; }
.lesson .body .ttl {
  font-size: 15px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.3;
}
.lesson .body .dur {
  font-size: 12px; color: var(--text-mute); margin-top: 2px;
  font-weight: 600; letter-spacing: 0.5px;
}
.lesson .icon { color: var(--text-mute); font-size: 18px; }
.lesson.highlight { background: linear-gradient(135deg, var(--accent-soft) 0%, #fef3c7 100%); border-color: var(--accent); }
.lesson.highlight .num { background: var(--accent); color: #fff; }
.lesson.locked { opacity: 0.55; cursor: default; }

/* Hero Video */
.video-wrap {
  background: #0a0f1e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 20px 0;
  box-shadow: var(--shadow-md);
  aspect-ratio: 9 / 16;
}
.video-wrap video, .video-wrap iframe {
  width: 100%; height: 100%; display: block;
  border: 0;
}
.video-landscape { aspect-ratio: 16 / 9; }

/* CTA */
.cta-block {
  background: linear-gradient(135deg, var(--text) 0%, #2e1065 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 28px 24px; margin: 32px 0;
  text-align: center;
}
.cta-block h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px;
}
.cta-block p { color: rgba(255,255,255,0.78); font-size: 15px; margin-bottom: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; background: #fff; color: var(--text);
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 700; letter-spacing: -0.2px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); box-shadow: none; }

/* Footer */
footer {
  margin-top: 40px; padding: 24px 0;
  text-align: center;
  font-size: 12px; color: var(--text-mute);
  border-top: 1px solid var(--border);
}
footer a { color: var(--accent-deep); text-decoration: none; }

/* Source-Badge */
.source-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.source-pill {
  background: var(--surface-alt); color: var(--accent-deep);
  border: 1px solid var(--accent-soft);
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-decoration: none;
}

/* Larger Desktop View */
@media (min-width: 720px) {
  .shell { max-width: 720px; }
  .topbar .row { max-width: 720px; }
  .hero h1 { font-size: 48px; }
  .stats { gap: 14px; }
  .mod-card .head { gap: 18px; }
  .mod-card .badge { width: 52px; height: 52px; }
}
