Bayern Munich suffered their first defeat of the season, losing 2-1 to Lille in the Champions League.