4Y 803 then DE 4034 at Frankfurt
Bari → Frankfurt am Main → Hamburg
Timetable, Frankfurt am Main time
20:104Y 803 from Bari at the gate
14:25DE 4034 to Hamburg leaves the gate
18 h 15 apart on the timetable, overnight
DE 4034 leaves 18 h 15 after 4Y 803 arrives on the timetable: more than half a day, so not a connection we count.