There currently are a variety of options to travel by night train from Zams (Austria) to Hamburg (Germany), taking between approximately 13 and 16 hours: Namely the UEX 1300, the UEX 1302, the UEX 1304, the UEX 1308 and the UEX 1306. These lines are operated by UEX.
UEX (Urlaubs-Express) operates seasonal night trains, including car-carrying trains (Autoreisezüge), from Germany to Austria and back.
You can choose a seat, a couchette berth, a whole couchette compartment, a private sleeper compartment or connected sleeper cabins.
Cars can be taken on the train at the car terminals only, and the vehicle is booked together with the ticket.
There is a free ski compartment. Drinks and snacks are available in the bistro on board.
Children with their own seat or bed pay a reduced fare.