
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- BODY --- */
body {
    font-family: 'Roboto', sans-serif;
    color: #3c3c3b;
    background-color: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* --- CONTAINER --- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #fff;
    padding: clamp(20px,3vw,40px);
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    width: 90%;
    max-width: 700px;
    gap: 15px;
}

/* --- CONSENT POPUP --- */
#consent_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    padding: 25px;
    z-index: 9999;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

#consent_popup h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #000;
}

#consent_popup p {
    margin: 10px 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #3c3c3b;
}

#consent_popup .submit-button0, #consent_popup .submit-button1 {
    background-color: #3c3c3b;
    color: #fff;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
    margin: 10px 8px;
}

/* Hover for "Ablehnen" button */
#consent_popup .submit-button0:hover {
    background-color: #28a745;
}

/* Hover for "Akzeptieren" button */
#consent_popup .submit-button1:hover {
    background-color: #28a745;
}

/* --- HEADING --- */
h1 {
    font-size: clamp(1.8em,5vw,2.8em);
    font-weight: 1000;
    margin-bottom: 20px;
    color: #3c3c3b;;
    word-wrap: break-word;
}


#send {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    font-size: 1.5em;
    font-weight: 600;
    color: #fff;
    background-color: #ed1c24;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: background-color 0.3s, transform 0.2s;
    margin: 20px auto;
}

#send:hover {
    background-color: #d81a20;
    transform: scale(1.05);
}

#town {
    width: 80%;
    color: #3c3c3b;
    border-radius: 25px;
    border: none;
    font-size: clamp(1em, 2vw, 1em);
    text-align: center;
    outline: none;
    background-color: #ebebeb;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.05),      
                -4px -4px 8px rgba(255,255,255,0.7);
    transition: box-shadow 0.3s, background 0.3s;
    padding: 12px 20px;
}

#town::placeholder {
    color: #3c3c3b;
}

#town:focus {
    box-shadow: 0 0 0 3px rgba(230,57,70,0.3);
    background: #fff;
}

#location {
    border: none;
    background: none;
    font-size: clamp(1em, 3vw, 1.6em);
    cursor: pointer;
    color: #ed1c24;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
}

#location:hover {
    color: #d81a20;
    transform: scale(1.1);
}

#count {
    width: 90px;
    color: #3c3c3b;
    font-size: clamp(1.5em, 2vw, 1.5em);
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border: none;
    border-radius: 15px;
    background-color: #ebebeb;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.05),      
                -4px -4px 8px rgba(255,255,255,0.7);
    outline: none;
    transition: background 0.3s, box-shadow 0.3s;
}

#count:focus {
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.3); /* red glow on focus */
}


/* --- FOOTER --- */
.footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #636362;;
}

.footer-link {
    color: #ed1c24;
    text-decoration: none;
    font-weight: 600;
}

.legal {
    margin-top: 10px;
    font-size: 0.6em;
    color: #636362;
}

.legal a {
    color: #636362;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.legal a:hover {
    color: #3c3c3b;
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    .container {
        padding: clamp(15px, 5vw, 25px);
        width: 95%;
    }
}
