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 Charlottesville from the ocean
How far is Key West from the ocean
How far is Eureka, CA from the ocean
How far is South Lake Tahoe from the ocean
How far is Telluride from the ocean
How far is Culver City from the ocean
How far is Des Moines from the ocean
How far is Taos from the ocean
How far is St Maarten from the ocean
How far is San Carlos de Bariloche from the ocean