There currently is one option to travel by night train from Celje (Slovenia) to Rosenheim (Germany), taking approximately 9 hours: Namely the EN 414 operated by HŽPP.
HŽPP, Croatia's national passenger railway, operates domestic trains as well as international connections.