Part of the answer is a conscious decision on the EU level to 'become the best at science'. That sounds awfully vague and usually is an empty promise in politics, but in this case there was broad support for such an effort (plenty of money was available, the USA seemed to be slacking off, CERN had proven its worth etc etc).