Hamburg thought they'd done enough to be promoted automatically on the final day in the 2022/23 Bundesliga 2 season, but Heidenheim had other ideas.