.form-main {
  padding-top: 68px;
  padding-bottom: 96px;
}
.form-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: start;
}
.form-intro {
  position: sticky;
  top: 120px;
}
.form-intro h1,
.form-state h1 {
  font: 400 clamp(44px, 5.1vw, 76px)/1.03 var(--display);
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.form-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 39ch;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  padding: 32px;
}
.form-card h2 {
  font: 600 24px/1.3 var(--sans);
  margin: 0 0 12px;
}
.form-simulation {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 3px solid var(--citrus);
  padding-left: 12px;
  margin: 0 0 26px;
  max-width: 55ch;
}
.form-required {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  margin-bottom: 22px;
  min-width: 0;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #aeb2aa;
  background: #fffefa;
  color: var(--ink);
  padding: 13px 14px;
  font: 400 16px/1.4 var(--sans);
  border-radius: 3px;
  min-height: 48px;
}
.form-field textarea {
  resize: vertical;
  min-height: 152px;
}
.form-field input:focus-visible,
.form-field textarea:focus-visible,
.form-field select:focus-visible,
.form-check input:focus-visible,
.form-choice input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.form-field [aria-invalid="true"] {
  border-color: #a13232;
  box-shadow: 0 0 0 1px #a13232;
}
.form-field-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -14px 0 22px;
}
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.65;
  margin: 24px 0;
}
.form-check input,
.form-choice input {
  accent-color: var(--accent);
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
}
.form-check a,
.form-privacy-note a,
.form-contact-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.newsletter-felder {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.newsletter-legende {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-options {
  border: 0;
  margin: 25px 0;
  padding: 0;
  min-width: 0;
}
.form-options legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 14px;
  padding: 0;
}
.form-muted {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.form-choice {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  line-height: 1.4;
}
.form-choice:last-child {
  border-bottom: 1px solid var(--rule);
}
.form-choice strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.form-choice small {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}
.form-privacy-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 26px;
}
.form-failure {
  font: 500 12px var(--sans);
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
  cursor: pointer;
  min-height: 44px;
  padding: 8px 0;
}
.form-error,
.form-result {
  font-size: 14px;
  line-height: 1.6;
  padding: 16px;
  margin: 0 0 22px;
  border: 1px solid #c6796d;
  background: #fff2ed;
  color: #752a22;
  border-radius: 3px;
}
.form-result {
  margin: 24px 0 0;
  border-color: #91a36e;
  background: #f0f5e5;
  color: #2b3d18;
}
.form-error[hidden],
.form-result[hidden] {
  display: none;
}
.form-demo-links {
  display: flex;
  gap: 10px 18px;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  margin-top: 28px;
  padding-top: 20px;
  font-size: 12px;
  line-height: 1.6;
}
.form-demo-links span {
  width: 100%;
  color: var(--muted);
}
.form-demo-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-side-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 35ch;
  line-height: 1.7;
}
.form-letter {
  position: relative;
  width: 220px;
  height: 170px;
  background: var(--citrus);
  border: 1px solid #b4c875;
  padding: 28px;
  margin: 48px 0 38px;
  transform: rotate(-6deg);
  box-shadow: 8px 12px 0 #e4e7da;
}
.form-letter strong {
  font: 800 25px var(--sans);
  display: block;
  position: absolute;
  bottom: 22px;
  letter-spacing: -0.06em;
}
.form-letter strong span {
  margin-left: 4px;
  background: var(--night);
  padding: 3px;
  color: var(--citrus);
  font-size: 16px;
}
.form-letter-line {
  height: 3px;
  background: #9cab70;
  width: 100%;
  display: block;
  margin-bottom: 10px;
}
.form-letter-line:nth-child(2) {
  width: 80%;
}
.form-letter-line:nth-child(3) {
  width: 55%;
}
.form-letter-seal {
  position: absolute;
  right: -15px;
  bottom: -13px;
  border-radius: 50%;
  height: 66px;
  width: 66px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font: 400 38px var(--display);
  transform: rotate(6deg);
}
.form-state > section {
  max-width: var(--lesebreite);
}
.form-state .form-lead {
  max-width: 50ch;
  margin-bottom: 16px;
}
.form-state-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.form-mail-preview {
  background: var(--surface);
  padding: clamp(16px, 2.2vw, 26px);
  border-radius: 10px;
  border: 1px solid var(--rule);
  margin: 28px 0;
}
.form-mail-preview h2 {
  margin: 3px 0 8px;
  font: 400 28px/1.3 var(--display);
}
.form-mail-preview p {
  font-size: 14px;
  line-height: 1.7;
}
.form-mail-preview .form-mail-subject {
  font-size: 11px;
  color: var(--muted);
  margin-top: 0;
}
.form-contact-note {
  max-width: 330px;
  margin-top: 58px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.form-contact-note h2 {
  font: 400 26px/1.3 var(--display);
}
.form-contact-note p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.form-note-sign {
  font-size: 28px;
  color: var(--accent);
}
.form-language {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
}
.form-language a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.form-language [aria-current="page"] {
  font-weight: 700;
  border-color: var(--accent);
}
.form-group-illustration {
  display: flex;
  align-items: center;
  gap: 0;
  height: 140px;
  margin-top: 30px;
}
.form-group-illustration span {
  display: grid;
  place-items: center;
  background: var(--wash);
  color: var(--accent);
  border: 1px solid var(--paper);
  height: 64px;
  width: 64px;
  border-radius: 50%;
  font-size: 25px;
  margin-right: -9px;
}
.form-group-illustration span:nth-child(2n) {
  background: var(--citrus);
  height: 82px;
  width: 82px;
  margin-top: 30px;
}
.form-group-illustration span:nth-child(3) {
  background: var(--accent);
  color: var(--citrus);
  height: 94px;
  width: 94px;
  margin-top: -15px;
}
@media (max-width: 850px) {
  .form-split {
    gap: 30px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
  .form-card {
    padding: 24px;
  }
  .form-intro h1 {
    font-size: 48px;
  }
}
@media (max-width: 680px) {
  .form-main {
    padding-top: 38px;
    padding-bottom: 65px;
  }
  .form-split {
    display: block;
  }
  .form-intro {
    position: static;
    margin-bottom: 32px;
  }
  .form-intro h1,
  .form-state h1 {
    font-size: 44px;
    line-height: 1.07;
    margin: 16px 0 20px;
  }
  .form-lead {
    font-size: 17px;
  }
  .form-card {
    padding: 22px 18px;
  }
  .form-letter,
  .form-side-note,
  .form-group-illustration {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-contact-note {
    margin-top: 26px;
    max-width: none;
  }
  .form-contact-note h2 {
    font-size: 23px;
  }
  .form-language {
    margin-top: 22px;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    font-size: 16px;
  }
  .form-actions .button {
    width: 100%;
  }
  .form-actions {
    gap: 8px;
  }
  .form-failure {
    width: 100%;
    text-align: center;
  }
  .form-state-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }
  .form-state-actions .textlink {
    justify-content: center;
  }
}
