
.frame-layout-6 .ce-textpic{
  position: relative;
}

.frame-layout-6 .ce-bodytext.none{
  /*display: none;*/
  opacity: 0;
}
.frame-layout-6 .ce-gallery img{
  object-fit: cover;
}
.frame-layout-6 .ce-bodytext{
  transition: all 0.4s;
  position: absolute;
  z-index: 100;
  bottom: 0;
  width: 100%;
  min-height: 30vh;
  display: grid;
  align-content: center;
}

.frame-layout-6 .ce-bodytext header,
.frame-layout-6 .ce-bodytext h1,
.frame-layout-6 .ce-bodytext h2 {
  width: 80%;
  margin: 0 auto;
}

.frame-layout-6 .ce-bodytext strong{
  color: var(--ci-color);
}

.frame-layout-6 .ce-bodytext h2{
  color: var(--white);
  font-weight: 900;
  font-size: calc(1rem + 2vw);
}

@media (min-width: 1024px) {

  .frame-layout-6 .ce-bodytext{
    top: 0;
    width: 43%;
    display: grid;
    align-content: center;
  }
  .frame-layout-6 .ce-textpic .video-embed {
    aspect-ratio: 32/15;
  }

  .frame-layout-6 .ce-bodytext header,
  .frame-layout-6 .ce-bodytext h1,
  .frame-layout-6 .ce-bodytext h2{
    margin-top: 0;
    margin-bottom: 0;
    width: 65%;
  }

  .frame-layout-6 .ce-textpic::after {
    z-index: 600;
  }

}
@media (min-width: 1440px) {
  .frame-layout-6 .ce-gallery img{
    height: 100%;
  }
}

.frame-layout-6 {
  margin-bottom: -2px;
}

.frame-layout-6 .ce-textpic {
  position: relative;
}

.frame-layout-6 .ce-textpic .ce-bodytext {
  position: absolute;
  bottom: -40px;
  width: 85%;
  margin-left: 20px;
}

.frame-layout-6 .ce-textpic .ce-bodytext header {
  margin-top: 10%;
}

.frame-layout-6 .ce-textpic .ce-bodytext h3 {
  color: var(--white);
  margin: 0;
  right: 5%;
  font-weight: 700;
  font-size: 16px;
}

.frame-layout-6 .ce-textpic .ce-bodytext h3 strong,
.frame-layout-6 .ce-textpic .ce-bodytext a {
  color: var(--white);
}

.frame-layout-6 .ce-textpic .ce-bodytext p {
  margin-top: 1rem;
}

.frame-layout-6 .ce-textpic .ce-gallery .ce-row {
  display: block;
}

.frame-layout-6 .ce-textpic .ce-gallery .ce-row+.ce-row {
  display: none;
}

.frame-layout-6 .ce-textpic .video-embed {
  height: auto;
  overflow: hidden
}

.frame-layout-6 .ce-bodytext a {
  transition: all .3s;
  border: 2px solid var(--ci-color);
  background-color: var(--ci-color);
  padding: 20px;
  color: var(--text);
  font-size: 10pt;
  line-height: 4;
  position: relative;
  font-weight: bold;
  /*text-transform: uppercase;*/
  /*letter-spacing: 1.5px;*/
}

.frame-layout-6 .ce-bodytext a:hover {
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  background: none;
}

.frame-layout-6 .ce-bodytext a:after {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 100%;
  left: 0;
  bottom: 0;
  content: '';
  transition: all .4s;
}

.frame-layout-6 .ce-bodytext a:hover:after {
  width: 100%;
  background: var(--ci-color);
}

@media (max-width: 768px) {
  .frame-layout-6 .ce-bodytext a {
    text-align: center;
    padding: 5%;
  }
}

@media (min-width: 500px) {
  .frame-layout-6 .ce-textpic .ce-bodytext {
    width: 70%;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    margin-left: 20px;
  }

  .frame-layout-6 .ce-textpic .ce-bodytext h3 {
    font-size: 30pt;
    font-size: calc(25pt + 1vw);
  }
}

@media (min-width: 1024px) {
  .frame-layout-6 .ce-textpic .ce-gallery .ce-row .ce-column:first-of-type {
    display: block;
  }

  .frame-layout-6 .ce-textpic .ce-gallery .ce-row .ce-column:last-of-type {
    display: none;
  }

  .frame-layout-6 .ce-textpic .ce-bodytext {
    height: initial;
    margin-left: 80px;
    left: 0;
    top: 0;
    transform: none;
    width: 35%;
    display: grid;
    align-content: center;
  }

  .frame-layout-6 .ce-textpic .ce-bodytext header {
    margin-top: 0;
  }
}
@media (max-width: 1023px) {
  .frame-layout-6 .ce-textpic .ce-row .ce-column:first-of-type {
  display: none;
}
.frame-layout-6 .ce-textpic .ce-row .ce-column:last-of-type {
  display: block;
}

.frame-layout-6 .ce-textpic .video-embed {
  aspect-ratio: 27/35;
}
}



.frame-layout-3 video{
  object-fit: cover;
  object-position: 50% 85%;
  height: 80vh;
}

.frame-layout-3 .ce-textpic{
  position: relative;
}

.frame-layout-3 .ce-bodytext.none{
  /*display: none;*/
  opacity: 0;
}

.frame-layout-3 .ce-bodytext{
  transition: all 0.4s;
  position: absolute;
  z-index: 100;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  min-height: 30vh;
  display: grid;
  align-content: center;
}

.frame-layout-3 .ce-bodytext header,
.frame-layout-3 .ce-bodytext h1,
.frame-layout-3 .ce-bodytext h2 {
  width: 80%;
  margin: 0 auto;
}

.frame-layout-3 .ce-bodytext h1{
  color: var(--ci-color);
  font-weight: 900;
  font-size: calc(1rem + 2vw);
  margin-bottom: 0;
}

.frame-layout-3 .ce-bodytext h2{
  color: var(--white);
  font-weight: 900;
  font-size: calc(1rem + 2vw);
}

.frame-layout-3 .ce-textpic::after{
  content: " ";
  background-color: var(--ci-color);
  background: url(/fileadmin/web/Layout_Elemente/hintergrund-gelb.png) bottom no-repeat;
  background-size: cover;
  transform: rotate(180deg);
  height: 15vh;
  position: absolute;
  width: 100%;
  bottom: 0;
  /*z-index: 600;*/
  margin-bottom: -10px;
}

@media (min-width: 1024px) {

  .frame-layout-3 video{
    height: 95vh;
    width: 100vw;
  }

  .frame-layout-3 .ce-bodytext{
    top: 0;
    width: 50%;
    display: grid;
    align-content: center;
  }

  .frame-layout-3 .ce-bodytext header,
  .frame-layout-3 .ce-bodytext h1,
  .frame-layout-3 .ce-bodytext h2{
    margin-top: 0;
    margin-bottom: 0;
    width: 65%;
  }

  .frame-layout-3 .ce-textpic::after {
    z-index: 600;
  }

}
