They cannot refuse to take a card, they have the facility to take them, what are they going to do..? Call the police and say the customer wants to pay but I want cash ..?That’s not my experience,when they make it quite clear no cards accepted you are not in a position to argue and l wouldn’t.
I am half German and been to Germany many times over 61yrs so perhaps I don’t look like a tourist…