Hi,
with your grade you should definitely apply to a few universities, I think you will be ok. However you are towards the lower end of "good" (I'm not judging, I was the same). As you probably know, the numerus clausus process means that there is generally no qualifying grade required but places are limited. The average entrance mark for Masters is often quoted as being 2.5, whether this is true I don't know. But with a 2.4 I don't see why you shouldn't apply, although for the more popular universities you may have to sit a suitability test.
I can't say anything about TUM or Berlin, except that there will be more applicants than places obviously. My advice would be to absolutely apply, but also find some alternative universities to apply to as well.