Fair, I should have clarified that I am mostly talking about supermarkets. These close fairly early in Germany on weekdays (where here they are often up until 9 in the evening) and are all closed on Sundays.
In Berlin, depending on where you are, you even got your friendly Späti around the corner which is open around the clock, where you can get food, drinks, bread and some hygiene products.
It really varies regionally.