Germany wants a Brexit deal to keep Britain as close to the European Union as possible, Chancellor Angela Merkel said on Monday.