The Grunderwerbsteuer is a one-off tax on the purchase price when buying land or property; each German state sets its own rate.
Rates range from 3.5% to 6.5% of the purchase price depending on the state. On Hypomeister you will find the current rate and a calculator for each of the 16 states.
General information, not investment or financial advice.