/* Contact form additions (20261016): honeypot, ALTCHA widget, visible status/error message */

/* "Nachname" honeypot: off-screen (not display:none, so browser autofill still reaches it) */
#footer .contact-form form .hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ALTCHA in the right column, where the old captcha iframe was */
#footer .contact-form form .right {
  display: flex;
  align-items: flex-start;
}
#footer .contact-form form altcha-widget {
  display: block;
  width: 100%;
  max-width: 260px;
  --altcha-max-width: 260px;
  --altcha-border-radius: 0;
  --altcha-color-primary: #2E9C80;
  --altcha-color-success: #2E9C80;
  font-size: 14px;
}

/* Status / error message under the fields */
#footer .contact-form form .form-message {
  box-sizing: border-box;
  width: 100%;
  max-width: 310px;
  margin: 1rem 0 0;
  text-align: left;
  padding: .75rem 1rem;
  border-left: 4px solid #2E9C80;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
}
#footer .contact-form form .form-message.is-error {
  border-left-color: #b3261e;
  color: #b3261e;
}
#footer .contact-form form .form-message[hidden] {
  display: none;
}
#footer .contact-form form button.Submit[disabled] {
  opacity: .6;
  cursor: wait;
}
