/* === SCHRIFTEN === */

@font-face {
  font-family: "OpenSans";
  src: url(https://multiposting.s3.softgarden.de/0017S000005dmAdQAI/c112d048-f39b-42b2-bcfa-6533a29adca8/0ffb77f3-a8d6-4b56-bcd7-027415a03ae8/0842d2f2-d4e4-4c85-9859-d73318d51a0f.ttf) format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "OpenSans";
  src: url(https://multiposting.s3.softgarden.de/0017S000005dmAdQAI/c112d048-f39b-42b2-bcfa-6533a29adca8/0ffb77f3-a8d6-4b56-bcd7-027415a03ae8/ae7109f7-039e-4dc4-a52c-e45dbba3ad79.ttf) format("truetype");
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Merriweather";
  src: url(https://multiposting.s3.softgarden.de/0017S000005dmAdQAI/c112d048-f39b-42b2-bcfa-6533a29adca8/0ffb77f3-a8d6-4b56-bcd7-027415a03ae8/3c13bc0d-4282-44fa-a2c2-e32c564c3602.ttf) format("truetype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Merriweather";
  src: url(https://multiposting.s3.softgarden.de/0017S000005dmAdQAI/c112d048-f39b-42b2-bcfa-6533a29adca8/0ffb77f3-a8d6-4b56-bcd7-027415a03ae8/1ce00068-9324-418c-8a21-48f870584099.ttf) format("truetype");
  font-style: normal;
  font-weight: 700;
}

/* === GLOBAL === */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "OpenSans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #000;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  hyphens: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/* === HILFSKLASSEN === */
.u-justify-text {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.u-left-text {
  text-align: left;
}

.u-right-text {
  text-align: right;
}

.u-center-box {
  margin: 0 auto;
}

.u-center-text {
  text-align: center;
}

.margin-bottom-xs {
  margin-bottom: 1rem;
}

.margin-bottom-small {
  margin-bottom: 2rem;
}

.margin-bottom-middle {
  margin-bottom: 3rem;
}

.margin-bottom-medium {
  margin-bottom: 4rem;
}

.margin-bottom-large {
  margin-bottom: 6rem;
}

.margin-bottom-big {
  margin-bottom: 8rem;
}

.margin-top-xs {
  margin-top: 1rem;
}

.margin-top-small {
  margin-top: 2rem;
}

.margin-top-middle {
  margin-top: 3rem;
}

.margin-top-medium {
  margin-top: 4rem;
}

.margin-top-large {
  margin-top: 6rem;
}

.margin-top-big {
  margin-top: 8rem;
}

.no-margin {
  margin: 0;
}

.space-between {
  display: flex; 
  flex-wrap: wrap;
  justify-content: space-between;
}

.space-around {
  display: flex; 
  flex-wrap: wrap;
  justify-content: space-around;
}

.flex-start {
  display: flex; 
  flex-wrap: wrap;
  align-items: flex-start;
}

.flex-end {
  display: flex; 
  flex-wrap: wrap;
  align-items: flex-end;
}

/* === IDS === */

#wrapper {
  border: 1px solid grey;
  margin: 25px auto;
  width: 800px;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  /* width: 940px;
    -webkit-box-shadow: 0 1px 5px 1px rgba(0,0,0, .25); 
    box-shadow: 0 1px 5px 1px rgba(0,0,0, .25); */
  background: #fff;
}

/*Header*/

header {
  position: relative;
}

.logo {
  padding: 2rem 4rem;
  position: absolute;
  right: 0;
}

.logo img {
  max-width: 226px;
  height: auto;
}

.header-headerbild img {
  width: 100%;
  vertical-align: bottom;
}

div.title-header{
  position: absolute;
  padding: 4rem 4rem;
  bottom: 0;
  left: 0;
  right: 0;
}

.title-header span{
  color: #ffffff;
  font-family: "Meriweather";
  font-weight: 400;
  font-size: 1.9rem;
  }

/*Header ENDE*/



main {
  padding: 2rem 4rem;
}

.youtube-video {
  aspect-ratio: 16 / 9;
  max-width: 560px;
  width: 100%;
  margin: 4rem auto 0 auto;
}

.youtube-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*Footer*/

footer {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background-color: #009fe3;
}

footer p {
  margin-bottom: 0;
}

footer .slogan span{
  font-family: "Meriweather";
  font-weight: 400;
  font-size: 1.9rem;
  display: inline-block;
  background-color: #ffffff;
  padding: 0.5rem 1rem;
}

footer .slogan span:first-child{
  color: #0563c1;
  margin-bottom: 1rem;
}

footer .slogan span:last-child{
  color: #595959;
}

.social-media-share a{
  margin-right: 3px;
}

.social-media-share a:last-child{
  margin-right: 0;
}

/*Footer ENDE*/

/* === TEXT === */

p {
  margin-bottom: 2rem;
}

b,
strong {
  font-weight: 700;
}

i,
em {
}

h1 {
  font-family: "Meriwather";
  font-weight: 700;
  color: #ffffff;
  font-size: 3.2rem;
  line-height: 1.2;

  hyphens: auto;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

hr {
  margin: 3rem 0;
  clear: both;
  background-color: #d8d8d8;
  border-top: 3px solid #d8d8d8;
}

/* === IMAGES === */

/* === BUTTONS === */

.section-button {
  padding: 30px 0px;
  text-align: center;
}

.btn:active,
.btn:link{
  text-align: center;
  color: #ffffff;
  padding: 0.6em 4em;
  border: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: background-color 0.5s ease;
  -moz-transition: background-color 0.5s ease;
  -o-transition: background-color 0.5s ease;
  transition: background-color 0.5s ease;
  background-color: #009fe3;
}
a.btn:hover {
  color: #ffffff;
  background-color: #0563c1;
}


/* === LINKS === */

a:link {
  color: #0563c1;
  text-decoration: none;
}

a:visited {
  text-decoration: none;
  color: #7b217e;
}

a.inherit:link,
a.inherit:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #222056;
}

a:active {
}

a:focus {
  -webkit-transform: rotate();
  -ms-transform: rotate();
  transform: rotate();
}

/* === LISTEN === */

ul {
  margin-bottom: 2rem;
  margin-left: 2rem;
}

ul ul {
  margin-bottom: 0;
}

li {
  margin-bottom: 0.5rem;
}

/* === TABELLEN === */

/* === SECTIONS === */

.sections {
  /* Container des Freetextbereichs im Shopsystem */
  width: 100%;
  margin: 0 auto;
}

[class*="section--"] {
  margin-bottom: 2rem;
  hyphens: auto;
}

/*Ansprechpartner section--5*/

.section--5 img{
  max-width: 100px;
}

.section--5 .section-content__body div{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.section--5 .section-content__body div p{
  margin-bottom: 0;
}

/* === GRID-SYSTEM === */

[class*="col-"] {
  padding: 0.8rem;
}

.col-1 {
  width: 16.666%;
}
.col-2 {
  width: 33.333%;
}
.col-4 {
  width: 66.666%;
}
.col-3 {
  width: 50%;
}
.col-6 {
  width: 100%;
}

/* ===RESPONSIVE DESIGN === */

@media only screen and (max-width: 940px) and (max-width: 850px) and (max-width: 700px) {
  #wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  #wrapper {
    margin: 0;
    width: 100%;
    border: none;
  }

  .col-1 {
    width: 50%;
  }
  .col-2 {
    width: 100%;
  }
  .col-3 {
    width: 100%;
  }
  .col-4 {
    width: 100%;
  }

  .logo {
  padding: 2rem 2rem;
 }

 .logo img {
  max-width: 200px;
 }

  div.title-header{
  padding: 2rem 2rem;
  }

  div.title-header span{
    font-size: 1.7rem;
  }

  h1{
    font-size: 2.8rem;
    hyphens: none;
  }

  main {
    padding: 2rem 2rem;
  }

  footer {
    padding: 2rem 2rem;
  }

  .sections {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  [class*="section--"] {
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  
  header{
    height: 300px;
    width: 100%;
    background-image: url(https://multiposting.s3.softgarden.de/0017S000005dmAdQAI/c112d048-f39b-42b2-bcfa-6533a29adca8/0ffb77f3-a8d6-4b56-bcd7-027415a03ae8/6111a303-eb93-409a-8395-6695bc15eb24.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 15% center;
  }

  .header-headerbild img{
    display: none;
  }

   div.title-header span{
    font-size: 1.6rem;
  }

  h1{
    font-size: 2.5rem;
    hyphens: auto;
  }
}

@media only screen and (max-width: 320px) {

  header{
    background-position: 25% center;
  }

  h1{
    font-size: 2rem;
  }

/*Ansprechpartner section--5*/

  .section--5 .section-content__body div{
    flex-direction: column;
  }

  .section--5 .section-content__body div p{
    text-align: center;
  }

  footer {
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
  }

 .slogan{
  align-self: self-start;
 } 


}
