/* Globales Reset und Schriftstil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #F5F5F5;
    color: #333;
    line-height: 1.6;
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

header .hero {
    background: rgba(0, 0, 0, 0.5) url('stollberg.webp') center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h1 span {
    color: #FF7043;
}

.hero p {
    font-size: 1.5rem;
    max-width: 80%;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Upload-Sektion */
.upload-section {
    margin: 2rem auto;
    max-width: 800px;
    padding: 3rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.upload-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1E88E5;
}

form label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.4;
}

form input[type="file"] {
    padding: 0.5rem;
}

form button {
    width: 100%;
    padding: 1rem;
    background-color: #FF7043;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #f4511e;
}

form button:focus {
    outline: 3px solid #1E88E5;
    outline-offset: 2px;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: white;
    margin-top: 2rem;
}

footer a {
    color: #FF7043;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Captcha Box */
.captcha-box {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.captcha-question {
    font-size: 1rem;
    font-weight: bold;
    margin-right: 1rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.lightbox-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.lightbox .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.lightbox .close:hover,
.lightbox .close:focus {
    color: black;
    cursor: pointer;
}

/* Fortschrittsbalken */
.progress-container {
    margin-top: 1.5rem;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 25px;
    background-color: #f3f3f3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #006cff, #006d00);
    width: 0;
    transition: width 0.4s ease;
}

#progress-percentage {
    margin-left: 1rem;
    font-weight: bold;
}
