Are you sure about that? I know of a precedent in Poland, where a company refused to service (print some kind of invitation cards) some LGBT people, and was punished for it.
I imagine the laws in Germany are similar to the laws in Poland in that regard, both countries being in the European Union.
In USA, I really doubt any company could refuse to serve black people. Or women.
I wonder if the downvoters of my previous message share your (I'd say quite wrong) opinion or there's another reason for the downvotes - I'm up for a discussion!
I don't know about the downvotes, and I'm not a lawyer so take this with a grain of salt, but there's a difference between a service to the public (e.g. a café or a restaurant) and a service such as Hetzner.