HV 5956 then KL 1781 at Schiphol
Lisbon → Amsterdam → Berlin
Timetable, Amsterdam time
23:25HV 5956 from Lisbon at the gate
16:25KL 1781 to Berlin leaves the gate
17 h apart on the timetable, overnight
KL 1781 leaves 17 h after HV 5956 arrives on the timetable: more than half a day, so not a connection we count.