It takes about eight hours to get to Wien from Venezia. Unfortunately you hadn't yet decided where you were going when you headed for Venezia's trains station, so when you did decide on Wien, there wasn't time to get a couchette. So you'll sleep sitting up tonight.

Exit the train