EW 4609 then EW 4678 at Arlanda
Berlin → Stockholm → Hamburg
Timetable, Stockholm time
21:55EW 4609 from Berlin at the gate
18:30EW 4678 to Hamburg leaves the gate
20 h 35 apart on the timetable, overnight
EW 4678 leaves 20 h 35 after EW 4609 arrives on the timetable: more than half a day, so not a connection we count.