There is a complex procedure to assign Master places to the candidates. For all the details please read the Assignment Statute (in German).
Briefly, the most important criterium is the final grade of the Bachelor’s degree. There is no general cutoff threshold for admission. The cutoff grade results from the balance between supply and demand.