What is a good reference for a geometrical viewpoint on the calculus of variations for physics, using differential forms etc. to derive YangMills equations and other topics of the standard model? Thanks for ideas.

I think that the book
contains exactly what you are looking for. 


You might want to have a look at my book, "The Geometrization of Physics" which is freely available online in numerous places, in particular from http://www.ebooksdirectory.com/details.php?ebook=3623 or directly from my homepage: http://vmm.math.uci.edu/ 


There aren't a lot of uptodate treatments of the calculus of variations for mathematicians nowadays,let alone physics students. To be fair,though,that's changing recently with the publications of the texts by van Brunt and Dracogna. Both those treatments are rather analytical and probably not what you're looking for. The best and most complete introduction to the subject I've seen is in the last 4 chapters of S.P.Novikov and I.P Tiamanov's Modern Geometric Structures and Fields,available through the AMS.It walks the reader through not only modern formulations of classical and relativistic mechanics on both semiReimannian and symplectic manifolds with variational methods,the last chapter gives an indepth derivation of the YangMills equations using these methods. I think you may find everything you're looking for in this book. 


The section on classsical field theory in IAS QFT Volume 1 is a pretty good place to get started. 

