A compound of general formula wherein R 1 denotes C 1-4 alkyl; R 2 denotes hydrogen or C 1-4 alkyl; R 3 denotes hydrogen or C 1-4 alkyl; n denotes 0 or 1; ring A is phenyl or 5-6 membered heteroaryl; each R 4 is independently of one another selected from among halogen, C 1-4 alkoxy, C 1-4 alkyl and -CN; p denotes 0, 1 or 2; ring B is a 5-membered heteroaryl; each R 5 independently is R b1 or a group, optionally substituted by one or more, identical or different R b1 and/or R c1, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R b1 is independently selected from among -OR c1, -NR c1 R c1, halogen, -CN, -C R c1, -C OR c1, -C NR c1 R c1, -S 2 R c1, -S 2 NR c1 R c1, -NHC R c1 and -N(C 1-4 alkyl)C R c1; each R c1 independently of one another denotes hydrogen or a group, optionally substituted by one or more, identical or different R d1 and/or R e1, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R d1 is independently selected from among -OR e1, -NR e1 R e1, halogen, -CN, -C R e1, -C OR e1, -C NR e1 R e1, -S 2 R e1, -S 2 NR e1 R e1, -NHC R e1 and -N(C 1-4 alkyl)C R e1; each R e1 independently of one another denotes hydrogen or a group, optionally substituted by one or more, identical or different R f1 and/or R g1, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R f1 is independently selected from among -OR g1, -NR g1 R g1, halogen, -CN, -C R g1, -C OR g1, -C NR g1 R g1, -S 2 R g1, -S 2 NR g1 R g1, -NHC R g1 and -N(C 1-4 alkyl)C R g1; each R g1 independently of one another denotes hydrogen or C 1-6 alkyl; q denotes 0, 1 or 2; ring C is phenyl or 5-6 membered heteroaryl; each R 6 independently is R b2 or a group, optionally substituted by one or more, identical or different R b2 and/or R c2, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R b2 is independently selected from among -OR c2, -NR c2 R c2, halogen, -CN, -C R c2, -C OR c2, -C NR c2 R c2, -S 2 R c2, -S 2 NR c2 R c2, -NHC R c2 and -N(C 1-4 alkyl)C R c2; each R c2 independently of one another denotes hydrogen or a group, optionally substituted by one or more, identical or different R d2 and/or R e2, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R d2 is independently selected from among -OR e2, -NR e2 R e2, halogen, -CN, -C R e2, -C OR e2, -C NR e2 R e2, -S 2 R e2, -S 2 NR e2 R e2, -NHC R e2 and -N(C 1-4 alkyl)C R e2; each R e2 independently of one another denotes hydrogen or a group, optionally substituted by one or more, identical or different R f2 and/or R g2, selected from among C 1-6 alkyl, C 2-6 alkenyl, C 2-6 alkynyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 4-6 cycloalkenyl, phenyl, 5-6 membered heteroaryl and 3-7 membered heterocyclyl; each R f2 is independently selected from among -OR g2, -NR g2 R g2, halogen, -CN, -C R g2, -C OR g2, -C NR g2 R g2, -S 2 R g2, -S 2 NR g2 R g2, -NHC R g2 and -N(C 1-4 alkyl)C R g2; each R g2 independently of one another denotes hydrogen or C 1-6 alkyl; r denotes 0, 1 or 2; wherein the compounds may optionally also be present in the form of the tautomers, racemates, enantiomers, diastereomers and the mixtures thereof or as the respective salts of all the above-mentioned forms.