Even at equal mileage I'd expect the relative rarity of the S4, and the multitude of updates the S4 model benefitted from to keep the S4 priced significantly above the S3.
And the S4 looks even better in the flesh than in the photos Rich - a highly specced car with low mileage. A nice car for someone and the last of the breed