Gößnitz is a municipality in the district of Voitsberg in the Austrian state of Styria.