FR 9704 then EW 8603 at Lisbon
Vienna → Lisbon → Berlin
Timetable, Lisbon time
10:25FR 9704 from Vienna at the gate
10:15EW 8603 to Berlin leaves the gate
23 h 50 apart on the timetable, overnight
EW 8603 leaves 23 h 50 after FR 9704 arrives on the timetable: more than half a day, so not a connection we count.