There is sex education at every school, details can be found in the Hamburg Schools Act, § 6. The legal guardians have to be informed about goals, contents and forms of sex education in a timely manner.