Unfortunately, you seem to have misread the report you quoted. Germany's not-so-secret is lignite, a dirtier kind of coal supplying 16.8% of its electricity. Lignite together with traditional coal at 7.3% supplied 24.1% of Germany's electricity. [0]
Otherwise the headline here is that renewables are already the dominant source of energy in the German market. Gas is the only thing growing in market size currently other than renewables and that's mostly just offsetting the decline of coal and nuclear. Overall, renewables grow faster. Otherwise, many EV owners also put solar on their roofs and/or buy power from renewable sources or charge at public chargers hooked up to renewable sources. So, the notion that EVs are powered by coal is very dated at this point.