I went to Marrakech in 2019 and stayed here, https://www.leclosdesarts.com/ just inside the medina. It was really nice. I enjoyed staying in the old quarter, but damn that place is a maze. Great experience though! The people whizzing by you on their scooters in the narrow alleyways takes some getting used to.
There appear to be no traffic rules near the medina. Cars can be 8 across on a small street and you might have a horse and carriage on one side and a dump truck on the other.
I only did a day trip to the Atlas mountains with a driver. Just stopped at various overlooks and took pictures. Also did a private tour of the medina, which was really nice. The Majorelle Gardens are worth a stop.
Eat a bunch of weird shit! I used to watch Bizarre Foods, which did an episode in Morocco. I had my riad make me khlea (preserved meat) one morning for breakfast. Sheep's head, including the eyes, cooked right in the ground close the Jemaa el-Fnaa square. And of course a bowl of snails.
I did a food tour through the medina one evening which I highly recommend. https://marrakechfoodtours.com/
I also did a hammam, which was a cool experience and would do again. You basically get a napkin to cover yourself.
Have fun!