The present invention relates to pyrazolecarboxamides of the formula I in which the variables are as defined below: X is trifluoromethyl; R1 is F, Cl, Br, C1-C4-alkyl or C1-C4-haloalkyl; R2 is hydrogen, halogen or C1-C4-alkyl; R3 is hydrogen, C1-C4-alkyl, C1-C4-haloalkyl, C2-C4-alkenyl, C2-C4-alkynyl or C3-C6-cycloalkyl; W is O or S; with the proviso that, if R3 is hydrogen and W is oxygen, a) R1 and R2 are not simultaneously methyl and F, respectively; b) R1 and R2 are not simultaneously trifluoromethyl and hydrogen or fluorine, respectively. to processes for preparing these compounds, to seeds and compositions comprising them and to methods for controlling harmful fungi.