Thank you for your request.
In such a case, I recommend you to buy the TNW U subscription, usable for all public transport in the mentioned network.
Everything about the subscription can be found here, including where it is valid everywhere and prices: TNW: travelcards, tickets, information | SBB
Have a nice day
Kind regards MelanieD