The present disclosure relates to a two-component hair care agent including, separately from one another, an anhydrous carrier as a first component and, as a second component, an aqueous carrier. The anhydrous carrier includes a branched or unbranched alkane having a chain length of C10 to C30, a branched or unbranched fatty alcohol having a chain length of C8 to C22, an organic acid or an alkalizing agent and a pH sensitive color indicator. The aqueous carrier includes a cationic surfactant comprising an organic radical having a chain length of C12 to C30. In addition, the present disclosure relates to a method for the production of a cosmetic agent in which the first component and the second component are mixed together and the use of the two-component hair care agent for the care of keratinic fibers, in particular human hair.