If the landlord does not repair the reported defects within the set period, you can deposit the rent (pdf document in German) at the relevant office of your canton and apply for a rent reduction. You need to observe some conditions and all formalities. The conciliation authority can assist you. Once you deposit your rent with the cantonal office, it is deemed paid.