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: Cunard Queen Victoria January 2016
Next: Oceania Nautica Aug 2016
Then: P&O Oriana August 2016
Then: P&O Oceana December 2016
Golden, Grand(2), Caribbean, Royal, Sea(4+1 aborted)
Adonia(4+2), Arcadia, Artemis(2), Aurora(5), Azura(2), Britannia, Oceana(3), Oriana(12), Ventura(2), Victoria(5)
QM2(2), QE2(9), QV(7), QE, Caronia(2), Minerva, Minerva II, Fred.Olsen(8), NCL Jade, =X= Eclipse, HAL Ryndam, Aza.Journey