Hi there Amy, the airport is less than 10 miles away from the port of Hamburg, and even allowing for heavy traffic in the city, the journey shouldn't take more than about 30 minutes.
There is also a very frequent train service between Hamburg & the airport, which again takes about half an hour.
Hope this helps,
Alan & Katrina
Last: P&O Oceana December 2016
Next: NCL Jade August 2017
Then: P&O Ventura December 2017
Golden, Grand(2), Caribbean, Royal, Sea(4+1 aborted)
Adonia(4+2), Arcadia, Artemis(2), Aurora(5), Azura(2), Britannia, Oceana(4), Oriana(12), Ventura(2), Victoria(5)
QM2(2), QE2(9), QV(7), QE, Caronia(2),
Oceania Nautica, Minerva, Minerva II, Fred.Olsen(8), NCL Jade, =X= Eclipse, HAL Ryndam, Aza.Journey, CMV Magellan