EC 7152 then VY 1072 at Barcelona
Milan → Barcelona → Berlin
Timetable, Barcelona time
14:25EC 7152 from Milan at the gate
13:05VY 1072 to Berlin leaves the gatealso QR 3611, IB 5030, LL 5030
22 h 40 apart on the timetable, overnight
VY 1072 leaves 22 h 40 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.