I was endlessly corrected on my use of German when in Austria … that’s why I added “kindly”
you could have said “did you really think that …” or “had you really thought/believed/imagined that..”.
Both add up to the same thing, but the second one is slightly more archaic in style.