body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
}

.result-box {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    /* Neue Eigenschaften hinzufügen */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.results-heading {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .results-heading {
        font-size: 1.5rem; /* Kleinere Schriftgröße für mobile Geräte */
    }
}

.info-box {
    background-color: #e0f2fe;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    margin-bottom: 1rem;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 0.5rem;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    border-radius: 4px;
    display: none;
    transition: opacity 0.5s, visibility 0.5s;
}

/* Darkmode */
.dark {
    color: #e2e8f0;
}

.dark body {
    background: linear-gradient(to bottom, #1a202c, #2d3748);
}

.dark .bg-white, .dark .bg-gray-100 {
    background-color: #2d3748;
}

.dark .text-gray-700 {
    color: #e2e8f0;
}

.dark .text-blue-600, .dark .text-blue-700 {
    color: #63b3ed;
}

.dark .info-box {
    background-color: #2c5282;
    color: #e2e8f0;
    border-left-color: #63b3ed;
}

.dark .result-box {
    background-color: #4a5568;
    color: #e2e8f0;
}

.dark input, .dark button {
    background-color: #4a5568;
    color: #e2e8f0;
    border-color: #718096;
}

.dark button:hover {
    background-color: #2c5282;
}

.dark a {
    color: #63b3ed;
}

.dark a:hover {
    color: #90cdf4;
}

/* Angepasster Toggle-Button Stil */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #4a5568;
    color: #e2e8f0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dark .theme-toggle {
    background-color: #63b3ed;
    color: #1a202c;
}

.theme-toggle:hover {
    background-color: #63b3ed;
}

.dark .theme-toggle:hover {
    background-color: #90cdf4;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4a5568;
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background-color: #2c5282;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.dark .back-to-top {
    background-color: #63b3ed;
    color: #1a202c;
}

.dark .back-to-top:hover {
    background-color: #90cdf4;
}