German Economy Minister Peter Altmaier said on Monday that he was upbeat a hard Brexit could be avoided but stressed that the German government was prepared for all possibilities.