EW 4398 then EW 7521 at Barcelona
Salzburg → Barcelona → Hamburg
Timetable, Barcelona time
15:55EW 4398 from Salzburg at the gate
10:10EW 7521 to Hamburg leaves the gate
18 h 15 apart on the timetable, overnight
EW 7521 leaves 18 h 15 after EW 4398 arrives on the timetable: more than half a day, so not a connection we count.