EC 7174 then LH 1815 at Barcelona
Berlin → Barcelona → Munich
Timetable, Barcelona time
18:35EC 7174 from Berlin at the gate
18:20LH 1815 to Munich leaves the gate
23 h 45 apart on the timetable, overnight
LH 1815 leaves 23 h 45 after EC 7174 arrives on the timetable: more than half a day, so not a connection we count.