Europe isn’t a monolith and some countries are weird about cards. Here’s two examples.
In Germany, cash is strongly preferred or was the last time I was there a few years ago.
In Norway, cash is nigh nonexistent.
Don’t mistake Germany as representative of the median European country when it comes to card transactions.