I would do it this way: cheapest/most convenient RT flight SFO - Europe (where "Europe" is a city you want to visit), and then separate tickets to/from ATH. Since you'll spend some time in the first city you won't have to worry about connecting on separate tickets, and you have the flexibility to plan.