FR 9840 then LH 1779 at Lisbon
Cologne → Lisbon → Munich
Timetable, Lisbon time
22:40FR 9840 from Cologne at the gate
14:15LH 1779 to Munich leaves the gate
15 h 35 apart on the timetable, overnight
LH 1779 leaves 15 h 35 after FR 9840 arrives on the timetable: more than half a day, so not a connection we count.