.button-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
}

.button-container .button {
    flex: 1 1 50px; /* Alle Buttons gleich groß */
    width: 100%;
    max-width: 370px; /* Maximale Breite für größere Bildschirme */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: #f59b10;
    border: 2px solid transparent; /* Unsichtbarer Rand für Konsistenz */
    border-radius: 12px;
    font-size: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.button-container.testimonial-buttons .button {
    max-width: 300px; /* Maximale Breite */
    min-width: 150px; /* Stellt sicher, dass der Button nicht zu klein wird */
    flex: 1 1 auto; /* Passt sich dem Inhalt an, bleibt aber innerhalb der max-width */
    text-align: center;
    white-space: nowrap; /* Kein Umbruch im Text */
    padding: 10px 20px; /* Falls nötig, mehr Platz für den Text */
}

.button-container .button:hover {
    background-color: white;
    color: #f59b10;
    border-color: #f59b10;
}

/* Aktiver Button */
.button-container .button.active {
    background-color: white;
    color: #f59b10;
    border-color: #f59b10;
    font-weight: bold; /* Optional: Fett markieren */
}

.button-container.button-align-stacked {
    display: flex;
    flex-direction: column; /* Buttons untereinander */
    gap: 10px; /* Abstand zwischen Buttons */
    align-items: flex-start; /* Standardmäßig linksbündig */
}

.button-container.button-align-stacked.button-text-left {
    align-items: flex-start; /* Links ausgerichtet */
}

.button-container.button-align-stacked.button-text-center {
    align-items: center; /* Zentriert */
}

.button-container.button-align-stacked.button-text-right {
    align-items: flex-end; /* Rechts ausgerichtet */
}

.button-container.button-align-inline.button-text-left {
    justify-content: flex-start; /* Links ausgerichtet */
}

.button-container.button-align-inline.button-text-center {
    justify-content: center; /* Zentriert */
}

.button-container.button-align-inline.button-text-right {
    justify-content: flex-end; /* Rechts ausgerichtet */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .button-container .button {
        flex: 1 1 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .button-container .button {
        width: 100%;
        flex: 1 1 100%;
        height: 50px;
        font-size: 1rem;
    }
}
