/* ══════════════════════════════════════════════════════
   LEGACY PROGRAMM — legacy-programm.html
   ══════════════════════════════════════════════════════ */

/* ── Legacy Design Tokens ───────────────────────────── */
:root {
  --legacy-gold:        #c9a96e;
  --legacy-gold-light:  #ead9b8;
  --legacy-gold-muted:  rgba(201, 169, 110, 0.14);
  --legacy-dark:        #080f0d;
  --legacy-mid:         #0d1e19;
  --legacy-surface:     rgba(255, 255, 255, 0.04);
  --legacy-border-gold: rgba(201, 169, 110, 0.22);
  --legacy-border-dim:  rgba(255, 255, 255, 0.08);
}

/* ─────────────────────────────────────────────────────
   SCROLL ANIMATION BASE
───────────────────────────────────────────────────── */
.leg-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.leg-animate.visible { opacity: 1; transform: translateY(0); }

.leg-animate-delay-1 { transition-delay: 0.10s; }
.leg-animate-delay-2 { transition-delay: 0.20s; }
.leg-animate-delay-3 { transition-delay: 0.30s; }
.leg-animate-delay-4 { transition-delay: 0.40s; }
.leg-animate-delay-5 { transition-delay: 0.50s; }

@keyframes legFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes legFadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes legStepIn {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes legStepOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-22px); }
}

/* ─────────────────────────────────────────────────────
   SHARED SECTION LABEL
───────────────────────────────────────────────────── */
.leg-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.leg-label-line {
  width: 28px;
  height: 1.5px;
  background: var(--legacy-gold);
  border-radius: 999px;
}
.leg-label span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--legacy-gold);
}

/* ─────────────────────────────────────────────────────
   SHARED BUTTONS
───────────────────────────────────────────────────── */
.btn-leg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 38px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.93rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.btn-leg:hover { transform: translateY(-3px); }

.btn-leg-gold {
  background: linear-gradient(135deg, var(--legacy-gold), #e5c384);
  color: #0d1e19;
  box-shadow: 0 14px 36px rgba(201, 169, 110, 0.35);
}
.btn-leg-gold:hover { box-shadow: 0 20px 48px rgba(201, 169, 110, 0.52); }

.btn-leg-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.72);
}
.btn-leg-ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

/* ─────────────────────────────────────────────────────
   1. HERO
───────────────────────────────────────────────────── */
.leg-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(201, 169, 110, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(47, 112, 105, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 50% 50%, rgba(15, 79, 68, 0.35) 0%, transparent 72%),
    var(--legacy-dark);
  padding: 130px 24px 110px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Subtle texture grid */
.leg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.leg-hero-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left copy */
.leg-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: legFadeUp 0.8s 0.15s forwards;
}
.leg-hero-eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--legacy-gold);
  opacity: 0.6;
}
.leg-hero-eyebrow span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--legacy-gold);
}

.leg-hero-heading {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.97;
  color: #fff;
  margin: 0 0 10px;
  opacity: 0;
  animation: legFadeUp 0.9s 0.3s forwards;
}

.leg-hero-heading-sub {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--legacy-gold);
  font-size: 0.88em;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-top: 6px;
}

.leg-hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.58);
  max-width: 540px;
  margin: 32px 0 48px;
  opacity: 0;
  animation: legFadeUp 0.9s 0.46s forwards;
}

.leg-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: legFadeUp 0.9s 0.6s forwards;
}

/* Right stat column */
.leg-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: legFadeRight 1s 0.7s forwards;
}

.leg-stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.3s;
}
.leg-stat-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(201, 169, 110, 0.28);
  transform: translateX(-5px);
}

.leg-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--legacy-gold-muted);
  border: 1px solid var(--legacy-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--legacy-gold);
  flex-shrink: 0;
}

.leg-stat-info strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.leg-stat-info span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 5px;
}

/* ─────────────────────────────────────────────────────
   2. EIGENTEST / MULTI-STEP FORM
───────────────────────────────────────────────────── */
.leg-test-section {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(47, 112, 105, 0.05) 0%, transparent 60%),
    var(--sand-100);
  padding: 110px 24px 120px;
}

.leg-test-inner {
  width: min(100%, 780px);
  margin: 0 auto;
}

.leg-test-intro {
  margin-bottom: 56px;
}

.leg-test-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.07;
  color: var(--ink-900);
  margin: 16px 0 18px;
}
.leg-test-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05em;
}

.leg-test-desc {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink-700);
  max-width: 580px;
  margin: 0;
}

/* Form card */
.leg-test-form {
  background: #fff;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 42, 31, 0.08);
}

.leg-test-progress {
  padding: 22px 36px;
  background: var(--sand-100);
  border-bottom: 1px solid var(--sand-200);
  display: flex;
  align-items: center;
  gap: 20px;
}
.leg-test-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--sand-300);
  border-radius: 999px;
  overflow: hidden;
}
.leg-test-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-700), var(--legacy-gold));
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 20%;
}
.leg-test-progress-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.leg-test-body {
  padding: 48px 40px 52px;
  min-height: 360px;
}

.leg-test-step {
  display: none;
}
.leg-test-step.active {
  display: block;
  animation: legStepIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.leg-test-step.exiting {
  display: block;
  animation: legStepOut 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.leg-test-question {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  line-height: 1.28;
  margin: 0 0 8px;
}
.leg-test-hint {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 30px;
}

.leg-test-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leg-test-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #fff;
  transition: border-color 0.16s, background 0.16s, transform 0.2s;
  user-select: none;
}
.leg-test-option:hover {
  border-color: var(--green-700);
  background: rgba(47, 112, 105, 0.03);
  transform: translateX(4px);
}
.leg-test-option.selected {
  border-color: var(--green-700);
  background: rgba(47, 112, 105, 0.055);
}

.leg-test-radio {
  width: 22px;
  height: 22px;
  border: 2px solid var(--sand-300);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.16s;
}
.leg-test-option.selected .leg-test-radio {
  border-color: var(--green-700);
}
.leg-test-option.selected .leg-test-radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--green-700);
}

.leg-test-option-label {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.3;
}

.leg-test-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.leg-test-back-btn {
  background: none;
  border: 1.5px solid var(--sand-300);
  border-radius: 999px;
  padding: 0 26px;
  min-height: 50px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-700);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: border-color 0.15s, color 0.15s;
}
.leg-test-back-btn:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}
.leg-test-back-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.leg-test-next-btn {
  flex: 1;
  max-width: 300px;
  min-height: 54px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700), #4f8f96);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(47, 112, 105, 0.28);
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
}
.leg-test-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(47, 112, 105, 0.4);
}
.leg-test-next-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Result screen */
.leg-test-result {
  display: none;
  text-align: center;
  padding: 8px 0 12px;
  animation: legFadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.leg-test-result.active { display: block; }

.leg-test-result-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), #4f8f96);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
}
.leg-test-result h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.leg-test-result p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-700);
  max-width: 480px;
  margin: 0 auto 32px;
}
.leg-test-result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700), #4f8f96);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(47, 112, 105, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.leg-test-result-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(47, 112, 105, 0.42);
}

.leg-test-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-md);
  text-align: left;
}
.leg-test-disclaimer-icon { color: var(--ink-700); flex-shrink: 0; margin-top: 2px; }
.leg-test-disclaimer p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

/* ─────────────────────────────────────────────────────
   3. LEGACY KONZEPT
───────────────────────────────────────────────────── */
.leg-concept-section {
  padding: 120px 24px 100px;
  background: #fff;
}
.leg-concept-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: center;
}

.leg-concept-heading {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink-900);
  margin: 16px 0 24px;
}
.leg-concept-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05em;
}

.leg-concept-lead {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--ink-700);
  margin: 0 0 16px;
}

.leg-concept-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.leg-concept-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.leg-concept-pillar:hover {
  border-color: var(--green-700);
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(47,112,105,0.07);
}
.leg-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--green-700), #4f8f96);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.leg-pillar-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-900);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.leg-pillar-text span {
  font-size: 0.86rem;
  color: var(--ink-700);
  line-height: 1.5;
}

/* Right visual */
.leg-concept-visual {
  position: relative;
}
.leg-concept-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-700) 55%, #4f8f96 100%);
}
.leg-concept-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leg-concept-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 36px 36px;
  background: linear-gradient(0deg, rgba(8, 15, 13, 0.92) 0%, rgba(8, 15, 13, 0) 100%);
}
.leg-concept-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.42;
  margin: 0 0 10px;
}
.leg-concept-quote-attr {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--legacy-gold);
}

.leg-concept-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--legacy-gold), #e5c384);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.42);
}
.leg-concept-badge strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--green-900);
  line-height: 1;
}
.leg-concept-badge span {
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-800);
  margin-top: 5px;
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────
   4. 3 PHASEN
───────────────────────────────────────────────────── */
.leg-phases-section {
  position: relative;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(201, 169, 110, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse at 12% 88%, rgba(47, 112, 105, 0.14) 0%, transparent 56%),
    var(--legacy-dark);
  padding: 120px 24px;
  overflow: hidden;
}
/* Subtle texture */
.leg-phases-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.leg-phases-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.leg-phases-head {
  text-align: center;
  margin-bottom: 80px;
}
.leg-phases-head .leg-label { justify-content: center; }

.leg-phases-heading {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: #fff;
  margin: 16px 0 20px;
}
.leg-phases-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--legacy-gold);
  font-size: 1.1em;
}
.leg-phases-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.52);
  max-width: 520px;
  margin: 0 auto;
}

.leg-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
/* Horizontal connector */
.leg-phases-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 11px);
  right: calc(16.67% + 11px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,110,0.28) 20%,
    rgba(201,169,110,0.28) 80%, transparent 100%);
  z-index: 0;
}

.leg-phase-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: 40px 34px 44px;
  position: relative;
  z-index: 1;
  transition: border-color 0.28s, background 0.28s, transform 0.28s, box-shadow 0.28s;
}
.leg-phase-card:hover {
  border-color: var(--legacy-border-gold);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
/* Middle card featured */
.leg-phase-card:nth-child(2) {
  border-color: var(--legacy-border-gold);
  background: rgba(201, 169, 110, 0.045);
}

.leg-phase-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.leg-phase-card:nth-child(1) .leg-phase-number {
  background: rgba(93,144,152,0.14);
  border: 1px solid rgba(93,144,152,0.3);
  color: #8bbcc4;
}
.leg-phase-card:nth-child(2) .leg-phase-number {
  background: var(--legacy-gold-muted);
  border: 1px solid var(--legacy-border-gold);
  color: var(--legacy-gold);
}
.leg-phase-card:nth-child(3) .leg-phase-number {
  background: rgba(47,112,105,0.18);
  border: 1px solid rgba(47,112,105,0.38);
  color: #6ab3ab;
}

.leg-phase-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.leg-phase-card:nth-child(1) .leg-phase-eyebrow { color: #8bbcc4; }
.leg-phase-card:nth-child(2) .leg-phase-eyebrow { color: var(--legacy-gold); }
.leg-phase-card:nth-child(3) .leg-phase-eyebrow { color: #6ab3ab; }

.leg-phase-title {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}
.leg-phase-desc {
  font-size: 0.9rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.56);
  margin: 0 0 28px;
}

.leg-phase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leg-phase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.4;
}
.leg-phase-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.leg-phase-card:nth-child(1) .leg-phase-check {
  background: rgba(93,144,152,0.12);
  border: 1px solid rgba(93,144,152,0.28);
}
.leg-phase-card:nth-child(2) .leg-phase-check {
  background: var(--legacy-gold-muted);
  border: 1px solid var(--legacy-border-gold);
}
.leg-phase-card:nth-child(3) .leg-phase-check {
  background: rgba(47,112,105,0.15);
  border: 1px solid rgba(47,112,105,0.32);
}
.leg-phase-check::after {
  content: '';
  display: block;
  width: 8px;
  height: 5px;
  border-bottom: 1.5px solid;
  border-left: 1.5px solid;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.leg-phase-card:nth-child(1) .leg-phase-check::after { border-color: #8bbcc4; }
.leg-phase-card:nth-child(2) .leg-phase-check::after { border-color: var(--legacy-gold); }
.leg-phase-card:nth-child(3) .leg-phase-check::after { border-color: #6ab3ab; }

/* ─────────────────────────────────────────────────────
   5. INDIVIDUELLE BETREUUNG
───────────────────────────────────────────────────── */
.leg-care-section {
  padding: 120px 24px;
  background: #fff;
}
.leg-care-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.leg-care-head {
  max-width: 580px;
  margin-bottom: 72px;
}
.leg-care-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.07;
  color: var(--ink-900);
  margin: 16px 0 24px;
}
.leg-care-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05em;
}
.leg-care-sub {
  font-size: 1.03rem;
  line-height: 1.78;
  color: var(--ink-700);
  margin: 0;
}

.leg-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.leg-care-card {
  padding: 34px 30px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--sand-200);
  background: var(--sand-100);
  transition: border-color 0.22s, transform 0.25s, box-shadow 0.25s;
}
.leg-care-card:hover {
  border-color: var(--green-700);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(47, 112, 105, 0.1);
}
.leg-care-card--dark {
  background: var(--green-900);
  border-color: rgba(201,169,110,0.18);
}
.leg-care-card--dark:hover {
  border-color: rgba(201,169,110,0.38);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.leg-care-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.leg-care-card .leg-care-icon {
  background: rgba(47, 112, 105, 0.1);
  color: var(--green-700);
}
.leg-care-card--dark .leg-care-icon {
  background: var(--legacy-gold-muted);
  color: var(--legacy-gold);
}

.leg-care-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.leg-care-card--dark h3 { color: #fff; }

.leg-care-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--ink-700);
  margin: 0;
}
.leg-care-card--dark p { color: rgba(255, 255, 255, 0.56); }

/* Wide card spanning full row */
.leg-care-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 40px 44px;
  background: var(--sand-100);
  border-color: var(--sand-200);
}
.leg-care-card--wide .leg-care-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-700), #4f8f96);
  color: #fff;
}
.leg-care-wide-body h3 { font-size: 1.2rem; }

/* ─────────────────────────────────────────────────────
   6. MONATLICHE GADGETS
───────────────────────────────────────────────────── */
.leg-gadgets-section {
  position: relative;
  background:
    radial-gradient(ellipse at 18% 50%, rgba(201, 169, 110, 0.09) 0%, transparent 55%),
    var(--sand-100);
  padding: 120px 24px;
}
.leg-gadgets-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}
.leg-gadgets-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 72px;
}
.leg-gadgets-head .leg-label { justify-content: center; }

.leg-gadgets-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.07;
  color: var(--ink-900);
  margin: 16px 0 20px;
}
.leg-gadgets-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05em;
}
.leg-gadgets-sub {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink-700);
  margin: 0;
}

.leg-gadgets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.leg-gadget-card {
  background: #fff;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 32px 22px 28px;
  text-align: center;
  transition: border-color 0.22s, transform 0.25s, box-shadow 0.25s;
}
.leg-gadget-card:hover {
  border-color: rgba(201, 169, 110, 0.42);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}
.leg-gadget-emoji {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.1), rgba(201,169,110,0.04));
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.9rem;
}
.leg-gadget-month {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--legacy-gold);
  margin: 0 0 8px;
}
.leg-gadget-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.leg-gadget-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

.leg-gadgets-note {
  max-width: 560px;
  margin: 36px auto 0;
  padding: 18px 22px;
  background: rgba(201, 169, 110, 0.07);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.leg-gadgets-note-icon { color: var(--legacy-gold); flex-shrink: 0; margin-top: 2px; }
.leg-gadgets-note p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0;
}

/* ─────────────────────────────────────────────────────
   7. PREISMODELLE
───────────────────────────────────────────────────── */
.leg-pricing-section {
  padding: 120px 24px;
  background: #fff;
}
.leg-pricing-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}
.leg-pricing-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 72px;
}
.leg-pricing-head .leg-label { justify-content: center; }

.leg-pricing-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.07;
  color: var(--ink-900);
  margin: 16px 0 20px;
}
.leg-pricing-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green-700);
  font-size: 1.05em;
}

.leg-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.leg-price-card {
  border-radius: var(--radius-xl);
  padding: 48px 44px 52px;
  position: relative;
  transition: transform 0.28s, box-shadow 0.28s;
}
.leg-price-card:hover { transform: translateY(-7px); }

.leg-price-card--standard {
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
}
.leg-price-card--standard:hover {
  box-shadow: 0 24px 60px rgba(0, 42, 31, 0.09);
}
.leg-price-card--premium {
  background: var(--green-900);
  border: 1px solid var(--legacy-border-gold);
}
.leg-price-card--premium:hover {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.leg-price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--legacy-gold), #e5c384);
  color: var(--green-900);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 22px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(201, 169, 110, 0.38);
}

.leg-price-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.leg-price-card--standard .leg-price-tag { color: var(--ink-700); }
.leg-price-card--premium  .leg-price-tag { color: rgba(255,255,255,0.45); }

.leg-price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 6px;
}
.leg-price-num {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}
.leg-price-card--standard .leg-price-num { color: var(--ink-900); }
.leg-price-card--premium  .leg-price-num { color: var(--legacy-gold); }

.leg-price-unit {
  font-size: 1.1rem;
  font-weight: 600;
}
.leg-price-card--standard .leg-price-unit { color: var(--ink-700); }
.leg-price-card--premium  .leg-price-unit { color: rgba(255,255,255,0.45); }

.leg-price-name {
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
}
.leg-price-card--standard .leg-price-name { color: var(--ink-900); }
.leg-price-card--premium  .leg-price-name { color: #fff; }

.leg-price-divider {
  height: 1px;
  margin: 0 0 26px;
}
.leg-price-card--standard .leg-price-divider { background: var(--sand-200); }
.leg-price-card--premium  .leg-price-divider { background: rgba(255,255,255,0.1); }

.leg-price-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.leg-price-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
}
.leg-price-card--standard .leg-price-list li { color: var(--ink-900); }
.leg-price-card--premium  .leg-price-list li { color: rgba(255,255,255,0.8); }

.leg-price-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.leg-price-card--standard .leg-price-check {
  background: rgba(47,112,105,0.1);
}
.leg-price-card--premium .leg-price-check {
  background: var(--legacy-gold-muted);
}
.leg-price-check::after {
  content: '';
  display: block;
  width: 9px;
  height: 6px;
  border-left: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
.leg-price-card--standard .leg-price-check::after { border-color: var(--green-700); }
.leg-price-card--premium  .leg-price-check::after { border-color: var(--legacy-gold); }

.leg-price-btn {
  width: 100%;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.leg-price-btn:hover { transform: translateY(-2px); }

.leg-price-btn--standard {
  background: rgba(47,112,105,0.1);
  color: var(--green-700);
}
.leg-price-btn--standard:hover {
  background: rgba(47,112,105,0.16);
  box-shadow: 0 8px 20px rgba(47,112,105,0.14);
}
.leg-price-btn--gold {
  background: linear-gradient(135deg, var(--legacy-gold), #e5c384);
  color: var(--green-900);
  box-shadow: 0 12px 30px rgba(201,169,110,0.38);
}
.leg-price-btn--gold:hover { box-shadow: 0 18px 40px rgba(201,169,110,0.55); }

.leg-pricing-disclaimer {
  max-width: 880px;
  margin: 26px auto 0;
  padding: 20px 26px;
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.leg-pricing-disclaimer svg { flex-shrink: 0; color: var(--ink-700); margin-top: 2px; }
.leg-pricing-disclaimer p {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0;
}

/* ─────────────────────────────────────────────────────
   8. ABSCHLUSS CTA
───────────────────────────────────────────────────── */
.leg-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(201,169,110,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 78% 22%, rgba(47,112,105,0.18) 0%, transparent 55%),
    var(--legacy-dark);
  padding: 140px 24px;
  text-align: center;
}
.leg-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.008) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.leg-cta-inner {
  width: min(100%, 700px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.leg-cta-heading {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
  color: #fff;
  margin: 20px 0 26px;
}
.leg-cta-heading em {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--legacy-gold);
  font-size: 1.1em;
}

.leg-cta-sub {
  font-size: 1.12rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 52px;
}

.leg-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .leg-hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .leg-hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .leg-stat-card { flex: 1 1 180px; }

  .leg-concept-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .leg-concept-badge { display: none; }

  .leg-phases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .leg-phases-grid::before { display: none; }

  .leg-care-grid {
    grid-template-columns: 1fr 1fr;
  }
  .leg-care-card--wide { grid-column: 1 / -1; }

  .leg-gadgets-grid { grid-template-columns: repeat(2, 1fr); }

  .leg-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 680px) {
  .leg-hero { padding: 100px 16px 72px; min-height: auto; }
  .leg-hero-stats { flex-direction: column; }
  .leg-stat-card { flex: none; }

  .leg-test-body { padding: 32px 22px 36px; }
  .leg-test-progress { padding: 18px 22px; }

  .leg-concept-img-wrap { aspect-ratio: 4/3; }

  .leg-phases-section { padding: 96px 16px; }
  .leg-care-grid { grid-template-columns: 1fr; }
  .leg-care-card--wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 28px;
  }

  .leg-gadgets-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .leg-gadget-card { padding: 24px 16px 22px; }

  .leg-pricing-grid { max-width: 100%; }
  .leg-price-card { padding: 40px 28px 44px; }
  .leg-price-num { font-size: 3.5rem; }

  .leg-cta-section { padding: 100px 16px; }

  .leg-gadgets-section { padding: 96px 16px; }
  .leg-concept-section { padding: 96px 16px 80px; }
  .leg-care-section { padding: 96px 16px; }
  .leg-test-section { padding: 90px 16px 100px; }
  .leg-pricing-section { padding: 96px 16px; }
}

@media (max-width: 420px) {
  .leg-gadgets-grid { grid-template-columns: 1fr; }
}
