/* KONTAKTSEITE */

.contact-hero {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: #ffffff;
    background: #0d1117;
}

.contact-hero-background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 15, 0.96) 0%,
            rgba(3, 8, 15, 0.82) 42%,
            rgba(3, 8, 15, 0.26) 75%,
            rgba(3, 8, 15, 0.08) 100%
        );
}

.contact-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 85px;
    padding-bottom: 85px;
}

.contact-hero-copy {
    max-width: 650px;
}

.contact-eyebrow {
    margin: 0 0 10px;

    color: var(--brand-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-hero .contact-eyebrow {
    color: #ffffff;
}

.contact-hero h1 {
    margin: 0;

    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.contact-hero h1 span {
    color: var(--brand-blue);
}

.contact-hero-copy > p:not(.contact-eyebrow) {
    max-width: 580px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 18px;
    line-height: 1.65;
}

.contact-hero-actions {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* KONTAKTKARTEN */

.contact-options-section {
    position: relative;
    z-index: 5;

    margin-top: -38px;
}

.contact-options-grid {
    padding: 18px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    border-radius: var(--radius-medium);

    background: #ffffff;

    box-shadow: var(--shadow-medium);
}

.contact-option-card {
    min-height: 245px;

    padding: 28px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    background: #ffffff;

    box-shadow: var(--shadow-small);
}

.contact-option-icon {
    flex: 0 0 auto;

    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--brand-blue);
    background: var(--brand-blue-light);

    font-size: 25px;
    font-weight: 800;
}

.contact-option-label {
    margin: 0 0 5px;

    color: var(--brand-blue);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-option-card h2 {
    margin: 0;

    font-size: 20px;
}

.contact-option-card p:not(.contact-option-label),
.contact-option-card address {
    margin: 10px 0 15px;

    color: var(--text-muted);

    font-size: 14px;
    font-style: normal;
}

.contact-option-card a {
    color: var(--brand-blue);

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.contact-option-card a:hover {
    text-decoration: underline;
}


/* STANDORT UND ÖFFNUNGSZEITEN */

.contact-information-section {
    padding-top: 18px;
}

.contact-information-box {
    min-height: 470px;

    display: grid;
    grid-template-columns: 55% 45%;

    overflow: hidden;

    border-radius: var(--radius-medium);

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f0f4f9 100%
        );
}

.contact-information-copy {
    padding: 60px;
}

.contact-information-copy h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

.contact-information-copy > p:not(.contact-eyebrow) {
    max-width: 620px;

    margin: 20px 0 0;

    color: var(--text-muted);

    font-size: 16px;
}

.location-details {
    margin-top: 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.location-detail {
    padding-top: 15px;

    border-top: 2px solid var(--brand-blue);
}

.location-detail strong {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
}

.location-detail span,
.location-detail a {
    color: var(--text-muted);

    font-size: 14px;
    text-decoration: none;
}

.location-detail a:hover {
    color: var(--brand-blue);
}


/* ÖFFNUNGSZEITEN-KARTE */

.opening-hours-card {
    padding: 50px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--brand-blue-dark) 0%,
            var(--brand-blue) 100%
        );
}

.opening-hours-label {
    margin: 0 0 7px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.opening-hours-card h2 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: 27px;
}

.opening-hours-list {
    border-top:
        1px solid rgba(255, 255, 255, 0.18);
}

.opening-hours-list > div {
    padding: 12px 0;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.18);

    font-size: 14px;
}

.opening-hours-list span {
    color: rgba(255, 255, 255, 0.82);
}

.opening-hours-list strong {
    text-align: right;
}

.opening-hours-note {
    margin: 20px 0 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 13px;
}


/* LEISTUNGSBEREICHE */

.contact-services-section {
    padding-top: 18px;
}

.contact-services-heading {
    padding: 44px 30px 27px;

    text-align: center;
}

.contact-services-heading h2 {
    margin: 0;

    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.contact-services-heading > p:not(.contact-eyebrow) {
    max-width: 680px;

    margin: 15px auto 0;

    color: var(--text-muted);
}

.contact-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.contact-service-card {
    min-height: 230px;

    padding: 30px 24px;

    text-align: center;

    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);

    background: #ffffff;

    box-shadow: var(--shadow-small);
}

.contact-service-card > span {
    width: 58px;
    height: 58px;

    margin: 0 auto 16px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--brand-blue);
    background: var(--brand-blue-light);

    font-size: 27px;
}

.contact-service-card h3 {
    margin: 0;

    font-size: 17px;
}

.contact-service-card p {
    margin: 10px 0 0;

    color: var(--text-muted);

    font-size: 14px;
}


/* ABSCHLUSS-CTA */

.contact-final-cta {
    margin-top: 35px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--brand-blue-dark) 0%,
            var(--brand-blue) 100%
        );
}

.contact-final-cta-inner {
    min-height: 190px;

    padding-top: 35px;
    padding-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.contact-final-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.contact-final-cta p {
    max-width: 650px;

    margin: 12px 0 0;

    color: rgba(255, 255, 255, 0.84);
}

.contact-final-actions {
    flex: 0 0 auto;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* TABLET */

@media (max-width: 960px) {

    .contact-options-grid {
        grid-template-columns: 1fr;
    }

    .contact-option-card {
        min-height: auto;
    }

    .contact-information-box {
        grid-template-columns: 1fr;
    }

    .location-details {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* SMARTPHONE */

@media (max-width: 640px) {

    .contact-hero {
        min-height: 590px;
    }

    .contact-hero-background {
        object-position: 65% center;
    }

    .contact-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 15, 0.96),
                rgba(3, 8, 15, 0.72)
            );
    }

    .contact-hero h1 {
        font-size: 44px;
    }

    .contact-hero-copy > p:not(.contact-eyebrow) {
        font-size: 16px;
    }

    .contact-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-options-section {
        margin-top: -22px;
    }

    .contact-options-grid {
        padding: 12px;
    }

    .contact-option-card {
        padding: 24px 20px;
    }

    .contact-information-copy {
        padding: 35px 25px;
    }

    .contact-information-copy h2 {
        font-size: 37px;
    }

    .location-details {
        grid-template-columns: 1fr;
    }

    .opening-hours-card {
        padding: 35px 25px;
    }

    .contact-services-grid {
        grid-template-columns: 1fr;
    }

    .contact-final-cta-inner {
        min-height: 270px;
    }

    .contact-final-actions {
        width: 100%;

        flex-direction: column;
    }

    .contact-final-actions .button {
        width: 100%;
    }

}