:root {
    --dark-bg: #1a1a1a;      /* Dunkler Hintergrund */
    --red-accent: #b22222;   /* Rot für Akzente */
    --light-red: #d32f2f;    /* Helleres Rot für Hover */
    --text-color: #f5f5f5;   /* Helle Textfarbe */
    --border-color: #444444; /* Dunkle Umrandung */
    --image-width: 180px;    /* Einheitliche Bildbreite */
    --image-height: 180px;   /* Einheitliche Bildhöhe */
    --item-text-size: 1rem;  /* Einheitliche Textgröße */
}

.item img {
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin: 0 auto;
    width: 800px;
    height: 350px;
    border-radius: 10px;
}

.item p {
    font-size: 10px(--item-text-size);
    margin-top: 10px;
    margin-bottom: 0;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark-bg);
    color: var(--text-color);
}

header {
    text-align: center;
    padding: 10px;
    background-color: var(--red-accent);
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

nav a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-color);
    background-color: var(--red-accent);
    border-radius: 20px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: var(--light-red);
}

.content {
    text-align: center;
    padding: 20px;
}

h1 {
    margin-top: 20px;
}

p {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.6;
}
.image-text-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .item {
        text-align: center;
    }

    .image-text-layout {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

    .item {
        text-align: center;
    }

    .item:nth-child(4n+1),
    .item:nth-child(4n+2),
    .item:nth-child(4n+3) {
        display: block;
    }

    .item:nth-child(4n) {
        display: none;
    }

    .item p {
        margin-top: 10px;
        font-size: 1rem;
    }