/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

html,
body {
  font-family: "urbane";
  height: 100%;
  margin: 0;
  padding: 0;
}

/* COLORS */
:root {
  --red: #86233d;
  --white: #fff;
  --black: #222;
  --gray-light: rgb(201, 201, 201);
  --green: #374f59;
  --light-green: #f0f4f6;
  --lighter: #f0f4f6;
}

.closer {
  background-image: url("../Icons/closer.svg");
  background-repeat: no-repeat;
}

.slide-down {
  background-image: url("../Icons/down-arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.arrow {
  background-image: url("../Icons/plus.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

header li,
footer li {
  list-style-type: none;
}

/* HEADINGS */
h1 {
  font-weight: 900;
  color: var(--red);
}

h2 {
  font-weight: 900;
  color: var(--red);
}

p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
li {
  font-size: 0.9rem;
}
.bg-red {
  background-color: var(--red);
}

.root-hero h1::after,
.firmenhero h1::after {
  content: "";
  width: 38px;
  height: 3px;
  background-color: var(--red);
  display: block;
  position: absolute;
  top: 0;
}

span.subline {
  font-weight: 900;
}

/* inner */
.inner {
  max-width: 100%;
  width: 100%;
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0 10px;
}

@media only screen and (min-width: 600px) {
  .inner {
    padding: 0 20px;
    max-width: 100%;
  }
}
@media only screen and (min-width: 800px) {
  .inner {
    padding: 0 30px;
    max-width: 100%;
  }
}

@media only screen and (min-width: 1200px) {
  .inner {
    padding: 0 50px;
    max-width: 100%;
  }
}
@media only screen and (min-width: 1400px) {
  .inner {
    padding: 0 0px;
    max-width: 85%;
  }
}
@media only screen and (min-width: 1600px) {
  .inner {
    padding: 0 0px;
    max-width: 85%;
  }
}

/* ICONS */
.icon-bar > div {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.img-icon {
  background-image: url(../Icons/image-icon.svg);
}
.life-icon {
  background-image: url(../Icons/life.svg);
}
.work-icon {
  background-image: url(../Icons/work.svg);
}

.activity-icon {
  background-image: url(../Icons/activity.svg);
}
.education-icon {
  background-image: url(../Icons/education.svg);
}

/* BUTTONS */
.button {
  border: 0px;
  border-radius: 999px;
  -webkit-box-shadow: 0;
  box-shadow: 0;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--red);
  border: 2px solid var(--red);
  padding: 10px 30px;
  -webkit-transition: background 350ms;
  -o-transition: background 350ms;
  transition: background 350ms;
  text-align: center;
  margin: 10px 0px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: transparent;
}
.button.primary-1 {
  color: var(--white);
  border: 2px solid var(--red);
  padding: 10px 30px;
  -webkit-transition: background 350ms;
  -o-transition: background 350ms;
  transition: background 350ms;
  text-align: center;
  margin: 10px 0px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: var(--red);
}

.button.primary:hover {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.button.primary-1:hover {
  background: var(--white);
  color: var(--red);

  border: 2px solid var(--red);
}

.button.secondary {
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 30px;
  -webkit-transition: background 350ms;
  -o-transition: background 350ms;
  transition: background 350ms;
  text-align: center;
  margin: 10px 0px;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.button.secondary:hover {
  background: var(--white);
  color: var(--red);
}

.firmendetailssection {
  background-color: var(--light-green);
}

.red {
  color: var(--red);
}

.button.sliderButton {
  border-bottom: 1px solid var(--red);
  padding-bottom: 15px;
  display: block;
  width: 100%;
  color: var(--red);
  font-weight: 900;
  border-radius: 0;
  position: relative;
}
.button.sliderButton::after {
  content: "";
  background-image: url(../Icons/arow-right.svg);
  background-repeat: no-repeat;
  width: 25px;
  height: 16px;
  position: absolute;
  margin-left: 25px;
}

.fliese ul {
  padding-left: 30px;
}

/* sidebar */
#sidebarelement {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 20;
}
#sidebarelement .all {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
#sidebarelement .element {
  margin-top: 7px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  text-decoration: none;
  -webkit-box-shadow: 0px 0px 10px 0px rgb(34 34 34 / 30%);
  box-shadow: 0px 0px 10px 0px rgb(34 34 34 / 30%);
}
#sidebarelement .element .head {
  width: 60px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--red);
}
#sidebarelement .element .body {
  width: 0px;
  padding-left: 0;
  -webkit-transition: 500ms all;
  -o-transition: 500ms all;
  transition: 500ms all;
  background-color: white;
}
#sidebarelement .element .body span {
  color: var(--red);
  display: none;
  opacity: 0;
  text-transform: uppercase;
}
#sidebarelement .element .body #sidebarelementarrow {
  right: -100px;
  top: 24px;
  position: absolute;
  display: block;
  -webkit-transition: 1000ms all;
  -o-transition: 1000ms all;
  transition: 1000ms all;
}
#sidebarelement .element .body #sidebarelementarrow path {
  fill: var(--red);
}

/* hover */
body.desktop #sidebarelement .element:hover .body {
  opacity: 1;
  width: 230px;
  height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: left;
  -ms-flex-pack: left;
  justify-content: left;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 20px;
  position: relative;
  -webkit-transition: 500ms all;
  -o-transition: 500ms all;
  transition: 500ms all;
}
body.desktop #sidebarelement .element:hover #sidebarelementarrow {
  right: 20px;
  -webkit-transition: 1000ms all;
  -o-transition: 1000ms all;
  transition: 1000ms all;
  top: 24px;
}

body.desktop #sidebarelement .element:hover .body span {
  color: var(--red);
  display: block;
  opacity: 1;
}

/* responsive */
@media only screen and (max-width: 980px) {
  #sidebarelement {
    bottom: 0px;
    top: auto;
    width: 100%;
    background: var(--red);
    border-bottom: 8px solid var(--light-green);
    position: fixed;
    -webkit-box-shadow: 0px -2px 7px 1px rgba(0, 0, 0, 0.239);
    box-shadow: 0px -2px 7px 1px rgba(0, 0, 0, 0.239);
  }

  #sidebarelement .all {
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-bottom: 6px;
  }

  #sidebarelement .element .body {
    display: block;
    width: 100%;
    opacity: 1;
    background-color: transparent;
  }

  #sidebarelement .element .body span {
    display: block;
    opacity: 1;
    color: white;
  }

  #sidebarelement .element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  #sidebarelement .element .head {
    background: unset;
    width: 50px;
    height: 50px;
  }
}

@media only screen and (max-width: 640px) {
  #sidebarelement .element .head {
    width: 30px;
    height: 30px;
  }

  #sidebarelement .element .head img {
    width: 20px;
    height: 20px;
  }

  #sidebarelement .element .body span {
    font-size: 0.66rem;
  }
}
