/* ===== Lehké animace (jen pro ty, kdo nemají zapnuté "omezit pohyb") ==============
   Vstup hrdiny po načtení, jemné dýchání pozadí fotky, kývání nápisu na odznaku
   „Další aktivity" a stisk tlačítek. Všechno jsou čistě CSS animace s `backwards`
   (po doběhnutí po nich nic nezůstane) a používají samostatné vlastnosti `translate`
   / `scale` / `rotate`, takže se nepletou s `transform` (hover, náklon, parallax). */
@media (prefers-reduced-motion: no-preference) {
  @keyframes mv-rise  { from { opacity: 0; translate: 0 22px; } }
  @keyframes mv-pop   { from { opacity: 0; translate: 0 18px; scale: .92; } }
  @keyframes mv-bg    { from { scale: 1.08; } }
  @keyframes mv-wobble { 0%, 100% { rotate: -7deg; } 50% { rotate: 7deg; } }
  :root { --mv-ease: cubic-bezier(.22,.61,.36,1); }

  /* podstránky: drobečková, nadpis, text, tlačítka vyplavou postupně */
  .hero-body .hero-crumb   { animation: mv-rise .7s var(--mv-ease) .05s backwards; }
  .hero-body h1            { animation: mv-rise .8s var(--mv-ease) .14s backwards; }
  .hero-body .hero-text    { animation: mv-rise .8s var(--mv-ease) .26s backwards; }
  .hero-body .hero-text + .hero-text { animation-delay: .34s; }
  .hero-body .hero-actions { animation: mv-rise .8s var(--mv-ease) .42s backwards; }
  .sub-hero .hero-bg       { animation: mv-bg 1.8s var(--mv-ease) backwards; }

  /* úvodní stránka: nápis, podtitul a dlaždice aktivit (desktop i telefon) */
  .st-line1, .ms-wordmark  { animation: mv-rise .8s var(--mv-ease) .08s backwards; }
  .st-line2, .ms-line2     { animation: mv-rise .8s var(--mv-ease) .2s backwards; }
  .st-sub, .ms-sub         { animation: mv-rise .8s var(--mv-ease) .32s backwards; }
  .stage-tile, .ms-ico     { animation: mv-pop .7s var(--mv-ease) backwards; animation-delay: calc(.4s + var(--i, 0) * 70ms); }
  .stage-tile.s1, .ms-ico:nth-child(1) { --i: 0; } .stage-tile.s2, .ms-ico:nth-child(2) { --i: 1; }
  .stage-tile.s3, .ms-ico:nth-child(3) { --i: 2; } .stage-tile.s4, .ms-ico:nth-child(4) { --i: 3; }
  .stage-tile.s5, .ms-ico:nth-child(5) { --i: 4; } .stage-tile.s6, .ms-ico:nth-child(6) { --i: 5; }
  .more-activities .ma-trigger { animation: mv-pop .7s var(--mv-ease) .6s backwards; }

  /* odznak „Další aktivity": nápis se pomalu pohupuje kolem kruhu */
  .ma-ring-text { transform-box: view-box; transform-origin: 72px 72px; animation: mv-wobble 6s ease-in-out infinite; }
  .more-activities:hover .ma-ring-text, .more-activities.is-open .ma-ring-text { animation-play-state: paused; }

  /* stisk: tlačítka se na okamžik zmenší, ať je cítit klepnutí */
  .btn:active, .form-submit:active, .menu-cta:active, .menu-maps:active { transform: scale(.97); transition-duration: .1s; }
}
