A friend (who is also German) will soon finish his Master's degree in psychology. He has been looking at job offers but will likely start writing applications only after he has finished his thesis. There will be a little while where he is still enrolled in his university (in the Netherlands).
After that he could in principle enroll as a student at our local university in a different subject to retain the status as a student. This would have significance for health insurance and also give him a bus ticket.
I would think that there is no need to avoid the unemployment status because he will have finished the degree close to the applications. Would a potential employer differentiate between somebody who is officially unemployed or officially enrolled in a random course of study they do not indent in perusing anyway?