/* Grundlayout */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, Arial, sans-serif;
    background-color: #f5f6f7;
    color: #222;
}

/* Sticky Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.title {
    font-size: 20px;
    font-weight: 600;
}

/* Home Button */
.home-btn {
    padding: 6px 14px;
    border-radius: 999px;
    background-color: #e6f2fb;
    border: 1px solid #cfe6f7;
    color: #006bb3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.home-btn:hover {
    background-color: #d6ebfa;
}

/* Content: responsive Spalten */
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px;
    padding: 0 16px;
}

/* Blogpost */
.post {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Bilder kleiner */
.post img {
    width: 100%;
    height: auto;
    display: block;
}

/* Textbereich */
.post-text {
    padding: 16px 18px;
}

.post-text h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
}

.post-text p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

/* Responsive Anpassung */
@media (min-width: 1200px) {
    .content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) and (min-width: 700px) {
    .content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 699px) {
    .content {
        grid-template-columns: 1fr;
    }
}


