QR 3758 then EC 7173 at Barcelona
Valladolid → Barcelona → Berlin
Timetable, Barcelona time
15:35QR 3758 from Valladolid at the gate
11:45EC 7173 to Berlin leaves the gate
20 h 10 apart on the timetable, overnight
EC 7173 leaves 20 h 10 after QR 3758 arrives on the timetable: more than half a day, so not a connection we count.