Same. 2-25-11 does not define the postscrimmage kick spot when the kick ends in Team A's end zone, so I'm going with the goal line.
That is consistent with how the rules treat every other spot that's actually in the end zone. 10-2-2-d-2-c is the closest comparison: 3 and 1 enforcement, end of the run in B's end zone, spot of the foul in B's end zone... 10-2-2-d-2-c treats both the flag and the end of the run as if they were on the goal line. Likewise in your situation, I'd treat the end of the kick as if it were on the goal line too.