Cannot reinstall macOS X Mountain Lion after erase
I wanted to reset my iMac (Late 2012) today for a possible sale. After deleting "Macintosh HD" in Disk Utility, I mistakenly assumed that I did not need to reinstall the operating system in macOS Utility at this point, and turned off the machine. However, with a reboot, only the flashing icon of a question mark then appeared on a folder (image 1), whereupon another reboot with ⌘ + R took me to Internet Recovery. There I now fail to install the operating system. More precisely, I can not select a volume on which this should be installed (image 2). I have read on the Internet that in such a case the hard disk should be erased via the Disk Utility. However, this option does not present itself to me, although a scan of the volume does not find any errors (image 3). What can I do?
Thanks for any help!
iMac