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