/* Grundlayout */
body {
    background: #121212;
    color: #eee;
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: #1e1e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
    z-index: 1000;
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
}
.logo span {
    color: #ff5252;
}
.nav {
    display: flex;
    gap: 1.5rem;
}
.nav a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav a:hover {
    color: #ff5252;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #ff5252, #ff7b7b);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
}
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn {
    background: #fff;
    color: #ff5252;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover {
    background: #ff5252;
    color: #fff;
}

/* Container */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 20px;
}

/* Filter */
.filter {
    display: none; /* Startseite: ausgeblendet */
    flex-wrap: wrap;
    gap: 1rem;
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 20px;
}
.filter label {
    font-weight: 500;
    margin-right: 0.5rem;
}
.filter select {
    background: #2a2a2a;
    color: #eee;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
}

/* Posts */
.post {
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.post summary {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    align-items: baseline;
}
.post summary::marker {
    display: none;
}
.post summary h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #ff5252;
}
.post summary small {
    margin-left: 1rem;
    color: #aaa;
}
.post div {
    margin-top: 0.8rem;
    color: #ddd;
    max-height: 3em;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post[open] div {
    max-height: none;
}

/* Info Box */
.info {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.info h2 {
    color: #ff5252;
}

/* Footer */
.footer {
    background: #1e1e1e;
    text-align: center;
    padding: 1.5rem;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav {
        margin-top: 10px;
        gap: 1rem;
        flex-wrap: wrap;
    }
}
