.teststellung {
  max-width: 970px;
  margin: 0 auto;
  padding: 100px 24px;
}

.teststellung-titel {
  margin: 0 0 70px;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.teststellung-formular {
  display: grid;
  gap: 24px;
}

.teststellung-zeile {
  display: grid;
  gap: 24px;
}

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

.teststellung-adresse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
}

.teststellung-feld {
  display: block;
  min-width: 0;
}

.teststellung-feld input,
.teststellung-feld select,
.teststellung-feld textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 66px;
  padding: 17px 22px;
  border: 2px solid #999;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 1.1rem;
}

.teststellung-feld input::placeholder,
.teststellung-feld textarea::placeholder {
  color: #444;
  opacity: 1;
}

.teststellung-feld select {
  appearance: none;
  padding-right: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cpath d='m2 2 8 8 8-8' fill='none' stroke='%23333' stroke-width='2.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  cursor: pointer;
}

.teststellung-feld textarea {
  min-height: 125px;
  resize: vertical;
}

.teststellung-feld input:focus-visible,
.teststellung-feld select:focus-visible,
.teststellung-feld textarea:focus-visible,
.teststellung-button:focus-visible {
  outline: 2px solid #f44;
  outline-offset: 3px;
}

.teststellung-datenschutz {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  line-height: 1.5;
}

.teststellung-datenschutz input {
  margin-top: 5px;
  accent-color: #f44;
}

.teststellung-datenschutz a {
  color: inherit;
  text-decoration: underline;
}

.teststellung-button {
  justify-self: start;
  padding: 19px 42px;
  border: 2px solid #f44;
  border-radius: 16px;
  background: #fff;
  color: #f33;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.teststellung-button:hover {
  background: #f44;
  color: #fff;
}

.teststellung-honeypot,
.teststellung-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .teststellung {
    padding: 75px 20px;
  }

  .teststellung-titel {
    margin-bottom: 42px;
  }

  .teststellung-zwei,
  .teststellung-adresse {
    grid-template-columns: 1fr;
  }

  .teststellung-zeile,
  .teststellung-formular {
    gap: 18px;
  }
}
