.pfst-contact,
.pfst-contact * {
    box-sizing: border-box;
}

.pfst-contact {
    --pfct-green: #79B82A;
    --pfct-green-dark: #5F991F;
    --pfct-green-soft: #F0F7E9;

    --pfct-blue: #008B95;
    --pfct-blue-dark: #00747C;
    --pfct-blue-soft: #EAF6F7;

    --pfct-dark: #1C2520;
    --pfct-text: #56635C;
    --pfct-muted: #7A867F;
    --pfct-border: #DFE7E2;

    --pfct-width: 1380px;

    width: 100%;

    padding: 105px 0 115px;

    overflow: hidden;

    font-family: "Inter", Arial, sans-serif;

    background: #F8FAF8;
}


.pfst-contact__inner {
    width: min(
        calc(100% - 60px),
        var(--pfct-width)
    );

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.pfst-contact__header {
    max-width: 850px;

    margin-bottom: 50px;
}


.pfst-contact__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    font-size: 14px;
    line-height: 1.2;

    font-weight: 600;

    letter-spacing: .075em;
    text-transform: uppercase;

    color: var(--pfct-blue);
}


.pfst-contact__eyebrow::before {
    content: "";

    width: 34px;
    height: 2px;

    flex: 0 0 34px;

    background: var(--pfct-blue);
}


.pfst-contact__headline {
    margin: 0;

    font-size: clamp(38px,3.7vw,49px);
    line-height: 1.08;

    letter-spacing: -.04em;

    font-weight: 600;

    color: var(--pfct-dark);
}


.pfst-contact__headline span {
    color: var(--pfct-green-dark);
}


.pfst-contact__intro {
    max-width: 750px;

    margin: 22px 0 0;

    font-size: 18px;
    line-height: 1.72;

    color: var(--pfct-text);
}


/* =========================================================
   CONTACT GRID
========================================================= */

.pfst-contact__grid {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(470px,.95fr);

    gap: 24px;

    align-items: stretch;
}


/* IMAGE */

.pfst-contact__image {
    position: relative;

    min-height: 610px;

    overflow: hidden;

    border-radius: 25px;

    background: #E9EEEA;

    box-shadow:
        0 14px 38px rgba(24,42,31,.07);
}


.pfst-contact__building-img {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover !important;
    object-position: center center !important;

    transform: scale(1.01);

    transition:
        transform .8s cubic-bezier(.2,.7,.2,1);
}


.pfst-contact__image:hover
.pfst-contact__building-img {
    transform: scale(1.045);
}


/* =========================================================
   CONTACT CARD
========================================================= */

.pfst-contact__card {
    padding: 42px 40px;

    border:
        1px solid var(--pfct-border);

    border-radius: 25px;

    background: #FFFFFF;

    box-shadow:
        0 10px 32px rgba(24,42,31,.045);
}


.pfst-contact__card-label {
    display: block;

    margin-bottom: 11px;

    color: var(--pfct-blue);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: .07em;
    text-transform: uppercase;
}


.pfst-contact__card h3 {
    margin: 0 0 29px;

    color: var(--pfct-dark);

    font-size: 31px;
    line-height: 1.15;

    letter-spacing: -.035em;

    font-weight: 600;
}


/* =========================================================
   DETAILS
========================================================= */

.pfst-contact__details {
    display: grid;

    gap: 10px;
}


.pfst-contact__detail {
    min-height: 68px;

    padding: 11px 13px;

    display: flex;
    align-items: center;

    gap: 13px;

    border-radius: 14px;

    color: var(--pfct-dark) !important;

    text-decoration: none !important;

    transition:
        background-color .22s ease,
        transform .22s ease;
}


a.pfst-contact__detail:hover {
    background: var(--pfct-blue-soft);

    transform: translateX(3px);
}


.pfst-contact__detail-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--pfct-blue-soft);

    color: var(--pfct-blue);

    font-size: 15px;
    font-weight: 600;
}


.pfst-contact__detail-icon svg {
    width: 19px;
    height: 19px;
}


.pfst-contact__detail small {
    display: block;

    margin-bottom: 3px;

    color: var(--pfct-muted);

    font-size: 12px;

    font-weight: 500;
}


.pfst-contact__detail strong {
    display: block;

    color: var(--pfct-dark);

    font-size: 15px;
    line-height: 1.45;

    font-weight: 500;
}


/* =========================================================
   HOURS
========================================================= */

.pfst-contact__hours {
    margin-top: 29px;

    padding: 23px 22px;

    border-radius: 17px;

    background: #F8FAF8;

    border:
        1px solid #E5EBE7;
}


.pfst-contact__hours h4 {
    margin: 0 0 16px;

    color: var(--pfct-dark);

    font-size: 18px;

    font-weight: 600;
}


.pfst-contact__hours-row {
    padding: 9px 0;

    display: grid;

    gap: 4px;

    border-bottom:
        1px solid #E4EAE6;
}


.pfst-contact__hours-row:last-of-type {
    border-bottom: 0;
}


.pfst-contact__hours-row strong {
    color: var(--pfct-dark);

    font-size: 14px;

    font-weight: 600;
}


.pfst-contact__hours-row span {
    color: var(--pfct-text);

    font-size: 14px;
    line-height: 1.5;
}


.pfst-contact__hours p {
    margin: 15px 0 0;

    color: var(--pfct-muted);

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   BUTTONS
========================================================= */

.pfst-contact__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


.pfst-contact__button {
    min-height: 53px;

    padding: 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none !important;

    transition:
        transform .22s ease,
        background-color .22s ease;
}


.pfst-contact__button--green {
    color: #FFFFFF !important;

    background: var(--pfct-green);
}


.pfst-contact__button--green:hover {
    color: #FFFFFF !important;

    background: var(--pfct-green-dark);

    transform: translateY(-2px);
}


.pfst-contact__button--light {
    color: var(--pfct-blue) !important;

    background: var(--pfct-blue-soft);
}


.pfst-contact__button--light:hover {
    color: #FFFFFF !important;

    background: var(--pfct-blue);

    transform: translateY(-2px);
}


/* =========================================================
   TEAM
========================================================= */

.pfst-contact__team {
    margin-top: 100px;
}


.pfst-contact__team-header {
    max-width: 800px;

    margin-bottom: 38px;
}


.pfst-contact__team-header h3 {
    margin: 0;

    font-size: 37px;
    line-height: 1.1;

    letter-spacing: -.04em;

    font-weight: 600;

    color: var(--pfct-dark);
}


/* =========================================================
   TEAM GRID
========================================================= */

.pfst-contact__team-grid {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 18px;
}


.pfst-contact__person {
    overflow: hidden;

    border:
        1px solid var(--pfct-border);

    border-radius: 22px;

    background: #FFFFFF;

    box-shadow:
        0 8px 27px rgba(24,42,31,.045);

    transition:
        transform .28s ease,
        border-color .28s ease,
        box-shadow .28s ease;
}


.pfst-contact__person:hover {
    transform: translateY(-6px);

    border-color:
        rgba(0,139,149,.20);

    box-shadow:
        0 18px 40px rgba(24,42,31,.09);
}


/* IMAGE */

.pfst-contact__person-image {
    position: relative;

    width: 100%;

    aspect-ratio: .88 / 1;

    overflow: hidden;

    background: #EDF2EE;
}


.pfst-contact__person-img {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    object-fit: cover !important;
    object-position: center top !important;

    transform: scale(1.01);

    transition:
        transform .7s cubic-bezier(.2,.7,.2,1);
}


.pfst-contact__person:hover
.pfst-contact__person-img {
    transform: scale(1.055);
}


/* PLACEHOLDER */

.pfst-contact__person-placeholder {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 13px;

    color: #87938C;

    background:
        #EEF3EF;
}


.pfst-contact__person-placeholder svg {
    width: 56px;
    height: 56px;

    color: #A5B2AA;
}


.pfst-contact__person-placeholder span {
    font-size: 13px;

    font-weight: 500;
}


/* CONTENT */

.pfst-contact__person-content {
    padding: 20px 20px 22px;

    text-align: left;
}


.pfst-contact__person-content h4 {
    margin: 0;

    color: var(--pfct-dark);

    font-size: 19px;
    line-height: 1.25;

    letter-spacing: -.02em;

    font-weight: 600;
}


.pfst-contact__person-content p {
    margin: 7px 0 0;

    color: var(--pfct-text);

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   ANIMATION
========================================================= */

.pfst-contact.pfst-contact-ready
.pfst-contact__animate {
    opacity: 0;

    transform: translateY(28px);
}


.pfst-contact.pfst-contact-ready.is-visible
.pfst-contact__animate {
    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .7s ease,
        transform .7s cubic-bezier(.2,.75,.2,1);
}


.pfst-contact.pfst-contact-ready.is-visible
.pfst-contact__grid
.pfst-contact__animate:nth-child(2) {
    transition-delay: .08s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .pfst-contact__grid {
        grid-template-columns:
            .9fr 1.1fr;
    }

    .pfst-contact__image {
        min-height: 580px;
    }

    .pfst-contact__card {
        padding:
            35px 30px;
    }

    .pfst-contact__team-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 800px) {

    .pfst-contact {
        padding:
            80px 0 85px;
    }

    .pfst-contact__inner {
        width:
            calc(100% - 40px);
    }

    .pfst-contact__grid {
        grid-template-columns: 1fr;
    }

    .pfst-contact__image {
        min-height: 430px;
    }

    .pfst-contact__team {
        margin-top: 75px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .pfst-contact {
        padding:
            65px 0 70px;
    }

    .pfst-contact__inner {
        width:
            calc(100% - 30px);
    }

    .pfst-contact__header {
        margin-bottom: 34px;
    }

    .pfst-contact__eyebrow {
        margin-bottom: 15px;

        font-size: 12px;
    }

    .pfst-contact__eyebrow::before {
        width: 27px;

        flex-basis: 27px;
    }

    .pfst-contact__headline {
        font-size: 33px;
        line-height: 1.1;
    }

    .pfst-contact__intro {
        font-size: 17px;
    }

    .pfst-contact__image {
        min-height: 320px;

        border-radius: 20px;
    }

    .pfst-contact__card {
        padding:
            28px 20px;

        border-radius: 20px;
    }

    .pfst-contact__card h3 {
        font-size: 27px;
    }

    .pfst-contact__actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .pfst-contact__button {
        width: 100%;
    }

    .pfst-contact__team {
        margin-top: 65px;
    }

    .pfst-contact__team-header h3 {
        font-size: 31px;
    }

    .pfst-contact__team-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .pfst-contact__person-image {
        aspect-ratio: 1 / 1.04;
    }

}


/* =========================================================
   ELEMENTOR
========================================================= */

.elementor-editor-active
.pfst-contact__animate {
    opacity: 1 !important;

    transform: none !important;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pfst-contact *,
    .pfst-contact.pfst-contact-ready * {
        transition: none !important;
        animation: none !important;
    }

    .pfst-contact.pfst-contact-ready
    .pfst-contact__animate {
        opacity: 1 !important;
        transform: none !important;
    }

}


/* =========================================================
   GEBÄUDEBILD LIGHTBOX
========================================================= */

.pfst-contact__image-link {
    position: absolute;

    inset: 0;

    z-index: 2;

    display: block;

    width: 100%;
    height: 100%;

    overflow: hidden;

    color: inherit !important;

    text-decoration: none !important;

    cursor: zoom-in;
}


.pfst-contact__image-link
.pfst-contact__building-img {
    transition:
        transform .8s cubic-bezier(.2,.7,.2,1),
        filter .3s ease;
}


.pfst-contact__image-link:hover
.pfst-contact__building-img {
    transform: scale(1.05);
}


/* Zoom-Button */

.pfst-contact__zoom {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 5;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.94);

    color:
        #008B95;

    box-shadow:
        0 8px 24px rgba(20,42,31,.12);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    opacity: 0;

    transform:
        translateY(-5px)
        scale(.94);

    transition:
        opacity .25s ease,
        transform .25s ease,
        background-color .25s ease,
        color .25s ease;

    pointer-events: none;
}


.pfst-contact__zoom svg {
    width: 18px;
    height: 18px;
}


.pfst-contact__image-link:hover
.pfst-contact__zoom {
    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


@media (max-width: 800px) {

    .pfst-contact__zoom {
        opacity: 1;

        transform: none;

        width: 40px;
        height: 40px;

        top: 14px;
        right: 14px;
    }

}
