Pharma and mechanical engineering companies need IT people, too, even if their core business is not IT.
That's the problem Germany has, it's full of successful companies that aren't IT related so people who want good jobs in IT are forced to either leave to SV/CH/London or stay and be "the IT guy" at a non tech company where you get treated as a cost center.
Of course if you think that only SV-style software companies are worth working for then Germany isn't the place to be.