I read it as
W. Hof-
with the dash perhaps being short for "mann" or "nung" or some other common German surname ending -- thus, W. Hofmann, W. Hofnung, etc.
It is not Hans Hofmann (1880 - 1966) because he was an abstract expressionist, not a realist.
It is not Otto, or Kathy, or Ludwig Hofmann, because although all three of them were realist landscape painters, the initial letter is not an O, K, or L.
Likewise it is not the realist landscape painters Annie Hoffmann, Karl Hofmann, Robert Hofmann, Leopold Hofmann, Pierre-Philippe Hofmann, Egon Hofmann, David Hoffmann, or George Max Hoffmann.
I agree that it looks like Garmisch in the Bavarian Alps. This kind of simple painting of a lone Alpine cottage against upthrusting peaks on a sunny day was a common subject among local painters and was a frequent tourist purchase in the 1930s - 1950s.
But, back to the Hof- signature ... The closest in STYLE and LOCALE of all the realist landscape painters named Hofmann -- and there were quite a few! -- is Josef Sepp Hofmann (1870 - 1956), who painted similar simple scenes and signed his works Sepp Hoffmann. See:
https://www.icollector.com/Josef-Sepp-Hofmann-1870-1956-Austrian-Gouache_i29282413
So, five minutes of research, but no score. Sorry... i tried.