/*Special_ID-Anpassungen*/

/*formular*/

.px-form {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.no-js {
  #contactform {
    display: none;
  }
}

#contactform {

  h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .field {
    margin-bottom: 14px;

    label {
      display: block;
      font-size: 16px;
      color: var(--ink-soft);
      margin-bottom: 6px;
      font-weight: 500;
    }

    input,
    select,
    textarea {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid var(--line);
      font-size: 17px;
      font-family: inherit;
      background: var(--bg);
      transition: border-color 0.2s;
      color: var(--ink);
    }
    select {
      padding: 12px 14px;
    }

    textarea {
      resize: vertical;
      height: 80px;
    }

    &.privacy label {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      margin-bottom: 18px;

      input {
        width: auto;
        margin-top: 3px;
        accent-color: var(--gold);
        margin-right: 0;
      }

      span {
        font-size: 14px;
        color: var(--muted);
        margin: 0;
        line-height: 1.5;
      }
    }

    .btn {
      width: 100%;
      justify-content: center;
    }

    .pflicht {
      margin-top: 10px;
      font-size: 15px;
    }

    &.altcha-container {
      margin-bottom: 20px;

      .altcha {
        border-radius: 0;
      }

      label {
        margin: 0;
      }
    }
  }

  & altcha-widget {
    --altcha-border-width: 1px;
    --altcha-border-radius: 5px;
    --altcha-color-base: var(--backgroundColor);
    --altcha-color-border: var(--formBorderColor);
    --altcha-color-text: var(--fontColor);
    --altcha-color-border-focus: var(--mainColor);
    --altcha-color-error-text: var(--warningColor);
    --altcha-color-footer-bg: var(--backgroundColor);
    --altcha-max-width: 300px;

    & .altcha-label {
      font-size: 14px;
      white-space: nowrap;
    }

    & .altcha-logo {
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
  }
}

.success_mail,
.noscript_mail {
  H3 {
    padding: 50px 4%;
    background: #f7f7f7;
  }
}
