Mittel zur Behandlung keratinhaltiger Fasern, insbesondere menschlichem Haar, enthaltend in einem kosmetisch akzeptablen Träger mindestens ein festigendes anionisches Copolymer, umfassend mindestens eine Struktureinheit der Formel (I) und mindestens eine Struktureinheit der Formel (II) und mindestens eine Struktureinheit der Formel (III)worinR1steht für ein Wasserstoffatom oder eine Methylgruppe,R2steht für ein Wasserstoffatom oder eine MethylgruppeR3steht für eine verzweigte (C1bis C20)-Alkylgruppe, eine verzweigte (C2bis C6)-Hydroxyalkylgruppe oder eine Gruppe *-(CH2CH2O)n-R6mit R6= verzweigtes (C1bis C20)-Alkyl und n = 1 bis 30,R4und R5stehen für ein Wasserstoffatom oder einer der beiden Reste für ein Wasserstoffatom und der andere für eine Methylgruppe,eignen sich zur temporären Verformung von Haaren und Glanzgebung, insbesondere als Aerosolhaarspray oder Aerosolhaarschaum.Agent for the treatment of keratin-containing fibers, especially human hair, comprising, in a cosmetically acceptable carrier, at least one of the anionic copolymer comprising at least one structural unit of the formula (i) and at least one structural unit of the formula (ii) and at least one structural unit of the formula (iii) whereinR1 stands for a hydrogen atom or a methyl group,R2 stands for a hydrogen atom or a methyl groupR3 stands for a branched (c.1 to c20)-Alkyl group, a branched (c.2 to c6)-Hydroxyalkyl group or a group * - (ch2Ch2O)n-R6 with r6 = branched (c.1 to c20)-Alkyl and n = 1 to 30,R4 and r5 stand for a hydrogen atom or one of the two radicals for a hydrogen atom and the other for a methyl group,are suitable for the temporary shaping of hair and gloss, in particular as a spray or aerosol hair mousse.