:root {
      --bg-main: #fffdf0;
      --bg-soft-yellow: #fff7b8;
      --bg-card: #fffef8;
      --border-yellow: #ffe066;
      --accent-pink: #232f64;
      --text-main: #3a3a3a;
      --text-soft: #555;
      --text-nav: #5a5a5a;
      --text-footer: #3a4a3a;
      --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.75;
      position: relative;
      overflow-x: hidden;
    }

 
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(120, 170, 255, 0.30), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 230, 120, 0.26), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(255, 245, 180, 0.22), transparent 50%);
  animation: lichtbewegung 18s linear infinite;
}


body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(120, 170, 255, 0.10), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(255, 220, 120, 0.08), transparent 20%),
    radial-gradient(circle at 22% 78%, rgba(255, 235, 150, 0.07), transparent 20%),
    radial-gradient(circle at 78% 72%, rgba(255, 210, 100, 0.08), transparent 18%),
    radial-gradient(circle at 50% 45%, rgba(255, 245, 190, 0.05), transparent 25%);
  animation: kerzenflackern 4.5s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

    @keyframes lichtbewegung {
      0% {
        transform: translate(0, 0) rotate(0deg);
      }
      50% {
        transform: translate(-5%, 5%) rotate(10deg);
      }
      100% {
        transform: translate(0, 0) rotate(0deg);
      }
    }

    @keyframes kerzenflackern {
      0% {
        opacity: 0.55;
        transform: scale(1) translateY(0px);
        filter: blur(0px);
      }
      25% {
        opacity: 0.68;
        transform: scale(1.02) translateY(-2px);
        filter: blur(1px);
      }
      50% {
        opacity: 0.5;
        transform: scale(0.99) translateY(1px);
        filter: blur(0.5px);
      }
      75% {
        opacity: 0.72;
        transform: scale(1.03) translateY(-1px);
        filter: blur(1.2px);
      }
      100% {
        opacity: 0.58;
        transform: scale(1.01) translateY(0px);
        filter: blur(0.4px);
      }
    }


    body > * {
      position: relative;
      z-index: 1;
    }


    header {
      background-color: white;
      padding: 18px 60px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    }

  .logo {
  margin-left: -25px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}

nav ul li {
  position: relative;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  z-index: 999;
}

nav ul li:hover > ul {
  display: block;
}

.dropdown-inner {
  background-color: white;
  padding: 8px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  min-width: 190px;
  border: 1px solid var(--border-yellow);
}

nav ul li ul li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-nav);
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

nav ul li ul li a:hover {
  background-color: var(--bg-soft-yellow);
  color: var(--accent-pink);
}

nav a {
  text-decoration: none;
  color: var(--text-nav);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.25s ease;
}

nav > ul > li > a {
  position: relative;
}

nav a:hover,
nav a.active {
  color: var(--accent-pink);
}

nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: var(--border-yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav > ul > li > a:hover::after,
nav > ul > li > a.active::after {
  transform: scaleX(1);
}

    /* ─── PAGE INTRO ─── */
    .intro {
      max-width: 1100px;
      margin: 70px auto 35px auto;
      padding: 0 20px;
      text-align: center;
    }

    .intro h1 {
      font-size: 3rem;
      color: var(--accent-pink);
      margin-bottom: 20px;
      line-height: 1.15;
    }

    .intro p {
      max-width: 850px;
      margin: 0 auto;
      font-size: 1.15rem;
      color: #5f5f5f;
      line-height: 1.75;
    }

    /* ─── PHASEN ÜBERBLICK ─── */
    .phasen-ueberblick {
      max-width: 960px;
      margin: 35px auto 25px auto;
      padding: 0 20px;
    }

 .ueberblick-box {
  background: linear-gradient(135deg, #dcecff, #ffe066);
  border: 2px solid #c9def8;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

    .ueberblick-box h2 {
      text-align: center;
      color: var(--accent-pink);
      margin-bottom: 20px;
      font-size: 1.5rem;
    }

    .phase-track {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 14px;
    }

    .track-item {
      background-color: white;
      border-radius: 16px;
      padding: 16px 12px;
      text-align: center;
      border: 1.5px solid #ffd95c;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
      font-size: 0.95rem;
      color: var(--text-main);
      font-weight: 600;
      text-decoration: none;
      transition: transform 0.2s ease, border-color 0.2s ease;
      display: block;
    }

    .track-item:hover {
      transform: translateY(-2px);
      border-color: var(--accent-pink);
      color: var(--accent-pink);
    }

    .track-item span {
      display: block;
      margin-top: 6px;
      font-size: 0.82rem;
      font-weight: normal;
      color: var(--text-soft);
    }

    .phasen-container {
      max-width: 960px;
      margin: 45px auto 60px auto;
      padding: 0 20px;
    }

    .phase {
      background-color: var(--bg-card);
      border: 2px solid var(--border-yellow);
      border-radius: 26px;
      padding: 42px 38px;
      margin-bottom: 32px;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
      scroll-margin-top: 90px;
    }

  .phase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #dcecff, #ffd84d);
  border-radius: 26px 0 0 26px;
}
    .phase-number {
      display: inline-block;
      background-color: var(--accent-pink);
      color: white;
      font-weight: bold;
      font-size: 0.9rem;
      padding: 7px 16px;
      border-radius: 999px;
      margin-bottom: 18px;
      letter-spacing: 0.3px;
    }

    .phase h2 {
      font-size: 2rem;
      color: var(--accent-pink);
      margin-bottom: 18px;
    }

    .phase p {
      font-size: 1.05rem;
      color: var(--text-soft);
      margin-bottom: 14px;
    }

    .phase-visual {
      margin: 24px 0 26px 0;
      background: #fff9df;
      border: 1.5px solid #ffe066;
      border-radius: 18px;
      padding: 20px;
    }

    .visual-label {
      font-weight: bold;
      color: var(--accent-pink);
      margin-bottom: 10px;
      font-size: 0.95rem;
    }

    .visual-bar {
      width: 100%;
      height: 14px;
      background: #eef5ff;
      border-radius: 999px;
      overflow: hidden;
      margin-bottom: 10px;
    }

.visual-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(to right, #dcecff, #ffd84d);
}

    .visual-caption {
      font-size: 0.93rem;
      color: var(--text-soft);
    }

    .phase-details {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 18px;
    }

    .detail-box {
      background: #fffdf4;
      border: 1.5px solid #ffe89b;
      border-radius: 16px;
      padding: 18px 20px;
    }

    .detail-box h3 {
      font-size: 1rem;
      color: var(--accent-pink);
      margin-bottom: 12px;
    }

    .detail-box ul {
      padding-left: 18px;
      color: var(--text-soft);
    }

    .detail-box li {
      margin-bottom: 8px;
      font-size: 0.97rem;
    }


    .licht-cta-block {
      max-width: 960px;
      margin: 0 auto 50px auto;
      padding: 0 20px;
    }

.licht-cta-inner {
  background: linear-gradient(135deg, #dcecff 0%, #ffe066 100%);
  border: 2px solid var(--border-yellow);
  border-radius: 26px;
  padding: 42px 38px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.licht-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.licht-cta-text {
  flex: 1;
}

.licht-cta-illustration {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.licht-cta-illustration img {
  width: 150px;
  max-width: 100%;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
  animation: candleFloat 4s ease-in-out infinite;
}

@keyframes candleFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 800px) {
  .licht-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .licht-cta-illustration img {
    width: 120px;
    margin-top: 10px;
  }
}
    .licht-cta-text h2 {
      font-size: 1.8rem;
      color: var(--accent-pink);
      margin-bottom: 14px;
    }

    .licht-cta-text p {
      color: var(--text-soft);
      font-size: 1.05rem;
      margin-bottom: 10px;
      max-width: 680px;
    }

    .licht-cta-btn {
      display: inline-block;
      margin-top: 14px;
      padding: 14px 30px;
      background-color: var(--accent-pink);
      color: white;
      text-decoration: none;
      border-radius: 999px;
      font-weight: bold;
      font-size: 1rem;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      box-shadow: 0 4px 16px rgba(35, 47, 100, 0.28);
    }

    .licht-cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(35, 47, 100, 0.38);
    }


    .hinweis-wrap {
      max-width: 960px;
      margin: 0 auto 50px auto;
      padding: 0 20px;
    }

    .hinweis {
      padding: 22px 26px;
      background-color: var(--bg-soft-yellow);
      border-radius: 18px;
      color: #4f4a2a;
      box-shadow: var(--shadow-soft);
      font-size: 1rem;
      line-height: 1.7;
    }

    .abschluss {
      max-width: 960px;
      margin: 0 auto 80px auto;
      padding: 0 20px;
    }

    .abschluss-box {
      background-color: #fffef8;
      border: 2px dashed var(--border-yellow);
      border-radius: 24px;
      padding: 32px 28px;
      text-align: center;
      box-shadow: var(--shadow-soft);
    }

    .abschluss-box h2 {
      color: var(--accent-pink);
      margin-bottom: 14px;
      font-size: 1.7rem;
    }

    .abschluss-box p {
      color: var(--text-soft);
      font-size: 1.03rem;
      max-width: 780px;
      margin: 0 auto 12px auto;
    }


    footer {
      background-color: var(--bg-soft-yellow);
      color: var(--text-footer);
      padding: 55px 20px 32px 20px;
      margin-top: 40px;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }

    .footer-column h3 {
      color: var(--accent-pink);
      margin-bottom: 14px;
      font-size: 1.05rem;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
      color: var(--text-footer);
      font-size: 0.97rem;
      line-height: 1.75;
      text-decoration: none;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-column a:hover {
      text-decoration: underline;
      color: var(--accent-pink);
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 30px auto 0 auto;
      padding-top: 20px;
      border-top: 1px solid rgba(35, 47, 100, 0.15);
      text-align: center;
      font-size: 0.93rem;
    }


    /* ─── INTERAKTIVER BEREICH ─── */
    .interaktiv-wrap {
      max-width: 960px;
      margin: 0 auto 55px auto;
      padding: 0 20px;
      scroll-margin-top: 100px;
    }

    .interaktiv-box {
      background: linear-gradient(135deg, #fffef8 0%, #eef6ff 55%, #fff7b8 100%);
      border: 2px solid var(--border-yellow);
      border-radius: 28px;
      padding: 36px 32px;
      box-shadow: var(--shadow-soft);
      position: relative;
      overflow: hidden;
    }

    .interaktiv-box::after {
      content: "?";
      position: absolute;
      right: 34px;
      top: 22px;
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background: rgba(35, 47, 100, 0.08);
      color: rgba(35, 47, 100, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.8rem;
      font-weight: bold;
      pointer-events: none;
    }

    .interaktiv-header {
      max-width: 720px;
      margin-bottom: 26px;
    }

    .interaktiv-header .mini-label {
      display: inline-block;
      background-color: var(--accent-pink);
      color: white;
      border-radius: 999px;
      padding: 6px 14px;
      font-size: 0.85rem;
      font-weight: bold;
      margin-bottom: 14px;
    }

    .interaktiv-header h2 {
      color: var(--accent-pink);
      font-size: 1.85rem;
      line-height: 1.25;
      margin-bottom: 12px;
    }

    .interaktiv-header p {
      color: var(--text-soft);
      font-size: 1.03rem;
    }

    .quiz-option,
    .aktion-btn {
      border: none;
      font-family: inherit;
      cursor: pointer;
    }

    .spiel-panel {
      display: none;
      background-color: rgba(255, 255, 255, 0.72);
      border: 1.5px solid #ffe89b;
      border-radius: 22px;
      padding: 24px;
    }

    .spiel-panel.active {
      display: block;
    }

    .frage-card {
      margin-bottom: 22px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(35, 47, 100, 0.10);
    }

    .frage-card:last-of-type {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .frage-card h3 {
      color: var(--accent-pink);
      font-size: 1.08rem;
      line-height: 1.45;
      margin-bottom: 12px;
    }

    .antwort-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .quiz-option {
      background-color: white;
      border: 1.5px solid #d9e9ff;
      border-radius: 14px;
      padding: 13px 14px;
      color: var(--text-main);
      text-align: left;
      font-size: 0.98rem;
      line-height: 1.6;
      transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    }

    .quiz-option:hover {
      transform: translateY(-1px);
      border-color: var(--accent-pink);
    }

    .quiz-option.selected {
      background-color: #eef6ff;
      border-color: var(--accent-pink);
      font-weight: 600;
    }

    .quiz-option.correct {
      background-color: #ecfff0;
      border-color: #65b77b;
    }

    .quiz-option.wrong {
      background-color: #fff0f0;
      border-color: #d86a6a;
    }

    .aktion-btn {
      display: inline-block;
      margin-top: 22px;
      padding: 13px 24px;
      background-color: var(--accent-pink);
      color: white;
      border-radius: 999px;
      font-weight: bold;
      font-size: 0.98rem;
      box-shadow: 0 4px 14px rgba(35, 47, 100, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .aktion-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 7px 20px rgba(35, 47, 100, 0.32);
    }

    .spiel-ergebnis {
      display: none;
      margin-top: 22px;
      padding: 20px;
      background-color: #fffdf4;
      border-left: 5px solid var(--border-yellow);
      border-radius: 16px;
      color: var(--text-soft);
      font-size: 0.98rem;
      line-height: 1.7;
    }

    .spiel-ergebnis.show {
      display: block;
    }

    .spiel-ergebnis strong {
      color: var(--accent-pink);
    }

    @media (max-width: 900px) {
      .phase-track {
        grid-template-columns: 1fr 1fr;
      }
      .phase-details {
        grid-template-columns: 1fr;
      }
      .antwort-grid {
        grid-template-columns: 1fr;
      }
      .interaktiv-box {
        padding: 28px 22px;
      }
      .interaktiv-box::after {
        display: none;
      }
    }

    @media (max-width: 800px) {
      header {
        flex-direction: column;
        gap: 15px;
        padding: 18px 20px;
      }
      .intro h1 {
        font-size: 2.2rem;
      }
      .phase {
        padding: 30px 24px;
      }
      .phase h2 {
        font-size: 1.65rem;
      }
      .licht-cta-inner {
        padding: 28px 22px;
      }
      .logo {
  margin-left: 0;
}

.logo img {
  height: 45px !important;
}
    }

    @media (max-width: 560px) {
      .phase-track {
        grid-template-columns: 1fr;
      }
      .intro p {
        font-size: 1.03rem;
      }
    }

/* Einheitliche Textgrößen – Abschlusskorrektur */
body { font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
nav a { font-size: 0.97rem; }
.hero-intro p, .intro p, .phase-section p, .cta-section p, .quiz-card p, .quiz-question, .answer-option { font-size: 1.05rem; line-height: 1.75; }
.hero-intro h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.phase-section h2, .section-title, .cta-section h2, .quiz-card h2 { font-size: clamp(1.75rem, 2.6vw, 2.1rem); line-height: 1.25; }
.phase-card h3, .quiz-card h3 { font-size: 1.22rem; line-height: 1.3; }
button, .btn, input, textarea, select { font-size: 1rem; }
.footer-column p, .footer-column li, .footer-column a { font-size: 0.97rem; line-height: 1.75; }



.footer-phone {
  color: var(--text-footer);
  cursor: default;
  text-decoration: none;
}
