Design and First Tests of a Radiation-Hard Pixel Sensor for the European X-Ray Free-Electron Laser