The landlord must inform you of the increase using an official form and state the reason for the increase.
The landlord cannot increase the rent until after the next termination date (web page available in German).
You must be informed about the rent increase at least 10 days before the start of the notice period.