Hearts produced a spirited display but were unable to maintain their perfect start in the Conference League as they went down 2-0 to Bundesliga side Heidenheim at Tynecastle.