Is it though? https://blog.eurodev.com/costs-of-hiring-european-employees
Also, in Germany you have a lot of holiday (20 minimum, most companies pffer 30), 3 month notice period, 3 years parental leave (per child), pricing these in, I would always expect lower salary in Germany.