EW 520 then QR 3619 at Barcelona
Cologne → Barcelona → Cagliari
Timetable, Barcelona time
14:45EW 520 from Cologne at the gate
07:15QR 3619 to Cagliari leaves the gate
16 h 30 apart on the timetable, overnight
QR 3619 leaves 16 h 30 after EW 520 arrives on the timetable: more than half a day, so not a connection we count.