How to buy a ticket for train in Germany