:root {
  --font-main: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --bg: #1a1a1a;
  --text: #f7f4ee;
  --muted: #aaa69d;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #ffffff;
  --accent-light: #f2f2f2;
  --success: #ffffff;
  --danger: #ff7a7a;
  --radius-xl: 32px;
  --radius-md: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #1a1a1a;
}

.page-shell {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  isolation: isolate;
}

.site-header,
.site-footer,
.hero {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 230px);
  height: auto;
  object-fit: contain;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms ease;
}

.header-link:hover {
  color: var(--text);
}

.header-link span {
  color: var(--accent);
}

.hero {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.92fr) minmax(540px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding-block: clamp(54px, 7vw, 104px);
}

.intro {
  max-width: 650px;
  animation: introIn 900ms var(--ease) both;
}

.eyebrow,
.kicker,
.step-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 25px;
  color: #d2cec5;
  font-size: 0.72rem;
  font-weight: 800;
}

.intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.6rem, 6.4vw, 7.4rem);
  font-weight: 820;
  letter-spacing: -0.072em;
  line-height: 0.98;
}

.intro h1 span {
  display: block;
  color: var(--accent);
}

.intro p {
  max-width: 580px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.trust-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #d1cdc5;
  font-size: 0.73rem;
  font-weight: 700;
}

.trust-row span::before {
  margin-right: 7px;
  color: var(--accent);
  content: "✓";
}

.form-stage {
  width: 100%;
  max-width: 650px;
  justify-self: end;
  animation: cardIn 900ms 120ms var(--ease) both;
}

.form-card {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #202020;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.form-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.44), transparent);
}

.card-topline {
  display: grid;
  grid-template-columns: auto minmax(120px, 0.36fr);
  align-items: center;
  gap: 24px;
  padding: 23px 28px;
  border-bottom: 1px solid var(--line);
}

.card-topline > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-label {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.step-counter {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.progress-bar {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.36);
  transition: width 650ms var(--ease);
}

#leadForm {
  position: relative;
  display: flex;
  min-height: 574px;
  flex-direction: column;
}

.form-step {
  position: absolute;
  inset: 0 0 auto;
  display: none;
  padding: clamp(30px, 4vw, 46px);
  opacity: 0;
  transform: translate3d(45px, 0, 0) scale(.985);
}

.form-step.is-active {
  position: relative;
  display: block;
  opacity: 1;
  transform: none;
  animation: stepIn 560ms var(--ease) both;
}

.form-step.is-leaving-left {
  display: block;
  animation: stepOutLeft 380ms ease both;
}

.form-step.is-leaving-right {
  display: block;
  animation: stepOutRight 380ms ease both;
}

.form-step.is-entering-back {
  animation-name: stepInBack;
}

.step-copy {
  margin-bottom: 30px;
}

.kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 850;
}

.step-copy h2,
.success-step h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.step-copy p,
.success-step p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #d8d4cc;
  font-size: 0.76rem;
  font-weight: 750;
}

.field em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  border-radius: var(--radius-md);
  background: #262626;
  color: var(--text);
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.field input,
.field select {
  height: 58px;
  padding: 0 16px;
}

.field textarea {
  min-height: 172px;
  padding: 16px;
  resize: vertical;
  line-height: 1.55;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 25px,
    calc(100% - 16px) 25px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.field select option {
  background: #262626;
  color: #ffffff;
}

.field select option:checked {
  background: #3a3a3a;
  color: #ffffff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6d6a65;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 255, 255, 0.78);
  background: #2b2b2b;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.08);
}

.field-error,
.group-error {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.68rem;
  font-weight: 650;
}

.field-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.field-meta .field-error {
  flex: 1;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-card {
  position: relative;
  display: grid;
  min-height: 104px;
  cursor: pointer;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 11px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.033);
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms var(--ease);
}

.choice-card:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.055);
  transform: translateY(-2px);
}

.choice-card:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.09);
}

.choice-card input,
.service-pill input,
.privacy-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.choice-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: #2b2b2b;
  color: var(--accent);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
}

.choice-card strong {
  display: block;
  font-size: 0.85rem;
  line-height: 1.2;
}

.choice-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.choice-check {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: transparent;
  font-size: 0.7rem;
  transition: all 200ms ease;
}

.choice-card:has(input:checked) .choice-check {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1a1a;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -5px 0 18px;
}

.chip {
  cursor: pointer;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #d2cec6;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 180ms ease;
}

.chip:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.06);
  color: var(--text);
}

.chip.is-used {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1a1a;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 5px;
  padding: 0;
  border: 0;
}

.service-pill {
  position: relative;
  cursor: pointer;
}

.service-pill span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d7d3cb;
  font-size: 0.76rem;
  font-weight: 720;
  transition: all 200ms ease;
}

.service-pill span::before {
  width: 0;
  overflow: hidden;
  color: #1a1a1a;
  content: "✓";
  transition: width 220ms var(--ease);
}

.service-pill:hover span {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.service-pill:has(input:checked) span {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1a1a;
}

.service-pill:has(input:checked) span::before {
  width: 20px;
}

.privacy-check {
  position: relative;
  display: grid;
  cursor: pointer;
  grid-template-columns: 24px 1fr;
  gap: 11px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.privacy-box {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: transparent;
  font-size: 0.7rem;
  font-weight: 900;
  transition: all 200ms ease;
}

.privacy-check:has(input:checked) .privacy-box {
  border-color: var(--accent);
  background: var(--accent);
  color: #1a1a1a;
}

.privacy-check a {
  color: #e9e5dd;
  text-underline-offset: 2px;
}

.privacy-promise {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.privacy-promise span {
  color: var(--text);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-promise strong {
  color: var(--text);
  font-size: 0.76rem;
  line-height: 1.4;
}

.privacy-promise small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.summary-box {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 15px 16px;
  border: 1px solid rgba(168,255,120,.15);
  border-radius: 14px;
  background: rgba(168,255,120,.045);
}

.summary-box span {
  color: var(--success);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.summary-box strong {
  font-size: .76rem;
  line-height: 1.4;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: auto;
  padding: 0 clamp(30px, 4vw, 46px) clamp(30px, 4vw, 42px);
}

.form-actions[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  min-height: 52px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 820;
  text-decoration: none;
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms ease,
    background 200ms ease,
    color 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(.985);
}

.button--primary {
  min-width: 130px;
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.19);
}

.button--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.27);
}

.button--ghost {
  background: rgba(255,255,255,.05);
  color: #ddd9d1;
}

.button--ghost:hover {
  background: rgba(255,255,255,.08);
}

.button--wide {
  width: 100%;
  margin-top: 27px;
}

.button[hidden] {
  display: none;
}

.button:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

#submitButton {
  display: none;
}

#submitButton.is-visible {
  display: inline-flex;
}

.button-loader {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(17,17,17,.28);
  border-top-color: #1a1a1a;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

#submitButton.is-loading .button-loader {
  display: block;
}

#submitButton.is-loading .submit-arrow {
  display: none;
}

.form-status {
  min-height: 0;
  margin: -22px 46px 25px;
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

.form-footnote {
  margin: 14px 0 0;
  color: #77746f;
  font-size: 0.68rem;
  text-align: center;
}

.success-step {
  max-width: 520px;
  margin: auto;
  padding-block: 60px;
  text-align: center;
}

.success-icon {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 28px;
  place-items: center;
  border: 1px solid rgba(168,255,120,.28);
  border-radius: 50%;
  background: rgba(168,255,120,.08);
  box-shadow: 0 0 0 11px rgba(168,255,120,.025);
}

.success-icon span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 950;
}

.text-button {
  margin-top: 18px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #74716d;
  font-size: .69rem;
}

.footer-credit {
  color: #8f8f8f;
}

.footer-credit span {
  color: #e53935;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes introIn {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translate3d(0, 34px, 0) scale(.975); }
  to { opacity: 1; transform: none; }
}

@keyframes stepIn {
  from { opacity: 0; transform: translate3d(45px, 0, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes stepInBack {
  from { opacity: 0; transform: translate3d(-45px, 0, 0) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes stepOutLeft {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(-38px, 0, 0) scale(.985); }
}

@keyframes stepOutRight {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(38px, 0, 0) scale(.985); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .intro {
    max-width: 760px;
  }

  .intro h1 {
    font-size: clamp(4rem, 10vw, 7rem);
  }

  .form-stage {
    max-width: 760px;
    justify-self: stretch;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
    --radius-xl: 24px;
  }

  .site-header,
  .site-footer,
  .hero {
    width: min(100% - 28px, 1440px);
  }

  .header-link {
    font-size: 0;
  }

  .header-link span {
    font-size: 1rem;
  }

  .hero {
    gap: 38px;
    padding-block: 42px 60px;
  }

  .intro h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .intro p {
    font-size: 0.98rem;
  }

  .trust-row {
    gap: 7px;
  }

  .trust-row span {
    font-size: 0.66rem;
  }

  .form-card {
    min-height: 0;
    border-radius: 24px;
  }

  .card-topline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 19px 20px;
  }

  #leadForm {
    min-height: 610px;
  }

  .form-step {
    padding: 28px 20px;
  }

  .field-grid--two,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    gap: 9px;
  }

  .choice-card {
    min-height: 82px;
  }

  .step-copy h2,
  .success-step h2 {
    font-size: 2rem;
  }

  .form-actions {
    padding: 0 20px 24px;
  }

  .button {
    flex: 1;
  }

  .form-status {
    margin-inline: 20px;
  }

  .site-footer {
    min-height: 92px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .intro h1 {
    font-size: 3.15rem;
  }

  .form-actions {
    flex-wrap: wrap;
  }

  .button--ghost {
    flex: 0 0 48px;
    min-width: 48px;
    padding-inline: 0;
    font-size: 0;
  }

  .button--ghost span {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typografie ohne externe Schrift- oder Google-Dienste. */
.intro h1,
.step-copy h2,
.success-step h2,
.choice-card strong,
.privacy-promise strong,
.summary-box strong,
.button,
.brand-copy strong {
  font-family: var(--font-display);
}

.intro h1 {
  font-weight: 900;
}

.step-copy h2,
.success-step h2 {
  font-weight: 800;
}

body,
input,
textarea,
select,
option {
  font-weight: 400;
}
