@charset "UTF-8";

@import "./durstgroup.css";

/*$xxs-from: 0px;
$xxs-to: 575px;
$xs-from: 0px;
$xs-to: 767px;
$sm-from: 768px;
$sm-to: 991px;
$md-from: 992px;
$md-to: 1199px;
$lg-from: 1200px;
$lg-to: 1599px;
$xl-from: 1600px;
*/
/*
$xxs-from: 0px;
$xxs-to: 575px;
$xs-from: 0px;
$xs-to: 575px;
$sm-from: 576px;
$sm-to: 767px;
$md-from: 768px;
$md-to: 991px;
$lg-from: 992px;
$lg-to: 1199px;
$xl-from: 1200px;
$xl-to: 1399px;
$xxl-from: 1400px;
*/
/*
$xxs-from: 0px;
$xxs-to: 575px;
$xs-from: 0px;
$xs-to: 575px;
$sm-from: 576px;
$sm-to: 767px;
$md-from: 768px;
$md-to: 991px;    // 991px
$lg-from: 992px;  // 992px
$lg-to: 1199px;   // 1199px
$xl-from: 1200px;
$xl-to: 1399px;
$xxl-from: 1200px;
*/
/* SPEZIALFALL XS - XXS */
/* XXS MUSS NACH XS IM CSS ANGEGEBEN WERDEN */
/* Small devices (tablets, 767px and up) */
/* Small devices (tablets, 575px and up) */
/* Small devices (tablets, 768px and up) */
/* Medium devices (desktops, 992px and up) */
/* Large devices (large desktops, 1200px and up) */
/*


body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
*/
#p5 #durstHistory {
    /* ================================= */
}

#p5 #durstHistory #historyXS {
    position: relative;
    height: 100%;
}

#p5 #durstHistory #historyXS .line-container-xs {
    position: absolute;
    width: 5%;
    height: 100%;
    z-index: calc(99980);
}

#p5 #durstHistory #historyXS .line-container-xs .the-line {
    width: 20%;
    height: 100%;
    position: absolute;
    z-index: calc(99990);
    right: 0;

}

#p5 #durstHistory #historyXS .history-container-xs {
    position: relative;
    z-index: calc(99995);
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#p5 #durstHistory #historyXS section {
    height: auto;
    width: 100%;
}

#p5 #durstHistory #historyXS section.history-section-intro {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#p5 #durstHistory #historyXS section.history-section-intro video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.125) contrast(0.8);
}

#p5 #durstHistory #historyXS section.history-section-intro .title-container {
    width: 85%;
    position: relative;
    top: 50%;
    text-align: center;
}

#p5 #durstHistory #historyXS section.history-section-intro .title-container h1.h1 {
    position: relative;
    /* not absolute, just to test */
    color: white;
    mix-blend-mode: difference;
    /* or difference, overlay, etc. */
    font-family: "larken" !important;
    font-style: italic;
    font-weight: 400 !important;
    font-style: italic;
    font-size: 40px;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
    padding-right: 8px;
}

/* #p5 #durstHistory #historyXS section.history-section-intro .title-container h2.h2 {
    position: relative;
    
color: white;
mix-blend-mode: difference;

font-family: "DIN OT" !important;
font-weight: 400 !important;
font-size: 24px;
position: relative;
text-transform: uppercase;
line-height: normal;
/* letter-spacing: -1.908px; 
display: block;
text-align: right;
mix-blend-mode: difference;
}

*/
#p5 #durstHistory #historyXS section.history-section-intro .history-slide-intro {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: calc(100000 - 90);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#p5 #durstHistory #historyXS section.history-section-intro .history-slide-intro .page-title {
    display: flex;
    flex-direction: column;
    width: 80%;
}

#p5 #durstHistory #historyXS section.history-section-intro .history-slide-intro .page-title h1.h1 {
    font-family: "larken" !important;
    font-style: italic;
    font-weight: 400 !important;
    font-style: italic;
    font-size: 40px;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
    padding-right: 8px;
    mix-blend-mode: difference;
    color: white;
    /* still needed for blending */
    mix-blend-mode: screen;
    /* try: multiply, overlay, difference */
}

/* #p5 #durstHistory #historyXS section.history-section-intro .history-slide-intro .page-title h2.h2 {
    font-family: "DIN OT" !important;
    font-weight: 400 !important;
    font-size: 24px;
    position: relative;
    text-transform: uppercase;
    top: -5px;
    left: 0;
    line-height: normal;
     letter-spacing: -1.908px; 
display: block;
text-align: right;
mix-blend-mode: difference;
}

*/
#p5 #durstHistory #historyXS section.history-section-xs {
    display: flex;
    flex-direction: column;
    /* SLIDE1 */
    /* SLIDE2 */
    /* SLIDE3 */
    /* SLIDE4 */
    /* SLIDE5 */
    /* SLIDE6 */
    /* SLIDE7 */
}

#p5 #durstHistory #historyXS section.history-section-xs .timeline-point-indicator {
    margin-top: 2rem;
    /* padding-left: calc(5% * 1.75); */
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
    position: relative;
}

#p5 #durstHistory #historyXS section.history-section-xs .timeline-point-indicator::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 30%;
    left: calc(5% * 0.5);
    width: 16px;
    height: 16px;

    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

#p5 #durstHistory #historyXS section.history-section-xs .timeline-point-indicator h3 {
    font-family: "larken" !important;
    font-style: italic;
    font-weight: 400 !important;
    font-style: italic;
    font-size: 38px;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
    padding-right: 8px;
}

#p5 #durstHistory #historyXS section.history-section-xs .timeline-point-indicator h4 {
    font-family: "DIN OT" !important;
    font-weight: 400 !important;
    font-size: 22px;
    position: relative;
    text-transform: uppercase;
    top: -5px;
    left: 0;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
}

#p5 #durstHistory #historyXS section.history-section-xs .assets-xs {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#p5 #durstHistory #historyXS section.history-section-xs .assets-xs img {
    width: 75%;
    height: auto;
    position: relative;
}







#p5 #durstHistory #historyXS section.footer-section-xs {
    margin-top: 4rem;
}

#p5 #durstHistory #contentLG {
    /* ZUSTAND A: VOLLBILD */
    /* ZUSTAND B - TEIL 1: DER RAHMEN */
    /* ZUSTAND B - TEIL 2: DAS VIDEO IM RAHMEN */
    /* ==== DEFAULTS ==== */
    /* ==== SLIDE 1 ==== */
    /* */
    /* ==== SLIDE 1 ==== */
    /* ==== SLIDE 2 ==== */
    /* ==== SLIDE 3 ==== */
    /* ==== SLIDE 4 ==== */
    /* ==== SLIDE 5 ==== */
    /* ==== SLIDE 6 ==== */
    /* ==== SLIDE 7 ==== */
    /* ==== SLIDE 8 ==== */
}

#p5 #durstHistory #contentLG .section-dot-label {
    position: absolute;
    /* transform: translate(calc(-100% - 24px), 37.5px); */
    transform: translate(-13px, 37.5px);
    color: #000;
    font-size: 3.5rem;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

#p5 #durstHistory #contentLG .section-dot-label h3 {
    font-family: "larken" !important;
    font-weight: 400 !important;
    font-style: italic;
    font-size: 45px;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
}

#p5 #durstHistory #contentLG .section-dot-label h4 {
    font-family: "DIN OT" !important;
    font-weight: 400 !important;
    font-size: 22px;
    position: relative;
    text-transform: uppercase;
    top: -5px;
    left: 8px;
    line-height: normal;
    letter-spacing: -1.908px;
    display: block;
}

#p5 #durstHistory #contentLG .line-container {
    overscroll-behavior: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    overflow: visible;
}

#p5 #durstHistory #contentLG .line-svg-container {
    height: 130px;
    margin-bottom: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
    align-self: flex-end;
    overflow: visible;
    position: relative;
}

#p5 #durstHistory #contentLG .line-svg-container {
    will-change: transform;
}

#p5 #durstHistory #contentLG .line-svg-container svg {
    display: block;
    width: 100%;
    height: 100%;
}

#p5 #durstHistory #contentLG .line-svg-container svg path {
    vector-effect: non-scaling-stroke;
    stroke-width: 6px;
    /* “effektiv” immer 6px */
}

#p5 #durstHistory #contentLG .line-svg-container svg .dot {
    width: 27px;
    height: 27px;
    vector-effect: non-scaling-size;
}

#p5 #durstHistory #contentLG .history-container {
    display: flex;
    flex-wrap: nowrap;
}

#p5 #durstHistory #contentLG section {
    height: 100vh;
}

#p5 #durstHistory #contentLG section.history-section {
    display: flex;
}


#p5 #durstHistory #contentLG #intro {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: calc(100000 - 2);
    mix-blend-mode: overlay;
    mix-blend-mode: difference;
    mix-blend-mode: hard-light;
    mix-blend-mode: color-burn;
    mix-blend-mode: luminosity;
    isolation: isolate;
}

#p5 #durstHistory #contentLG #intro #page-title-container {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 100px;
    position: relative !important;
    z-index: calc(99996) !important;
}

#p5 #durstHistory #contentLG #intro #page-title {
    /* opacity: 0.5; */
    display: inline-block;
    height: fit-content;
    margin-top: 18vh;
    position: relative !important;
    z-index: calc(99997) !important;
}

#p5 #durstHistory #contentLG #intro #page-title h1 {
    position: relative;
    font-family: "larken", sans-serif;
    font-size: 60px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: -2.994px;
    justify-self: center;
    align-self: center;
    display: block;
    transform: translateX(-10%);
    color: #222;
}

#p5 #durstHistory #contentLG #intro #page-title .page-subtitle {
    position: absolute;
    /* top: calc(40% + 20px); */
    right: 25vw;
    display: inline-block;
    white-space: nowrap;
    z-index: 2;
    top: 34px;
}

#p5 #durstHistory #contentLG #intro #page-title .page-subtitle h2.page-subtitle-text {
    margin: 0;
    display: block;
    font-family: "DIN OT", sans-serif;
    font-size: 34px;
    text-transform: uppercase;
    font-weight: 400;
    font-style: normal;

    /* letter-spacing: -1.73px; */
    line-height: 1;
    color: #222;
    text-align: right;
}

#p5 #durstHistory #contentLG #intro #page-title .page-subtitle .wordCustom {
    display: inline-block;
    white-space: nowrap;
}

#p5 #durstHistory #contentLG #intro #page-title .page-subtitle .charCustom {
    display: inline-block;
    position: relative;
    will-change: transform, opacity;
}

#p5 #durstHistory #contentLG #main-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}


#p5 #durstHistory #contentLG #juliusTwo {
    height: 50vh;
    position: relative;
}

#p5 #durstHistory #contentLG .line-parent {
    overflow: hidden;
}

#p5 #durstHistory #contentLG p {
    line-height: 1.5;
}

#p5 #durstHistory #contentLG #hero-image-container {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#p5 #durstHistory #contentLG #hero-image-container>.hero-image,
#p5 #durstHistory #contentLG #hero-image-container>#imgHero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: -1;
}

#p5 #durstHistory #contentLG #media1 {
    position: relative;
    width: auto;
    height: 100%;
    padding-top: 0;
    transform: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    z-index: 0;
}

#p5 #durstHistory #contentLG #media1>#img1 {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: 100%;
    max-height: 30vh;
    transform: none;
    opacity: 1;
    z-index: auto !important;
    filter: none;
    object-fit: contain;
    object-position: center center;
    will-change: transform, opacity;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

}

#p5 #durstHistory #contentLG video {
    max-width: none;
    height: 100%;
    width: 100vw;
    object-fit: cover;
}

#p5 #durstHistory #contentLG .parallax {
    display: inline-block;
}




#p5 #durstHistory #contentLG section .history-slide .timeline-point-indicator {
    display: block;
}

#p5 #durstHistory #contentLG section .history-slide .timeline-point-indicator h3 {
    display: inline-block;
}

#p5 #durstHistory #contentLG section .history-slide .timeline-point-indicator h4 {
    display: inline-block;
}




#p5 #durstHistory #contentLG section#slide1 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}






#p5 #durstHistory #contentLG .assets-wrapper {

    display: inline-block;
}

#p5 #durstHistory #contentLG section {
    position: relative;
}



#p5 #durstHistory #contentLG .assets {
    padding-top: 0%;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1.75;
    z-index: calc(100000 - 100);
}





#p5 #durstHistory #contentLG section#slide1 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}





/*
#p5 #durstHistory #contentLG section#slide1 p.p1 {
    top: 40%;
    left: 70%;
}

#p5 #durstHistory #contentLG section#slide1 p.p2 {
    top: 60%;
    left: 75%;
}

#p5 #durstHistory #contentLG section#slide1 p.p3 {
    top: 50%;
    left: 70%;
}
*/
#p5 #durstHistory #contentLG #slide2 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}





#p5 #durstHistory #contentLG #slide3 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}




#p5 #durstHistory #contentLG #slide4 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}


#p5 #durstHistory #contentLG #slide5 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}


#p5 #durstHistory #contentLG #slide6 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}


#p5 #durstHistory #contentLG #slide7 .timeline-point-indicator {
    position: absolute;
    top: 80%;
}





#p5 #durstHistory #contentLG #slide8 .assets {
    mix-blend-mode: color;
}



/*
#p5 #durstHistory #contentLG #slide8 p.p1 {
    top: 35%;
    left: 30%;
}

#p5 #durstHistory #contentLG #slide8 p.p2 {
    width: 450px;
    top: 30%;
    left: 60%;
}
*/

/*
  Der Wrapper, der die Höhe vorgibt und dessen Breite sich am Inhalt orientiert.
*/
#section1>div.media-slot>div .media-wrapper {
    /* Beschränkt die Höhe. */
    max-height: 50vh;
    width: fit-content;
    /* Essentiell, damit der Wrapper seine Höhe an die Kinder "vererben" kann
       und die Breite sich am Inhalt ausrichtet ("shrink-to-fit"). */
    display: inline-flex;
    /* inline-flex statt flex, um die Breitenanpassung zu garantieren. */

    /* Nur zur visuellen Orientierung, kann entfernt werden */

    position: relative;
    left: 0;
}

/*
  Der Container, der die Bilder in einer Zeile anordnet.
*/
.media-container {
    /* DIE WICHTIGSTE REGEL: Richtet alle Kinder (.media-item) in einer Reihe aus. */
    display: inline-flex;
    flex-direction: row;
    width: fit-content;
    /* Standard, aber zur Verdeutlichung hier aufgeführt. */

    /* VERHINDERT DEN ZEILENUMBRUCH: Stellt sicher, dass alles in einer Zeile bleibt,
       selbst wenn der Inhalt breiter als der Bildschirm ist. */
    flex-wrap: nowrap;

    /* Definiert den Abstand zwischen den Bildern. */
    gap: 0;
}

/*
  Das einzelne Medien-Element.
*/
.media-item {
    flex: 0 0 auto;
    /* Verhindert, dass die Elemente schrumpfen oder wachsen. */
    height: 100%;
    /* Nimmt die volle Höhe des .media-container ein. */
    display: flex;
}

section {
    flex-grow: 0;
    flex-shrink: 0;
}

.history-section {}

.media-item {
    opacity: 0;
}

#history-container>div.media-wrapper {
    opacity: 0;

}

.media-container {
    background-color: transparent;
}

#history-container .history-section[data-animate-slides] {
    display: flex;
    align-items: center;
    position: relative;
}

#history-container .history-section[data-animate-slides]>.media-slot {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    overflow: visible;
    z-index: 3;
    pointer-events: none;
}

#history-container .history-section[data-animate-slides]>.media-slot .media-container {
    display: inline-flex;
    flex-wrap: nowrap;
    width: max-content;
}

#history-container .history-section[data-animate-slides]>.media-slot .media-item {
    position: relative;
}

#history img {
    will-change: transform, opacity, scale;
}

#hero-image-container {
    overflow: visible !important;
}

#p5 #durstHistory #contentLG #hero-image-container {
    overflow: visible;
}


/*
  Das Bild/Video selbst.
*/
#p5 #durstHistory #contentLG .media-item img,
#p5 #durstHistory #contentLG .media-item video {
    display: block;
    height: 100%;
    /* Passt sich an die Höhe des .media-item an. */
    width: auto;
    /* Breite wird automatisch berechnet, um das Seitenverhältnis zu wahren. */
    max-height: 40vh;
}



#p5 #durstHistory #contentLG section p {
    padding: 0 40px;
    position: relative;
    left: 0;
    max-width: 350px;
    width: 350px;

}



#p5 #durstHistory #contentLG #media2 {
    left: -10% !important;
    position: relative;
}

#p5 #durstHistory #contentLG #media3 {
    left: -10% !important;
    position: relative;
    z-index: 4;
}

#p5 #durstHistory #contentLG #media4 {
    position: relative;
    left: -12%;
    z-index: 5;
}

#page-title-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    max-width: none;
    height: 80%;
    aspect-ratio: 1734 / 213;
    overflow: visible;
    transform-origin: 50% 50%;
    will-change: transform, scale;
}


#title-as-svg {
    display: block;
    width: auto;
    height: 100%;
    overflow: visible;
    transform-box: fill-box;
    transform-origin: center center;
}

#title-as-svg {
    /* border: 4px dashed cadetblue; */
}

/* #p5 #durstHistory #contentLG #intro #page-title-container {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 100px;
    position: relative !important;
    z-index: calc(99996) !important;
} */

#p5 #durstHistory #contentLG #intro #page-title {
    width: 100%;
    height: 100%;
    pointer-events: none;

}

#p5 #durstHistory #contentLG #title-slide {
    width: 100vw;
    flex: 0 0 100vw;
}

.history-slide {

    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100vw;
    flex: 0 0 100vw;
    height: 100vh;
}

#history-container .history-section[data-animate-slides]>.media-slot .media-wrapper {
    position: absolute;
    left: 0;
    top: 60%;
    transform: translateY(-50%);
    overflow: visible;
}

#p5 #durstHistory #contentLG section p#inket-first {
    width: 500px;
    max-width: 500px;
}

#p5 #durstHistory #contentLG section#section5 p {
    width: 35%;
    max-width: 35%;
}


#p5 #durstHistory #contentLG section#section6 p {
    width: 40%;
    max-width: 40%;
}

#p5 #durstHistory #contentLG section#section7 p {
    width: 35%;
    max-width: 35%;
}

#p5 #durstHistory #contentLG section#section8 [data-slide="11"] p {
    width: 32%;
    max-width: 32%;
}

#p5 #durstHistory #contentLG section#section8 [data-slide="12"] p {
    width: 32%;
    max-width: 32%;
}




























#history.debug-colors #section1 {
    border: 4px solid blue;
}


#history.debug-colors .media-slot .media-container {
    border: 4px solid red;
}

#history.debug-colors .slide-image-triggers {
    border: 4px dotted blue;
    background-color: rgba(0, 0, 255, 0.2);
}

#history.debug-colors .image-trigger {
    border: 4px dashed saddlebrown;
}

#history.debug-colors .history-slide {
    border: 4px dashed green;
    background-color: rgba(0, 255, 0, 0.2);
}

#history.debug-colors p {
    border: 4px dashed rgb(0, 175, 201);
    background-color: rgba(0, 175, 201, 0.2);
}

#main-menu {
    visibility: hidden;
}

#svg-container {
    opacity: 0;
    visibility: hidden;
}

#svg-container svg {
    overflow: visible;
}
