@charset "UTF-8";

/* Root Variables */
:root {
    --flaetchen-color-dark: #181420;
    --flaetchen-color-grey: #333333;
    --flaetchen-color-pink: #e5007e;
    --flaetchen-color-white: #ffffff;
}

/* Font Face */
@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('assets/lexend.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Global Resets */
*, *::before, *::after {
    box-sizing: border-box;
    border-style: none;
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

a {
    color: var(--flaetchen-color-white);
}

html, body {
    background-color: var(--flaetchen-color-dark);
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 14px;
    height: 100%;
    width: 100%;
}

input {
    font-family: 'Lexend';
}

/* Container Styling */
.status {
    display: flex;
    position: absolute;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8em;
}




@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.bunit {
    margin: 30px 0 0;
    color: var(--flaetchen-color-white);
    font-size: 0.9em;
    line-height: 20px;
}

.mobile-container {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    min-width: 300px;
    padding: 1rem;
}

.hero-image-desktop {
    display: none;
}

.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-banner .logo-wrapper {
    width: auto;
    height: auto;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.logo-wrapper img {
    display: block;
    height: 5rem;
    margin: 0 auto;
    width: auto;
}

.logo-wrapper-flaetchen img {
    display: block;
    height: 2.2rem;
    margin: 80px 0 0;
    width: auto;
}

.hero-banner .hero-image {
    background-image: url(https://cdn.flaetchen.net/misc/bg/flaetchen.net-bg3.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 160px;
    width: 100%;
}

.text-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    width: 100%;
}

.text-info > * {
    padding: 0 2.5rem 1rem 0;
}

.text-info h2:nth-child(1) {
    color: var(--flaetchen-color-pink);
    font-weight: 200;
    font-size: 2rem;
    padding-top: 2.5rem;
}

.text-info h2 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--flaetchen-color-white);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.text-info p,
.text-info .info {
    color: var(--flaetchen-color-white);
    line-height: 23px;
}

.text-info .email-signup {
    margin: 1rem 0 7rem;
    position: relative;
    width: 100%;
}

.contact {
    width: 100%;
}

.contact a {
    color: var(--flaetchen-color-pink);
}

/* Media Queries */
@media only screen and (min-width: 768px) {
    body {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: row;
        height: 100%;
    }

    main {
        display: flex;
        flex-direction: column;
        height: inherit;
        max-width: 100%;
        margin: 0 auto;
        padding-left: 2.1rem;
    }

    .mobile-container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 45vw;
    }

    .hero-banner .logo-wrapper {
        display: flex;
        align-items: start;
        flex-direction: column;
        margin-left: 2rem;
        width: 100%;
    }

    .logo-wrapper img {
        margin: 0;
        height: 6rem;
    }

    .logo-wrapper-flaetchen img {
        height: 3.2rem;
        margin: 10px 0;
        width: auto;
    }

    .hero-image {
        display: none;
    }

    .text-info h2 {
        font-size: 5.5rem;
    }

    .text-info > * {
        padding: 0 1.5rem 1rem 0;
    }

    .text-info p {
        font-size: 16px;
    }

    .hero-image-desktop {
        display: block;
        height: 100%;
        width: 55vw;
    }

    .hero-image-desktop img {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .contact {
        width: 100%;
    }
    
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider img {
    position: absolute;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slider img.active {
    opacity: 1;
    z-index: 1;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    right: -100%;
    width: 500px;
    height: 100%;
    line-height: 24px;
    background-color: rgba(24, 20, 32, 0.9);
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.7s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    color: var(--flaetchen-color-white);
    font-family: 'Lexend', sans-serif;
}

.popup-content {
    padding: 60px 25px 0px 25px !important;
}

.popup.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 25px;
    height: 25px;
    background: var(--flaetchen-color-pink);
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--flaetchen-color-white);
}

.open-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 20px;
    background-color: var(--flaetchen-color-pink);
    color: var(--flaetchen-color-white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    z-index: 900;
}

.popup-content h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--flaetchen-color-pink);
}

.popup-content h3 {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--flaetchen-color-white);
}

.popup-content p {
    margin: 0 0 15px;
}

.popup-content a {
    color: var(--flaetchen-color-pink);
    text-decoration: none;
}

.popup-content section {
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
}

.popup-content section:last-of-type {
    border-bottom: none;
}

/* Mobile Optimierungen */
@media screen and (max-width: 480px) {
  .popup {
    width: 100%; /* Popup nimmt die gesamte Breite ein */
  }

  .popup-content {
    padding: 15px;
  }
    .status {
        display:none;
    }
}