I can pull up prices for other goods, too if you want. Especially rents (in e.g., Munich where I lived all my life) went up similarly while salaries stagnate. Munich rents are on par with Swiss rents, which is crazy if one looks at the difference in salaries.
Luckily, now I live in Zurich, which is prosperous like Germany 30-40 years ago. Full disclaimer: I run a tech recruiting agency that focuses on matching engineers with jobs in Zurich (job-page: https://coderfit.com/openedjobs/, Medium post: "8 reasons why I moved to Switzerland to work in tech" https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-t...)