FRANKFURT (Reuters) - Lufthansa agreed to buy parts of insolvent German airline Air Berlin for around 210 million euros ($248.72 million), Air Berlin said on Thursday.