/**
 * Standort-Kontaktband
 *
 * Helles Band unter dem Hero: Adresse, Telefon/Fax und E-Mail in drei
 * Spalten mit senkrechten Trennlinien. Die dritte Spalte bleibt in der
 * Regel leer – sie hält die Rasterbreite und nimmt bei Bedarf Freitext auf.
 *
 * Farben, Größen und Typografie kommen aus den Elementor-Controls.
 */

.bew-loc-contact {
    width: 100%;
}

.bew-loc-contact__inner {
    display: grid;
    grid-template-columns: repeat(var(--loc-contact-columns, 3), minmax(0, 1fr));
    margin: 0 auto;
    box-sizing: border-box;
}

.bew-loc-contact__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Trennlinien zwischen den Spalten – nicht außen. */
.bew-loc-contact__col + .bew-loc-contact__col {
    border-left: 1px solid var(--loc-divider, #E2E6EE);
}

.bew-loc-contact__block + .bew-loc-contact__block {
    margin-top: 30px;
}

/* ── Icon ── */
.bew-loc-contact__icon {
    display: block;
    line-height: 0;
}

.bew-loc-contact__icon img,
.bew-loc-contact__icon svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

/* ── Text ── */
.bew-loc-contact__body {
    display: block;
}

.bew-loc-contact__line {
    display: block;
}

.bew-loc-contact__name {
    display: block;
    font-weight: 700;
}

.bew-loc-contact__body a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bew-loc-contact__body a:hover,
.bew-loc-contact__body a:focus {
    text-decoration: none;
}

/* =========================================
   RESPONSIVE
   Trennlinien wandern beim Umbruch von der Seite nach oben,
   sonst stehen sie quer zur Leserichtung.
   ========================================= */

@media (max-width: 1024px) {
    .bew-loc-contact__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bew-loc-contact__col:nth-child(2n + 1) {
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .bew-loc-contact__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .bew-loc-contact__col {
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    .bew-loc-contact__col + .bew-loc-contact__col {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid var(--loc-divider, #E2E6EE);
    }

    /* Leere Zusatzspalte erzeugt sonst eine Trennlinie ins Nichts. */
    .bew-loc-contact__col:empty {
        display: none;
    }
}
