Peter, I presume you will have a car. Riquewihr is an excellent base for hiking and visiting nearby villages and towns. Colmar (take the bus), Eguisheim, Château du Haut-Kœnigsbourg are all worth visiting. The hiking is pleasant with pretty scenery. For example, the six village walk clockwise from Riquewihr, taking in the three castle ruins in Ribeauville at the same time, stop off for lunch somewhere, a day on it's own. Hike through the woods to Kaysersberg for lunch, return through the vineyards. Bergheim is a small gem, not visited by many, as is Wissembourg (may be a bit too far?). Good quality Crémants can be had for a reasonable price. On the other side of the border, Genganbach, Staufen and Endingen are very pretty villages/small towns. Freiburg has a nice old section with walking trails above it. Check out more here for the immediate area: https://www.ribeauville-riquewihr.com
We stayed in a Riquewihr apartment for three weeks, which is fully booked for your time there. "Rick, we're here," my wife would shout out of the car window everytime we drove into town, thinking she was being funny.