
/* =========================================================
   KONTAKTSEITE
   Marcus Siering
   ========================================================= */


.contact-mail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-left: 8px;

    color: #0b2d5c;
    text-decoration: none;

    border: 1px solid #d6e0ec;
    border-radius: 50%;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}


.contact-mail-link:hover {
    color: #ffffff;
    background: #195cc4;
    border-color: #195cc4;
}



/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;

    padding: 108px 0 110px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    overflow: hidden;
}


.contact-hero::after {
    content: "";

    position: absolute;

    top: 84px;
    right: -120px;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(25, 92, 196, 0.08);
    border-radius: 50%;

    pointer-events: none;
}


.contact-hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(520px, 1.12fr);

    gap: 94px;

    align-items: start;
}



/* =========================================================
   LINKE SEITE
   ========================================================= */

.contact-intro {
    padding-top: 18px;
}


.contact-intro h1 {
    max-width: 700px;

    margin: 24px 0 27px;

    color: #0a294f;

    font-size: clamp(3.1rem, 5vw, 5.15rem);
    font-weight: 700;

    line-height: 0.99;

    letter-spacing: -0.045em;
}


.contact-lead {
    max-width: 630px;

    margin: 0;

    color: #56677b;

    font-size: 1.16rem;
    line-height: 1.75;
}


.contact-details {
    display: grid;

    gap: 22px;

    margin-top: 48px;
}


.contact-detail {
    display: flex;
    align-items: center;

    gap: 20px;
}


.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    color: #195cc4;

    font-size: 1.35rem;

    background: #f5f9ff;

    border: 1px solid #d3e1f3;
    border-radius: 10px;
}


.contact-detail-icon.location-icon {
    font-size: 1.55rem;
}


.contact-detail-label {
    margin: 0 0 5px;

    color: #6d7f93;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.15em;
}


.contact-detail a,
.contact-detail p:not(.contact-detail-label) {
    margin: 0;

    color: #0b2d5c;

    font-size: 1.03rem;
    font-weight: 600;

    line-height: 1.45;
}


.contact-detail a {
    text-decoration: none;
}


.contact-detail a:hover {
    color: #195cc4;
}


.contact-principle {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-top: 52px;
}


.contact-principle-line {
    width: 42px;
    height: 2px;

    background: #195cc4;
}


.contact-principle p {
    margin: 0;

    color: #738397;

    font-size: 0.95rem;
    font-style: italic;
}



/* =========================================================
   FORMULARKARTE
   ========================================================= */

.contact-form-panel {
    padding: 48px 50px 50px;

    background: #ffffff;

    border: 1px solid #dce5ef;
    border-radius: 16px;

    box-shadow:
        0 22px 70px rgba(18, 48, 84, 0.08);
}


.form-eyebrow {
    margin: 0 0 10px;

    color: #195cc4;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.contact-form-head h2 {
    margin: 0 0 14px;

    color: #0a294f;

    font-size: 2rem;
    line-height: 1.18;

    letter-spacing: -0.025em;
}


.contact-form-head > p:last-child {
    max-width: 520px;

    margin: 0;

    color: #6b7a8c;

    line-height: 1.65;
}


.contact-form {
    display: grid;

    gap: 23px;

    margin-top: 35px;
}


.form-row {
    display: grid;

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

    gap: 20px;
}


.form-field {
    display: grid;

    gap: 8px;
}


.form-field label {
    color: #173b67;

    font-size: 0.82rem;
    font-weight: 700;
}


.form-field input,
.form-field textarea {
    width: 100%;

    padding: 14px 15px;

    color: #18344f;

    font: inherit;

    background: #fbfcfe;

    border: 1px solid #d7e0e9;
    border-radius: 7px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.form-field textarea {
    resize: vertical;

    min-height: 165px;
}


.form-field input:focus,
.form-field textarea:focus {
    background: #ffffff;

    border-color: #4b83d6;

    box-shadow:
        0 0 0 3px rgba(25, 92, 196, 0.09);
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a2afbd;
}


.privacy-field {
    display: grid;

    grid-template-columns: 20px 1fr;

    gap: 11px;

    align-items: start;

    color: #718094;

    font-size: 0.78rem;
    line-height: 1.55;
}


.privacy-field input {
    width: 16px;
    height: 16px;

    margin-top: 2px;

    accent-color: #195cc4;
}


.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    width: 100%;

    padding: 15px 24px;

    color: #ffffff;

    font: inherit;
    font-weight: 700;

    background: #1558b8;

    border: 1px solid #1558b8;
    border-radius: 7px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-submit:hover {
    background: #0d4ca5;

    transform: translateY(-1px);

    box-shadow:
        0 10px 25px rgba(21, 88, 184, 0.18);
}



/* =========================================================
   ABSCHLUSSBEREICH
   ========================================================= */

.contact-closing {
    padding: 68px 0;

    background: #f6f9fd;

    border-top: 1px solid #e2e9f1;
}


.contact-closing-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}


.contact-closing h2 {
    margin: 13px 0 0;

    color: #0a294f;

    font-size: clamp(1.65rem, 2.7vw, 2.55rem);

    line-height: 1.2;

    letter-spacing: -0.025em;
}


.contact-mail-button {
    display: inline-flex;

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

    gap: 20px;

    min-width: 205px;

    padding: 15px 23px;

    color: #0f4fa8;

    font-weight: 700;
    text-decoration: none;

    background: #ffffff;

    border: 1px solid #b9cde7;
    border-radius: 7px;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.contact-mail-button:hover {
    color: #ffffff;

    background: #195cc4;
    border-color: #195cc4;

    transform: translateY(-1px);
}



/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .contact-hero-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    .contact-form-panel {
        max-width: 760px;
    }

}


@media (max-width: 720px) {

    .contact-hero {
        padding: 72px 0 76px;
    }


    .contact-hero-grid {
        gap: 45px;
    }


    .contact-intro h1 {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }


    .contact-form-panel {
        padding: 34px 26px;
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .contact-closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }


    .contact-mail-button {
        width: 100%;
    }

}


@media (max-width: 520px) {

    .contact-detail {
        align-items: flex-start;
    }


    .contact-detail-icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }


    .contact-form-panel {
        padding: 28px 20px;
    }

}



/* =========================================================
   KONTAKT – HEADLINE FEINSCHLIFF
   ========================================================= */

.contact-hero-grid {
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(500px, 0.95fr);

    gap: 70px;
}

.contact-intro h1 {
    max-width: none;

    font-size: clamp(3.15rem, 4.2vw, 4.35rem);

    line-height: 1.03;
}

.contact-headline-line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 1100px) {

    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-headline-line {
        white-space: normal;
    }

}

/* =========================================================
   KONTAKT – HEADLINE FINAL
   ========================================================= */

.contact-hero-grid {
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(500px, 0.88fr);

    gap: 54px;
}

.contact-intro h1 {
    font-size: clamp(3rem, 3.65vw, 3.85rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.contact-headline-line {
    display: block;
    white-space: nowrap;
}

@media (max-width: 1100px) {

    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-headline-line {
        white-space: normal;
    }

}

/* =========================================================
   DATENSCHUTZLINK IM FORMULAR
   ========================================================= */

.privacy-field a {
    color: #195cc4;

    font-weight: 600;
    text-decoration: none;
}

.privacy-field a:hover {
    text-decoration: underline;
}

/* =========================================================
   KONTAKTFORMULAR – STATUSMELDUNG
   ========================================================= */

.contact-status {
    min-height: 1.4em;
    margin: 14px 0 0;

    font-size: 0.88rem;
    line-height: 1.5;
}

.contact-status:empty {
    margin-top: 0;
    min-height: 0;
}

.contact-status.is-success {
    color: #167245;
}

.contact-status.is-error {
    color: #b42318;
}

.contact-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

