QR 3664 then EW 2521 at Barcelona
Bari → Barcelona → Stuttgart
Timetable, Barcelona time
12:30QR 3664 from Bari at the gate
09:20EW 2521 to Stuttgart leaves the gate
20 h 50 apart on the timetable, overnight
EW 2521 leaves 20 h 50 after QR 3664 arrives on the timetable: more than half a day, so not a connection we count.