@font-face {
    font-family: "Poiret One";
    src: url("../fonts/PoiretOne-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================
   GLOBAL
========================= */
html {
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    background-color: #121417;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    color: #ffffff;
    position: relative;
    isolation: isolate;
    font-size: 14px;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.94) 0%,
            rgba(0, 0, 0, 0.9) 20%,
            rgba(0, 0, 0, 0.72) 50%,
            rgba(0, 0, 0, 0.4) 100%
        ),
        url("../images/bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation:
    bg-fade 1s ease forwards,
    bg-zoom 1s ease-in-out forwards;
    z-index: -1;
}
@keyframes bg-zoom {
    0% {
        transform: scale(1);
    }
    
    100% {
        transform: scale(1.02);
    }
}
@keyframes bg-fade {
    from {
        filter: brightness(0.05);
    }

    to {
        filter: brightness(0.4);
    }
}

/* =========================
   HEADER
========================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 25px;

    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.42) 10%,
        rgba(15, 23, 42, 0.48) 30%,
        rgba(15, 23, 42, 0.42) 50%,
        rgba(15, 23, 42, 0.35) 80%
    );

    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.title {
    font-family: "Poiret One", sans-serif;
    font-weight: 300;
    color: #ffffff;
    font-size: clamp(18px, 2vw, 36px);
    letter-spacing: 1.2em;
    text-transform: uppercase;
}

.title span {
    display: block;
    font-size: 14px;
    letter-spacing: 0.8em;
    margin-top: 6px;
}

.close-button {
    margin-left: auto;
    margin-right: 20px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 25px;
    cursor: pointer;
    transition: 0.2s ease;
}

.close-button:hover {
    color: #ffffff;
    transform: scale(1.12);
}

/* =========================
   LAYOUT
========================= */
body.landing {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   CARD BASE
========================= */
.newsletter-card {
    width: min(460px, 92vw);

    display: flex;
    flex-direction: column;

    padding: 34px 42px 14px;

    text-align: center;
    line-height: 1.45;

    color: #ffffff;

    /*background: rgba(20, 24, 31, 0.2);
    backdrop-filter: blur(1px);*/

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 22px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
    animation: bg-fade-complete 3s ease forwards;
}
@keyframes bg-fade-complete {
    from {
        filter: brightness(0.05);
    }

    to {
        filter: brightness(1.0);
    }
}



    
    
    




/* =========================
   CARD CONTENT TYPO BASE
========================= */
.newsletter-text h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.newsletter-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 320px;
    margin: 0 auto 22px auto;
}

/* =========================
   ICON
========================= */
.newsletter-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.newsletter-icon img {
    width: 72px;
    height: 72px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* =========================
   FORM
========================= */
.newsletter-card form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.newsletter-card label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.newsletter-card input[type="email"] {
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 14px;
}

/* =========================
   CHECKBOX
========================= */
.checkbox {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.checkbox input {
    margin-top: 3px;
    accent-color: #2563eb;
}

/* =========================
   BUTTON
========================= */
.newsletter-card button {
    padding: 12px 28px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}

.newsletter-card button:hover {
    background: rgba(255,255,255,0.06);

    border-color: rgba(56, 189, 248, 0.45);

    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.14);
}
.newsletter-card button:active {
    transform: scale(0.98);

    background: rgba(56, 189, 248, 0.18);

    border-color: rgba(56, 189, 248, 0.85);

    box-shadow:
        0 0 22px rgba(56, 189, 248, 0.28),
        inset 0 0 12px rgba(56, 189, 248, 0.18);
}

/* =========================
   TRUST + MESSAGE
========================= */
.trust {
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.message {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.message-icon {
    font-size: 22px; /* größer */
    line-height: 1;
}

/* =========================
   STATUS SYSTEM
========================= */
.status-card {
    display: flex;
    flex-direction: column;
}

.is-hidden {
    display: none;
}

/* ICON COLORS */
.status-icon {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.status-neutral { color: #ffffff; }
.status-success { color: #22c55e; }
.status-warning { color: #facc15; }
.status-error   { color: #ef4444; }

/* HEADER ICON + TITLE INLINE */
.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.status-title {
    font-size: 20px;
    margin: 0;
}

/* =========================
   FOOTER INSIDE CARD
========================= */
.card-footer {
    margin-top: auto;
    padding-top: 28px;
}

.git-legal-note {
    font-size: 10px;
    opacity: 0.45;
    line-height: 1.2;
}

/* =========================
   LEGAL
========================= */

body.legal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-wrapper {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 140px 20px 100px;
    gap: 18px;
}

.legal-content {
    max-width: 650px;
    width: 100%;

    padding: 32px;

    font-size: 13px;
    line-height: 1.6;

    text-align: center;

    background: rgba(20, 24, 31, 0.5);
    backdrop-filter: blur(2px);

    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 14px;

    color: #ffffff;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.legal-content h1 {
    margin-bottom: 18px;
}

.legal-content p {
    margin-bottom: 12px;
}

.back-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.back-link:hover {
    color: #ffffff;
}

/* =========================
   GLOBAL FOOTER
========================= */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;

    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.25) 0%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(15, 23, 42, 0.25) 100%
    );
}

.footer-links {
    justify-self: center;
    display: flex;
    gap: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.divider {
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.4);
}

.footer-right {
    justify-self: end;
    color: #fff;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {

    .newsletter-card {
        padding: 26px 22px;
    }

    .title {
        letter-spacing: 0.6em;
        font-size: 16px;
    }

    .newsletter-text h1 {
        font-size: 22px;
    }

    .newsletter-text p {
        font-size: 13px;
    }

    .status-title {
        font-size: 18px;
    }

    .status-icon {
        font-size: 22px;
    }
}


/* Klasse Glas für allg. Eigenschaft für Cards die diesen Effekt haben sollen*/
.glass {
    /*background: rgba(20, 24, 31, 0.2);*/
    backdrop-filter: blur(0.0px);
    -webkit-backdrop-filter: blur(0.0px);

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;

    transition:
        backdrop-filter 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease;
}
.glass:hover {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    background: rgba(20, 24, 31, 0.32);

    border-color: rgba(56, 189, 248, 0.25);

    box-shadow:
        0 0 18px rgba(56, 189, 248, 0.10);

    
}
.glass:hover .logo {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2) drop-shadow(0 0 10px rgba(56, 189, 248, 0.25));
    /*transform: scale(1.05);*/
}


/* Backlink*/
.back-link {
    align-self: center;
}