Introduction

In recent decades, risks of population declines and local extinctions in many species of reptiles and amphibians have been reported from across the globe1. A multitude of factors has been identified as potential main drivers behind these declines, including climate warming and climate change as a widely approved factor2,3. However, determining the role of climate change on biodiversity decline is challenging as numerous factors are involved and climate changes vary depending on spatial scales4. Conservationists have assessed the biological risks from projected impacts of climate changes using empirical species distribution models2,5,6,7, demographic simulations8,9,10 or phylogenetic proxies11,12,13,14.

One of the most obvious effects of climate change on biodiversity is the projected change in species geographical ranges15,16. The geographic distribution of any species, with some degrees of disequilibrium, is a spatial representation of its ‘ecological niche’. Extrinsic factors such as abiotic conditions and species interactions, and intrinsic ones such as dispersal capability and genetic plasticity determine form, dynamic, and evolution of the niche17. The interactions between these factors through past evolutionary time-scales determine the current distribution range of the species18. In the Anthropocene, the rapid rate of climate change has caused signatures of range loss and range shift in many species, with an observed time lag of population dynamic responses relative to climatic trends8. Over the past century, increasing evidence of climate change impacts on biodiversity patterns has been documenting a globally consistent rate of poleward or upward shifts in many species’ geographic distributions6,7,12,15, although some species show deviating responses19,20.

The consequences of climate change on conservation status and extinction risks have been assessed for a wide array of taxonomic groups. For example, Thomas, et al.21 estimated that 18–35% of the analyzed species are at risk of losing significant suitable habitat by 2050. A review on ecological and evolutionary responses of biodiversity to recent changes in climate has concluded that range-restricted species (e.g. polar and mountain-dwelling species) are the first group to respond with highest observed extinction rates in response to climate change22. Foden, et al.23 argued that up to 83% of birds, 66% of amphibians and 70% of corals are not currently classified threatened in the Red List despite being projected to be highly sensitive to the impacts of climate change.

Generally, the IUCN assessment of the Red List status relies on published data and on expert knowledge about distribution, population status and ecology of species. A trait-based assessment, which aimed at identifying the important species characteristics associated with high risk of extinction due to climate change10, has pointed to the ‘occupied area’ (total area of all occupied patches) as being the most sensitive characteristic. The terms ‘extent of occurrence’ (EOO) and ‘area of occupancy’ (AOO) are two metrics representative of a species’ geographic range (i.e. occupied areas), and are used to assess extinction risks and the Red List status of species (criteria B in the IUCN Red List). Moreover, as the IUCN recommends that either the known, inferred or projected sites of occurrence could be used to estimate the species range24, predicting suitable range for the species based on their ecological requirements through an ecological niche modelling (ENM) procedure is a highly suitable tool for conservation assessments. Consequently, ENM (also habitat suitability or species distribution modelling) has widely been used to estimate EOO and AOO, considering the total number and extent of grid cells predicted to provide suitable habitat for a target species25,26,27.

Nevertheless, extinction risk assessments often suffer from uncertainties that arise from different parametrization and model projections28,29, species-specific characteristics e.g. dispersal scenarios;10,30 and/or taxonomic bias of unresolved or inconsistent phylogenetic relationships31,32. Furthermore, issues emerge from insufficient availability of species distribution data33,34, and from insufficient scale and resolution of range maps35,36, particularly for unknown or data-deficient species. In this situation, projections of AOO and EOO based on spatially explicit models can provide inferred sites of species occurrences that are less affected by sampling efforts and scale issues27.

One taxonomic group that is specifically threatened by climate change is Mountain viper species of the recently recognized genus, Montivipera37 which is an intriguing model of neo-endemism in Mediterranean ecosystems. The interaction of geomorphologic, tectonic and climatic drivers have formed a complex and heterogeneous assemblage in this bioregion38,39,40. The high magnitude of Tertiary-Quaternary climate fluctuations has caused many taxa to undergo repetitive patterns of expansion, contraction and isolation41,42. In addition, severe ecological conditions and high spatial divergence in most parts of these Mediterranean ecosystems have resulted in the emergence of a substantial degree of recent speciation events38, i.e. neo-endemism43,44. As a consequence, the Near and Middle East embrace the richest herpetofauna and harbor the highest diversity of true vipers within the Palearctic bioregion44,45.

The distribution of Montivipera species is constrained by the Mediterranean climate regime from the flat coast of western Turkey to the mountainous landscapes of the Irano-Anatoly and the southern Caucasus regions (Fig. 1). Strong isolations through repeated retractions to isolated mountain tops during late Tertiary climatic fluctuations have caused vicariant allopatric speciation and a rapid rate of diversifications in this genus7,45. Generally (and from a phylogenetic viewpoint), Montivipera species are categorized into two complexes; Xanthina and Raddei37, yet their taxonomy remains debated45. The Xanthina complex includes the species M. xanthina, M. wagneri, and M. bornmuelleri with two species-subspecies M. b. albizona and M. b. bulgardaghica. The Raddei complex contains M. raddei, M. latifii, M. albicornuta and M. kuhrangica. Isolated distribution ranges and population declines due to habitat loss and illegal collection for antivenin production, especially of the Raddei complex46, have resulted in all Montivipera species being classified as threatened in the Red List of the IUCN, except for M. xanthina.

Figure 1
figure 1

Global distribution of phylogeographic Montivipera clades (PGMCs) (a), their phylogenetic relationship based on Stümpel, et al.45 (b), and altitudinal distribution patterns in the study area (c).

The restricted current distribution ranges and small population sizes of all Montivipera species, and the ongoing threats from climate change urge for an assessment of their vulnerability and for developing conservation priorities in response to projected climate trends. Here, we assess the risks of mountain vipers to lose habitat from climate change in a hotspot of the Palearctic herpetofauna. More specifically, we address the following questions: (1) how could projected climate change affect the area of suitable habitat (AOO) in mountain vipers; (2) to what degree could projected climate change affect patch connectivity and isolation; and (3) how do these changes affect the IUCN risk assessment criteria of mountain vipers. To answer these questions, we used ENM to derive climatically suitable habitats as an index of currently occupied areas (AOO) of Montivipera genus in the eastern Mediterranean climatic regime (Irano-Anatoly and the southern Caucasus). We then removed anthropogenically converted land areas from the modelled habitats and measured projected shifts and/or shrinkages of the AOO to assess current and forthcoming extinction risks of the species under future climates. By using landscape ecology analyses, we further assessed the projected long-term persistence of the species complexes through tracking the spatial configuration of suitable habitats.

Results

The ecological niche models revealed that suitable habitats of mountain vipers, particularly those of the Bornmuelleri and Raddei clades are patchily spread in mountain ranges under current climates. For the Bornmuelleri clade these areas mainly stretched along the Anatolian diagonal and along two mountainous landscape parallel to the Mediterranean Sea, Mount Lebanon and Anti-Lebanon Mountain. Suitable habitats for the Raddei clade were found in the highlands of the Zagros and Alborz mountains within Iran, and in Ararat and Lesser Caucasus in Turkey and Armenia. For the Xanthina clade the predicted suitable habitats were stretched close to coastal lowlands of the Mediterranean Sea in Turkey. The area under the ROC curve (AUC) and true skill statistics (TSS) values of the 10-fold replicated split-sample tests showed excellent prediction accuracy, as all models revealed an average AUC > 0.8 (except the SRE model for Bornmuelleri and Xanthina) and an average TSS > 0.6 among replicates (Fig. 2). Among the four algorithms, GBM presented the highest and SRE the lowest model accuracies, both for AUC and TSS. Highest model accuracies were generally obtained for the Raddei clade. The AUC of the consensus models of the Bornmuelleri, Raddei, and Xanthina clades were 0.925, 0.939 and 0.911, respectively, and the according TSS values were 0.786, 0.825 and 0.733. The consensus distributions of all three Montivipera clades indicated a continuous pattern of range contraction (reduction in projected AOO) under changing climates during the twenty-first century (from the current to 2050 and to 2070) and for RCP scenarios (from RCP 4.5 to RCP 8.5) (see Figs 3,4,5 for the three species and Table 1). The extent of range shifts was quite consistent and similar under the two dispersal scenarios, i.e. no and unlimited dispersal, hence we focused on the no dispersal range changes hereafter. However, the magnitude and direction of range changes vary by clade and emission scenario, with the Bornmuelleri clade showing the highest and the Xanthina group representing the lowest loss in projected AOO (Fig. 6). As we expected, range contractions increase over time and under the more severe emissions scenarios. Accordingly, the extent of projected AOO would get the least reduction by 2050 and using RCP 4.5 (34.6%, 52.1% and 77.6% for the Xanthina, Raddei and Bornmuelleri clades, respectively), while the highest reduction was found under the severe scenario, RCP 8.5 by 2080 (63.8%, 78.3% and 96.8% for Xanthina, Raddei and Bornmuelleri, respectively; Table 1).

Figure 2
figure 2

Values of the model’s accuracy based on AUC and TSS of the 10-replicated models for Bornmuelleri (white), Raddei (light gray) and Xanthina (dark grey) clades. GBM; generalized boosted model, GLM; generalized linear model, MaxEnt; maximum entropy, SRE; surface range envelop.

Figure 3
figure 3

Predicted climatically suitable areas for the Bornmuelleri clade for current and future, 2050 and 2070, with two RCP scenarios. Suitability maps are average calculations of the four GCM models for each time period and RCP scenario. Grey colors show areas with human footprint greater than 50.

Figure 4
figure 4

Predicted climatically suitable areas for the Raddei clade for current and future, 2050 and 2070, with two RCP scenarios. Suitability maps are average calculations of the four GCM models for each time period and RCP scenario. Grey colors show areas with human footprint greater than 50.

Figure 5
figure 5

Predicted climatically suitable areas for the Xanthina clade for current and future, 2050 and 2070, with two RCP scenarios. Suitability maps are average calculations of the four GCM models for each time period and RCP scenario. Grey colors show areas with human footprint greater than 50.

Table 1 The mean percentage of the extent of suitability stable habitats (Stbl) and range change (RngChg) of PGMCs under future climate conditions (2050 and 2070 time-slice, RCP scenarios 4.5 and 8.5), predicted using ensemble ecological niche models.
Figure 6
figure 6

Boxplot of the comparison of percentage loss (red) and gain (green) of climatically suitable patches for the three Montivipera clades under climate change scenarios. Boxplots show variation between four GCM climate projection from ensemble models.

The assessment of extinction risks revealed that the Bornmuelleri clade is most at risk (i.e. Threat 2) as it is projected to lose 97% of its AOO by 2070 under RCP 8.5. For the Raddei and Xanthina clades the highest risk was projected to be categorized as Threat 3 (78% and 64% range loss, respectively; Fig. 6) by 2070 under RCP 8.5. Regarding range gain statistics, we also found that the Bornmuelleri clade exhibited a complete absence of gaining newly suitable habitats (percent gain = 0) under any future climate scenario, whilst the Xanthina group was projected to gain the highest proportion of newly suitable habitats (10–11%; Fig. 6).

The results from the landscape analysis showed a decreasing trend in the extent and number of patches projected to remain climatically suitable for all Montivipera clades. While, the decreasing trend in the number of patches for the Xanthina clade was low, the decreasing trend of the average patch size was striking for this group (Fig. 7a). Also, both the patch isolation (i.e. aggregation index) and the patch fragmentation (i.e. splitting index) showed increasing trends from current to projected future climates (Fig. 7a). This was particularly the case for the mountain-dwelling clades Bornmuelleri and Raddei, which in turn were reasonably consistent with their projected altitudinal upward shifts (Table 2).

Figure 7
figure 7

Projected changes in the landscape metrics number of patch (NP), proportion of the landscape (PL), aggregation index (AI) and splitting index (SI) of climatically suitable patches for Montivipera species in eastern Mediterranean Basin.

Table 2 Projected changes in average altitude of patches climatically suitable for Montivipera groups from the current to the future climate scenarios.

Discussion

Most previous studies have found that the impact of climate change on biodiversity range dynamics emerges through projected range shifts and/or range shrinkage6,12,22,47. While range shift can be attributed to poleward latitudinal range displacements, as is a case for species inhabiting extensive geographic areas, the range shrinkage often occurs in range-restricted species, often inhabiting mountains, and results from upward altitudinal range contractions16,48. The result of projections under GCMs and emissions scenarios in our study revealed a consistent response of mountain vipers in terms of range contractions, originating from an altitudinal shift to higher elevations (Tables 1 and 2; Fig. 26). However, the three clades showed varying degrees of range loss under climate change. The Bornmuelleri clade was projected to lose almost all suitable habitats under the RCP 8.5 by 2070. From a geographic and geomorphologic point of view, the remaining suitable habitats in this clade, which are projected to shift towards a warm Mediterranean climate regime, consist of mountainous landscapes close to flat coastal areas.

With respect to the significant climate shifts projected by 210049,50, the Mediterranean Basin will become an important hotspot for biodiversity conservation51. Our results are thus consistent with recent updates on projected species habitat losses due to global warming in the Mediterranean and Middle East7,52,53. Nevertheless, the effects of climate change on species range shifts in the eastern Mediterranean has not properly been investigated in the literature, and the few existing studies have only focused on very local patterns7,54. A key finding of this study is that there is a strong difference in the climate change impacts among the three species clades inhabiting three different eastern Mediterranean sub-regions. Accordingly, our results highlight a significant sub-regional variation in the impacts of climate change on biodiversity, specifically in wide-ranged species such as mountain vipers. Previous studies on climate change projection over the period 1979–2100 have revealed that among the Middle East - North Africa domain the alpine ecosystems of Turkey and Iran are likely to face the largest increase in temperatures, particularly during March-May49. This time of the year coincides with the post-hibernation mating activities for Montivipera species. Accordingly, apart from projected reductions in the mountain vipers’ suitable habitats and increasing habitat fragmentation, climate changes might also interfere with the species reproductive cycles, and thus their demographic rates.

While there is a proliferation in studies analyzing the projected impact of climate change on biodiversity range shifts16,22, bioclimatic niche projections mostly neglect important drivers of ecological integrity55, and often fail to address habitat connectivity, despite being an important element for successful conservation of biodiversity under a changing climate56,57. Here, by using metrics of patch configuration, we incorporated the concept of landscape integrity to assess the impact of climate change on the capacity for dispersal and long-term resistance of the species. Furthermore, we eliminated areas that are unsuitable because of human land transformation as extracted from a human footprint dataset. This allowed us to incorporate human-induced barriers into our landscape integrity analysis and increased the realism in projections to the landscape scale. Our approach demonstrated that significant proportions of climatically suitable habitats of mountain vipers are both inaccessible and/or highly fragmented due to the dominance of humanized developments. The decline in both the extent and number of suitable habitat patches was consistent among all species, with the Raddei clade showing a lower decrease in the number of patches compared to the Xanthina and Bornmuelleri clades, although its suitable habitat range was highly reduced (Fig. 7a). We thus conclude that the currently suitable habitat patches for the latter two groups will likely become too small for supporting viable populations in the future, as they will lose many of these small marginal patches. For the former, the currently suitable habitat represents core patches that will still remain suitable in the future, albeit losing extent.

The configuration-isolation indices (i.e. AI and SI; Fig. 7a,b) revealed that mountain vipers will be facing an extreme rate of degradation in habitat quality due to increased isolation and fragmentation under projected future climates. The decrease in the aggregation index is caused by increased distance among subpopulations which is the primary factor of reduced connectivity58. The impact of climate change on connectivity is more deteriorating for range-restricted species, such as Montivipera species, as their population dynamics is suffering from their strongly-limited dispersal behaviors55,59. In addition to isolation, mountain vipers’ suitable ranges are increasingly subdivided into smaller patches under projected future warming, which in turn will increase their vulnerability to climate change. Generally, species’ vulnerability to environmental stress is thought to depend on three main elements: exposure, sensitivity and adaptive capacity60. In the case of mountain vipers, the high magnitude of range loss due to climate change (i.e. exposure21,61) and human-induced barriers to connectivity impose high levels of vulnerability. Mountain vipers are ecological specialists distributed among isolated populations, thus exhibiting a patchy distribution. Their reduced population sizes and life histories exhibiting long generations limit their adaptive capacity to changing climates (i.e. sensitivity10,62), which additionally intensify their vulnerability to changing climates. Finally, ongoing trailing-edge fragmentation, limited dispersal capability, lack of gene flow between disjunct populations and low effective population size due to declining population trends all lead to likely low genetic diversity within populations (i.e. adaptive capacity22,63,64) which adds again to the vulnerability of mountain vipers to climate change. Given the reduction in the projected AOO of the PGMCs we then assigned them to Threat levels (see Methods for more details on Threat levels). Of the three PGMCs, Bornmuelleri is at highest risk to go extinct and would be classified as IUCN Threat 2, but very close to critically threatened (Threat 1) supported by projections of all GCM models. Overall, the uncertainty in range loss values due to the different climate change models that we considered was very low (SD = 3.8–9.2% for Raddei, SD = 1.1–9.7% for Bornmuelleri, SD = 3.2–12.26% for Xanthina) leading to all three groups being assigned into only one threat level. There are additional drivers that could intensify the risk of species extinctions. For example, catastrophic events such as climate extremes, pathogens, large fires or spread of invasive organisms, although occurring at a low or unpredictable frequency, may impose severe consequences and irreversible effects65. Increasing human pressure and land use change, which have been intensifying particularly in the eastern Mediterranean Basin and the Middle East53 are important threats to the connectivity of the Montivipera’s remnant populations. In addition to habitat destruction, land use degradation hampers the effective efficiency of mountain vipers to track climate change and hence increases the vulnerability of these species. The species have to disperse to areas that are becoming newly suitable under climate change. If populations cannot disperse at the velocity of environment shifts, the species may only persist in remaining refugia66,67. The capability to disperse across landscapes may be further reduced by human developments that dissect suitable habitats into isolated patches, thus reducing habitat connectivity and increasing barriers to dispersal68. Altogether, the likely fact that most species will not be able to balance their distributional dynamics with the velocity of environmental changes (e.g. future climate change), highlights the necessity of considering ‘assisted migration’ as an adaptive conservation strategy67. Moreover, regarding the recent decline in natural populations of some of the Montivipera species (e.g. M. latifii and M. wagneri), ex situ conservation, for example captive breeding and introduction-reintroduction programs, could be considered as a strategy to assist the long-term persistence of the species in areas that are highly sensitive to climate changes.

Although EOO and AOO are globally accepted as surrogates of species’ geographic range to assess extinction risk, their application to assign species to risk categories have remained controversial65 due to issues of spatial scale and availability of data33,36. The finer the scale at which the distribution of species is mapped, the larger will be the area within which the taxon is recorded to be absent, and the more likely the assessed extinction risks will be higher. Conversely, coarse-resolution mapping of species distributions fails to map unoccupied areas, resulting in lower assessed extinction risks. Moreover, mapping species at coarse resolution increases the likelihood of neglecting environmental heterogeneity and hidden local microclimatic refugia, particularly in mountain areas5,69. The assessment of climate change impacts and extinction risks is thus scale-dependent, with finer spatial scales usually being more representative of a species’ biology than coarse resolution assessments. In our study, the ensemble models were developed at a relatively fine grid size (ca. 1 km2) through which we included local topographic heterogeneity effects and cryptic climate refugia into the range estimations and risk assessments.

In this study, we performed ENM analyses at a clade level above the species rank rather than at the species level due to the sparse availability of data on species distributions. This procedure assumes that niche conservatism holds for recently diversified species in mountain vipers, which is likely the case in most species that have evolved mostly from allopatric speciation. This speciation mode tends to retain ancestral ecological traits (e.g. ecological niche)70. In fact, niche conservatism in climatic tolerance might have limited the geographic range expansion of mountain vipers and may have resulted in very similar species-specific ecological niches in this genus. However, we admit that our approach of phylogenetically lumping occurrence points may have introduced some bias. First, our approach expands geographic range size of the species by assigning them to clades. Given the positive correlation between species’ range size and niche breadth71, and given that aggregations may smooth over smaller lower-ranked taxonomic units72 this method may inflate niche breadth and overestimate the range of suitable habitats for species-specific local populations. The resulting habitat suitability maps may thus be rather optimistic. In reality, there will likely be fewer suitable patches available to any species than what is modelled at the clade level, particularly in the absence of unlimited dispersal. Another key assumption of ENMs is that a species is in equilibrium with the climate67,73, meaning that the observed distribution represents the total of suitable habitats of the species. Regarding the evolutionary history of Montivipera, high degrees of new-endemism, isolated distribution to mountain and limited dispersal abilities45,74 might have eradicated the species from some areas that once were suitable. This could mean that Montivipera species might be isolated from otherwise suitable habitats, thus violating to some degree the equilibrium assumption. If true, this would underestimate the true width of suitable habitats, and thus, counteract the overestimation imposed by aggregating species to clades. We believe that both effects are considerably small given the very clear and specific niche identified by our models.

Combining results of population demographic models (e.g. population viability analysis) with distribution models allows for a more accurate prediction of a species extinction risk due to a more detailed representation of the demographic processes75. Due to the lack of demographic data, we were not able to construct more dynamic models (e.g. mechanistic models), and we focused on projections of AOO as a proxy of effective habitat loss. Our results thus need to be considered with caution. However, our model-derived estimates of AOO could be useful to design conservation areas76, spatial priority-setting implications and conservation planning of the highly endangered mountain vipers.

Methods

Study area and Montivipera occurrences

The study area encompasses parts of the eastern Mediterranean Basin, extends to the Near and Middle East and contains two biodiversity hotspots, the Mediterranean Basin and the Caucasus, which are both rich in endemics from a faunal and also from a floristic viewpoint. From a geomorphologic viewpoint, the study area is predominantly mountainous with a small coastal fringe in the west to an increasing alpine system stretching towards the east, starting from the Taurus Mountain in Turkey and ending with the Lesser Caucasus in Armenia and with the Alborz and Zagros Mountains in Iran. Although this region mainly receives its humidity and rainfall from the Mediterranean Sea, long dry seasons have caused the formation of a heterogeneous mixture of sclerophyllous cover types spanning from alpine steppe grasslands to mixed and deciduous wood-forest belts dominated by oaks, junipers, and pines.

Species occurrences used as input to ENM were obtained from field sampling between 2011 and 2016 (particularly for species of the Raddei complex, n = 84) and from other herpetologists’ field studies (n = 62), extractions from existing databases (i.e. Herp-Net and GBIF, n = 16), and from scientific publications (n = 10). In order to avoid effects from spatial autocorrelation of the presence points due to different protocols of field sampling77 we randomly sub-selected one point per 10 km radius buffer using the sp package78 in R v. 3.4.379. In summary, we retained 152 records ranging from 7 for M. b. albizona to 37 for M. xanthina.

Mountain vipers have a highly isolated distribution with incompletely sampled data. Hence, the insufficient data of the species occurrence is too sparse for performing ENMs at the species level. By lumping occurrence points of the closely related sister-clades we developed niche models above species level80. To do so, using a recently constructed phylogenetic tree of the genus45 (see Fig. 1), which subdivides the genus into geographically well-separated clades, we divided the current Mediterranean distribution of the genus into three phylogeographic Montivipera clades (PGMC). These PGMCs represent three different bioregions including coastal habitats (western Turkey), nearshore mountain habitats (southern Turkey, Lebanon, and Syria) and inland mountainous habitats (northern and western Iran and southern Caucasus), which encompass the core area of the distribution of the three phylogenetic clades Xanthina, Bornmuelleri, and Raddei, respectively (Fig. 1a,b). The ENM analyses were performed such that all occurrences were pooled by PGMCs for further modelling in order to have sufficient observations to build models, obtaining 37, 80 and 35 occurrence points for Bornmuelleri, Raddei and Xanthina clades, respectively. However, we removed the Taurus occurrences of the Xanthina sub-clade because of its more mountainous distribution compared to the rest of the Xanthina sub-clade (see Fig. 1c).

Ecological niche modelling approach and climate change

To track the impact of climate change on the distribution of Montivipera clades we conducted ENM based on climatic variables at a ~1 km resolution derived from WorldClim81. We only used climate variables rather than other vegetation-derived predictors in the ENM analysis in order to assess changes of the climatic suitability and to avoid circular reasoning, as vegetation properties themselves depend on climate. In order to sample the whole study area for background contrast, we allocated 10,000 pseudo-absences spatially at random. We then extracted the values of all 19 bioclim variables for presence and pseudo-absence points and calculated the degree of multicollinearity among them based on the variance inflation factor (VIF). To do so, we used the ‘usdm’ package82 and set a VIF value of 6 and a correlation threshold of 0.75, as recommended by Guisan, et al.83. As a result, we retained 6 bioclim variables for modelling, including annual mean temperature (bio1), temperature seasonality (bio4), maximum temperature in the warmest month (bio5), annual precipitation (bio12), precipitation of driest month (bio14) and precipitation seasonality (bio15).

To assess the habitat suitability of the species, we fitted four ENM methods, including generalized linear models (GLM), generalized boosting models (GBM), surface range envelop (SRE, or commonly called as BIOCLIM), and maximum entropy (MaxEnt) and combined them into a final ensemble model using biomod2 package84. Using the four methods allowed us to combine simple regression (GLM) and envelop (BIOCLIM) models and complex machine learning (MaxEnt, GBM) models85 and thus to assess uncertainties arising from the choice of methods. For GLM we used simple and quadratic terms and stepwise selection procedure based on Akaike Information Criteria (AIC) to fit the best model. GBM was set to allow up to 2500 trees, and we set the learning rate to 0.001 and the bag fraction to 0.5. To conduct SRE the species envelop was set up with a quantile 0.05% to avoid the most extreme values. For MaxEnt all feature types (linear, quadratic, product, threshold and hinge) were allowed and a maximum iteration of 200 was used. For all models we weighted presences and pseudo-absences inverse-proportional so as to give them equal weights and the models’ predictive performance was evaluated by means of a repeated (10×) split-sample test (75% training, 25% evaluation) for which we calculated the AUC and the TSS. The final ensemble model was obtained by weighted-averaging the individual models proportionally to their AUC scores84.

The future habitat suitability of the clades was estimated by projecting fitted models to four different global circulation models (GCM), including CCSM486, CNRM-CM587, HadGEM2-ES88 and MIROC589 for two time periods of 2050 (average for 2041–2060) and 2070 (average for 2061–2080). Using four different GCMs allowed us to assess the uncertainty from selecting GCMs as these differ clearly among regions90. We included a moderate and an extreme greenhouse gas emission scenario in our analyses91. For each GCM, we considered two representative concentration pathways (RCPs), namely RCP 4.5 and RCP 8.5. To obtain a final ENM projection, we averaged the ensemble rasters arising from projecting the ENMs to the four GCMs for both scenarios and for the two time periods. Data for bioclim variables based on the four GCMs scenarios and time periods were downloaded from WorldClim at a ~1 km resolution. For each PGMC, we therefore implemented 640 projections (4 ENM algorithms × 10 replications × 4 GCMs × 2 RCPs × 2 time-periods).

To track changes in suitable habitats we calculated the percentage of cells that gained or lost climatic suitability for the four GCM models, for the two RCPs, and for 2050 and 2070, compared to the current area of suitable habitat for each PGMC. To identify suitable cells from unsuitable ones, we first converted continuous ensemble models into binary presence/absence maps based on the minimum habitat suitability score at occurrence points per PGMC as a threshold. Using this approach, we calculated the Minimal Predicted Area (MPA), a minimum area where the species is projected to exist92, for establishing the potential AOO for all clades. For this step, we assumed that all current occurrence points represent suitable habitat condition for the species and we did not remove marginal occurrences as “unsuitable”. Then, based on the number of pixels gained or lost under future climatic scenarios we calculated the respective changes in projected AOO (i.e. range shifts) of the groups. We analysed shifts in suitable habitats by employing two different dispersal scenarios, i.e. unlimited dispersal and no dispersal as two extremes (for more details on dispersal scenarios see reference number93).

To obtain an accurate prediction of suitable habitats and to avoid inaccessible areas being identified as suitable for mountain vipers, such as developed areas, we masked these human transformed areas from climatically suitable habitats. Accordingly, we also incorporated the human landscape context into suitability projections. We identified developed areas based on the human footprint model developed and implemented by Sanderson et al. (2002)94. This layer incorporates data on population density and the presence of infrastructures including road networks, land transformation and human access with pixel values ranging from zero (undeveloped) to 100 (cities and highly developed areas). For our study, we assigned areas with values greater than 50 as developed areas and masked them from the predicted habitat suitability maps. We admit that these humanized areas will expand in the future. Yet, due to the lack of available data for future conditions, the mask was applied unchanged to the future climate scenarios. However, urban growth and change in developed areas might not severely alter the results given the large spatial scale of our analyses.

Next, we assessed the severity of future extinction risks of the clades by categorizing them into four threat levels using IUCN Red List Criteria following Maiorano, et al.53. Threat levels are assigned based on the projected AOO losses, with 1: 100%, 2: <100% and > = 80%, 3: <80% and > = 50%, and 4: <50% and > = 30%. Finally, we assessed the spatial configuration of the suitable habitats of the clades by borrowing landscape ecology metrics that express facilitation or suppression of dispersal and long-term persistence of the clades. To do so, we calculated the number of patches (NP), the proportion of the landscape (PL), the aggregation index (AI), and the splitting index (SI) of suitable habitat patches under current and projected future climates. AI is a metric of spatial adjacency and demonstrates the frequency at which different pairs of patches appear side-by-side in a landscape95. The more clumped and compact the patches, the higher are the values of AI. SI measures the degree of fragmentation and can be interpreted as the number of patches with a constant size when the landscape is subdivided into S patches, where S is the value of the splitting index95. SI increases as the landscape is increasingly subdivided into smaller patches. All metrics were calculated using the ‘SDMTools’ R package. A more detailed description of the metrics is available in McGarigal, et al.95.