Hi,
Please check the solution on this topic: Create two dependent Select attributes - #5 by andrii.
P.S. Please post in English (e.g., via Google Translate); this way, questions/answers may also be helpful for others.
I hope this is helpful to you.