That has pretty much changed now. I rarely use cash in Berlin. About 2-3 years already...

Berlin is very different from the rest of Germany.

But not how you think, in this instance. I think Berlin has more places of questionable legality which require cash for presumably tax avoidance reasons.