Atlas trip to ouirgane from marrakesh

We are planning to spend up to three days and two nights In the region of ouirgane. Looking to go cycling or trekking whilst there.

Any tips on whether best to stay in Marrakech and do day trips or stay up in the mountains for a few nights??

What's the best way to get up there from marrakesh and back again?? Any suggestions for trekking or cycling companies??

Going end aug!! Thanks