Most of these countries also have special statuses for skilled workers where the pay isn’t related to worked hours.
In France it often was a separated contract you had to sign, but most people above “junior” level were pushed into it. It works pretty well in some companies, and heavily abused in others.
It can really depend. For example in the UK there is the Working Time Directive which limits employers to a 48 hour maximum working week. Except the employee can opt out of it voluntarily and the power relationship means this is almost never actually voluntary. No doubt some places have strong laws but many have so much wiggle room the laws on the books look nothing like reality.