/* Allgemeine Stile */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #1f2937;
    background-color: #f9fafb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Slider-Stile */
input[type="range"] {
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10B981; /* emerald-500 */
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10B981; /* emerald-500 */
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Animationen für dynamische Updates */
@keyframes highlight {
    0% {
        background-color: rgba(16, 185, 129, 0.2); /* emerald-500 with opacity */
    }
    100% {
        background-color: transparent;
    }
}

.highlight-update {
    animation: highlight 1s ease-out;
}

/* Map Container */
#map-container {
    min-height: 300px;
    border-radius: 0.375rem;
    overflow: hidden;
}

/* Ergebniskarten */
.result-card {
    transition: transform 0.2s ease-in-out;
}

.result-card:hover {
    transform: translateY(-2px);
}

/* Tooltips für Charts */
.chart-tooltip {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

/* Custom Tailwind-ähnliche Klassen */
.cta-button {
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background-color: #059669; /* emerald-600 */
}

.cta-button:hover {
    background-color: #047857; /* emerald-700 */
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #10B981; /* emerald-500 */
}

.secondary-button {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background-color: white;
}

.secondary-button:hover {
    background-color: #f9fafb;
}

.secondary-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #10B981; /* emerald-500 */
}

/* Responsive Anpassungen */
@media (max-width: 1023px) {
    .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}
