You can't separate gender and sex in that case!


In Old English, wifman, (woman) was masculine and wif, (wife) was neuter. In Modern German Mädchen (young girl) is neuter.