:root {
  --bg: #08090c;
  --surface: #111319;
  --surface-2: #161922;
  --surface-hover: #1b1f2a;

  --fg: #f4f5f7;
  --fg-muted: #949aa6;
  --fg-dim: #636975;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --gold-1: #f3dfb2;
  --gold-2: #d6a956;
  --gold-3: #b58432;
  --gold: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  --gold-soft: rgba(214, 169, 86, 0.12);
  --gold-line: rgba(214, 169, 86, 0.34);

  --green: #34c759;
  --red-soft: rgba(255, 90, 82, 0.12);
  --red-line: rgba(255, 90, 82, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

p {
  margin: 0;
}

.main {
  flex: 1;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 22px;
}

.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gold-text {
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hintergrund ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bg-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1050px, 140vw);
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(214, 169, 86, 0.13) 0%, rgba(214, 169, 86, 0.03) 48%, transparent 72%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 18%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 55% at 50% 18%, #000 0%, transparent 80%);
}

/* ---------- Liquid-Glass Topbar ---------- */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 920px;
  height: 60px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(15, 17, 23, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 40px -12px rgba(0, 0, 0, 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 1.5px solid rgba(243, 223, 178, 0.42);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.brand-avatar-sm {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.cta-short {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-sm {
  padding: 9px 17px;
  font-size: 13.5px;
}

.btn-gold {
  color: #161006;
  background: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 28px -10px rgba(214, 169, 86, 0.45);
}

.btn-gold:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
}

/* ---------- Hero + Im Aufbau ---------- */
.hero {
  padding: 142px 0 84px;
}

.hero-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-title {
  font-size: clamp(2.35rem, 5.8vw, 4.65rem);
  letter-spacing: -0.042em;
  line-height: 1.04;
}

.hero-title em {
  font-size: 1.06em;
  padding-right: 0.05em;
}

.wip-block {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-1);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
}

.wip-badge.is-success {
  color: #7ef09b;
  background: rgba(52, 199, 89, 0.12);
  border-color: rgba(52, 199, 89, 0.3);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  display: inline-block;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.live-dot.is-green {
  background: var(--green);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.wip-sub {
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  color: var(--fg-muted);
  line-height: 1.6;
}

.wip-sub strong {
  color: var(--fg);
  font-weight: 600;
}

/* ---------- Formular-Karte ---------- */
.form-card {
  width: 100%;
  max-width: 660px;
  margin-top: 8px;
  text-align: left;
  background: #0e1016;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.form-card-head {
  padding: 22px 26px 18px;
  background: #13161f;
  border-bottom: 1px solid var(--border);
}

.vg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-1);
  margin-bottom: 6px;
}

.form-card-head h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.form-card-body {
  background: #0e1016;
}

.form-card-foot {
  padding: 14px 24px;
  background: #12151e;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--fg-muted);
}

/* ---------- Stepper ---------- */
.tg-wrap {
  padding: clamp(22px, 4vw, 30px);
}

.tg-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tg-prog {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tg-prog-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}

.tg-step-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  font-variant-numeric: tabular-nums;
}

.tg-stage {
  animation: tgSlideIn 0.22s var(--ease);
}

@keyframes tgSlideIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.tg-q {
  display: block;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.24;
}

.tg-options {
  display: grid;
  gap: 11px;
  margin-top: 18px;
}

.tg-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  transition: border-color 0.16s, background 0.16s, transform 0.16s var(--ease);
}

.tg-opt:hover {
  border-color: var(--gold-2);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.tg-opt.is-active {
  border-color: var(--gold-2);
  background: linear-gradient(90deg, rgba(214, 169, 86, 0.16), rgba(214, 169, 86, 0.06));
}

.tg-opt-go {
  color: var(--gold-2);
  font-weight: 600;
  font-size: 17px;
}

.tg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.tg-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tg-field-full {
  grid-column: 1 / -1;
}

.tg-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
}

.tg-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--fg);
  background: #141821;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}

.tg-input::placeholder {
  color: var(--fg-dim);
}

.tg-input:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(214, 169, 86, 0.15);
}

.tg-err {
  margin-top: 12px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  color: #ffb4b0;
  background: var(--red-soft);
  border: 1px solid var(--red-line);
}

.tg-submit {
  margin-top: 18px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  color: #161006;
  background: var(--gold);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 12px 28px -10px rgba(214, 169, 86, 0.45);
  cursor: pointer;
}

.tg-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.tg-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tg-back {
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  background: none;
  border: 0;
  cursor: pointer;
}

.tg-back:hover {
  color: var(--fg);
}

.tg-privacy {
  font-size: 12px;
  color: var(--fg-dim);
  margin-left: auto;
}

/* ---------- Danke-Seite ---------- */
.thankyou-hero {
  padding: 156px 0 84px;
}

.ty-card {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.ty-title {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
}

.ty-lead {
  font-size: 15.5px;
  color: var(--fg-muted);
  max-width: 490px;
}

.ty-summary {
  width: 100%;
  padding: 14px 18px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  text-align: left;
}

.ty-summary-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-2);
  margin-bottom: 4px;
}

.ty-summary p {
  font-size: 13.5px;
  color: var(--fg-muted);
}

.ty-actions {
  margin-top: 6px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 13px;
  color: var(--fg-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--fg-muted);
}

.footer-links a:hover {
  color: var(--fg);
}

@media (max-width: 560px) {
  .hero {
    padding: 122px 0 64px;
  }

  .thankyou-hero {
    padding: 132px 0 64px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .brand-name {
    font-size: 13px;
  }

  .tg-grid {
    grid-template-columns: 1fr;
  }

  .form-card-head {
    padding: 18px 20px 15px;
  }
}
