Dubman I can’t speak for every German city, but Berlin is still a bit different from a lot of Germany. If you go to a more traditional, well-to-do west German city such as Munich then it’s not an issue and the streets are clean.
Berlin still has a lot of feckless people, or ones whose liberal/laissez-faire attitudes also extend to their dogs.