EC 1299 then EW 2521 at Barcelona
Geneva → Barcelona → Stuttgart
Timetable, Barcelona time
15:30EC 1299 from Geneva at the gate
09:20EW 2521 to Stuttgart leaves the gate
17 h 50 apart on the timetable, overnight
EW 2521 leaves 17 h 50 after EC 1299 arrives on the timetable: more than half a day, so not a connection we count.