FR 9005 then EW 7755 at Vienna
Bari → Vienna → Hamburg
Timetable, Vienna time
22:45FR 9005 from Bari at the gate
19:35EW 7755 to Hamburg leaves the gate
20 h 50 apart on the timetable, overnight
EW 7755 leaves 20 h 50 after FR 9005 arrives on the timetable: more than half a day, so not a connection we count.