The SBB app is invaluable to assist in planning all forms of transport including trains, trams, buses, mountain railways, boats, cable cars etc.
A Swiss Pass is definitely worthwhile, even though it is not cheap. Alternatively you can get a half fare pass for month and get saver day passes...