QR 3676 then VY 4221 at Barcelona
Basel → Barcelona → Berlin
Timetable, Barcelona time
15:50QR 3676 from Basel at the gate
13:05VY 4221 to Berlin leaves the gate
21 h 15 apart on the timetable, overnight
VY 4221 leaves 21 h 15 after QR 3676 arrives on the timetable: more than half a day, so not a connection we count.