Germany posts $1.04B foreign trade deficit in May