.geschichte-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background-color: var(--secondary-color);
}

.geschichte-container {
    display: flex;
    max-width: 1200px;
    width: 90%;
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.geschichte-bild {
    flex: 1;
}

.geschichte-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.geschichte-text {
    flex: 1;
    padding: 40px;
    color: var(--text-color);
}

.geschichte-tag {
    display: inline-block;
    background: #e5efff;
    color: #007bff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.geschichte-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.geschichte-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-color);
}

.geschichte-punkte {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.punkt {
    display: flex;
    align-items: center;
    gap: 15px;
}

.punkt .icon {
    font-size: 24px;
    color: #007bff;
}

.punkt h4 {
    font-size: 18px;
    margin: 0;
}

.punkt p {
    font-size: 14px;
    color: var(--secondary-text-color);
    margin: 5px 0 0;
}

/* Stil für den "Mehr erfahren"-Button */
.mehr-erfahren-btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    margin-top: 50px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    max-width: 100%; /* <-- hinzugefügt */
    text-align: center; /* <-- schöner für kleinere Buttons */
    box-sizing: border-box; /* <-- wichtig, damit padding mitgerechnet wird */
}

.mehr-erfahren-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .geschichte-container {
        flex-direction: column;
    }

    .geschichte-text {
        padding: 20px; /* etwas kleineres Padding auf Mobile */
    }

    .mehr-erfahren-btn {
        font-size: 16px; /* kleinere Schrift auf Handys */
        padding: 12px 20px; /* etwas angepasste Knopfgröße */
       
    }
}
