/* Taktile Rueckmeldung (Angabe Bauherr 2026-11-07: „Mache generell Speichern- oder Löschen-Buttons taktil bzw. alle Buttons, die eine
   Aktion auslösen“): jeder Knopf gibt beim Druecken sichtbar nach (eingedrueckt, etwas dunkler); Speichern/Ausfuehren (primaer, Absenden)
   und Loeschen (gefahr) bestaetigen den Klick mit einem kurzen Ring - gruen bzw. rot. Dazu taktil.js: Vibration bzw. iOS-Haptik. */
button:not(:disabled), .knopf, input[type=submit]:not(:disabled), input[type=button]:not(:disabled), summary.knopf {
  transition: transform .07s ease, box-shadow .07s ease, filter .07s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:not(:disabled):active, .knopf:active, input[type=submit]:not(:disabled):active, input[type=button]:not(:disabled):active, summary.knopf:active, .taktil-druck {
  transform: translateY(1px) scale(.96);
  filter: brightness(.9);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .22) !important;
}
.taktil-ok { animation: taktil-ok .5s ease-out; }
.taktil-weg { animation: taktil-weg .5s ease-out; }
@keyframes taktil-ok { 0% { box-shadow: 0 0 0 0 rgba(30, 90, 168, .55); } 100% { box-shadow: 0 0 0 10px rgba(30, 90, 168, 0); } }
@keyframes taktil-weg { 0% { box-shadow: 0 0 0 0 rgba(201, 42, 42, .55); } 100% { box-shadow: 0 0 0 10px rgba(201, 42, 42, 0); } }
@media (prefers-reduced-motion: reduce) {
  button, .knopf, input[type=submit], input[type=button], summary.knopf { transition: none; }
  .taktil-ok, .taktil-weg { animation: none; }
}
