/* Allgemeines Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header & Footer */
header, footer {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 20px;
}

/* Layout der Abschnitte */
section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Kachel-Design für Inhalte */
.kachel {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Überschriften innerhalb der Kacheln */
.kachel h2 {
    color: #4CAF50;
}

/* Zweispaltige Anordnung der Motive mit CSS Grid */
.motive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    row-gap: 60px; /* Erhöhter vertikaler Abstand zwischen den Zeilen */
}

/* Einzelnes Motiv (jeweils eine Box) */
.motiv {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px; /* Fügt zusätzlichen Abstand zwischen den Kacheln hinzu */
}

/* Bilder gleichmäßig darstellen */
.image-grid img {
    width: 100%;
    height: auto;
    max-width: 220px;
    border-radius: 8px;
    margin: 5px;
}

/* Einheitliche Höhe für Sprüche und Beschreibungen */
.motiv h3, .motiv p {
    min-height: 60px;
}

/* CTA-Button */
.cta {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 10px 15px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.cta:hover {
    background-color: #e68900;
}

/* Responsive Anpassung – Auf kleineren Bildschirmen eine Spalte */
@media (max-width: 768px) {
    .motive-grid {
        grid-template-columns: 1fr;
    }
}
