FR 40 then FR 7178 at Fiumicino
Berlin → Rome → Vienna
Timetable, Rome time
13:30FR 40 from Berlin at the gate
10:20FR 7178 to Vienna leaves the gate
20 h 50 apart on the timetable, overnight
FR 7178 leaves 20 h 50 after FR 40 arrives on the timetable: more than half a day, so not a connection we count.