Traveling from Germany to Sacramento, California by train is impossible. No rail connection spans the Atlantic Ocean.
Geography: North America and Europe separated by 5,000+ km of ocean. No tunnels, bridges, or ferry-rail links exist.
Gauge Incompatibility: European standard gauge (1,435 mm) matches US, but Russian broad gauge (1,520 mm) dominates trans-Siberian route—still requires Pacific crossing.
Fly: Frankfurt (FRA) or Munich (MUC) → Sacramento (SMF) via 1-2 connections (DEN, SFO, LAX, SEA). 14-18 hours total.
Rail + Cruise: Train to Southampton/Hamburg → transatlantic cruise (7-10 days) → train from NYC/LA. Niche, expensive.
Freighter Travel: Cargo ships accept passengers (€100-150/day, 10-14 days).
Amtrak's California Zephyr (Chicago-Emeryville) + bus to Sacramento, or Coast Starlight (Seattle-LA) + connection. But you must reach US first.