Habitat and climate shape growth patterns in a mountain ungulate

Abstract Uptake and use of energy are of key importance for animals living in temperate environments that undergo strong seasonal changes in forage quality and quantity. In ungulates, energy intake strongly affects body mass gain, an important component of individual fitness. Energy allocation among life‐history traits can be affected by internal and external factors. Here, we investigate large‐scale variation in body growth patterns of Alpine chamois Rupicapra rupicapra rupicapra, in relation to sex, age, temperature, and habitat variations across 31 (sub)populations in the Central European Alps. Taking advantage of an exceptionally large dataset (n = 178,175) of chamois hunted over 27 consecutive years between 1993 and 2019 in mountain ranges with different proportions of forest cover, we found that (i) patterns of body mass growth differ between mountain ranges, with lower body mass but faster mass growth with increasing proportion of forest cover and that (ii) the effect of spring and summer temperatures on changes in body growth patterns are larger in mountain ranges with lower forest cover compared to mountain ranges with higher forest cover. Our results show that patterns of body mass growth within a species are more plastic than expected and depend on environmental and climatic conditions. The recent decline in body mass observed in Alpine chamois populations may have greater impacts on populations living above the treeline than in forests, which may buffer against the effects of increasing temperatures on life‐history traits.

and reproduction (Stearns, 1989(Stearns, , 1992, as observed in many taxa, including mammals (Bergqvist et al., 2018;Hamel, Garel et al., 2009;Ozgul et al., 2010), birds (Chastel et al., 1995), and insects (Akman & Whitman, 2008;Sturm, 2016). In ungulates, energy intake strongly affects body mass gain (Parker et al., 2009), which is an important component of individual fitness (Gaillard et al., 2000). In turn, body mass is strongly affected by internal factors such as sex and age, as well as by environmental conditions, thus it is expected that tradeoffs among life-history traits are also affected by sex, age, and variations in habitat types and climatic conditions (Blanckenhorn, 2000).
In large herbivores, sex-specific differences in energy allocation to body mass primarily result from sexual selection (Loison, Gaillard et al., 1999). With respect to age variation, the energy-allocation trade-off appears to be more complex in adult individuals than in subadults, as the former not only have to allocate the available resources into several somatic traits such as growth and survival but also into reproduction (Gibbens & Arnould, 2009;Toïgo et al., 2007).
Numerous studies suggest that energy allocation for reproduction peaks at prime-age stage when body growth is largely completed (Mainguy & Côté, 2008;Yoccoz et al., 2002). In old individuals, when resources are increasingly invested in survival because of physiological senescence, energy allocation into reproduction typically decreases for most species (Festa-Bianchet et al., 1998;Mason et al., 2011;Morin et al., 2016). Nonetheless, owing to greater experience and larger body mass, the decreasing energy allocation of old females into reproduction does not necessarily translate into lower reproductive success (Beauplet et al., 2006;Green, 1990;Hamel et al., 2010), and in some species best reproducers tend to live longer (cf. Toïgo et al., 2013).
Furthermore, environmental features such as habitat and climatic conditions may strongly affect body growth patterns via different mechanisms (Forchhammer et al., 2001;Pelletier et al., 2007).
For example, individuals living in predictable and/or favorable environmental conditions, e.g., in habitats that provide sufficient food and are protected against extreme climatic variation, commonly show lower mortality rates and invest earlier into reproduction than into body growth (Bleu et al., 2015;Clutton-Brock et al., 1996). In comparison, individuals living in harsher and/or unpredictable environmental conditions commonly allocate fewer resources into early reproduction but more into somatic growth and ultimately survival (Bårdsen et al., 2011;Herfindal et al., 2006). Individuals living in harsh environmental conditions therefore need to survive to an older age to reach the same lifetime reproductive success, compared with individuals living in more favorable conditions Krüger, 2002;McLoughlin et al., 2007). In addition, differences in forage conditions, both in terms of quality and quantity, may result in body mass differences across altitudinal and latitudinal gradients (Mysterud et al., 2001;Ronget et al., 2018). Short summers, typical of high altitudes and latitudes, are assumed to favor fast-growing plants, which in turn are associated with high forage quality (Bliss, 1962;Mysterud et al., 2001;Van Soest, 1994) and result in greater body mass of herbivores (Geist, 1987;Herfindal et al., 2006;Sand et al., 1995). The ability to migrate and follow the "green wave" of new growth along an altitudinal gradient may lead to heavier body masses in regions with low forest cover which are also typically associated with greater altitudinal range (Bischof et al., 2012;Merkle et al., 2016;Middleton et al., 2018). Besides spatial variation in the context of habitat characteristics, also population density -due to increased competition for food resources Pettorelli et al., 2001) -and changing climatic conditions are known to affect body growth patterns of numerous species (LeBlanc et al., 2001;Ozgul et al., 2010;Rode et al., 2010;Yom-Tov, 2001). Internal and external factors may also interact to shape variations in body mass patterns.
In polygynous and sexually dimorphic species, temperatureinduced variation in body mass typically is more pronounced in males than in females, especially in younger age classes (Pérez-Barbería et al., 2020;Rughetti & Festa-Bianchet, 2012). Males in such species may therefore be more vulnerable to variations in climatic conditions compared to females, as their mass growth requires more energetic resources and lasts longer until fully grown (e.g., in red deer Cervus elaphus: Clutton-Brock et al., 1982). In adults of such species, females' body mass is mostly limited by forage resources and affected by pregnancy, parturition, and lactation, while male body mass is affected by forage resources as well as male-male competition for reproduction (Clutton-Brock, 1988;Ritchot et al., 2021). To date, very few studies have evaluated the spatial variation in the context of environmental conditions in the differences of body growth patterns between sexes (McLellan, 2011;Swenson et al., 2007), although there is some evidence that spatial variation may be more pronounced in males than in females, for example, in Alpine chamois Rupicapra rupicapra rupicapra (Mason et al., 2014) (Figure 1).
The Alpine chamois is the most abundant mountain ungulate of the European Alps (Corlatti et al., 2011) and inhabits alpine areas above the tree line as well as subalpine and montane forests (cf. Reiner et al., 2021). Male chamois have a longer period of body F I G U R E 1 The Alpine chamois Rupicapra rupicapra is one of the most iconic mammals of mountainous regions of Europe and is inhabiting alpine prairies as well as montane and subalpine forests throughout the Alps growth  and show greater intra-annual variations in mass than females due to higher mass loss during the rut (Mason et al., 2011). Compared to other mountain ungulates (e.g., Alpine ibex Capra ibex: Polák & Frynta, 2009;bighorn sheep Ovis canadensis: LeBlanc et al., 2001), sexual size dimorphism in chamois is weak . Recent studies suggest that key life-history traits, such as survival and reproductive effort, vary substantially between chamois populations (Bleu et al., 2015;Mason et al., 2011). Chamois are morphologically and physiologically adapted to environmental conditions at high altitudes, i.e., cold winters with high precipitation in the form of snow (Ascenzi et al., 1993); therefore, spatial and temporal variations in body mass in context with increasing temperatures may occur (Ciach & Pęksa, 2018;Reiner et al., 2021;Rughetti & Festa-Bianchet, 2012;Willisch et al., 2013). Changes in environmental conditions may affect patterns of mass and mass growth differently in habitats with different characteristics. For example, Reiner et al. (2021) showed that, in chamois, the effects of increasing spring and summer temperatures on yearling body mass are mitigated in forested areas, which suggests a temperature-buffering effect of forests. These habitat-specific differences in body mass are likely related to differences in foraging opportunities and thermoregulatory costs (Bubenik, 1984).
Here we investigate large-scale variations in the patterns of body mass and growth of Alpine chamois in relation to increasing spring and summer temperatures and habitat variations (i.e., proportion of forest cover), while controlling for the effects of sex, age, and population density across 31 (sub)populations in the Central European Alps. We take advantage of an exceptionally large dataset (n = 178,175) of chamois harvested over 27 consecutive years between 1993 and 2019 in mountain ranges with different proportions of forest cover (Reiner et al., 2021). Specifically, we hypothesize (i) a slower growth in mass and higher adult mass in mountain ranges with less predictable environmental conditions (i.e., alpine areas with lower forest cover) and (ii) larger differences in body mass patterns in relation to variations in spring and summer temperatures in mountain ranges with lower forest cover compared to mountain ranges with higher forest cover (Cook et al., 1998;Reiner et al., 2021).

| Study area and populations
We studied 31 Alpine chamois (sub)populations, of which were 28 in Austria (in the provinces of Carinthia, Salzburg, and Styria) into populations based on the mountain range they were located in, following the geographical subdivision of the Alps (Grassler, 1984) (Appendix S1: Table S1). The grouping according to mountain ranges coincides with chamois (sub)populations (n = 31) with only limited dispersal among (sub)populations (cf. Mason et al., 2011;Reiner, 2015;Reiner et al., 2020;see Reiner et al., 2021 for a detailed description of the study area and the geographical subdivision).

| Chamois data
Regional and national hunting organizations and game management authorities collected data (for further details see Reiner et al., 2020or Reiner et al., 2021 on body mass (eviscerated, without head but with skin, at a precision of 0.5 kg), sex, age (in years), hunting area, and date shot of 178,175 chamois (87,825 females, 90,350 males) harvested between 1993 and 2019 (1993-2019 in Styria, Carinthia, Liechtenstein, andBavaria; Salzburg; Appendix S1: Table S2). Age was determined by counting horn growth annuli (Corlatti, Gugiatti et al., 2015;Schröder & von Elsner-Schack, 1985). Female ages ranged between 1-24 years and male ages between 1-23 years. Date shot was converted to Julian day and ranged between day 197 (16th July) and 365 (31st December) (days 198-366 for leap years). Body mass was adjusted for variations in shooting date to day 301 (28 October or 27 October in leap years; median date shot and approximated start of rut) by fitting quadratic linear regression models between body mass and Julian date for each sex and age. Since most chamois are born in late May and early June (Kourkgy et al., 2016;Perez-Barberia et al., 1996), we used the age of individuals as 1.5, 2.5, 3.5 years, etc., to model growth and throughout the text. To account for densitydependent variation in body mass, we used the annual number of harvested chamois in relation to suitable habitat within each mountain range (i.e., forests and open alpine areas in hunting areas with chamois harvest) as a density index (Reiner et al., 2021).

| Forest cover data
To investigate differences in growth patterns among habitats, we Therefore, the proportion of area covered by forests (broad-leaved, coniferous, mixed forests) in relation to open alpine areas (alpine meadows, sparsely vegetated areas, bare rocks) was calculated for every hunting area with chamois harvest for each mountain range during the study period (Reiner et al., 2021). We used the relative area covered by forest within each mountain range (hereafter "forest cover") as predictor variable in further analyses (Reiner et al., 2021). Mean forest cover of mountain ranges was 70.2%, ranging from 24.1% to 99.0% (Appendix S1: Table S1).

| Climatic data
We obtained climatic data to investigate if body growth patterns vary between climatic subperiods of different spring and summer temperatures ("cold" vs. "warm" subperiod) from the Central Institution We calculated the mean daily maximum spring (April-May) and summer (June-August) temperatures (in °C) for each year during the study period. We then tested for periods with statistically different spring and summer temperatures by dividing the overall study period into 2-5 climatic subperiods and calculating the Calinski-Harabasz (CH) index (Caliński & Harabasz, 1974) for all possible chronological combinations of climatic subperiods (Gosselin et al., 2015). The CH where n is the total number of elements and k is the number of clusters in the solution. The terms B and W are the sum of the squares between and within clusters and the cross product matrices, and the trace is the sum of the main diagonal of the matrices (Caliński & Harabasz, 1974;Milligan & Cooper, 1985). Higher values of the CH index mean a higher between-cluster variance relative to within-cluster variance.
We compared the CH index for the most likely chronological groups and gave the most probable number of sub-periods. The maximum level of hierarchy was used to determine the correct number of partitions in the data that would maximize the inter-cluster variance and minimize the intra-cluster variance, i.e., return periods with different spring and summer temperatures (Gosselin et al., 2015).

F I G U R E 2
Location of the study area in Austria (in the provinces of Carinthia, Salzburg, and Styria), in Switzerland (in St. Gall Canton), in Liechtenstein, and in Germany (in the State of Bavaria) to evaluate the effects of habitat and climate on body mass in Alpine chamois, 1993-2019. Numbers and black lines correspond to the geographical subdivision of the Eastern Alps. Mountain range IDs between 9-25 belong to the Northern Limestone Zone, 35-47 to the Central Alps, 56-59 to the Southern Limestone Zone, and 88-99 to the Western Alps. Colored areas show suitable habitat for chamois within hunting management units, i.e., the sum of all open Alpine areas (i.e., Alpine meadows, sparsely vegetated areas, and bare rocks) and all forested areas (i.e., broadleaf, coniferous, and mixed forests) in all hunting management units with chamois harvest during the study period

| Statistical analysis
To explore the variation in mass growth patterns in relation to different proportions of forest cover, we fitted a "global" Gaussian linear mixed models (LMM) for each sex, with body mass as the response variable. Population density (as covariate) and the interaction between age 2 and forest cover were included as explanatory variables.
Mountain range (n = 31) and year (n = 27) were fitted as random intercepts. This random structure allowed us to consider regional differences as well as to account for correlation among data within the same mountain range (Davies et al., 2006;Dormann et al., 2007). To compare the length of the period of mass growth, we used the age when 99% of maximum adult body mass was achieved (age 99% ) from fitted models for each sex (Garel et al., 2006Sand et al., 1995).
To address the second hypothesis, i.e., differences in mass growth patterns between climatic subperiods ("cold" vs. "warm" subperiod) are larger with decreasing forest cover, we compared mass growth rates in different climatic subperiods. We therefore fitted Gaussian linear mixed models (LMM), with body mass as the response variable and added an interaction with climatic subperiod to the models, based on the CH index, resulting in the 3-way interaction: age 2 × forest cover × climatic subperiod. In chamois, males and females have different patterns of body mass growth across age . To account for this sex-specific patterns while avoiding the complexity of a 4-way interaction, sexes were modeled separately. Population density was fitted as a covariate. For all models, we checked for normality and homogeneity of the conditional distribution by inspecting standardized residuals against fitted values (Zuur et al., 2009). To illustrate age and habitat-specific change in mass between the climatic subperiods, we calculated the difference in body mass between the climatic subperiods for different proportions of forest cover. Confidence intervals (CI; 2.5% and 97.5% quantiles) were calculated using 1000 bootstrap replicates from the fitted models for each sex. All statistical analyses were performed in R 3.6.1 (R Core Team, 2020) via R Studio 1.2.5001 (RStudio Team, 2019). The packages "splines" (R Core Team, 2020) and "lme4" (Bates et al., 2015) were used for fitting LMMs with non-linear effects. Marginal effects were visualized using the package "ggplot2" (Wickham, 2016). To investigate whether results are related to different distributions of data over time, we checked if results changed when just the period from 1998 to 2019 was considered in the analyses (i.e., years where data for all mountain ranges were available).

| Climatic subperiods of consistent spring and summer temperatures
Based on the CH index, the most likely number of climatic subperiods was two (Appendix S1: Table S4). Intra-group variation was minimized, and inter-group variation maximized with the two climatic subperiods 1993-2006 (n = 14 years), with lower spring (mean ± SE: 10.89°C ± 0.23), and summer temperatures (17.80°C ± 0.28), and 2007-2019 (n = 13 years), with higher spring (11.45°C ± 0.44) and summer temperatures (18.49°C ± 0.29) (Figure 3). We therefore retained two climatic subperiods (hereafter: "cold" vs. "warm") for further analyses. Some of the chamois harvested in the warm subperiod were born in the cold period (before 2007), thereby experiencing cold spring and summer temperatures in early life. Because in chamois at least 85% of the adult body mass is attained by 4.5 years of age (Bassano et al., 2003;Garel et al., 2009)
The estimates of the interactive effects in both sexes suggest differences in mass growth patterns in relation to forest cover, i.e., faster growth of mass but lower overall mass with increasing forest cover for both sexes (Figure 4). The estimated age 99% decreased with increasing forest cover and ranged from 7.15 years in mountain ranges with 95% forest cover (95th quantile) to 7.65 years in mountain ranges with 32% forest cover (5th quantile) in females and from 7.15 to 7.45 years in males, thereby suggesting that 99% body mass is attained earlier in forested areas than in alpine areas (Figure 4).
Overall mean body mass across all ages in the cold subperiod was 18.3 ± 3.5 kg in females and 21.1 ± 4.6 kg in males but declined during the warm subperiod by 1.0 kg (5.5%) to 17.3 ± 3.6 kg for females and by 0.8 kg (3.8%) to 20.3 ± 3.6 kg for males (Appendix S1: Table S3). When adding the 3-way interaction "age 2 × forest cover × climatic subperiod" to the model, the estimates for the interactive effect for females (β = −2.32, 95% CI: −3.58 to −1.05, p < .001) and males (β = −4.59, 95% CI: −6.55 to −2.63, p < .001) suggest a difference in the mass growth patterns between climatic subperiods as a function of forest cover, with increasing differences between the climatic subperiods with decreasing forest cover, i.e., in areas with a lower proportion of forest cover, the mass of both sexes was greater during the first years of life in the cold subperiod compared to the warm subperiod ( Figure 5). This pattern disappears in mountain ranges with higher proportional forest cover; however, the average body mass in these areas is generally lower than compared to mountain ranges with lower forest cover (Figures 5 and 6).
For females, age 99% in mountain ranges with 95% forest cover was at 7.25 years in the cold subperiod and 7.05 years in the warm subperiod while in mountain ranges with 32% forest cover it was 7.50 years in the cold subperiod and 8.05 years in the warm subperiod. For males, age 99% was 7.20 years in the cold subperiod and 7.00 years during the warm subperiod in mountain ranges with 95% forest cover. In mountain ranges with 32% forest cover, it was 7.30 years in the cold subperiod and 7.75 years in the warm subperiod (Figure 7).
Mean estimated body mass across all ages decreased with increasing forest cover. In forested mountain ranges (95% forest cover), it was 18.3 ± 1.6 kg for females and 21.8 ± 2.5 kg for males in the cold subperiod. For females, it remained stable in the warm subperiod at 18.3 ± 1.8 kg, but mass decreased in males by 0.2 kg (0.9%) to 21.6 ± 2.8 kg. In mountain ranges with low proportional forest cover (32%), it was 20.0 ± 1.8 kg for females and 22.9 ± 2.5 kg for males in the cold subperiod. Mass decreased by 0.3 kg (1.5%) to 19.7 ± 2.1 kg for females and remained stable at 22.9 ± 2.9 kg for males in the warm subperiod ( Figure 5). These results (both in terms of subdivision into climatic subperiods and estimated significances) did not change when carrying out the same analysis for the period 1998-2019 (Appendix S1: Table S4 & Appendix S1: Table S5).

| DISCUSS ION
The results show that the patterns of body mass of female and male Alpine chamois are affected by variations in the habitat, i.e., the proportion of forest cover within a mountain range: chamois are generally heavier in mountain ranges with lower forest cover and reach peak body mass later compared to mountain ranges with higher forest cover. These findings confirm hypothesis (i), i.e., slower mass growth and higher adult body mass in both sexes in areas with lower forest cover. Furthermore, the significant interaction between age, forest cover, and the climatic subperiods supports hypothesis (ii) for both sexes, i.e., larger differences in body mass in relation to variations in spring and summer temperatures in mountain ranges with lower forest cover compared to mountain ranges with higher forest cover. For females ≤10.5 years and males ≤7.5 years, the decline in F I G U R E 3 Mean spring (April-May) temperatures (a), and mean summer (June-August) temperatures (b) in 31 mountain ranges in the study area to evaluate the effects of habitat and climate on body mass in Alpine chamois in Austria, Germany, Switzerland, andLiechtenstein, 1993-2019. The dashed line separates the study period into a cold (1993)(1994)(1995)(1996)(1997)(1998)(1999)(2000)(2001)(2002)(2003)(2004)(2005)(2006) and a warm (2007-2019)  Body mass varies in relation to environmental conditions in ungulates, for example, in moose Alces alces (Herfindal et al., , 2020, roe deer Capreolus capreolus (Pettorelli et al., 2003; Toïgo F I G U R E 4 Estimated growth patterns of Alpine chamois females (a) and males (b) harvested in Austria, Germany, Switzerland, and Liechtenstein from 1993 to 2019, as a function of the interaction between age and forest cover. The levels of forest cover correspond to the 5th (32% forest cover; solid red line), 50th (74% forest cover; dashed yellow line), and 95th (95% forest cover; dotted green line) quantiles.
Shaded areas indicate the 95% confidence intervals. Arrows indicate estimated age at which animals reach 99% of the estimated peak body mass (i.e., end of the period of active body growth) for the respective proportional forest cover (at 32% forest cover -red arrow; at 74% forest cover -yellow arrow; at 95% forest cover -green arrow) F I G U R E 5 Estimated growth patterns of female (solid lines) and male (dashed lines) Alpine chamois harvested in Austria, Germany, Switzerland, and Liechtenstein, for different levels of proportional forest cover, as a function of the interaction between age and two climatic subperiods: 1993-2006 with lower spring and summer temperatures (blue), and 2007-2019 with higher spring and summer temperatures (red). Shaded areas indicate 95% confidence intervals et al., 2006), and reindeer Rangifer tarandus (Tveraa et al., 2013).
Most studies suggest heavier individuals with increasing altitude and latitude (Ericsson et al., 2002;Herfindal et al., 2014), where typically short but intense summers are followed by long and harsh winters cf. Morin et al., 2016). The negative relationship between body mass and the proportion of forest cover we found in chamois may be explained by better vegetation quality and environmental phenology in open alpine areas compared to more forested areas (Albon & Langvatn, 1992;Post & Stenseth, 1999;Van Soest, 1994). Large differences in elevation, typically associated with alpine regions, allow herbivores to migrate and take advantage of the "green wave" of growth over a longer period (Bischof et al., 2012;Merkle et al., 2016;Middleton et al., 2018). Winter severity, which is typically more pronounced at high altitudes with low forest cover, is also assumed to favor large individuals (Loison, Langvatn et al., 1999;Saether et al., 1996). A possible explanation for this may be found in the lower natural mortality of larger individuals, which in turn should result in higher average body mass of harvested individuals (Lindstedt & Boyce, 1985;McNab, 1971). In regions with pronounced seasonality, commonly associated with cold winters and long snow cover, fast body mass gains as newborn and juvenile are needed in order to survive prolonged periods with limited forage Lindstedt & Boyce, 1985;Veylit et al., 2020).
Our results show that the effects of climatic conditions on trade-offs between life-history traits may vary in relation to habitat: chamois inhabiting mountain ranges with high proportion of forest cover, with comparatively mild winters and associated higher natural survival, may allocate the available resources more into early reproduction rather than into growth, which results in a faster pace of life with higher rates of body mass senescence (Mason et al., 2011;Veylit et al., 2020). The variation in body mass patterns observed in chamois may therefore be explained by different energy allocation between life-history traits (Larue et al., 2021;Morin et al., 2016;Stearns, 1992). In this context, our results suggest that the resource allocation especially of young chamois in mountain ranges with a low proportion of forest cover is more focused on somatic growth and survival rather than on early reproduction (see also ). The smaller differences in growth patterns in relation to forest cover for males compared to females may be related to sexspecific differences in habitat use and territoriality: females with kids are not territorial and generally use high-altitude alpine meadows from spring to autumn, which allows them to exploit highly nutritious food patches (Ferrari et al., 1988). In chamois, territorial and non-territorial males compete to monopolize groups of females during the breeding season in autumn (Corlatti, Fattorini et al., 2015), and territorial males occupy their breeding territories, which are normally located at lower elevations, as early as spring (Unterthiner et al., 2012;von Hardenberg et al., 2000). This results in a more even distribution of males across different-quality habitats within a mountain range compared to females. Especially in mountain ranges with low proportional forest cover, this suggests F I G U R E 6 Estimated differences in growth curves between the two climatic subperiods 1993-2006 with lower spring and summer temperatures and 2007-2019 with higher spring and summer temperatures for female (a) and male chamois (b) harvested in Austria, Germany, Switzerland, andLiechtenstein, 1993-2019. The levels of forest cover correspond to the 5th (32% forest cover; solid red line), 50th (74% forest cover; dashed yellow line), and 95th (95% forest cover; dotted green line) quantiles. The grey horizontal line indicates zero difference in body mass between the periods. Values below zero indicate lower body mass in the "warm" period 2007-2019 compared to the "cold" period 1993-2006 for the corresponding age. Shaded areas indicate 95% confidence intervals that a portion of males remain in breeding territories at lower altitudes with high forest cover and lower vegetation quality also in spring and summer, which in turn could result in smaller differences in male growth patterns across and between mountain ranges. In addition, older and heavier males in polygynous species typically have higher reproductive success compared to younger and smaller males (Newbolt et al., 2017;Willisch et al., 2012). Also, males in polygynous species typically reach peak body mass and sexual maturity later than females (Zedrosser et al., 2007), including chamois (Bassano et al., 2003). Therefore, subadult male chamois likely allocate more resources into growth and less into early reproduction compared to subadult females.
Our findings are in line with Loison, Jullien et al. (1999) andBleu et al. (2015), who suggest that the effect of spring temperatures and climate change on life-history traits of chamois may vary in relation to the habitat. In red deer, Post and Stenseth (1999) suggest that the spatial variation of body mass in response to climatic conditions may be explained by lower sensitivity of woody plants to climatic variability in comparison to herbaceous plants, which are more likely to occur in open alpine areas. Alpine herbivores generally are capital breeders and need to maximize energy accumulation during summer (e.g., mountain goats Oreamnos americanus:  Alpine chamois: Apollonio et al., 2020;Morin et al., 2016). Among other things, food acquisition is limited by the available time to find resources (Toïgo et al., 2002), the need to process food, and the avoidance of abiotic constraints such as heat stress. In accordance with our results, Malagnino et al. (2021) have shown that during hot days, chamois in open landscapes spend more time resting than foraging compared to chamois in forested areas. This suggests that the variation in the effects of increasing temperatures on chamois body mass across habitats with different proportions of forest cover may be related to behavioral adaptions to increasing temperatures, such as decreases in the time spent foraging and increases in the time spent resting and relocating (cf. Reiner et al., 2021).
The differences in body mass between the cold and the warm subperiod changed with age in both sexes. The reasons for this as well as the associated trade-off with body mass remain unclear, but may be related to compensatory growth (Rughetti & Festa-Bianchet, F I G U R E 7 Estimated growth patterns of Alpine chamois females (a) and males (b) harvested in Austria, Germany, Switzerland, andLiechtenstein between 1993-2006 (left) and 2007-2019 (right) as a function of the interaction between age and proportional forest cover. The levels of forest cover correspond to the 5th (32% forest cover; solid red line), 50th (75% forest cover; dashed yellow line), and 95th (95% forest cover; dotted green line) quantiles. Shaded areas indicate the 95% confidence intervals. Arrows and numbers indicate the estimated age at which chamois reach 99% of the estimated peak body mass (i.e., end of period of active body growth) in relation to the respective proportional forest cover 2010) during years with more favorable climatic conditions ( Figure 3). Another explanation may be related to increased natural mortality of smaller individuals resulting in higher average body mass of harvested chamois, or alternatively, a shift of reproductive effort toward older ages (Mason et al., 2011). Larue et al. (2021) have shown in bighorn sheep and mountain goats that annual body mass gain can reveal past reproductive effort, with lower body mass gains in reproducing compared to non-reproducing females. This suggests that chamois in mountain ranges with low forest cover may spend fewer resources on reproduction in the warm period, or that the reproductive effort has shifted toward older ages, e.g., later onset of primiparity and/or lower early birth rates accompanied by a longer lifetime reproductive period.
This study confirmed previous findings, i.e., that the effect of increasing temperatures on life-history traits, such as body mass (Reiner et al., 2021), survival (Bleu et al., 2015), or recruitment (Chirichella et al., 2021), can differ significantly between habitats within the same species. It seems plausible that the decreasing trend of body mass in Alpine chamois will have far-reaching impacts on populations living in open alpine habitats, since higher body mass is expected to improve winter survival for both sexes, and reproduction in females Stearns, 1992).
Though spring temperatures are generally increasing in our study area (Figure 3a), previous research has not yet shown a decrease in average snow depth (Reiner et al., 2021), suggesting that climateinduced declines in body mass may potentially lead to increased winter mortality due to lower energy reserves of chamois, especially at high elevations (Reiner, 2015;. Whether chamois respond to increasing temperatures by moving to lower altitudes will also depend on other factors such as the presence of large predators, the availability of suitable food resources, resource competition with other ungulates (Corlatti et al., 2019), as well as on human-wildlife conflicts in relation to forestry and recreation (cf. Ciach & Pęksa, 2019;Schnidrig-Petrig & Ingold, 2001).

ACK N OWLED G EM ENTS
We thank the regional hunting organizations of Salzburg and Styria, the Office for Nature, Hunting and Fisheries of St. Gall Canton, the National Administration of Liechtenstein and M. Straubinger (Carinthia) for providing chamois harvest data, and the ZAMG for the weather data. The work has been funded by the hunting organizations of Carinthia, Salzburg, Styria, Tyrol, Upper Austria, and Vorarlberg, the Hilti Family Foundation, and supported by the Austrian Federal Forests (ÖBf).

CO N FLI C T O F I NTE R E S T S
None.

DATA AVA I L A B I L I T Y S TAT E M E N T
The data that support the findings of this study are available at  (2), 368-375. Zuur, A., Ieno, E. N., Walker, N., Saveliev, A. A., & Smith, G. M. (2009).
Mixed effects models and extensions in ecology with R. Springer Science & Business Media.

S U PP O RTI N G I N FO R M ATI O N
Additional supporting information may be found in the online version of the article at the publisher's website.