/* ---Copyright © 2025 Fabian Röcker und Christian Clarizia Webdesign GbR--- */
:root {
    --free-space: 5vw;
}

html {
    font-size: 14px;
}

html * {
    font-family: "montserrat", Arial, Helvetica, sans-serif;
    transition: all 0.3s;
    color: var(--fc);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    background-color: var(--main-color);
    display: flex;
    flex-direction: column;
}

main {
    overflow-x: hidden;
    flex: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1 {
    font-size: 2rem;
}

.main-heading {
    font-size: 2rem;
}

.btnWrapper {
    gap: 1rem;
    flex-direction: column;
}

button {
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    border: solid 2px var(--peak-color);
    background-color: transparent;
    cursor: pointer;
}

button:hover {
    filter: opacity(0.7);
}

button:active {
    filter: brightness(0.9);
}

button:focus {
    outline: none;
    border-color: var(--peak-color);
}

a.button {
    padding: 0.6rem 0.9rem;
    border-radius: 0.5rem;
    border: solid 2px var(--peak-color);
    background-color: transparent;
    cursor: pointer;
    width: fit-content;
    text-align: center;
}

a.button:active {
    filter: brightness(0.9);
}

a.button:focus {
    outline: none;
    border-color: var(--peak-color);
}

a.btnHero {
    background-color: var(--peak-color);
    color: var(--fc-white, #fff);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnHero {
    background-color: var(--peak-color);
    color: var(--fc-white, #fff);
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

a {
    text-decoration: none;
    color: var(--fc);
    font-weight: 500;
}

p {
    max-width: 600px;
}

.disclaimer {
    font-size: 0.7rem;
}

.disclaimer::before {
    content: '*';
}

.price_eur::after {
    content: '€';
}

.price_usd::after {
    content: '$';
}

input,
textarea,
select {
    background: var(--input-color);
    border: solid 1px var(--input-border-color);
}

main div.inText li {
    max-width: calc(600px - 2rem);
    margin-right: -2rem;
}

.checks li {
    list-style: none;
    font-weight: 500;
}

.checks li::before {
    content: '\2713';
    color: var(--peak-color);
    font-weight: bold;
    margin-right: 0.3rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.social svg {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

.social svg path {
    position: relative;
}

.social svg.social_black {
    fill: #000;
}

form {
    position: relative;
}

.formoverlay {
    position: absolute;
    top: 0;
    bottom: 0;
}

.formoverlay.active {
    margin: -5px;
    left: 0;
    right: 0;
    display: flex;
    user-select: none;
}

.formoverlay.active .background {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    opacity: 0.5;
}

.formoverlay .loader {
    width: 48px;
    height: 48px;
    top: 40%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.formoverlay.active .loader {
    display: inline-block;
    border-top: 3px solid var(--border-color);
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.alertWrapper {
    display: none;
}

.alertWrapper.active {
    display: flex;
}

/* ### HEADER ### */
header {
    position: sticky;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease;
    z-index: 999;
    will-change: transform;
}

header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.headerMain:not(.appHeader) {
    display: flex;
    height: 5rem;
    background-color: var(--main-color-200);
    z-index: 1;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.headerMain.appHeader .headerLogo {
    display: none;
}

.carouselBanner {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    background: var(--main-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    height: 32px;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
    border-bottom: 1px solid var(--border-color);
}

.carouselContent {
    display: inline-flex;
    white-space: nowrap;
}

.carouselContent span {
    margin-right: 50px;
}

.scroller {
    max-width: 100%;
    margin-inline: auto;
}

.scroller__inner {
    padding-block: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.scroller__inner li {
    font-size: 12px;
    list-style: none;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg,
            transparent,
            white 10%,
            white 90%,
            transparent);
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

.headerBanner {
    background: #facc15;
    /* Gelb als optische Trennung */
    color: #1e293b;
    text-align: center;
    padding: 8px 0;
    font-weight: 500;
    box-shadow: var(--shadow);
}

header>div {
    padding-inline: var(--free-space);
}

header nav {
    position: relative;
}

.overlay.active {
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    height: 100svh;
    width: 100vw;
    z-index: 999;
}

header a:has(img) {
    margin-right: auto;
    height: 100%;
}

header a:has(img) img {
    height: 100%;
}

header ul {
    display: none;
    opacity: 0;
    width: 0;
}

header ul.show {
    display: flex;
    opacity: 1;
    width: auto;
    height: 100vh;
    height: 100svh;
}

header ul {
    height: 100%;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    right: 0;
    background-color: var(--main-color);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    padding-top: 5.5rem;
    padding-right: 10%;
}

header .burger {
    cursor: pointer;
    height: 1.8rem;
    margin-block: auto;
}

header .burger svg {
    width: 1.8rem;
}

header ul .cross {
    position: absolute;
    height: 5rem;
    top: 2.5rem;
    right: var(--free-space);
    cursor: pointer;
    height: 1.8rem;
    margin-block: auto;
    transform: translateY(-50%);
}

header ul .cross svg {
    width: 1.8rem;
}

.headerBanner {
    background-color: orange;
    padding-block: 0.5rem;
    height: 32px;
    align-items: center;
    justify-content: center;
    display: flex;
}

span#countdown {
    padding: 0.2rem;
    border-radius: 0.5rem;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.7);
    color: #000;
    margin-left: 0.5rem;
}

/* ### MAIN ### */
main {
    padding-bottom: 4rem;
}

main>div:not(.off) {
    padding-inline: var(--free-space);
}

main>div:not(.hero):not(.off) {
    padding-block: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

main>div:not(.hero)>div:not(.off) {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main>section {
    padding-inline: var(--free-space);
}

main>section:not(.hero):not(.off) {
    padding-block: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

main>section:not(.hero)>div:not(.off) {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main>section:not(.hero)>section:not(.off) {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sectionHeading {
    padding-block: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* ### FOOTER ### */
footer:not(.appFooter) {
    background-color: var(--main-color-200);
    box-shadow: var(--shadow);
    z-index: 1;
    position: relative;
    height: auto;
    min-height: 3rem;
    padding-inline: var(--free-space);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1rem;
    /* padding-bottom: 3rem; */
    border-top: 1px solid var(--border-color);
}

footer.appFooter .notFooterNav {
    display: none;
}

footer.footerMin {
    padding-top: 0.5rem;
    gap: 0;
    padding-bottom: 0.5rem;
    max-height: 4rem;
    height: 100%;
    justify-content: center;
}

footer>div {
    flex-direction: column;
    text-align: center;
}

footer>div>div>img {
    margin-inline: auto;
}

footer .footerNav {
    flex-direction: column;
    text-align: center;
    margin-inline: auto;
}

footer .footerBulletNone {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .social svg.social_black {
        fill: var(--fc);
    }

    .formoverlay.active .loader {
        border-top: 3px solid var(--fc);
    }

    header a:has(img) img {
        filter: invert(1);
    }

    header ul .cross {
        filter: invert(1);
    }

    .overlay {
        filter: invert(1);
    }

    header .burger {
        filter: invert(1);
    }

    footer a:has(img) img {
        filter: invert(1);
    }

    footer .footerIcons svg {
        fill: var(--fc);
    }

    footer>div>div>img {
        filter: invert(1);
    }
}

footer>div.bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

footer.footerMin>div.bottom {
    gap: 0;
}

footer ul:has(.notFooterNav) {
    height: 100%;
    flex-wrap: wrap;
    text-align: center;
    display: flex;
    justify-content: center;
}

footer .copyright {
    text-align: center;
}

footer.appFooter .copyright,
footer.appFooter .copyright span {
    color: var(--fc-nonFocus);
}

.tag-beta-outline {
    display: inline-flex;
    position: relative;
    align-items: center;
    padding: 3px 5px;
    /* Leicht erhöht für besseren Abstand zum Rahmen */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 0.2rem;

    /* Hintergrund komplett transparent */
    background: transparent;
}

/* 1. Der Rahmen als separates Element im Hintergrund */
.tag-beta-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Füllt das gesamte Badge aus */
    border-radius: 6px;
    /* Aktiviert die abgerundeten Ecken */
    padding: 2px;
    /* Bestimmt die Dicke des Rahmens */

    /* Der Farbverlauf */
    background: linear-gradient(135deg, hsl(215, 100%, 51%) 0%, #a855f7 100%);

    /* Schneidet das Innere aus, damit es transparent bleibt */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
    /* Verhindert, dass der Rahmen Klicks abfängt */
}

/* 2. Der Text-Verlauf (unverändert, liegt über dem Rahmen) */
.tag-beta-outline::after {
    content: "Beta";
    background: linear-gradient(135deg, hsl(215, 100%, 51%) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}



@media screen and (min-width: 768px) {
    html {
        font-size: 16px;
    }

    :root {
        --free-space: 10vw;
    }

    .btnWrapper {
        flex-direction: row;
    }

    .headerMain.appHeader {
        display: flex;
        height: 5rem;
        background-color: var(--main-color-200);
        z-index: 1;
        position: relative;
        border-bottom: 1px solid var(--border-color);
    }

    .headerMain.appHeader .headerLogo {
        display: block;
    }

    .appModeHeader {
        display: none;
    }

    footer.appFooter {
        background-color: var(--main-color-200);
        box-shadow: var(--shadow);
        z-index: 1;
        position: relative;
        height: auto;
        min-height: 3rem;
        padding-inline: var(--free-space);
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding-top: 1rem;
        /* padding-bottom: 3rem; */
        border-top: 1px solid var(--border-color);
    }

    footer.appFooter .notFooterNav {
        display: flex;
    }

    footer.appFooter>div.bottom {
        gap: 0.5rem;
    }

    header ul {
        display: flex;
        opacity: 1;
        width: auto;
        position: relative;
        flex-direction: row;
        background-color: transparent;
        padding: 0;
        gap: 1rem;
    }

    header ul .cross {
        display: none;
    }

    .overlay {
        display: none;
    }

    header .burger {
        display: none;
    }

    footer.footerMin {
        max-height: 3rem;
    }

    footer .copyright {
        text-align: left;
    }

    footer>div>div>img {
        margin-inline: 0;
    }

    footer .footerNav {
        flex-direction: row;
        text-align: left;
        margin-inline: 0;
    }

    footer>div:nth-child(1) {
        flex-direction: row;
        text-align: left;
    }
}

@media screen and (min-width: 962px) {
    header nav li a:not(.button) {
        background: transparent;
        position: relative;
        padding-block: 0.25rem;
    }

    header nav li a:not(.button)::after {
        content: ' ';
        position: absolute;
        left: 0;
        width: 0px;
        bottom: 0;
        height: 2px;
        background: var(--peak-color);
        border-radius: 1rem;
        opacity: 0;
    }

    header nav li a.active-site:not(.button)::after {
        width: 100%;
        opacity: 1;
    }

    header nav li a:not(.button):hover::after {
        animation: navLines 0.3s forwards;
    }

    @keyframes navLines {
        0% {
            width: 0px;
            opacity: 0;
        }

        100% {
            width: 100%;
            opacity: 1;
        }
    }

    footer ul {
        display: block;
        justify-content: normal;
    }

    footer>div {
        flex-direction: row;
        text-align: left;
    }

    footer .footerBulletNone {
        display: block;
    }
}