The problem is that business model of German (software) companies is speedrunning regulatory capture by enforcing byzantine bureaucratic regulation and supplying the software needed to comply with it.
They thrive in overregulated industries like healthcare, industrial automation, automotive, etc. where they make the bulk of the profits from B2B sales, with deals between people who'll never use the software they buy.
The MO of every German company I've seen is that 'our company's products have a stack of paperwork ensuring its high quality' and/or 'our companies products help you ensure you can get the stack of paperwork necessary for selling your product', with the actual quality of what you sell mattering very little beyond meeting the bare minimum predicated by said standards.
And once your company has these big customers (the ones who care about said stuff) in the bag, they can sit back and relax, and sell the same stuff for decades while doing the bare minimum. Quality of the product and the people does not matter, so salaries are not high, and companies are as much as 50+% middle management by headcount.
Think about what the successful German companies/endeavors are:
- SAP - a B2B company hated by anyone who has to use their products whose main sales pitch is 'if you don't use us, other companies won't do business with you'
- SonarQube - another horrible, slow inaccurate code quality metric product, which focuses on making pretty dashboards for their horrible, unusable metrics - again aimed at middle managers who don't look at code, but only see the bar charts and dangerous sounding warnings
- AutoSAR - not a company, but a horrible byzantine automotive standard, complying with which requires specialized overpriced hardware, software and expertise you can only buy from Germans - vendors usually supply hardware/software stack that's 1000xthe price than it should be
- Various industrial automation companies - again, these make products that are simple, and don't require any technology that changed substantially in the past 20-30 years, like PLCs whose function is to read an analog input and turn a relay on/off - yet somehow again cost thousands of euros (because of paperwork!)
Germany is a in local minimum where you can have a secure income with barely any work and risk, at the cost of the world slowly passing them by.