EW 7524 then EC 1298 at Barcelona
Hamburg → Barcelona → Geneva
Timetable, Barcelona time
18:05EW 7524 from Hamburg at the gate
08:30EC 1298 to Geneva leaves the gate
14 h 25 apart on the timetable, overnight
EC 1298 leaves 14 h 25 after EW 7524 arrives on the timetable: more than half a day, so not a connection we count.