/* Video selbst */
.video-background video {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
}


/* Clip-Pfad für das Video */
.video-clipping {
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - var(--para-offset)),
        0 100%
    );
    height: 95%;
    width: 100%;
        background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	display:flex;
	justify-content: center;
	align-items: center;
}


@media (max-height: 800px) {
   /* Clip-Pfad für das Video */
.video-background video {
    min-height: 105%;
	margin-top: -5%;
}
.video-clipping {
	align-items: start;
}
}

/* Container für Video-Hintergrund */
.video-background {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    top: 0;
    left: 0;
    position: fixed;
    overflow: hidden;

}

/* Scrollbereich */
#container {
    height: 350vh; /*hier höhe des scrollcontainers anpassen - an videolänge anpassen 300-500vh */
    margin-bottom: -100vh;
}

#container.no-scroll-container{
    height: 200vh;
}

/* Lazyblock Anpassungen */
.lazyblock-videoblock {
    padding: 0;
    margin-top: -100px;
    clip-path: none !important;
}

/* Innen-Container für Content */
.lazyblock-videoblock .lazyblock-inner {
    max-width: none;
    width: 100%;
}

/* Horizontal scrollender Text Container */
.horizontal-text-container {
    position: fixed;
    width: 100vw;
    overflow: hidden;
    pointer-events: none;
    rotate: calc(-1 * var(--rotation));
    display: inline-block;    /* nur so hoch wie der Text */
    line-height: 0.75;        /* verhindert extra Abstand durch Zeilenhöhe */
}

/* Horizontal scrollender Text */
.horizontal-text {
    margin-bottom: -0.8vw;
    font-size: 20vw;
    font-weight: 600;
    opacity: 0;
    color: var(--secondary-color);
}

/* Spezieller Text "Laura" */
.webseitentitel-von-unten {
    font-size: 20vw;
    font-weight: 600;
    color: var(--secondary-color);
    rotate: calc(-1 * var(--rotation));
    margin-left: 50px;
    display: inline-block;    /* nur so hoch wie der Text */
    line-height: 0.75;        /* verhindert extra Abstand durch Zeilenhöhe */
    margin-bottom: calc(var(--para-offset)/2 + 0.4vw);
}

.webseitentitel-fixiert{
    position: absolute;
    top: 50%;
    left: 58%;
    rotate: calc(-1 * var(--rotation));
    color: var(--secondary-color);
    width: 100px;
    line-height: 0.5;
    /* Zweite Zeile einziehen */
    text-indent: -80px; /* Zieht die erste Zeile nach links */
}


#scroll-hint {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 30px;
  z-index: 1000;
  animation: bounce 1.5s infinite;
  transition: opacity 0.5s ease-out;
}

.chevron {
  position: relative;
  width: 100%;
  height: 100%;
}

.chevron::before,
.chevron::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 100%;
  background: var(--primary-color); /* Farbe der Linien */
  top: 0;
  left: 50%;
  transform-origin: top;
}

.chevron::before {
  transform: rotate(45deg);
      margin-left: 2.7px;
}

.chevron::after {
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(180deg); }
  50% { transform: translateX(-50%) translateY(10px) rotate(180deg); }
}






@media(min-width: 768px) {
    /* Horizontal scrollender Text */
.horizontal-text {
    font-size: 20vw;
    margin-bottom: -0.4vw;
}

.webseitentitel-von-unten {
    font-size: 10vw;
    margin-bottom: calc(var(--para-offset)/2 - 0.9vw);
}

}


@media(max-width: 768px) {
    /* Horizontal scrollender Text */
    .video-background video {
        display: none;
    }

    .webseitentitel-fixiert{
    top: unset;
    bottom: calc(var(--para-offset) + 20px);
    left: 30%;
    font-size: 95px;
}

/* Scrollbereich */
#container {
    height: 100vh; /*nur wenn webseitentitel auf fixiert*/
    margin-bottom: -100vh;
}

}
