The Germans held a 3-2 lead with a minute remaining before losing in overtime, 4-3.