@font-face {
    font-family: "Inter";
    src: url("./fonts/Inter-Variable.ttf") format("truetype-variations");
    font-weight: 100 900;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: bold;
    height: 100vh;
}

.rechtliches-container {
    padding: 20px;
}

.rechtliches-container h1,
.rechtliches-container h2 {
    font-weight: bold;
}

.rechtliches-container * {
    font-weight: 400;
}

.landingpage-outer-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.landingpage-inner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.landingpage-inner-container::before,
.landingpage-inner-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* Fallback */
    inset: 0;
    /* Modern */
    z-index: 1;
}

.reinigungs-container {
    background-image: url("./media/Reinigung Bild.webp");
    width: 55%;
    -webkit-clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    margin-right: -6%;
    background-position: right;
    z-index: 5;
}

.reinigungs-container::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.reinigungs-container::before {
    background-color: rgba(41, 94, 55, 0.4);
}

.kurier-container {
    background-image: url("./media/Kurierdienst_Bild.webp");
    width: 65%;
    background-position: center;
    -webkit-clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -6%;
}

.kurier-container::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.kurier-container::before {
    background-color: rgba(229, 124, 37, 0.45);
}

.landingpage-inner-container>* {
    position: relative;
    z-index: 2;
    text-align: center;
}

.heading-reinigung {
    font-size: 3rem;
    color: #E1B54E;
}

.heading-kurier {
    font-size: 3rem;
    color: #DF8E42;
}

.website-link {
    text-decoration: none;
    color: #295E37;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.4rem 2.25rem;
    border-radius: 2px;
    -webkit-transition: -webkit-transform 0.15s ease-in-out;
    -moz-transition: -moz-transform 0.15s ease-in-out;
    -ms-transition: -ms-transform 0.15s ease-in-out;
    -o-transition: -o-transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out;
}

.website-link:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.reinigung-link {
    background: #E1B54E;
}

.kurier-link {
    background: #DF8E42;
}

.footer-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 20px;
}

.footer-link {
    padding-right: 1.5%;
    text-decoration: none;
    color: #E1B54E;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

@supports not (text-underline-offset: 2px) {
    .footer-link:hover {
        border-bottom: 1px solid #E1B54E;
        text-decoration: none;
        padding-bottom: 1px;
    }
}

@media (max-width: 1400px) {

    .landingpage-inner-container .website-link,
    .footer-container .footer-link {
        font-size: 1rem;
    }

    .landingpage-inner-container .landingpage-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {

    .landingpage-inner-container .website-link,
    .footer-container .footer-link {
        font-size: 0.9rem;
    }

    .landingpage-inner-container .landingpage-heading {
        font-size: 2rem;
    }
}

@media (max-width: 1000px) {

    .landingpage-inner-container .website-link,
    .footer-container .footer-link {
        font-size: 0.8rem;
    }

    .landingpage-inner-container .website-link {
        padding: 0.4rem 2rem;
    }

    .landingpage-inner-container .landingpage-heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 850px) {

    .landingpage-inner-container .website-link,
    .footer-container .footer-link {
        font-size: 0.7rem;
    }

    .landingpage-inner-container .landingpage-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .landingpage-outer-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer-container{
        position: relative;
        margin-top: -10%;
        padding-left: 10px;
        padding-bottom: 0;
        padding-top: 0;
        padding-right: 0;
    }

    .rechtliches-container {
        padding: 20px;
    }

    .rechtliches-container h1 {
        font-size: 1.5em;
    }

    .rechtliches-container h2 {
        font-size: 1em;
    }

    .rechtliches-container * {
        font-size: 0.875em;
    }

    .landingpage-inner-container {
        width: 100%;
        height: 50%;
        -webkit-clip-path: none;
        clip-path: none;
        margin: 0;
    }
}