/* =========================================================================
   Labrador Nino – Pfotenspur-Animation (November 2026)
   Reines CSS/SVG, keine externen Dateien, kein JavaScript → CSP bleibt intakt.
   Keine Animation der Nino-Fotos.
   Nur auf der Startseite (Element .pfotenspur), rein dekorativ (aria-hidden).
   Läuft einmal nach dem Laden. Bei «Bewegung reduzieren» ist sie aus.
   ========================================================================= */

/* Pfotenspur im Titelbereich (nur Startseite) */
.pfotenspur{
  display:block;position:absolute;left:0;width:50%;bottom:10px;height:84px;
  pointer-events:none;overflow:hidden;z-index:1;
}
.pfotenspur svg{
  position:absolute;bottom:0;width:44px;height:44px;fill:#F3CBA6; /* etwas heller als --warm-soft: mehr Kontrast auf Waldgrün */
  opacity:0;transform:rotate(90deg);
  animation:pfote 4.5s ease-out .6s 1 both; /* läuft nur EINMAL nach dem Laden */
}
/* abwechselnd links/rechts versetzt wie echte Schritte */
.pfotenspur svg:nth-child(odd){bottom:34px}
.pfotenspur svg:nth-child(1){left:6%; animation-delay:0s}
.pfotenspur svg:nth-child(2){left:16%;animation-delay:.45s}
.pfotenspur svg:nth-child(3){left:26%;animation-delay:.9s}
.pfotenspur svg:nth-child(4){left:36%;animation-delay:1.35s}
.pfotenspur svg:nth-child(5){left:46%;animation-delay:1.8s}
.pfotenspur svg:nth-child(6){left:56%;animation-delay:2.25s}
.pfotenspur svg:nth-child(7){left:66%;animation-delay:2.7s}
.pfotenspur svg:nth-child(8){left:76%;animation-delay:3.15s}
@keyframes pfote{
  0%{opacity:0;transform:rotate(90deg) scale(.6)}
  12%{opacity:.85;transform:rotate(90deg) scale(1)}
  100%{opacity:.4;transform:rotate(90deg) scale(1)} /* bleibt als zarte Spur stehen */
}
/* Auf dem Handy liegt die Spur unter dem Text (nicht auf dem Foto), nur 5 Abdrücke */
@media(max-width:900px){
  .pfotenspur{position:relative;bottom:auto;width:auto;order:2;margin:-18px 0 0;height:68px}
  .pfotenspur svg{width:40px;height:40px}
  .pfotenspur svg:nth-child(odd){bottom:26px}
  .pfotenspur svg:nth-child(n+6){display:none}
  .pfotenspur svg:nth-child(1){left:6%}
  .pfotenspur svg:nth-child(2){left:24%}
  .pfotenspur svg:nth-child(3){left:42%}
  .pfotenspur svg:nth-child(4){left:60%}
  .pfotenspur svg:nth-child(5){left:78%}
}

/* Bewegung reduzieren: Pfotenspur aus */
@media (prefers-reduced-motion: reduce){
  .pfotenspur{display:none}
  .pfotenspur svg{animation:none!important;opacity:0!important}
}
