EC 3749 then FR 2507 at Barcelona
Milan → Barcelona → Cologne
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
14:10FR 2507 to Cologne leaves the gate
16 h 40 apart on the timetable, overnight
FR 2507 leaves 16 h 40 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.