Hamburg gave themselves breathing space to the relegation zone with a vital win that included three penalties and plunged Wolfsburg into further danger.