:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-blue: #3498db;
    --accent-blue-dim: #2980b9;
    --accent-green: #2ecc71; /* Für Sitzungen/Positives */
    --accent-red: #e74c3c;   /* Für War/Negatives */
    --border-color: #333;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.nav-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--accent-blue);
    text-transform: uppercase;
}

#dateFilter {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 4px;
    outline: none;
}

/* Layout */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 80vh;
}

/* Protocol Card (Overview) */
.protocol-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.protocol-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
}

.meta-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge {
    color: var(--accent-blue);
    font-weight: 600;
}

.protocol-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.excerpt {
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Detail View */
.hidden { display: none; }

.btn-back {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding: 0;
}

.btn-back:hover { text-decoration: underline; }

.detail-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.detail-header h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }

.detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-body { font-size: 1.1rem; color: #ddd; }
.detail-body h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--accent-blue); }
.detail-body ul { margin-left: 1.5rem; margin-bottom: 1rem; }
.detail-body p { margin-bottom: 1rem; }

/* Media Elements */
.media-section { margin-top: 2rem; }
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 8px;
    background: #000;
}
.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: opacity 0.2s;
}
.image-grid img:hover { opacity: 0.8; }

.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}