* {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: serif;
    font-size: large;
    line-height: 1.6;
    color: #1f1f1f;
    background-color: #ececec;
}

.wrapper {
    width: 100%;
    max-width: 2560px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

.header {
    padding: 0 20px 0 20px;
    display: flex;            /* Flexbox aktivieren */
    justify-content: space-between; /* Elementen maximalen Abstand geben */
    align-items: center;      /* Vertikale Ausrichtung (optional) */
    width: 100%;              /* Volle Breite nutzen */
}

.header a {
    color: #1f1f1f;
    text-decoration: underline;
}

.header a:hover {
    color: #1f1f1f;
    text-decoration: none;
}

a {
    color: #1f1f1f;
    text-decoration: underline;
}

a:hover {
    color: #1f1f1f;
    text-decoration: none;
}



.container-neue-blog {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    width: 100%;
}

.blog-item {
    flex: 1;
    max-width: 32%;
}

.blog-item img {
    width: 100%;
    height: auto;
    display: block;
}

.text-container {
    width: 100%;
    max-width: 1200px;
    padding-top: 20px;
    padding-bottom: 40px;
    border-radius: 0px;
}

.text-container h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: x-large;
    color: #1f1f1f;
}

.text-container p {
    column-count: 2;
    text-align: left;
    column-gap: 40px;
    column-rule: 0px solid #ccc;
    margin-top: 0;
    padding: 0;
}

.footer {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    padding-bottom: 20px;
    text-align: center;
}

.container-index-blog {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    width: 100%;
}

.index-item {
    flex: 1;
    max-width: 32%;
    text-decoration: none;
    color: inherit;
}

.index-item-content {
    position: relative;
    width: 100%;
}

.index-item-content h2 {
    position: absolute;
    font-weight: lighter;
    bottom: 10px;
    left: 10px;
    color: white;
    margin: 0;
    z-index: 1;
    font-size: x-large;
}

.index-item-content img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 1024px) {
    .container-neue-blog {
        flex-direction: column;
    }
    .blog-item {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .text-container p {
        column-count: 1;
    }
        .container-index-blog {
        flex-direction: column;
    }
    .index-item {
        max-width: 100%;
        margin-bottom: 15px;
    }
}
