EC 7662 then EW 603 at Lisbon
Milan → Lisbon → Cologne
Timetable, Lisbon time
12:55EC 7662 from Milan at the gate
10:45EW 603 to Cologne leaves the gate
21 h 50 apart on the timetable, overnight
EW 603 leaves 21 h 50 after EC 7662 arrives on the timetable: more than half a day, so not a connection we count.