Douglas Costa restored the home side's lead only for Mats Hummels to level late on.
"It is important that we are going into the second leg level and a 0-0 would see us through," said Hummels told reporters.
"Certainly there were a few dangerous moments in defence, but against such an attack-minded team you can never avoid this."
