DY 5513 then QR 3522 at Barcelona
Copenhagen → Barcelona → Hamburg
Timetable, Barcelona time
13:00DY 5513 from Copenhagen at the gate
07:25QR 3522 to Hamburg leaves the gate
18 h 25 apart on the timetable, overnight
QR 3522 leaves 18 h 25 after DY 5513 arrives on the timetable: more than half a day, so not a connection we count.