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