The train rattled and banged across alpine meadows, rocky cliffs and through tunnels carved through the stone.