Perfectly fine. On the rare occassion that you arrive or depart not from E Gates, you'd have to pass security again, but even then the layover is fine (assuming more or less on time arrival)
Please note that to enter landside (hotel accomodation), you'd need a Schengen Visa (or be allowed to enter Schengen without one)