13th century church on the site of a former Slavic hillfort, rebuilt in neo-Gothic style in the 19th century