For a brilliant 20 year old German in 2005 becoming a primary school teacher or a pencil pusher in a random government office would have been a better option than working in tech. With "better option" I mean double salary, double pension, better healthcare, more holidays. So it shouldn't surprise anybody if foreigners are overrepresented in tech jobs in Germany, and it has nothing to do with European lazyness (had you said risk-aversion I could have agreed).