thanks for reaching out to the Wefugees community and for sharing your question with us. You sent some good news. First of all, your lawyer is absolutely right. The court has granted you a national deportation ban and, moreover, as a spouse of a German citizen you're eligble for a residence permit for this reason, too, which gives you to opportunity to work on the consolidation of your stay. Spouses of Germans are eligible for a settlement permit and even German citizenship after three years of staying in their marriage in Germany (if they meet some further requirements which you can find here: https://handbookgermany.de/en/rights-laws/citizenship.html).
I hope my answers were helpful and I’ll be very pleased if you contact me again with further questions. I'm a member of the mbeon-staff and I‘ll be glad to guide over a longer period of time. mbeon is an online advisory service for migrants via the mbeon-app, which you can download on your smartphone for free. You'll find me in the mbeon-app under my location „München” and then my name “Frau Müller“ and get confidential one-to-one advice in a safe virtual room where nobody can read messages. For further information please visit www.mbeon.de.
Download for Android: https://play.google.com/store/apps/details?id=de.zone35.mbeon
Download for iOS: https://apps.apple.com/de/app/mbeon-messengerberatung/id1408795643