I see we're not discussing the same thing. I was talking about the cost of solar and storage, Germany uses more wind and a lot of biomass and hydro.
But I'm happy to discuss this too. That 50% figure is a peak (achieved when conditions were favorable) and ignores imported electricity.
According to [1], renewables accounted for 41% of power production in Germany in 2021, but only 16.1% of primary energy consumption.
AIUI, that difference comes from (a) imports and (b) the fact that primary energy consumption also includes heating and transport, two sectors that often aren't directly powered by electricity yet, but which must be before an economy can stop consuming non-renewable energy.