The UA/LH codeshare flights are strictly established to make connections with. You'll notice that there are unbalanced #s of them---many more Germany-foreign Europe than foreign Europe--Germany (the inbound US-Germany flights arrive over a longer span of time than leaving times for the Germany-US flights.