/* =============================================================
   Future Business Club — Landingpage
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: .005em;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Hintergrund-Layer ---------- */
#mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  display: block;
}

/* Vignette + radialer Lift unter dem Mesh → Tiefe + Lesbarkeit links */
.backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(110, 92, 168, .16), transparent 55%),
    radial-gradient(80% 70% at 12% 90%, rgba(0, 0, 0, .55), transparent 60%),
    linear-gradient(90deg, rgba(4,5,10,.92) 0%, rgba(4,5,10,.62) 32%, rgba(4,5,10,.10) 60%, transparent 78%),
    linear-gradient(180deg, rgba(4,5,10,.55) 0%, transparent 22%, transparent 72%, rgba(4,5,10,.85) 100%);
}

/* ---------- Seiten-Gerüst ---------- */
.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Topbar (Logo + Status, kein Menü) ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding-block: clamp(1.25rem, 2.4vw, 2.1rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
}
.brand-mark { display: block; width: 26px; height: 26px; flex: none; }
.brand-name {
  font-family: var(--font-logo);
  font-size: clamp(1.4rem, 2.7vw, 1.74rem);
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--text-strong);
  white-space: nowrap;
}
.brand-name b { font-weight: 400; }
.brand-tld { color: rgba(255, 255, 255, .5); font-weight: 300; font-size: calc(1em - 2px); }

.topbar-meta {
  text-align: right;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.5;
}
.topbar-meta strong { color: var(--text-muted); font-weight: 600; }

/* ---------- Hero (zweispaltig) ---------- */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding-block: clamp(5rem, 16vh, 11rem) clamp(2rem, 5vh, 5rem);
}

/* Linke Spalte — Headline, rechtsbündig an die Karte angedockt */
.hero-left { flex: 0 1 30rem; max-width: 30rem; text-align: right; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(.82rem, 1.15vw, .96rem);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--accent-strong);
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Große visuelle Display-Zeile (kein H1, nur Optik) */
.hero-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 7.2vw, 6.45rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  background: linear-gradient(176deg, #ffffff 0%, #e3e1ef 52%, #b9b2d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* „Visionaries" in der Akzentfarbe (Gold/Champagner) */
.hero-display .ic-accent { color: var(--gold-300); -webkit-text-fill-color: var(--gold-300); }
/* Echte H1 (für Google) — visuell klein & weiß, wie der Fließtext darunter */
.hero-title {
  margin-top: clamp(.8rem, 1.6vw, 1.2rem);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-strong);
}
.hero-title b { font-weight: 600; }

.hero-sub {
  margin-top: 10px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  max-width: 33rem;
}

/* Membership-Pille als dezente Randnotiz (kein Akzent, gedämpft) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: clamp(1.8rem, 3.2vw, 2.6rem);
  padding: .5rem 1rem .5rem .72rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .005em;
  color: var(--text-faint);
  text-align: left;
}
.hero-badge-crest {
  display: inline-flex;
  flex: none;
  color: var(--text-faint);
  opacity: .85;
}
.hero-badge-crest svg { width: 18px; height: 18px; display: block; }

/* ---------- Rechte Spalte — Mitgliedschafts-Formular ---------- */
.hero-right { flex: 0 1 30rem; max-width: 30rem; display: flex; }

.join-card {
  width: 100%;
  max-width: 30rem;
  background: rgba(26, 28, 40, .55);
  border: none;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4.5vw, 3.75rem);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
}

.join-head { margin-bottom: .5rem; }
.join-card h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 2.8vw, 2.15rem);
  letter-spacing: -.01em;
  color: var(--text-strong);
  opacity: .3;
}
.join-sub {
  margin-top: .5rem;
  font-size: .9rem;
  font-weight: 300;
  color: var(--text-muted);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: var(--space-4); }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input {
  width: 100%;
  padding: .8rem .95rem;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  font-size: .98rem;
  font-weight: 300;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.field input::placeholder { color: var(--grey-600); }
.field input:focus {
  outline: none;
  border-color: var(--field-focus);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(157, 140, 219, .18);
}
.field input:user-invalid { border-color: #d9667a; }

/* Consent */
.consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: var(--space-2) 0 var(--space-5);
  font-size: .78rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-faint);
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px; height: 17px;
  margin-top: 2px;
  border: 1px solid var(--field-border);
  border-radius: 5px;
  background: var(--field-bg);
  cursor: pointer;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
}
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1.5px;
  width: 4px; height: 8px;
  border: solid #0b0d16;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent a { color: inherit; text-decoration: none; }
.consent a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Submit */
.btn-submit {
  width: 100%;
  padding: .95rem 1.2rem;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #ffffff, #e7e4f3);
  color: #0a0b12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 10px 30px -10px rgba(157, 140, 219, .55);
}
.btn-submit .btn-icon { width: 18px; height: 18px; flex: none; }
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 38px -12px rgba(157, 140, 219, .7); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.form-note {
  margin-top: var(--space-4);
  font-size: .74rem;
  font-weight: 300;
  text-align: center;
  color: var(--text-faint);
}

/* Erfolgs-Zustand */
.join-success { display: none; text-align: center; padding: var(--space-4) 0; }
.join-card.is-done .qf { display: none; }
.join-card.is-done .join-head { display: none; }
.join-card.is-done .join-success { display: block; animation: fade-up .5s ease both; }
.success-mark {
  width: 56px; height: 56px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(157, 140, 219, .14);
  border: 1px solid rgba(157, 140, 219, .4);
}
.join-success h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--text-strong);
  margin-bottom: .5rem;
}
.join-success p { font-size: .92rem; font-weight: 300; color: var(--text-muted); }

/* ---------- Mitgliedschaft: Typeform-Style Stepper ---------- */
.qf { display: flex; flex-direction: column; }
.qf-progress {
  height: 3px; border-radius: 3px; overflow: hidden;
  background: rgba(255, 255, 255, .08);
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.qf-bar {
  display: block; height: 100%; width: 20%; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width .5s cubic-bezier(.22, .61, .36, 1);
}
.qf-viewport { overflow: hidden; transition: height .45s cubic-bezier(.22, .61, .36, 1); }
.qf-track { display: flex; align-items: flex-start; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.qf-step {
  flex: 0 0 100%; min-width: 0; padding: 2px;
  opacity: .15; transition: opacity .45s ease;
}
.qf-step.is-active { opacity: 1; }

.qf-num {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  color: var(--gold-300); margin-bottom: .9rem; opacity: .5;   /* aktive Zahl gedämpft */
}
.qf-num i { color: var(--text-faint); font-style: normal; font-weight: 400; opacity: .4; }  /* Step-Anzahl → effektiv ~.2 */
.qf-label {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.25;
  color: var(--text-strong); margin-bottom: 1.5rem;
}
.qf-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding: .6rem 0; font-family: inherit;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-strong);
  transition: border-color var(--transition);
}
.qf-input::placeholder { color: rgba(255, 255, 255, .2); }
.qf-input:focus { outline: none; border-bottom-color: var(--gold-300); }

/* Auswahl-Optionen (Rolle / Ziele) — kleine, blasse Pills wie Weiter/Zurück */
.qf-choices { display: flex; flex-direction: column; gap: .5rem; margin-top: .15rem; }
.qf-choice {
  width: 100%; text-align: left;
  padding: .58rem .95rem; border-radius: var(--radius-pill);
  border: 1px solid var(--hairline); background: rgba(255, 255, 255, .015);
  color: var(--text-muted); font-family: inherit; font-size: .88rem; line-height: 1.3;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.qf-choice:hover { border-color: rgba(255, 255, 255, .22); color: var(--text-strong); }
.qf-choice.is-selected {
  border-color: var(--gold-300); background: rgba(237, 219, 156, .08); color: var(--text-strong);
}
.qf-sub { margin-top: .7rem; font-size: .78rem; font-weight: 300; line-height: 1.45; color: var(--text-faint); }

.qf-consent {
  display: flex; align-items: flex-start; gap: .6rem; margin-top: 1.5rem;
  font-size: .8rem; font-weight: 300; line-height: 1.5; color: var(--text-muted);
}
.qf-consent input { margin-top: .15rem; accent-color: var(--gold-500); flex: none; }
.qf-consent a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-error { margin: 1.1rem 0 0; font-size: .82rem; color: #e9a0a0; }

.qf-nav { display: flex; align-items: flex-end; gap: .8rem; margin-top: 20px; }
.qf-back {
  flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--hairline); background: transparent;
  color: var(--text-muted); cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}
.qf-back[hidden] { display: none; }
.qf-back svg { width: 18px; height: 18px; }
.qf-back:hover { border-color: var(--gold-300); color: var(--text-strong); }
/* Weiter-Button: klein & kompakt, rechts unten — über „drücke Enter" */
.qf-actions { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.qf-next {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .46rem .85rem; border: none; border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #ffffff, #e7e4f3); color: #0a0b12;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 8px 20px -12px rgba(157, 140, 219, .5);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.qf-next:hover { transform: translateY(-1px); }
.qf-next:active { transform: translateY(0); }
.qf-next:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.qf-next-icon { width: 15px; height: 15px; flex: none; }
.qf-enter-hint { font-size: .68rem; color: var(--text-faint); white-space: nowrap; }
.qf-enter-hint b { color: var(--text-muted); font-weight: 600; }

@keyframes qf-shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-7px)} 40%,80%{transform:translateX(7px)} }
.qf-shake { animation: qf-shake .4s; }

@media (max-width: 480px) { .qf-enter-hint { display: none; } }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-block: clamp(1.1rem, 2vw, 1.6rem);
  font-size: .78rem;
  font-weight: 300;
  color: var(--text-faint);
}
.footer-links { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--text-muted); }

/* ---------- Footer-CTA (global): Mesh-Netz + Logo + Claim ---------- */
.pt-cta {
  position: relative;
  contain: paint;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(.5rem, 1.5vh, 1rem);
  padding-block: clamp(6rem, 15vh, 11rem) clamp(13.5rem, 20vh, 16rem);
}
#mesh-footer {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; opacity: 1; pointer-events: none; display: block;
  transform: scaleY(-1);
}
.pt-cta-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(95% 95% at 50% 122%, rgba(122, 102, 182, .28), transparent 60%),
    linear-gradient(180deg, rgba(4,5,10,.54) 0%, rgba(4,5,10,.22) 42%, rgba(4,5,10,.04) 100%);
}
.pt-cta .brand, .pt-cta-text { position: relative; z-index: 2; }
.pt-cta .brand { justify-content: center; }
.pt-cta .brand-name { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.pt-cta-text {
  margin: .35rem auto 0;
  max-width: 32rem; font-size: 16px; line-height: 1.45;
  font-weight: 300; color: var(--text-muted);
}
/* Legals dezent in die linke untere Ecke */
.pt-cta-legal {
  position: absolute; z-index: 2;
  left: clamp(1.25rem, 3.5vw, 2.5rem);
  bottom: 20px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .25rem .8rem;
  font-size: .72rem; font-weight: 300; color: var(--text-faint);
  opacity: .5;
}
.pt-cta-legal a { transition: color var(--transition); }
.pt-cta-legal a:hover { color: var(--accent-strong); }

/* ---------- Animationen ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: fade-up .9s cubic-bezier(.22,.61,.36,1) both; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .2s; }
.reveal.d3 { animation-delay: .34s; }
.reveal.d4 { animation-delay: .48s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page { min-height: auto; }
  .hero {
    flex-direction: column;
    gap: 2.5rem;
    padding-block: clamp(4rem, 16vh, 7rem) 3.5rem;
  }
  .hero-left { flex-basis: auto; max-width: 100%; text-align: left; }
  .hero-right { flex-basis: auto; max-width: 100%; width: 100%; }
  .join-card { max-width: 100%; }
}

@media (max-width: 420px) {
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .brand-name { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
}

/* ---------- Leistungen-Section ("Was dich erwartet") — großzügig, 2 pro Reihe ---------- */
.benefits {
  width: 100%;
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(4rem, 11vh, 8rem) var(--gutter) clamp(2.5rem, 6vh, 5rem);
}
.benefits-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.benefits-eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255, 255, 255, .3);
  margin-bottom: 1.1rem;
}
.benefits-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -.015em;
  color: var(--text-strong);
}
.benefits-title .ic-gold { color: var(--gold-300); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.8rem);
}
.benefit-card {
  background: linear-gradient(158deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 3.6rem);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 219, 156, .35);
  background: linear-gradient(158deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
}
.benefit-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 18px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.03);
  color: var(--gold-300);
  margin-bottom: 1.8rem;
}
.benefit-icon svg { width: 42px; height: 42px; display: block; }
.benefit-card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 1.5625rem); color: var(--text-strong);
  letter-spacing: -.01em; margin-bottom: .75rem;
  overflow-wrap: break-word; hyphens: auto;
}
.benefit-card p {
  font-size: 1.25rem; font-weight: 300; line-height: 1.55; color: var(--text-muted);
}
@media (max-width: 620px) { .benefits-grid { grid-template-columns: 1fr; } }
