That being said lots of people still do unpaid overtime, but only because they're afraid about losing the job / care too much. Not because they actually legally have to. There are legal means to defend yourself from that.
I don't get overtime, but I do get time in lieu - I did about four hours extra the week before last doing set up for one of our busiest days of the year, and I'm taking Thursday afternoon off to make it up.
Things like 60 hour work weeks also aren't even legal without signing away your EU Working Time Directive (https://en.wikipedia.org/wiki/Working_Time_Directive_2003) rights (which isn't even an option in every EU country). I don't _think_ the post-brexit legislation did away with that, but it wouldn't surprise me.
There are a bunch of exceptions for specific jobs.
The working hours, comp+ben etc. are usually determined by collective agreement with unions.
Pay for the same job can vary dramatically depending on which union your employer has a collective agreement with.
I know several people who got 25-30% pay rises just by moving to another part of the company that had an agreement with IG Metall instead of ver.di.
The flipside is that no one ever gets paid less as a salaried employee either, but most employees are too afraid of getting fired to remember that part. Any day that you work any portion, you get paid for the full day.
For instance when getting an alert on PagerDuty in the middle of the night, you might get paid by 30 min increments while dealing with the emergency, even if your regular pay is by the day.