A Curved Elevator

At the Neues Rathaus in Hanover, Germany, there’s an elevator that takes visitors to the top of the dome on the building, running along a curved path. How do you make an elevator go in a curve? And how do they keep the floor level along the way? They don’t!