Compounds of formula (I) wherein R 1 , R 2 , R 3 , R 4 and R 5 are independently selected from H, halogen, cyano, nitro, C 1 - 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 1 -C 7 -alkoxy, halo-C 1 -C 7 -alkoxy and C 3 -C 8 -cycloalkoxy; R 6 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, substituted aryl or substituted heteroaryl, wherein substituted aryl or substituted heteroaryl are substituted with R 18 , R 19 and R 20 ; R 7 , R 8 , R 9 , R 10 , R 11 and R 12 are independently selected from H, halogen, C 1 -C 7 -alkyl and halo-C 1 -C 7 -alkyl; A 1 is -(CR 14 R 15 ) p -C(O)NR 16 R 17 or -(CR 14 R 15 ) p -C(O)OR 17 ; R 14 and R 15 are independently selected from H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl and halo-C 3 -C 8 -cycloalkyl; R 16 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, hydroxy-C 1 -C 7 -alkyl, C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl or halo-C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl; R 17 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 3 -C 8 -cycloalkyl-C 1 -C 7 -alkyl, C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkoxy-C 1 -C 7 -alkyl, substituted aryl or substituted heteroaryl, wherein substituted aryl and substituted heteroaryl are substituted with R 21 , R 22 and R 23 ; or R 16 and R 17 together with the nitrogen to which they are attached form a substituted heterocycloalkyl or a substituted heteroaryl, wherein substituted heterocycloalkyl and substituted heteroaryl are substituted with R 21 , R 22 and R 23 ; R 18 , R 19 , R 20 , R 21 , R 22 and R 23 are independently selected from H, halogen, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 1 -C 7 -alkoxy and halo-C 1 -C 7 -alkoxy; n is zero, 1 or 2; p is zero, 1 or 2; and pharmaceutically acceptable salts thereof. R 1 , R 2 , R 3 , R 4 and R 5 are independently selected from H, halogen, cyano, nitro, C 1 - 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 1 -C 7 -alkoxy, halo-C 1 -C 7 -alkoxy and C 3 -C 8 -cycloalkoxy; R 6 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, substituted aryl or substituted heteroaryl, wherein substituted aryl or substituted heteroaryl are substituted with R 18 , R 19 and R 20 ; R 7 , R 8 , R 9 , R 10 , R 11 and R 12 are independently selected from H, halogen, C 1 -C 7 -alkyl and halo-C 1 -C 7 -alkyl; A 1 is -(CR 14 R 15 ) p -C(O)NR 16 R 17 or -(CR 14 R 15 ) p -C(O)OR 17 ; R 14 and R 15 are independently selected from H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl and halo-C 3 -C 8 -cycloalkyl; R 16 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, hydroxy-C 1 -C 7 -alkyl, C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl or halo-C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl; R 17 is H, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 3 -C 8 -cycloalkyl-C 1 -C 7 -alkyl, C 1 -C 7 -alkoxy-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkoxy-C 1 -C 7 -alkyl, substituted aryl or substituted heteroaryl, wherein substituted aryl and substituted heteroaryl are substituted with R 21 , R 22 and R 23 ; or R 16 and R 17 together with the nitrogen to which they are attached form a substituted heterocycloalkyl or a substituted heteroaryl, wherein substituted heterocycloalkyl and substituted heteroaryl are substituted with R 21 , R 22 and R 23 ; R 18 , R 19 , R 20 , R 21 , R 22 and R 23 are independently selected from H, halogen, C 1 -C 7 -alkyl, halo-C 1 -C 7 -alkyl, C 3 -C 8 -cycloalkyl, C 1 -C 7 -alkoxy and halo-C 1 -C 7 -alkoxy; n is zero, 1 or 2; p is zero, 1 or 2; <EOS>