>>1206448I think you need more time if you want to do all of this.
If you go from Denmark to Hamburg you might stop over in Lubeck. It's an old town with some lovely medieval/renaissance architecture. try to include one or two scenic routes in your itinerary.
https://www.eurail.com/en/get-inspired/trains-europe/scenic-train-routes