/* NOVARIS CLEAN – Startseite: Maschine rechts neben dem Text, WhatsApp pulsierend */

@keyframes novarisHomeWhatsappPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(214, 175, 89, .58), 0 8px 20px rgba(5, 5, 5, .42);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(214, 175, 89, 0), 0 10px 24px rgba(5, 5, 5, .48);
  }
}

@keyframes novarisHomeWhatsappRing {
  0% {
    opacity: .86;
    transform: scale(.96);
  }
  70%, 100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

body:not(.is-contact-route) a#novaris-global-whatsapp {
  animation: novarisHomeWhatsappPulse 2.2s ease-in-out infinite !important;
  transform-origin: center center !important;
}

body:not(.is-contact-route) a#novaris-global-whatsapp::after {
  content: "" !important;
  position: absolute !important;
  inset: -5px !important;
  border: 1px solid rgba(255, 230, 145, .94) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  animation: novarisHomeWhatsappRing 2.2s ease-out infinite !important;
}

@media (max-width: 767px) {
  /* Das komplette Bild rückt nach rechts; dadurch bleibt ANSPRÜCHE links vollständig lesbar. */
  #root section[data-loc="client/src/pages/Home.tsx:66"] img[src*="novaris-machine-master-v1"] {
    object-position: 20% center !important;
    translate: 72px 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.is-contact-route) a#novaris-global-whatsapp,
  body:not(.is-contact-route) a#novaris-global-whatsapp::after {
    animation: none !important;
  }
}
