.icontext {
  display: grid;
  grid-gap: var(--g-gap-s);
  grid-template-columns: 50px 1fr;
}

.icontext-icon {
  font-size: 35px;
  margin: 0 auto;
  color: rgb(var(--c-secondary));
}

/* Bluebox */

/* dce */
.bluebox {
  background: rgb(var(--c-secondary));
  overflow: hidden;
  color: rgb(var(--c-neutral-lightest));
}

.bluebox a, .bluebox .fontbig, .bluebox .fontbigbold, .bluebox .iconfont {
  color: rgb(var(--c-neutral-lightest));
}

.bluebox-left img {
  width: auto;
  max-width: 100%;
  padding-top: 2rem;
}

.bluebox-left {
  align-self: end;
}

.bluebox-text {
  padding: 2rem;
}

/* headline */
.sh-icon-wrap {
  margin-bottom: 1rem;
}

/* Header */
.header__text {
  max-width: 900px;
  hyphens: none;
  width: 92%;
  text-align: center;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  font-size: var(--f-size-l-3);
  font-family: var(--f-family-2);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, .7);
}

/* header Navigation */
.header__nav {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto !important;
  grid-template-columns: repeat(4, 1fr);
  z-index: 200;
  font-family: var(--f-family-2);
  text-transform: uppercase;
}

.headernav__item {
  background: rgba(var(--c-secondary), 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  transition: 0.3s ease all;
  flex-direction: column;
  height: 100%;

  &:hover {
    background: rgba(var(--c-primary), 0.9);
    margin-top: -2rem;
    height: calc(100% + 2rem);
  }
}

.headernav__title {
  color: rgb(var(--c-neutral-lightest));
  font-size: var(--f-size-l-1);
}

.headernav__number {
  color: rgb(var(--c-neutral-lightest));
  width: 93px;
  height: 93px;
  line-height: 74px;
  font-size: var(--f-size-l-4);
  position: relative;
}

.headernav__bubble {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  background: url('../../Images/bubble_white.svg') no-repeat 0 0;
  background-size: contain;
  opacity: 0.2;
  position: absolute;
}

/* Topic */
.topic {
  text-align: center;
}

.topic-title {
  margin-bottom: 1rem;
  text-transform: uppercase;
  transition: 0.3s ease all;
}

.topic-teaser {
  color: rgb(var(--c-neutral-dark));
}

.topic-icon {
  margin-bottom: 1rem;
  transition: 0.3s ease all;
}

.topic a:hover {
  & .topic-title {
    scale: 1.1;
  }

  & .topic-icon {
    opacity: 0.5;
  }
}

/* review */
.reference-item {
  text-align: right;
}

.reference-textwrap {
  position: relative;
  color: rgb(var(--c-neutral-lightest));
  font-size: var(--f-size-s-1);
  font-weight: var(--f-weight-b);
  text-align: center;
  margin-bottom: 1rem;
}

.reference-text {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 300px;
  transform: translateX(-50%);
  width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* textimage box */
.textimage-box {
  background: rgb(var(--c-neutral-lighter));
}

.textimage-box-textwrap {
  padding: 2rem;
}

.textimage-box-text {
  margin: 1rem 0;
}

.textimage-morelink {
  text-align: right;

  & .textbutton::after {
    border-color: rgb(var(--c-neutral-lighter));
  }
}

.textimage-box-image {
  background-size: cover;
  background-position: center center;
  transition: 0.3s linear;
  height: 200px;
}

.textimage-box-headline {
  text-transform: uppercase;
  text-align: center;
}

/* slider */
.slider {
  width: 100%;

  --swiper-pagination-bullet-width: 60px;
  --swiper-pagination-bullet-height: 2px;
  --swiper-pagination-color: #008aab;
  --swiper-pagination-bullet-inactive-color: #828587;
  --swiper-pagination-bullet-inactive-opacity: 0.4;
  --swiper-navigation-color: #828587;
  --swiper-pagination-bullet-border-radius: 0;

  padding-bottom: 4rem;
}

/* scrollimage */
.frame-type-scrollimage {
  & > .grid__main {
    display: grid;
  }

  & > .grid__col {
    grid-column: span 5;
    overflow: hidden;
    position: relative;
  }

  & .imagefullwidth-image {
    grid-column: span 5;

    &::after {
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      content: '';
      background: rgba(var(--c-secondary), 0.5);
      z-index: 1;
    }
  }

  & .scrollimage__content {
    position: relative;
    z-index: 2;
    color: rgb(var(--c-neutral-lightest));
    padding: var(--p) 0;
  }

  & input {
    background: transparent;
    border: 2px solid rgb(var(--c-neutral-lightest));
    color: rgb(var(--c-neutral-lightest));
  }

  & input::placeholder {
    color: rgb(var(--c-neutral-lightest));
    opacity: 1;
  }

  & input[type="submit"] {
    background: rgb(var(--c-primary));
    border: 2px solid rgb(var(--c-primary));
  }
}

.imagefullwidth-image {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* scrollbox */
.frame-type-scrollbox > .grid__col {
  grid-column: span 5;
  overflow: hidden;
  position: relative;
}

.scrollbox__content {
  display: grid;
  position: relative;
  z-index: 1;
}

.scrollbox__content > *:first-child,
.scrollbox__content > *:nth-child(3),
.scrollbox__content > *:nth-child(6),
.scrollbox__content > *:last-child {
  background: rgba(var(--c-primary), .8);
  color: rgb(var(--c-neutral-lightest));

  & .scrollbox__icon.-white {
    display: block;
  }

  & .scrollbox__icon.-grey {
    display: none;
  }
}

.scrollbox__content > *:nth-child(6),
.scrollbox__content > *:last-child {
  background: rgba(var(--c-secondary), .8);
}

@media (hover: hover) {
  .scrollbox__content > *:hover {
    background: rgba(var(--c-neutral-dark), .8);
    color: rgb(var(--c-neutral-lightest));

    & .scrollbox__icon.-white {
      display: block;
    }

    & .scrollbox__icon.-grey {
      display: none;
    }
  }
}

.scrollbox__icon {
  margin-bottom: 0.5rem;
}

.scrollbox__content > * {
  background: rgba(var(--c-neutral-lightest), .8);
  color: rgb(var(--c-neutral-dark));
}

.scrollbox__item {
  font-family: var(--f-family-2);
  text-transform: uppercase;
  font-size: var(--f-size-l-2);
  text-align: center;
  display: flex;
  padding: 2.5rem 1.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;

  & .scrollbox__icon.-white {
    display: none;
  }
}

.scrollbox__title {
  max-width: 380px;

  &.-bold {
    font-weight: var(--f-weight-sb);
  }
}


/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 400px) {
  .scrollbox__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .page.-main .header__text {
    bottom: 15rem
  }

  .header__nav {
    display: grid;
  }

  /* textimage box */
  .textimage-box {
    display: grid;
    grid-template-columns: 40% 60%;

    &.imageright {
      grid-template-columns: 60% 40%;
    }
  }

  .textimage-box-image {
    height: 100%;
  }

  .bluebox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .scrollbox__content {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  /* textimage box */
  .textimage-box-textwrap {
    padding: 3rem;
  }

  /* bluebox */
  .bluebox-text {
    padding: 3rem;
  }
}

@media (min-height: 800px) {
  .header {
    max-height: calc(100vh - 85px);

    & .swiper-slide,
    & .swiper-wrapper,
    & .swiper {
      position: initial;
      max-height: calc(100vh - 85px);
    }
  }
}