You will need to get documentation about your mental health history from your doctor. I dont know how Germany does it, but in the UK we have to provide a summary of our health history and then extra information about any significant health conditions (physical or mental). I recommend you get a letter from your doctor and therapist, what they are looking for is the magic words “not at risk of harm to themselves or others”, there are other posts like this that would definitely help… like this one that could help more
With mental health you’re looking at a class A or class b condition (class b does not make you inadmissible, only class a)
Here is a link to the CDC website which explains it ☺️
https://www.cdc.gov/immigrantrefugeehealth/panel-physicians/mental-health.html
Good luck ☺️