Gradient limits and safety factor of Alpine ibex locomotion