/* =====================================================================
   Formulare + Anfrage-Strecken am Handy (Runde 2, 2026-10-02)
   Eingebunden auf: kontakt, demo, ueber-uns (Kontaktformular), konfigurator + konfigurator-* (DE+EN).
   Nur @media bis 760 px (Anfrageliste-Leiste bis 1023 px, wie in style.css). Desktop unverändert.
   ===================================================================== */

@media (max-width: 760px) {
  /* Formular ohne Karte in der Sektion: kein doppelter Innenabstand, Felder volle Breite */
  body:not(.is-home) .kontakt-anfrage form.contact-form { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .contact-form .form-group label { font-size: 14px; }
  /* Einzelne .form-group ohne .form-row (Anliegen, Nachricht) bekam keinen Abstand nach unten */
  .contact-form > .form-group { margin-bottom: 16px; }
  .contact-form .form-group input:not([type="checkbox"]):not([type="radio"]),
  .contact-form .form-group select { min-height: 48px; }

  /* Einwilligung: größeres Kästchen, ganze Zeile tippbar */
  .contact-form .form-checkbox { gap: 12px; padding: 8px 0; }
  .contact-form .form-checkbox input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
  .contact-form .form-checkbox label { font-size: 14px; line-height: 1.5; }

  /* Anliegen-Mehrfachauswahl (kontakt): Zeilen 44 px hoch */
  .form-group label.contact-anliegen-opt { min-height: 44px; font-size: 16px; }
  .contact-form .form-group .contact-anliegen-opt input { width: 22px; height: 22px; }
  .contact-anliegen-grid { gap: 0 18px; }

  /* Senden-Knopf volle Breite */
  .contact-form [type="submit"] { width: 100%; justify-content: center; }

  /* Kleintext nicht unter 12 px */
  .kontakt-info-label, .kontakt-hero-mail-label { font-size: 12px; }
  .kontakt-map-link { font-size: 13px; padding: 12px 16px; }
  .kontakt-info-row a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  [data-consent-placeholder] button { min-height: 44px; }
}
/* Kontakt-Kacheln oben: Anheben nur mit echter Maus */
@media (hover: none) {
  .kontakt-hero-mail:hover { transform: none; }
}

/* ---------- Anfrage-Strecken (konfigurator*.html) ---------- */
@media (max-width: 760px) {
  .konfig-hub-card-eyebrow { font-size: 12px; }
  .konfig-option-meta,
  [data-konfig-key="academy"] .konfig-option-meta { font-size: 13px; }
  .ac-konfig-price-label, .ac-konfig-price-note, .ac-konfig-disclaimer { font-size: 12px; }
  /* Zurück-Link und Weiter-Knopf mit Daumen-Tippfläche */
  .konfig-back { display: inline-flex; align-items: center; min-height: 44px; }
  .konfig-next-btn { display: flex; justify-content: center; width: 100%; min-height: 48px; font-size: 16px; }
  .konfig-slider-ok { min-height: 44px; }
}
@media (hover: none) {
  .konfig-next-btn:hover span { transform: none; }
}

/* Anfrageliste-Leiste unten (Drawer, style.css bis 1023 px): Tippflächen 44 px, Zähler neben dem Titel */
@media (max-width: 1023px) {
  .konfig-summary-header { justify-content: flex-start; gap: 10px; }
  .konfig-summary-header .konfig-summary-count { margin-left: 0; }
  .konfig-summary-close { width: 44px; height: 44px; margin-left: auto; margin-right: -10px; }
  .konfig-summary-item { align-items: center; font-size: 15px; }
  .konfig-summary-remove { width: 44px; height: 44px; margin-right: -12px; font-size: 20px; }
  .konfig-summary-group { font-size: 12px; }
  .konfig-summary-reset { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .konfig-summary-footer { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
