Fat actually wrote a great article on various CSS problems at Medium and how they solved it. The article includes a great explanation on how they are currently managing z-indexes.
Whenever working on a project that contains a lot of different z-indexes, I tend to make use of their z-index scale. It keeps things moderately simple and it makes managing your z-indexes much easier!