Here are some photos from Tim on KP44 Taj, showing a hinged companionway step to allow easy access to the cold box and electrics below the companionway. The steps are slightly narrower than the opening so that they can swing into it. A strategically placed hook holds them up whether the hatch is closed or not.
Jeff on KP44 Beatrix took a more complex approach to this solution. They welded heavy removable-pin stainless door hinges to stainless plates. For more details on this project visit the Beatrix Folding Step web page..