Hamburg is about 15 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Wedel.
How far is Delray Beach from the ocean
How far is La Jolla from the ocean
How far is Billings from the ocean
How far is Sonoma from the ocean
How far is Little Rock from the ocean
How far is Carmel from the ocean
How far is Ann Arbor from the ocean
How far is Steamboat Springs from the ocean
How far is Del Mar from the ocean
How far is Pondicherry from the ocean