/* css/view.welcome.css - v2.2.7 (UI Refresh + Hover Fix) */

#welcome-view { display: flex; flex-direction: column; min-height: 100vh; }
.welcome-container { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 2rem 1rem; }
.hero-section { width: 100%; max-width: 700px; margin-bottom: 4rem; }
.hero-section h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem; text-align: center; }
.subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2.5rem auto; }
.session-input-box { background: var(--surface-primary); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border-primary); }
.session-input-box h2 { margin-bottom: 0.5rem; }
.session-input-box p { color: var(--text-secondary); margin-bottom: 1.5rem; }
#session-link-form { display: flex; flex-wrap: wrap; gap: 0.75rem; }
#session-link-form input { flex: 1 1 300px; padding: 0.875rem 1rem; border: 1px solid var(--border-primary); border-radius: calc(var(--radius) - 4px); font-size: 1rem; background-color: var(--background-secondary); color: var(--text-primary); }
#session-link-form input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 20%, transparent); }
#session-link-form button { flex: 1 1 150px; }

.features-section { width: 100%; max-width: 1000px; }
.features-section h2 { margin-bottom: 2rem; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* --- V2.2.7 UI Refresh: Feature Card Stile --- */
.feature-card { 
    background: var(--surface-primary); 
    padding: 1.5rem; 
    border-radius: var(--radius); 
    border: 1px solid var(--border-primary); 
    text-align: left; 
    /* Flexbox für Icon + Content */
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    /* V2.2.7 Hover-Effekt: Transition hinzugefügt */
    transition: transform 0.3s ease, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

/* V2.2.7 Hover-Effekt: Neue :hover-Regel */
.feature-card:hover {
    transform: translateY(-5px); /* Bewegung */
    border-color: var(--accent-color); /* Farbänderung (Rahmen) */
    box-shadow: var(--shadow-md); /* Schatten für "Anheben"-Effekt */
}

.feature-icon {
    flex-shrink: 0;
    /* Farbe des Icons an Akzentfarbe koppeln */
    color: var(--accent-color); 
}
.feature-icon svg {
    width: 40px;
    height: 40px;
}
.feature-content h3 { margin-top: 0; margin-bottom: 0.5rem; }
.feature-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

/* V2.2.7 UI Refresh: Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animated-card {
    opacity: 0; /* Standardmäßig unsichtbar */
    animation: fadeInUp 0.6s ease-out forwards;
}
/* Zeitliche Versetzung der Animation */
.animated-card:nth-child(1) { animation-delay: 0.1s; }
.animated-card:nth-child(2) { animation-delay: 0.2s; }
.animated-card:nth-child(3) { animation-delay: 0.3s; }
/* --- ENDE V2.2.7 UI Refresh --- */


#login-view { justify-content: center; align-items: center; min-height: 100vh; padding: 1rem; background: linear-gradient(135deg, var(--background-secondary), var(--background-primary)); }
.login-container { background: var(--surface-primary); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; width: 100%; max-width: 420px; border: 1px solid var(--border-primary); }
.login-container h1 { margin-bottom: 2rem; }

@media (min-width: 768px) {
    .welcome-container { padding: 2rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

