:root {
  --ink: #161d23;
  --sage: #82958d;
  --sage-deep: #75897e;
  --grey: #dbdbd7;
  --paper: #fbfbf8;
  --white: #fff;
  --line: rgba(22, 29, 35, 0.14);
  --pad: clamp(1.25rem, 4vw, 4.75rem);
  --radius: 1.4rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}

.skip:focus {
  top: 1rem;
}

a:focus-visible {
  outline: 3px solid #b8d5c9;
  outline-offset: 4px;
}

/* Header */
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  position: relative;
  z-index: 5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 34px;
  height: 30px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.4;
}

.brand svg circle {
  stroke: none;
  fill: var(--ink);
}

.brand svg .mark-fill {
  stroke: none;
  fill: var(--sage);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 480px);
  align-items: center;
  gap: 5vw;
  padding: 5vh var(--pad) 9vh;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 1.4rem;
  color: var(--sage-deep);
}

h1, h2, h3, p {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero h1 em {
  color: var(--sage);
  font-style: normal;
}

.lead {
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.65;
  max-width: 36rem;
  color: #4d5853;
  margin-bottom: 2rem;
}

/* Benefits */
.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #4d5853;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* Form Card */
.hero-form-wrapper {
  position: relative;
}

.form-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 12px 14px 0 rgba(22, 29, 35, 0.08);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 0.9rem;
  color: #65706b;
  margin: 0;
}

/* Form Styles */
.vorschau-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.optional {
  font-weight: 400;
  color: #8a9490;
  font-size: 0.75rem;
}

.form-group input {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 0.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(130, 149, 141, 0.15);
}

.form-group input::placeholder {
  color: #a0a8a4;
}

.form-group input.error {
  border-color: #c45c4a;
}

.error-message {
  font-size: 0.75rem;
  color: #c45c4a;
  min-height: 1rem;
}

/* Submit Button */
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button.primary {
  background: var(--sage);
  color: white;
  width: 100%;
  margin-top: 0.5rem;
}

.button.primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(130, 149, 141, 0.35);
}

.button.primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  margin-top: 1.5rem;
}

.button.secondary:hover {
  background: var(--ink);
  color: white;
}

.form-note {
  font-size: 0.75rem;
  color: #8a9490;
  text-align: center;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

.form-note a {
  color: var(--sage-deep);
  text-decoration: underline;
}

/* Success Card */
.success-card {
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  box-shadow: 12px 14px 0 rgba(130, 149, 141, 0.15);
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
}

.success-card h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.success-card p {
  color: #4d5853;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.success-email {
  font-size: 0.9rem;
  color: #65706b;
}

/* Preview explanation */
.preview-info {
  padding: clamp(4rem, 8vw, 7rem) var(--pad);
  background: #eef0eb;
}

.preview-info-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.preview-info h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.preview-definition {
  max-width: 850px;
  color: #4d5853;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 3rem;
}

.preview-answers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.preview-answers article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.6rem;
}

.preview-answers h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.preview-answers p {
  color: #65706b;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Trust Section */
.trust-section {
  background: var(--ink);
  color: white;
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
}

.trust-content {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
  font-weight: 500;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.step p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b9c1bd;
  margin: 0;
}

/* Footer */
footer {
  padding: 2.2rem var(--pad);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand strong {
  font-size: 1rem;
}

.footer-brand span, footer > p {
  color: #6f7974;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  text-underline-offset: 0.2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6vh;
    gap: 3rem;
  }

  .hero-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .steps,
  .preview-answers {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step {
    padding: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .step:first-child {
    border-top: none;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    order: -1;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 72px;
  }

  .brand {
    font-size: 1.05rem;
  }

  .brand svg {
    width: 30px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.5rem;
  }
}

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