/* SGCW Moderne Kontaktseite – ausschließlich auf /kontakt/ */
.sgcw-contact-page .page-title,
.sgcw-contact-page .entry-title,
.sgcw-contact-page article > .entry-header {
    display: none !important;
}

.sgcw-contact-page .entry,
.sgcw-contact-page .entry-content,
.sgcw-contact-page .post-inner,
.sgcw-contact-page .post-content {
    overflow: visible;
}

.sgcw-contact {
    --sgcw-green: #177a2f;
    --sgcw-green-dark: #0d5720;
    --sgcw-green-soft: #edf7ef;
    --sgcw-ink: #17311f;
    --sgcw-muted: #617067;
    --sgcw-border: #dce8df;
    width: 100%;
    max-width: 860px;
    margin: 0 auto 28px;
    color: var(--sgcw-ink);
    font-family: inherit;
}

.sgcw-contact *,
.sgcw-contact *::before,
.sgcw-contact *::after {
    box-sizing: border-box;
}

.sgcw-contact__hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 12%, rgba(255,255,255,.16) 0 90px, transparent 91px),
        linear-gradient(135deg, var(--sgcw-green-dark), var(--sgcw-green));
    color: #fff;
    box-shadow: 0 14px 34px rgba(13,87,32,.20);
    overflow: hidden;
}

.sgcw-contact__hero-icon {
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.13);
    backdrop-filter: blur(3px);
}

.sgcw-contact svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sgcw-contact__hero-icon svg {
    width: 36px;
    height: 36px;
}

.sgcw-contact__eyebrow,
.sgcw-contact__label {
    margin: 0 0 7px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sgcw-contact__eyebrow {
    color: rgba(255,255,255,.76);
}

.sgcw-contact__hero h1 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.025em;
}

.sgcw-contact__hero p:last-child {
    max-width: 640px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.65;
}

.sgcw-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.sgcw-contact__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--sgcw-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25,58,34,.07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.sgcw-contact__card:hover {
    transform: translateY(-2px);
    border-color: #bad7c1;
    box-shadow: 0 13px 30px rgba(25,58,34,.11);
}

.sgcw-contact__card-icon {
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--sgcw-green-soft);
    color: var(--sgcw-green);
}

.sgcw-contact__card-icon svg {
    width: 25px;
    height: 25px;
}

.sgcw-contact__label {
    color: var(--sgcw-green);
}

.sgcw-contact__card h2,
.sgcw-contact__cta h2 {
    margin: 0;
    color: var(--sgcw-ink);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.sgcw-contact__card address,
.sgcw-contact__role {
    margin: 9px 0 0;
    color: var(--sgcw-muted);
    font-style: normal;
    font-size: 15px;
    line-height: 1.65;
}

.sgcw-contact__mail-link {
    display: inline-block;
    margin-top: 9px;
    color: var(--sgcw-green-dark);
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sgcw-contact__mail-link:hover,
.sgcw-contact__mail-link:focus-visible {
    color: var(--sgcw-green);
    text-decoration: underline;
}

.sgcw-contact__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 26px;
    border: 1px solid #cfe2d3;
    border-radius: 17px;
    background: linear-gradient(135deg, #f8fcf9, var(--sgcw-green-soft));
}

.sgcw-contact__cta-text {
    min-width: 0;
}

.sgcw-contact__cta p:last-child {
    max-width: 580px;
    margin: 8px 0 0;
    color: var(--sgcw-muted);
    font-size: 15px;
    line-height: 1.6;
}

.sgcw-contact__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid var(--sgcw-green-dark);
    border-radius: 12px;
    background: var(--sgcw-green);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(23,122,47,.20);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sgcw-contact__button svg {
    width: 20px;
    height: 20px;
}

.sgcw-contact__button:hover,
.sgcw-contact__button:focus-visible {
    background: var(--sgcw-green-dark);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(13,87,32,.25);
}

.sgcw-contact__button:focus-visible,
.sgcw-contact__mail-link:focus-visible {
    outline: 3px solid rgba(23,122,47,.28);
    outline-offset: 3px;
}

.sgcw-contact__note {
    margin: 14px 0 0;
    color: var(--sgcw-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 720px) {
    .sgcw-contact__hero {
        align-items: flex-start;
        gap: 16px;
        border-radius: 16px;
    }

    .sgcw-contact__hero-icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .sgcw-contact__hero-icon svg {
        width: 29px;
        height: 29px;
    }

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

    .sgcw-contact__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .sgcw-contact__button {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .sgcw-contact__hero {
        display: block;
        padding: 23px 20px;
    }

    .sgcw-contact__hero-icon {
        margin-bottom: 16px;
    }

    .sgcw-contact__card {
        padding: 20px 17px;
    }

    .sgcw-contact__card-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .sgcw-contact__cta {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sgcw-contact__card,
    .sgcw-contact__button {
        transition: none;
    }
}
