/* Originales Schaenzchen-Kontaktformular, DE / EN / NL.
 * Die Werte entsprechen dem freigegebenen Theme (styles.css 16.1.0).
 * Unlayered und lokal gekapselt, damit Fusion das Theme in @layer site
 * nicht ueberschreibt. Der Formularanbieter steuert Versand und Meldungen.
 */
body.schaenzchen-site .contact-form.schz-connected-form {
  width:100%;
  min-width:0;
  max-width:100%;
  padding:35px;
  border:1px solid var(--line,#dce3da);
  border-radius:0;
  background:var(--paper,#f7f8f4);
  color:var(--ink,#193a31);
  font-family:var(--sans,Arial,Helvetica,sans-serif);
  font-size:var(--text-body-size,18px);
  line-height:1.65;
  box-sizing:border-box;
  overflow-wrap:anywhere;
}

body.schaenzchen-site .contact-form.schz-connected-form :is(.fusion-form, .fusion-form-form-wrapper, .fusion-form-wrapper, .wpforms-container, .wpforms-form) {
  width:100%;
  min-width:0;
  max-width:100%;
  margin:0;
  box-sizing:border-box;
}

/* Vor Initialisierung der Originaloberflaeche bleibt auch das unveraenderte
 * Providerformular lesbar. Keine Abhaengigkeit von Avada-Themevariablen.
 */
body.schaenzchen-site .contact-form.schz-connected-form :is(.fusion-fullwidth, .fusion-builder-row, .fusion-layout-column, .fusion-column-wrapper) {
  width:100%;
  min-width:0;
  max-width:100%;
  padding:0;
  margin:0;
  border:0;
  box-shadow:none;
  box-sizing:border-box;
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-fullwidth {
  background:transparent;
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-builder-row {
  /* Fusion setzt die negativen Gridraender als Inline-Styles. */
  margin-left:0 !important;
  margin-right:0 !important;
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-column-wrapper {
  gap:0;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(.fusion-form-field, .fusion-form-field-wrapper, .fusion-form-field-group, .wpforms-field) {
  min-width:0;
  max-width:100%;
  margin:0 0 20px;
  box-sizing:border-box;
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-form-submit-field {
  margin:0;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(label, .fusion-form-label, .wpforms-field-label) {
  display:block;
  margin:0 0 7px;
  color:var(--ink,#193a31);
  font-family:var(--sans,Arial,Helvetica,sans-serif);
  font-size:var(--text-label-size,14px);
  font-weight:700;
  line-height:1.65;
  letter-spacing:.2px;
  text-transform:none;
}

/* :where() verhindert, dass die Typausschluesse die spaetere Textarea-Regel
 * in der Spezifitaet ueberstimmen. Verborgene Providerfelder bleiben verborgen.
 */
body.schaenzchen-site .contact-form.schz-connected-form :is(input:where(:not([type=hidden], [type=checkbox], [type=radio], [type=submit], [type=button], [type=file], [type=range], [type=color], [type=image])), select, textarea) {
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  height:auto;
  min-height:var(--control-height,52px);
  padding:12px 13px;
  border:1px solid var(--input,#c9d2c6);
  border-radius:var(--radius,6px);
  background:#fff;
  color:var(--ink,#193a31);
  font-family:var(--sans,Arial,Helvetica,sans-serif);
  font-size:16px;
  line-height:1.5;
  box-sizing:border-box;
  box-shadow:none;
  outline-offset:2px;
  appearance:auto;
}
body.schaenzchen-site .contact-form.schz-connected-form textarea {
  min-height:130px;
  resize:vertical;
}

/* Die Originalvorlage besitzt keine dekorativen Icons in den Eingabefeldern. */
body.schaenzchen-site .contact-form.schz-connected-form .fusion-form-input-with-icon > i {
  display:none;
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-form-input-with-icon .fusion-form-input {
  /* Fusion deklariert seinen Icon-Einzug mit !important. */
  padding-left:13px !important;
}

/* Native Originalstruktur; vorhandene Fusion-Felder liegen in .field-Slots. */
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form h2 {
  margin:0 0 7px;
  color:var(--ink,#193a31);
  font-family:var(--serif,"Noto Serif",Georgia,"Times New Roman",serif);
  font-size:33px;
  font-weight:400;
  line-height:1.15;
  letter-spacing:-1.6px;
  text-wrap:balance;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-intro {
  margin:0 0 24px;
  font-size:var(--text-meta-size,14px);
  line-height:1.65;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  min-width:0;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-row {
  display:contents;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-full {
  grid-column:1 / -1;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form :is(.field, .field > .fusion-form-field) {
  display:grid;
  gap:7px;
  min-width:0;
  max-width:100%;
  margin:0;
  padding:0;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .field :is(label, .fusion-form-label-wrapper) {
  margin:0;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-privacy {
  margin:22px 0 15px;
  font-size:var(--text-meta-size,14px);
  line-height:1.7;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-privacy a {
  color:inherit;
  text-decoration:underline;
}
body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .schz-original-submit {
  margin:0;
  padding:0;
}

/* Originalbutton; die Fusion-Klassen fuer echten Versand bleiben erhalten. */
body.schaenzchen-site .contact-form.schz-connected-form :is(.btn, .fusion-button, .fusion-form-submit, button[type=submit], input[type=submit], .wpforms-submit) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:auto;
  min-width:min(var(--button-width,272px),100%);
  max-width:100%;
  min-height:var(--control-height,52px);
  margin:0;
  padding:12px 20px;
  border:1px solid var(--forest,#10372d);
  border-radius:var(--radius,6px);
  background:var(--forest,#10372d);
  color:#fff;
  font-family:var(--sans,Arial,Helvetica,sans-serif);
  font-size:var(--button-font-size,17px);
  font-weight:600;
  line-height:1.4;
  letter-spacing:normal;
  text-align:center;
  text-transform:none;
  text-decoration:none;
  box-sizing:border-box;
  box-shadow:none;
  appearance:none;
  cursor:pointer;
  transition:background .18s,transform .18s;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(.btn, .fusion-button, .fusion-form-submit, button[type=submit], input[type=submit], .wpforms-submit):hover {
  background:var(--forest-deep,#0b2a22);
  color:#fff;
  transform:translateY(-1px);
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-button-text {
  color:inherit;
  font:inherit;
  letter-spacing:inherit;
}
body.schaenzchen-site .contact-form.schz-connected-form .btn .icon {
  width:20px;
  height:20px;
  flex-shrink:0;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(input, select, textarea, button, a):focus-visible {
  outline:3px solid var(--ring,#b78742);
  outline-offset:4px;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(button, input[type=submit]):disabled {
  opacity:.65;
  cursor:wait;
}

/* Allgemeine Provider-Unterstuetzung ohne Sichtbarkeitsregeln fuer Meldungen. */
body.schaenzchen-site .contact-form.schz-connected-form :is(.fusion-form-checkbox, .fusion-form-radio, .wpforms-field-checkbox, .wpforms-field-radio) label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-weight:400;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(input[type=checkbox], input[type=radio]) {
  width:auto;
  min-width:16px;
  margin:3px 0 0;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(.error-message, .fusion-form-error, .fusion-form-field-error, .wpforms-error, .wpforms-error-container) {
  color:var(--destructive,#a33029);
  font-size:14px;
  line-height:1.5;
}
body.schaenzchen-site .contact-form.schz-connected-form .error-message {
  margin:12px 0;
}
body.schaenzchen-site .contact-form.schz-connected-form .error-message:empty {
  display:none;
}
body.schaenzchen-site .contact-form.schz-connected-form :is(.fusion-form-success, .fusion-alert-success, .fusion-form-response-success, .wpforms-confirmation-container) {
  padding:26px;
  border:1px solid #c5d1bb;
  background:#fff;
  color:var(--ink,#193a31);
}
body.schaenzchen-site .contact-form.schz-connected-form .fusion-form-response-error {
  color:var(--destructive,#a33029);
}

/* Der Provider und die Anlasslogik bestimmen, wann Elemente sichtbar sind. */
body.schaenzchen-site .contact-form.schz-connected-form [hidden] {
  display:none !important;
}

@media (max-width:960px) {
  body.schaenzchen-site .contact-form.schz-connected-form {
    padding:25px;
  }
}
@media (max-width:720px) {
  body.schaenzchen-site .contact-form.schz-connected-form {
    padding:25px 21px;
  }
  body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form h2 {
    font-size:31px;
  }
  body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-grid {
    gap:16px;
  }
  body.schaenzchen-site .contact-form.schz-connected-form :is(.btn, .fusion-button, .fusion-form-submit, button[type=submit], input[type=submit], .wpforms-submit) {
    white-space:normal;
    text-align:left;
  }
}
@media (max-width:479px) {
  body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-grid {
    grid-template-columns:minmax(0,1fr);
    gap:18px;
  }
}
@media (max-width:380px) {
  body.schaenzchen-site .contact-form.schz-connected-form {
    padding:22px 17px;
  }
  body.schaenzchen-site .contact-form.schz-connected-form.schz-original-form .form-grid {
    gap:14px;
  }
}
