/* Archetype OS — eigene Styles, baut auf der Designsprache von martina-meyer.ch auf
 * (Fraunces / DM Sans / DM Mono, Creme/Gold/Ink). */

:root {
  --cream: #faf8f3;
  --cream-2: #f3efe5;
  --cream-3: #ede6d6;
  --ink: #1a1a1a;
  --ink-soft: #2a2722;
  --muted: #736853;
  --muted-2: #a89d88;
  --line: #d8d1c0;
  --gold: #c9a961;
  --gold-deep: #a88742;
  --gold-text: #7d6228;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 36px; }
.wrap--narrow { max-width: 760px; }

.mono {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* NAV */
nav { padding: 24px 0 0; }
nav .row { display: flex; justify-content: space-between; align-items: center; }
nav .row--center { justify-content: center; }
.wordmark {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  text-decoration: none;
}
nav .links {
  display: flex; gap: 28px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
nav .links a { text-decoration: none; color: var(--muted); transition: color .15s; padding: 6px 0; }
nav .links a:hover { color: var(--ink); }

/* SCREEN SYSTEM */
.screen { display: none; }
.screen.is-active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* HERO / INTRO */
.intro { padding-top: 40px; padding-bottom: 84px; }
.intro .eyebrow {
  display: block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 28px;
}
.intro .eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--muted); vertical-align: middle; margin-right: 14px;
}
.intro h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(52px, 7vw, 96px); line-height: .98; letter-spacing: -0.025em;
  margin: 0 0 28px; color: var(--ink);
}
.intro h1 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.intro .lede {
  font-size: 21px; line-height: 1.55; max-width: 600px; color: var(--ink-soft); margin: 0 0 40px;
}
.intro .lede strong { color: var(--ink); font-weight: 500; }

.meta-row {
  display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line);
  margin: 0 0 44px; max-width: 600px; background: var(--line);
}
.meta-row .cell {
  flex: 1; min-width: 150px; background: var(--cream); padding: 22px 24px;
}
.meta-row .cell .k {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 8px;
}
.meta-row .cell .v {
  font-family: 'Fraunces', Georgia, serif; font-size: 26px; font-weight: 400; line-height: 1.1;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, transform .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--cream-2); }
.btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.btn--gold { background: var(--gold-deep); border-color: var(--gold-deep); }

.legal-note { font-size: 14px; color: var(--muted); margin-top: 20px; max-width: 560px; }

/* PROGRESS */
.progress-bar { position: sticky; top: 0; z-index: 5; background: var(--cream); padding-top: 18px; }
.progress-bar .track { height: 3px; background: var(--cream-3); border-radius: 2px; overflow: hidden; }
.progress-bar .fill {
  height: 100%; width: 0; background: var(--gold-deep);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.progress-bar .meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.progress-bar .meta .cat { color: var(--gold-text); }

/* TEST */
.test { padding-top: 40px; padding-bottom: 80px; }
.q-card { max-width: 760px; margin: 0 auto; }
.q-card .q-cat {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.q-card h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.012em;
  margin: 0 0 14px; color: var(--ink);
}
.q-hint { font-size: 15px; color: var(--muted); margin: 0 0 32px; }

.options { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); padding: 18px 20px;
  cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit;
  transition: border-color .18s, box-shadow .18s, transform .12s, background .18s;
}
.option:hover { border-color: var(--gold); }
.option:active { transform: scale(.995); }
.option.is-ranked { background: var(--cream-2); border-color: var(--gold-deep); }
.option .rank-badge {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--muted-2);
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 15px; transition: all .18s;
}
.option.is-ranked .rank-badge {
  background: var(--gold-deep); border-color: var(--gold-deep); color: #fff;
}
.option .label {
  font-family: 'Fraunces', Georgia, serif; font-size: 19px; line-height: 1.35; color: var(--ink);
}
.option .rank-word {
  margin-left: auto; flex: 0 0 auto;
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-text); opacity: 0; transition: opacity .2s;
}
.option.is-ranked .rank-word { opacity: 1; }

.q-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.q-foot .reset {
  background: none; border: none; cursor: pointer; padding: 6px 0;
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent;
}
.q-foot .reset:hover { color: var(--ink); border-color: var(--gold); }
.q-nav { display: flex; gap: 12px; }

/* COMPUTING */
.computing { padding-top: 140px; padding-bottom: 140px; text-align: center; }
.computing .spinner {
  width: 46px; height: 46px; margin: 0 auto 32px; border-radius: 50%;
  border: 2px solid var(--cream-3); border-top-color: var(--gold-deep);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.computing p { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: var(--ink-soft); }

/* RESULT */
.result { padding-top: 56px; padding-bottom: 100px; }
.result .result-head { border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 48px; }
.result .kicker {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.result h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(46px, 7vw, 88px); line-height: 1; letter-spacing: -0.025em; margin: 0 0 10px;
}
.result h1 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
.result .tagline { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 24px; color: var(--muted); margin: 0 0 28px; }
.result .profile-text { font-size: 20px; line-height: 1.6; max-width: 640px; color: var(--ink-soft); margin: 0; }

.result-section { margin: 0 0 56px; }
.result-section > h2 {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 22px; margin: 0 0 28px;
}

/* MIX CHART */
.radar-wrap { display: flex; justify-content: center; margin: 2px 0 26px; }
.radar { width: 100%; max-width: 380px; height: auto; color: var(--ink); }
.radar-ring { fill: none; stroke: currentColor; stroke-opacity: .12; }
.radar-axis { stroke: currentColor; stroke-opacity: .10; }
.radar-shape { fill: rgba(168, 135, 66, .20); stroke: #a88742; stroke-width: 2; stroke-linejoin: round; }
.radar-dot { fill: #a88742; }
.radar-dot.is-primary { fill: var(--gold-text); }
.radar-label { font-family: 'Fraunces', Georgia, serif; font-size: 11px; fill: currentColor; fill-opacity: .7; }
.radar-label.is-primary { fill: var(--gold-text); fill-opacity: 1; font-weight: 500; }

.mix-list { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.mix-row { display: grid; grid-template-columns: 130px 1fr 52px; gap: 16px; align-items: center; }
.mix-row .name { font-family: 'Fraunces', Georgia, serif; font-size: 18px; }
.mix-row .bar-track { height: 10px; background: var(--cream-3); border-radius: 6px; overflow: hidden; }
.mix-row .bar-fill { height: 100%; border-radius: 6px; width: 0; transition: width .9s cubic-bezier(.4,0,.2,1); }
.mix-row .pct { text-align: right; font-family: 'DM Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); }
.mix-row.is-dim { opacity: .5; }

/* OS GRID */
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.os-grid .cell { background: var(--cream); padding: 26px 26px 28px; }
.os-grid .cell .k {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 12px;
}
.os-grid .cell .v { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }

/* CARDS (shadow / stress / growth) */
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.insight-card { background: #fff; border: 1px solid var(--line); padding: 28px; }
.insight-card.full { grid-column: 1 / -1; background: var(--cream-2); border-color: var(--gold); }
.insight-card .role {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.insight-card h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 12px; letter-spacing: -0.01em; }
.insight-card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* CONSISTENCY */
.consistency { background: var(--cream-2); border: 1px solid var(--line); padding: 28px; display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; }
.consistency .score { font-family: 'Fraunces', Georgia, serif; font-size: 56px; font-weight: 300; line-height: 1; color: var(--gold-deep); }
.consistency .score small { display: block; font-family: 'DM Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.consistency p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* GROWTH IMPULSES */
.impulses { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.impulses li { font-family: 'Fraunces', Georgia, serif; font-size: 19px; line-height: 1.4; color: var(--ink); padding-left: 24px; position: relative; }
.impulses li::before { content: "→"; position: absolute; left: 0; top: 1px; color: var(--gold-deep); }

/* BAU-IDEEN */
.build-ideas { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.build-ideas li {
  font-family: 'Fraunces', Georgia, serif; font-size: 18px; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--line); padding: 16px 18px 16px 44px; position: relative;
}
.build-ideas li::before {
  content: "🛠"; position: absolute; left: 16px; top: 15px; font-size: 15px;
}
.build-blend { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); }
.build-blend em { font-style: italic; color: var(--gold-text); }

/* WORKSHOP CTA (Mom Vibe Code) */
.workshop-box {
  background: var(--cream-2); border: 1px solid var(--gold); padding: 44px 40px; margin-top: 8px;
  background-image: linear-gradient(135deg, rgba(201,169,97,.10) 0%, rgba(201,169,97,0) 60%);
}
.workshop-box .role {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px;
}
.workshop-box h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 38px; line-height: 1.05;
  margin: 0 0 14px; border: none; padding: 0; text-transform: none; letter-spacing: -0.015em; color: var(--ink);
}
.workshop-box p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px; max-width: 560px; }
.workshop-box .btn--solid { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); }

/* SHARE / CTA */
.share-box { background: var(--ink); color: var(--cream); padding: 44px 40px; margin-top: 24px; }
.share-box h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 300; font-size: 34px; margin: 0 0 12px; color: var(--cream); border: none; padding: 0; letter-spacing: -0.01em; text-transform: none; }
.share-box p { color: var(--cream-3); font-size: 16px; line-height: 1.6; margin: 0 0 28px; max-width: 520px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.share-box .btn { border-color: var(--cream); }
.share-box .btn--ghost { color: var(--cream); }
.share-box .btn--ghost:hover { background: rgba(255,255,255,.1); }
.share-box .btn--solid { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.copied-hint { font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 16px; min-height: 16px; }

.restart-row { margin-top: 48px; text-align: center; }
.restart-row a { font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.restart-row a:hover { color: var(--ink); }

/* FOOTER */
footer { padding: 48px 0; border-top: 1px solid var(--line); margin-top: 40px; }
footer .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--gold); }
footer a:hover { color: var(--ink); }
.foot-disclaimer { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--muted); max-width: 520px; }
body.intro-active .foot-disclaimer { color: var(--muted-2); }

@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .intro { padding-top: 36px; padding-bottom: 64px; }
  .meta-row { flex-direction: column; }
  .os-grid, .insight-grid { grid-template-columns: 1fr; }
  .consistency { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .mix-row { grid-template-columns: 96px 1fr 44px; gap: 10px; }
  .mix-row .name { font-size: 15px; }
  .option .label { font-size: 17px; }
  .q-nav { width: 100%; }
  .q-nav .btn { flex: 1; justify-content: center; }
}

/* PRINT — als PDF speichern */
@media print {
  nav, .progress-bar, .share-box, .restart-row, footer, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .screen { display: block !important; }
  #screen-intro, #screen-test, #screen-computing { display: none !important; }
  .result { padding: 0; }
  .insight-card, .os-grid .cell, .consistency { break-inside: avoid; }
  .mix-row .bar-fill { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* ===== LANG TOGGLE (nav) ===== */
.lang-toggle {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; cursor: pointer; transition: color .15s, border-color .15s;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--gold); }

/* ===== TEASER (gate) ===== */
.teaser { padding-top: 70px; padding-bottom: 100px; text-align: center; }
.teaser .eyebrow {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 22px;
}
.teaser-youare {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 20px; color: var(--muted); margin: 0 0 22px;
}
.teaser-img {
  display: block; width: 300px; max-width: 78%; height: auto; margin: 0 auto 30px;
  border-radius: 12px; border: 1px solid var(--gold);
  box-shadow: 0 18px 50px rgba(40, 30, 10, .28);
}
.teaser h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(44px, 7vw, 80px); line-height: 1; letter-spacing: -0.025em; margin: 0 0 14px;
}
.teaser-tag {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  font-size: 22px; color: var(--gold-deep); margin: 0 auto 44px; max-width: 480px;
}
.teaser-identity { text-align: center; }

/* blurred profile skeleton behind the unlock modal */
.teaser-preview-wrap { position: relative; min-height: 700px; max-width: 640px; margin: 40px auto 0; }
.teaser-preview {
  position: absolute; inset: 0; text-align: left; pointer-events: none; user-select: none;
  filter: blur(4px); opacity: .72;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 86%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 86%);
}
.tp-block { margin-bottom: 26px; }
.tp-line { height: 12px; background: var(--cream-3); border-radius: 4px; margin-bottom: 11px; }
.tp-kicker { width: 28%; height: 9px; }
.tp-title { width: 66%; height: 28px; background: rgba(40,30,12,.22); margin-bottom: 14px; }
.tp-sub { width: 46%; }
.tp-sectitle { width: 34%; height: 11px; background: var(--gold-deep); opacity: .5; margin-bottom: 16px; }
.tp-mix { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.tp-name { font-family: 'Fraunces', Georgia, serif; font-size: 16px; color: var(--ink); }
.tp-track { height: 10px; background: var(--cream-3); border-radius: 6px; overflow: hidden; }
.tp-fill { height: 100%; border-radius: 6px; }

.unlock-modal {
  position: relative; width: min(94%, 480px); margin: 56px auto 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 26px 70px rgba(40, 30, 10, .22);
  padding: 40px 34px; text-align: center;
}
.unlock-modal h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: 27px; line-height: 1.15; margin: 0 0 12px;
}
.unlock-sub { font-size: 15px; color: var(--ink-soft); margin: 0 0 24px; }

/* ===== EMAIL FORM ===== */
.email-form {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 460px; margin: 0 auto;
}
.email-input {
  flex: 1 1 240px; min-width: 0;
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink);
}
.email-input:focus { outline: none; border-color: var(--gold-deep); }
.email-form .btn { flex: 0 0 auto; border-radius: 10px; justify-content: center; }
.consent-note {
  flex: 1 1 100%; font-size: 13px; line-height: 1.5; color: var(--muted);
  margin: 6px 0 0; text-align: center;
}
.consent-note a { color: var(--gold-text); }
.email-err {
  flex: 1 1 100%; font-size: 14px; color: #a23b2e; margin: 4px 0 0; text-align: center;
}
/* Same line, calm tone when it's a "still trying" notice rather than an error. */
.email-err.is-info { color: var(--gold-text); }
.resume-note {
  flex: 1 1 100%; font-size: 13px; line-height: 1.5; margin: 0 0 12px; text-align: center;
  color: var(--ink); background: rgba(201, 169, 97, .12);
  border: 1px solid rgba(201, 169, 97, .35); border-radius: 10px; padding: 10px 14px;
}

/* Notice shown above the intro when a result link (?r=token) can't load:
   gone (404) or a network failure after retries. Sits on the dark intro theme. */
.token-notice {
  max-width: 540px; margin: 0 auto 28px; text-align: center;
  background: rgba(201, 169, 97, .14); border: 1px solid rgba(201, 169, 97, .42);
  border-radius: 12px; padding: 16px 18px;
}
.token-notice__msg { margin: 0; font-size: 14px; line-height: 1.5; color: var(--cream); }
.token-notice .btn { margin-top: 12px; }

/* ===== SENT (check inbox) — rendered inside the unlock modal ===== */
.sent-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.sent-actions .btn { border-radius: 10px; flex: 1 1 auto; justify-content: center; }

/* ===== INTRO — inverted (dark) theme + archetype marquee ===== */
body.intro-active { background: #0e0c08; }
body.intro-active nav .mono { color: var(--gold); }
body.intro-active .lang-toggle { color: var(--muted-2); border-color: rgba(201,169,97,.4); }
body.intro-active .lang-toggle:hover { color: #faf8f3; border-color: var(--gold); }

body.intro-active .intro .eyebrow { color: var(--gold); }
body.intro-active .intro .eyebrow::before { background: var(--gold); }
body.intro-active .intro h1 { color: #faf8f3; }
body.intro-active .intro h1 em { color: var(--gold); }
body.intro-active .intro .lede { color: #cdbfa6; }
body.intro-active .intro .lede strong { color: #fff; }
body.intro-active .intro .legal-note { color: #9b8e76; }

body.intro-active .meta-row { border-color: rgba(201,169,97,.28); background: rgba(201,169,97,.28); }
body.intro-active .meta-row .cell { background: #15110c; }
body.intro-active .meta-row .cell .k { color: var(--muted-2); }
body.intro-active .meta-row .cell .v { color: #faf8f3; }

body.intro-active .btn--gold { background: var(--gold); border-color: var(--gold); color: #1a1208; }
body.intro-active .btn--gold:hover { background: #d8ba73; }

body.intro-active footer { border-color: rgba(201,169,97,.18); }
body.intro-active footer .row { color: var(--muted-2); }
body.intro-active footer a { color: var(--gold); border-color: rgba(201,169,97,.5); }

/* ----- salesy intro extras ----- */
.intro { position: relative; }
body.intro-active .intro::before {
  content: ""; position: absolute; left: 50%; top: -30px; transform: translateX(-50%);
  width: min(760px, 92%); height: 420px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,97,.18), transparent 70%);
}
.intro > * { position: relative; z-index: 1; }

.intro-kicker { display: none; }
body.intro-active .intro-kicker {
  display: inline-block; font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(201,169,97,.4); border-radius: 999px; padding: 7px 16px; margin-bottom: 26px;
}

.intro-value { list-style: none; margin: 0 0 36px; padding: 0; max-width: 560px; display: grid; gap: 13px; }
.intro-value li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.4; color: var(--ink-soft); }
.intro-value li::before { content: "\2726"; position: absolute; left: 0; top: 1px; color: var(--gold-deep); font-size: 14px; }
body.intro-active .intro-value li { color: #e6dcc8; }
body.intro-active .intro-value li::before { color: var(--gold); }

.btn--lg { padding: 20px 40px; font-size: 13px; }
body.intro-active .btn--lg.btn--gold { box-shadow: 0 12px 40px rgba(201,169,97,.32); }
body.intro-active .btn--lg.btn--gold:hover { box-shadow: 0 16px 52px rgba(201,169,97,.46); }

.trust-row { font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 0; }
body.intro-active .trust-row { color: var(--muted-2); }

/* marquee band — two opposite-scrolling rows of the 12 portraits */
.marquee-band { display: none; }
body.intro-active .marquee-band { display: block; margin-top: 66px; padding-top: 30px; border-top: 1px solid rgba(201,169,97,.16); }
.marquee-label { text-align: center; font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.archetype-strip { display: none; }
body.intro-active .archetype-strip {
  display: block; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.strip-track { display: flex; gap: 16px; width: max-content; animation: strip-left 60s linear infinite; }
.archetype-strip:hover .strip-track { animation-play-state: paused; }
.strip-img {
  flex: 0 0 auto; width: 132px; height: 132px; object-fit: cover;
  border-radius: 12px; border: 1px solid rgba(201,169,97,.4); box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
@keyframes strip-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none !important; } }

/* ===== UPSELL HINT (free result → full test) ===== */
.upsell-hint {
  background: var(--cream-2); border: 1px solid var(--gold); border-radius: 14px;
  padding: 30px 32px; margin: 8px 0 8px;
}
.upsell-hint .role {
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px;
}
.upsell-hint h3 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 23px; line-height: 1.15; margin: 0 0 10px;
}
.upsell-hint p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.upsell-hint .upsell-lead { margin: 0 0 16px; }
.upsell-list {
  list-style: none; margin: 0 0 22px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.upsell-list li {
  position: relative; padding-left: 26px; font-size: 16px; line-height: 1.45; color: var(--ink-soft);
}
.upsell-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold-text); font-size: 14px;
}
.upsell-hint .btn--gold { width: 100%; justify-content: center; }
.upsell-hint .btn.is-done { background: var(--cream); color: var(--gold-text); border: 1px solid var(--gold); cursor: default; opacity: 1; }
.upsell-note { font-size: 13px !important; color: var(--muted) !important; margin: 12px 0 0 !important; text-align: center; }
.upsell-secondary {
  display: block; margin: 20px auto 0; background: none; border: none; cursor: pointer;
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .08em;
  color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px;
}
.upsell-secondary:hover { opacity: .75; }

/* Discount badge — relative framing only (no CHF amount; Paddle owns the price) */
.discount-badge {
  display: inline-block; margin: 0 0 16px;
  background: var(--gold-text); color: var(--cream);
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px;
}
.paid-note { text-align: left !important; margin: 0 0 18px !important; }

/* "Report in Bearbeitung" banner above the profile — green/success so it stands
   out, with a check badge and a slide-in + brief pulse to pull attention there
   (e.g. right after the checkout modal closes and we re-render the profile). */
.report-banner {
  position: relative;
  background: rgba(63, 125, 82, .10); border: 1.5px solid rgba(63, 125, 82, .5);
  border-radius: 14px; padding: 20px 24px 20px 58px; margin: 0 0 28px;
  font-size: 15.5px; line-height: 1.5; color: #2c5a3c; font-weight: 500; text-align: left;
  animation: bannerIn .55s cubic-bezier(.2,.8,.2,1) both, bannerPulse 1.9s ease-out .5s 2;
}
.report-banner::before {
  content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: #3f7d52; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
}
@keyframes bannerIn {
  0% { opacity: 0; transform: translateY(-14px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes bannerPulse {
  0% { box-shadow: 0 0 0 0 rgba(63, 125, 82, .35); }
  70% { box-shadow: 0 0 0 12px rgba(63, 125, 82, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 125, 82, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .report-banner { animation: none; }
}

/* Delivered report, rendered inline on the result page */
.report-section {
  background: var(--cream-2); border: 1px solid var(--gold); border-radius: 14px;
  padding: 30px 32px; margin: 8px 0 26px;
}
.report-section .role {
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px;
}
.report-section h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0 0 18px; }
.report-body { font-size: 16px; line-height: 1.62; color: var(--ink-soft); }
.report-body p { margin: 0 0 14px; }
.report-body h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 19px; margin: 22px 0 8px; color: var(--ink); }
.report-body ul { margin: 0 0 14px; padding-left: 20px; }
.report-body li { margin: 0 0 6px; }

.voucher { margin-top: 14px; text-align: center; }
.voucher-link {
  background: none; border: none; cursor: pointer; font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .06em; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.voucher-link:hover { color: var(--gold-text); }
.voucher-form { display: flex; gap: 8px; margin-top: 12px; justify-content: center; }
.voucher-input {
  font-family: 'Fraunces', Georgia, serif; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #d9cdb4; border-radius: 9px; padding: 10px 14px; max-width: 200px;
}
.voucher-input:focus { outline: none; border-color: var(--gold); }
.voucher-go { padding: 10px 18px; }
.voucher-msg { font-size: 13px; margin: 12px 0 0; color: #a23b2e; }
.voucher-msg.is-ok { color: var(--gold-text); }

/* ===== CONTEXT STEP ===== */
.context { padding-top: 48px; padding-bottom: 64px; }
.ctx-kicker {
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px;
}
.ctx-title { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(26px, 5vw, 32px); line-height: 1.12; margin: 0 0 12px; }
.ctx-lead { font-size: 16px; line-height: 1.5; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.ctx-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.ctx-chip {
  font-family: 'Fraunces', Georgia, serif; font-size: 15px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid #d9cdb4; background: var(--cream); color: var(--ink-soft); cursor: pointer; transition: all .12s;
}
.ctx-chip:hover { border-color: var(--gold); }
.ctx-chip.is-on { background: var(--gold); border-color: var(--gold); color: #1a1208; }
.ctx-field { margin-bottom: 22px; }
.ctx-label {
  display: block; font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.ctx-age, .ctx-note {
  font-family: 'Fraunces', Georgia, serif; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid #d9cdb4; border-radius: 9px; padding: 11px 14px;
}
.ctx-age { width: 110px; }
.ctx-note { width: 100%; box-sizing: border-box; resize: none; line-height: 1.45; }
.ctx-age:focus, .ctx-note:focus { outline: none; border-color: var(--gold); }
.context .btn--gold { width: 100%; justify-content: center; margin-top: 6px; }
.ctx-err { font-size: 13px; color: #a23b2e; margin: 8px 0 0; }
.ctx-back {
  display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
  font-family: 'DM Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; color: var(--muted);
}
.ctx-back:hover { color: var(--gold-text); }
.ctx-foot { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0 0; }

.result-mailed {
  font-size: 13px; line-height: 1.5; color: var(--gold-text); margin: 0 0 22px;
  background: rgba(201, 169, 97, .12); border: 1px solid rgba(201, 169, 97, .35);
  border-radius: 10px; padding: 10px 14px;
}

/* ===== SOCIAL SHARE CTA ===== */
.share-cta { margin: 30px 0 8px; }
.share-hint { font-family: 'DM Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-text); margin-top: 12px; min-height: 14px; }
.share-nameform { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 420px; margin: 0 auto; }
.share-nameform .email-input { flex: 1 1 190px; }
.share-nameform .btn { border-radius: 10px; }
