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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

h1 {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 30px;
    font-size: 2.2em;
    font-weight: 300;
    text-align: left;
}

.description {
    padding: 30px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.info-box {
    padding: 0 30px 25px 30px;
}

.info-box-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ffb74d;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.info-box-toggle:hover {
    background: linear-gradient(135deg, #ffe8cc 0%, #ffd699 100%);
    border-color: #ff9800;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.info-box-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.toggle-text {
    flex: 1;
    text-align: left;
}

.info-box-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.info-box-content.active {
    max-height: 1500px;
    transition: max-height 0.5s ease;
}

.zip-guide {
    padding: 20px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    border-left: 4px solid #ffb74d;
    margin-top: 10px;
}

.zip-guide h3 {
    color: #1565c0;
    font-size: 1.1em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.zip-guide h3:first-child {
    margin-top: 0;
}

.zip-guide h4 {
    color: #333;
    font-size: 1em;
    margin-top: 12px;
    margin-bottom: 8px;
}

.zip-guide ul {
    margin-left: 20px;
    color: #555;
    line-height: 1.8;
}

.zip-guide ul li {
    margin-bottom: 8px;
}

.instruction-section {
    margin-bottom: 12px;
}

.instruction-section ol {
    margin-left: 20px;
    color: #555;
    line-height: 1.8;
}

.instruction-section ol li {
    margin-bottom: 8px;
}

.instruction-section p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-left: 0;
}

form {
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.95em;
}

.required {
    color: #d32f2f;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1976d2;
}

select {
    cursor: pointer;
    background-color: white;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload-area {
    position: relative;
}

input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.file-upload-btn:hover {
    background: #1565c0;
}

.plus-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.file-list {
    margin-top: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 8px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-name {
    font-weight: 500;
    color: #333;
}

.file-size {
    color: #666;
    font-size: 0.9em;
}

.remove-file {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file:hover {
    background: #d32f2f;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.required-note {
    color: #666;
    font-size: 0.9em;
}

.submit-btn {
    background: #1976d2;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #1565c0;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Progress bar */
.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #1976d2;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: #666;
}

/* Success/Error messages */
.message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
}

.message.success {
    background: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

/* Drag and drop styles */
.file-upload-area.drag-over {
    background-color: #e3f2fd;
    border: 2px dashed #1976d2;
    border-radius: 8px;
    padding: 20px;
}

.file-upload-area.drag-over::before {
    content: "Dateien hier ablegen...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1976d2;
    font-weight: bold;
    font-size: 1.2em;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .container {
        margin: 10px;
    }
    
    h1 {
        font-size: 1.8em;
        padding: 20px;
    }
    
    .description,
    form {
        padding: 20px;
    }
    
    .form-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .submit-btn {
        width: 100%;
    }
}