Takeout is usually for food when you want to get like food and take it home pretty much, and takeaway is like something that you hear in a speech or something, and you take some of that and put it into your daily life to try to do it
sometimes takeaway is also used as a synonym for takeout tho