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