QR 3686 then VY 1074 at Barcelona
Lyon → Barcelona → Berlin
Timetable, Barcelona time
18:05QR 3686 from Lyon at the gate
18:00VY 1074 to Berlin leaves the gatealso IB 5018, LL 5018
23 h 55 apart on the timetable, overnight
VY 1074 leaves 23 h 55 after QR 3686 arrives on the timetable: more than half a day, so not a connection we count.