/* kontakt.css - Contact Page Styles */

.kontakt-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}
.kontakt-page h1.kontakt-title {
    text-align: center;
    font-size: 3.8rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 60px;
    line-height: 1.1;
}

/* Full-bleed row: Brunnen image left, info columns right */
.kontakt-info-outer {
    display: flex;
    align-items: stretch;
    margin-bottom: 60px;
    min-height: 280px;
    gap: 0; /* Fully flushed text to image margin */
}
.kontakt-brunnen {
    /* Extend from left viewport edge */
    margin-left: calc(-1 * ((100vw - min(1100px, 100vw)) / 2 + 20px));
    flex: 0 0 auto;
    width: 33vw;
    max-width: 420px;
    min-width: 180px;
    overflow: hidden;
    align-self: flex-start;     /* Prevents stretching, locks in exact height based on ratio */
    aspect-ratio: 1080 / 915;   /* The exact ratio of the image after cutting away 40% (1526 -> 915) */
}
.kontakt-brunnen img {
    width: 100%;
    height: 166.77%; /* Full original height proportion relative to cropped container (1526 / 915) */
    object-fit: cover;
    transform: translateY(-30%); /* Crops exactly 30% of the native image off the top */
    display: block;
}
.kontakt-info-inner {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
}
.kontakt-info-col { flex: 1; }
.kontakt-info-col h6 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1B293E;
    margin-bottom: 10px;
    margin-top: 0; /* ensure it stays flush with image top */
}
.kontakt-info-col p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}
.kontakt-info-col a { color: #1B293E; }

/* Info row responsiveness */
@media (max-width: 900px) {
    .kontakt-info-outer {
        flex-direction: column;
        min-height: auto;
    }
    .kontakt-brunnen {
        margin-left: 0;
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 9; /* Adjusted for better mobile view */
        margin-bottom: 30px;
    }
    .kontakt-brunnen img {
        height: 100%;
        transform: none; /* Reset vertical crop for mobile to show more of the fountain */
    }
    .kontakt-info-inner {
        flex-direction: column;
        gap: 30px;
    }
}

/* ---- E-Mail CTA Section ---- */
.email-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px 50px;
}

.email-cta-text {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    max-width: 580px;
    margin-bottom: 36px;
}

.btn-email-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1B293E;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 52px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 18px rgba(27, 41, 62, 0.22);
    transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
}

.btn-email-cta i {
    font-size: 1.2rem;
}

.btn-email-cta:hover {
    background: #2d4a72;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(27, 41, 62, 0.30);
}

.btn-email-cta:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(27, 41, 62, 0.20);
}

/* Media query removed */

/* Map */
.map-container {
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 80px;
}
.map-container iframe { width: 100%; height: 100%; border: 0; }
