EW 7170 then DE 1608 at Munich
Hamburg → Munich → Kos
Timetable, Munich time
08:30EW 7170 from Hamburg at the gate
05:50DE 1608 to Kos leaves the gate
21 h 20 apart on the timetable, overnight
DE 1608 leaves 21 h 20 after EW 7170 arrives on the timetable: more than half a day, so not a connection we count.