EW 2520 then LH 1811 at Barcelona
Stuttgart → Barcelona → Munich
Timetable, Barcelona time
14:25EW 2520 from Stuttgart at the gate
11:50LH 1811 to Munich leaves the gate
21 h 25 apart on the timetable, overnight
LH 1811 leaves 21 h 25 after EW 2520 arrives on the timetable: more than half a day, so not a connection we count.