VY 4082 then EC 7107 at Barcelona
Hamburg → Barcelona → Geneva
Timetable, Barcelona time
13:20VY 4082 from Hamburg at the gate
10:30EC 7107 to Geneva leaves the gate
21 h 10 apart on the timetable, overnight
EC 7107 leaves 21 h 10 after VY 4082 arrives on the timetable: more than half a day, so not a connection we count.