The Weimar Republic is the historical example people use, but homosexuality was illegal by law going back to before the First World War.
It was enforced, too. But selectively enforced in the wide open town (former capital) Berlin and to a lesser degree in Stuttgart. But it wouldn't fly in Weimar itself. And certainly not taught in public schools or openly promoted by big corporations.
In the future, the go to historical example will not be the Weimar Republic.
No sadly it will be us.