:root {
    --headerandfooterBackroundlinear: linear-gradient(180deg, #F9C1A8 0%, #FAF7F6 100%);
    --headerBackroundcolorlogo: #F9C1A8;
    --borderwhitestandard: 2px solid white;
    --whiteStandard: white;
    --linkemailcolor: #0D96FE;
    --colorblackstandard: #000;
    --backgroundcoloelinearglobal: linear-gradient(180deg, #f9c1a8, #937263);

    --font-family-dancing-regular: 'DancingScript';
    --fonts-family-monts500: "Monts500";
    --fonts-family-poppins500: "Poppins500";
    --fonts-family-poppins300: "Poppins300";
    --fonts-family-roboto500: "Roboto500";
}

* {
    box-sizing: border-box;
}

/* Grundregeln */
html {
    font-size: 16px;
    font-size: 1rem;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1rem;
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1990px;
    height: auto;
}

.container1oben {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 94%;
    height: auto;
    gap: 32px;
}

.text1oben {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 72%;
    height: auto;
}

.text1oben h1 {

    font-size: 1.5rem;
    color: var(--colorblackstandard);
    text-align: center;
    font-family: var(--fonts-family-monts500);
    margin:121px 0 5px 0;
   

}

.text1oben p {
    font-size: 1.5rem;
    color: var(--colorblackstandard);
    text-align: center;
    font-family: var(--fonts-family-monts500);
    margin: 0 0 30px 0;
    /* Kombinierte Margenregel */
}

.textbild {
    display: flex;
    flex-wrap: wrap; /* Ermöglicht Umbruch bei kleineren Bildschirmen */
    justify-content: space-around;
    align-items: center;
    width: 62%;
    min-width: 230px;
    position: relative;
    border-radius: 20px;
    height: auto; /* Entfernt die feste Höhe */
    gap: 20px;
    padding: 20px;
    border: 1px solid #c08081;
}

.textbild img {
    flex: 0 0 40%; /* Bild nimmt 40% der Breite ein */
    max-width: 300px; /* Vergrößert die maximale Breite */
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    padding: 10px;
}

.textbild p {
    flex: 1 1 auto; /* Text passt sich flexibel an */
    max-width: 438px; /* Vergrößerte maximale Breite für Text */
    font-size: 1.5rem; /* Leicht reduzierte Schriftgröße für bessere Lesbarkeit */
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-family: var(--fonts-family-monts500);
    text-align: left; /* Zentrierter Text bei schmalen Bildschirmen */
    margin: 0;
    line-height: 1.5;
}

.textbild p span{
    font-weight:700;
    display: block;
    text-align: left;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .textbild {
        flex-direction: column; /* Stapelt Bild und Text übereinander */
        gap: 15px; /* Reduzierter Abstand */
    }

    .textbild img {
        flex: 0 0 auto;
        max-width: 80%; /* Bild nimmt mehr Breite ein */
        height: auto;
    }

    .textbild p {
        font-size: 1.1rem; /* Reduzierte Schriftgröße */
        width: 100%; /* Text passt sich an die Breite an */
    }
}

@media (max-width: 500px) {
    .textbild img {
        max-width: 90%; /* Bild bleibt groß auf kleinen Bildschirmen */
    }

    .textbild p {
        font-size: 1rem; /* Noch kleinere Schriftgröße */
    }
}

.textmitte5 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 68%;
    height: auto;
}

.textmitte5 h5 {
    width: 100%;

    font-size: 1.5rem;

    font-family: var(--fonts-family-monts500);
    color: #000;
    text-align: center;
}

.cards9 {
    display: flex;
    /* Flexbox aktivieren */
    flex-wrap: wrap;
    /* Karten umbrechen, wenn Platz nicht reicht */
    justify-content: space-between;
    /* Gleichmäßiger Abstand zwischen den Karten */
    gap: 19px;
    /* Abstand zwischen den Karten */
    padding: 20px;
    width: 95%;
    height: auto;
}

.card {
    display: flex;
    /* Flexbox für Bild und Text */
    flex-direction: column;
    /* Vertikale Anordnung von Bild und Text */
    align-items: center;
    /* Inhalt zentrieren */
    width: 269px;
    /* Feste Breite der Karten */
    height: 603px;
    /* Feste Höhe der Karten */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Leichter Schatten */
    border-radius: 20px;
    /* Abgerundete Ecken */
    background-color: #fff;
    /* Hintergrundfarbe */
    padding: 10px;
    text-align: center;
    /* Text zentrieren */

}

.card img {
    max-width: 100%;
    /* Skaliert das Bild proportional innerhalb der Karte */
    max-height: 100%;
    /* Verhindert, dass das Bild größer als der Container wird */
    object-fit: contain;
    /* Bild bleibt vollständig sichtbar */
    border-radius: 10px;
    /* Leichte Abrundung */
    margin-bottom: 10px;
    /* Abstand zum Text */
}
.card p {
    margin: 10px 0 0;
    /* Abstand nach oben */
    font-size: 1.15rem;
    color: var(--colorblackstandard);
    /* Textfarbe */
    line-height: 1.4;
    /* Lesefreundlichkeit */
    font-family: var(--fonts-family-monts500);
    overflow: hidden;
    /* Überlappenden Text verbergen */
    text-overflow: ellipsis;
    /* ... bei zu langem Text */
    max-height: calc(700px - 364px - 20px);
    /* Textbereich passend zur Containerhöhe */
    text-align: left;
}


/* Number in Card */
.card {
    position: relative; /* Ermöglicht die Positionierung von Kindelementen relativ zur Karte */
}

.card-number {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color:var(--headerBackroundcolorlogo); /* Halbtransparenter Hintergrund */
    color: white;
    padding: 2px 5px;
    border-radius: 20px; /* Abgerundete Ecken */
    font-size: 14px; /* Schriftgröße */
    font-weight: bold; /* Fett für bessere Lesbarkeit */
}


/* BTN-Cards Spezial */

.btn-cards {
    display: inline-block;
    padding: 10px 30px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #2c3e50;
    text-decoration: none;
    border: 2px solid #2c3e50;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 22px;;
  }
  
  .btn-cards:hover {
    color: #2c3e50;
    background-color: #ffffff;
    border-color: #2c3e50;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  
/* BTN-Cards Speuial ende */  

.containeruntentextetbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 68%;
    height: auto;
}

.containeruntentextetbutton h6 {
    width: 100%;
    font-size: 24px;
    color: #000;
    text-align: center;
    font-weight: 500;
    font-family: var(--fonts-family-monts500);
}

.containeruntentextetbutton h6 span{
    width: 100%;
    font-size: 24px;
    color: #000;
    text-align: center;
    font-weight: 600;
    font-family: var(--fonts-family-monts500);
    font-style: italic;
}