Periods of either 2 weeks off from the gym or 4-5 weeks at a reduced workload (1/3 of your average level) is the best weapon that you have for long -term gains. And NO you won’t lose muscle.
You might also want to take that time to work on other things like mobility, power, agility, and conditioning.