Batteries, having a mixed grid of renewables, and new advances in nuclear solves this
To scale battery storage to a level that is capable of bridging, say, 48 hours of "Dunkelflaute" (darkness and no wind) on a regional scale (e.g. the entire Scandinavia) is probably unrealistic. Just the amount of lithium needed would be insane. And there were longer Dunkelflautes in recent history.
New advances in nuclear is what I hope for. First experimental SMRs are being installed in several places of the world, others are in design stage. Looks like a hopeful technology.
Batteries help, but they still cost way more than direct solar and wind. We still need way more solar and wind to use directly.