Does that actually apply to every field? I've only worked briefly as a software developer in Germany and not full time, but I never got the impression that unions would realistically stop anyone in that field from working till midnight. If you are working as a factory worker for example that's of course a totally different story. However, I doubt that people in that kind of job regularly decide to put in a few extra hours on some days and are usually on the clock.