:root {
    --primary-color: #d32f2f;
    --primary-hover: #b71c1c;
    --bg-color: #f4f6f8;
    --card-bg: #ffffff;
    --text-main: #2d3748;
    --text-muted: #4a5568;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.topology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
    
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    
    text-decoration: none; 
    display: block; 
    color: inherit;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    text-decoration: none;
    color: white;
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.back-link:hover {
    background-color: var(--primary-hover);
}

.detail-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.topology-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    background-color: #eee;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #ddd;
}

.detail-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

.pros ul, .cons ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.pros h4 { 
    color: #2e7d32;
    margin-bottom: 0.5rem; 
}

.cons h4 { 
    color: #c62828;
    margin-bottom: 0.5rem; 
}

.site-footer {
    background-color: #ffffff; /* Fester weißer Hintergrund */
    border-top: 2px solid #cbd5e0; /* Fester, neutraler grauer Strich oben */
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 5rem; /* Drückt den Footer immer schön weit nach unten */
    width: 100%;
}

.site-footer p {
    color: #718096; /* Festes, neutrales Grau für den Text */
    font-size: 0.95rem;
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Feste Schriftart */
}