Freiburg im Breisgau is about 405 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Arenzano.
How far is Aspen from the ocean
How far is Salem, MA from the ocean
How far is Duluth, MN from the ocean
How far is Wisconsin Dells from the ocean
How far is Half Moon Bay from the ocean
How far is Sausalito from the ocean
How far is Virginia Beach from the ocean
How far is Monterey from the ocean
How far is Ojai from the ocean
How far is Avignon from the ocean