Rubin Okotie gave the visitors the lead after 13 minutes with his third goal of the season, but Florian Niederlechner equalised shortly after half-time after good build-up play by Robert Leipartz.

Sebastian Griesbeck completed the turnaround just three minutes later, thumping the ball in off the inside of the post to put Heidenheim 2-1 up. Leonardo's deflected effort restored parity once more after 66 minutes, before Smail Morabit was dismissed in stoppage time for a second bookable offence.