The lead exchanged hands four times at the Wirsol Rhein-Neckar-Arena before Hoffenheim eventually prevailed with a 3-2 victory over Werder Bremen.