/* Test hover Video Box */
.video-wrap-head {
  position: relative;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,.2);
  padding-bottom: 100px;
}
@media (max-width: 768px){
  .video-wrap-head {
    padding-bottom: 80px;
  }
}
.video-wrap-head span {
  position: absolute;
  display: inline-block;
  top: 0;
  font-size: 14px;
}
@media (max-width: 540px){
  .video-wrap-head span {
    font-size: 32px;
    line-height: 40px;
    top: 0;
  }

  .video-block {
    margin-bottom: 180px;
  }

.video-wrap-item.visible {
  margin-bottom: 190px;
}


}
.video-wrap-head .link-external {
  position: absolute;
  top: 0;
  right: 20px;
  margin: 0;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  font-family: 'Aeonik Fono', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 19px;
  height: 20px;
  text-transform: uppercase;
  border: 1px solid #000;
}
.video-wrap-head .link-external:hover {
  cursor: pointer;
  background: #000;
  border: 1px solid #000;
  color: #fff;
}
@media (max-width: 540px){
  .video-wrap-head .link-external {
    position: relative;
    top: 50px;
    right: unset;
  }
}
.video-wrap-item {
  position: relative;
  padding: 50px 0;
  border-bottom: 1px solid rgba(0,0,0,.2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49.16 49.07'%3E%3Cpath fill='%23000' d='M44.22,40.37,44.4,8l-41,41.11L0,45.69,41.11,4.76l-32.5.09V0H49.16l-.09,40.37Z'/%3E%3C/svg%3E") no-repeat right center/40px;
}
.video-wrap-item.visible {
  border-bottom: 1px solid rgba(0,0,0,1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49.16 49.07'%3E%3Cpath fill='%23000' d='M25.68,46.13l16.87-19.54-42.55.07v-4.14s42.52.11,42.52.11L25.63,2.94l2.51-2.94,21.01,24.62-20.97,24.45-2.51-2.94Z'/%3E%3C/svg%3E") no-repeat right center/40px;
}
@media (max-width: 992px){
  .video-wrap-item {
    padding: 57px 0;
  }
}
@media (max-width: 540px){
  .video-wrap-item {
    padding: 20px 0 20px 0;
  }
}
.video-wrap-item > span {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 22px;
  width: 130px;
}
@media (max-width: 768px){
  .video-wrap-item > span {
    width: 115px;
  }
  .video-wrap-item.visible > span {
    opacity: 0;
  }
}
@media (max-width: 540px){
  .video-wrap-item.visible > span {
    opacity: 1;
  }
}
.video-wrap-item > h3 {
  display: block;
  opacity: .2;
  font-size: 90px;
  margin-top: -55px;
  text-align: center;
}
.video-wrap-item.visible > h3 {
  opacity: 1;
  text-align: right;
  padding-right: 350px;
}
@media (max-width: 992px){
  .video-wrap-item > h3 {
    font-size: 62px;
    margin-top: -50px;
  }
}
@media (max-width: 768px){
  .video-wrap-item > h3 {
    font-size: 44px;
  }
  .video-wrap-item.visible:last-child > h3 {
     padding-right: 149px;
     text-indent: 0;
  }
}
@media (min-width: 541px) and (max-width: 720px){
  .video-wrap-item > h3 {
    position: relative;
    text-shadow: 0px 0px 3px #fff;
    z-index: 200;
  }
}
@media (max-width: 540px){
  .video-wrap-item > h3 {
    font-size: 30px;
    text-indent: unset;
    text-shadow: unset;
  }
  .video-wrap-item.visible > h3,
  .video-wrap-item.visible:last-child > h3 {
    text-align: center;
    text-shadow: unset;
    padding-right: unset;
  }
}
@media (max-width: 400px){
  .video-wrap-item > h3 {
    font-size: 22px;
    text-indent: 40px;
  }
}
.video {
  position: absolute;
  top: 7px;
  right: 80px;
  width: 240px;
  z-index: 100;
  width: 240px;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}
.video-wrap-item.visible > .video {
  opacity: 1;
}
@media (max-width: 992px){
  .video {
    right: 50px;
  }
}
@media (max-width: 540px){
  .video-wrap-item.visible > .video {
    top: 77px;
    right: unset;
    width: 100%;
  }
}

/* Test hover Video Box 
.llist-wrap-item:hover h3 {
  text-align: right;
  text-indent: unset;
  padding-right: 400px;
}
@media (max-width: 992px) {
  .llist-wrap-item h3 {
    font-size: 55px;
    text-align: center;
    text-indent: unset;
  }
  .llist-wrap-item:hover h3 {
    padding-right: 320px;
  }
}
@media (max-width: 768px) {
  .llist-wrap-item h3 {
    position: relative;
    font-size: 46px;
    text-align: center;
    text-indent: 40px;
    z-index: 101;
  }
  .llist-wrap-item:hover h3 {
    text-align: left;
  }
  .llist-wrap-item:hover h3 {
    padding-right: 10px;
    padding-left: 120px;
    background: rgba(255,255,255,.8);
  }
  .llist-wrap-item video {
    right: 0px;
  }
}
@media (max-width: 540px) {
  .llist-wrap-item video {
    position: relative;
    display: block;
    width: 100%;
  }
  .llist-wrap-item:hover video {
    display: block;
  }
  .llist-wrap-item h3 {
    font-size: 40px;
    text-indent: 100px;
    text-align: center;
    opacity: 1;
  }
  .llist-wrap-item:hover h3 {
    display: block;
    padding-right: unset;
    padding-left: unset;
    text-align: center;
    background: none;
  }
  .llist-wrap-item {
    padding: 25px 0 40px 0px;
  }
}
@media (max-width: 440px) {
  .llist-wrap-item h3 {
    font-size: 30px;
    text-align: center;
  }
  .llist-wrap-item {
    background: none;
  }
  .llist-wrap-item:hover {
    background: none;
  }
  .llist-wrap-item {
    padding: 10px 0 20px 0;
  }
}
@media (max-width: 380px) {
  .llist-wrap .link-external {
    text-align: center;
  }
  .llist-wrap > span:nth-of-type(1) {
    font-size: 20px;
    width: calc(100% - 40px);
    text-align: center;
    top: -5px;
  }
  .llist-wrap-item:hover h3 {
    text-indent: 60px;
  }
}
*/


@media (max-width: 540px){
.va-img-txt-inner .link-internal {
  width: 80%;
  text-align: center;
}

.footer-nav + .footer-nav {

margin-top:25px;

}

}

@media (max-width: 430px) {
  footer .link-external {
    padding: 10px 15px;
  }
}

@media (max-width: 540px) {
  #kontaktformular-704 .form-btn {
    width: 100%;
  }

.link-internal + .link-internal {
  margin-left: 0px;
}

}

@media (max-width: 380px) {
  .va-img-txt-inner .link-internal + .link-internal {
    margin-left: 0px;
  }
}

@media (max-width: 380px) {
  .llist-wrap {
    margin-top: 90px;
  }

.llist-wrap .link-external {
  position: absolute;
  top: 30px;
  left: 20px;
  margin: 0;
}

}

@media (max-width: 540px){
span + .link-internal {
  width: 80%;
  text-align: center;
}
}

.head{
  position: relative;
  height: 100vh;
  overflow: hidden;
  /* background ist ja schon gesetzt */
}
@media(max-width: 1200px){ .head{ height: 100vh; } }
@media(max-width: 768px){ .head{ height: 100vh; } }
@media(max-width: 540px){ .head{ height: 100vh; } }
.head .con {
  z-index: 200;
}
@media (max-width: 992px){
  .head .link-external { display: none; }
  .head .es { top: 15px; }
  .head .es .logo { width: 200px; }
  .head .es p { font-size: 16px; line-height: 24px; }
}
@media (max-width: 540px){
  .head .es { display: none; }
}

/* gemeinsame Layer-Logik */
.head .layer{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Berg */
.head .layer--mountain{
  z-index: 20;
}

.head .mountain{
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 92vw);
  height: auto;
  display: block;
}

.head .layer--birds{
  position: absolute;
  inset: 0;
  z-index: 25; /* Berg = 20, Wolken = 30 */
  pointer-events: none;
  overflow: hidden;
}

.head .bird{
  position: absolute;
  width: 30px;     /* exakt PNG-Größe */
  height: auto;
  left: 110vw;
  top: 12vh;
  opacity: 0;
  will-change: transform, opacity;
  image-rendering: auto;
}



/* Wolkenlayer mit definierter Höhe bekommen (setzt JS gleich) */
.head .layer--clouds{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

/* Wolken-Track soll die Layer-Höhe ausfüllen */
.head .cloudsTrack{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  will-change: transform;
}

/* Wolkenbilder: Höhe = 100% (also Berg-Höhe), Breite automatisch */
.head .cloud{
  height: 100%;
  width: auto;      /* <-- wichtig */
  flex: 0 0 auto;
  display: block;
  opacity: 0.75;
}

/* Funktion 2 Text */


/* Layer Z-Index */
.head .typeLayer{ position:absolute; inset:0; z-index:15; pointer-events:none; }
.head .layer--mountain{ height: 100vh; z-index:20; position:absolute; inset:0; pointer-events:none; }
.head .layer--clouds{ z-index:30; position:absolute; inset:0; pointer-events:none; }

/* die 3 hereinfliegenden Worte */
.head .word{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 0.9;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: clamp(48px, 8.25vw, 142px);
  will-change: transform, opacity;
}

.head .typeLayer{
  perspective: 900px;
  transform-style: preserve-3d;
}

.head .word{
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}


.water-wrap{
  position: relative;
  overflow: hidden;
}

.water-wrap img{
  display: block;
  width: 100%;
  height: auto;
}

.water-wrap.follow{
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.water-wrap.follow img.water-base{
  opacity: 0;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

.head .flipT-wrap {
  z-index: 100;
}

.head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;          /* Stärke des Übergangs */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 100%
  );
  pointer-events: none;
}




.partkombi::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:200px;
  pointer-events:none;
  /* oben schwarz, nach unten transparent/weiß */
 background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}


.water-wrap::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:110px;
  pointer-events:none;
  /* oben weiß, nach unten hell/weiß */
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(220,224,246,0.0) 100%
  );
  pointer-events: none;
}

.water-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45px;          /* Stärke des Übergangs */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 100%
  );
  pointer-events: none;
}


@media (max-width: 359px) {
  .llist-wrap-item h3 {
    font-size: 20px;
    text-indent: 105px;
  }
}

.list-wrap-item{
  position: relative;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 50px 70px 50px 0; /* rechts Platz für Pfeil */
}

.list-wrap-item::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 49.16 49.07'%3E%3Cpath fill='%23000' d='M44.22,40.37,44.4,8l-41,41.11L0,45.69,41.11,4.76l-32.5.09V0H49.16l-.09,40.37Z'/%3E%3C/svg%3E") no-repeat center / contain;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.35s ease;
  pointer-events: none;
}

.list-wrap-item:hover::after{
  transform: translateY(-50%) rotate(45deg);
}

