As of the 30th March, all passengers (aged 6+) who are travelling to Germany must present a negative Covid-19 test result on departure. Proof of the negative result shouldn’t be older than 48 hours at the time of entry. You will not be able to travel to Germany without negative proof of testing. This rule also applies to transit passengers.
You can read more on Lufthansa’s webpage.