There currently are a variety of options to travel by night train from Würzburg (Germany) to Hamburg (Germany), taking between approximately 6 and 9 hours: Namely the UEX 1850 and the ICE 1080. These lines are operated by UEX and Deutsche Bahn.
UEX (Urlaubs-Express) operates seasonal night trains, including car-carrying trains (Autoreisezüge), from Germany to Austria and back.
Options range from seats and shared couchettes to private couchette compartments, sleeper compartments and connected sleeper cabins.
Cars can be taken on the train at the car terminals only, and the vehicle is booked together with the ticket.
Skis travel free in the ski compartment. A bistro on board sells drinks and snacks.
Children with their own seat or bed pay a reduced fare.
Deutsche Bahn (DB) exited the actual night train business in 2016. However, it operates around a dozen Intercity and Eurocity trains that run exclusively at night.
In these night trains, there are only first and second class seats. The lights stay on all the time and there is no way to recline the seats.