QR 3706 then FR 12 at Barcelona
Bari → Barcelona → Vienna
Timetable, Barcelona time
23:20QR 3706 from Bari at the gate
20:20FR 12 to Vienna leaves the gate
21 h apart on the timetable, overnight
FR 12 leaves 21 h after QR 3706 arrives on the timetable: more than half a day, so not a connection we count.