By many measures, Germany is an unlikely birthplace for a renewable-energy revolution. Its reputation for being a generally gloomy country, with few sunny days, is well established. Its onshore wind potential is merely middling. And with the world’s fourth-largest GDP, it requires steady electricity to keep its factories humming – a challenge for intermittent power sources like the Sun and wind. But on a recent bus tour of villages of southwestern Germany, evidence of the…