One of the special places I visited in Morocco was this restaurant in the Maroc Lodge hotel in the small village of Amizmiz, 60 km from Marrakech in the south Atlas Mountains. It's worth hiring a grand taxi from the city to get there as this unusual place in nature will not leave you indifferent. It is a spectacular high-end restaurant, which can only be accessed by unpaved roads in the Atlas Mountains and surrounded by lush Mediterranean vegetation and absolute peace. It serves home-cooked typical Moroccan cuisine made with quality products. I recommend their delicious lamb tagine with dates or stuffed chicken. The desserts are irresistible, especially the local tart made with oranges. You can eat outdoors while listening to the echo of the call to prayer from the mountain opposite. Prices are high for Morocco, but certainly worth it (about 20 euros/person). They serve alcohol, they are very welcoming and the service is excellent.
Right near the taxi/bus stop in the center of Amizmiz, you'll find the town market, the place where locals go to do their shopping on a daily basis. The market specializes in what you'd expect: meat, grains, fruits, veggies, and all kinds of tasty edibles. Like most markets in Morocco, this one has a café where you can bring some of your recently-purchased goods and they'll cook it up for you and add drinks and bread for a most fee of 30 or 40 Dirham (3-4$).
You can experiment with buying the products yourself and gear towards classic combos like beef with prunes and dates or chicken with almonds and olives. Or, you can leave it to the expert cooks at the restaurant. Just indicate "beef," "chicken," "lamb," or "vegetables" and they'll do the rest, adding the right garnishes and spices that you yourself probably might miss.
You'll get some strange looks, so, be prepared for that. You'll probably be the only tourist in the joint, but just settle down into a table in the corner and soon enough the stares will fade and you'll be enjoying the tastiest tagine you'll try in all of Morocco!