@font-face{
    font-family: 'Poppins Light';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Poppins Bold';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}


h1, h2, h3, h4, h5, h6 {
    color: black;
}

.header {
    position: fixed;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.18);
    color: rgb(0, 0, 0);
    padding: 10px 10px;
    margin: 10px 10px;
    font-family: 'Poppins Light';
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s, color 0.1s;
    border-radius: 25px;
    border: none; 
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.header .big{
    font-family: 'Poppins Bold';
}

.header:active {
    background-color: rgba(195, 195, 195, 0.25);
    transform: scale(0.97);
}

.login-container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    padding: 0px;
    box-shadow: none;
    border-radius: 0;
    margin: 0px;
    overflow-x: hidden;
}

.login-container .loginframe {
    background: rgba(255,255,255,0.55);
    border-radius: 25px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    padding: 28px 18px 24px 18px;
    min-width: 260px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: popInCard 0.7s cubic-bezier(.4,0,.2,1);
    margin: 24px 0;
    position: static;
    top: unset;
    left: unset;
    transform: none;
    backdrop-filter: blur(18px);
}

@keyframes popInCard {
    0% { opacity: 0; transform: scale(0.93) translateY(40px);}
    80% { opacity: 1; transform: scale(1.03) translateY(-6px);}
    100% { opacity: 1; transform: scale(1) translateY(0);}
}

.login-container .loginframe .loginlabel {
    font-family: 'Poppins Bold';
    font-size: 1.6em;
    color: #111;
    text-align: center;
    margin-bottom: 18px;
    margin-top: 0;
    font-weight: 700;
    padding: 10px 0 10px 0;
    letter-spacing: 0.5px;
}

.login-container .loginframe .usernamegroup,
.login-container .loginframe .passwordgroup {
    width: 100%;
    margin: 0 0 12px 0;
    display: flex;
    padding: 0;
    border: none;
    background: none;
    height: auto;
}

.login-container .loginframe .usernamegroup input,
.login-container .loginframe .passwordgroup input {
    width: 100%;
    border: none;
    outline: none;
    background-color: rgba(255,255,255,0.65);
    font-family: 'Poppins Light';
    height: 42px;
    border-radius: 25px;
    margin: 0;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s, transform 0.18s;
    padding: 0 12px;
    font-size: 1rem;
    color: #111;
    box-shadow: 0 1.5px 6px rgba(0,0,0,0.05);
    animation: popInInput 0.5s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(8px);
}

@keyframes popInInput {
    0% { opacity: 0; transform: scale(0.96) translateY(18px);}
    80% { opacity: 1; transform: scale(1.03) translateY(-4px);}
    100% { opacity: 1; transform: scale(1) translateY(0);}
}

.login-container .loginframe .usernamegroup input:focus,
.login-container .loginframe .passwordgroup input:focus {
    border: none;
    box-shadow: 0 2px 12px #e0e0e0;
    background: rgba(250,250,250,0.85);
    transform: scale(1.03);
}

.login-container .loginframe .usernamegroup input:active,
.login-container .loginframe .passwordgroup input:active {
    background-color: rgba(241,241,241,0.85);
    transform: scale(0.98);
}

.login-container .loginframe .loginbutton {
    width: 100%;
    height: 44px;
    background: rgba(17,17,17,0.85);
    border: none;
    border-radius: 25px;
    font-family: 'Poppins Bold';
    color: #fff;
    font-size: 1.08em;
    text-align: center;
    justify-content: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 10px 0 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
    outline: none;
    animation: popInInput 0.5s cubic-bezier(.4,0,.2,1);
    backdrop-filter: blur(8px);
}

.login-container .loginframe .loginbutton:hover,
.login-container .loginframe .loginbutton:focus {
    background: rgba(68,68,68,0.85);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px #e0e0e0;
}

.login-container .loginframe .loginbutton:active {
    background: rgba(0,0,0,0.85);
    transform: scale(0.99);
}

.login-container .loginframe .register-link {
    text-align: center;
    font-family: 'Poppins Light';
    margin-top: 18px;
    font-size: 1em;
    color: #444;
}

.login-container .loginframe .registerbutton  {
    color: #111;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.18s;
}

.login-container .loginframe .registerbutton:hover,
.login-container .loginframe .registerbutton:focus {
    color: #444;
    text-decoration: underline;
}

.login-container .loginframe .registerbutton:active {
    color: #000;
    transform: scale(0.97);
}

/* Placeholder modern */
.login-container .loginframe input::placeholder {
    color: #888;
    opacity: 1;
    font-size: 1em;
    letter-spacing: 0.2px;
}

/* Modern Remember Me Checkbox */
.remember-me-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.remember-me-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.remember-me-group input[type="checkbox"]:hover {
    border-color: #999;
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.remember-me-group input[type="checkbox"]:checked {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(68, 68, 68, 0.9));
    border-color: #111;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(17, 17, 17, 0.25);
}

.remember-me-group input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
    opacity: 1;
    animation: checkmarkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkmarkPop {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1); 
    }
}

.remember-me-group label {
    color: #333;
    font-size: 0.95em;
    cursor: pointer;
    font-family: 'Poppins Light';
    transition: color 0.2s ease;
    user-select: none;
}

.remember-me-group label:hover {
    color: #111;
}

.remember-me-group input[type="checkbox"]:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .header {
        display: none;
    }
    .login-container {
        
        min-height: 100vh;
        width: 100vw;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: hidden;
        margin: 0;
        box-sizing: border-box;
    }
    .login-container .loginframe {
        min-width: 0;
        max-width: 100vw;
        width: 100%;
        padding: 16px 8px 18px 8px;
        border-radius: 25px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        margin-left: 12px;
        margin-right: 12px;
        margin-top: 24px;
        margin-bottom: 24px;
    }
    .login-container .loginframe .loginlabel {
        font-size: 1.3em;
        padding: 8px 0;
        margin-bottom: 12px;
    }
    .login-container .loginframe .usernamegroup input,
    .login-container .loginframe .passwordgroup input {
        height: 38px;
        font-size: 0.98em;
        border-radius: 25px;
        padding: 0 10px;
    }
    .login-container .loginframe .loginbutton {
        height: 40px;
        font-size: 1em;
        border-radius: 25px;
        margin-top: 8px;
    }
    .login-container .loginframe .register-link {
        font-size: 0.98em;
        margin-top: 14px;
    }
}









.site-footer {
    
    background: #222;
    color: #fff;
    padding: 30px 0 10px 0;
    text-align: center;
    width: 100%;
    position: static; /* Wichtig: kein fixed oder absolute! */
    font-family: 'Poppins Light', sans-serif; /* Poppins für Footer */
}

.footer-links {
    margin-bottom: 10px;
}
.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    font-family: 'Poppins Light', sans-serif; /* Poppins für Links */
}
.footer-links a {
    position: relative;
    transition: color 0.2s;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: rgb(195, 195, 195);
    border-radius: 25px;
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
    translate: -50% 0;
}

.footer-links a:hover {
    color: rgb(195, 195, 195);
    transform: scale(0.95);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}
.footer-copy {
    font-size: 0.9rem;
    color: #aaa;
    font-family: 'Poppins Light', sans-serif; /* Poppins für Copy */
}

#lang-select {
    font-family: 'Poppins Light', sans-serif;
    font-size: 1.08em;
    padding: 8px 36px 8px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 25px;
    background: #f8f8fa url('data:image/svg+xml;utf8,<svg fill="black" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 14px center/18px 18px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: border 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    color: #222;
    cursor: pointer;
    min-width: 120px;
    box-sizing: border-box; /* verhindert rechten Abstand */
}
#lang-select:focus {
    border-color: #5e5e5e;
    box-shadow: 0 0 0 2px #cce6ff;
    background-color: #f0f7ff;
}
#lang-select:hover {
    border-color: #838383;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    scale: 0.97;
    color: #838383;
}
.footer-lang label {
    margin-right: 10px;
    font-weight: 500;
    color: #444;
    font-family: 'Poppins Light', sans-serif; /* Poppins für Label */
}
.footer-lang {
    margin: 16px 0 10px 0;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins Light', sans-serif; /* Poppins für Lang */
}

.footer-lang:active {
    color: #616161;
    transition: color 0.2s, text-decoration 0.2s;
    scale: 0.98;
}
#lang-select::-ms-expand {
    display: none;
}
#lang-select option {
    background: #fff;
    color: #222;
    font-family: 'Poppins Light', sans-serif;
}

@media (max-width: 900px) {
    #lang-select {
        width: 100%;
        min-width: 80px;
        max-width: 180px;
        box-sizing: border-box;
        margin: 0 auto;
        display: block;
    }
    .footer-lang {
        flex-direction: column;
        gap: 6px;
        max-width: 180px;
        width: 100%;
        align-items: center;
        margin: 10px auto;
        display: flex;
    }
}
