Effective March 19, 2022, Germany is ending most of the Covid restrictions in place. This includes masking in most public places (masking still required in medical facilities and local public transport) and testing obligations (testing may still be required in medical facilities, schools, day care and other such places). There is a short transition period to allow states to begin with the new laws, so the current rules will remain in place for the next two weeks.
The obligation to wear masks in air and long-distance passenger transport will remain in force throughout Germany. Local governments may require more safety provisions if they are subject to Covid hot-spots but they do have to jump through some hoops to do so.
The new law will remain in effect until September 23, 2022 when it will be re-evaluated based on then-current statistics.
You can read a synopsis here at DW - https://www.dw.com/en/germany-lifts-most-covid-19-restrictions-after-difficult-compromise/a-61174654. I found the actual bill at the Bundestag website - it is in German but can be translated using Deepl - or you can send me a PM and I will email it to you. https://dserver.bundestag.de/btd/20/010/2001094.pdf