Bayern Munich coach Jupp Heynckes said his side's preparation paid off after taking a two-goal advantage against Juventus at the Allianz Arena.