VY 1011 then LH 1811 at Barcelona
Madrid → Barcelona → Munich
Timetable, Barcelona time
12:00VY 1011 from Madrid at the gate
11:50LH 1811 to Munich leaves the gate
23 h 50 apart on the timetable, overnight
LH 1811 leaves 23 h 50 after VY 1011 arrives on the timetable: more than half a day, so not a connection we count.