﻿/*
  Kontakt page – map responsiveness
  Scope: .map-card--kontakt only.
*/

.map-card--kontakt {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 24px #4b6bf340;
    background: #fff;
    min-width: 0;
    /* default ratio keeps map consistent */
    aspect-ratio: 16 / 9;
}

    .map-card--kontakt .map-embed {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

/* Desktop: map behaves as the 3rd column */
@media (min-width: 992px) {
    .contact .map-card--kontakt {
        flex: 1 1 38%;
        max-width: 620px;
    }
}

/* Tablet: let it breathe */
@media (max-width: 991px) {
    .contact .map-card--kontakt {
        max-width: none;
        margin-top: 16px;
    }
}

/* Phone: make it a bit taller for usability */
@media (max-width: 767px) {
    .contact .map-card--kontakt {
        aspect-ratio: 4 / 3;
        margin-top: 12px;
    }
}
