The Federal Constitution prohibits discrimination, notably on the grounds of gender.
Art. 8 Equality before the law
1 Every person is equal before the law.
2 No person may be discriminated against, in particular on grounds of origin, race, gender, age, language, social position, way of life, religious, ideological, or political convictions, or because of a physical, mental or psychological disability.
3 Men and women have equal rights. The law shall ensure their equality, both in law and in practice, most particularly in the family, in education, and in the workplace. Men and women have the right to equal pay for work of equal value.
4 The law shall provide for the elimination of inequalities that affect persons with disabilities.