Bamberg is about 415 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Wedel.
How far is Hana from the ocean
How far is Calistoga from the ocean
How far is Atlanta from the ocean
How far is Winter Park from the ocean
How far is Key West from the ocean
How far is Fort Lauderdale from the ocean
How far is Durham, NC from the ocean
How far is Amarillo from the ocean
How far is Richmond from the ocean
How far is Coimbra from the ocean