/* CSS Reset und Grundeinstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #e1e6f1;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    position: relative;
    min-height: 100vh;
    padding: 20px;
}

/* Dekorative Hintergrund-Elemente - ausgeblendet für klassisches Design */
.bg-decoration {
    display: none;
}

.bg-decoration-1 {
    display: none;
}

.bg-decoration-2 {
    display: none;
}

/* Header Bereich */
.header {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.header-content {
    background: #004289;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 66, 137, 0.2);
}

.header-title {
    font-size: 2.5em;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.header-subtitle {
    font-size: 1.1em;
    color: #e1e6f1;
    font-weight: 400;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* Survey List / Grid */
.survey-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

/* Survey Card */
.survey-card {
    background: white;
    border-radius: 6px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    border: 2px solid #e1e6f1;
    animation: fadeInUp 0.4s ease-out backwards;
}

.survey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #004289;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.survey-card:hover {
    border-color: #004289;
    box-shadow: 0 3px 8px rgba(0, 66, 137, 0.15);
}

.survey-card:hover::before {
    transform: scaleY(1);
}

.survey-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.survey-card-info {
    flex: 1;
}

.survey-card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #004289;
    margin-bottom: 8px;
    line-height: 1.4;
}

.survey-card-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
}

.survey-card-icon {
    flex-shrink: 0;
    color: #fab600;
    transition: transform 0.2s ease;
}

.survey-card:hover .survey-card-icon {
    transform: translateX(4px);
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 30px 24px;
        border-radius: 6px;
    }
    
    .header-title {
        font-size: 2em;
    }
    
    .header-subtitle {
        font-size: 1em;
    }
    
    .survey-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .survey-card {
        padding: 20px;
    }
    
    .survey-card-title {
        font-size: 1.15em;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 12px;
    }
    
    .header {
        margin-bottom: 24px;
    }
    
    .header-content {
        padding: 24px 20px;
        border-radius: 6px;
    }
    
    .header-title {
        font-size: 1.6em;
    }
    
    .survey-card-content {
        gap: 12px;
    }
}

/* Hover-Effekte für Touch-Geräte deaktivieren */
@media (hover: none) {
    .survey-card:hover {
        transform: none;
    }
    
    .survey-card:active {
        transform: scale(0.98);
    }
}

/* Fokus-Styles für Barrierefreiheit */
.survey-card:focus {
    outline: 2px solid #fab600;
    outline-offset: 2px;
}

/* Loading State (optional für später) */
.survey-card.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Empty State Styling */
.survey-list p[style*="text-align: center"] {
    grid-column: 1 / -1;
    padding: 60px 20px;
    font-size: 1.1em;
}