In Ohio for residential, which is a good bit more expensive than commercial/utility scale solar, the payback period is about 12 years[4], well within the margin of getting your money back and then some.
0: https://www.cincinnati-oh.gov/mayor/news/cincinnati-to-const... 1: https://newmarketsolar.com/ 2: https://www.nrel.gov/gis/assets/images/solar-annual-ghi-2018... 3: https://solargis.com/file?url=download/Germany/Germany_PVOUT... 4: https://www.energysage.com/local-data/solar-panel-cost/oh/
Pretty sure Germany is more know for poor green energy planning, burning more coal, and instance on non optimal strategies for power generation (killing nuclear).
I doubt socks are tasty, but please let us know.
[0]: https://globalsolaratlas.info/map?c=20.797201,-46.494141,3&s...