Align curves perpendicular to a plane

Hey there!

Is there any way to align the curves (end points) in normal / perpendicular direction to a plane?

I generated the curves by cutting my shell-formed loft in horizontal sections and then offset them. Afterwards these section curves get extruded to build the “stairs” of the shell. Unfortunately the curves jut out the border curve and reach in different directions. So now I wonder if there is any command to change the direction of the curves perpendicular to the boundary planes and to extend them?

I´m new in gh and very thankful for any help!