/* Step Header */
.step-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.step-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><defs><pattern id="stars" width="400" height="400" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1.5" fill="rgba(255,255,255,0.8)"/><circle cx="150" cy="80" r="1" fill="rgba(255,255,255,0.6)"/><circle cx="250" cy="120" r="2" fill="rgba(255,255,255,0.9)"/><circle cx="350" cy="60" r="1.2" fill="rgba(255,255,255,0.7)"/><circle cx="80" cy="180" r="0.8" fill="rgba(255,255,255,0.5)"/><circle cx="200" cy="200" r="1.8" fill="rgba(255,255,255,0.8)"/><circle cx="320" cy="180" r="1.1" fill="rgba(255,255,255,0.6)"/><circle cx="120" cy="280" r="1.3" fill="rgba(255,255,255,0.7)"/><circle cx="280" cy="320" r="0.9" fill="rgba(255,255,255,0.5)"/><circle cx="360" cy="280" r="1.6" fill="rgba(255,255,255,0.8)"/><circle cx="40" cy="320" r="1.4" fill="rgba(255,255,255,0.6)"/><circle cx="180" cy="360" r="0.7" fill="rgba(255,255,255,0.4)"/><circle cx="300" cy="40" r="1.7" fill="rgba(255,255,255,0.9)"/><circle cx="100" cy="40" r="1.1" fill="rgba(255,255,255,0.6)"/><circle cx="220" cy="40" r="0.9" fill="rgba(255,255,255,0.5)"/><circle cx="380" cy="120" r="1.3" fill="rgba(255,255,255,0.7)"/><circle cx="60" cy="120" r="1.5" fill="rgba(255,255,255,0.8)"/><circle cx="140" cy="140" r="0.8" fill="rgba(255,255,255,0.4)"/><circle cx="260" cy="160" r="1.2" fill="rgba(255,255,255,0.6)"/><circle cx="340" cy="200" r="1.4" fill="rgba(255,255,255,0.7)"/><circle cx="20" cy="240" r="1.0" fill="rgba(255,255,255,0.5)"/><circle cx="160" cy="240" r="1.6" fill="rgba(255,255,255,0.8)"/><circle cx="240" cy="240" r="0.7" fill="rgba(255,255,255,0.4)"/><circle cx="320" cy="240" r="1.3" fill="rgba(255,255,255,0.7)"/><circle cx="80" cy="300" r="1.1" fill="rgba(255,255,255,0.6)"/><circle cx="200" cy="300" r="1.5" fill="rgba(255,255,255,0.8)"/><circle cx="280" cy="300" r="0.9" fill="rgba(255,255,255,0.5)"/><circle cx="360" cy="300" r="1.2" fill="rgba(255,255,255,0.6)"/><circle cx="40" cy="360" r="1.4" fill="rgba(255,255,255,0.7)"/><circle cx="120" cy="360" r="0.8" fill="rgba(255,255,255,0.4)"/><circle cx="240" cy="360" r="1.6" fill="rgba(255,255,255,0.8)"/><circle cx="320" cy="360" r="1.0" fill="rgba(255,255,255,0.5)"/></pattern></defs><rect width="400" height="400" fill="url(%23stars)"/></svg>');
    opacity: 0.6;
    animation: starsTwinkle 8s ease-in-out infinite, starsFloat 15s linear infinite;
}

.step-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.step-description {
    font-size: 1.1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 300;
}

.step-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #4ade80, #22c55e);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% {
        box-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    }
}

.progress-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Content */
.step-main {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 120px);
    padding: 2rem 0;
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

.step-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f8f9fa;
}

.step-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-intro p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Form Styles */
.reflection-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-group:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.question-hint {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-style: italic;
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    background: white;
}

.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.detailed-hints {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-radius: 10px;
    border-left: 4px solid #f39c12;
}

.detailed-hints h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #d68910;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.detailed-hints li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #8b4513;
}

.detailed-hints strong {
    color: #d68910;
    font-weight: 600;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f8f9fa;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
    background: linear-gradient(45deg, #22c55e, #16a34a);
}

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

.tools-box, .resources-box {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tools-box:hover, .resources-box:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.tools-box h4, .resources-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tool-categories, .resource-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tool-category, .resource-section {
    border-left: 3px solid #667eea;
    padding-left: 1rem;
}

.tool-category h5, .resource-section h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tool-category ul, .resource-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tool-category li, .resource-section li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.tool-category strong, .resource-section strong {
    color: #2c3e50;
    font-weight: 600;
}

.resource-section a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.resource-section a:hover {
    text-decoration: underline;
}

/* ===== STERNE-ANIMATION KEYFRAMES ===== */
@keyframes starsTwinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    25% { 
        opacity: 0.8; 
        transform: scale(1.1);
    }
    50% { 
        opacity: 0.4; 
        transform: scale(0.9);
    }
    75% { 
        opacity: 0.9; 
        transform: scale(1.05);
    }
}

@keyframes starsFloat {
    0% { 
        transform: translateY(0px) translateX(0px);
    }
    25% { 
        transform: translateY(-10px) translateX(5px);
    }
    50% { 
        transform: translateY(-5px) translateX(-3px);
    }
    75% { 
        transform: translateY(-15px) translateX(8px);
    }
    100% { 
        transform: translateY(0px) translateX(0px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .step-info h1 {
        font-size: 2rem;
    }
    
    .progress-bar {
        width: 150px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .step-container {
        padding: 0 1rem;
    }
    
    .questions-column, .tools-box, .resources-box {
        padding: 1rem;
    }
    
    .step-info h1 {
        font-size: 1.8rem;
    }
    
    .form-group {
        padding: 1rem;
    }
}