This paper surveys and illustrates ten years of research done on sociophonological variation in Viennese German from a methodological point of view. It shows how variants of the same word form are collected and analyzed and how two types of rules are differentiated: (1) phonostylistic (optional) phonological rules of the fast/casual and formal hyperarticulate speech, both of Standard Austrian German and Viennese German Dialect; and (2) bidirectional input switch rules between these two strata. Psycholinguistic lab experiments are summarized, which vouch for the psychological reality of sociolinguistic concepts used. A theory of sociopsychological speech situations is described as well as the application of quantitative and qualitative sociolinguistic methods used. A major illustration of our approach is taken from the sociolinguistic study of defendants at court. The conclusion summarizes major claims. (Courtroom discourse, hermeneutics, phonological theory, phonological variation, psycholinguistic experiments, qualitative and quantitative methods, sociophonology, speech situations, style repertoires, switching, text linguistics, therapeutic discourse; Standard Austrian German, Viennese German.)