How to let a (sub)section be placed on a new page if the previous page is more than x% filled?

I think this thread and this answer is an implementation of that. It supports both relative and absolute measures for space.

1 Like