/* Spezifische Stile für die Hauptseite */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero {
    padding-top: 70px;
    padding-bottom: 0;
    background-color: #fffbf0;
    position: relative;
    width: 100%;
    margin-top: 0; /* Remove top margin as we're positioning relative to the header */
}

.hero .container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    max-width: none;
    padding: 0;
    width: 100%;
    overflow: hidden;
}


.hero-content {
    flex: 1;
    z-index: 2;
    padding: 20px;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
    overflow-y: auto;
}

.hero-content-upper,
.hero-content-lower {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.hero-content-upper {
    height: 60%; /* 2/3 des Bereichs */
}

.hero-content-lower {
    height: 40%; /* 1/3 des Bereichs */
}

.hero-content h1 {
    font-size: 4rem;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-content .highlight {
    color: #3b5c71;
    font-size: 4.5rem;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-content .tagline {
    font-size: 1.6rem;
    margin-bottom: 20px; /* Remove bottom margin as it's now handled by flex */
    color: #555;
    font-weight: 300;
    line-height: 1.4;
}

.hero-content .opening-date {
    font-size: 1.4rem;
    color: #3b5c71;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-image-right {
    flex: 0 0 50%;
    overflow: hidden;
    position: relative;
}

.hero-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    border-bottom-left-radius: 70px;
}

.btn-large {
    font-size: 1.3rem;
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-hero {
    font-size: 1.4rem;
    padding: 15px 35px;
    background-color: #3b5c71;
    color: #fffbf0;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #3b5c71;
    max-width: 250px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    display: block;
}

.btn-hero:hover {
    background-color: #fffbf0;
    color: #3b5c71;
    transform: scale(1.05);
    transition: all 0.3s ease;
    border: 2px solid #3b5c71;
}

/* Info Boxes */
.info-boxes {
    background-color: #fffbf0;
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.info-boxes .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.info-box {
    background-color: #3b5c71;
    color: #fffbf0;
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0; /* Allows flex items to shrink below content size */
}

.info-box-link:link,
.info-box-link:visited,
.info-box-link:hover,
.info-box-link:active {
  text-decoration: none;
  color: inherit;
}

.info-content {
    flex-grow: 1;
}

.info-box h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    word-wrap: break-word;
}

.info-box p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.info-box .btn {
    background-color: #fffbf0;
    color: #000000;
    border: 2px solid #3b5c71;
    border-radius: 15px;
    margin-top: auto;
    padding: 10px 15px;
    text-align: center;
    font-size: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.info-box .btn:hover {
    transform: scale(1.05);
}

/* Wide Image */
.wide-image {
    height: auto;
    width: 100%;
}

.wide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Section */
.content {
    padding: 40px 0;
    width: 100%;
}

.content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content h2 {
    margin-bottom: 20px;
    text-align: center;
}

.content p {
    margin-bottom: 20px;
}

/* Image Strip */
.image-strip{
    display: flex;
    height: auto;
    width: 100%;
}

.image-strip img {
    width: 50%;
    object-fit: cover;
}

/* Philosophy-History Divider Image Strip */
.philosophy-history-divider {
    width: 100vw;
    height: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;

}

.philosophy-history-divider img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero .container {
        flex-wrap: nowrap;
    }

    .hero-image-right {
        flex: 0 0 50%;
    }

    .hero-content {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content .highlight {
        font-size: 3.5rem;
    }

    .hero-content .tagline {
        font-size: 1.2rem;
    }

    .btn-large {
        font-size: 1.1rem;
        padding: 10px 25px;
    }

    .info-boxes .container {
        flex-wrap: wrap;
    }

    .info-box {
        flex-basis: calc(50% - 10px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
    }

    .hero-image-right {
        flex: 0 0 auto;
        width: 100%;
        height: 50vh;
    }

    .hero-image-right img {
        border-bottom-left-radius: 0;
    }

    .hero-content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
    }

    .info-boxes {
        padding: 30px 15px;
    }

    .info-box {
        flex-basis: 100%;
    }

    .info-box h2 {
        font-size: 1.3rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    .image-strip{
        flex-direction: column;
    }

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

    .philosophy-history-divider {
        flex-direction: column;
    }

    .philosophy-history-divider img {
        width: 100%;
    }
}

@media (max-width: 1240px) {
    .info-boxes .container,
    .content .container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .info-box .btn {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
}

@media (min-width: 1536px) {
    .philosophy-history-divider {
        width: 1536px;
    
        
    }
    .philosophy-history-divider img {
        width: 768px;
    }
    .deviding_image_1 {
        border-top-left-radius: 40px;
        border-bottom-left-radius: 40px;
    }
    .deviding_image_2 {
        border-top-right-radius: 40px;
        border-bottom-right-radius: 40px;
    }
}
