/* =========================
   BASIS
   ========================= */

:root {
    --purple: #9b6bc4;
    --purple-dark: #8153aa;
    --purple-light: #eee4f5;
    --purple-extra-light: #f8f3fb;

    --text: #302936;
    --text-light: #6e6573;

    --border: #e9e1ed;

    --shadow:
        0 12px 35px rgba(72, 48, 84, 0.09);
}

.contact-wrapper {
    width: min(1150px, 88%);
    margin: 0 auto;
}

.small-title {
    display: inline-block;

    color: var(--purple);

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.7px;
}


/* =========================
   HERO
   ========================= */

.contact-hero {
    min-height: 570px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 80px 7%;

    background-image:
        url("../Bilder/Taube.jpg");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.contact-hero .hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(40, 31, 43, 0.84) 0%,
            rgba(40, 31, 43, 0.60) 42%,
            rgba(40, 31, 43, 0.10) 76%
        );
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;

    max-width: 680px;

    color: white;
}

.contact-hero .eyebrow {
    color: #ddc6ee;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.contact-hero h1 {
    margin: 12px 0 20px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(60px, 8vw, 95px);
    font-weight: 600;

    line-height: 0.95;
}

.contact-hero .heart {
    color: #d6b7eb;
}

.contact-hero p {
    max-width: 560px;

    margin-bottom: 32px;

    color: rgba(255,255,255,0.92);

    font-size: 19px;
    line-height: 1.6;
}


/* =========================
   HERO BUTTON
   ========================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    min-height: 54px;

    padding: 14px 27px;

    border-radius: 12px;

    background: var(--purple);

    color: white;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.primary-button:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);
}


/* =========================
   EINLEITUNG
   ========================= */

.contact-intro {
    padding: 95px 0 45px;
}

.contact-intro .contact-wrapper {
    max-width: 900px;
}

.contact-intro h2 {
    max-width: 750px;

    margin: 8px 0 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 5vw, 60px);
    font-weight: 600;

    line-height: 1;
}

.contact-intro p {
    max-width: 700px;

    color: var(--text-light);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================
   KONTAKTKARTEN
   ========================= */

.contact-options {
    padding: 20px 0 100px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;
}

.contact-card {
    position: relative;

    min-height: 330px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 35px;

    border: 1px solid var(--border);
    border-radius: 23px;

    background: white;

    color: var(--text);

    text-decoration: none;

    box-shadow: var(--shadow);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 17px 42px rgba(72,48,84,0.14);
}

.contact-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border-radius: 50%;

    background: var(--purple-light);

    color: var(--purple);

    font-size: 23px;
}

.card-label {
    color: var(--purple);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.contact-card h3 {
    margin: 6px 0 11px;

    font-family: "Cormorant Garamond", serif;

    font-size: 31px;
    font-weight: 600;
}

.contact-card p {
    max-width: 450px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.65;
}

.contact-value {
    margin-top: 22px;

    color: var(--purple-dark);

    font-size: 14px;
    font-weight: 700;

    overflow-wrap: anywhere;
}

.card-arrow {
    position: absolute;

    right: 28px;
    bottom: 28px;

    color: var(--purple);

    font-size: 18px;
}


/* =========================
   COMMUNITY
   ========================= */

.contact-community {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #faf5fc,
            #f2e7f8
        );
}

.community-box {
    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(300px, 0.9fr);

    gap: 70px;

    align-items: center;
}

.community-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: white;

    color: var(--purple);

    font-size: 28px;

    box-shadow: var(--shadow);
}

.community-text h2 {
    max-width: 650px;

    margin: 8px 0 18px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(42px, 5vw, 58px);
    font-weight: 600;

    line-height: 1;
}

.community-text p {
    max-width: 620px;

    margin-bottom: 14px;

    color: var(--text-light);
}

.community-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 54px;

    margin-top: 15px;

    padding: 14px 27px;

    border-radius: 12px;

    background: var(--purple);

    color: white;

    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.community-button:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);
}


/* COMMUNITY PUNKTE */

.community-points {
    display: grid;
    gap: 14px;
}

.community-point {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 20px;

    border-radius: 17px;

    background: white;

    border: 1px solid var(--border);

    box-shadow:
        0 8px 25px rgba(72,48,84,0.06);
}

.community-point > i {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--purple-extra-light);

    color: var(--purple);
}

.community-point div {
    display: flex;
    flex-direction: column;
}

.community-point strong {
    font-size: 15px;
}

.community-point span {
    margin-top: 2px;

    color: var(--text-light);

    font-size: 13px;
}


/* =========================
   NOTFALL
   ========================= */

.emergency-contact {
    padding: 100px 0;
}

.emergency-card {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    gap: 28px;

    align-items: center;

    padding: 40px;

    border-radius: 24px;

    background: #fbf7e9;

    border: 1px solid #eee2b8;
}

.emergency-symbol {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    color: #a78332;

    font-size: 22px;
}

.emergency-text h2 {
    margin: 4px 0 8px;

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;
    font-weight: 600;
}

.emergency-text p {
    max-width: 650px;

    color: var(--text-light);

    font-size: 14px;
}

.emergency-button {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 14px 21px;

    border-radius: 11px;

    background: var(--purple);

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .community-box {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .emergency-card {
        grid-template-columns: auto 1fr;
    }

    .emergency-button {
        grid-column: 1 / -1;

        justify-content: center;
    }

}


/* =========================
   HANDY
   ========================= */

@media (max-width: 700px) {

    .contact-wrapper {
        width: 89%;
    }


    /* HERO */

    .contact-hero {
        min-height: 570px;

        align-items: flex-end;

        padding: 90px 7% 62px;

        background-position: 62% center;
    }

    .contact-hero .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(32,24,36,0.10),
                rgba(32,24,36,0.62) 44%,
                rgba(32,24,36,0.90)
            );
    }

    .contact-hero h1 {
        font-size: 55px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .primary-button {
        width: 100%;
    }


    /* INTRO */

    .contact-intro {
        padding: 70px 0 35px;
    }

    .contact-intro h2 {
        font-size: 40px;
    }


    /* KONTAKT */

    .contact-options {
        padding: 20px 0 75px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 310px;

        padding: 27px;
    }


    /* COMMUNITY */

    .contact-community {
        padding: 75px 0;
    }

    .community-text h2 {
        font-size: 40px;
    }

    .community-button {
        width: 100%;
    }


    /* NOTFALL */

    .emergency-contact {
        padding: 75px 0;
    }

    .emergency-card {
        grid-template-columns: 1fr;

        padding: 27px;
    }

    .emergency-symbol {
        width: 52px;
        height: 52px;
    }

    .emergency-text h2 {
        font-size: 31px;
    }

}