Hamburg are confident they will avoid relegation on the final day of the Bundesliga season, despite falling to a fourth straight defeat on Saturday.