:root {
  --deepblue: black;
  --pie-color-2: white;
}

body, html {
  background-color: var(--lightgreen);
  color: black;
  overflow-x: hidden;
}

body {
  overflow: hidden;
  background-color: var(--lightgreen);
}

.body {
  overflow: visible;
}

/*HEADER*/

header,
a.mPS2id-highlight {
  background-color: var(--lightgreen);
}

.button-content a,
.menu-content a {
  text-decoration: none;
}

/*Hover for Button-Content itself*/
.button-content:hover a.none {
  text-decoration: underline;
}

/*Highlight selected inside the Menu-content*/
.menu-content a.mPS2id-highlight {
  color: yellow;
}

/*Highlight Button-Content itself*/
.button-content a.mPS2id-highlight {
  color: black;
}

.header-bar {
  width: calc(92vw * 0.83);
}

.header-bar:hover {
  background-color: yellow;
}

.header-bar:hover:after {
  background-color: yellow;
  color: black;
}

#zero:before {width: calc(6vw * 1);}
#one:before {width: calc(12vw * 1);}
#map:before {width: calc(6vw * 1);}
#two:before {width: calc(6vw * 1);}
#three:before {width: calc(7vw * 1);}
#four:before {width: calc(7vw * 1);}
#five:before {width: calc(12vw * 1);}
#six:before {width: calc(11vw * 1);}
#seven:before {width: calc(2vw * 1);}
#eight:before {width: calc(7vw * 1);}
#nine:before {width: calc(5vw * 1);}
#ten:before {width: calc(14vw * 1);}
#eleven:before {width: calc(5vw * 1);}
#twelve:before {width: calc(2vw * 1);}
#thirteen:before {width: calc(11vw * 1);}

/*HEADER END*/


section {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  border-radius: 11px;
}

h5:nth-last-of-type(1) {
  margin-bottom: 2.2rem;
}

.quote h5 {
  font-family: 'WebfontOne_Medium', Arial;
  font-weight: 400;
  margin-bottom: -0.3rem;
}

.big-quote-wrapper h6 {
  color: var(--deepblue);
  max-width: 110rem;
}

#sec05 h5 {
  margin-top: 1.5rem;
}

sub, 
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: 0.6rem;
}

strong {
  color: var(--deepblue);
}

h1,
h2,
h3,
h4,
h5,
h6, 
.bu {
  color: var(--deepblue);
}


/*    LAYOUT    */

.segment {
  display: flex;
  justify-content: center;
  position: relative;
  background-color: var(--lightgreen);
}

.segment.first {
  display: block;
  padding: 0;
}

.lead__wrapper {
  padding-bottom: 1rem;
}

.lead__wrapper:after {
  background-color: yellow;
}

.segment.text {
  align-items: flex-start;
  padding: 0rem 0 0rem 0;
  margin: 7rem 0 5rem 0;
}

.segment.zitat {
  padding: 0 2rem;
  margin: 9rem 0 0rem 0;
}

@media (max-width: 479px) {
  .segment.zitat {
    padding: 0 1rem;
  } 
}

.segment.text.reverse {
  flex-direction: row-reverse;
}

.segment.text.center {
  justify-content: center;
}

@media (min-width: 1000px) {
  .segment.text .content__text {
    margin-left: calc(1rem + 2.9rem);
  }
  .segment.text.reverse .content__text {
    margin-right: calc(1rem + 2.9rem);
    margin-left: 1rem;
  }
}

.segment.phones {
  background-color: #fa4646;
  flex-wrap: wrap;
}

.content__text {
  padding: 1rem;
  max-width: 63rem;
  margin: 0 1rem;
}

.content__text p:last-of-type {
  margin-bottom: 0;
}

#sec14 .content__text {
  margin-bottom: 4rem;
}


/*  PIE CHARTS  */

.pie-wrapper {
  max-width: 140rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: yellow;
  padding: 2rem;
  color: var(--deepblue);
}

.content__text.pie-wrapper h4 {
  text-align: center;
  max-width: 100%;
  margin-bottom: 3rem;
}

.specialobject {
  margin-left: 1rem;
  margin-right: 1.5rem;
}

.pie-chart-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.pie-chart-wrapper-single {
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  margin: 1rem;
}

.pie {
  width: 30rem; 
  height: 30rem;
  border-radius: 50%;
  background: var(--deepblue);
  background-image:
    linear-gradient(to right, transparent 50%, var(--pie-color-2) 0);
  margin-bottom: 1rem;
  border: 0.2rem solid var(--deepblue);
}

.pie::before {
  content: '';
  position: absolute;
  width: 15rem;
  height: 30rem;
  display: block;
  margin-left: 15rem;
  border-radius: 0 100% 100% 0 / 50%;
  background-color: inherit;
  transform-origin: left;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-duration: 3s;
  animation-timing-function: ease;
}

.pie-30.go::before {
  animation-name: spin-30;
}

@keyframes spin-30 {
  to {
    transform: rotate(0.3turn);
  }
}

.pie-27.go::before {
  animation-name: spin-27;
}

@keyframes spin-27 {
  to {
    transform: rotate(.27turn)
  }
}

.pie-10.go::before {
  animation-name: spin-10;
}

@keyframes spin-10 {
  to {
    transform: rotate(.1turn)
  }
}

.pie-59.go::before {
  animation-name: spin-59;
  animation-duration: 2s;
  animation-timing-function: linear;
}

@keyframes spin-59 {
  to {
    transform: rotate(.5turn)
  }
}

.pie-59::after {
  content: '';
  position: absolute;
  width: 15rem;
  height: 30rem;
  display: block;
  margin-left: 15rem;
  margin-left: 0;
  border-radius: 100% 0 0 100% / 50%;
  background-color: var(--pie-color-2);
  transform-origin: right;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
}

.pie-59.go::after {
  animation-name: spin-59-after;
  animation-delay: 2s;
  animation-timing-function: linear;
  animation-duration: 0.5s;
}

@keyframes spin-59-after {
  0% {
    transform: rotate(0.5turn);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  100% {
    transform: rotate(0.6turn);
    opacity: 1;
  }
}


/*Quote*/

.big-quote-wrapper {
  padding: 0;
  max-width: 100rem;
  min-width: 0;
}

.big-quote {
  background-color: yellow;
}

.big-quote:after {
  border-top-color: yellow;
}

.quote-wrapper {
  max-width: 20rem;
  margin: 1rem;
}

.quote {
  position: relative;
  background-color: white;
  border-radius: 0.5rem;
  padding: 0.75rem 0.75rem 0 0.75rem;
  margin-bottom: 3rem;
  border: 0.2rem solid var(--deepblue);
}

.quote:after {
  content: "";
  position:relative;
  bottom: -2.5rem;
  left: calc(50% - (17.3px / 2) - 0.375rem);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 17.3px 10px 0 10px;
  border-color: white transparent transparent transparent;
}

.quote-author {
  text-align: left;
}

/*    PHONE    */

.phone-wrapper {
  margin: 1rem 2rem 0 2rem;
  padding: 0;
  width: 33rem;
  min-width: 33rem;
}

.phone-wrapper .phone{
  margin: 2rem 0 1rem 0;
}

.phone-wrapper .bu {
  margin-bottom: 2rem;
}


.phone {
  max-width: 33rem;
  min-width: 33rem;
  height: 60rem;
  margin: 2rem 2rem 5rem 2rem;
  padding: 0;
  background-color: black;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*Reduce margin bc Phone longer than text*/
@media (min-width: 1000px) {
  #sec09 .phone {
    margin-bottom: 2rem;
  }
}

.screen {
  width: calc(100% - 3rem);
  height: 45rem;
  background-color: white;
  margin-bottom: 1rem;
  overflow: hidden;
}

.chat-wrapper {
  display: flex;
  flex-direction: column;
}

.phone-datum {
  font-family: 'WebfontOne_Medium', Arial, sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 1.5rem;
  color: darkgray;
  padding: 0.3rem 0 0 0;
  margin: 0 0 -0.8rem 0;
}

.chat {
  font-family: 'WebfontOne_Medium', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.1em;
  max-width: 60%;
  width: -webkit-max-content;
  width: max-content;
  border-radius: 1.8rem;
  text-align: left;
  margin: 1.2rem 0 0 1.2rem;
  color: black;
  border: 0.2rem solid var(--deepblue);
  padding: 0.7rem 1.1rem 0.3rem 1.1rem;
  color: var(--deepblue);
  background-color: yellow;
  opacity: 0;
  transform-origin: left bottom;
}

.chat.go {
  animation-name: chatbubble;
  animation-duration: 0.4s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
  transform-origin: left bottom;
}

@keyframes chatbubble {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  60% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat:nth-of-type(1) {animation-delay: calc(0.4s + 0s);}
.chat:nth-of-type(2) {animation-delay: calc(0.4s + 1s);}
.chat:nth-of-type(3) {animation-delay: calc(0.4s + 2s);}
.chat:nth-of-type(4) {animation-delay: calc(0.4s + 3s);}
.chat:nth-of-type(5) {animation-delay: calc(0.4s + 4s);}
.chat:nth-of-type(6) {animation-delay: calc(0.4s + 5s);}
.chat:nth-of-type(7) {animation-delay: calc(0.4s + 6s);}
.chat:nth-of-type(8) {animation-delay: calc(0.4s + 7s);}
.chat:nth-of-type(9) {animation-delay: calc(0.4s + 8s);}
.chat:nth-of-type(10) {animation-delay: calc(0.4s + 9s);}

.chat.flo {
  align-self: flex-end;
  margin-right: 1.2rem;
  transform-origin: right bottom;
}

.chat.bild,
.chat.video {
  padding: 0;
  overflow: hidden;
  background-color: black;
}

.chat.video {
  max-width: 20rem;;
}

/*    IMAGES    */

.image {
  height: 100vh;
  width: 100%;
  background-position: 50% 50%;
  background-size: cover;
}

.b-image {
  height: 80vh;
  width: 100%;
  background-position: 50% 50%;
  background-size: cover;
}

.b-image.karte {
  background-image: url('../images/ali/map_ali_06_05.svg');
}

#sec02 .bu {
  padding-left: 0.6rem;
  background-color: yellow;
}

#sec02 {
  padding: 0 1.5rem 2rem 1rem;
  background-color: var(--lightgreen);
}

#sec02 .specialobject {
  box-sizing: border-box;
  width: 100%;
  max-width: 140rem;
  padding: 0;
  background: radial-gradient(circle, black 1px, yellow 1px),
    radial-gradient(circle, black 1px, yellow 1px) 2px 2px;
  background-size: 5px 5px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#sec05 .specialobject {
  max-width: 63rem;
  box-sizing: border-box;
  background-color: yellow;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

#sec13 .specialobject {
  margin-bottom: 3rem;
}

#sec05 {
  color: var(--deepblue);
}


footer {
  color: white;
}

footer a:link	  {color: black; text-decoration: underline;}
footer a:visited  {color: black; text-decoration: underline;}
footer a:hover    {color: yellow; text-decoration: underline;}
footer a:active   {color: yellow; text-decoration: underline;}

@media (max-width: 1000px) {

  .segment.text, 
  .segment.text.reverse {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

}

@media (max-width: 479px) {

  .content__text {
    margin: 0;
  }

}