Due to track reconstruction work, you can unfortunately not take the tram directly from Hotel Weitzer to the Schlossbergbahn.
Alternatively, you can either take the tram to the main square and then walk to the bottom station of the Schlossbergbahn or take the bus. Both start at Südtiroler Platz, more detailed information can be found in the picture below.