DY 3303 then DY 3658 at Copenhagen
Berlin → Copenhagen → Barcelona
Timetable, Copenhagen time
13:40DY 3303 from Berlin at the gate
11:10DY 3658 to Barcelona leaves the gate
21 h 30 apart on the timetable, overnight
DY 3658 leaves 21 h 30 after DY 3303 arrives on the timetable: more than half a day, so not a connection we count.