1 Supporting information 2 Supporting titles and legends to figures 3 Figure S1: Fe K edge XANES spectra across two microtome slices. A. Light optical image 4 of a biofilm slice. X-ray S K and Fe Ka fluorescence emission scans (not shown here) and X- 5 ray absorption spectra of the series shown in S1C have been collected approximately along 6 the horizontal line. Scale bar (200 µm). The cross sections are taken from spot 1 of the 7 oxygen profiles (Figure 1A) B. Fe K XANES spectra across a biofilm slice (black solid and 8 dashed lines) compared to the spectrum from sample position 1 that fits well with the 9 spectrum of jarosite (KFe3(SO4)2(OH)6) (grey line) and, hence stands for complete oxidized 10 iron. C. Fe K XANES spectra from a second cross section compared to the spectrum 1 from B 11 (grey line). A few other spectra, two from the boundary part of the biofilm and one from the 12 inner part are close to the jarosite spectrum (dashed line) and therefore represent an almost 13 oxidized state of iron whereas the flanks of the other sample spectra are shifted to lower 14 energies (solid black line) compared to the jarosite spectrum. Position 1 and 22 in B, and 2 15 and 25 in C represent rim locations. 16 17 Figure S2: Identification of Fe K edge XANES end member spectra of the spectral series 18 of two cross sections. The spectrum with the flank shift to the highest energy of the series (a) 19 (solid line) matches with the spectrum of jarosite (KFe3(SO4)2(OH)6) (dashed line, b) and is 20 hence identified as one of two end member spectra. No match of the spectrum with the flank 21 position at the lowest energy of the series (dashed line, c) with any known reference spectrum 22 was found. Assuming still spectral fraction of jarosite in spectrum (c), a hypothetical end 23 member can be derived when subtracting as much jarosite spectral fraction until the white line 24 or flank position (solid line, d) of a typical Fe(II) spectrum (dashed line e) is reached. A 25 spectrum of dissolved Fe(II) sulfate has been chosen for comparison because it shows similar 26 features as the hypothetical end member. From this, it is assumed that the second Fe species 27 originates from Fe(II) absorbed in a relation with sulphate on constituents of the biofilm. 28 29 Figure S3: S K edge XANES spectra across two biofilm slices. Spectra that show dominant 30 sulfate (dashed and dash dotted lines) are located at the boundary of the slice but seem to 31 occur periodically also across the slice. A. The positions of the sulfate dominant spectra where 32 Fe K XANES spectra have been recorded match nearly completely with the ones that show 33 the most oxidized Fe (see Figure S1B). B. The positions of the sulfate dominant spectra where 34 Fe K XANES spectra have been recorded, match with almost all that show the most oxidized 35 Fe: Positions 2, 10, and 25 (see Figure S1C). At position 26 almost a pure sulfate spectrum 36 has been recorded (dash dotted line). 37 38 Figure S4: Comparison of three typical S K edge XANES spectra of the biofilm slices. 39 They show all four spectral features (a) with reference spectra of selected organic and 40 inorganic sulfur containing compounds: jarosite (b), taurine (c), anthraquinone-2-sulfonic acid 41 (d), DMSO (dimethyl sulfoxide) (e), poly (1,4-phenylene-sulfide) (f), S-methyl-L-cysteine 42 (g), L-methionine (h), L-gluthathione (reduced) (i), L-cysteine (j), elemental sulfur (k), pyrite 43 (l). 44 45 Figure S5: The CARD FISH images show the inner part of the upper piece (1 cm from the 46 rock surface) of the snottite. A. Archaea (ARCH915, Alexa 546 in red) and 47 Thermoplasmatales (TH1187, Alexa 488 in green) show almost the same signal. B. ARMAN 48 (ARM 980, Alexa 488 in green) signals correlate partly with the archaeal signals (ARCH915, 49 Alexa 546 in red).