/* =====================================================================
   Contact page — visually aligned with the premium homepage.
   Scope: .wd-contact-page (page-kontakt.php)
   ===================================================================== */

.wd-contact-page {
    background: var(--wd-ink);
}

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

.wd-contact-section {
    padding: clamp(64px, 9vw, 112px) 0;
    background:
        radial-gradient(900px 360px at 86% 0%, rgba(255, 174, 0, 0.1), transparent 62%),
        var(--wd-ink);
}

.wd-contact-section__head {
    max-width: 700px;
    margin-bottom: clamp(30px, 5vw, 54px);
}

.wd-contact-section__title {
    margin: 0;
    font-family: var(--wd-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #fff;
    text-transform: none;
}

.wd-contact-section__lead {
    max-width: 600px;
    margin: 18px 0 0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

.wd-contact-card,
.wd-contact-content {
    margin: 0;
}

.wd-contact-content {
    display: flex;
    flex-direction: column;
}

.wd-contact-content > .wp-block-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: var(--wd-ink-soft);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.wd-contact-content .wp-block-column {
    min-width: 0;
}

.wd-contact-content .contact-column {
    padding: clamp(32px, 5vw, 62px);
}

.wd-contact-content .contact-column h2 {
    margin: 0 0 24px;
    font-family: var(--wd-display);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    text-transform: none;
}

.wd-contact-content .contact-column h2 em {
    font-style: normal;
}

.wd-contact-content .contact-column p {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.76);
}

.wd-contact-content .contact-column p strong {
    color: #fff;
}

.wd-contact-content .contact-column a {
    color: var(--wd-gold);
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.wd-contact-content .contact-column a:hover {
    color: #ffca57;
    text-decoration: underline;
}

.wd-contact-content .contact-column .wp-block-spacer {
    height: 8px !important;
}

.wd-contact-content .contact-map {
    min-height: 500px;
    overflow: hidden;
    background: #d9d5cb;
}

.wd-contact-content .contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

.wd-contact-content .contact-map > p:empty {
    display: none;
}

.wd-contact-content > .has-background {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 clamp(22px, 3vw, 32px);
    padding: 15px 30px !important;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--wd-gold) !important;
    color: #1a1509 !important;
    font-family: var(--wd-sans);
    font-size: 14px !important;
    font-weight: 600;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(255, 174, 0, 0.28);
}

.wd-contact-content > .has-background em {
    font-style: normal;
}

.wd-contact-content > .has-background strong {
    font-weight: 600;
}

.wd-contact-card__meta {
    margin-top: 18px;
}

.wd-contact-card__meta a {
    color: rgba(255, 255, 255, 0.58);
}

.wd-contact-page a:focus-visible {
    outline: 3px solid var(--wd-gold);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .wd-contact-content > .wp-block-columns {
        grid-template-columns: 1fr;
    }

    .wd-contact-content .contact-map,
    .wd-contact-content .contact-map iframe {
        min-height: 420px;
    }
}

@media (max-width: 560px) {
    .wd-contact-content > .wp-block-columns {
        border-radius: 12px;
    }

    .wd-contact-content .contact-column {
        padding: 30px 24px 34px;
    }

    .wd-contact-content .contact-map,
    .wd-contact-content .contact-map iframe {
        min-height: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-contact-content .contact-column a {
        transition: none;
    }
}
