It is a pretty normal salary here in Spain. The housing crisis is happening because of several factors, but mostly because there's a huge increase in demand due to immigration (millions of people coming) from all profiles (richer and poorer) so we're getting squeezed hard.
The regulations around housing are so bad that almost nothing is getting built. What's getting built is for wealthy people, and no public housing in sight.
And yes, of course rich foreigners play a role here. You maybe don't like to hear it because you're likely richer than the average spaniard, but they are plenty, and we can see what they do once they arrive here.
This is no second-hand information. Because the housing situation is so bad they go on sprees trying to convince landlords to rent to them by offering more money.
Also, getting out of cities is problematic because we can't save money nor have disposable income, so owning and maintaining a car is quite an effort, and that in a city where I don't need a "B" stick to enter the city, in other cities it's worse because you're only allowed a subset of cars which are more expensive. There aren't cheap cars anymore, even shitty Dacias are +20k and anything under 10k second hand is close to junk.
We're fucked honestly. I'm willing to move, but I don't know where...