:root {
    --accent-color: #244538; 
}

header {
    background: linear-gradient(to left bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9)), url('./../assets/img/header-mobile.png') no-repeat right bottom;
    background-size: cover;
    padding-top: 80px;
    padding-bottom: 80px;
    color: white;
}

header#contact-header {
    background: linear-gradient(to left bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.85)), url('./../assets/img/contact-bgr.png') no-repeat right center;
    background-size: cover;
    padding-top: 160px;
    padding-bottom: 80px;
    color: white;
}

.header-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

section#start-section {
    background-color: rgba(0, 0, 0, 0.06);
}

section#start-section span {
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.logo-row {
    display: none;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 50px;

    width: max-content;

    animation: logo-scroll 15s linear infinite;
}

.logo-track img {
    height: 34px;
    flex-shrink: 0;
}


.article-text {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
}

.card-wrap {
    margin-top: 40px;
}

section#gastgeber {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.85)), url('./../assets/img/gasthof.png') no-repeat right bottom;
    background-size: cover;
    align-items: flex-start;
    justify-content: center;
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
}

section#gastgeber > * {
    max-width: 800px;
    
}

.referenz-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.referenz {
    width: 100%;
    position: relative;
    text-decoration: none;
    color: black;
}

.referenz img {
    width: 100%;
    border-radius: 12px;
}

.referenz img:hover {
    box-shadow: 0 0 4px 2px rgb(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.referenz .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0px;
    text-align: end;
    margin-right: 10px;
}

.referenz .arrow:hover {
    background-color: var(--accent-color);
    border-radius: 60px;
    color: white;
    /* padding: 10px; */
}

.referenz-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    line-height: 1.2;
}

.referenz-text .title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-size: 17px;
    font-weight: 500;
}

.referenz-text .description {
    font-size: 15px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
}

.live {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 6px 12px;
    background-color: #F5F3EF;
    border-radius: 30px;
    gap: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 14px;
}

.live .circle {
    width: 12px;
    height: 12px;
    background-color: green;
    border-radius: 100px;
    animation: size 2s linear infinite;
}

article#pakete {
    background-color: rgba(0, 0, 0, 0.04);
}

article#pakete .card-wrap {
    margin-top: 40px;
}

.special-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    background-color: var(--accent-color);
    padding: 10px 4px 6px 4px;
    border-radius: 14px;
    color: #EFEEE9;
    font-size: 14px;
    font-weight: 500;
}

.double-card {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-direction: column;
}

article#pakete .card {
    color: black;
    background-color: #EFEEE9;
    border: .5px solid rgba(0, 0, 0, 0.3);
}

article#pakete .card:hover {
    transform: translateY(-5px);
}

article#pakete .card .title span {
    font-size: 20px;
    font-weight: 500;
}

article#pakete .card .title .price {
    font-size: 38px;
    font-weight: 500;
}

article#pakete .card .title .price span {
    font-size: 18px;
    font-weight: 500;
}

article#pakete .card p {
    font-size: 16px;
    font-weight: 300;
}

article#pakete ul {
    list-style: none;
    padding-left: 0;
}

article#pakete ul li {
    font-size: 16px;
    font-weight: 300;
    position: relative;
    padding-left: 24px;
}

article#pakete ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
}

.icon-text-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 0 0;
}

.icon-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.icon-text img {
    width: 24px;
}

article#partner {
    gap: 80px;
}
 
article#partner img.portrait {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

footer {
    background-color: #192721;
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-weight: 200;
    gap: 40px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 200;
}

.footer-intro {
    background: url('./../assets/img/bgr.png') no-repeat right bottom;
    background-size: cover;
    color: white;
    padding-top: 60px;
    padding-bottom: 60px;
    line-height: 1.5;
}

@keyframes size {
    0% {
       transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
       transform: scale(1);
    }
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 15px));
    }
}

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

    header {
        background: linear-gradient(to left bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.85)), url('./../assets/img/header.png') no-repeat right bottom;
        background-size: cover;
    }

    .logo-slider {
        display: none;
    }

    section#start-section {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 50px;
    }

    .logo-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 50px;
    }

    .logo-row img {
        height: 32px;
    }

    .referenz-wrap {
        flex-direction: row;
    }

    article#pakete .card-wrap {
        grid-template-columns: repeat(2, 2fr);
        gap: 12px;
    }

    article#partner {
        flex-direction: row-reverse;
        gap: 60px;
        align-items: stretch;
        justify-content: space-between;
    }

    article#partner img.portrait {
        width: 40%;
        height: unset;
        border-radius: 12px;
    }

    article#partner .article-text {
        width: 60%;
    }

    footer {
        flex-direction: row;
        align-items: flex-end;
    }



}

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

    section#start-section {
        flex-direction: row;
        justify-content: space-between;
        padding: 40px 100px;
    } 

        .icon-text-wrap {
        flex-direction: row;
        gap: 30px;
    }
}

@media screen and (min-width: 1200px) {


        article#leistungen {
        flex-direction: row;
        gap: 80px;
    }

    .card-wrap {
        margin-top: 0px;
    }

        article#pakete .card-wrap {
        grid-template-columns: repeat(4, 1fr);
    }
}