/* fonts-einbinden */
@font-face {
  font-family: "CeraPRO-Regular";
    src: url("/assets/fonts/cerapro-webfont.woff2") format("woff2"),
        url("/assets/fonts/cerapro-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "CeraPRO-Bold";
    src: url("/assets/fonts/cerapro-bold-webfont.woff2") format("woff2"),
        url("/assets/fonts/cerapro-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
:root {
  font-size: 62.5%;

  /* font-sizes */
  --h1: 2.1rem;
  --h2: 1.8rem;
  --h3: 2.8rem;
  --p: 1.5rem;

  /* line-height */
  --line-height_h1: 1.161;
  --line-height_h2: 1.222;
  --line-height_h3: 1.214;
  --line-height_p: 1.333;

  /* colors */
  --white: #ffffff;
  --black: #000000;
  --gray: #696d70;
  --orange: #ec6839;

  /* margins */
  --h1_bottom: 7.4rem;
  --h1_top: 3rem;
  --h2_bottom: 3rem;
  /* paddings */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

header {
  width: auto;
  height: 16.5rem;
  display: flex;
  align-content: center;
  justify-content: center;
  box-shadow: 0 0.3rem 0 rgba(0, 0, 0, 16%);
}

img.logo_top {
  width: 26rem;
}

main {
  width: clamp(300px, 100vw, 1600px);
  margin: 0 auto;
}

div.leader_container {
  position: relative;
  margin-bottom: 10.4rem;
  width: 100%;
}

img.leader_bild {
  width: 100%;
}

.linkdark, span.linkdark a {
	text-decoration: none;
	color: var(--gray);
}
.linklight {
	text-decoration: none;
	color: white;
}
.footer_flexbox a {
	text-decoration: none;
	color: white;
}


.stoerer_text {
  font-family: "CeraPRO-Bold";
  text-transform: uppercase;
  font-size: var(--h2);
  line-height: var(--line-height_h2);
  color: var(--white);
  background-image: url("/assets/img/stoerer.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 3.5rem 3.5rem;
}

div.leader_stoerer {
  width: 23.2rem;
  height: 23.1rem;
  display: flex;
  justify-content: center;
  align-content: center;
  position: absolute;
  bottom: -10.4rem;
  right: 11.9rem;
}

h2 {
  font-family: "CeraPRO-Bold";
  text-transform: uppercase;
  font-size: var(--h2);
  line-height: var(--line-height_h2);
  color: var(--orange);
  margin-bottom: var(--h2_bottom);
  text-align: center;
}

h1 {
  font-family: "CeraPRO-Bold";
  text-transform: uppercase;
  font-size: var(--h1);
  line-height: var(--line-height_h1);
  color: var(--gray);
  margin-bottom: var(--h1_bottom);
    padding-top: var(--h1_top);
  text-align: center;
    width: 33%;
    margin-left: auto;
    margin-right: auto;
}

.leadtext p {
    width: 66%; 
    margin-bottom: 100px; 
    margin-left: auto; 
    margin-right: auto; 
    text-align: center;
}

div.down_container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-bottom: 9.1rem;
}

div.down_circle {
  width: 4.3rem;
  height: 4.3rem;
}

div.down_circle:hover{
    cursor: pointer;
}

div.line {
  height: 6.0rem;
  width: 0.15rem;
  background-color: var(--gray);
  margin-bottom: 2.4rem;
}

img.circle {
  width: 100%;
}

div.flexcontainer_cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: clamp(300px, 100vw, 1600px);
  margin-bottom: 16.7rem;
  justify-content: center;
}

div.cards {
  width: 38.0rem;
  height: 60rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 16%);
  position: relative;
  margin: 1.0rem;
  /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
}

div.cards h2,
div.cards p,
div.cards button {
  margin: 3.2rem 3.3rem 2.8rem 3.3rem;
}

h2.align_left {
  text-align: left;
  margin-bottom: 2.8rem;
}

img.cardsbild {
  width: 100%;
}

p {
  font-family: "CeraPRO-Regular";
  font-size: var(--p);
  line-height: var(--line-height_p);
  color: var(--gray);
}

.button {
  font-family: "CeraPRO-Regular";
  font-size: var(--p);
  color: var(--white);
  text-align: center;
  background-color: var(--orange);
    margin: 3.2rem 3.3rem 2.8rem 3.3rem ;
  padding: 1rem 2rem;
  border-radius: 1.9rem;
  border: none;
  position: absolute;
  bottom: 0;
  text-decoration: none;
}

h3 {
  font-family: "CeraPRO-Bold";
  text-transform: uppercase;
  font-size: var(--h3);
  line-height: var(--line-height_h3);
  color: var(--gray);
  margin-bottom: var(--h1_bottom);
  text-align: center;
}

div.text {
  width: clamp(300px, 100vw, 1600px);
  padding: 0 1.5rem;
}

div.up_container {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10.5rem;
}

div.up_circle {
  width: 4.3rem;
  height: 4.3rem;
}

div.up_circle:hover{
    cursor:pointer;
}

div.line_up {
  height: 6.0rem;
  width: 0.15rem;
  background-color: var(--gray);
  margin-top: 2.4rem;
}

footer {
  width: auto;
  height: 6.7rem;
  background-color: var(--gray);
}

div.footer_flexbox {
  display: flex;
  width: clamp(300px, 100vw, 1600px);
  margin: 0 auto;
  height: 100%;
  justify-content: space-between;
  align-items: center;
}

div.footer_flexbox p {
  color: var(--white);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

@media screen and (max-width: 1630px) {
  div.footer_flexbox {
    justify-content: space-around;
  }
}
@media screen and (max-width: 1200px) {
h1 {
    width: 66%;
    }
}

@media screen and (max-width: 850px) {
  div.leader_container {
    margin-bottom: 15.4rem;
  }
   .leadtext {
    width: 100%;
    }
    h1 {
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
  div.cards {
    width: 100%;
  }
  
}
/*@media screen and (max-width: 375px) {
    header {
        width: 100%;
        height: 128px;
    }

    div.leader_container {
        width: 100%;
    }

    img.logo_top {
        width: 100%;
    }

    div.leader_stoerer {
        width: 231px;
        height: 230px;
        right: -34px;
        bottom: -118px;
        overflow: hidden;
    }

    main {
        width: 100%;
    }

    h2 {
        margin-top: 140px;
    }

    div.flexcontainer_cards {
        width: 100%;
        /* margin: 0 20px; */
/* flex-direction: column;
    }

    div.cards {
        width: 100%;
        margin: 0 20px;
    }

} */
