/* ── Reset & variables ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --blue-950: #172554;

  --red:   #ef4444;
  --gray:  #9ca3af;
  --green: #22c55e;
  --text:  #1e293b;
  --muted: #64748b;

  /* Card gradient: user-specified #E2F3FF → lighter blue-white */
  --card-bg: linear-gradient(145deg, #E2F3FF 0%, #F0F9FF 100%);
  --card-shadow: 0 4px 28px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

html {
  font-size: 16px;
  overflow-x: clip; /* verhindert horizontalen Scroll ohne fixed-Elemente zu brechen */
  max-width: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: #FFFFFF;
  color: var(--text);
  overflow-x: clip;
  max-width: 100%;
}

/* ── Screen system ──────────────────────────────────────── */
.screen {
  display: none;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.screen.active { display: flex; }

/* Landing uses block layout so sections stack & body scrolls */
#screen-landing.active {
  display: block;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background decoration (soft blue glows on white) ────── */
.bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.bg-blob-1 { width: 700px; height: 700px; top: -200px; right: -200px; background: #C8E3FF; opacity: 0.45; }
.bg-blob-2 { width: 500px; height: 500px; bottom: -150px; left: -150px; background: #D0EBFF; opacity: 0.4; }
.bg-blob-3 { width: 300px; height: 300px; top: 40%; left: 25%; background: #DCF0FF; opacity: 0.25; }

/* ── Card base ──────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 90%;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: white;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
}
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; font-size: 1.15rem; padding: 1.1rem; border-radius: 16px; }

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE SECTIONS
════════════════════════════════════════════════════════════ */

/* ── Hero section ───────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  position: relative;
}

.landing-card { text-align: center; }

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue-700);
  border-radius: 99px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.landing-icon-wrap {
  font-size: 5.5rem;
  display: block;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.15));
}

.landing-card h1 {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.landing-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.landing-sub strong {
  color: var(--blue-700);
}
.landing-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
}
.landing-trust-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-700);
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.landing-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--blue-700); }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Shared section layout ──────────────────────────────── */
.section-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.section-card-heading {
  font-size: 1.75rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
}

/* ── Benefits section ───────────────────────────────────── */
.benefits-section {
  padding: 5rem 1.5rem;
}

.benefits-outer-card {
  max-width: 900px;
  width: 90%;
  padding: 2.5rem;
  margin: 0 auto;
  /* uses main card gradient: #E2F3FF → #F0F9FF */
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Small benefit cards → white so they pop against the blue card */
.benefit-mini {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.benefit-icon {
  margin-bottom: 1rem;
  display: block;
  line-height: 0;
}
.benefit-icon svg { width: 52px; height: 52px; }

.benefit-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}
.benefit-mini p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Testimonials section ───────────────────────────────── */
.testi-section {
  padding: 5rem 1.5rem 4rem;
  background: #F0F8FF; /* subtle blue wash to differentiate from pure white body */
}

.testi-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 2.5rem;
  line-height: 1.25;
}

.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* zweite Sicherheitsebene: Track kann nicht rausragen */
}

.carousel-clip {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
  min-width: 0; /* verhindert flex-overflow */
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Testimonial cards also use the blue card gradient */
.testimonial-card {
  flex-shrink: 0;
  width: 100%;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.t-stars {
  color: #FF6201;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.t-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.t-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(37, 99, 235, 0.15);
  flex-shrink: 0;
}

.t-name {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.95rem;
}

/* Carousel arrows – blue outline on white/light background */
.c-arrow {
  background: rgba(37, 99, 235, 0.08);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  color: var(--blue-600);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
}
.c-arrow:hover {
  background: rgba(37, 99, 235, 0.16);
  transform: scale(1.06);
}

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
}
.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(37, 99, 235, 0.2);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
}
.c-dot.active {
  background: var(--blue-600);
  width: 26px;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #E8F3FF;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
}
/* Smooth gradient from testi-section (#F0F8FF) into footer (#E8F3FF) */
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #E8F3FF);
  pointer-events: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.footer-links a {
  color: var(--blue-700);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: var(--blue-900); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── Payment badges ──────────────────────────────────────── */
.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.pay-badge {
  height: 28px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.pay-visa {
  background: #1a1f71;
  color: #f0f0f0;
  font-style: italic;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 0 10px;
}
.pay-mc {
  background: white;
  border: 1px solid #ddd;
  width: 44px;
  padding: 0;
  gap: 0;
}
.mc-l { width: 18px; height: 18px; border-radius: 50%; background: #eb001b; flex-shrink: 0; }
.mc-r { width: 18px; height: 18px; border-radius: 50%; background: #f79e1b; flex-shrink: 0; margin-left: -7px; }
.pay-stripe { background: #635bff; color: white; font-size: 0.75rem; }
.pay-amex { background: #007bc1; color: white; }
.pay-apple { background: #000; color: white; font-size: 0.72rem; }
.pay-gpay { background: white; border: 1px solid #ddd; color: #5f6368; }
.pay-maestro { background: white; border: 1px solid #ddd; color: #000080; font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   READY SCREEN
════════════════════════════════════════════════════════════ */
#screen-ready { padding: 2rem 1rem; }

.ready-card { max-width: 620px; }

.ready-header { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 2rem; }
.ready-icon { display: inline-flex; align-items: center; }
.ready-icon svg { width: 48px; height: 48px; }
.ready-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.ready-list { list-style: none; margin-bottom: 2rem; }
.ready-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #FFFFFF;
  border-radius: 14px;
  border-left: 4px solid var(--blue-400);
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
}
.bullet-icon { flex-shrink: 0; display: inline-flex; align-items: center; }
.bullet-icon svg { width: 26px; height: 26px; }

.answer-preview-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}
.circles-preview {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.circle-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}
.circle-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.circle-sm.red   { background: var(--red); }
.circle-sm.gray  { background: var(--gray); }
.circle-sm.green { background: var(--green); }

/* ═══════════════════════════════════════════════════════════
   QUESTIONS SCREEN
════════════════════════════════════════════════════════════ */
#screen-questions {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 4rem;
  background: #f8fbff; /* very light blue tint for questions bg */
}

.q-header {
  width: 100%;
  padding: 1.25rem 2rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.progress-text {
  color: var(--blue-700);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.q-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.question-card {
  max-width: 680px;
  padding: 3rem 3.5rem 3.5rem;
  text-align: center;
}

.question-card.card-enter {
  animation: cardSlide 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cardSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.q-number {
  display: inline-block;
  background: #FFFFFF;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.q-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 3rem;
  min-height: 4.5rem;
}

/* ── Answer circles ─────────────────────────────────────── */
.answer-circles {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
  align-items: flex-start;
}

.circle-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.circle-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.circle-option:hover .circle-btn { transform: scale(1.12); }

.circle-btn.red   { background: var(--red); }
.circle-btn.gray  { background: var(--gray); }
.circle-btn.green { background: var(--green); }

.circle-option:hover .circle-btn.red   { box-shadow: 0 8px 28px rgba(239, 68, 68, 0.45); }
.circle-option:hover .circle-btn.gray  { box-shadow: 0 8px 28px rgba(156,163,175, 0.45); }
.circle-option:hover .circle-btn.green { box-shadow: 0 8px 28px rgba(34, 197, 94, 0.45); }

.circle-btn.selected { transform: scale(1.18) !important; }
.circle-btn.red.selected   { box-shadow: 0 0 0 6px rgba(239,68,68,0.2), 0 10px 32px rgba(239,68,68,0.5); }
.circle-btn.gray.selected  { box-shadow: 0 0 0 6px rgba(156,163,175,0.2), 0 10px 32px rgba(156,163,175,0.5); }
.circle-btn.green.selected { box-shadow: 0 0 0 6px rgba(34,197,94,0.2), 0 10px 32px rgba(34,197,94,0.5); }

.circle-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  max-width: 80px;
}

/* ═══════════════════════════════════════════════════════════
   LOADING / ANALYSIS SCREEN
════════════════════════════════════════════════════════════ */
#screen-loading { padding: 2rem 1rem; background: #f8fbff; }

.loading-card {
  max-width: 560px;
  text-align: center;
}

.loading-brain {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.loading-title {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.loading-sub {
  color: var(--muted);
  font-size: 0.97rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.loading-bar-wrap { margin-bottom: 2rem; }

.loading-track {
  width: 100%;
  height: 12px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
}

.loading-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  border-radius: 99px;
  /* transition duration injected via JS */
}

.analysis-list { list-style: none; text-align: left; }

.analysis-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.45rem;
  transition: background 0.45s ease;
}

/* Checkmark circle */
.astep-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  border: 2px solid #E5E7EB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: #F9FAFB;
  color: transparent;
  transition: background 0.45s ease, border-color 0.45s ease, color 0.45s ease;
}

/* Step text: monospace, blue-slate tone for an AI terminal feel */
.astep-text {
  font-family: 'SF Mono', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  font-size: 0.84rem;
  letter-spacing: 0.025em;
  color: #94a3b8; /* blue-slate, inactive */
  transition: color 0.45s ease;
}

.analysis-step.astep-done {
  background: rgba(37, 99, 235, 0.05);
}
.analysis-step.astep-done .astep-icon {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: white;
}
.analysis-step.astep-done .astep-text {
  color: var(--blue-700); /* active: clear blue */
}

/* Continue button appears after loading completes */
.loading-continue {
  display: none;
}
@keyframes btnAppear {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loading-continue.btn-appear {
  animation: btnAppear 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ═══════════════════════════════════════════════════════════
   RESULTS SCREEN
════════════════════════════════════════════════════════════ */
#screen-results {
  justify-content: flex-start;
  align-items: center;
  padding: 2.5rem 1rem 5rem;
  background: #f8fbff;
}

.results-wrap {
  max-width: 720px;
  width: 100%;
  z-index: 1;
}

.results-top-card {
  margin-bottom: 1.5rem;
  padding: 2rem 2.25rem;
}
.rtc-icon-wrap { margin-bottom: 1.1rem; }
.rtc-title {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}
.rtc-sub {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}
.rtc-sub strong { color: #1e293b; -webkit-text-fill-color: #1e293b; }
.rtc-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbeafe, transparent);
  margin: 1.1rem 0;
}
.rtc-note {
  font-size: 0.87rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}
.rtc-note strong { color: #1e293b; -webkit-text-fill-color: #1e293b; }

/* ── Companion Invite – erstes wirklich Persönliches oben auf der Ergebnisseite ── */
.companion-invite {
  position: relative;
  max-width: 600px;
  width: 90%;
  margin-bottom: 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1f12 0%, #0f1e35 55%, #1a0e2d 100%);
  box-shadow: 0 20px 60px rgba(10, 20, 40, 0.45), 0 0 0 1px rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 210px;
}

/* Sanfter Schimmer-Rand oben – wie Mondlicht durch Blätter */
.companion-invite::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.companion-invite-content {
  flex: 1;
  padding: 2rem 1.8rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.companion-invite-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  width: fit-content;
}

/* Pulsierender Punkt vor "live" */
.companion-invite-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: companion-pulse 2s ease-in-out infinite;
}

@keyframes companion-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.companion-invite-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.companion-invite-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  margin: 0;
}

.companion-invite-btn {
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.72rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #166534, #15803d);
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(22, 101, 52, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.companion-invite-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(22, 101, 52, 0.6);
}
.companion-invite-btn:active { transform: translateY(0); }
.vera-icon { display: block; flex-shrink: 0; }

.companion-invite-visual {
  width: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.2rem 1.5rem 0;
  position: relative;
  z-index: 1;
}

.civ-tree {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Blätter leicht auf und ab bewegen – der Baum lebt */
.civ-leaf { animation: civ-float 3.5s ease-in-out infinite; }
.civ-leaf-1 { animation-delay: 0s; }
.civ-leaf-2 { animation-delay: 0.4s; }
.civ-leaf-3 { animation-delay: 0.8s; }
.civ-leaf-4 { animation-delay: 1.2s; }
.civ-leaf-5 { animation-delay: 0.6s; }
.civ-leaf-6 { animation-delay: 1.4s; }
.civ-leaf-7 { animation-delay: 1.0s; }

@keyframes civ-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3.5px); }
}

@media (max-width: 500px) {
  .companion-invite-visual { display: none; }
  .companion-invite-content { padding: 1.6rem 1.4rem; }
  .companion-invite-title { font-size: 1.15rem; }
}

.results-list { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }

/* Result items also use card gradient */
.result-item {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.35rem 1.75rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  animation: resultIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes resultIn {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.result-rank {
  font-size: 1.4rem;
  font-weight: 800;
  min-width: 2.5rem;
  text-align: center;
  color: var(--blue-500);
}
.result-rank.gold   { font-size: 1.6rem; }
.result-rank.silver { font-size: 1.5rem; }
.result-rank.bronze { font-size: 1.45rem; }

.result-info { flex: 1; min-width: 0; }
.result-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.result-emoji { font-size: 1.1rem; }

.result-bar-container {
  width: 100%;
  height: 9px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.result-bar {
  height: 100%;
  border-radius: 99px;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
}

.result-percent {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue-600);
  min-width: 4rem;
  text-align: right;
}

/* ── Results page: alle Cards gleich breit ──────── */
.results-wrap .card {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ── Holland Career Type Card ───────────────────── */
.holland-card {
  margin-bottom: 1rem;
  padding: 1.5rem 1.75rem;
}
.holland-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.holland-badge-wrap {
  flex-shrink: 0;
}
.holland-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 16px #1d4ed820;
}
.holland-types-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.holland-type-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid;
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
}
.holland-type-letter {
  font-size: 1.1rem;
  font-weight: 800;
  width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}
.holland-type-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.holland-type-rank {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.holland-type-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary, #1e293b);
}
.holland-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary, #475569);
  margin: 0;
}

/* ── RIASEC Profile Card ─────────────────────────── */
.riasec-card {
  margin-bottom: 1rem;
  padding: 1.5rem 1.75rem;
}
.riasec-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #1e293b);
  margin: 0 0 0.2rem;
}
.riasec-sub {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  margin: 0 0 1.1rem;
}
.riasec-row {
  display: grid;
  grid-template-columns: 180px 1fr 44px;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.riasec-label-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.riasec-code {
  font-size: 0.9rem;
  font-weight: 800;
  width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}
.riasec-name {
  font-size: 0.78rem;
  color: var(--text-secondary, #475569);
  white-space: nowrap;
}
.riasec-bar-bg {
  background: #f1f5f9;
  border-radius: 99px;
  height: 9px;
  overflow: hidden;
}
.riasec-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.7s cubic-bezier(.4,0,.2,1);
}
.riasec-pct {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary, #475569);
  text-align: right;
}

/* ── Detailed Analysis Section ───────────────────── */
#analysis-section {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.analysis-card {
  padding: 1.6rem 1.75rem;
}
.analysis-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 1rem;
}
.dominant-block { margin-bottom: 0.6rem; }
.dominant-label {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.dominant-text {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.65;
  margin: 0.2rem 0 0;
}
.analysis-list-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.analysis-list-content { flex: 1; min-width: 0; }
.analysis-svg-decor {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  opacity: 0.9;
  margin-top: 0.2rem;
}
.analysis-bullet {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 0.55rem;
  padding-left: 0.75rem;
  border-left: 3px solid #dbeafe;
}
.analysis-bullet:last-child { margin-bottom: 0; }
.karriere-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
.karriere-item {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.5;
}
.karriere-item::before { content: '• '; color: #93c5fd; font-weight: 700; }
.why-fits-block {
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
}
.why-fits-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.why-fits-block p {
  font-size: 0.87rem;
  color: #475569;
  line-height: 1.65;
  margin: 0.25rem 0 0;
}
.why-fits-block strong { font-size: 0.87rem; }
.wachstum-item {
  margin-bottom: 0.85rem;
  font-size: 0.87rem;
  line-height: 1.65;
  color: #475569;
}
.wachstum-item:last-child { margin-bottom: 0; }
.wachstum-item strong { color: #1e293b; }
@media (max-width: 500px) {
  .analysis-svg-decor { display: none; }
}

.restart-btn {
  display: block;
  margin: 2rem auto 0;
  max-width: 320px;
  width: 90%;
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGES (separate HTML files in /legal/)
════════════════════════════════════════════════════════════ */
.legal-pg {
  min-height: 100vh;
  background: #f8fbff;
  padding: 3rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-back {
  align-self: flex-start;
  max-width: 860px;
  width: 90%;
  margin: 0 auto 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--blue-900); }

.legal-card {
  max-width: 860px;
  width: 90%;
  padding: 3rem 3.5rem;
}

.legal-card h1 {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(37, 99, 235, 0.12);
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-body {
  color: #374151;
  line-height: 1.85;
  font-size: 0.97rem;
}
.legal-body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-800);
  margin: 2rem 0 0.75rem;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-body li { margin-bottom: 0.5rem; }
.legal-body a { color: var(--blue-600); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.kontakt-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.kontakt-box h3 { font-size: 0.9rem; font-weight: 700; color: var(--blue-700); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.kontakt-box p { font-size: 0.92rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   SIGN-IN SCREEN
════════════════════════════════════════════════════════════ */
#screen-signin { padding: 2rem 1rem; background: #f8fbff; }

.signin-card { max-width: 440px; text-align: center; }

.signin-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.signin-title {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.signin-sub {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Google button */
.btn-google-signin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  border: 1.5px solid rgba(37, 99, 235, 0.14);
  background: white;
  color: #374151;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: all 0.18s ease;
  margin-bottom: 1.25rem;
}
.btn-google-signin:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.11);
  transform: translateY(-1px);
}

/* "oder" divider */
.signin-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}
.signin-divider::before, .signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(37, 99, 235, 0.1);
}

/* Email input */
.signin-email-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signin-email-input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}
.signin-email-input::placeholder { color: #94a3b8; }

.signin-email-error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  text-align: left;
  min-height: 1.1rem;
}

.signin-note {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.9rem;
  line-height: 1.5;
}
.password-wrap {
  position: relative;
}
.password-wrap .signin-email-input {
  width: 100%;
  padding-right: 2.8rem;
  box-sizing: border-box;
  margin-top: 0;
}
.pw-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  display: flex;
  align-items: center;
}
.pw-toggle-btn:hover { color: #1d4ed8; }
.auth-toggle-row {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 1rem;
  gap: 2px;
}
.auth-toggle-btn {
  flex: 1;
  padding: 0.45rem 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.auth-toggle-active {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* Link-sent confirmation state */
.sent-check-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}
.sent-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.sent-body  { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.5rem; }
.sent-note  { color: #94a3b8; font-size: 0.78rem; margin-bottom: 1rem; }
.btn-link-small {
  background: none;
  border: none;
  color: var(--blue-600);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.btn-link-small:hover { color: var(--blue-800); }

/* ═══════════════════════════════════════════════════════════
   PAYWALL SCREEN
════════════════════════════════════════════════════════════ */
#screen-paywall {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #f8fbff;
  padding-bottom: 3rem;
}

/* Blurred results strip at the top */
.paywall-preview-strip {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.paywall-results-blur {
  padding: 1.5rem 1.5rem 0;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  max-width: 720px;
  margin: 0 auto;
}

/* Gradient fade blending blur into white */
.paywall-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #f8fbff);
  pointer-events: none;
}

/* Lock badge centered on the preview */
.paywall-lock-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: white;
  border-radius: 99px;
  padding: 0.55rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-700);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
  white-space: nowrap;
}

/* Payment card */
.paywall-card {
  max-width: 480px;
  padding: 2.25rem;
  margin-top: -0.5rem; /* overlaps slightly with faded blur */
}

.paywall-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.paywall-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-700);
  line-height: 1;
}
.paywall-price-period {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}
.paywall-price-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}
.paywall-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

/* Benefits list */
.paywall-benefits {
  list-style: none;
  margin-bottom: 1.75rem;
}
.paywall-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.07);
}
.paywall-benefits li:last-child { border-bottom: none; }
.benefit-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Green pay button */
.btn-pay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-bottom: 1.25rem;
}
.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(22, 163, 74, 0.45);
}
.btn-pay:active { transform: translateY(0); }


/* Payment method logos row */
.paywall-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.paywall-legal {
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.55;
  text-align: center;
  margin-top: 0.75rem;
}

/* Trust row */
.paywall-trust {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Hamburger default: unsichtbar auf Desktop (muss VOR der 640px-Query stehen) */
.hamburger-btn { display: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .testi-heading { font-size: 1.5rem; }
  .c-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .legal-card { padding: 2rem 1.5rem; }
  .legal-card h1 { font-size: 1.5rem; }
}

@media (max-width: 640px) {

  /* ── Basis-Card: weniger vertikales Padding ── */
  .card { padding: 1.25rem 1.25rem; border-radius: 18px; }

  /* ── Landing-Card ── */
  .hero-section { padding: 1.5rem 1rem 2.5rem; min-height: auto; }
  .landing-icon-wrap { font-size: 3.5rem; margin-bottom: 0.25rem; }
  .landing-badge { margin-bottom: 0.75rem; }
  .landing-card h1 { font-size: 1.75rem; margin-bottom: 0.6rem; }
  .landing-sub { font-size: 0.92rem; margin-bottom: 0.75rem; }
  .landing-trust-row { gap: 0.35rem 0.9rem; margin-bottom: 1.1rem; }
  .landing-trust-item { font-size: 0.72rem; }
  .landing-stats {
    gap: 0.75rem;
    padding-top: 1rem;
    margin-bottom: 1.25rem;
  }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.7rem; }

  /* ── Testimonials ── */
  .testi-section { padding: 2rem 0.75rem 2rem; }
  .testi-heading { font-size: 1.3rem; margin-bottom: 1.25rem; }
  .testimonial-card { padding: 1.25rem 1.25rem; border-radius: 16px; }
  .t-stars { font-size: 1rem; margin-bottom: 0.75rem; }
  .t-text { font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
  .t-avatar { width: 40px; height: 40px; }
  .t-name { font-size: 0.82rem; }
  .carousel-wrapper { gap: 0.5rem; }
  .c-arrow { width: 34px; height: 34px; font-size: 1.1rem; }

  /* ── Ready-Screen ── */
  .ready-card { padding: 1.25rem 1.1rem; }
  .ready-header { margin-bottom: 1rem; }
  .ready-list { margin-bottom: 1.25rem; }
  .ready-list li {
    padding: 0.65rem 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    gap: 0.75rem;
  }
  .bullet-icon svg { width: 20px; height: 20px; }
  .answer-preview-box { display: none; }
  .circles-preview {
    justify-content: center;
    gap: 2rem;
  }
  .ready-header h2 { font-size: 1.35rem; }

  /* ── Fragen-Screen ── */
  .q-header { padding: 0.75rem 1rem 0.5rem; }
  .question-card { padding: 1.5rem 1.25rem 1.75rem; }
  .q-number { font-size: 0.72rem; margin-bottom: 0.75rem; }
  .q-text { font-size: 1.05rem; line-height: 1.55; }
  .answer-circles {
    gap: 1.5rem;
    justify-content: center;
    margin-top: 0.75rem;
  }
  .circle-btn { width: 62px; height: 62px; }
  .circle-label { font-size: 0.72rem; margin-top: 0.4rem; }

  /* ── Ergebnis-Screen ── */
  .results-wrap { padding: 0 0.5rem; }
  .rtc-title { font-size: 1.15rem; }
  .rtc-sub { font-size: 0.83rem; }
  .rtc-note { font-size: 0.8rem; }
  .results-top-card { padding: 1.25rem 1.1rem; }
  .result-item { padding: 0.85rem 1rem; }
  .result-name { font-size: 0.88rem; }
  .result-percent { font-size: 1rem; min-width: 3rem; }

  /* ── RIASEC-Profil ── */
  .riasec-card { padding: 1.1rem 1rem; }
  .riasec-row { grid-template-columns: 140px 1fr 36px; gap: 0.5rem; }
  .riasec-name { font-size: 0.7rem; white-space: normal; }

  /* ── Holland-Karte ── */
  .holland-card { padding: 1.1rem 1rem; }
  .holland-badge { width: 56px; height: 56px; font-size: 1.3rem; }
  .holland-type-pill { padding: 0.25rem 0.5rem; }
  .holland-type-name { font-size: 0.75rem; }

  /* ── Analyse-Karten ── */
  .analysis-card { padding: 1.1rem 1rem; }
  .analysis-heading { font-size: 1rem; margin-bottom: 0.75rem; }
  .analysis-svg-decor { display: none; }
  .riasec-row { gap: 0.4rem; }

  /* ── Benefits / Footer ── */
  .benefits-outer-card { padding: 1.25rem 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .payment-badges { justify-content: flex-start; }

  /* ── Topnav: Kontakt auf Mobile ausblenden ── */
  .topnav-contact-btn { display: none; }
}

/* ════════════════════════════════════════════════════════════
   TOP NAVIGATION BAR
════════════════════════════════════════════════════════════ */
body { padding-top: 56px; }

/* ── Hamburger-Button (nur Mobile) ───────────────────────── */
.hamburger-btn {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}
.hamburger-btn:hover { background: rgba(37,99,235,0.08); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1d4ed8;
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), opacity 0.2s;
}
.hamburger-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer Overlay ───────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ── Drawer Panel ─────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(300px, 85vw);
  background: #ffffff;
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
.drawer.open { transform: translateX(0); }

body.drawer-open { overflow-y: hidden; }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.drawer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.drawer-brand-accent {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.drawer-close-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  transition: background 0.2s;
}
.drawer-close-btn:hover { background: #f1f5f9; color: #1e293b; }

/* ── Drawer Auth Sections ─────────────────────────────────── */
.drawer-auth-guest { padding: 1.25rem; }
.drawer-signin-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.drawer-signin-btn:hover { opacity: 0.9; }

.drawer-auth-user { padding: 1rem 1.25rem; }
.drawer-user-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin-bottom: 0.5rem;
}
.drawer-user-email {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  word-break: break-all;
}
.drawer-pro-badge-mobile {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ── Drawer Nav Items ─────────────────────────────────────── */
.drawer-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.18s;
  margin: 0.1rem 0;
}
.drawer-nav-item:hover { background: #f1f5f9; }
.drawer-auth-user .drawer-nav-item { margin: 0.1rem 0; }
.drawer-logout-btn { color: #ef4444; }
.drawer-logout-btn:hover { background: #fef2f2; }

.drawer-sep {
  height: 1px;
  background: #f1f5f9;
  margin: 0.5rem 1.25rem;
}

/* ── Drawer Language Section ──────────────────────────────── */
.drawer-lang-section { padding: 0.75rem 1.25rem; }
.drawer-lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.drawer-lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.drawer-lang-grid button {
  padding: 0.4rem 0.2rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.drawer-lang-grid button:hover { background: #dbeafe; border-color: #93c5fd; }

.drawer-logout-wrap { padding-bottom: 1rem; }

.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 100;
}

.topnav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}
.logo-accent {
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topnav-contact-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s;
  white-space: nowrap;
}
.topnav-contact-btn:hover { background: #f3f4f6; }

.topnav-register-btn {
  background: transparent;
  color: #1d4ed8;
  border: 1.5px solid #1d4ed8;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.topnav-register-btn:hover { background: #eff6ff; }
.topnav-signin-btn {
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.topnav-signin-btn:hover { background: #1e40af; }
.drawer-signin-btn-secondary {
  background: transparent;
  color: #1d4ed8;
  border: 1.5px solid #1d4ed8;
  margin-top: 0.5rem;
}

/* Hide Google Translate UI – CSS-Basis, JS übernimmt den Rest */
#google_translate_element,
.goog-te-banner-frame,
[class*="goog-te"],
[id^="goog-"],
.goog-logo-link { display: none !important; }
body { top: 0 !important; margin-top: 0 !important; }

/* Custom language selector */
.lang-selector-wrap { position: relative; }

.lang-selector-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.lang-selector-btn:hover { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  overflow: hidden;
  display: none;
  z-index: 200;
  min-width: 155px;
}
.lang-dropdown.open { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.62rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.1s;
}
.lang-option:hover { background: #f3f4f6; }
.lang-flag { font-size: 1rem; flex-shrink: 0; }

/* Profile avatar */
.topnav-profile-wrap { position: relative; }

.profile-avatar-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.profile-avatar-btn:hover { border-color: #1d4ed8; background: #eff6ff; color: #1d4ed8; }
.profile-avatar-btn { position: relative; }

.pro-badge {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 2px 3px;
  border-radius: 4px;
  line-height: 1;
  pointer-events: none;
}
.pro-badge.visible { display: block; }

/* Profile dropdown */
.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 215px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  overflow: hidden;
  display: none;
  z-index: 200;
}
.profile-dropdown-menu.open { display: block; }

.pdm-email {
  padding: 0.85rem 1rem 0.65rem;
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.4;
}
.pdm-divider { height: 1px; background: #f3f4f6; }
.pdm-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.72rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.12s;
}
.pdm-item:hover { background: #f9fafb; }
.pdm-item-logout { color: #ef4444; }
.pdm-item-logout:hover { background: #fef2f2; }

/* ════════════════════════════════════════════════════════════
   MODALS (Contact + Cancel)
════════════════════════════════════════════════════════════ */

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: #1e293b;
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: #e5e7eb; }
.modal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modal-card h3 { font-size: 1.2rem; font-weight: 700; color: #111827; margin: 0 0 0.5rem; }
.modal-card p { font-size: 0.88rem; color: #6b7280; margin: 0 0 1rem; line-height: 1.55; }
.modal-email-link {
  display: inline-block;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
  transition: opacity 0.15s;
}
.modal-email-link:hover { opacity: 0.9; }
.modal-response-time { font-size: 0.78rem; color: #9ca3af; margin: 0; }

/* Cancel confirmation modal */
.cancel-modal-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.cancel-modal-icon { font-size: 2.5rem; text-align: center; margin-bottom: 0.6rem; }
.cancel-modal-title { font-size: 1.15rem; font-weight: 700; color: #111827; text-align: center; margin-bottom: 0.35rem; }
.cancel-modal-sub { font-size: 0.85rem; color: #6b7280; text-align: center; margin-bottom: 1.2rem; }
.cancel-loss-list {
  list-style: none; margin: 0 0 1.4rem; padding: 1rem;
  background: #fef2f2; border-radius: 12px;
}
.cancel-loss-list li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.32rem 0; font-size: 0.875rem; color: #374151;
}
.cancel-loss-icon { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.cancel-modal-btns { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-keep-sub {
  width: 100%; padding: 0.8rem;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: white; border: none; border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s;
}
.btn-keep-sub:hover { opacity: 0.9; }
.btn-confirm-cancel {
  width: 100%; padding: 0.8rem;
  background: white; color: #ef4444;
  border: 1.5px solid #ef4444; border-radius: 10px;
  font-family: inherit; font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.btn-confirm-cancel:hover { background: #fef2f2; }
.btn-confirm-cancel:disabled { opacity: 0.5; cursor: not-allowed; }

/* ════════════════════════════════════════════════════════════
   SUBSCRIPTION MANAGEMENT SCREEN
════════════════════════════════════════════════════════════ */
#screen-subscription { padding: 1.5rem 1rem 3rem; }

.subscription-wrap { max-width: 440px; margin: 0 auto; }

.sub-login-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sub-login-icon { margin-bottom: 1rem; }
.sub-login-title {
  font-size: 1.2rem; font-weight: 700; color: #111827; margin-bottom: 0.4rem;
}
.sub-login-sub {
  font-size: 0.875rem; color: #6b7280; margin-bottom: 1.25rem; line-height: 1.5;
}
.sub-login-card .signin-email-input { width: 100%; }
.sub-login-error {
  font-size: 0.8rem; color: #ef4444; min-height: 1.2em;
  text-align: left; width: 100%; margin-top: 0.3rem;
}
.sub-login-card .btn { width: 100%; }

.sub-back-btn {
  display: flex; align-items: center; gap: 0.4rem;
  background: none; border: none; font-family: inherit;
  font-size: 0.875rem; font-weight: 500; color: #6b7280;
  cursor: pointer; padding: 0.4rem 0; margin-bottom: 1.25rem;
  transition: color 0.15s;
}
.sub-back-btn:hover { color: #374151; }

.sub-plan-card {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%);
  border-radius: 18px; padding: 1.5rem; color: white;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 28px rgba(29,78,216,0.35);
}
.sub-plan-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: rgba(255,255,255,0.18); border-radius: 20px;
  padding: 0.22rem 0.7rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.sub-plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.sub-plan-price { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.5rem; }
.sub-plan-price span { font-size: 1rem; font-weight: 400; opacity: 0.8; }
.sub-status-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; opacity: 0.9; }
.sub-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }

.sub-benefits-card {
  background: white; border-radius: 16px; padding: 1.25rem 1.4rem;
  margin-bottom: 1.25rem; border: 1px solid #f3f4f6;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.sub-benefits-title {
  font-size: 0.75rem; font-weight: 700; color: #9ca3af;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.9rem;
}
.sub-benefits-list { list-style: none; margin: 0; padding: 0; }
.sub-benefits-list li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.48rem 0; border-bottom: 1px solid #f9fafb;
  font-size: 0.88rem; color: #374151;
}
.sub-benefits-list li:last-child { border-bottom: none; }
.sub-benefit-icon { color: #22c55e; font-weight: 700; flex-shrink: 0; font-size: 0.9rem; }

.sub-subscribe-section {
  background: white; border-radius: 16px; padding: 1.4rem;
  border: 1px solid #e0e7ff; box-shadow: 0 2px 12px rgba(29,78,216,0.07);
  margin-bottom: 1.25rem;
}
.sub-subscribe-header { margin-bottom: 1rem; }
.sub-subscribe-title {
  font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem;
}
.sub-subscribe-price {
  font-size: 1.25rem; font-weight: 800; color: #1d4ed8;
}
.sub-subscribe-price span {
  font-size: 0.8rem; font-weight: 400; color: #6b7280;
}
.sub-subscribe-list {
  list-style: none; margin: 0 0 1.2rem; padding: 0;
}
.sub-subscribe-list li {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.28rem 0; font-size: 0.875rem; color: #374151;
}

.sub-cancel-section {
  background: white; border-radius: 16px; padding: 1.25rem 1.4rem;
  border: 1px solid #fee2e2; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sub-cancel-title { font-size: 0.95rem; font-weight: 600; color: #374151; margin-bottom: 0.2rem; }
.sub-cancel-sub { font-size: 0.8rem; color: #9ca3af; margin-bottom: 1rem; }
.btn-cancel-sub {
  width: 100%; padding: 0.72rem;
  border: 1.5px solid #ef4444; background: white; color: #ef4444;
  border-radius: 10px; font-family: inherit; font-size: 0.875rem;
  font-weight: 600; cursor: pointer; transition: background 0.15s;
}
.btn-cancel-sub:hover { background: #fef2f2; }
}

/* ════════════════════════════════════════════════════
   AI CHAT SIDEBAR – Claude-Integration
════════════════════════════════════════════════════ */
.ai-chat-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.ai-chat-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37, 99, 235, 0.42); }
.ai-chat-fab.active { display: none; }

/* ── KI-Begleiter: Vollbild-Raum, zweigeteilt ──────────────────
   Bewusst kein Standard-Chat-Overlay: ein gemeinsamer, ruhiger Raum,
   in dem links gesprochen wird und rechts sichtbar etwas wächst. Warmes,
   papierartiges Licht statt nüchternem Weiß/Blau – das soll sich anfühlen
   wie ein persönliches Gespräch an einem vertrauten Ort, nicht wie eine
   austauschbare Chat-Oberfläche. */
.ai-companion {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  background: linear-gradient(120deg, #fbf8f2 0%, #f4f1ea 48%, #eef2ec 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.ai-companion.open {
  opacity: 1;
  visibility: visible;
}

.ai-companion-pane {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-companion-chat {
  background: rgba(255, 255, 255, 0.55);
}
.ai-companion-graph {
  background: #0A0F14;
  border-left: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}
.mobile-scroll-hint {
  display: none;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: transparent;
  color: var(--text);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.ai-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ai-chat-newchat-btn,
.ai-chat-archive-btn {
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  color: white;
}
.ai-chat-newchat-btn:hover,
.ai-chat-archive-btn:hover { background: rgba(255,255,255,0.3); }

/* Im neuen Begleiter-Raum ist der Header hell statt blau – Aktionsknöpfe brauchen dunkle Töne */
.ai-companion-chat .ai-chat-header { color: var(--text); }
.ai-companion-chat .ai-chat-newchat-btn,
.ai-companion-chat .ai-chat-archive-btn,
.ai-companion-chat .ai-chat-close {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}
.ai-companion-chat .ai-chat-newchat-btn:hover,
.ai-companion-chat .ai-chat-archive-btn:hover,
.ai-companion-chat .ai-chat-close:hover {
  background: rgba(15, 23, 42, 0.12);
}
.ai-companion-chat .ai-chat-header-icon { color: var(--blue-600); }

.ai-chat-header-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.ai-chat-header-icon { display: flex; align-items: center; flex-shrink: 0; }
.ai-chat-close {
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-chat-close:hover { background: rgba(255,255,255,0.3); }

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: transparent;
}
.ai-chat-msg {
  max-width: 86%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.ai-chat-msg-assistant {
  align-self: flex-start;
  background: white;
  color: var(--text);
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
}

/* Drei wandernde Punkte, solange die Antwort noch generiert wird – macht
   sichtbar, dass die KI aktiv arbeitet (statt dass es wie ein Hänger wirkt) */
.ai-chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.15rem 0;
}
.ai-chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: ai-chat-typing-wave 1.1s ease-in-out infinite;
}
.ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ai-chat-typing-wave {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 0.9; }
}
.ai-chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  border-bottom-right-radius: 4px;
}
.ai-chat-msg-error {
  align-self: flex-start;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-bottom-left-radius: 4px;
}

.ai-chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.5);
}
.ai-chat-input {
  flex: 1;
  resize: none;
  max-height: 120px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.ai-chat-input:focus { border-color: var(--blue-400); }
.ai-chat-send {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.ai-chat-send:hover { opacity: 0.88; }
.ai-chat-send:disabled { opacity: 0.5; cursor: default; }

/* Schmale Bildschirme: Chat nimmt vollen Viewport ein, Selbstbild scrollt darunter */
@media (max-width: 900px) {
  .ai-companion {
    flex-direction: column;
    overflow: hidden;
  }
  .ai-companion-chat {
    flex: 0 0 calc(100dvh - 3rem);
    min-height: calc(100dvh - 3rem);
    height: calc(100dvh - 3rem);
    overflow: hidden;
    position: sticky;
    top: 0;
  }
  .ai-companion-graph {
    flex: 0 0 auto;
    min-height: 80vh;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: visible;
  }
  .mobile-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    flex-shrink: 0;
    color: rgba(255,255,255,0.5);
    perspective: 120px;
  }
  .mobile-scroll-hint svg {
    will-change: transform;
  }
}

@media (max-width: 640px) {
  .ai-chat-fab-label { display: none; }
  .ai-chat-fab { padding: 0.85rem; }
}

/* RIASEC-Mini-Chart innerhalb einer Chat-Antwort */
.ai-chat-riasec-chart {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.6rem 0;
  padding: 0.8rem 0.9rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.ai-chat-riasec-row {
  display: grid;
  grid-template-columns: 1.1rem 6.4rem 1fr 2.4rem;
  align-items: center;
  gap: 0.5rem;
}
.ai-chat-riasec-code {
  font-weight: 700;
  font-size: 0.8rem;
  forced-color-adjust: none;
}
.ai-chat-riasec-name {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-chat-riasec-bar-bg {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}
.ai-chat-riasec-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s ease;
  forced-color-adjust: none;
}
/* Farben als feste Klassen statt Inline-Styles – manche Browser-Erweiterungen
   (Ad-/Tracking-Blocker, Dark-Mode-Tools) entfernen gezielt inline gesetzte
   background-Werte auf <div>-Elementen, Klassen aus dem Stylesheet bleiben davon unberührt. */
.ai-chat-riasec-fill-R { background: #ef4444; }
.ai-chat-riasec-fill-I { background: #3b82f6; }
.ai-chat-riasec-fill-A { background: #a855f7; }
.ai-chat-riasec-fill-S { background: #22c55e; }
.ai-chat-riasec-fill-E { background: #f59e0b; }
.ai-chat-riasec-fill-C { background: #64748b; }
.ai-chat-riasec-pct {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

/* ════════════════════════════════════════════════════
   SELBSTBILD – Vera Fluss
════════════════════════════════════════════════════ */
.vera-view-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
#sk-tooltip {
  position: absolute;
  display: none;
  background: rgba(8,13,22,0.93);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  pointer-events: none;
  z-index: 20;
  max-width: 210px;
  backdrop-filter: blur(10px);
}
.sk-tt-role {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148,163,184,0.65);
  margin-bottom: 0.18rem;
}
.sk-tt-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.18rem;
}
.sk-tt-ev {
  font-size: 0.75rem;
  color: rgba(148,163,184,0.82);
  line-height: 1.4;
}

.vera-flow-header {
  padding: 0.9rem 1.2rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.vera-flow-header-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.vera-flow-title {
  font-weight: 700;
  font-size: 1rem;
  color: #f1f5f9;
}
.vera-flow-sub {
  font-size: 0.76rem;
  color: rgba(148,163,184,0.65);
}
.vera-flow-container {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #060b12;
}
.vera-flow-container.vera-flow-listening::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(167,139,250,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: vf-pulse 2.5s ease-in-out infinite;
}
@keyframes vf-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}
.vera-flow-legend {
  display: flex;
  gap: 1rem;
  padding: 0.55rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.vera-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.71rem;
  color: rgba(148,163,184,0.6);
}
.vera-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vera-graph-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8;
  padding: 0.9rem 1.2rem 1rem;
  background: rgba(6,11,18,0.96);
  border-top: 1px solid rgba(255,255,255,0.10);
  max-height: 240px;
  overflow-y: hidden;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vera-graph-detail.vera-detail-open {
  transform: translateY(0);
  pointer-events: auto;
}
.vera-detail-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}
.vera-detail-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.vera-detail-evidence {
  font-size: 0.83rem;
  color: rgba(203,213,225,0.75);
  font-style: italic;
  line-height: 1.55;
  border-left: 3px solid rgba(148,163,184,0.2);
  padding-left: 0.7rem;
  margin: 0 0 0.75rem;
  overflow-wrap: break-word;
}
.vera-detail-conflict {
  font-size: 0.81rem;
  color: #fcd34d;
  background: rgba(245,158,11,0.1);
  border-radius: 9px;
  padding: 0.45rem 0.7rem;
  margin-bottom: 0.75rem;
}
.vera-detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vera-detail-deepdive {
  display: inline-flex;
  align-items: center;
  border: none;
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.18s;
  font-family: inherit;
}
.vera-detail-deepdive:hover { background: rgba(99,102,241,0.28); }
.vera-detail-close {
  display: inline-flex;
  align-items: center;
  border: none;
  background: rgba(148,163,184,0.08);
  color: rgba(148,163,184,0.6);
  font-size: 0.82rem;
  padding: 0.42rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: inherit;
}
.vera-detail-close:hover { background: rgba(148,163,184,0.18); }
@media (max-width: 480px) {
  .vera-flow-legend { gap: 0.65rem; }
  .vera-graph-detail { max-height: 180px; }
}
/* ════════════════════════════════════════════════════
   KI-CHAT – Archiv früherer Gespräche
════════════════════════════════════════════════════ */
.ai-chat-archive-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(15, 23, 42, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ai-chat-archive-overlay.open { display: flex; }

.ai-chat-archive-modal {
  background: white;
  border-radius: 22px;
  width: min(480px, 100%);
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
}

.ai-chat-archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-500));
  color: white;
}
.ai-chat-archive-title { display: flex; align-items: center; gap: 0.7rem; }
.ai-chat-archive-icon { font-size: 1.5rem; }
.ai-chat-archive-title-text { font-weight: 700; font-size: 1.05rem; }
.ai-chat-archive-sub { font-size: 0.78rem; opacity: 0.85; }

.ai-chat-archive-list {
  overflow-y: auto;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ai-chat-archive-empty {
  margin: 1.4rem 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.ai-chat-archive-item {
  display: block;
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font: inherit;
  color: inherit;
}
.ai-chat-archive-item:hover { background: #eef2f7; border-color: #cbd5e1; }
.ai-chat-archive-item-date {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.ai-chat-archive-item-preview {
  font-size: 0.84rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .ai-chat-archive-modal { border-radius: 16px; }
}
