/* style.css, sachsen-coburg.schladming.at, 2025-10-09, gerald petter */

html {
  
  --font: 'Ubuntu', sans-serif;
  
  --white: rgb(255, 255, 255);
  --greyLight: rgb(230, 230, 230);
  --colorLighter: rgb(244, 215, 169);
  --colorLight: rgb(221, 152, 106);
  --grey: rgb(128, 128, 128);
  --color: rgb(185, 99, 43);
  --greyDark: rgb(77, 77, 77);
  --black: rgb(20, 20, 20);
  
  --hDist: 4vw; /* horizontal distance between content and window */
  
  --gapS: .6rem; /* vertical gap */
  --gapXXS: calc(var(--gapS)/4);
  --gapXS: calc(var(--gapS)/2); 
  --gapM: calc(var(--gapS)*2); 
  --gapL: calc(var(--gapS)*3);
  --gapXL: calc(var(--gapS)*4); 
  --gapXXL: calc(var(--gapS)*5); 
  
  --textShadow: 1px 1px 2px var(--greyDark);
  --arrowHeight: 40px;
  
  font-size: 1em;
  
}
  @media screen and (min-width: 37.5em) { /* 600px */
    html {
      --gapS: .8rem;
    }
  }
    @media screen and (min-width: 56.25em) { /* 900px */
      html {
        --gapS: .9rem;
        font-size: 1.1em;
      }
    }
      @media screen and (min-width: 75em) { /* 1200px */
        html {
          --gapS: 1.0rem;
          --hDist: 6vw;
          font-size: 1.2em;
        }
      }
        @media screen and (min-width: 81.25em) { /* 1300px */
          html {
          }
        }
          @media screen and (min-width: 93.75em) { /* 1500px */
            html {
              --hDist: 8vw;
              font-size: 1.3em;
            }
          }
            @media screen and (min-width: 112.5em) { /* 1800px */
              html {
                font-size: 1.4em;
              }
            }
              @media screen and (min-width: 131.25em) { /* 2100px */
                html {
                  --hDist: 10vw;
                  font-size: 1.5em;
                }
              }
            
/* Body ==================================================================== */
body {
  font-family: var(--font); 
  font-weight: 300;
}

strong {
  color: var(--color);
  font-weight: 500;
}

/* Links */
a {
  color: inherit;
  transition: .2s; 
}

a:hover {
  color: var(--color);
}

a[href^="http"]::after,
a[href^="https://"]::after {
  content: "\2197";
  margin-left: 2px;
  display: inline-block;
  position: relative;
  top: -5px;
  color: inherit;
}

figure > a[href^="http"]::after,
figure > a[href^="https://"]::after {
  display: none;
}

figcaption {
  font-style: italic;
  margin-top: var(--gapXS);
}

#arrowTop:hover {
  border: solid 2px var(--greyDark);
}

#arrowTop:hover a {
  border-color: var(--greyDark);
}

/* Header ================================================================== */
header {
  background-color: var(--colorLight);
  background-image: url("../images/all/header_bg.png");
  background-repeat: no-repeat;
  padding: var(--gapL) 0;
}

.header__container {
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: var(--gapM);
  grid-template-columns: 1fr;
  justify-items: center;
  width: calc(100% - var(--hDist) *2);
}
  @media screen and (min-width: 56.25em) {
    .header__container {
      grid-template-columns: fit-content(300px) 1fr;
      text-align: left;
      align-items: center;
      justify-items: start;
      column-gap: var(--gapXL);
    }
  }
    @media screen and (min-width: 81.25em) {
      .header__container {
        width: 1200px;
      }
    }
      @media screen and (min-width: 131.25em) {
        .header__container {
          width: 1400px;
        }
      }
      
.header__container br {
  display: none;
}
  @media screen and (min-width: 56.25em) {
   .header__container br {
      display: inline;
    }
  }
  
.header__arms--coburg {
  height: 120px;
}
  @media screen and (min-width: 56.25em) {
    .header__arms--coburg {
      height: 200px;
    }
  }
  
.header__arms--schladming {
  height: 100px;
}
   @media screen and (min-width: 56.25em) {
    .header__arms--schladming {
      height: 160px;
      justify-self: center;
    }
  }
  
header h1 {
  font-size: 2em;
  font-weight: 700;
  color: var(--colorLighter);
  text-transform: uppercase;
}
  @media screen and (min-width: 75em) {
    header h1 {
      font-size: 2.4em;
    }
  }
  
header h2 {
  font-size: 1.4em;
  font-weight: 300;
  color: var(--white);
}

/* Main ================================================================== */
main {
  position: relative;
  margin-top: var(--gapL);
  margin-left: var(--hDist);
  margin-right: var(--hDist);
}

/* Überschriften */
main h3 {
  font-weight: 300;
  font-size: 1.5em;
}

/* Bereiche */
main p {
  margin-top: var(--gapM);
}

  
/* Bilder */


/* Startseite ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Teaser */
.main__teaser {
  position: relative;
  margin-top: var(--gapL);
  display: grid;
  grid-template-column: 1fr;
  gap: var(--gapM);
}
  @media screen and (min-width: 56.25em) {
    .main__teaser {
      grid-template-columns: fit-content(600px) 1fr;
      gap: var(--gapXL);
    }
  }
  
.main__teaser--chart {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--colorLighter);
  padding: var(--gapM);
}

.link--more > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link--more:hover > a {
  text-decoration: none;
}

.link--more__arrow svg {
  height: var(--arrowHeight);
}

.link--more polygon {
  transition: .2s;
}

.link--more:hover polygon {
  fill: var(--colorLight);
}

