/* Mobil-/Tablet-Anpassungen nur fuer /kontaktformular/ (gilt nur, wenn in Media-Queries <=1024px, ausser bewusst global) */

@media (max-width: 1024px) {
  body .tlm-contact-hero::before { display: none; }
  body .tlm-contact-hero__card span,
  body .tlm-contact-panel__facts span { text-transform: none; letter-spacing: 0; font-size: 17px; font-weight: 700; max-width: none; }
  body .tlm-contact-panel p, body .tlm-contact-hero p { overflow-wrap: break-word; }
  body .tlm-form label { font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0 !important; margin-bottom: 8px; line-height: 1.3; }
  body .tlm-contact-formcard .tlm-form input,
  body .tlm-contact-formcard .tlm-form select,
  body .tlm-contact-formcard .tlm-form textarea { font-size: 16px; min-height: 52px; padding: 13px 14px; }
  body .tlm-contact-formcard .tlm-form select { padding-right: 40px; }
  body .tlm-contact-formcard .tlm-form textarea { min-height: 160px; }
  body .tlm-contact-formcard .tlm-form__submit { width: 100%; justify-self: stretch; min-height: 56px; font-size: 17px; font-weight: 600; }
  body .tlm-contact-formcard .tlm-form__note { font-size: 14px; line-height: 1.5; max-width: none; color: #5d6568; }
  body .tlm-contact-formcard .tlm-form__note a { display: inline-block; padding: 8px 0; }
  body .tlm-form-status { font-size: 16px; line-height: 1.5; }
}
@media (max-width: 600px) {
  body .tlm-contact-formcard { padding: 24px 20px; }
}

/* Review: Deko-Kreise in den Karten lagen ueber Text ("Naechste Schritte klaeren", Feld "Name") */
@media (max-width: 1024px) {
  body .tlm-contact-panel::after,
  body .tlm-contact-formcard::before,
  body .tlm-contact-hero__card::after { display: none; }
}

/* ===== Feldfehler (alle Breiten) ===== */
body .tlm-form .tlm-invalid { border-color: #E53E3E !important; }
body .tlm-form .tlm-invalid:focus { box-shadow: 0 0 0 3px rgba(229,62,62,0.2); }
body .tlm-form .tlm-field-error { margin-top: 6px; color: #9B2C2C; font-size: 14px; line-height: 1.4; font-weight: 400; text-transform: none; letter-spacing: 0; }
