Strange, I'm living in Germany, hailing from Baden-Württemberg and now been living in Northrhine-Westphalia for almost ten years, and I cannot remember a single restaurant that doesn't accept credit cards. And I'm paying almost everything with credit card.
Sure, the ice cream stand at the swimming pool only accepts cash, as does the local discotheque, but restaurants? Never a problem.