FR 1680 then FR 149 at Barcelona
Hahn → Barcelona → Berlin
Timetable, Barcelona time
21:10FR 1680 from Hahn at the gate
14:20FR 149 to Berlin leaves the gate
17 h 10 apart on the timetable, overnight
FR 149 leaves 17 h 10 after FR 1680 arrives on the timetable: more than half a day, so not a connection we count.