/* HEADER */

#header-row {
    background-color: var(--nectar-extra-color-1);
    padding-top: 50px !important;
    padding-bottom: 150px !important;
}


@media (min-width: 1000px) {
    #header-row {
        height: 100svh;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

#header-row .header-video-mask::after {
    background-image: linear-gradient(to top, var(--nectar-extra-color-1) 30%, transparent);
}

#header-row .header-video-mask .title {
    color: white;
}

/* MAIN ROW */


#main-row .row-bg-wrap {
    background-color: var(--nectar-extra-color-1);
}

#main-row .column_container {
    padding: 0 !important;
}

#main-row {
    padding-bottom: 150px !important;
}

.row:has(#main-row) {
    padding-bottom: 0;
}

#main-row .content {
    display: flex;
    align-items: flex-end;
    justify-content: end;
    color: white;
    flex-wrap: wrap;
    gap: 150px;
    flex-direction: column;
}

#main-row .image {
    position: relative;
    flex: 1;
    width: 100%;
}

#main-row .image::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%231d1e1b" d="M257.34,141.16V0H0c29.7,0,58.68,8.7,83.21,25.09l174.13,116.07Z"/></svg>');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 50px;
    position: absolute;
    inset: 0;
    content: "";
    z-index: 1;
}

#main-row .image::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%231d1e1b" d="M0,0v141.16h257.34c-29.7,0-58.68-8.7-83.21-25.09L0,0Z"/></svg>');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 50px;
    position: absolute;
    inset: 0;
    content: "";
    z-index: 1;
}

#main-row .image img {
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    margin: 0 !important;
    width: 100%;
}

#main-row .title-wrapper {
    flex: 1;
    width: 100%;
}

#main-row .subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 15px;
}

#main-row .line {
    width: 40px;
    height: 1px;
    margin: 0 15px;
    background-color: white;
}

#main-row .subtitle {
    font-size: 20px;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#main-row .title-wrapper .title {
    font-size: 36px;
    letter-spacing: 4px;
    font-weight: bold;
    padding-bottom: 25px;
    text-transform: uppercase;
    font-weight: 400;
    color: white;
}

#main-row .description {
    font-weight: 300;
    font-size: 20px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


@media (min-width: 1000px) {

    #main-row {
        padding-bottom: 300px !important;
    }

    #main-row .content {
        gap: 100px;
        flex-direction: row;
    }

    #main-row .subtitle-wrapper {
        justify-content: center;
    }

    #main-row .title-wrapper .title {
        text-align: center;
    }

    #main-row .title-wrapper {
        flex: 2;
    }

    #main-row .image {
        flex: 1;
    }

}

/* HOVER SECTION */


#hover-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#hover-row .column_container {
    padding: 0 !important;
}

#hover-row {
    padding-bottom: 150px !important;
}

.row:has(#hover-row) {
    padding-bottom: 0;
}


#hover-row .section {
    display: flex;
    height: 1000px;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hover-row .section::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%231d1e1b" d="M257.34,141.16V0H0c29.7,0,58.68,8.7,83.21,25.09l174.13,116.07Z"/></svg>');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 80px;
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 80px;
    content: "";
    z-index: 1;
}

#hover-row .section::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%23ffa500" d="M0,0v141.16h257.34c-29.7,0-58.68-8.7-83.21-25.09L0,0Z"/></svg>');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 80px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
    height: 80px;
    content: "";
}

#hover-row .section .hover-child {
    flex-basis: calc(100%/3);
    height: calc(100%/3);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hover-row .section .hover-child .content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 36px;
    width: 0%;
    height: 100%;
    padding: 40px;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0,0,0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

#hover-row .section .hover-child .content .title {
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

#hover-row .section .hover-child .content .description {
    font-size: 20px;
    font-weight: 300;
}

#hover-row .section .hover-child {
    width: 100%;
}

#hover-row .section .hover-child:nth-child(1) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/PHOTO-2025-01-23-10-20-18.jpg');
	background-position: center;
}

#hover-row .section .hover-child:nth-child(2) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/image7-min-scaled.jpeg');
	background-position: center;
}

#hover-row .section .hover-child:nth-child(3) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/image5-min-scaled.jpeg');
	background-position: center;
}

#hover-row .section .hover-child:hover .content {
    opacity: 1;
    width: 100%;
}

@media (min-width: 768px) {

    #hover-row .section {
        height: 1400px;
    }

}

@media (min-width: 1000px) {

    #hover-row {
        padding-bottom: 300px !important;
    }

    #hover-row .section {
        flex-direction: row;
        height: 600px;
    }

    #hover-row .section .hover-child {
        width: auto;
        height: 100%;
    }

}

/* TEAM ROW */

#team-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#team-row .column_container {
    padding: 0 !important;
}

#team-row {
    padding-bottom: 150px !important;
}

.row:has(#team-row) {
    padding-bottom: 0;
}

.row:has(#team-row) {
    padding-bottom: 0;
}

#team-row * {
    color: var(--nectar-extra-color-1);
}

#team-row .content {
    display: flex;
    align-items: flex-end;
    justify-content: end;
    flex-wrap: wrap;
}

#team-row .title-wrapper {
    flex: 0 0 100%;
    margin-left: 0;
    padding-left: 0;
}

#team-row .subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 15px;
}

#team-row .line {
    width: 40px;
    height: 1px;
    margin: 0 15px;
    background-color: var(--nectar-extra-color-1);
}

#team-row .subtitle {
    font-size: 20px;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#team-row .subtitle-wrapper {
    justify-content: center;
}

#team-row .title-wrapper .title {
    font-size: 36px;
    letter-spacing: 4px;
    font-weight: bold;
    padding-bottom: 25px;
    text-transform: uppercase;
    font-weight: 400;
}

#team-row .description {
    font-weight: 300;
    font-size: 20px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


#team-row .col {
    z-index: 9999;
}


@media (min-width: 1000px) {

    #team-row {
        padding-bottom: 300px !important;
    }


    #team-row .title-wrapper .title {
        text-align: center;
    }

    #team-row .title-wrapper {
        flex: 0 0 66.67%;
        margin-left: auto;
        padding-left: 66.66px;
    }

}

/* PEOPLE ROW */

#people-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#people-row .column_container {
    padding: 0 !important;
}

#people-row {
    padding-bottom: 150px !important;
}

.row:has(#people-row) {
    padding-bottom: 0;
}

div:has(>.people-section) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 100px !important;
    justify-content: space-between;
}

.people-section {
    color: var(--nectar-extra-color-1) !important;
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.people-section .name {
    margin-top: 40px;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.people-section .position {
    margin-top: 5px;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
}

.people-section .description {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 300;
}

#people-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#hover-row * {
    font-size: 20px;
}

@media (min-width: 1000px) {

    .people-section {
        width: auto;
        flex: 1;
    }


    #people-row {
        padding-bottom: 300px !important;
    }

}
