/* Grundkonfiguration mit deinen exakten Farben */
:root {
    --uwe-orange: #E67E00; /* Kräftiges Orange aus ueber-mich.php */
    --uwe-blue: #66A3FF;   /* Helles Blau aus ueber-mich.php */
    --bg-light: #f4f4f4;
    --text-dark: #333;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header & Footer (Orange) */
header, footer {
    background: var(--uwe-orange);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1, footer h2 {
    margin: 0;
    font-size: 2rem;
}

/* Navigation (Helles Blau) */
nav {
    background: var(--uwe-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Hamburger Button für Mobil */
.hamburger {
    display: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
    padding: 15px 20px;
    background: var(--uwe-blue);
    border: none;
    width: 100%;
    text-align: left;
    font-weight: bold;
}

/* Blog-Grid & Karten-Design */
.grid {
    display: grid;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border-top: 5px solid var(--uwe-orange);
}

.card:hover {
    transform: translateY(-5px);
}

.card img, .no-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.card-content {
    padding: 25px;
    flex-grow: 1;
}

.card h3 {
    margin: 0 0 10px 0;
    color: var(--uwe-blue);
    font-size: 1.4rem;
}

.date {
    color: #888;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

/* --- MOBILE ANPASSUNGEN (Vertikales Menü) --- */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Hamburger Button auf Handy zeigen */
    }

    .nav-container {
        display: none; /* Menü standardmäßig einklappen */
        flex-direction: column; /* Menüpunkte UNTEREINANDER stapeln */
        width: 100%;
        background: var(--uwe-blue);
    }

    /* Zeigt den Container, wenn das übergeordnete <nav> die Klasse .open hat */
    nav.open .nav-container {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: left;
        padding: 15px 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    header h1 { font-size: 1.6rem; }
    
    .grid {
        padding: 20px 15px;
        gap: 20px;
    }
}

