I suggest taking the ICE/EC from Hamburg to Copenhagen via Puttgarden, because you will get the unique experience of going onto a ferry on the train, I've live close to the Danish part of that route, and have traveled on these ICEs on the ferry before, wonderful and unique experience! Dont worry...