@font-face {
    font-family: "Avenir Next";
    src: url("https://cdn.ebnermediagroup.de/fonts/avenir-next/AvenirNext-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    font-family: "Avenir Next", sans-serif;
}

#map-container {
    position: relative;
    width: 1400px;
    height: 1400px;
    margin: auto;
}

#map-container img {
    width: 1400px;
    height: 1400px;
    display: block;
}

.marker {
    position: absolute;
    width: 90px;
    height: 20px;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

#popup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    text-align: left;
    padding: 10px;
    z-index: 100;
    width: 250px;
    height: 65px;
    border: 2px solid #FFFFFF;
    background-color: #F0F0F0;
    pointer-events: none; /* disable clicks when hidden */
    opacity: 0;
    transition: opacity 0.3s ease;
}

#popup.visible {
    opacity: 1;
    pointer-events: auto; /* clickable when visible */
}

#popup.hidden { display: none; }

#popup-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #23262f;
}

#popup a {
    display: inline-block;
    margin-top: 5px;
    color: #23262f;
    font-weight: 700;
    font-size: 15px;
    font-style: normal;
    line-height: 1.625rem;
    letter-spacing: -0.015rem;
    text-decoration: underline;
}

#popup a:hover {
    text-decoration: none;
}

