body {
    font-family: "HelveticaNowRegular", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Verhindert Scrollbalken */
}

.map {
    width: 100%; /* Stellt sicher, dass die Karte die volle Breite nutzt */
    height: auto; /* Erlaubt automatische Höhenanpassung */
    max-width: 1000px; /* Maximale Breite der Karte */
}

.tooltip {
    position: absolute;
    background: #535353;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
}

/* Farben für die Legende */
.solid {
    background-color: rgb(0, 137, 168);
}

/* Für breitere Streifen */
.striped {
    background-color: rgb(0, 137, 168);
    background-image: repeating-linear-gradient(135deg, rgb(137, 195, 208), rgb(137, 195, 208) 4px, transparent 4px, transparent 8px);
}

.dotted {
    background-color: rgb(0, 137, 168);
    background-image: radial-gradient(rgb(137, 195, 208) 2.3px, transparent 2px);
    background-size: 10px 10px;
}

.gray {
    background-color: rgb(161, 161, 161);
}

/* Legende Styling */
.legend {
    display: flex;
    flex-direction: column; /* Ändert die Richtung von horizontal zu vertikal */
    align-items: flex-start; /* Linksbündige Ausrichtung */
    gap: 10px; /* Abstand zwischen den Einträgen */
    margin: 15px auto; /* Zentriert die Legende horizontal */
    padding: 10px;
    max-width: 400px; /* Erhöht die maximale Breite für längere Texte */
}

.legend-item {
    display: table;
    width: 100%;
    height: 25px;
    margin-bottom: 5px;
}

.legend-color {
    display: table-cell;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    padding-right: 5px;
}

.legend-text {
    display: table-cell;
    vertical-align: middle;
    color: #111;
    /* font-family: "NonBreakingSpaceOverride", "Hoefler Text", Garamond, "Times New Roman", serif; */
    font-weight: 400;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    padding-left: 7px; /* Abstand zur Farbe */
    padding-top: 4px;
}
