Germany-based chocolate maker Alfred Ritter is to buy Austrian assets from a US confectionery giant, it has announced.