/**
 * KI ACADEMY - MODULE 03: DIALOG-GRUNDLAGEN
 * Mindblowing Premium Design - 10 Minuten Lernmodul
 * Sprint 2: Anwenden
 * 
 * Based on: module-styles-m02.css (Template)
 * Design Philosophy:
 * - Each section has unique visual identity
 * - Interactive Prompt Builder
 * - 5 Bausteine as interactive cards
 * - Premium micro-interactions
 */

/* ============================================
   PROGRESS BAR (Shared Component)
   ============================================ */
.module-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(20, 184, 166, 0.1);
  z-index: 1000;
}

.module-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #F4A261 0%, #E76F51 100%);
  width: 0%;
  transition: width 0.1s ease;
}

/* ============================================
   HERO M03 - Dialog Grundlagen
   ============================================ */
.m03-hero {
  min-height: 100vh;
  padding: 180px 0 80px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

/* Smooth transition from Hero to section */
.section-intro {
  position: relative;
}

.section-intro::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, 
    rgba(253, 252, 247, 0) 0%,
    rgba(253, 252, 247, 0.3) 30%,
    rgba(253, 252, 247, 0.7) 60%,
    #FDFCF7 100%);
  pointer-events: none;
  z-index: 10;
}

[data-theme="dark"] .section-intro::before {
  background: linear-gradient(to bottom, 
    rgba(15, 20, 30, 0) 0%,
    rgba(15, 20, 30, 0.3) 30%,
    rgba(15, 20, 30, 0.7) 60%,
    #1a1d24 100%);
}

.m03-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.m03-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}

.m03-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.88) 0%,
    rgba(42, 54, 59, 0.75) 50%,
    rgba(244, 162, 97, 0.25) 100%
  );
  z-index: 1;
}

.m03-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 600px;
  margin: 0;
  margin-left: 8%;
  padding: 0 40px;
}

[data-theme="light"] .m03-hero-content {
  /* No glassmorphism background needed */
}

.m03-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 24px;
}

.m03-hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #F8F5F0;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

.m03-hero-title em {
  color: #0D9488;
  font-style: normal;
}

.m03-hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: rgba(248, 245, 240, 0.9);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: 0;
  margin-right: auto;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.m03-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  position: relative;
  overflow: hidden;
}

.m03-hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.m03-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
}

.m03-hero-cta:hover::before {
  transform: translateX(100%);
}

.m03-hero-cta i {
  transition: transform 0.3s ease;
}

.m03-hero-cta:hover i {
  transform: translateY(3px);
}

/* ============================================
   SECTION SHARED COMPONENTS
   ============================================ */
.section-intro,
.section-bausteine,
.section-examples,
.section-builder,
.section-quiz {
  padding: 120px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D9488;
  margin-bottom: 20px;
}

.section-title-premium {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #2A363B;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

[data-theme="dark"] .section-title-premium {
  color: #F8F5F0;
}

.section-subtitle-premium {
  color: #6B7280;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

[data-theme="dark"] .section-subtitle-premium {
  color: rgba(248, 245, 240, 0.7);
}

/* ============================================
   SECTION 1: INTRO (Was ist ein Prompt?)
   ============================================ */
.section-intro {
  background: linear-gradient(180deg, #FDFCF7 0%, #F8F5F0 100%);
}

[data-theme="dark"] .section-intro {
  background: linear-gradient(180deg, #1a1d24 0%, #151820 100%);
}

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

/* Restaurant-Analogie als Hero-Card */
.analogy-card {
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}

[data-theme="dark"] .analogy-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.analogy-visual {
  text-align: center;
}

.analogy-icon {
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 4rem;
  color: white;
  box-shadow: 0 20px 40px rgba(20, 184, 166, 0.3);
}

.analogy-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2A363B;
  margin-bottom: 20px;
}

[data-theme="dark"] .analogy-content h3 {
  color: #F8F5F0;
}

.analogy-content > p {
  color: #6B7280;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

[data-theme="dark"] .analogy-content > p {
  color: rgba(248, 245, 240, 0.7);
}

.analogy-example {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.1) 0%, rgba(144, 169, 85, 0.05) 100%);
  border-left: 4px solid #90A955;
  padding: 24px;
  border-radius: 0 16px 16px 0;
}

.analogy-example strong {
  color: #90A955;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.analogy-example p {
  color: #5D4037;
  font-style: italic;
  line-height: 1.6;
}

[data-theme="dark"] .analogy-example p {
  color: rgba(248, 245, 240, 0.9);
}

/* ============================================
   SECTION 2: DIE 5 BAUSTEINE
   ============================================ */
.section-bausteine {
  background: linear-gradient(180deg, #F8F5F0 0%, #FDFCF7 50%, #F8F5F0 100%);
}

[data-theme="dark"] .section-bausteine {
  background: linear-gradient(180deg, #1a1d24 0%, #151820 50%, #1a1d24 100%);
}

.bausteine-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Bausteine Grid - 5 Karten */
.bausteine-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.baustein-card {
  background: white;
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

[data-theme="dark"] .baustein-card {
  background: rgba(255,255,255,0.05);
}

.baustein-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Jeder Baustein hat eigene Akzentfarbe */
.baustein-card:nth-child(1) { border-top: 4px solid #5B8DEF; }
.baustein-card:nth-child(2) { border-top: 4px solid #14B8A6; }
.baustein-card:nth-child(3) { border-top: 4px solid #90A955; }
.baustein-card:nth-child(4) { border-top: 4px solid #0D9488; }
.baustein-card:nth-child(5) { border-top: 4px solid #9B59B6; }

.baustein-card:nth-child(1):hover { border-color: #5B8DEF; }
.baustein-card:nth-child(2):hover { border-color: #14B8A6; }
.baustein-card:nth-child(3):hover { border-color: #90A955; }
.baustein-card:nth-child(4):hover { border-color: #0D9488; }
.baustein-card:nth-child(5):hover { border-color: #9B59B6; }

.baustein-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  margin: 0 auto 20px;
}

.baustein-card:nth-child(1) .baustein-number { background: linear-gradient(135deg, #5B8DEF 0%, #4A7DE0 100%); }
.baustein-card:nth-child(2) .baustein-number { background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%); }
.baustein-card:nth-child(3) .baustein-number { background: linear-gradient(135deg, #90A955 0%, #7A9048 100%); }
.baustein-card:nth-child(4) .baustein-number { background: linear-gradient(135deg, #0D9488 0%, #D4533C 100%); }
.baustein-card:nth-child(5) .baustein-number { background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%); }

.baustein-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.baustein-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2A363B;
  margin-bottom: 12px;
}

[data-theme="dark"] .baustein-card h4 {
  color: #F8F5F0;
}

.baustein-card > p {
  font-size: 0.9rem;
  color: #6B7280;
  line-height: 1.5;
  margin-bottom: 16px;
}

[data-theme="dark"] .baustein-card > p {
  color: rgba(248, 245, 240, 0.6);
}

.baustein-example {
  padding: 12px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #5D4037;
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

[data-theme="dark"] .baustein-example {
  background: rgba(255,255,255,0.05);
  color: rgba(248, 245, 240, 0.8);
}

.baustein-card:hover .baustein-example {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SECTION 3: BEISPIELE (Premium Vorher/Nachher)
   ============================================ */
.section-examples {
  background: linear-gradient(180deg, #F8F5F0 0%, #FDFCF7 100%);
}

[data-theme="dark"] .section-examples {
  background: linear-gradient(180deg, #1a1d24 0%, #151820 100%);
}

[data-theme="dark"] .example-weak {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(13, 148, 136, 0.05) 100%);
  border-color: rgba(13, 148, 136, 0.3);
}

[data-theme="dark"] .weak-prompt {
  background: rgba(0,0,0,0.2);
  color: rgba(248, 245, 240, 0.9);
}

[data-theme="dark"] .problem-tag {
  background: rgba(13, 148, 136, 0.2);
  border-color: rgba(13, 148, 136, 0.3);
  color: #14B8A6;
}

[data-theme="dark"] .example-strong {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.15) 0%, rgba(144, 169, 85, 0.05) 100%);
  border-color: rgba(144, 169, 85, 0.3);
}

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

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Example Card - Premium Design */
.example-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

[data-theme="dark"] .example-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

/* Header mit Icon */
.example-header {
  padding: 24px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.05) 100%);
  border-bottom: 2px solid rgba(20, 184, 166, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
}

.example-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.example-icon i {
  font-size: 1.5rem;
  color: white;
}

.example-header h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2A363B;
  margin: 0;
}

[data-theme="dark"] .example-header h4 {
  color: #F8F5F0;
}

/* Comparison Layout */
.example-comparison {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Weak Side (Vorher) */
.example-weak {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(13, 148, 136, 0.03) 100%);
  border: 2px solid rgba(13, 148, 136, 0.2);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.example-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.example-badge.weak {
  background: #0D9488;
  color: white;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.example-badge.strong {
  background: #90A955;
  color: white;
  box-shadow: 0 4px 15px rgba(144, 169, 85, 0.3);
}

.example-badge i {
  font-size: 1rem;
}

.weak-prompt {
  font-size: 1rem;
  color: #5D4037;
  line-height: 1.6;
  padding: 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  border-left: 4px solid #0D9488;
  font-style: italic;
}

/* Problem Tags */
.example-problems {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.problem-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: #0D9488;
  font-weight: 600;
}

.problem-tag i {
  font-size: 0.85rem;
}

/* Arrow Connector */
.example-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-radius: 16px;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.example-arrow i {
  font-size: 1.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

/* Strong Side (Nachher) */
.example-strong {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.08) 0%, rgba(144, 169, 85, 0.03) 100%);
  border: 2px solid rgba(144, 169, 85, 0.25);
  border-radius: 16px;
  padding: 20px;
}

.strong-prompt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Prompt Blocks - Die 5 Bausteine */
.prompt-block {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border-left: 4px solid;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.prompt-block:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

[data-theme="dark"] .prompt-block {
  background: rgba(255,255,255,0.08);
}

.prompt-block.kontext { border-left-color: #3B82F6; }
.prompt-block.rolle { border-left-color: #8B5CF6; }
.prompt-block.aufgabe { border-left-color: #14B8A6; }
.prompt-block.format { border-left-color: #10B981; }
.prompt-block.einschraenkung { border-left-color: #EF4444; }

.block-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.prompt-block.kontext .block-label { color: #3B82F6; }
.prompt-block.rolle .block-label { color: #8B5CF6; }
.prompt-block.aufgabe .block-label { color: #D97706; }
.prompt-block.format .block-label { color: #059669; }
.prompt-block.einschraenkung .block-label { color: #DC2626; }

.block-label i {
  font-size: 0.9rem;
}

.prompt-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #2A363B;
}

[data-theme="dark"] .prompt-block p {
  color: rgba(248, 245, 240, 0.9);
}

/* ============================================
   SECTION 4: PROMPT BUILDER (INTERAKTIV)
   ============================================ */
.section-builder {
  background: linear-gradient(180deg, #FDFCF7 0%, #F8F5F0 100%);
}

[data-theme="dark"] .section-builder {
  background: linear-gradient(180deg, #1a1d24 0%, #151820 100%);
}

.builder-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.builder-workspace {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

[data-theme="dark"] .builder-workspace {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.builder-inputs {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.builder-field {
  position: relative;
}

.builder-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #2A363B;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

[data-theme="dark"] .builder-field label {
  color: #F8F5F0;
}

.builder-field label i {
  color: #14B8A6;
  font-size: 1.1rem;
}

.builder-field input,
.builder-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

[data-theme="dark"] .builder-field input,
[data-theme="dark"] .builder-field textarea {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: #F8F5F0;
}

.builder-field input:focus,
.builder-field textarea:focus {
  outline: none;
  border-color: #14B8A6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.builder-field textarea {
  min-height: 80px;
  resize: vertical;
}

.builder-result {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.1) 0%, rgba(144, 169, 85, 0.05) 100%);
  border: 2px solid rgba(144, 169, 85, 0.2);
  border-radius: 16px;
  padding: 32px;
}

.builder-result h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #90A955;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.builder-result-text {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2A363B;
  white-space: pre-wrap;
  background: rgba(255,255,255,0.5);
  padding: 20px;
  border-radius: 12px;
}

[data-theme="dark"] .builder-result-text {
  color: #F8F5F0;
  background: rgba(0,0,0,0.2);
}

.builder-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.builder-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 0.95rem;
}

.builder-btn-primary {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: white;
}

.builder-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.builder-btn-secondary {
  background: rgba(0,0,0,0.05);
  color: #2A363B;
}

[data-theme="dark"] .builder-btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #F8F5F0;
}

.builder-btn-secondary:hover {
  background: rgba(0,0,0,0.08);
}

/* ============================================
   PARALLAX QUOTE SECTIONS
   ============================================ */
.parallax-quote-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.55) 0%,
    rgba(42, 54, 59, 0.45) 50%,
    rgba(42, 54, 59, 0.35) 100%
  );
  z-index: 1;
}

[data-theme="dark"] .parallax-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 29, 36, 0.75) 0%,
    rgba(26, 29, 36, 0.65) 50%,
    rgba(26, 29, 36, 0.55) 100%
  );
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 60px 30px;
  text-align: center;
  color: white;
}

.parallax-content i {
  font-size: 3.5rem;
  color: #14B8A6;
  margin-bottom: 30px;
  display: block;
  opacity: 0.9;
}

.parallax-content blockquote {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.parallax-content blockquote em {
  color: #ffffff;
  font-style: italic;
  position: relative;
}

/* Parallax Background Images */
.parallax-bg-1 {
  background-image: url('../assets/images/sprints/m03_parallax_1.jpg');
}

.parallax-bg-2 {
  background-image: url('../assets/images/sprints/m03_parallax_2.jpg');
}

/* ============================================
   SECTION 5: QUIZ - Premium Glassmorphism
   ============================================ */
.section-quiz {
  padding: 120px 0;
  background: linear-gradient(180deg, #F8F5F0 0%, #FDFCF7 100%);
  position: relative;
}

.section-quiz::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(20, 184, 166, 0.3) 50%, transparent 100%);
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.quiz-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #14B8A6 0%, #0D9488 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.06);
}

.quiz-card:hover::before {
  transform: scaleY(1);
}

.quiz-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.quiz-card-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.quiz-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2A363B;
  margin: 0;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.quiz-option {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.quiz-option::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #14B8A6 0%, #0D9488 100%);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.quiz-option:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.03);
  padding-left: 28px;
}

.quiz-option:hover::before {
  transform: scaleY(1);
}

.quiz-option.correct {
  border-color: #90A955;
  background: rgba(144, 169, 85, 0.15);
}

.quiz-option.correct::before {
  background: #90A955;
  transform: scaleY(1);
}

.quiz-option.wrong {
  border-color: #E76F51;
  background: rgba(231, 111, 81, 0.1);
}

.quiz-option.wrong::before {
  background: #E76F51;
  transform: scaleY(1);
}

.quiz-option.answered {
  pointer-events: none;
}

.quiz-feedback {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 14px;
  display: none;
  animation: fadeIn 0.4s ease;
  position: relative;
  z-index: 1;
}

.quiz-feedback.show {
  display: block;
}

.quiz-feedback.correct {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.12) 0%, rgba(144, 169, 85, 0.05) 100%);
  border: 1px solid rgba(144, 169, 85, 0.3);
  color: #2A363B;
}

.quiz-feedback.wrong {
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.1) 0%, rgba(231, 111, 81, 0.03) 100%);
  border: 1px solid rgba(231, 111, 81, 0.3);
  color: #2A363B;
}

.quiz-feedback-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.quiz-feedback.correct .quiz-feedback-title { color: #90A955; }
.quiz-feedback.wrong .quiz-feedback-title { color: #E76F51; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark Mode */
[data-theme="dark"] .section-quiz {
  background: linear-gradient(180deg, #12151c 0%, #1a1d24 100%);
}

[data-theme="dark"] .section-quiz::before {
  background: linear-gradient(90deg, transparent 0%, rgba(20, 184, 166, 0.2) 50%, transparent 100%);
}

[data-theme="dark"] .quiz-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .quiz-card::before {
  background: linear-gradient(180deg, #14B8A6 0%, #0D9488 100%);
}

[data-theme="dark"] .quiz-card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .quiz-card-title {
  color: #F8F5F0;
}

[data-theme="dark"] .quiz-option {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #F8F5F0;
}

[data-theme="dark"] .quiz-option:hover {
  border-color: rgba(20, 184, 166, 0.4);
  background: rgba(20, 184, 166, 0.08);
}

[data-theme="dark"] .quiz-option.correct {
  background: rgba(144, 169, 85, 0.15);
  border-color: rgba(144, 169, 85, 0.4);
}

[data-theme="dark"] .quiz-option.wrong {
  background: rgba(231, 111, 81, 0.15);
  border-color: rgba(231, 111, 81, 0.4);
}

[data-theme="dark"] .quiz-feedback.correct {
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.15) 0%, rgba(144, 169, 85, 0.05) 100%);
  border-color: rgba(144, 169, 85, 0.4);
  color: #F8F5F0;
}

[data-theme="dark"] .quiz-feedback.wrong {
  background: linear-gradient(135deg, rgba(231, 111, 81, 0.15) 0%, rgba(231, 111, 81, 0.05) 100%);
  border-color: rgba(231, 111, 81, 0.4);
  color: #F8F5F0;
}

/* Mobile */
@media (max-width: 768px) {
  .section-quiz {
    padding: 80px 0;
  }
  
  .quiz-card {
    padding: 24px;
    margin: 0 16px 20px;
    border-radius: 20px;
  }
  
  .quiz-card-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }
  
  .quiz-card-title {
    font-size: 1.1rem;
  }
  
  .quiz-option {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  .quiz-container {
    padding: 0 16px;
  }
}

/* ============================================
   ROADMAP SECTION (exakt wie Module 02)
   ============================================ */
.section-roadmap {
  padding: 120px 0;
  background: linear-gradient(180deg, #FDFCF7 0%, #F8F5F0 100%);
  position: relative;
}

.section-roadmap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(144, 169, 85, 0.3), transparent);
}

.section-roadmap-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-roadmap-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0D9488;
  margin-bottom: 20px;
}

.section-roadmap-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #2A363B;
  margin-bottom: 16px;
}

.section-roadmap-subtitle {
  color: #6B7280;
  font-size: 1.1rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.roadmap-card {
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.4s;
  border: 1px solid transparent;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.04);
}

.roadmap-card:hover {
  transform: translateY(-8px);
}

.roadmap-card.completed {
  background: rgba(144, 169, 85, 0.08);
  border-color: rgba(144, 169, 85, 0.3);
}

.roadmap-card.current {
  background: rgba(20, 184, 166, 0.1);
  border: 2px solid #14B8A6;
  box-shadow: 0 20px 60px rgba(20, 184, 166, 0.2);
}

.roadmap-card.upcoming {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
  opacity: 0.8;
}

.roadmap-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.roadmap-card.completed .roadmap-card-badge {
  background: #90A955;
  color: white;
}

.roadmap-card.current .roadmap-card-badge {
  background: #14B8A6;
  color: white;
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.roadmap-card.upcoming .roadmap-card-badge {
  background: #6B7280;
  color: white;
}

.roadmap-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s;
}

.roadmap-card.completed .roadmap-card-icon {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
  box-shadow: 0 10px 30px rgba(144, 169, 85, 0.3);
}

.roadmap-card.current .roadmap-card-icon {
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  box-shadow: 0 10px 30px rgba(20, 184, 166, 0.4);
}

.roadmap-card.upcoming .roadmap-card-icon {
  background: rgba(0, 0, 0, 0.06);
}

.roadmap-card-icon i {
  font-size: 1.8rem;
  color: white;
}

.roadmap-card.upcoming .roadmap-card-icon i {
  color: rgba(0, 0, 0, 0.3);
}

.roadmap-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  color: #2A363B;
  margin-bottom: 8px;
  font-weight: 600;
}

.roadmap-card.upcoming .roadmap-card-title {
  color: #6B7280;
}

.roadmap-card-desc {
  color: #6B7280;
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.roadmap-card.upcoming .roadmap-card-desc {
  color: #9CA3AF;
}

/* ============================================
   FINAL CTA SECTION (exakt wie Module 02)
   ============================================ */
.section-final-cta {
  padding: 80px 0;
  background: linear-gradient(180deg, #FDFCF7 0%, #F8F5F0 100%);
}

.final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  text-align: center;
}

.final-cta-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.final-cta-icon i {
  font-size: 2.5rem;
  color: white;
}

.final-cta-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: #2A363B;
  margin-bottom: 12px;
}

.final-cta-text {
  color: #6B7280;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #14B8A6 0%, #0D9488 100%);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
  transition: all 0.3s ease;
}

.btn-final-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.5);
}

.final-cta-links {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta-links a {
  color: #6B7280;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.final-cta-links a:hover {
  color: #14B8A6;
}

.final-cta-divider {
  color: #D1D5DB;
}

/* Dark Mode - Roadmap */
[data-theme="dark"] .section-roadmap {
  background: linear-gradient(180deg, #1a1d24 0%, #151820 100%);
}

[data-theme="dark"] .section-roadmap-tag {
  background: rgba(20, 184, 166, 0.15);
  color: #14B8A6;
}

[data-theme="dark"] .section-roadmap-title {
  color: #F8F5F0;
}

[data-theme="dark"] .section-roadmap-subtitle {
  color: rgba(248, 245, 240, 0.7);
}

[data-theme="dark"] .roadmap-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .roadmap-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .roadmap-card.completed {
  background: rgba(144, 169, 85, 0.1);
  border-color: rgba(144, 169, 85, 0.3);
}

[data-theme="dark"] .roadmap-card.current {
  background: rgba(20, 184, 166, 0.1);
  border-color: #14B8A6;
}

[data-theme="dark"] .roadmap-card.upcoming {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .roadmap-card-title {
  color: #F8F5F0;
}

[data-theme="dark"] .roadmap-card.upcoming .roadmap-card-title {
  color: rgba(248, 245, 240, 0.5);
}

[data-theme="dark"] .roadmap-card-desc {
  color: rgba(248, 245, 240, 0.6);
}

[data-theme="dark"] .roadmap-card.upcoming .roadmap-card-desc {
  color: rgba(248, 245, 240, 0.4);
}

[data-theme="dark"] .roadmap-card.upcoming .roadmap-card-icon {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .roadmap-card.upcoming .roadmap-card-icon i {
  color: rgba(248, 245, 240, 0.3);
}

/* Dark Mode */
[data-theme="dark"] .section-final-cta {
  background: linear-gradient(180deg, #1a1d24 0%, #12151c 100%);
}

[data-theme="dark"] .final-cta-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .final-cta-title {
  color: #F8F5F0;
}

[data-theme="dark"] .final-cta-text {
  color: rgba(248, 245, 240, 0.7);
}

/* ============================================
   MOBILE STYLES
   ============================================ */
@media (max-width: 1200px) {
  .bausteine-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .examples-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .analogy-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .analogy-icon {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .m03-hero {
    min-height: 100vh;
    padding: 100px 0 40px;
  }
  
  .m03-hero-title {
    font-size: 2rem;
  }
  
  .m03-hero-cta {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .bausteine-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 60px;
  }
  
  .baustein-card {
    padding: 24px;
  }
  
  .examples-grid {
    grid-template-columns: 1fr;
  }
  
  .example-comparison {
    padding: 16px;
  }
  
  .example-header {
    padding: 20px;
  }
  
  .example-icon {
    width: 40px;
    height: 40px;
  }
  
  .example-icon i {
    font-size: 1.25rem;
  }
  
  .example-arrow {
    padding: 12px;
    font-size: 0.75rem;
  }
  
  .example-arrow i {
    font-size: 1.25rem;
  }
  
  .prompt-block {
    padding: 12px;
  }
  
  .section-intro,
  .section-bausteine,
  .section-examples,
  .section-builder,
  .section-quiz {
    padding: 80px 0;
  }
  
  .parallax-quote-section {
    min-height: 60vh;
    padding: 60px 20px;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .parallax-content blockquote {
    font-size: 1.3rem;
  }
  
  .builder-workspace {
    padding: 24px;
  }
  
  .builder-actions {
    flex-direction: column;
  }
  
  .builder-btn {
    width: 100%;
    text-align: center;
  }
  
  .quiz-card {
    padding: 24px;
    margin: 0 16px 20px;
  }
  
  .quiz-option {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  .quiz-feedback {
    padding: 16px 20px;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  
  .section-roadmap {
    padding: 80px 0;
  }
  
  .final-cta-container {
    padding: 32px 24px;
    margin: 0 16px;
  }
  
  .final-cta-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .final-cta-divider {
    display: none;
  }
}

/* ============================================
   BACK TO TOP BUTTON (exakt wie Module 02)
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #14B8A6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0D9488;
  transform: translateY(-3px);
}

.back-to-top svg {
  color: white;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    display: none;
  }
}

[data-theme="dark"] .back-to-top {
  background: #14B8A6;
  color: #1A202C;
}

[data-theme="dark"] .back-to-top:hover {
  background: #0D9488;
}

/* ============================================
   BOTTOM NAVIGATION - Senior Premium (exakt wie Module 02)
   ============================================ */
.bottom-nav-senior {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #2A363B 0%, #1a2024 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bottom-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  min-width: 64px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.bottom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 166, 0.4);
  color: #14B8A6;
}

.bottom-nav-btn i {
  font-size: 1.4rem;
}

/* nav-next button styled like other buttons - transparent (consistent with M00) */

.bottom-nav-btn.home {
  background: rgba(144, 169, 85, 0.15);
  border-color: rgba(144, 169, 85, 0.3);
  color: #90A955;
}

.bottom-nav-btn.home:hover {
  background: rgba(144, 169, 85, 0.25);
}

.bottom-nav-progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  max-width: 200px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F4A261 0%, #E76F51 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Body Padding für Bottom Nav */
body.module-page {
  padding-bottom: 100px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .bottom-nav-senior {
    padding: 10px 12px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .bottom-nav-inner {
    gap: 8px;
  }
  
  .bottom-nav-btn {
    min-width: 56px;
    min-height: 52px;
    padding: 6px 10px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  
  .bottom-nav-btn i {
    font-size: 1.2rem;
  }
  
  .bottom-nav-btn span {
    display: none;
  }
  
  .bottom-nav-progress {
    max-width: 100px;
    min-width: 60px;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .bottom-nav-senior {
    padding: 8px 10px;
  }
  
  .bottom-nav-inner {
    gap: 6px;
  }
  
  .bottom-nav-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .bottom-nav-btn i {
    font-size: 1.1rem;
  }
  
  .bottom-nav-progress {
    max-width: 80px;
    min-width: 50px;
  }
}

@media (max-width: 380px) {
  .bottom-nav-inner {
    gap: 4px;
  }
  
  .bottom-nav-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 4px 6px;
  }
  
  .bottom-nav-progress {
    max-width: 60px;
    min-width: 40px;
  }
}

/* Print */
@media print {
  .bottom-nav-senior {
    display: none !important;
  }
  
  body.module-page {
    padding-bottom: 0;
  }
}

/* Light Mode */
[data-theme="light"] .bottom-nav-senior {
  background: linear-gradient(180deg, #FDFCF7 0%, #F5F0E8 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .bottom-nav-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #5D4037;
}

[data-theme="light"] .bottom-nav-btn:hover {
  background: rgba(244, 162, 97, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
  color: #E76F51;
}

[data-theme="light"] .bottom-nav-btn.home {
  background: rgba(144, 169, 85, 0.1);
  border-color: rgba(144, 169, 85, 0.3);
  color: #5D4037;
}

[data-theme="light"] .bottom-nav-btn.home:hover {
  background: rgba(144, 169, 85, 0.2);
  color: #5D4037;
}

/* Light Mode: Reduced hero overlay opacity */
[data-theme="light"] .m03-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.35) 0%,
    rgba(42, 54, 59, 0.25) 50%,
    rgba(244, 162, 97, 0.15) 100%
  );
}

/* ============================================
   DARK MODE OVERRIDES
   ============================================ */
[data-theme="dark"] .parallax-quote-section .parallax-overlay {
  background: linear-gradient(
    135deg, 
    rgba(26, 29, 36, 0.75) 0%, 
    rgba(26, 29, 36, 0.65) 100%
  );
}

/* ============================================
   CLASSROOM MODE
   ============================================ */
body.classroom-mode {
  font-size: 1.35rem;
  line-height: 1.7;
}

body.classroom-mode .container-premium {
  max-width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

body.classroom-mode .m03-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
}

body.classroom-mode .m03-hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

body.classroom-mode .section-title-premium {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
}

body.classroom-mode .section-subtitle-premium {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

body.classroom-mode p,
body.classroom-mode li {
  font-size: 1.25rem;
  line-height: 1.8;
}

body.classroom-mode .baustein-card h4 {
  font-size: 1.3rem;
}

body.classroom-mode .baustein-card > p {
  font-size: 1.1rem;
}

body.classroom-mode .builder-field input,
body.classroom-mode .builder-field textarea {
  font-size: 1.2rem;
}

body.classroom-mode .quiz-option {
  font-size: 1.2rem;
  padding: 22px 28px;
}

body.classroom-mode .example-text {
  font-size: 1.15rem;
}

body.classroom-mode .parallax-content blockquote {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

body.classroom-mode .m03-hero-badge,
body.classroom-mode .section-tag-premium {
  font-size: 1.1rem;
  padding: 14px 28px;
}
