/* Eigenes Kontaktformular (ersetzt Framer-Formularblock auf kontakt.html) */
.framer-ru6s9 form#heroscale-kontakt-form.heroscale-kontakt-form.framer-ec8jsb,
form#heroscale-kontakt-form.heroscale-kontakt-form.framer-ec8jsb {
  opacity: 1 !important;
  transform: none !important;
  width: min(100%, 920px) !important;
  min-width: 0 !important;
  flex: 1 1 480px !important;
  max-width: 920px !important;
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  background: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  gap: 0 !important;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.heroscale-kontakt-form .heroscale-kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 759.98px) {
  .heroscale-kontakt-form .heroscale-kontakt-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.heroscale-kontakt-form .heroscale-kontakt-intro h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  color: #000;
}

.heroscale-kontakt-form .heroscale-kontakt-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: #222;
  max-width: 36ch;
}

.heroscale-kontakt-form .heroscale-kontakt-foot {
  margin-top: 40px;
  font-size: 15px;
  color: #8a8a8a;
  line-height: 1.5;
}

.heroscale-kontakt-form .heroscale-kontakt-foot a {
  color: #6b6b6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.heroscale-kontakt-form .heroscale-kontakt-foot a:hover {
  color: #000;
}

.heroscale-kontakt-form .heroscale-kontakt-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.heroscale-kontakt-form label.heroscale-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.heroscale-kontakt-form .heroscale-label-text {
  display: block;
  line-height: 1.35;
}

.heroscale-kontakt-form .heroscale-req {
  font-weight: 600;
}

.heroscale-kontakt-form input[type="text"],
.heroscale-kontakt-form input[type="email"],
.heroscale-kontakt-form input[type="tel"],
.heroscale-kontakt-form select,
.heroscale-kontakt-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
  color: #000;
  background: #fff;
}

.heroscale-kontakt-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.45;
}

.heroscale-kontakt-form input:focus-visible,
.heroscale-kontakt-form select:focus-visible,
.heroscale-kontakt-form textarea:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 1px;
}

.heroscale-kontakt-form .heroscale-phone-row {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.heroscale-kontakt-form .heroscale-phone-row select.heroscale-phone-cc {
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 12px 10px 12px 14px;
  max-width: 108px;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%23000' stroke-opacity='0.45' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.heroscale-kontakt-form .heroscale-phone-row input[type="tel"] {
  border: none;
  border-radius: 0;
  flex: 1;
}

.heroscale-kontakt-form .heroscale-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.heroscale-kontakt-form button[type="submit"] {
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  min-width: 200px;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  background: #000;
  cursor: pointer;
}

.heroscale-kontakt-form button[type="submit"]:hover {
  filter: brightness(1.08);
}

.heroscale-kontakt-form .heroscale-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
