Extending Dynamic Attributes functionality

For my specific use case, it would be awesome to have inheritable dynamic attributes from a Category to a sub-category.
Abstract example:

  1. First I define a Parent-Category “Vehicle” which has a number of attributes (number of wheels, type of engine…)
  2. I then can also define a sub-category “Car”, inheriting all attributes from “Vehicle” (it’s parent category) plus I then can define additional car-specific attributes (number of passengers, color).

Does Anyone has an Idea how something along those lines could be achieved?