EW 7520 then VY 1054 at Barcelona
Hamburg → Barcelona → Amsterdam
Timetable, Barcelona time
18:45EW 7520 from Hamburg at the gate
11:35VY 1054 to Amsterdam leaves the gate
16 h 50 apart on the timetable, overnight
VY 1054 leaves 16 h 50 after EW 7520 arrives on the timetable: more than half a day, so not a connection we count.