LH 185 then 4Y 900 at Frankfurt
Berlin → Frankfurt am Main → Dubrovnik
Timetable, Frankfurt am Main time
14:50LH 185 from Berlin at the gate
09:254Y 900 to Dubrovnik leaves the gate
18 h 35 apart on the timetable, overnight
4Y 900 leaves 18 h 35 after LH 185 arrives on the timetable: more than half a day, so not a connection we count.