Keep in mind that for a high-profile engineer or lead who expects to make 400k at least per year, the company would actually have to pay him 800k to make that much net. Labor cost in Germany is sky high.
That times a thousand is not insignificant.
[1] https://www.brutto-netto-rechner.info/gehalt/gehaltsrechner-...
If you own the business there are other tiers of compensation available, but employees in Germany very rarely make more than 150k in any position. CEOs of medium sized businesses up to 500 employees would likely not be compensated more than 200k. Other C-level even less.
$800k/year in San Francisco as a single is $436k/year net. In Germany that’s $431k/year net.
You should argue with lower (more realistic) salaries. Social insurance (including health insurance, pension) is capped, meaning if you earn above a certain level you won’t have to pay any more. This means that those aspects play a diminutive role (about $15k) at your named salary level.