#map-container {
    display: flex;
    flex-direction: row;
}

#map-container button.btn-map,
#map-mobile button.btn-map {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #F9FAFA;
    border: none;
    color: #00132C;
    border-radius: 50px;
    font-size: 1.25em;
    transition: background-color 0.3s;
    margin-right: 20px;
}

#map-container button.btn-map.active {
    background-color: #68BB54;
    color: #F9FAFA;
}

#map-container button.btn-map:hover,
#map-mobile button.btn-map:hover {
    background-color: #68BB54;
    color: #F9FAFA;
}

#map-container .map-svg {
    position: relative;
    width: 100%;
    max-width: 470px;
    text-align: right;
    flex: 1;
    height: 100%;
}

#map-container .map-content-wrapper {
    width: 40%;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#map-container .map-content-wrapper .map-item-content h3 {
    color: white
}

#map-container svg {
    width: 100%;
    height: auto;
    
}

#map-container path {
    transition: all ease 0.5s;
}

#map-container .highlight {
    fill: #E2EBF2;
    stroke-width: 4;
    opacity: 1 !important;
}

#map-container .map-point {
    width: 18px;
    height: 18px;
    border: 2px solid #FFF;
    position: absolute;
    background-color: #FFF;
    border-radius: 100%;
    transition: all ease 0.5s;
   /* animation: pulse 1.5s infinite;  Füge die pulsierende Animation hinzu */
  /*  animation-timing-function: ease-in-out;  Sanfter Übergang */
}

#map-container .map-point.active { 
    background-color: #68BB54;
    border: 2px solid #68BB54;
}


/* Tooltip Styling */
#map-container .tooltip {
    display: none;
    padding: 5px;
    z-index: 100;
}

#map-container .tooltip.active { 
    display: block
}


#map-container p,
#map-container h2 {
    color: white
}

#map-container h2 { 
    margin-bottom: 1.667rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5); /* Vergrößern auf 120% */
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#map-mobile.map-buttons.mobile {
    display: none;
}

#map-container .map-text-content a {
    color: white;
    text-decoration: underline;
}

#map-container .location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

#map-container .tooltip-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

#map-container .tooltip-image img {
    width: 150px;
    height: auto;
    border-radius: 6px;
    max-width: 150px;
}



#map-container .tooltip-info .person-name {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: normal;
    margin-bottom: 8px;
}

#map-container .tooltip-info .person-position {
    font-size: 1rem;
    margin-bottom: 21px;
}

#map-container .info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 1rem;
}

#map-container .info-row:last-child {
    margin-bottom: 0;
}

#map-container .tooltip span {
    color: white;
}

#map-container .location-row span {
    font-size: 20px;
}

#map-container .location-heading {
    font-size: 36px;
    line-height: 1.7;
}

/* Beispielhafte Icons (du kannst eigene SVGs, FontAwesome o.ä. einbinden) */
#map-container .icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
}

#map-container .icon-location {
    background-image: url('/wp-content/uploads/2025/06/ep_location.svg');
}

#map-container .icon-phone {
    background-image: url('/wp-content/uploads/2025/06/fi-rr-phone-call.svg');
}

#map-container .icon-mail {
    background-image: url('/wp-content/uploads/2025/06/fi-rr-envelope.svg');
}


@media (max-width: 1024px) {

    #map-container .map-point { 
        width: 20px;
        height: 20px;
    }

    #map-container {
        flex-direction: column;
    }
    #map-container .map-svg {
        width: 100%;
    }

    #map-container .map-content-wrapper {
        width: 100%;
    }

   

    #map-mobile.map-buttons.mobile {
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    #map-mobile.map-buttons.mobile button{ 
        margin-bottom: 20px;
    }

    #map-container .map-content-wrapper {
        gap: 20px;
    }

    #map-container .map-content-wrapper .map-item-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {

    #map-container .map-point { 
        width: 10px;
        height: 10px;
    }

    #map-container .map-point.active { 
     
        transform: scale(1.75);
    }

    #map-container  .tooltip-grid {
        grid-template-columns: 1fr; /* eine Spalte */
        margin-bottom: 20px;
    }

    #map-container  .tooltip-image {
        margin-bottom: 15px;
    }

}