Prof. Hans Thoma, "Bernauer Hirten"