Hi Ammon,
I hope you know, it isn't okay, when you hit anyone, because you are stronger than the other one.
Okay it is not funny, when anyone call you "Nigger", but to react with violence is not the right way!
Was he going to attack you..........not really, does he??!!!!
You can say your opinion in the right way, will the guy attack you now with force, that's the moment you must handle......!
When you like to fight and mess your power, go to a martial art club and train Full-Contact, maybe Boxing or Muay Thai

!!!
And in the szenario you describe, it doesn't matter, what is the exact law in Germany.
My Opinion!
So Ammon, go the right way and keep cool, calm down and relax...and in the first way...use your brain!
Regards
Ralf