/* --- Farb-Variablen & Basis-Einstellungen --- */
:root {
    --bg-dark: #0a0a0c;        /* Sehr dunkles Grau, fast Schwarz */
    --bg-card: #141418;        /* Etwas helleres Schwarz für die Boxen */
    --text-main: #f0f0f0;      /* Weiches Weiß für Text */
    --text-muted: #a0a0a0;     /* Grau für Zusatzinfos */
    --accent-red: #ff2a2a;     /* Neon-Rot */
    --accent-dark: #8b0000;    /* Dunkelrot für Verläufe */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Futuristische Schrift für Überschriften */
h1, h2, h3, .logo-text, .nav-links a, .category {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px); /* Milchglas-Effekt */
    border-bottom: 1px solid rgba(255, 42, 42, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px; /* Passt die Größe des Bildes an */
    width: auto;
}

.logo-text {
    font-size: 1.8em;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.5); /* Leichtes rotes Leuchten */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-red);
}

/* Kleiner roter Strich unter dem Menüpunkt beim Hovern */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* --- Hero Sektion --- */
.hero {
    text-align: center;
    padding: 120px 20px;
    /* Ein dunkler Verlauf, der in der Mitte leicht rötlich glüht */
    background: radial-gradient(circle at center, rgba(139, 0, 0, 0.15) 0%, var(--bg-dark) 70%);
    border-bottom: 1px solid #1a1a1a;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 42, 42, 0.4);
}

.hero p {
    font-size: 1.2em;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Blog Bereich --- */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    font-size: 2em;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-red);
    padding-left: 15px;
}

/* Grid für die Artikel (automatische Anpassung an Bildschirmgröße) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- Die einzelnen Artikel-Karten --- */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid #222;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

/* Roter Balken links an der Karte */
.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background-color: var(--accent-red);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 42, 42, 0.1);
}

.category {
    color: var(--accent-red);
    font-size: 0.9em;
    font-weight: 700;
}

.post-card h3 {
    font-size: 1.5em;
    margin: 10px 0 15px;
}

.excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 20px;
    border-top: 1px solid #222;
    padding-top: 15px;
}

/* Der Weiterlesen-Link */
.read-more {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.read-more .arrow {
    transition: margin-left 0.3s;
}

.read-more:hover {
    color: var(--accent-red);
}

.read-more:hover .arrow {
    margin-left: 5px; /* Pfeil rutscht beim Hovern nach rechts */
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #1a1a1a;
    color: var(--text-muted);
    font-size: 0.9em;
    background-color: var(--bg-card);
}