After WWII the German government created strict renter protection laws and the state invested heavily in relatively high quality public housing. You can compare the results to the UK, which cities were also bombed, but invested in private housing instead. Germany also famously had been "the sick man of Europe" before the current boom, were real wages did not rise for a long time.