European stocks gained, edging closer to their pre-war record high, as technology shares climbed and easing geopolitical tensions sent oil prices lower.