FR 7350 then EW 7525 at Barcelona
Vienna → Barcelona → Hamburg
Timetable, Barcelona time
19:35FR 7350 from Vienna at the gate
19:00EW 7525 to Hamburg leaves the gate
23 h 25 apart on the timetable, overnight
EW 7525 leaves 23 h 25 after FR 7350 arrives on the timetable: more than half a day, so not a connection we count.