/* Phase 9 – Kontaktformular im Frosted-Glas-Look (25.11.2026, Wunsch Granit).
   Nur Darstellung: Felder, Texte, Versand unverändert. Rückbau: Datei + Zeile in functions.php löschen. */

/* Hintergrund mit weichen Farbflächen, damit das Glas sichtbar wird (bewegt sich langsam) */
.contact-section { position: relative; isolation: isolate; overflow: hidden; background: #eef4ef !important; }
.contact-section::before {
  content: ''; position: absolute; inset: -10%; width: auto; height: auto; z-index: -1; pointer-events: none;
  background:
    radial-gradient(32% 40% at 10% 20%, rgba(62,189,90,.55), transparent 70%),
    radial-gradient(30% 38% at 92% 18%, rgba(120,214,160,.55), transparent 70%),
    radial-gradient(34% 42% at 70% 90%, rgba(62,189,90,.45), transparent 70%),
    radial-gradient(28% 36% at 22% 88%, rgba(12,12,12,.12), transparent 70%);
  animation: rf-contact-drift 24s ease-in-out infinite alternate;
}
@keyframes rf-contact-drift { to { transform: translate3d(3%, -2%, 0) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .contact-section::before { animation: none; } }

/* Glas-Karten: Formular + Antwort-Versprechen */
.contact-section .repair-form, .contact-section .response-promise {
  background: linear-gradient(135deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.38) 50%, rgba(230,249,236,.5) 100%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: 0 12px 36px rgba(30,90,45,.12), inset 0 1px 0 rgba(255,255,255,.9);
}
.contact-section .repair-form { border-radius: 22px; }

/* Felder und Geräte-Chips: helles Glas, beim Fokus fast weiß (gut lesbar) */
.contact-section .repair-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.contact-section .repair-form select, .contact-section .repair-form textarea, .contact-section .device-chip {
  background-color: rgba(255,255,255,.62) !important;
  border-color: rgba(255,255,255,.95) !important;
  box-shadow: 0 1px 4px rgba(30,90,45,.06);
}
.contact-section .repair-form input:focus, .contact-section .repair-form select:focus, .contact-section .repair-form textarea:focus {
  background-color: rgba(255,255,255,.95) !important; border-color: var(--green) !important;
}
.contact-section .device-chip:hover { background-color: rgba(230,249,236,.9) !important; border-color: var(--green) !important; }
.contact-section .device-chip.active, .contact-section .device-chip.selected { background-color: var(--green) !important; border-color: var(--green) !important; color: #0c0c0c !important; font-weight: 700; }
.contact-section .device-chip.selected .ri, .contact-section .device-chip.selected svg { color: #0c0c0c; stroke: currentColor; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .contact-section .repair-form, .contact-section .response-promise { background: rgba(255,255,255,.95) !important; }
}
