This does not work. Example here:
$ systemd-escape -p --suffix=mount "/run/media/gerd/fritz-nas"
run-media-gerd-fritz\x2dnas.mount
However, if you name your file accordingly as run-media-gerd-fritz\x2dnas.mount and save it, systemd still complains:
Where= setting doesn't match unit name
Hence, all you can do is avoid dashes in the folder names under all circumstances.
Next thing I found:
This statement in the automount unit prevents it from working here. In accordance with other tutorials on the net (see Automatic mounts using systemd | Anteru's Blog or Systemd: Mount examples for cifs shares ) I removed that statement and voilĂ , automount worked.