Given the small fare difference on this long journey I would travel first class. These trains are not ICE trains but normal coaches. It you want to safe and travel 2nd class, you may buy your ticket after arriving in Germany. They sell 2nd class specials for Euro 29, however these are only available at the station.