:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3d3d3d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #bb86fc;
    --accent-hover: #9965f4;
    --warning: #ff6b6b;
    --success: #4ecdc4;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

.warning-message {
    background: var(--warning);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

select, input[type="text"], textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

select:focus, input[type="text"]:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 60px;
}

.slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #444;
    outline: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

button {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 1rem;
}

button:hover:not(:disabled) {
    background: var(--accent-hover);
}

button:disabled {
    background: #666;
    cursor: not-allowed;
}

.required-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Thank you page styles */
.thank-you {
    text-align: center;
    padding: 3rem;
}

.thank-you h1 {
    color: var(--success);
    margin-bottom: 1rem;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.chart-container {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.chart-container h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    text-align: center;
}

.page-inputs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 120px;
}

.input-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.input-group input {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-primary);
}
.full-width {
    grid-column: 1 / -1;
}

.chart-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

.char-counter {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

input:invalid, select:invalid, textarea:invalid {
    border-color: #ff6b6b;
}

input:valid, select:valid, textarea:valid {
    border-color: #4ecdc4;
}

.warning-message {
    background: #ff6b6b;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message {
    background: #4ecdc4;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: 1;
    }
}
/* Füge diese neuen Styles hinzu: */

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(187, 134, 252, 0.1);
    border-radius: 6px;
    border: 1px solid #444;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
}

.consent-checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent);
    color: white;
}

/* Slider Wert-Anzeigen */
.slider-value {
    font-weight: bold;
    color: var(--accent);
    margin-left: 0.5rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .consent-checkbox {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-secondary {
        width: 100%;
    }
}
/* Footer Styles */
.content-wrapper {
    min-height: calc(100vh - 200px);
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid #444;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
}