/* Basis-Styles (Header, Body, etc.) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark Hintergrund */
    color: #e0e0e0; /* Heller Text für Kontrast */
}

header {
    background-color: #1e1e1e; /* Darker für Header */
    color: #fff;
    padding: 10px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Analyse-Seite Styles */
.analysis-content {
    text-align: center;
}

.analysis-image {
    width: 100%;
    height: 300px; /* Halbierte Höhe */
    object-fit: cover;
    margin-bottom: 20px;
}

.analysis-content article {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Grid und Card Styles für Übersicht */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.analysis-card {
    display: block;
    background-color: #1e1e1e; /* Dark Card BG */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #e0e0e0; /* Heller Text */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s; /* Hover-Animation */
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.analysis-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.analysis-card h3 {
    padding: 10px 15px 0;
    margin: 0;
    font-size: 1.2em;
    color: #fff; /* Heller für Titles */
}

.preview-text {
    padding: 0 15px;
    font-size: 0.9em;
    color: #b3b3b3; /* Grauer Text für Preview */
}

.read-more {
    display: block;
    padding: 10px 15px;
    text-align: right;
    color: #4da6ff; /* Blauer Link für Dark Mode */
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    color: #b3b3b3;
}

/* Responsive Fixes */
@media (max-width: 600px) {
    .analysis-grid {
        grid-template-columns: 1fr;
    }
}
/* Responsive Grid */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
nav a {
    padding: 6px 10px;
    font-size: 0.9rem;
}
.analysis-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}
@media (max-width: 600px) {
    .analysis-content {
        padding: 15px;
        font-size: 1rem;
        line-height: 1.55;
    }
}
body {
    background: red !important;
}
/* ----- MOBILE OPTIMIERUNG ----- */

@media (max-width: 800px) {

    .analysis-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .analysis-content {
        padding: 15px;
        font-size: 1rem;
        line-height: 1.6;
    }

    header nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    header nav a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .hero-image, .analysis-header-image, .header-image {
        width: 100%;
        height: auto;
    }
}
