Which kinds of closures for spice and herb containers exist and what are their advantages and disadvantages?
The only truly, definitely airtight seals widely available are either plastic snap locks with a gasket, or bail-lock type glass containers.

Mind that there are a few spices (clove powder and mixtures containing it) that can be surprisingly aggressive towards plastics.