The invention relates to novel heterocyclic compounds of general formula (I), as well as their pharmaceutically acceptable salts, and their enantiomers. The invention also relates to the use thereof as a medicinal product, preferably in the prevention and/or treatment of inflammatory diseases with a neurogenic component or use thereof as a cosmetic. The compounds of the present invention act as antagonists of the CGRP-R receptor.