/* FP-Ergebnis Interim-Seite — Rot/Navy-Editorial-Design (wie /quiz-ergebnis/-Vorlage) */

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

:root {
  --navy:      #001629;
  --navy-soft: #002b49;
  --red:       #b7102a;
  --red-deep:  #92001d;
  --red-soft:  rgba(183,16,42,0.10);
  --surface:   #f8fafc;
  --slate:     #42474d;
  --muted:     #73777e;
  --line:      rgba(0,22,41,0.09);
  --shadow-lg:   0 26px 70px rgba(0,22,41,0.14);
  --shadow-card: 0 18px 46px rgba(0,22,41,0.09);
  --shadow-red:  0 18px 36px rgba(183,16,42,0.26);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 58%, #f8f8f7 100%);
  color: var(--navy);
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
}

/* NAV */
nav {
  width: min(720px, calc(100% - 48px));
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border: 1px solid rgba(0,22,41,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 20px 56px rgba(0,22,41,0.10);
}
.logo { font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; text-decoration: none; }
.logo em { color: var(--red); font-style: normal; }

/* PAGE */
.page { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 80px; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
h1 em { color: var(--red); font-style: normal; }

.lead {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 28px;
}
.lead strong { color: var(--navy); }

/* CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  box-shadow: 0 4px 14px rgba(0,22,41,0.04);
}
.chip b { color: var(--navy); }

/* CARD */
.card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  margin-bottom: 28px;
}
.card-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card p { font-size: 15px; color: var(--slate); line-height: 1.7; margin-bottom: 8px; }

/* FORM */
.waitlist-form { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.waitlist-form input {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: var(--surface);
}
.waitlist-form input:focus { outline: 2px solid var(--red-soft); border-color: var(--red); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.fine-print { font-size: 12px; color: var(--muted); margin-top: 10px; }

.success-box {
  background: var(--red-soft);
  border: 1px solid rgba(183,16,42,0.18);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-deep);
  display: none;
}
.success-box.show { display: block; }

/* TRUST STRIP */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.trust-item { font-size: 13px; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: 8px; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* LOADING / ERROR */
.state-loading, .state-error {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
  font-size: 15px;
}
.state-error h2 { color: var(--navy); font-size: 20px; margin-bottom: 12px; }
.state-error a { color: var(--red); font-weight: 700; text-decoration: none; }

footer { text-align: center; padding: 32px 20px; font-size: 12px; color: var(--muted); }

/* ELIAS-BIO (identisch zur Live-Referenzseite /quiz-ergebnis/) */
.elias-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  margin-top: 12px;
}
.elias-img {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #c8d8e8, #b8ccd8);
  aspect-ratio: 4/5;
  max-width: 340px;
  position: relative;
}
.elias-img-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.elias-stats {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 0;
  box-shadow: 0 8px 24px rgba(0,22,41,0.12);
}
.elias-stat { text-align: center; flex: 1; }
.elias-stat + .elias-stat { border-left: 1px solid var(--line); }
.elias-stat-num { font-size: 19px; font-weight: 800; color: var(--red); letter-spacing: -0.03em; }
.elias-stat-lbl { font-size: 9px; font-weight: 700; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.elias-heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.elias-body { font-size: 14px; color: var(--slate); line-height: 1.75; margin-bottom: 14px; }
.elias-creds { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.elias-cred { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--navy); font-weight: 600; }
.elias-cred-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 6px; }

@media (max-width: 640px) {
  nav { margin: 12px auto 0; }
  .card { padding: 24px 20px; }
  .elias-wrap { grid-template-columns: 1fr; gap: 28px; }
  .elias-img { max-width: 100%; aspect-ratio: 16/9; }
}
