Background

Selective landscapes along complex stream gradients

Environmental gradients provide a unique opportunity to evaluate the relative importance of various forms of both natural [1, 2] and sexual selection [3, 4] for creating intraspecific phenotypic variation [1,2,3,4,5,6,7]. Changes of environmental conditions can be accompanied by divergence of phenotypic traits when it allows local populations to reach a new fitness peak within a spatially heterogeneous selective landscape [6, 8]. Studies focusing on environmental gradients acknowledge the multitude of different ecological gradients and described, for instance, gradual variation of abiotic selection factors across latitudinal [9,10,11], or altitudinal [12] gradients, as well as gradients formed by environmental stressors like temperature [13], salinity [14, 15], or acidification [16, 17]. Other studies focused on biotic selection factors such as predation [18], as well as intra- [19] or inter-specific competition [20]. Beside spatial variation, selection pressures can also vary substantially across time [21, 22].

Streams and the associated limnic ecosystems are shaped by a widespread form of an environmental gradient in which an array of abiotic and biotic selection factors vary systematically in space and time, e.g., from source regions over smaller tributaries to slow-flowing lowland river sections [23,24,25] or between seasons [21, 23]. Predictable longitudinal changes include, amongst others, changes in primary carbon sources, with allochthonous organic material typically representing the main food source for headwater communities and autotrophic primary production becoming more important at downstream sites [23, 25]. Accumulation of various forms of nutrients usually results in a higher nutrient availability in downstream sections of rivers [23], while in anthropogenically transformed landscapes also pollutants tend to accumulate in downstream sections (e.g., pharmaceuticals [26], pesticides [27], or plastics [28]). Temporal changes in different river sections include, amongst others, flow regimes and water temperatures: source habitats usually show little seasonal fluctuation with respect to abiotic conditions—such as water temperatures [29]—and closely mirror the conditions seen in the groundwater bodies feeding them [23]. The stability of abiotic conditions rapidly decreases with increasing distance from the source(s), especially when the stream is no longer covered by forest canopy, such that water temperatures will attain greater variance due to solar input [25, 30]. These river sections often experience pronounced fluctuations in abiotic conditions, as they undergo recurrent catastrophic flooding (e.g., after snow melt [31]), or temporal desiccation either during hot/dry seasons [32, 33] or as a result of climate change [34]. Abiotic conditions reattain a more stable state in downstream river portions, where multiple tributaries interconnect to form an extensive wetland system [23, 25].

Despite the generality of some of these characteristics of river gradients at a larger geographical scale [23,24,25], the situation in reality tends to be more complex, not only because numerous landscape features alter the hydrogeological setting at a local scale [35, 36], but also because several forms of anthropogenic stressors [37, 38] contribute to the complexity of selective landscapes along river gradients [23,24,25]. Obviously, it is close to impossible to empirically capture all abiotic and biotic components characterizing a given stream gradient. Moreover, several factors—including those that were empirically assessed and those not assessed—can be tightly interrelated (e.g., oxygen content and temperature, or the occurrence of certain pollutants [39]). Empirical studies reporting intraspecific trait divergence along stream gradients and ascribing this divergence to one particular component of the gradient are, therefore, prone to overlooking that divergence may have been driven instead by another, interrelated selection factor, or by multiple factors [6, 40].

Using amphipods to study phenotypic differentiation along stream gradients

Our present study, for the first time, reports intraspecific differentiation of morphological and life-history phenotypes along stream gradients in a freshwater amphipod, Gammarus roeselii Gervais 1835 [41]. Given their small size and benthic life-style [42, 43], amphipods have a low motility compared to, e.g., teleost fishes—which are frequently used in studies on local adaptation along stream gradients [5, 44, 45]—potentially rendering members of this group prime candidates to study adaptive diversification (i.e., evolutionary divergence or adaptive plasticity; see Additional file 1: Material S1 for additional information) over small geographic scales. We evaluated the roles of both natural selection (e.g., low oxygen levels favouring increased gill surface areas [46]; Table 1) and sexual selection for driving divergence in multiple trait suites. In the latter case, divergent selection could arise as an indirect consequence of local differences in population densities (a correlate of mate availability [75]), sex ratios [59, 76], or the potential for mate competition [59, 77] (Table 1). Nevertheless, the involvement of sexual selection in creating intraspecific phenotypic variation along stream gradients remains understudied [3, 78, 79].

Table 1 Phenotypic traits assessed in our present study and (unidirectional) predictions for trait divergence along single components of stream gradients

Acknowledging the complexity of selective regimes in stream gradients [23,24,25, 37, 38], where multiple selective forces may have complex synergistic, non-additive, or antagonistic effects [80] (potentially overriding certain evolutionary responses, e.g. [81]), we refrain from providing unidirectional predictions for the different trait suites studied herein; an overview of potential predictions can be found in Table 1. We considered physiological traits that are likely to be chiefly under natural selection from abiotic agents of selection (e.g., gill surface areas should vary in dependence of local temperature and oxygen regimes [46]), reproductive life history traits known to be under natural selection from both abiotic and biotic selection factors (brood size/fecundity and offspring size [18, 82, 83]), and traits that are primarily under sexual selection (e.g., size of the male gnathopods, which are involved in mate securing and defense [84]; Table 1).

Intraspecific phenotypic differentiation in invasive amphipods

In our present study we examined a non-native species that reached Central Europe approximately 150 years ago [41] (see Additional file 1: Material S2 for additional information). While the examination of a species that colonized Central Europe relatively recently already drew the focus of our study towards questions related to contemporary evolution [85, 86] or adaptive phenotypic plasticity [87], we included yet another level of questions related to rapid evolutionary change/adaptive plasticity and compared streams with and without anthropogenic thermal pollution (starting approximately 50 years ago [88, 89]). Studying biotic responses to thermal pollution has become increasingly popular to forecast the potential effects of global warming [90]. Thermal pollution should primarily affect naturally selected traits (e.g., via lower oxygen availability), but could (mediated, e.g., by longer reproductive seasons) also affect the strength and direction of sexual selection (Table 1). Given that studies on inter- and intra-specific body size variation have been at the forefront of research on climate-related evolution for centuries (Bergman’s rule, originally formulated for endotherms [91] but partly also applied to ectotherms [47]), we assessed body size as another dependent variable (Table 1).

Our study was motivated by the idea that freshwater amphipods—including invasive species or those that expanded their distribution ranges relatively recently—could be established as a future model for several questions in evolutionary ecology, especially questions related to local adaptation [6, 8], contemporary evolution [85] or adaptive phenotypic plasticity [87], life-history evolution [18, 82], and climate change biology [92]. Our present study is centred on two major questions:

(1) Do we find small-scale phenotypic differentiation in non-native G. roeselii approximately 150 years upon their arrival in Central Europe [41] along repeated river gradients? To answer this question, we sampled amphipods from 16 sites along two streams in Germany (Fig. 1) and assessed an array of phenotypic traits (Table 1).

Fig. 1
figure 1

Map of our study areas. a Location of the Rhine catchment in Central Europe with the two studied tributaries: b Erft, which receives thermal pollution in the form of cooling water from several coal power plants and c Kinzig, which does not receive artificially heated cooling water. Locations and number codes of our 16 sampling sites are indicated (maps created with QGIS 3.4.2; the altitude layer was retrieved from https://lpdaac.usgs.gov)

(2) If phenotypic differentiation is uncovered, can we ascribe at least parts of this variation to known drivers of both natural and sexual selection processes (or triggers of adaptive plasticity), including selection factors arising from anthropogenic activities (Table 1)?

Methods

Study species and sample collection

We focused on a ‘naturalised’ [93] non-native species, Gammarus roeselii, which has spread throughout Central Europe and established stable populations since the nineteenth century [41]. Gammarus roeselii is usually considered as a downstream-adapted species [94, 95]. However, several populations in downstream sections of Central European streams were recently replaced by the more recent invaders Dikerogammarus villosus and Echinogammarus ischnus [96,97,98]. On the other hand, G. roeselii is nowadays found in at least some Central European first order streams at altitudes above 400 m (this study).

We collected specimens in two subcatchments within the Rhine catchment (Fig. 1). The Erft is located in a heavily exploited, urbanized area and in downstream sections receives cooling water from several nearby coal power plants [88, 89], which significantly increases average water temperatures (mean ± SD during winter: 6.1 ± 1.1 °C at thermally non-polluted sites and 12.4 ± 1.2 °C at thermally polluted sites; during summer: 17.5 ± 3.0 °C at thermally non-polluted sites and 23.7 ± 0.3 °C at thermally polluted sites), while our sampling sites in the Kinzig are located within a long-term ecological research area (LTER [99]), and its tributaries do not receive thermally polluted water (Additional file 1: Table S1). We caught amphipods using a multi-habitat kick-sampling method [100]. To account for potential seasonal variation of the traits considered here, we sampled all sites twice, once in February (winter sampling) and once in May of 2017 (summer sampling). All captured specimens were immediately preserved in 96% ethanol until they were processed in the laboratory. As G. roeselii has been reported to occasionally co-occur with the congeners G. fossarum and G. pulex [94, 101], we verified species identity of all specimens under a stereomicroscope (Olympus SZX12 with an Olympus DF PLFL 0.5X PF objective) using standard identification keys [102, 103]. Altogether, we dissected n = 1648 G. roeselii from 16 sampling sites (n = 373 from thermally polluted and n = 1275 from thermally non-polluted sites; Additional file 1: Table S3).

Environmental parameters

We assessed a range of environmental variables that are frequently used to characterize stream gradients [23,24,25] and show gradual variation along the examined river stretches (Additional file 1: Table S1). At each site, we measured water temperature [°C] (using a WTW Multi 340i, TetraCon® 325), flow velocity [m s− 1] using a portable flowmeter (P770, Dostmann electronic GmbH), oxygen content [mg L− 1] (WTW Multi 340i, CellOx® 325), and conductivity [μS cm− 1] (WTW Multi 340i, TetraCon® 325). We estimated average stream depth at our sampling sites as falling into one of three categories (< 0.5 m, 0.5–1 m, > 1 m). Similarly, we categorized average stream width as < 7 m, 7–12 m, or > 13 m. Altitudinal information [m above sea level] was extracted from Google Earth (http://earth.google.com/). We estimated conspecific population densities by counting all specimens caught by two persons that applied multi-habitat kick sampling [100] for 30 min in a river stretch of 50 m. We categorized population densities as low (0–50 individuals), medium (51–200 individuals), or high (> 200 individuals). Based on the obtained sample of G. roeselii specimens, we calculated sex-ratios (number of females/number of males) for each sampling site. Since several explanatory variables showed strong intercorrelations (Table 2), we applied a factor reduction (PCA) using the Varimax option (based on the Kaiser normalization rotation method [104]) as implemented in SPSS 23. The four resulting rotated principal components (henceforth called ‘environmental PCs’) with eigenvalues > 1.0 were used as explanatory variables for all further analyses (for axis loadings see Table 2). Cumulatively, they explained 71.8% of the total variation (PC 1 explained 32.8%, PC 2: 14.5%, PC 3: 12.9% and PC4 11.5%).

Table 2 Results of a factor reduction procedure (PCA) on 11 environmental parameters measured at our 16 sampling sites

Life history and morphometric data

We collected information on male and female life-histories (see Additional file 1: Material S3 for additional information) and morphological traits from 50 to 128 individuals per population (Additional file 1: Table S3). All measurements of distances or areas were conducted under a stereomicroscope (OLYMPUS SZX12) with an OLYMPUS DF PLFL 0.5X PF objective and an attached OLYMPUS SC30 camera connected to a computer. We used the software Cell^A (Olympus) for all linear and area measurements.

Sexing, adult body size and weight

Specimens were sexed according to external sexual characteristics: males were identified by the presence of genital papillae (Fig. 2a) which lie ventrally in the middle of the bases of the 5th pereopods [103]. Female gammaridean amphipods usually have four pairs of oostegites between pereopods 2–6 [105]. In some cases, intersexual individuals [106] with both genital papillae and oostegites were observed (Fig. 2b; see Additional file 1: Material S4 for additional information and a posteriori analyses on data from our present study).

Fig. 2
figure 2

Overview of morphological characteristics assessed in this study. a Males were identified by the presence of genital papillae (g.p.). b Intersexual individuals show female (oostegites; oo.) and male (genital papillae; g.p.) sexual characteristics. The following parameters we measured as distances or areas (marked by red lines) and used to assess population variation in c body length, d gill area (circumference of the six gills on the right body site; considered herein as a ‘physiological trait’), e lengths of the 1st antennae (a.I) and the smaller 2nd antennae (a.II), from the first pedunculus to the tip of the flagellum, and f size of the 1st gnathopod on the right body size of males (length from the tip of the dactylus to the base of the propodus). g Females carry their developing broods in an external brood pouch that is formed by (h) four pairs of oostegites (oo.)

We determined each specimen’s body length [mm] from the tip of the rostrum to the telson tip (Fig. 2c). To do so, alcohol-stored specimens were placed in lateral position in a wax-filled Petri dish and were carefully straightened using preparation needles. We ensured that all specimens were similarly stretched before measuring their body length. We also measured head capsule length as an alternative proxy for body size [107]. However, both traits were strongly collinear (Pearson’s r = 0.92; Additional file 1: Figure S1), and so we used body length throughout. Before we assessed somatic dry weight [mg], we removed all eggs from the female marsupium, after which we dried specimens for 24 h at 60 °C in a drying oven (Heraeus Type B5042). We stored dried individuals in a desiccator containing dry silica gel to prevent water-uptake while cooling down to room temperature. Afterwards, we weighted specimens to the nearest 0.1 mg on a micro-scale (SI-234 Denver Instrument).

Physiological traits

We additionally measured gill surface areas. Gills are a multi-functional organ, involved in several physiological processes, tightly linked to physiological homeostasis of oxygen/CO2 concentrations [108], osmoregulatory ion transport [109] and excretion of nitrogenous waste products [109]. Furthermore, toxic metals are taken up by aquatic crustaceans via the gills, such that the gills play an important role in mediating the response of aquatic amphipods to contaminants [109, 110]. Dissecting the delicate gills of amphipods is a tedious and time-consuming task. We, therefore, decided to concentrate on one sex and measured gill surface areas in males only, even if this introduces a potential bias and prevented us from detecting potential sex-specific variation.

We placed males in a dorsal position onto agarose gel and fixed them with two fine needles, upon which we carefully removed the gills from the right body site at their base using a fine preparation needle. We photographed the gills and measured their circumference (Fig. 2d). The area of each gill was determined using the image analysis software Cell^A (Olympus). We summed data from all six gills per individual as a proxy of the respiratory surface area [mm2]. However, our method did not allow us to detect potential changes in secondary and tertiary lamella [111], which might be an alternative phenotypic response to increase the overall respiratory surface area.

Traits used for inter-sexual communication and mate guarding

Male gammarids use their antennae during mate assessment [60, 71]. Accordingly, their antennae tend to be sexually dimorphic [112], and the length of the antennae in gammarids [71, 113] and other crustaceans [60] can show variation between populations. We carefully removed both pairs of antennae of all individuals (males and females) at their base using a fine preparation needle. Antenna length [mm] was assessed by measuring the distance from the base of the first pedunculus to the tip of the flagellum (Fig. 2e). We calculated mean values from the antennae on the left and right body sides.

Gnathopods play a central role for holding/securing the female before and during copulation (called amplexus [105]), which includes defending the female from rivals that attempt to take over the female [72, 84]. To assess potential population variation in this trait [113], we measured the size [mm] of the 1st gnathopod on the right body side in all males. To do so, the gnathopod was carefully removed and photographed. We drew a virtual orientation line at the base of the propodus and measured the distance between the base of the propodus to the tip of the dactylus (Fig. 2f).

Offspring-related phenotypic traits

For each female, we determined fecundity by carefully removing all eggs from the brood pouch (the marsupium [66, 105]; Fig. 2g) with a fine brush and counting them. Data from females harbouring stage 7 embryos (see below) were excluded, as some of the juveniles may already have left the marsupium. To estimate egg volumes [mm3], we measured the longest and shortest axis of each egg in 2D view and used an ellipsoid formula to approximate egg volume (see [67]). We identified embryonic developmental stages according to earlier descriptions for Gammarus spp. [67, 108, 114]. A detailed description can be found in Additional file 1: Material S5, and exemplary photos are shown in Fig. 3.

Fig. 3
figure 3

Stages of embryonic development in G. roeselii. a Newly fertilized eggs (stage 1), surrounded by a membranous sac. b Detailed view of eggs at stage 1 with no visible cell cleavage. c Stage 2 is characterized by the formation of large yolk cells through holoblastic cell cleavage. d Embryos at stage 3 show a caudal groove (c.g.). e At stage 4, the embryo’s body is separated into cephalothorax (ce.) and abdomen (ab.). The dorsal organ (d.o.) is visible. Embryos show a comma-like body shape and body appendages start to develop. f Red eye pigmentation (e.p.) and fully developed body appendages are characteristic of developmental stage 5. g Fully developed juveniles with completely developed compound eyes (c.e.) that are still surrounded by the external chorion of the egg indicate developmental stage 6. h Newly hatched juveniles (stage 7) have ruptured and left the chorion

Statistical analyses

We asked whether and how environmental parameters used to characterize stream gradients and condensed into principal components (Table 2) drive divergence of multiple phenotypic traits. To this end, we applied generalized least squares models (GLS) using the gls-function, implemented in the nlme package in R [115] fitted by maximum-likelihood estimation and assuming a Gaussian error distribution. To account for spatial autocorrelation, we fit our GLS models with an autoregressive (AR-1) correlation structure [116]. Each of the following variables was modelled separately: ‘body length’, ‘dry weight’, ‘length of 1st antennae’, and ‘length of 2nd antennae’. For females, we additionally analysed ‘fecundity’ and ‘egg volume’ and for males ‘gill area’ and ‘gnathopod size’. We included the explanatory variables ‘environmental PCs 1 – 4’, ‘sex’ (in all cases where data were available from both sexes) and ‘body length’ to account for ontogenetic changes in trait values. For the model on egg volume, we additionally considered ‘developmental stage’ as an explanatory variable to account for ontogenetic changes in egg/embryo size during development. The statistical significance of explanatory variables in the linear models was evaluated by Type III ANOVAs (using the Anova-function implemented in the car package [117]). Assumptions of normality of residuals was assessed visually by inspecting QQ-plots and plots of residuals vs. fitted values (Additional file 1: Figure S3). In the case of significant effects, we calculated and visualized predicted marginal effects of environmental variables on dependent variables using the ggeffects package [118]. All statistical analyses were performed in R 3.5.1 [119].

Results

Inspection of axis loadings of the four principal components (PCs) retained from our factor reduction of various environmental parameters (Table 2) allows the following interpretation: PC 1 reflected variation from upstream to downstream conditions, with higher PC-scores being associated with greater stream width, stream depth, conductivity and thermal pollution, while altitude had a negative axis loading. PC 2 captured variation in flow velocity, conspecific densities and sex ratios, whereby positive values represented fast-flowing sites with high densities and female-biased sex-ratios. PC 3 received high axis loadings from water temperatures and oxygen content and could be interpreted as describing the gradient from cold, well-oxygenated sites towards warmer sites with lower oxygen content. Finally, PC 4 captured seasonal variation between summer (negative values) and winter samplings (positive values). In the following, we will present significant outcomes of trait-wise generalized least squares models (Tables 3, 4, 5) in light of the information captured by the four PCs that served as explanatory variables.

Table 3 Results of generalized least squares models on body size/condition-related phenotypic and physiological traits of adult G. roeselii
Table 4 Results of generalized least squares models on phenotypic traits used for mate assessment and mate defence
Table 5 Results of generalized least squares models on reproductive life-history traits in females

Body size and condition-related adult traits

Adult body size decreased significantly from upstream to downstream sites (i.e., along environmental PC 1; χ2 = 23.92, p < 0.001; Table 3a; Fig. 4a) and with increasing conspecific densities (PC 2; χ2 = 4.0, p = 0.046; Fig. 4b). Likewise, adult body weight decreased significantly along environmental PC 2 (χ2 = 9.89, p = 0.002; Table 3b; Fig. 4c) and showed seasonal fluctuation, with greater body weight being observed in winter (PC 4; χ2 = 6.33, p = 0.012; Fig. 4d).

Fig. 4
figure 4

Visualization of significant model terms in generalized least squares models on body size/condition-related adult phenotypic traits. Principal components (PCs) capturing variation in environmental parameters along the examined stream gradients (Table 2) served as explanatory variables. Shown are effects for a, b body length, and c, d body weight (dry weight), which are presented separately for both sexes if the models uncovered significant sex-effects (Table 3). Solid lines show linear relationships of raw data with 95% confidence intervals (shaded area), while dashed lines represent the linear relationships based on predicted values that were adjusted for other predictors in each model. For display purpose, data points were slightly shifted using the position_jitter-function in ggplot2

Physiological traits

Gill surface areas decreased from upstream to downstream conditions (environmental PC 1; χ2 = 15.20, p < 0.001; Table 3c; Fig. 5a). Moreover, gills surface areas were greater during winter than summer (PC 4; χ2 = 10.37, p = 0.001; Fig. 5b).

Fig. 5
figure 5

Visualization of significant model terms in generalized least squares models on gill surface areas. Shown are the relationships between male gill surface areas and a environmental principal component (PC) 1 and b PC 4 (Table 3). Solid lines show linear relationships of raw data with 95% confidence intervals (shaded area), while dashed lines represent the linear relationships based on predicted values that were adjusted for other predictors in the model (e.g., body length). For display purpose, data points were slightly shifted using the position_jitter-function in ggplot2

Traits involved in intersexual communication and mate guarding

We found a pronounced sexual dimorphism in the length of the 1st2 = 152.65, p < 0.001) and 2nd antennae (χ2 = 1381.67, p < 0.001; Table 4), with males possessing longer antennae than females. Moreover, antennae length showed gradual variation along all four environmental PCs (see significant effects of PC 1 – PC 4; Table 4). Specifically, both the 1st2 = 63.08, p < 0.001; Fig. 6a) and 2nd antennae (χ2 = 48.98, p < 0.001; Fig. 6b) became longer along environmental PC 1. The significant interaction term of ‘sex × environmental PC 2’ reflects that the length of the 1st antennae of males increased to a greater extent along PC 2 (i.e., with increasing population densities and increasingly female-biased sex ratios) than those of females (χ2 = 5.66, p = 0.017; Fig. 6c). Both antennae increased along environmental PC 3 (1st antennae: χ2 = 34.23, p < 0.001; Fig. 6d; 2nd antennae: χ2 = 11.39, p = 0.001; Fig. 6e) and were longer during winter compared to our summer sampling (PC 4; 1st antennae: χ2 = 39.96, p < 0.001; Fig. 6f; 2nd antennae: χ2 = 13.62, p = 0.001; Fig. 6g). Notably, we did not find significant divergence in male gnathopod length along environmental gradients (Table 4c).

Fig. 6
figure 6

Visualization of significant model terms in generalized least squares models on phenotypic traits involved in mate finding and assessment. We depict marginal effects for gradual variation in the length of the 1st (a, c, d, f) and 2nd antennae (b, e, g) along environmental PC 1 – PC 4 (Table 4). Data are shown separately for both sexes if the models uncovered significant sex-effects. Solid lines show linear relationships of raw data with 95% confidence intervals (shaded area), while dashed lines represent the linear relationships based on predicted values that were adjusted for other predictors in each model (e.g., body length). For display purpose, data points were slightly shifted using the position_jitter-function in ggplot2

Reproductive characteristics

Female fecundity (numbers of eggs per brood)—size-corrected by inclusion of the covariate ‘female body length’ (Table 5a)—decreased significantly from up- to downstream sites (i.e., along environmental PC 1; χ2 = 20.08, p < 0.001; Fig. 7a) and with higher conspecific densities (PC 2; χ2 = 78.20, p < 0.001; Fig. 7b). Egg size did not show gradual variation along any of the components of the stream gradient (Table 5b).

Fig. 7
figure 7

Visualization of significant model terms in generalized least squares models using offspring-related phenotypic traits as the dependent variable. We depict predicted marginal effects for female fecundity along principal components that contain information of environmental variation along the examined stream gradients [(a) environmental PC 1, (b) environmental PC 2; Table 5]. Solid lines show linear relationships of raw data with 95% confidence intervals (shaded area), while dashed lines represent the linear relationships based on predicted values that were adjusted for other predictors in each model. For display purpose, data points were slightly shifted using the position_jitter-function in ggplot2

Discussion

We found phenotypic differentiation among populations of G. roeselii occurring along the two river stretches examined in this study, including body size and weight, physiological traits (gill surface areas), reproductive life-history traits, and sexually selected morphological traits. Our study does not allow inferences regarding the relative roles of evolved differences (local adaptation) and phenotypic plasticity (Additional file 1: Material S1). Still, our analyses suggest that spatial variation in ecological conditions along the examined stream gradients drives the observed intraspecific differentiation over small geographic scales (i.e., within and between river catchments).

Ecological significance of phenotypic differentiation

What are the potential ecological implications of our findings? Recent years have seen a steep increase in numbers of publications that either analyse empirical data (e.g., [120]) and/or use mathematical modelling (e.g., [121]) to understand ecological phenomena over large geographic scales (macroecology [122]). These approaches, however, usually treat species as “evolutionarily inert” entities with fixed (species-specific) ecological traits affecting ecosystem processes like nutrient and energy flow [123,124,125]. Nevertheless, both theoretical considerations and empirical evidence suggest that intraspecific phenotypic variation can affect ecosystem processes [126,127,128]. For example, divergence in foraging traits of predatory fish species can alter the structure and dynamics of ecological communities by decreasing the mean body size, total biomass, and species richness of crustacean zooplankton [129]. The consequences of phenotypic divergence for ecological processes should be particularly strong when the species under consideration acts as a keystone species or ecosystem engineer [130] or when it is simply very abundant [127]. Amphipods are considered to be key components of limnic food webs, as their shredding activity accelerates leaf fragmentation, produces faecal pellets, and transfers nutrients into secondary production, all of which are vital for maintaining diverse aquatic food webs [131,132,133,134,135]. Hence, rapid evolutionary divergence of amphipods along stream gradients is likely to result in multiple feedbacks between evolutionary and ecological processes [136,137,138]. For example, G. roeselii shows the strongest degree of body size-dependency in leaf litter decomposition rates amongst several species of native and non-native amphipods in the Rhine drainage (see Additional file 1: Figure S2 in ref. [139]). Hence, the strong decline in body size across the stream gradient reported here will have an effect on decomposition rates and food web dynamics. Ecological studies have merely just begun to acknowledge the role of rapid phenotypic divergence in the provisioning of ecosystem services [128, 136, 140], and our present study identifies invasive amphipods as prime candidates for future studies in this direction. Specifically, future studies could quantify decomposition rates [139] of phenotypically divergent populations to explicitly integrate differences in functional responses as a consequence of the observed trait variation and to understand how they translate into differences in ecosystem functioning [140,141,142].

Drivers of phenotypic divergence along the examined stream gradients

The native distribution range of G. roeselii is characterized by its karst topography, with spatio-temporally diverse ecological conditions along stream gradients [143, 144]. Therefore, G. roeselii might have a high potential to inhabit variable environments, either by phenotypic plasticity (see below) or through adaptive evolutionary divergence (local adaptation; see also Additional file 1: Material S1). In support of this idea, a substantial amount of the observed phenotypic trait divergence we found in our dataset could be explained by selection factors that we condensed into principal components. We will base our discussion largely on a priori predictions of how single components of the river gradient should affect trait divergence (Table 1), but acknowledge that additional factors that were not assessed here (e.g., predation pressure [145, 146], competition with congeneric species [147]) may have driven parts of the observed divergence.

Selection from abiotic factors

Abiotic factors had strong effects on phenotypic divergence of various traits. For instance, we found larger individuals at upstream sites. In arthropods, larger specimens tend to have an increased ability to withstand environmental fluctuation [47, 48]. Temperature regimes are more variable and winter temperatures colder at higher altitudes, and increased tolerance to low temperatures in large-bodied individuals was empirically confirmed for Gammarus lacustris [50]. Increased body size at higher altitudes appears to be a widespread pattern in arthropods, unless high seasonality leads to a reduced resource availability and ultimately results in smaller body size at higher altitudes [47, 148]. As a leaf shredding species [139], G. roeselii is not resource-limited at upstream sites (i.e., higher altitudes), allowing individuals from those populations to grow to a bigger size.

Counter to our prediction based on the efficiency of oxygen uptake under low oxygen tension [46], we found no response in gill surface area to oxygen conditions; instead we found a pronounced decrease in gill surface areas towards downstream conditions and at sites receiving industrial cooling water. Even though we are lacking quantitative information on pollution loads (other than conductivity as a broad and indirect proxy of total dissolved ions), we argue that increased concentrations of anthropogenic contaminants might explain this pattern ([70]; Table 1). Cooling water often contains additive biocides such as chlorine, corrosion inhibitors, or antifreezers [149]. In support of this interpretation, we found more incidences of intersex at sites that receive cooling water (Additional file 1: Material S4). Biocides are suspected to disturb the hormone balance between androgens and estrogens and facilitate development of both, male and female characteristics at the same time; however, the biochemical pathways that induce intersex are diverse and still remain controversial [106, 150]. Moreover, contaminants of both natural (e.g., from nitrogenous waste products or soil erosion [109]) and anthropogenic origin (e.g., effluents from wastewater treatment plants and agriculture [151,152,153]) accumulate towards downstream sites. We argue that smaller gill surface areas are adaptive in that they facilitate a reduced uptake of bioaccumulating contaminants (e.g., heavy metals [109]) or to account for changing concentration of ions in the water (i.e., osmoregulatory purposes [154]).

Selection from biotic factors

We found systematic co-variation of population demography and densities along the examined river stretches. Specifically, higher population densities were associated with more female biased sex-ratios. The exact mechanisms underlying this patterns could not be examined in the course of our present study. A likely explanation could be sex-distortion through parasites [155], as parasite transmission probably increases with increasing population densities. For example, presence of the microsporidian Nosema granulosis is associated with an excess of females in G. roeselii broods [156].

Our analyses uncovered divergence of sexually selected male traits towards sites with higher densities and towards female biased sex-ratios. Specifically, the sexual dimorphism in the 1st antennae [71, 112] became more pronounced (Fig. 6c). Male amphipods use their antennae to assess the quality of potential mating partners [72]. They bear high costs of mating due to precopulatory mate guarding [157], which should indeed select for pronounced male mate choosiness [158]. Interestingly, mate choosiness in our study species was stronger in males originating from a high-density site compared to males from a low-density site [113]. Based on the aforementioned considerations, we suggest the following scenario: systematic variation of (unrecognized) ecological factors (e.g., predation pressure [145, 146] and/or competition with congeneric species [147]) along the examined stream sections drove differences in population densities. Mediated by parasitism [156], this altered population demographics, which in turn altered the fitness landscape for sexually selected traits. Moreover, we predicted body size to be positively sexually selected at high conspecific densities [59, 60] (Table 1), but instead found reduced body size in both sexes. This likely reflects elevated resource competition at high population densities translating into reduced somatic growth [159].

Finally, also reproductive traits changed in response to biotic conditions, such as population densities, and we observed a lower fecundity at high conspecific densities and more female biased sex-ratios. A possible adaptive interpretation could be related to the trade-off between offspring size and fecundity [69], where female fecundity is reduced when selection favours bigger offspring [1, 18, 160]. Increased offspring size can be adaptive in highly competitive environments (i.e., at high population densities [68, 161]). Our interpretation remains speculative, however, as the effect of larger offspring size under higher population densities was marginally non-significant (Additional file 1: Figure S2).

Selection at invasion fronts?

We further found higher size-corrected fecundity at upstream sites. Our a priori predictions for fecundity, based on the existing literature on aquatic invertebrates (Table 1), fail to explain this pattern. Therefore, we argue that selective regimes at upstream sites need to be viewed in light of the species’ colonisation history. Upstream sites in Central Europe were only recently invaded by G. roeselii (this study). Individuals on the expanding edge of a population (or invasion front) face a unique selective environment. They encounter native competitors (in this case even congeners [94, 101, 162]) and a new set of abiotic selection factors [163]. Selection arising from this condition may tip the scale of another prominent life-history trade-off, namely the trade-off between investment into reproduction and somatic maintenance, which is related to the trade-off between current and future reproduction [82]. Invaders may thus show more investment into reproduction [164] unless there is a strong trade-off between dispersal abilities and fecundity [165].

Outlook and future research

Phylogeographic studies on amphipods are becoming common practice to study how past geological events affected macroevolutionary processes [166,167,168]. By contrast, phenotypic divergence within and between taxonomic groups—as reported here on an intraspecific level for G. roeselii—received little attention so far. Uncertainty remains regarding the underlying mechanisms that caused the observed phenotypic variation, and future studies are warranted that address the potential heritability of the traits studied herein and the role of adaptive phenotypic plasticity [87, 169]. Additionally, parts of the observed phenotypic divergence could also arise from non-adaptive plasticity in response to stressful environments [87] (Additional file 1: Material S1). Future studies could provide broad-sense heritability estimates by rearing individuals under common-garden conditions [170], or make an attempt to rear individual broods from known parents to provide narrow-sense heritability estimates (hn2, via mid-parent – offspring regressions [171]). To experimentally address some of the newly generated hypotheses, future studies could use the sister genus Hyalella, which is easy to breed under laboratory conditions. Hyalella spp. are routinely used in North America as a model organism for ecotoxicological assays [172] and contemporary evolution to anthropogenic sources of selection (pesticide exposure) has been described [173]. On the other hand, the relative role of plastic responses could be addressed experimentally by assessing the variance of traits, for example, in reciprocal transplant experiments [174, 175]. Finally, genome- and transcriptome-screens could provide insights into the underlying mechanisms of phenotypic divergence, and the widespread occurrence of G. roeselii offers several independent populations to test for parallel adaptive divergence. Altogether then, our present study identifies amphipods are promising models to study phenotypic diversification along ecological gradients made up by both natural and human-induced selection factors. Furthermore, their key-role in freshwater ecosystems renders amphipods an excellent system in which to investigate feedbacks between evolutionary and ecological processes.