Heidenheim left Tynecastle with a 2-0 win to end the Jambos' 100 per cent record - and maintain their own.