QR 3676 then EC 7173 at Barcelona
Basel → Barcelona → Berlin
Timetable, Barcelona time
15:50QR 3676 from Basel at the gate
07:20EC 7173 to Berlin leaves the gate
15 h 30 apart on the timetable, overnight
EC 7173 leaves 15 h 30 after QR 3676 arrives on the timetable: more than half a day, so not a connection we count.