* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: rgb(231, 231, 231);
}

main {
    width: 50%;
    margin-left: 25%;
    flex-grow: 1;
}

main hr{
    width: 80%;
    margin-left: 10%;
}

.intro {
    text-align: left;
    padding: 40px;
    background-color: white;
}

.intro h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.categories {
    display: flex;
    justify-content: center;
    gap: 160px;
    padding: 20px 0;
    background-color: #ffffff;
}

.category {
    text-align: center;
    color: #6a544f;
}

.category .icon {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.category p {
    font-size: 1.2em;
}

.services {
    text-align: center;
    padding: 20px;
    background-color: white;
}

.services h2 {
    font-size: 1.5em;
    color: #6a544f;
    margin-bottom: 10px;
}

.services p {
    font-size: 1em;
    color: #7b7b7b;
    margin-bottom: 20px;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background-color: #fafafa;
}

.contact-options .option {
    background-color: #d5c5bd;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: bold;
    color: #3b4046;
}

.info-text {
    text-align: center;
    padding: 20px;
    background-color: white;
    font-size: 0.9em;
    color: #7b7b7b;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    max-width: 1200px; /* Maximale Breite fÃ¼r den Inhalt */
    margin: 0 auto; /* Zentriert den Inhalt */
    padding: 20px; /* Optional: Abstand um den Inhalt */
}

.cta-buttons {
    text-align: center;
    background-color: white;
}

.cta-button {
    display: inline-block;
    padding: 15px 20px;
    margin: 10px;
    background-color: #dfcdc7;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    border: 1px solid #b89a92;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c1a39a;
}

.cta-button.last {
    background-color: #dbc3bc;
    border-color: #c0a296;
}

.cta-button.last:hover {
    background-color: #b89a92;
}

.intro-section{
    background-color: white;
    height: 100%;
    padding: 20px;
}

/* --- HERO (Text links, Bild rechts) --- */
.intro.hero {
    margin-bottom: 20px;
    display:flex;
    flex-direction: row;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    border-radius: 12px;
    background-color: #e0e0e0;
}

.hero-text {
    transition: opacity 400ms ease;
    width: 60%;
    padding: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-media {
    transition: opacity 400ms ease;
    order: 1;
}

.hero-text.is-fading,
.hero-media.is-fading {
    opacity: 0;
}

.hero-title {
    margin: 0 0 0 0;
    line-height: 1.1;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.hero-desc {
    margin: 0 0 0 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-img {
    width: 100%;
    height: clamp(240px, 40vh, 600px);
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.promo-title{
    margin: 0 0 .25rem 0;
    font-weight: 900;
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: #e31837;                  
    font-size: clamp(2.8rem, 8vw, 6rem); 
}

.hero-title{ margin-top: .15rem; }


.hero-title, .hero-desc { white-space: pre-line; }

@media (max-width: 1000px) {
    main{
        width: 100%;
        margin-left: 0;
    }

    main hr{
        width: 100%;
        margin-left: 0;
    }

    .categories{
        gap: 30px;
    }
    .intro.hero { 
        grid-template-columns: 1fr; 
        text-align: center; 
        flex-direction: column;
    }
    .hero-text {
        margin-left: 0;
        width: 100%;
    }
    .hero-media { 
        order: 1;
        margin-bottom: 20px; 
        margin-right: 0;
    }
}