FR 13 then QR 3577 at Barcelona
Vienna → Barcelona → Berlin
Timetable, Barcelona time
19:45FR 13 from Vienna at the gate
14:00QR 3577 to Berlin leaves the gate
18 h 15 apart on the timetable, overnight
QR 3577 leaves 18 h 15 after FR 13 arrives on the timetable: more than half a day, so not a connection we count.