The Euro was sold as a EU bloc currency. If one goes then that façade is burst and the financial markets will push up all bond prices for all countries. This makes the PIGS countries(minus Greece) debts bigger and puts them, especially Spain the next target, into greater financial pressure.
Germany benefits hugely from the EU as it keeps their exports affordable. With the Mark Germany was already experiencing problems of their exports becoming uncompetitive, their employee wage bill becoming high. In the Euro the German workers have taken a hike in their living standards but this keeps their exports affordable. That is the problem for Merkel, the Euro project is vital for German exports and German prosperity but the political pressure on the cost of the bailout may wreck the basis of the project.
Germany needs Greece in but the cost, especially if they cannot persuade other PIGS countries not to demand equal treatment, may be too high and the Euro will crash.