@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family: 'Cal Sans';
  src: url("../webfont/CalSans-Regular.ttf") format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body, td, th {
    font-size: medium;
}

body {
    background-color: #DD2C5D;
    animation: discoBgCycle 35s infinite ease-in-out;
    color: #FFFFFF;
    margin: 0;
    width: 100vw;
    font-family: 'Cal Sans', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: large;
    box-sizing: border-box;
}

/* Exakte Corporate Design Farben im 35s-Zyklus (7 Farben à 5s) */
@keyframes discoBgCycle {
    0%, 11.3%    { background-color: #7E1C6C; } /* 1. Violett */
    14.3%, 25.6% { background-color: #AF99C9; } /* 2. Lavendel */
    28.6%, 39.9% { background-color: #36B5A6; } /* 3. Türkis */
    42.9%, 54.2% { background-color: #64BACC; } /* 4. Cyan-Blau */
    57.1%, 68.4% { background-color: #276C8D; } /* 5. Petrol */
    71.4%, 82.7% { background-color: #DD2C5D; } /* 6. Pink */
    85.7%, 97.0% { background-color: #EC714B; } /* 7. Orange */
    100%         { background-color: #7E1C6C; } /* Loop zurück zu 1 */
}

/* =======================================
   Home View Layout
   ======================================= */
body.page-home {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-image: url("../bilder/logo.svg");
    background-repeat: no-repeat;
    background-position: center 32%;
    background-size: 52%;
    height: 100vh;
    height: 100dvh;
    padding: 30px 20px 35px 20px;
    overflow: hidden;
}

/* "COMING SOON" mittig zwischen Logo und Footer-Links */
.welcome {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    text-align: center;
    font-size: 46px;
    letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.welcome h1 {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

.footer_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
}

.social_links {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.social_icon {
    color: #FFFFFF;
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, opacity .25s ease;
}

.social_icon:hover {
    transform: scale(1.18);
    opacity: 1;
}

/* Legal Navigation unten */
.legal_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.legal_separator {
    color: #FFFFFF;
    font-size: 14px;
    opacity: 0.5;
}

.imprint_link {
    position: relative;
    display: inline-block;
    color: #FFFFFF;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.05em;
    opacity: 0.5;
    transition: opacity .25s ease, transform .2s ease;
}

.imprint_link:hover {
    opacity: 1;
}

/* =======================================
   Subpage Typografie & Layout (Impressum / Datenschutz)
   ======================================= */
body.page-subpage {
    display: block;
    background-image: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px 20px 60px 20px;
    overflow-y: auto;
    text-align: center;
}

.imprint_container {
    position: relative;
    display: block;
    width: 100%;
}

.imprint_text {
    position: relative;
    display: block;
    color: #FFFFFF;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

.imprint_text h1 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.imprint_subtitle {
    font-size: 17px;
    margin: 0 0 35px 0 !important;
    opacity: 0.9;
}

.imprint_text h2 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 21px;
    font-weight: 800;
    margin: 32px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.imprint_text h3 {
    font-family: 'Cal Sans', sans-serif;
    font-size: 16px;
    font-weight: 800;
    margin: 26px 0 8px 0;
}

.imprint_text p {
    margin: 0 0 16px 0;
}

.imprint_note {
    font-size: 13px;
    opacity: 0.8;
}

/* Zurück-Button */
.footer_nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.imprint_back_link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 30px auto 10px auto;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 800;
    padding: 10px 20px;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.imprint_back_link:hover {
    opacity: 0.85;
    transform: translateX(-4px);
}

.imprint_back_link i {
    font-size: 15px;
}

a:link, a:visited, a:active {
    text-decoration: none;
    color: #FFFFFF;
    transition: .3s;
}

a:hover {
    text-decoration: none;
    color: #FFFFFF;
}

/* =======================================
   Media Queries & Breakpoints
   ======================================= */

/* 1. Large Screens & 4K (min-width: 1600px) */
@media screen and (min-width: 1600px) {
    body.page-home {
        background-position: center 30%;
        background-size: 55%;
        padding-bottom: 50px;
    }

    .welcome {
        font-size: 52px;
        margin-bottom: 30px;
    }

    .social_icon {
        font-size: 36px;
    }

    .imprint_link {
        font-size: 16px;
    }
}

/* 2. Tablets & Small Laptops (769px bis 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    body.page-home {
        background-position: center 30%;
        background-size: 65%;
        padding-bottom: 35px;
    }

    .welcome {
        font-size: 38px;
        margin-bottom: 22px;
    }
}

/* 3. Phablets & Smartphones Portrait (max-width: 768px) */
@media screen and (max-width: 768px) {
    body.page-home {
        padding: 20px 15px 30px 15px;
        background-position: center 30%;
        background-size: 82%;
    }

    .welcome {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .social_links {
        gap: 20px;
    }

    .social_icon {
        font-size: 26px;
    }

    .imprint_link {
        font-size: 13px;
    }

    .legal_separator {
        font-size: 11px;
    }

    .imprint_text h1 {
        font-size: 28px;
    }

    .imprint_text h2 {
        font-size: 18px;
    }

    .imprint_text h3 {
        font-size: 15px;
    }

    .imprint_text {
        font-size: 14px;
        padding: 10px 0;
    }
}

/* 4. Small Mobile Phones (max-width: 380px) */
@media screen and (max-width: 380px) {
    body.page-home {
        background-position: center 28%;
        background-size: 88%;
        padding-bottom: 20px;
    }

    .welcome {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .social_icon {
        font-size: 22px;
    }

    .imprint_link {
        font-size: 11px;
    }

    .legal_nav {
        gap: 8px;
    }
}

/* 5. Mobile Landscape Modus */
@media screen and (max-height: 520px) and (orientation: landscape) {
    body.page-home {
        justify-content: flex-end;
        background-position: center 20%;
        background-size: 35%;
        padding: 10px 15px 15px 15px;
    }

    .welcome {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .footer_container {
        gap: 6px;
    }

    .social_icon {
        font-size: 20px;
    }

    .imprint_link {
        font-size: 11px;
    }
}