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

:root {
  --navy: #1e3d73;
  --teal: #3a8c68;
  --bg: #f0f4f8;
  --card: #ffffff;
  --line: #dde3ec;
  --text: #1a2740;
  --muted: #6b7a8d;
  --soft: #f4f7fb;
  --radius: 18px;
}

body {
  height: 100vh;
  overflow: hidden;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

button {
  font: inherit;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: #c8d0dc;
  border-radius: 999px;
}

#header {
  background: #fff;
  min-height: 0;
  display: flex;
  align-items: center;
  padding: 10px 24px;
  flex-shrink: 0;
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 10px rgba(30, 61, 115, 0.12);
}

.header-logo-img {
  height: 96px;
  max-width: 240px;
  object-fit: contain;
}

.header-div {
  width: 2px;
  height: 32px;
  background: var(--line);
  margin: 0 18px;
  flex-shrink: 0;
}

#header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #4b5a6e;
}

.bc-root {
  color: #2244b8;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.bc-sep,
.bc-active {
  color: var(--teal);
  font-weight: 700;
}

.bc-hidden {
  display: none !important;
}

.institut-logo {
  height: 60px;
  object-fit: contain;
  margin-left: auto;
  opacity: 0.95;
}

#progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transition: width 0.25s ease;
  flex-shrink: 0;
}

#start-area,
.area {
  flex: 1;
  overflow-y: auto;
}

#start-area {
  display: none;
}

#start-area.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 24px 14px;
}

.start-logo {
  max-height: 168px;
  max-width: 360px;
  width: auto;
  height: auto;
  display: block;
  margin-top: 42px;
  margin-bottom: 42px;
}

.hero-copy {
  display: none;
}

.hero-copy h1 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  color: var(--navy);
}

.case-grid {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "erste faq"
    "mvg vorlagen"
    "quiz quiz";
  gap: 16px;
  align-items: center;
}

.case-card {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px;
  border: 2px solid #c8d4ea;
  box-shadow: 0 2px 12px rgba(30, 61, 115, 0.08);
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--navy);
  box-shadow: 0 6px 24px rgba(30, 61, 115, 0.16);
}

.path-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.case-emoji {
  font-size: 19px;
  line-height: 1;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.level-einstieg {
  color: #946200;
  background: #fff3d7;
}

.level-aufbau {
  color: #1e3d73;
  background: #dce8f8;
}

.level-praxis {
  color: #1f6b45;
  background: #d8efe3;
}

.case-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.case-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.path-erste-schritte {
  grid-area: erste;
}

.path-mvg-schulung {
  grid-area: mvg;
}

.path-quiz {
  grid-area: quiz;
  width: min(356px, 100%);
  min-height: 218px;
  margin: -8px auto 0;
  padding: 18px 30px 20px;
  border-radius: 50% / 38%;
  background:
    radial-gradient(circle at top right, rgba(255, 217, 92, 0.48), transparent 34%),
    radial-gradient(circle at bottom left, rgba(78, 211, 255, 0.42), transparent 36%),
    linear-gradient(145deg, #17366d 0%, #214789 54%, #101f48 100%);
  border-color: #ffd86b;
  box-shadow: 0 12px 26px rgba(23, 54, 109, 0.24);
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: default;
}

.path-quiz .case-title,
.path-quiz .case-desc,
.path-quiz .case-emoji {
  color: #f8fbff;
}

.path-quiz .case-title {
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.quiz-title-main {
  font-size: 21px;
  font-weight: 900;
}

.quiz-title-sub {
  font-size: 16px;
  font-weight: 800;
}

.path-quiz .case-desc {
  font-size: 13px;
  max-width: 188px;
  margin: 0 auto;
}

.quiz-home-symbol {
  width: 106px;
  height: 106px;
  margin: 0 auto;
  border: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 217, 92, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 255, 0.94));
  box-shadow: 0 16px 30px rgba(8, 22, 52, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quiz-home-symbol:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 34px rgba(8, 22, 52, 0.3);
}

.quiz-home-symbol-img {
  width: 70px;
  height: auto;
  display: block;
}

.path-quiz:hover {
  transform: none;
  border-color: #fff0a8;
  box-shadow: 0 16px 32px rgba(16, 31, 72, 0.34);
}

.path-faq {
  grid-area: faq;
}

.path-vorlagen {
  grid-area: vorlagen;
}


.area {
  display: none;
  padding: 28px 24px;
}

.area.active {
  display: block;
}

.content-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.back-btn {
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  color: #4b5a6e;
  cursor: pointer;
  margin-bottom: 16px;
}

.joker-used {
  text-decoration: line-through;
  opacity: 0.6;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.page-head h2 {
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
}

.page-head p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.stage-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #4b5a6e;
  font-size: 12px;
  font-weight: 700;
}

.grid-2,
.grid-3,
.quiz-grid,
.resource-columns {
  display: grid;
  gap: 18px;
}

.grid-2,
.resource-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.quiz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.accordion-item,
.timeline-card,
.quiz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(30, 61, 115, 0.04);
}

.panel,
.quiz-card,
.timeline-card {
  padding: 20px 22px;
}

.quiz-stage {
  display: grid;
  gap: 14px;
  position: relative;
  padding: 14px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 207, 92, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(85, 186, 255, 0.2), transparent 30%),
    radial-gradient(circle at bottom center, rgba(101, 220, 169, 0.16), transparent 32%),
    linear-gradient(160deg, #0f1f45 0%, #18366d 42%, #10264d 100%);
  box-shadow: 0 18px 42px rgba(13, 29, 63, 0.24);
  overflow: hidden;
}

.quiz-stage .panel {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  box-shadow: 0 12px 30px rgba(8, 18, 40, 0.22);
  backdrop-filter: blur(8px);
}

.quiz-stage .panel h3,
.quiz-stage .panel p {
  color: #f5fbff;
}

.quiz-topbar {
  padding: 12px 14px !important;
  background: linear-gradient(135deg, rgba(255, 214, 102, 0.2), rgba(96, 198, 255, 0.14)) !important;
}

.quiz-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.quiz-target {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.quiz-target-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff0b8;
  min-height: 14px;
}

.quiz-target-copy {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.45;
  color: #e2f4ff;
  min-height: 38px;
}

.quiz-timer-stack {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.panel h3,
.quiz-card h3,
.timeline-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 18px;
}

.panel p,
.quiz-card p,
.timeline-card p,
.accordion-content p,
.accordion-content li,
.check-list li,
.bullet-list li,
.resource-list li {
  font-size: 14px;
  line-height: 1.7;
}

.section-title {
  font-size: 20px;
  color: var(--navy);
  margin: 26px 0 14px;
}

.check-list,
.resource-list,
.bullet-list {
  padding-left: 18px;
}

.check-list li,
.resource-list li,
.bullet-list li {
  margin-bottom: 9px;
}

.highlight {
  background: linear-gradient(180deg, rgba(58, 140, 104, 0.08), rgba(58, 140, 104, 0.02));
  border: 1px solid rgba(58, 140, 104, 0.18);
}

.level-table {
  display: grid;
  gap: 12px;
}

.level-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.accordion-wrap {
  display: grid;
  gap: 12px;
}

.accordion-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: none;
  border: none;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
}

.accordion-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.accordion-icon {
  color: var(--teal);
  font-size: 18px;
  font-weight: 700;
}

.accordion-content {
  display: none;
  padding: 0 18px 18px;
}

.accordion-item.open .accordion-content {
  display: block;
}

.accordion-content ul {
  padding-left: 18px;
  margin-top: 10px;
}

.split-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.mini-stat {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: #4b5a6e;
  font-weight: 700;
}

.eg-pill {
  --eg-strength: 0;
  padding: calc(8px + (var(--eg-strength) * 0.75px)) calc(12px + (var(--eg-strength) * 1.2px));
  font-size: calc(11.5px + (var(--eg-strength) * 0.5px));
  font-weight: 800;
  color: hsl(calc(216 - (var(--eg-strength) * 8)), 100%, calc(92% - (var(--eg-strength) * 1.6%)));
  background: linear-gradient(135deg,
      hsl(calc(224 - (var(--eg-strength) * 8)), calc(70% + (var(--eg-strength) * 2%)), calc(45% + (var(--eg-strength) * 1.2%))),
      hsl(calc(191 - (var(--eg-strength) * 4)), calc(90% - (var(--eg-strength) * 1.5%)), calc(48% + (var(--eg-strength) * 1.2%))));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 calc(8px + (var(--eg-strength) * 1.4px)) rgba(99, 194, 255, calc(0.2 + (var(--eg-strength) * 0.03))),
    0 10px 22px rgba(7, 18, 38, 0.24);
  transition: all 0.25s ease;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.14);
}

.stopwatch {
  position: relative;
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f7fbff 42%, #dceafe 100%);
  border: 4px solid #f7cf5c;
  box-shadow: 0 0 0 4px rgba(247, 207, 92, 0.2), 0 14px 32px rgba(7, 18, 38, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.stopwatch-top {
  position: absolute;
  top: -16px;
  width: 34px;
  height: 16px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #35598f, #1e3d73);
  border: 2px solid #17325f;
}

.stopwatch-top::before,
.stopwatch-top::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f0d070;
  border: 2px solid #af7d05;
}

.stopwatch-top::before {
  left: -18px;
}

.stopwatch-top::after {
  right: -18px;
}

.stopwatch-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(30, 61, 115, 0.14);
  animation: quizPulse 1.2s ease-in-out infinite;
}

.stopwatch-time {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #14335f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stopwatch-unit {
  position: relative;
  z-index: 2;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #476280;
}


.quiz-card ul {
  padding-left: 18px;
  margin-top: 10px;
}

.quiz-question {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  margin-top: 14px;
}

.quiz-question strong {
  color: var(--navy);
  display: block;
  margin-bottom: 8px;
}

.option-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  background: #fff;
  font-size: 12.6px;
}

.option.correct {
  border-color: rgba(58, 140, 104, 0.4);
  background: rgba(58, 140, 104, 0.08);
}

.option.wrong {
  border-color: rgba(180, 60, 60, 0.4);
  background: rgba(180, 60, 60, 0.08);
}

.millionaire-options .option {
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(14, 29, 59, 0.82), rgba(29, 61, 115, 0.88));
  color: #f6fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.millionaire-options .option:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 26px rgba(5, 14, 33, 0.34);
  background: linear-gradient(135deg, rgba(34, 67, 126, 0.96), rgba(31, 141, 176, 0.9));
}

.millionaire-options .option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.24), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.millionaire-options .option:hover::before {
  transform: translateX(120%);
}

.millionaire-options .option.correct {
  background: linear-gradient(135deg, rgba(26, 119, 74, 0.96), rgba(83, 223, 145, 0.94));
  color: #effff5;
  box-shadow: 0 0 0 2px rgba(115, 255, 177, 0.2), 0 14px 26px rgba(12, 42, 28, 0.34);
}

.millionaire-options .option.wrong {
  background: linear-gradient(135deg, rgba(154, 39, 46, 0.96), rgba(255, 123, 123, 0.92));
  color: #fff5f5;
  box-shadow: 0 0 0 2px rgba(255, 141, 141, 0.18), 0 14px 26px rgba(53, 15, 19, 0.34);
}

.quiz-answer-veil {
  margin-top: 12px;
  min-height: 112px;
  padding: 24px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 8%, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0.05) 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
  animation: quizShimmer 1.8s linear infinite;
}

.quiz-status {
  display: grid;
  gap: 8px;
}

.quizmaster-bubble {
  position: relative;
  border-radius: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 224, 120, 0.12), rgba(99, 194, 255, 0.12));
  box-shadow: 0 14px 26px rgba(7, 18, 38, 0.2);
}

.quizmaster-text {
  color: #f5fbff;
  font-size: 14px;
  line-height: 1.55;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.quiz-start-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: #f4f8ff;
}

.quiz-start-panel {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 6px;
}

.quiz-start-panel > *:not(.quiz-start-glow) {
  position: relative;
  z-index: 2;
}

.quiz-start-panel h3 {
  margin: 0;
  font-size: 32px;
  color: #fff8df;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 18px rgba(255, 212, 94, 0.26);
}

.quiz-start-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 94, 0.34) 0%, rgba(89, 190, 255, 0.16) 45%, transparent 72%);
  top: -70px;
  left: calc(50% - 110px);
  filter: blur(4px);
  animation: quizFloat 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.quiz-finish-card {
  text-align: center;
  padding: 34px 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 247, 211, 0.98) 0%, rgba(235, 247, 255, 0.96) 44%, rgba(220, 255, 236, 0.98) 100%);
  border: 2px solid rgba(255, 234, 157, 0.9);
  box-shadow: 0 20px 44px rgba(7, 18, 38, 0.28);
}

.quiz-finish-card h3 {
  font-size: 30px;
  color: #1e3d73;
  margin-bottom: 10px;
}

.finish-crown {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #1e3d73;
  background: radial-gradient(circle at 35% 30%, #fffbe5 0%, #f7e08a 55%, #d2ac35 100%);
  border: 4px solid #c89c17;
  box-shadow: 0 12px 24px rgba(200, 156, 23, 0.28);
}

.finish-line {
  max-width: 560px;
  margin: 0 auto 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
}

.finish-stage {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #1e3d73;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.feedback-cloud {
  position: relative;
  border-radius: 22px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
  color: #f7fbff;
  box-shadow: 0 16px 28px rgba(7, 18, 38, 0.2);
}

.feedback-cloud.is-correct {
  background: linear-gradient(135deg, rgba(55, 197, 123, 0.24), rgba(112, 255, 180, 0.12));
  border-color: rgba(112, 255, 180, 0.24);
}

.feedback-cloud.is-wrong {
  background: linear-gradient(135deg, rgba(241, 89, 97, 0.24), rgba(255, 155, 155, 0.12));
  border-color: rgba(255, 157, 157, 0.24);
}

.result-burst {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-burst.is-correct {
  background: rgba(112, 255, 180, 0.16);
  color: #dffff0;
}

.result-burst.is-wrong {
  background: rgba(255, 157, 157, 0.16);
  color: #fff1f1;
}

.result-burst::before {
  content: "✦";
  font-size: 12px;
}

.quiz-stage .back-btn {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  color: #f8fbff;
  box-shadow: 0 10px 22px rgba(7, 18, 38, 0.16);
}

.quiz-signal-btn {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 900;
  border-radius: 18px;
  border-color: rgba(255, 230, 131, 0.44) !important;
  background: linear-gradient(135deg, #ffd45a, #ff8f3d) !important;
  color: #3f1d00 !important;
  box-shadow: 0 14px 28px rgba(255, 159, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.quiz-jokers {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-joker {
  font-weight: 800;
  padding: 12px 18px !important;
  font-size: 13.5px !important;
  border-radius: 16px !important;
}

.quiz-joker-fifty {
  background: linear-gradient(135deg, rgba(255, 212, 90, 0.28), rgba(255, 155, 56, 0.2)) !important;
  border-color: rgba(255, 212, 90, 0.38) !important;
}

.quiz-joker-gremium {
  background: linear-gradient(135deg, rgba(103, 218, 255, 0.24), rgba(81, 126, 255, 0.2)) !important;
  border-color: rgba(103, 218, 255, 0.34) !important;
}

.quiz-joker-boss {
  background: linear-gradient(135deg, rgba(255, 132, 160, 0.24), rgba(201, 81, 255, 0.18)) !important;
  border-color: rgba(255, 132, 160, 0.34) !important;
}

.eg-pill-praise {
  background: linear-gradient(135deg, #ffd45a, #ff9d44) !important;
  color: #442100 !important;
  border-color: rgba(255, 236, 169, 0.6) !important;
  box-shadow: 0 12px 28px rgba(255, 161, 56, 0.32) !important;
  transform: scale(1.06);
}

.quiz-finish-card-early {
  background: linear-gradient(160deg, rgba(255, 239, 210, 0.98) 0%, rgba(239, 245, 255, 0.96) 44%, rgba(226, 255, 242, 0.98) 100%);
}

.quiz-finish-card .back-btn,
.quiz-finish-card-early .back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 22px !important;
  font-size: 15px !important;
  font-weight: 900;
  border-radius: 18px !important;
  border-color: rgba(255, 216, 107, 0.6) !important;
  background: linear-gradient(135deg, #ffd45a, #ff8f3d) !important;
  color: #3f1d00 !important;
  box-shadow: 0 14px 28px rgba(255, 159, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.quiz-stage .back-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 214, 102, 0.2), rgba(86, 192, 255, 0.18));
}

@keyframes quizFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(8px) scale(1.03); }
}

@keyframes quizPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(1.03); }
}

@keyframes quizShimmer {
  0% { background-position: -260px 0, 0 0; }
  100% { background-position: 260px 0, 0 0; }
}

.timeline-stack {
  display: grid;
  gap: 14px;
}

.timeline-day {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dce8f8;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.callout {
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(30, 61, 115, 0.08), rgba(58, 140, 104, 0.08));
  border: 1px solid rgba(30, 61, 115, 0.12);
  margin: 18px 0 24px;
}

.callout h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.dialogue-stack {
  display: grid;
  gap: 14px;
}

.dialogue-card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.dialogue-q {
  padding: 14px 16px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.dialogue-a {
  padding: 14px 16px 16px;
}

.dialogue-a p + p,
.dialogue-a ul {
  margin-top: 10px;
}

#app-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 11.5px;
  color: #9ba8bb;
  font-weight: 500;
}

.footer-copy strong {
  color: #6b7a8d;
}

.footer-version {
  font-size: 11px;
  color: #c8d0dc;
}

@media (max-width: 960px) {
  .grid-2,
  .split-box,
  .resource-columns,
  .quiz-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "erste"
      "faq"
      "mvg"
      "vorlagen"
      "quiz";
  }

  .level-row {
    grid-template-columns: 1fr;
  }

  .quiz-topbar {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .case-grid,
  .grid-2,
  .split-box,
  .resource-columns,
  .quiz-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .case-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .path-topline {
    justify-content: flex-start;
  }

  #header {
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-logo-img {
    height: 74px;
    max-width: 200px;
  }

  .header-div {
    display: none;
  }

  .institut-logo {
    height: 42px;
    margin-left: 0;
  }

  #start-area.active,
  .area {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  #app-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
