EW 2604 then EC 7683 at Lisbon
Stuttgart → Lisbon → Geneva
Timetable, Lisbon time
17:55EW 2604 from Stuttgart at the gate
16:40EC 7683 to Geneva leaves the gate
22 h 45 apart on the timetable, overnight
EC 7683 leaves 22 h 45 after EW 2604 arrives on the timetable: more than half a day, so not a connection we count.