   /* Overlay */
    .legal-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        padding: 20px;
    }
    .legal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Modal Box */
.legal-modal {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  max-width: 800px;
  width: 95%;
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,255,255,0.1);
  transform: scale(0.7) translateY(-50px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: hsl(205.2, 93.9%, 6.5%);
}
    .legal-overlay.active .legal-modal {
        transform: scale(1) translateY(0);
    }

    /* Header */
.legal-modal-header {
  background: linear-gradient(135deg, rgba(0, 135, 255, 0.1), rgba(0, 52, 255, 0.05));
  border-bottom: 1px solid rgba(0,255,255,0.15);
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.legal-modal-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.legal-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0,255,255,0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
    .legal-modal-close:hover {
        background: rgba(0,255,255,0.15);
        transform: rotate(90deg);
        box-shadow: 0 0 15px rgba(0,255,255,0.3);
    }

    /* Scrollbarer Body */
    .legal-modal-body {
        padding: 30px;
        overflow-y: auto;
        flex: 1;
        color: rgba(255,255,255,0.85);
        line-height: 1.8;
        font-size: 0.95rem;
    }
    
    /* Responsive iframe Container für Maps */
    .legal-modal-body iframe {
        width: 100%;
        height: 450px;
        max-width: 100%;
        border-radius: 10px;
    }
    .legal-modal-body::-webkit-scrollbar {
        width: 6px;
    }
    .legal-modal-body::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.03);
    }
    .legal-modal-body::-webkit-scrollbar-thumb {
        background: rgba(0,255,255,0.2);
        border-radius: 3px;
    }
    .legal-modal-body::-webkit-scrollbar-thumb:hover {
        background: rgba(0,255,255,0.4);
    }
.legal-modal-body h2 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0,255,255,0.08);
}
    .legal-modal-body h2:first-child {
        margin-top: 0;
    }
    .legal-modal-body h3 {
        color: rgba(255,255,255,0.95);
        font-size: 1rem;
        margin-top: 18px;
        margin-bottom: 6px;
    }
    .legal-modal-body p {
        margin-bottom: 10px;
    }
    .legal-modal-body a {
        color: #007aff;
        text-decoration: none;
    }
    .legal-modal-body a:hover {
        text-decoration: underline;
    }
    .legal-modal-body code {
        background: rgba(0,255,255,0.08);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.9em;
        color: #007aff;
    }

    /* Footer */
    .legal-modal-footer {
        padding: 15px 30px;
        border-top: 1px solid rgba(0,255,255,0.1);
        background: rgba(0,0,0,0.2);
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        flex-shrink: 0;
    }
.legal-modal-btn {
  padding: 10px 30px;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(0,255,255,0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
    .legal-modal-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 0 10px rgba(0,255,255,0.4);
    }
    
    /* Route berechnen Button - Highlight Farbe */
    .legal-modal-btn-route {
        background: linear-gradient(135deg, rgba(0,135,255,0.2), rgba(0,200,255,0.15));
        border-color: rgba(0,200,255,0.4);
    }
    .legal-modal-btn-route:hover {
        background: linear-gradient(135deg, rgba(0,135,255,0.3), rgba(0,200,255,0.25));
        box-shadow: 0 0 15px rgba(0,200,255,0.5);
    }


    @media (max-width: 768px) {
        .legal-modal {
            width: 100%;
            max-height: 90vh;
            border-radius: 15px;
        }
        .legal-modal-header { padding: 20px; }
        .legal-modal-title { font-size: 1.2rem; }
        .legal-modal-body { padding: 20px; }
        .legal-modal-footer { 
            padding: 12px 20px;
            flex-wrap: wrap;
        }
        
        /* Maps iframe auf Mobile kleiner */
        .legal-modal-body iframe {
            height: 300px;
        }
        
        /* Buttons auf Mobile volle Breite */
        .legal-modal-btn {
            flex: 1;
            min-width: 140px;
        }
    }
.maps-blocked {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 400px;
        text-align: center;
        padding: 40px 20px;
    }
    .maps-blocked i {
        font-size: 3.5rem;
        color: hsl(205.8, 98%, 38.6%);
        margin-bottom: 20px;
        text-shadow: 0 0 15px hsl(205.8, 98%, 38.6%);
    }
    .maps-blocked-title {
        font-size: 1.3rem;
        color: #fff;
        margin-bottom: 10px;
        font-weight: 600;
    }
    .maps-blocked-text {
        color: rgba(255,255,255,0.5);
        margin-bottom: 25px;
        line-height: 1.6;
    }
    .maps-blocked-btn {
        padding: 12px 30px;
        background: linear-gradient(135deg, #00ff88, #00ffff);
        color: #000;
        border: none;
        border-radius: 6px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 20px;
    }
    .maps-blocked-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0,255,255,0.4);
    }
    .maps-blocked-address {
        color: rgba(255,255,255,0.6);
        font-size: 0.95rem;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }