@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;
    color: #111;
}

/* Grundfarben und Schrift */
body {
    background: #fff;
    color: #18181b;
    font-family: 'Poppins Light', sans-serif;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, label {
    color: #18181b;
    font-family: 'Poppins Bold', sans-serif;
}

.header {
    position: absolute;
    top: 24px;
    left: 32px;
    background: rgba(230,230,235,0.85);
    color: #18181b;
    border-radius: 25px;
    box-shadow: 0 4px 24px #0002;
    padding: 18px 32px;
    font-family: 'Poppins Bold', sans-serif;
    text-align: left;
    width: fit-content;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.3s;
    margin: 0;
    z-index: 10;
    animation: headerFadeIn 0.8s cubic-bezier(0.4,0,0.2,1) 0.2s both;
}
@keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95);}
    to { opacity: 1; transform: translateY(0) scale(1);}
}

.header:hover {
    background: #fff;
    color: #111;
    box-shadow: 0 8px 32px #0003;
    transform: scale(1.04) rotate(-1deg);
}

.header .big, .header .bite {
    display: inline-block;
    font-size: 2.2rem;
    margin: 0 6px;
    animation: logoBounce 1.2s cubic-bezier(.68,-0.55,.27,1.55) 0.5s both;
}
@keyframes logoBounce {
    0% { transform: scale(0.8);}
    60% { transform: scale(1.15);}
    80% { transform: scale(0.95);}
    100% { transform: scale(1);}
}

.signup_container {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    padding: 0;
    animation: fadeInBg 1.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes fadeInBg {
    from { opacity: 0;}
    to { opacity: 1;}
}

.signup-form {
    background: rgba(245,245,250,0.92);
    border-radius: 25px;
    box-shadow: 0 8px 32px #0002;
    padding: 40px 32px 32px 32px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 24px 0;
    backdrop-filter: blur(24px) saturate(1.2);
    animation: formSlideUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.3s both;
}
@keyframes formSlideUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

.signup-form h2 {
    color: #18181b;
    font-size: 2rem;
    margin-bottom: 18px;
    text-align: center;
    animation: fadeInTitle 1s cubic-bezier(0.4,0,0.2,1) 0.5s both;
}
@keyframes fadeInTitle {
    from { opacity: 0; transform: scale(0.95);}
    to { opacity: 1; transform: scale(1);}
}

.signup-form input,
.signup-form select,
.signup-form .address {
    width: 100%;
    height: 46px;
    margin-bottom: 14px;
    padding: 0 16px;
    border-radius: 25px;
    font-family: 'Poppins Light', sans-serif;
    border: none;
    font-size: 1.08rem;
    background: rgba(230,230,235,0.85);
    color: #18181b;
    box-shadow: 0 2px 12px #0002;
    transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.18s;
    outline: none;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form .address:focus {
    background: rgba(230,230,235,1);
    box-shadow: 0 2px 16px #1112;
    color: #18181b;
    transform: scale(1.03);
}

.signup-form input::placeholder,
.signup-form .address::placeholder {
    color: #888;
    opacity: 1;
    font-size: 1em;
    letter-spacing: 0.2px;
    transition: color 0.3s;
}

.phone-container {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    animation: fadeInPhone 1.1s cubic-bezier(0.4,0,0.2,1) 0.7s both;
}
@keyframes fadeInPhone {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

.phone-prefix {
    width: 32%;
    min-width: 70px;
    height: 46px;
    border-radius: 25px;
    font-family: 'Poppins Light', sans-serif;
    font-size: 1.08rem;
    padding-left: 8px;
    background: rgba(230,230,235,0.85);
    color: #18181b;
    border: none;
    transition: background 0.18s, color 0.18s, transform 0.18s;
    appearance: none;
}
.phone-prefix:focus {
    background: rgba(230,230,235,1);
    transform: scale(1.03);
}

.phone {
    width: 68%;
    height: 46px;
    border-radius: 25px;
    font-family: 'Poppins Light', sans-serif;
    font-size: 1.08rem;
    padding-left: 8px;
    background: rgba(230,230,235,0.85);
    color: #18181b;
    border: none;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
.phone:focus {
    background: rgba(230,230,235,1);
    transform: scale(1.03);
}

/* Vorschlagslisten für Country und Address */
#country-suggestions, #address-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(245,245,250,0.98);
    border-radius: 25px;
    box-shadow: 0 8px 32px #0002;
    z-index: 1000;
    font-family: 'Poppins Light', sans-serif;
    font-size: 1rem;
    margin-top: 2px;
    max-height: 220px;
    overflow-y: auto;
    color: #18181b;
    animation: fadeInSuggest 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes fadeInSuggest {
    from { opacity: 0; transform: translateY(10px);}
    to { opacity: 1; transform: translateY(0);}
}

#country-suggestions div,
#address-suggestions div {
    padding: 14px 18px;
    cursor: pointer;
    color: #18181b;
    background: rgba(245,245,250,0.98);
    border-radius: 25px;
    margin: 4px 8px;
    border: none;
    transition: background 0.18s, color 0.18s, transform 0.18s;
}
#country-suggestions div:hover,
#address-suggestions div:hover {
    background: #111;
    color: #fff;
    transform: scale(1.04);
}

/* Fehlermeldungen */
#country-error,
#address-error,
#password-error,
#signup-message {
    color: #ff4d4f;
    font-family: 'Poppins Light', sans-serif;
    font-size: 1em;
    margin-bottom: 12px;
    display: none;
    text-align: left;
    animation: shakeError 0.4s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shakeError {
    10%, 90% { transform: translateX(-2px);}
    20%, 80% { transform: translateX(4px);}
    30%, 50%, 70% { transform: translateX(-8px);}
    40%, 60% { transform: translateX(8px);}
    100% { transform: translateX(0);}
}

#signup-message {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 1.05em;
    animation: fadeInMsg 0.7s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes fadeInMsg {
    from { opacity: 0; transform: scale(0.95);}
    to { opacity: 1; transform: scale(1);}
}

/* Button */
.signup-button {
    width: 100%;
    height: 48px;
    background: white;
    border: none;
    border-radius: 25px;
    font-family: 'Poppins Bold', sans-serif;
    color: #18181b;
    font-size: 1.12em;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 16px #1111;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
    animation: fadeInBtn 1.1s cubic-bezier(0.4,0,0.2,1) 0.8s both;
}
@keyframes fadeInBtn {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}

.signup-button:hover,
.signup-button:focus {
    background: black;
    color: #fff;
    transform: scale(1.07) rotate(-1deg);
    box-shadow: 0 6px 24px #1112;
}

.signup-button:active {
    background: #111;
    color: #fff;
    transform: scale(0.99);
}

.signup-button:disabled {
    background: #ddd;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* AGB und Datenschutz Checkbox */
.terms-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0 15px 0;
    padding: 16px;
    background: rgba(245,245,250,0.6);
    border-radius: 25px;
    border: 1px solid rgba(230,230,235,0.8);
    animation: fadeInTerms 1.2s cubic-bezier(0.4,0,0.2,1) 0.9s both;
}

@keyframes fadeInTerms {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.terms-agreement input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.terms-agreement input[type="checkbox"]:hover {
    border-color: #999;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.terms-agreement input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #18181b 0%, #4a4a4a 100%);
    border-color: #18181b;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.25);
}

.terms-agreement input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    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); 
    }
}

.terms-agreement input[type="checkbox"]:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.1);
}

.terms-agreement label {
    color: #444;
    font-size: 0.95em;
    cursor: pointer;
    font-family: 'Poppins Light';
    transition: color 0.2s ease;
    user-select: none;
    line-height: 1.4;
    flex: 1;
}

.terms-agreement label:hover {
    color: #18181b;
}

.terms-agreement label a {
    color: #18181b;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-agreement label a:hover {
    color: #000;
    text-decoration-color: #000;
}

#terms-error {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #ff4d4f;
    animation: shakeError 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

/* Responsive */
@media (max-width: 900px) {
    .signup-form {
        max-width: 98vw;
        padding: 18px 2vw;
        border-radius: 25px;
    }
    .header {
        display: none;
    }
    .phone-container {
        flex-direction: column;
        gap: 0;
    }
    .phone-prefix, .phone {
        width: 100%;
        min-width: 0;
        margin-bottom: 10px;
    }
}








.site-footer {
    margin-top: 10vh;
    background: #222;
    color: #fff;
    padding: 30px 0 10px 0;
    text-align: center;
    width: 100%;
    position: static; /* Wichtig: kein fixed oder absolute! */
}

.footer-links {
    margin-bottom: 10px;
}
.footer-links a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.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;
}


#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;
    /* SVG arrow fill changed to black */
    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;
}
#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;
}
.footer-lang {
    margin: 16px 0 10px 0;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.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;
}

@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;
    }
}