@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

.hero {
    padding: 100px 50px 60px 50px;
}

.desc {
    color: black;
    line-height: 1.5em;
}

.desc.two {
    max-width: 490px;
}

.heading {
    color: black;
    font-family: "Crimson Text", serif;
    font-size: 59px;
    font-weight: 600;
    margin: 20px 0px;
    max-width: 600px;
    line-height: 1.3em;
}

.heading.two {
    font-size: 35px;
    margin: 0px 0px 10px 0px;
}

.links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.links a {
    background-color: #141414;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 100px;
    transition: 0.3s;
}

.links a:hover {
    transform: scale(1.05);
}

.links a:nth-child(2) {
    background: none;
    border: 1px solid #141414;
    color: #141414;
}

.hero-image {
    display: flex;
    overflow: hidden;
    box-shadow: 1px 1px 14px 0 rgba(20, 20, 20, .07), 0 0 0 7px rgba(20, 20, 20, .03);
    border-radius: 10px;
    max-width: 864px;
    margin: 60px 0px;
}

.hero-image img {
    width: 100%;
}

.clients {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.clients img {
    width: 150px;
}

.contact-img {
    max-width: 170px;
    margin-top: 60px;
}

.hero-content {
    display: flex;
    align-items: center; /* Zentriert Text und Bild vertikal */
    justify-content: center; /* Reduziert horizontalen Abstand */
    gap: 80px; /* Abstand zwischen Text und Bild */
    flex-wrap: wrap; /* Flexibles Umbrechen bei kleinen Bildschirmen */
    padding: 20px; /* Abstand um den gesamten Inhalt */
    max-width: 1200px; /* Optionale Begrenzung der Breite */
    margin: 0 auto; /* Zentriert den gesamten Bereich */
}

.hero-text {
    flex: 1;
    max-width: 500px; /* Beschränkt die Breite des Textbereichs */
    display: flex;
    flex-direction: column; /* Elemente vertikal anordnen */
    align-items: center; /* Horizontal alles zentrieren */
    justify-content: center; /* Vertikale Zentrierung im Container */
    text-align: center; /* Text selbst zentrieren */
    gap: 10px; /* Reduzierter Abstand zwischen den Elementen */
    margin-bottom: 50px;
}

.hero-text .heading {
    margin: 0; /* Kein zusätzlicher Abstand */
    max-width: 450px; /* Begrenzt die Breite der Überschrift */
    font-size: 52px; /* Reduzierte Schriftgröße für zwei Zeilen */
    line-height: 1.2; /* Konsistenter Zeilenabstand */
    word-wrap: break-word; /* Umbrüche an langen Wörtern erzwingen */
}

.hero-text .desc {
    margin-bottom: 0; /* Kein zusätzlicher Abstand */
    font-size: 16px; /* Standardgröße für die Beschreibung */
    line-height: 1.4; /* Leicht kompakterer Zeilenabstand */
}

.hero-image {
    flex: 1;
    max-width: 500px; /* Maximale Breite für das Bild */
    display: flex;
    justify-content: center;
    box-shadow: none;
    overflow: visible;
}

.hero-image img {
    width: 120%; /* Bild passt sich der Containergröße an */
    height: auto;
    border-radius: 10px; /* Optional: Abgerundete Ecken */
    box-shadow: none
}

.links {
    display: flex;
    justify-content: center; /* Buttons horizontal zentrieren */
    gap: 10px; /* Gleicher Abstand zwischen den Buttons */
    margin-top: 10px; /* Weniger Abstand zu den oberen Elementen */
}

.links a {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.links a:first-child {
    background-color: #141414;
    color: white;
}

.links a:last-child {
    border: 1px solid #141414;
    color: #141414;
}

.links a:hover {
    transform: scale(1.05);
}

/* Responsive Anpassung für kleine Bildschirme */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Text und Bild stapeln sich */
    }

    .hero-text,
    .hero-image {
        max-width: 100%; /* Volle Breite nutzen */
        text-align: center; /* Text zentrieren */
        margin-top: 0;
    }

    .hero-text {
        margin-bottom: 20px;
    }
}
