Both Pan-Slavism and Pan-Germanism targeted the dissolution of Austria-Hungary.

Evidence

Russian Pan-Slavs claimed as early as 1870 that the best possible starting point for a Pan-Slav empire would be the disintegration of Austria, and Austrian Pan-Germans were so violently aggressive against their own government that even the Alldeutsche Verband in Germany complained frequently about the “exaggerations” of the Austrian brother movement. — Hannah Arendt, The Origins of Totalitarianism, 579