/*
* ----------------------------------------------
* Homepage styles
* Depends on: reset.css type.css and form.css
* ----------------------------------------------
* 01 - Globals
* 02 - Layout
* 03 - Elements
* 04 - Navigation
* 05 - Slider
* 06 - Highlights
* 07 - Reviews
* 08 - Features
* 09 - Faq
* 10 - Products
* 11 - Contact
* 12 - Footer
* ----------------------------------------------
*/

/*
* ----------------------------------------------
* 01 - Globals
* ----------------------------------------------
*/
:root {
    --primary-color: hsl(18, 89%, 62%);
    --text-color: hsl(200, 2%, 26%);
    --accent-color: hsl(12, 73%, 64%);
    --accent-dark-color: hsl(150, 2%, 22%);
    --accent-light-color: hsl(45, 17%, 95%);
    --layout-width: 66.66rem;
    --swiper-theme-color: hsl(0, 0%, 100%);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/*
* ----------------------------------------------
* 02 - Layout
* ----------------------------------------------
*/
.section {
    width: auto;
    padding: 0 1rem;
}

.section__center {
    width: 100%;
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.anim-zoom,
.anim-left,
.anim-right {
    opacity: 0;
}

/*
* ----------------------------------------------
* 03 - Elements
* ----------------------------------------------
*/
.button {
    display: inline-block;
    padding: 1.5rem 2rem;
    background-color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--primary-color);
    border-radius: 0.5rem;
    filter: drop-shadow(4px 4px 4px var(--accent-dark-color));
}

.button__highlight {
    background-color: var(--primary-color);
    color: #ffffff;
    filter: drop-shadow(4px 4px 4px var(--accent-dark-color));
}


.top__bar {
    padding: .4rem 2rem;
    background-color: #111111;
}

.top__bar nav {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.top__bar a {
    color: #ffffff;
    text-decoration: none;
}

/*
* ----------------------------------------------
* 04 - Navigation
* ----------------------------------------------
*/
.nav__toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    position: fixed;
    right: 1rem;
    top: 2.5rem;
    z-index: 500;
    background-color: var(--accent-dark-color);
    border: solid 2px var(--accent-dark-color);
    border-radius: 50%;
    cursor: pointer;
}

.nav__toggle svg {
    width: 30px;
    height: 30px;
}

.nav__toggle svg#hlogo {
    display: none;
}

.nav__overlay {
    display: flex;
    justify-content: center;
    height: 100vh;
    width: 320px;
    opacity: 0;
    position: fixed;
    top: 0;
    right: -320px;
    z-index: 200;
    background-color: hsla(12, 73%, 64%, 0.9);
    transition: all 0.3s ease-in-out;
    border-left: solid 1px #ffffff;
}

.nav__overlay.open {
    height: 100vh;
    right: 0;
    opacity: 1;
}

.nav__overlay ul {
    display: inline-block;
    list-style: none;
    margin: 0 auto 0 1rem;
    padding: 4rem 0 0 0;
}

.nav__overlay li {
    display: block;
    --text-color: #ffffff;
    font-size: 2rem;
    margin: 30px 0;
}

.nav__overlay a {
    text-decoration: none;
}

.nav__overlay a:hover {
    text-decoration: underline;
}

/*
* ----------------------------------------------
* 05 - Slider
* ----------------------------------------------
*/
.slider {
    display: flex;
    align-items: center;
    padding-top: 4rem;
    height: 85vh;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
}

.slider svg {
    position: absolute;
    left: -5%;
    top: 50%;
    height: 160%;
    transform: translateY(-50%);
}

.slider__grid {
    display: grid;
    grid-template-columns: 55% 40%;
    gap: 3rem;
    z-index: 100;
}

.slider__video {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.slider__video iframe {
    margin: 10px 0 0 0;
    width: 100%;
    height: 100%;
    border: none;
}

.slider__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider__cta h1,
.slider__cta p {
    --primary-color: hsl(0, 109%, 100%);
    --text-color: hsl(0, 109%, 100%);
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .slider {
        padding-top: 2rem;
        height: 100vh;
    }

    .slider__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and ( max-width: 568px ) {
    .slider {
        height: 120vh;
    }
}

/*
* ----------------------------------------------
* 06 - Highlights
* ----------------------------------------------
*/
.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.highlights__list {
    padding: 4rem 0;
}

.highlights__list ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    padding: 0;
    height: 100%;
    list-style: none;
}

.highlights__list svg {
    width: 30px;
    float: left;
    margin: 7px 10px 0 0;
}

.highlights__list h3 {
    margin: 0 0 0.3rem 0;
}

.highlights__list-right ul {
    justify-content: flex-end;
    text-align: right;
}

.highlights__list-right svg {
    width: 30px;
    float: right;
    margin: 7px 0 0 10px;
}

.highlights__image img {
    transform: rotate(5deg) translateY(-1rem);
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .highlights {
        grid-template-columns: 1fr 1fr;
        gap: 0rem;
        padding: 2rem 1rem;
    }

    .highlights__image {
        display: none;
    }
}

@media screen and ( max-width: 568px ) {
    .highlights {
        grid-template-columns: 1fr;
        gap: 0rem;
        padding: 2rem 1rem;
    }

    .highlights__list {
        padding: 0;
    }

    .highlights__list-right ul {
        justify-content: flex-start;
        text-align: left;
    }

    .highlights__list-right svg {
        float: left;
        margin: 7px 10px 0 0;
    }
}

/*
* ----------------------------------------------
* 07 - Reviews
* ----------------------------------------------
*/
.reviews {
    --swiper-theme-color: var(--primary-color);
    padding: 3rem 0;
    background-color: var(--accent-light-color);
    position: relative;
    overflow: hidden;
}

.reviews .section__center {
    overflow: hidden;
}

.reviews::before,
.reviews::after {
    content: "";
    display: block;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    transform: translateY(-5px);
    filter: drop-shadow(0px 0px 10px #212121);
    background-color: red;
}

.reviews::after {
    top: auto;
    bottom: 0;
    transform: translateY(5px);
}

.reviews__header {
    padding: 1rem 0 2rem 0;
    --primary-color: var(--text-color);
    text-align: center;
}

.reviews__header h2 {
    font-size: 3rem;
    text-transform: uppercase;
}

.reviews__header p {
    font-size: 1.5rem;
    line-height: 2rem;
}

.reviews__list ul {
    list-style: none;
}

.reviews__list li {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 1rem;
    position: relative;
}

.reviews__list svg {
    position: absolute;
    width: 25%;
    left: 0;
    top: -3%;
}

.review__image {
    width: 90%;
    margin-left: 10%;
}

.review__image img {
    border-radius: 0.5rem;
}

.reviews__list h4 {
    margin-bottom: 0.3rem;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .reviews__list {
        margin: 0 1rem;
        padding-bottom: 1rem;
        transform: translateX(-0.5rem);
    }

    .reviews__list .swiper-pagination {
        transform: translateX(0.5rem);
    }
}

@media screen and ( max-width: 568px ) {
    .reviews {
        padding: 3rem 0 2rem 0;
    }

    .reviews__list {
        margin: 0 1rem;
        padding-bottom: 1rem;
        transform: translateX(-1rem);
    }

    .reviews__list ul {
        grid-template-columns: 1fr;
    }

    .reviews__list .swiper-pagination {
        transform: translateX(1rem);
    }
}

/*
* ----------------------------------------------
* 08 - Features
* ----------------------------------------------
*/
.features {
    padding: 2rem 0;
}

.features__item {
    display: flex;
    flex-direction: row-reverse;
}

.features__item:nth-of-type(even) {
    flex-direction: row;
}

.features__image {
    display: flex;
    justify-content: center;
    width: 50%;
}
.features__image img {
    width: auto;
    height: auto
}

.features__exp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 10%;
    width: 50%;
    text-align: right;
}

.features__item:nth-of-type(even) .features__exp {
    text-align: left;
    padding: 0 10% 0 0;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .features__item {
        gap: 2rem;
    }
}

@media screen and ( max-width: 568px ) {
    .features {
        padding: 2rem 1rem;
    }

    .features__item {
        display: block;
        margin-bottom: 2rem;
    }

    .features__image {
        display: block;
        width: 100%;
        margin-bottom: 2rem;
    }

    .features__image > div {
        width: 100%;
    }

    .features__image img {
        /*width: auto;*/
        /*height: auto;*/
        margin: 0 auto;
    }

    .features__exp {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 10% 0 0;
        width: 100%;
        text-align: left;
    }
}

/*
* ----------------------------------------------
* 09 - Faw
* ----------------------------------------------
*/
.faq {
    display: grid;
    grid-template-columns: 55% 45%;
    margin: 4rem auto 0 auto;
    padding: 4rem 1rem;
    border-top: solid 2px var(--accent-dark-color);
}

.faq__content h4 {
    margin-bottom: 0.5rem;
}

.faq__content p {
    margin-bottom: 2rem;
}

.faq_details {
    margin-bottom: 1rem;
    -webkit-appearance: none;
}

.faq_details > p {
    padding: 1rem;
}

.faq_summary {
    height: 50px;
    background-color: var(--accent-light-color);
    background-image: none;
    -webkit-appearance: none;
    position: relative;
}

.faq_summary > span {
    display: grid;
    grid-template-columns: 50px auto;
    gap: 1rem;
}

summary {
    list-style: none;
    cursor: pointer;
    -webkit-appearance: none;
}

summary::-webkit-details-marker {
    display: none;
}

.faq_summary span.icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
}

.faq_summary span.icon svg {
    margin: 10px;
    width: 30px;
    height: 30px;
}

.faq_summary span.title {
    display: inline-block;
    margin: 1rem 0 0 0;
}

.faq__image {
    display: flex;
    justify-content: flex-end;
}

.faq__image img {
    max-height: 405px;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 768px ) {
}

@media screen and ( max-width: 568px ) {
    .faq {
        grid-template-columns: 100%;
        margin: 0 auto 0 auto;
        padding: 3rem 1rem 4rem 1rem;
    }

    .faq_summary span.title {
        margin: 1.1rem 0 0 0;
    }

    .faq__image img {
        display: none;
    }
}

/*
* ----------------------------------------------
* 10 - Products
* ----------------------------------------------
*/
.products {
    padding: 3rem 0;
    background-color: var(--accent-light-color);
    position: relative;
    overflow: hidden;
}

.products::before,
.products::after {
    content: "";
    display: block;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    transform: translateY(-5px);
    filter: drop-shadow(0px 0px 10px #212121);
    background-color: red;
}

.products::after {
    top: auto;
    bottom: 0;
    transform: translateY(5px);
}

.products__header {
    padding: 1rem 0 2rem 0;
    --primary-color: var(--text-color);
    text-align: center;
}

.products__header h2 {
    font-size: 3rem;
    text-transform: uppercase;
}

.products__header p {
    font-size: 1.5rem;
    line-height: 2rem;
}

.products__list {
}

.products__list ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.products__list li {
    padding: 2rem 2rem;
    background-color: #fff;
    text-align: center;
    outline: 2px solid var(--primary-color);
    outline-offset: -1rem;
    border-radius: 1rem;
    filter: drop-shadow(4px 4px 4px var(--accent-dark-color));
}

.products__list h4 {
    color: var(--text-color);
    margin-bottom: 0;
    font-weight: bold;
}

.products__list p.price {
    margin: 3rem 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.products__list a {
    display: block;
    margin-top: 3rem;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .products__list ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .products__list h4 {
        margin-bottom: 0;
    }

    .products__list p.price {
        margin: 1rem 0;
    }

    .products__list a {
        margin-top: 1rem;
    }
}

@media screen and ( max-width: 568px ) {
}

/*
* ----------------------------------------------
* 11 - Contact
* ----------------------------------------------
*/
.contact {
    --primary-color: #ffffff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--accent-color);
}

.contact svg {
    position: absolute;
    right: -5%;
    top: 50%;
    z-index: 0;
    height: 160%;
    transform: translateY(-50%);
}

.contact form {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact__form label {
    display: none;
}

.contact__button {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contact__button input[type="button"] {
    display: inline-block;
    padding: 1rem 1.2rem;
    background-color: var(--accent-dark-color);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.4rem;
    color: #ffffff;
    border-radius: 0.5rem;
    filter: drop-shadow(4px 4px 4px var(--accent-dark-color));
    cursor: pointer;
    -webkit-appearance: none;
}

.pristine-error {
    color: #ffffff;
}

.contact__bedankt {
    display: none;
    opacity: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
    .contact form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media screen and ( max-width: 568px ) {
}

/*
* ----------------------------------------------
* 12 - Footer
* ----------------------------------------------
*/
footer {
    --text-color: #ffffff;
    background-color: var(--accent-dark-color);
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
}

.footer > div {
    padding: 2rem 0;
}

.footer > div a {
    text-decoration: none;
}

.footer svg {
    height: 100px;
}

.footer__socials svg {
    display: inline-block;
    margin: 0 0.5rem 0 0;
    height: 25px;
}

@media screen and ( max-width: 1024px ) {
}

@media screen and ( max-width: 810px ) {
}

@media screen and ( max-width: 568px ) {
    .footer {
        grid-template-columns: 1fr;
        gap: 0rem;
        padding:s;
    }

    .footer > div {
        padding: 1rem 0;
        text-align: center;
    }
}
