Upvote:2
According to https://www.iatatravelcentre.com/world.php, you can enter Germany because of an exception applying to "passengers with a long term visa issued by an EEA Member State or Switzerland."
While airlines will check IATA (Timatic, more specifically), it's prudent to check the official source which concurs. https://www.bmi.bund.de/SharedDocs/faqs/EN/topics/civil-protection/coronavirus/travel-restrictions-border-control/travel-restriction-border-control-list.html#f14104798
EU citizens and nationals of the United Kingdom, Liechtenstein, Switzerland, Norway and Iceland and the members of their immediate family (spouse, unmarried minor children, parents of minors) are exempted from the travel restrictions.
The same applies to third-country nationals who already have a longer-term right of residence in an EU member state