
/* =========================================
   GRUNDEINSTELLUNGEN
   ========================================= */

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


html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #111827;

    color: #ffffff;
}


/* =========================================
   HILFSKLASSE
   ========================================= */

.hidden {
    display: none !important;
}


/* =========================================
   LOGIN SCREEN
   ========================================= */

.login-screen {
    position: relative;

    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        url("images/Planeten.jpg");

    background-size: cover; /* Passt die Größe des Bildes auf den Bildschirm an (PC, Handy, Tablet) */
    background-position: center;
    background-repeat: no-repeat;
}


/* Dunkler Farbverlauf über dem Bild */

.background-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 15, 30, 0.45) 0%,
            rgba(8, 15, 30, 0.15) 45%,
            rgba(8, 15, 30, 0.40) 100%
        );

    z-index: 1;
}


/* =========================================
   WILLKOMMENSBEREICH
   ========================================= */

.welcome-area {
    position: relative;

    z-index: 2;

    width: 48%;

    max-width: 600px;

    margin-left: 8%;

    color: white;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.25);
}


.mountain-icon {
    font-size: 48px;

    margin-bottom: 18px;

    opacity: 0.95;
}


.welcome-area h1 {
    font-family:
        "Segoe Script",
        "Brush Script MT",
        cursive;

    font-size: clamp(48px, 5vw, 76px);

    line-height: 1;

    margin-bottom: 22px;

    font-weight: 500;
}


.welcome-small {
    font-size: 25px;

    margin-bottom: 14px;

    font-weight: 400;
}


.welcome-text {
    max-width: 430px;

    font-size: 19px;

    line-height: 1.65;

    opacity: 0.9;
}


/* =========================================
   LOGIN BOX
   ========================================= */

.login-card {
    position: relative;

    z-index: 3;

    width: min(520px, 43vw);

    margin-left: auto;
    margin-right: 8%;

    padding: 46px 42px;

    border-radius: 24px;

    background:
        rgba(15, 23, 42, 0.58);

    border:
        1px solid rgba(255, 255, 255, 0.22);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);

    color: white;
}


/* =========================================
   LOGIN ICON
   ========================================= */

.login-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

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

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.13);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    font-size: 42px;

    color: white;
}


.login-card h2 {
    text-align: center;

    font-size: 32px;

    font-weight: 650;

    margin-bottom: 8px;
}


.login-description {
    text-align: center;

    font-size: 15px;

    color: rgba(255, 255, 255, 0.70);

    margin-bottom: 30px;
}


/* =========================================
   INPUTS
   ========================================= */

.input-group {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    height: 60px;

    margin-bottom: 18px;

    border:
        1px solid rgba(255, 255, 255, 0.28);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.06);

    transition:
        border-color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
}


.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.60);

    background:
        rgba(255, 255, 255, 0.10);

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, 0.15);
}


.input-icon {
    width: 55px;

    text-align: center;

    font-size: 21px;

    opacity: 0.85;
}


.input-group input {
    flex: 1;

    height: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: white;

    font-size: 16px;

    padding-right: 18px;
}


.input-group input::placeholder {
    color:
        rgba(255, 255, 255, 0.52);
}


/* Passwort anzeigen */

.password-toggle {
    width: 55px;

    height: 100%;

    border: none;

    background: transparent;

    color: white;

    cursor: pointer;

    font-size: 19px;

    opacity: 0.75;
}


.password-toggle:hover {
    opacity: 1;
}


/* =========================================
   LOGIN OPTIONEN
   ========================================= */

.login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin: 5px 5px 24px;
}


.remember {
    display: flex;

    align-items: center;

    gap: 9px;

    cursor: pointer;

    font-size: 14px;

    color:
        rgba(255, 255, 255, 0.85);
}


.remember input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.custom-checkbox {
    width: 20px;
    height: 20px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 5px;

    border:
        1px solid rgba(255, 255, 255, 0.50);

    background:
        rgba(255, 255, 255, 0.08);
}


.remember input:checked + .custom-checkbox {
    background: #2588f7;

    border-color: #2588f7;
}


.remember input:checked + .custom-checkbox::after {
    content: "✓";

    color: white;

    font-size: 14px;

    font-weight: bold;
}


.forgot-password {
    border: none;

    background: none;

    color: #55a8ff;

    cursor: pointer;

    font-size: 14px;

    white-space: nowrap;
}


.forgot-password:hover {
    text-decoration: underline;
}


/* =========================================
   LOGIN BUTTON
   ========================================= */

.login-button {
    width: 100%;

    height: 60px;

    border: none;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #1683f5,
            #4198f7
        );

    color: white;

    font-size: 17px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    box-shadow:
        0 10px 25px rgba(0, 100, 255, 0.25);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(0, 100, 255, 0.35);
}


.login-button:active {
    transform: translateY(0);
}


.arrow {
    font-size: 24px;

    line-height: 1;
}


/* =========================================
   FEHLERMELDUNG
   ========================================= */

.login-message {
    min-height: 22px;

    margin-top: 14px;

    text-align: center;

    color: #ffb4b4;

    font-size: 14px;
}


/* =========================================
   TRENNLINIE
   ========================================= */

.separator {
    display: flex;

    align-items: center;

    gap: 14px;

    margin: 22px 0;
}


.separator span {
    flex: 1;

    height: 1px;

    background:
        rgba(255, 255, 255, 0.20);
}


.separator small {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 14px;
}


/* =========================================
   KONTO ERSTELLEN
   ========================================= */

.create-account-button {
    width: 100%;

    height: 58px;

    border-radius: 30px;

    border:
        1px solid rgba(255, 255, 255, 0.45);

    background:
        rgba(255, 255, 255, 0.02);

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition:
        background 0.2s,
        border-color 0.2s;
}


.create-account-button:hover {
    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(255, 255, 255, 0.70);
}


.create-account-button span {
    margin-right: 8px;
}


/* =========================================
   HAUPTSEITE
   ========================================= */

.header {
    background: #111827;

    border-bottom:
        1px solid #273244;
}


.header-content {
    max-width: 1200px;

    margin: auto;

    padding: 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.header h1 {
    font-size: 24px;
}


.logout-button {
    padding: 10px 18px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    cursor: pointer;
}


.container {
    max-width: 1200px;

    margin: auto;

    padding: 60px 20px;
}


.welcome {
    margin-bottom: 40px;
}


.welcome h2 {
    font-size: 36px;

    margin-bottom: 10px;
}


.welcome p {
    color: #aab4c3;
}


.user-email {
    margin-top: 8px;
}


.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


.card {
    padding: 30px;

    border-radius: 18px;

    background: #182233;

    border:
        1px solid #273244;
}


.card-icon {
    font-size: 34px;

    margin-bottom: 18px;
}


.card h3 {
    margin-bottom: 10px;
}


.card p {
    color: #aab4c3;

    line-height: 1.6;
}


.footer {
    text-align: center;

    padding: 30px;

    color: #687589;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

    .login-screen {
        justify-content: center;

        padding: 40px 20px;
    }


    .welcome-area {
        display: none;
    }


    .login-card {
        width: min(520px, 100%);

        margin: 0;
    }

}


/* =========================================
   SMARTPHONE
   ========================================= */

@media (max-width: 600px) {

    .login-screen {
        align-items: flex-end;

        padding: 18px;
    }


    .login-card {
        width: 100%;

        padding: 32px 22px;

        border-radius: 22px;

        margin: 0;
    }


    .login-icon {
        width: 64px;
        height: 64px;

        font-size: 34px;
    }


    .login-card h2 {
        font-size: 28px;
    }


    .login-description {
        font-size: 14px;
    }


    .login-options {
        align-items: flex-start;
    }


    .forgot-password {
        font-size: 13px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .container {
        padding-top: 35px;
    }

}