/* ALTCHA integration for the contact form. */
.anfrage-formular .widget-altcha {
  margin: 0 0 1rem;
  padding-top: .4rem;
}

/* Keep the last fields of both desktop columns on roughly the same baseline. */
@media (min-width: 48rem) {
  .anfrage-formular .widget-textarea {
    height: 22rem;
  }

  .anfrage-formular .ce_columns:first-child > .widget + .widget {
    margin-top: 1.3rem;
  }
}

.anfrage-formular .widget-altcha > label {
  display: none;
}

.anfrage-formular altcha-widget {
  display: block;
  width: 100%;
  --altcha-max-width: 100%;
  --altcha-border-radius: 0;
  --altcha-border-width: 1px;
  --altcha-color-base: rgba(255, 255, 255, .55);
  --altcha-color-border: #878787;
  --altcha-color-border-focus: #afca0b;
  --altcha-color-active: #005848;
  --altcha-color-text: #3c3b3c;
  --altcha-color-footer-bg: rgba(175, 202, 11, .08);
}

.anfrage-formular .widget-altcha:focus-within > label {
  color: #005848;
}

@media (prefers-reduced-motion: reduce) {
  .anfrage-formular altcha-widget {
    scroll-behavior: auto;
  }
}
