There currently is one option to travel by night train from Nové Zámky (Slovakia) to Berlin (Germany), taking between approximately 11 and 12 hours: Namely the EN 40476 operated by MÁV-Start.
MÁV-Start, Hungary's national passenger railway, operates domestic and cross-border trains throughout the region.