/* Realistisch (R) - Spezifische Styles */

/* Light Theme - Schwarze Schrift auf hellem Hintergrund */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #1a1a1a !important;
}

.hero-section {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
}

.hero-text {
    color: white;
}

.hero-title, .hero-subtitle, .hero-description {
    color: white;
}

.main-content {
    background: #ffffff;
    color: #1a1a1a !important;
}

.questions-section {
    background: #ffffff;
    color: #1a1a1a !important;
}

.question-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #1a1a1a !important;
}

.question-title {
    color: #1a1a1a !important;
}

.question-description {
    color: #1a1a1a !important;
}

.question-hints {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #1a1a1a !important;
}

.question-hints h4 {
    color: #1a1a1a !important;
}

.question-hints ul {
    color: #1a1a1a !important;
}

.answer-section {
    color: #1a1a1a !important;
}

textarea {
    background: #ffffff;
    border: 2px solid #dee2e6;
    color: #1a1a1a !important;
}

textarea:focus {
    border-color: #1a1a1a !important;
    background: #ffffff;
}

textarea::placeholder {
    color: #1a1a1a !important;
}

.sidebar {
    background: #f8f9fa;
    color: #1a1a1a !important;
}

.sidebar-content {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #1a1a1a !important;
}

.sidebar-content h3 {
    color: #1a1a1a !important;
}

.sidebar-content h4 {
    color: #1a1a1a !important;
}

.sidebar-content ul {
    color: #1a1a1a !important;
}

.sidebar-content a {
    color: #1a1a1a !important;
}

/* Slider Styles */
.slider-container {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 152, 0, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.slider-container label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: #1a1a1a !important;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.importance-slider {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: all var(--transition-normal);
}

.importance-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #FF9800;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
    transition: all var(--transition-normal);
}

.importance-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.6);
}

.importance-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #FF9800;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(255, 152, 0, 0.4);
}

.slider-value {
    display: inline-block;
    background: #FF9800;
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    top: 0.75rem;
    font-size: 1.1rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF9800, #FF5722);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Hero Section für Typ-Seiten */
.hero-section {
    padding-top: 80px;
    min-height: 60vh;
    background: linear-gradient(135deg, #FF9800 0%, #FF5722 100%);
    color: white;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.title-icon {
    font-size: 3.5rem;
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.8;
    max-width: 600px;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Questions Section */
.questions-section {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.questions-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.question-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border-left: 5px solid #FF9800;
    transition: all 0.3s ease;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.question-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.question-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.question-hints {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e0e0e0;
}

.question-hints h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a !important;
}

.question-hints ul {
    list-style: none;
    padding: 0;
}

.question-hints li {
    padding: 0.75rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.question-hints li::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1.1rem;
    font-size: 0.9rem;
}

.answer-section {
    margin-top: 1rem;
}

.answer-section textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.answer-section textarea:focus {
    outline: none;
    border-color: #1a1a1a !important;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.answer-section textarea::placeholder {
    color: #999;
    font-style: italic;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #1a1a1a !important;
    color: #1a1a1a !important;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #FF9800;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.sidebar-card ul {
    list-style: none;
    padding: 0;
}

.sidebar-card li {
    padding: 0.75rem 0;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}
.sidebar-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1.1rem;
    color: #1a1a1a !important;
    font-weight: bold;
}

.sidebar-card a {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-card a:hover {
    color: #1a1a1a !important;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .questions-section {
        padding: 2rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
    }
    
    .sidebar {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .questions-section {
        padding: 1.5rem;
    }
    
    .question-card {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
}

/* Animationen */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.question-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Auto-save indicator */
.auto-save-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auto-save-indicator.show {
    opacity: 1;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #FF9800;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hint Sliders */
.hints-sliders {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hint-slider {
    padding: var(--spacing-sm);
    background: rgba(255, 152, 0, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 152, 0, 0.2);
    margin-bottom: var(--spacing-sm);
}

.hint-slider label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: #1a1a1a !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.hint-slider-input {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.hint-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF9800;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hint-slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FF9800;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


/* Enhanced Navigation Buttons */
.navigation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Enhanced Sidebar */
.sidebar {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl) var(--spacing-xl) calc(var(--spacing-xl) + 1rem);
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 2rem;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.tip-section {
    background: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tip-section h3, .tip-section h4 {
    margin-bottom: var(--spacing-md);
    color: #1a1a1a !important;
    font-weight: 600;
}

.tip-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-section li {
    padding: var(--spacing-sm) 0;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: var(--spacing-md);
}

.tip-section li:before {
    content: '•';
    color: #FF9800;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.75rem;
    font-size: 1.1rem;
}

.tip-section li:last-child {
    border-bottom: none;
}

.tip-section a {
    color: #FF9800;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tip-section a:hover {
    color: #E65100;
    text-decoration: underline;
}
