:root {
  --bg: #f6f7f9;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --soft: #e6e9ee;
  --navy: #101827;
  --navy-soft: #1f2a3d;
  --gold: #c49a45;
  --gold-deep: #9f7931;
  --gold-soft: #f5ead5;
  --green-soft: #edf7f0;
  --blue-soft: #ecf3ff;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px;
  background: #071a35;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  width: min(430px, calc(100vw - 56px));
  height: min(860px, calc(100vh - 56px));
  height: min(860px, calc(100dvh - 56px));
  min-height: 680px;
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden auto;
  border: 2px solid transparent;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 251, 0.96)) padding-box,
    linear-gradient(145deg, #d6b366, var(--gold-deep)) border-box;
  box-shadow:
    0 42px 110px rgba(16, 24, 39, 0.2),
    0 0 0 5px rgba(214, 179, 102, 0.82),
    0 0 0 8px rgba(159, 121, 49, 0.72),
    0 0 0 12px rgba(214, 179, 102, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.92);
  scrollbar-width: none;
}

.app-shell::-webkit-scrollbar {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), #263650);
  box-shadow: 0 12px 28px rgba(16, 24, 39, 0.18);
  flex: 0 0 auto;
}

.brand-mark span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d8 0%, #d9b668 45%, rgba(217, 182, 104, 0.28) 70%);
  box-shadow: 0 0 22px rgba(217, 182, 104, 0.9);
}

.progress-wrap {
  flex: 1;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: #e9edf3;
  overflow: hidden;
}

.progress-bar {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #e7c97d);
  transition: width 260ms ease;
}

.screen {
  display: none;
  animation: rise 260ms ease both;
  flex: 1;
}

.screen.is-active {
  display: flex;
  flex-direction: column;
}

#screen-reward {
  justify-content: center;
}

#screen-intro {
  justify-content: flex-start;
}

.hero-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 34% 28%, #fff7d7 0 8%, #e5c16f 22%, rgba(196, 154, 69, 0.54) 46%, rgba(16, 24, 39, 0.1) 72%),
    linear-gradient(145deg, rgba(16, 24, 39, 0.2), rgba(255, 255, 255, 0.2));
  box-shadow: 0 26px 80px rgba(196, 154, 69, 0.32);
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 34px;
}

.lead,
.screen-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.lead.compact {
  font-size: 18px;
}

.intro-soft {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--navy-soft);
  font-size: 15px;
  line-height: 1.42;
}

.privacy-note {
  max-width: 620px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 620px;
  margin: 18px 0 22px;
  color: var(--navy-soft);
}

.trust-note p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.38;
}

.trust-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}

.trust-icon img {
  width: 17px;
  height: 17px;
  filter: brightness(0) saturate(100%) invert(45%) sepia(32%) saturate(826%) hue-rotate(3deg) brightness(91%) contrast(88%);
}

.primary-action,
.ghost-action {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.primary-action {
  align-self: flex-start;
  padding: 0 18px;
  background: linear-gradient(145deg, var(--navy), #1c2740);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.18);
}

#screen-intro .primary-action {
  background: linear-gradient(145deg, #d6b366, var(--gold-deep));
  box-shadow: 0 14px 34px rgba(159, 121, 49, 0.2);
}

.primary-action img,
.next-link img {
  width: 18px;
  height: 18px;
}

.primary-action img {
  filter: invert(1);
}

.primary-action:hover,
.ghost-action:hover,
.next-link:hover {
  transform: translateY(-1px);
}

.primary-action:disabled {
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(145deg, #b4bac3, #9fa6b0);
  box-shadow: none;
}

.ghost-action {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border: 1px solid rgba(16, 24, 39, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.ghost-action.wide {
  width: 100%;
  margin-top: 18px;
}

.screen-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: min(100%, 360px);
  margin: 28px auto 0;
  padding: 6px;
  border: 1px solid rgba(16, 24, 39, 0.06);
  border-radius: 999px;
  background: rgba(244, 245, 247, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.screen-actions .ghost-action {
  min-width: 92px;
}

.screen-actions .primary-action {
  flex: 0 1 190px;
  align-self: stretch;
  background: linear-gradient(145deg, #d6b366, var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(159, 121, 49, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-actions .primary-action:disabled {
  background: linear-gradient(145deg, #b4bac3, #9fa6b0);
  box-shadow: none;
}

#screen-questions {
  padding-bottom: 8px;
}

#screen-questions .screen-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: rgba(244, 245, 247, 0.9);
}

#screen-possibility {
  animation: none;
}

#screen-possibility .role-chip,
#screen-possibility .benefit-strip {
  opacity: 1;
  transform: none;
  animation: none;
}

#screen-possibility .denkraum-center {
  opacity: 1;
  transform: translate(-50%, -50%);
  animation: none;
}

.option-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.area-grid {
  grid-template-columns: 1fr;
}

.answer-grid {
  grid-template-columns: 1fr;
}

.option-card {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(16, 24, 39, 0.06);
  text-align: left;
  color: var(--navy);
}

.option-card.is-selected {
  border-color: rgba(196, 154, 69, 0.72);
  background: linear-gradient(180deg, #fffdf8, #fff8eb);
  box-shadow: 0 18px 44px rgba(196, 154, 69, 0.16);
}

.option-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.option-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(34%) saturate(830%) hue-rotate(3deg) brightness(90%) contrast(90%);
}

.option-title {
  display: block;
  font-weight: 750;
  font-size: 17px;
  margin-bottom: 5px;
}

.option-copy {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 26px;
}

.result-card,
.code-card,
.next-link {
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 48px rgba(16, 24, 39, 0.08);
}

.result-card {
  padding: 18px;
}

.card-icon,
.completion-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.card-icon img,
.completion-mark img {
  width: 27px;
  height: 27px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(34%) saturate(830%) hue-rotate(3deg) brightness(90%) contrast(90%);
}

.result-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
}

.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 15px;
}

.result-points {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--navy-soft);
  font-size: 15px;
  line-height: 1.35;
}

.result-points li {
  position: relative;
  padding-left: 14px;
}

.result-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.result-card .result-note {
  margin-top: 12px;
  color: var(--muted);
}

.denkraum-map {
  position: relative;
  min-height: 460px;
  margin-top: 24px;
  border: 1px solid rgba(214, 179, 102, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 44%, rgba(214, 179, 102, 0.22), transparent 12rem),
    linear-gradient(180deg, rgba(10, 27, 54, 0.97), rgba(7, 26, 53, 0.94));
  box-shadow: 0 22px 70px rgba(7, 26, 53, 0.18);
  overflow: hidden;
}

.denkraum-map::before,
.denkraum-map::after {
  content: "";
  position: absolute;
  inset: 78px 54px;
  border: 1px solid rgba(214, 179, 102, 0.18);
  border-radius: 50%;
}

.denkraum-map::after {
  inset: 112px 90px;
  border-style: dashed;
}

.denkraum-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 154px;
  height: 262px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 22px rgba(214, 179, 102, 0.58));
  animation: revealCenter 720ms ease both;
  z-index: 1;
}

.denkraum-avatar {
  width: auto;
  height: 238px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(214, 179, 102, 0.58));
}

.connection-lines span {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  width: 128px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(214, 179, 102, 0.38), rgba(214, 179, 102, 0.04));
  opacity: 0.72;
}

.line-coach {
  transform: rotate(218deg);
}

.line-trainer {
  transform: rotate(180deg);
}

.line-advisor {
  transform: rotate(142deg);
}

.line-reflection {
  transform: rotate(-38deg);
}

.line-library {
  transform: rotate(0deg);
}

.line-knowledge {
  transform: rotate(38deg);
}

.human-silhouette {
  position: relative;
  width: 82px;
  height: 196px;
  display: block;
  filter: drop-shadow(0 0 30px rgba(214, 179, 102, 0.72));
}

.human-head,
.human-body,
.human-arm,
.human-leg {
  position: absolute;
  left: 50%;
  display: block;
  background: linear-gradient(180deg, #fff7cb, #d7a94c 52%, #fff0a8);
  box-shadow:
    0 0 0 1px rgba(255, 244, 196, 0.74),
    0 0 36px rgba(214, 179, 102, 0.64);
}

.human-head {
  top: 0;
  width: 42px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, #fffbe4, #d9aa50 70%);
}

.human-body {
  top: 52px;
  width: 48px;
  height: 86px;
  transform: translateX(-50%);
  border-radius: 26px 26px 15px 15px;
}

.human-arm {
  top: 62px;
  width: 13px;
  height: 78px;
  border-radius: 999px;
}

.human-arm-left {
  transform: translateX(-50%) rotate(10deg);
  margin-left: -35px;
}

.human-arm-right {
  transform: translateX(-50%) rotate(-10deg);
  margin-left: 35px;
}

.human-leg {
  top: 132px;
  width: 16px;
  height: 64px;
  border-radius: 999px 999px 12px 12px;
}

.human-leg-left {
  transform: translateX(-50%) rotate(3deg);
  margin-left: -13px;
}

.human-leg-right {
  transform: translateX(-50%) rotate(-3deg);
  margin-left: 13px;
}

.human-silhouette::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 118px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(214, 179, 102, 0.6), transparent 70%);
}

.role-chip {
  position: absolute;
  z-index: 2;
  width: 132px;
  height: 114px;
  padding: 12px 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  animation: revealChip 520ms ease both;
}

.role-chip img {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}

.role-chip span,
.benefit-strip strong {
  display: block;
  font-weight: 760;
}

.role-chip small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
  line-height: 1.22;
}

.role-coach,
.role-trainer,
.role-advisor {
  left: 14px;
}

.role-reflection,
.role-library,
.role-knowledge {
  right: 14px;
}

.role-coach,
.role-reflection {
  top: 18px;
}

.role-trainer,
.role-library {
  top: 173px;
}

.role-advisor,
.role-knowledge {
  bottom: 18px;
}

.role-coach {
  border-color: rgba(214, 179, 102, 0.42);
  animation-delay: 160ms;
}

.role-coach img {
  filter: brightness(0) saturate(100%) invert(76%) sepia(54%) saturate(453%) hue-rotate(359deg) brightness(95%) contrast(91%);
}

.role-trainer {
  border-color: rgba(80, 141, 255, 0.36);
  animation-delay: 260ms;
}

.role-trainer img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(69%) saturate(2022%) hue-rotate(196deg) brightness(101%) contrast(101%);
}

.role-advisor {
  border-color: rgba(122, 205, 117, 0.34);
  animation-delay: 360ms;
}

.role-advisor img {
  filter: brightness(0) saturate(100%) invert(69%) sepia(37%) saturate(678%) hue-rotate(62deg) brightness(94%) contrast(86%);
}

.role-reflection {
  border-color: rgba(174, 112, 255, 0.38);
  animation-delay: 220ms;
}

.role-reflection img {
  filter: brightness(0) saturate(100%) invert(60%) sepia(62%) saturate(3623%) hue-rotate(229deg) brightness(103%) contrast(101%);
}

.role-library {
  border-color: rgba(232, 180, 78, 0.4);
  animation-delay: 320ms;
}

.role-library img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(88%) saturate(473%) hue-rotate(354deg) brightness(97%) contrast(89%);
}

.role-knowledge {
  border-color: rgba(79, 212, 202, 0.36);
  animation-delay: 420ms;
}

.role-knowledge img {
  filter: brightness(0) saturate(100%) invert(73%) sepia(88%) saturate(353%) hue-rotate(126deg) brightness(91%) contrast(91%);
}

.denkraum-insight {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--navy-soft);
  font-size: 14px;
  line-height: 1.42;
  text-align: center;
}

.denkraum-control {
  max-width: 520px;
  margin: 7px auto 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.section-divider {
  width: 72px;
  height: 1px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, rgba(214, 179, 102, 0.5), transparent);
}

.benefit-kicker {
  margin: 12px 0 8px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 179, 102, 0.26);
  border-radius: 22px;
  background: rgba(214, 179, 102, 0.18);
  opacity: 0;
  transform: translateY(10px);
  animation: revealChip 560ms ease 520ms both;
}

.benefit-strip div {
  min-height: 94px;
  padding: 13px 10px;
  display: grid;
  grid-template-rows: 28px auto;
  justify-items: center;
  align-content: start;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
}

.benefit-strip strong {
  color: var(--gold-deep);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1;
  align-self: center;
}

.benefit-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.28;
  align-self: start;
}

.reward-teaser {
  width: 100%;
  margin-top: 18px;
  min-height: 54px;
  padding: 10px 16px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(214, 179, 102, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  text-align: left;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.07);
}

.reward-teaser-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d6b366, var(--gold-deep));
  box-shadow: 0 8px 20px rgba(159, 121, 49, 0.18);
}

.reward-teaser-icon img,
.reward-teaser > img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.reward-teaser strong,
.reward-teaser small {
  display: block;
}

.reward-teaser strong {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 680;
}

.reward-teaser small {
  margin-top: 3px;
  color: rgba(16, 24, 39, 0.7);
  font-size: 12px;
}

.private-code-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: rgba(107, 116, 135, 0.86);
  font-size: 13px;
}

.private-code-note img {
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(8%) saturate(911%) hue-rotate(182deg) brightness(91%) contrast(89%);
}

.completion-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
}

.completion-mark img {
  width: 34px;
  height: 34px;
}

.code-card {
  margin-top: 22px;
  padding: 17px 18px 18px;
  max-width: 420px;
  display: grid;
  gap: 7px;
  border-color: rgba(214, 179, 102, 0.34);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(255, 248, 235, 0.86));
}

.code-card > span {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.code-card b {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 680;
  margin-bottom: 3px;
}

.code-card strong {
  color: var(--navy);
  font-size: 24px;
  letter-spacing: 0.08em;
}

.code-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.code-row {
  display: block;
  padding-right: 0;
}

.code-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.copy-code {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid rgba(16, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy-soft);
  font-size: 12px;
  font-weight: 700;
}

.copy-code img {
  width: 15px;
  height: 15px;
  filter: brightness(0) saturate(100%) invert(48%) sepia(8%) saturate(911%) hue-rotate(182deg) brightness(91%) contrast(89%);
}

.copy-code span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.next-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 560px;
  margin-top: 18px;
}

.next-link {
  position: relative;
  min-height: 108px;
  padding: 16px 42px 16px 16px;
  color: var(--navy);
  text-decoration: none;
}

.next-link::after {
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.72);
}

.next-link-explorer {
  border-color: rgba(149, 96, 255, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 255, 0.9));
}

.next-link-explorer::after {
  color: #b45cff;
  border: 1px solid rgba(180, 92, 255, 0.22);
}

.next-link-course {
  border-color: rgba(80, 141, 255, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.9));
}

.next-link-course::after {
  color: #508dff;
  border: 1px solid rgba(80, 141, 255, 0.22);
}

.next-link-explorer img {
  filter: brightness(0) saturate(100%) invert(58%) sepia(86%) saturate(2724%) hue-rotate(228deg) brightness(101%) contrast(103%);
}

.next-link-course img {
  filter: brightness(0) saturate(100%) invert(53%) sepia(78%) saturate(1928%) hue-rotate(199deg) brightness(100%) contrast(99%);
}

.next-link span,
.next-link small {
  display: block;
}

.next-link span {
  margin-top: 14px;
  font-weight: 760;
}

.next-link small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.next-link em {
  display: block;
  margin-top: 8px;
  color: var(--gold-deep);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}

.reward-note {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.reward-note strong,
.reward-note span {
  display: block;
}

.reward-note strong {
  color: var(--navy);
  font-weight: 760;
}

.reward-note strong::after {
  content: "";
  width: 70px;
  height: 1px;
  display: block;
  margin: 10px auto 9px;
  background: linear-gradient(90deg, transparent, rgba(214, 179, 102, 0.72), transparent);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealCenter {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes revealChip {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(430px, calc(100vw - 28px));
    height: min(820px, calc(100dvh - 28px));
    min-height: min(720px, calc(100dvh - 28px));
    padding: 22px 24px 30px;
    border-radius: 32px;
  }

  .topbar {
    margin-bottom: 24px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .screen-copy {
    font-size: 17px;
  }

  .area-grid,
  .answer-grid,
  .result-grid,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 96px;
  }

  .denkraum-map {
    min-height: 430px;
  }

  .role-chip {
    width: 118px;
    height: 108px;
    padding: 10px;
  }

  .role-chip img {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
  }

  .role-chip span {
    font-size: 14px;
  }

  .role-chip small {
    font-size: 10.8px;
  }

  .denkraum-center {
    width: 124px;
    height: 222px;
  }

  .denkraum-avatar {
    height: 202px;
  }

  .role-trainer,
  .role-library {
    top: 160px;
  }

  .benefit-strip div {
    min-height: 92px;
    padding: 14px 8px;
  }

}

@media (max-width: 520px) {
  body {
    display: grid;
    place-items: center;
    min-height: 100dvh;
    padding: 12px;
    background: #071a35;
  }

  .app-shell {
    width: min(430px, calc(100vw - 24px));
    height: min(820px, calc(100dvh - 24px));
    min-height: min(700px, calc(100dvh - 24px));
    padding: 22px 22px 30px;
    border: 2px solid transparent;
    border-radius: 32px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 249, 251, 0.96)) padding-box,
      linear-gradient(145deg, #d6b366, var(--gold-deep)) border-box;
    box-shadow:
      0 28px 70px rgba(16, 24, 39, 0.2),
      0 0 0 4px rgba(214, 179, 102, 0.72),
      0 0 0 7px rgba(159, 121, 49, 0.62),
      0 0 0 10px rgba(214, 179, 102, 0.14),
      inset 0 0 0 1px rgba(255, 255, 255, 0.92);
  }

  #screen-areas,
  #screen-questions,
  #screen-result {
    padding-bottom: 94px;
  }

  .denkraum-map {
    min-height: 390px;
    padding: 0;
  }

  .denkraum-map::before,
  .denkraum-map::after {
    inset: 78px 48px;
    height: auto;
  }

  .denkraum-center {
    left: 50%;
    top: 50%;
    width: 92px;
    height: 188px;
  }

  .denkraum-avatar {
    height: 172px;
  }

  .role-chip {
    position: absolute;
    width: 104px;
    height: 92px;
    min-height: 0;
    padding: 9px;
    display: block;
    margin-top: 0;
  }

  .role-coach,
  .role-trainer,
  .role-advisor {
    left: 9px;
  }

  .role-reflection,
  .role-library,
  .role-knowledge {
    right: 9px;
  }

  .role-coach,
  .role-reflection {
    top: 14px;
  }

  .role-trainer,
  .role-library {
    top: 149px;
  }

  .role-advisor,
  .role-knowledge {
    bottom: 14px;
  }

  .role-chip img {
    width: 18px;
    height: 18px;
    margin: 0 0 5px;
  }

  .role-chip span {
    font-size: 13px;
  }

  .role-chip small {
    font-size: 10px;
    line-height: 1.18;
  }

  .benefit-strip {
    grid-template-columns: 1fr;
  }

  .benefit-kicker {
    margin-top: 18px;
  }

  .benefit-strip div {
    min-height: 78px;
  }

  .screen-actions {
    position: sticky;
    bottom: 0;
    background: rgba(244, 245, 247, 0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
