How can I gain some space and delete luci etc.?

You’re going to need to SSH into the device to really get at what you’re looking to do. I’d make a backup first: