Dileptons in a coarse-grained transport approach