/* ========================================
   RESULTS SECTION
   ======================================== */
.results-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.results-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.results-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    padding: 0 2rem;
    justify-items: center;
}

.results-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.results-featured {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.result-item {
    background: var(--card-background);
    border: 1px solid rgba(39, 150, 60, 0.2);
    border-radius: 5px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.result-item-highlighted {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.15) 0%, rgba(139, 195, 74, 0.08) 100%);
    border: 2px solid var(--vegaenergy-dark);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.3);
    position: relative;
    max-width: 300px;
    width: 100%;
}

.result-item-highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vegaenergy-dark), var(--vegaenergy-light));
}

.result-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vegaenergy-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    border: 1px solid var(--card-background);
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.result-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.result-content {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

.result-content h3 {
    color: var(--vegaenergy-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-content .result-address {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-content .result-address::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2327963c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
}

.result-content .result-distance {
    color: var(--vegaenergy-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-content .result-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-content .result-category::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2366bb6a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4'%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
}

/* Spezielle Styling für das hervorgehobene Ergebnis */
.result-item-highlighted .result-content h3 {
    color: var(--vegaenergy-dark);
    font-weight: 700;
    font-size: 1.6rem;
}

.result-item-highlighted .result-content .result-distance {
    color: var(--vegaenergy-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.result-item-highlighted .btn-route {
    background: var(--vegaenergy-dark);
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4);
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 150px;
}

.result-item-highlighted .btn-route:hover {
    background: #1e7d32;
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.6);
}

/* Layout-Optimierungen */
.results-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.results-bottom .result-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.results-bottom .result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.results-bottom .result-actions {
    margin-top: auto;
    padding-top: 1rem;
}

/* Online Shop Hinweis */
.online-shop-hint {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(39, 150, 60, 0.1), rgba(39, 150, 60, 0.05));
    border: 2px solid rgba(39, 150, 60, 0.3);
    border-radius: 5px;
    text-align: center;
}

.online-shop-content h3 {
    color: var(--vegaenergy-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.online-shop-content p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Mobile Responsiveness - Gleiche Größe für alle Result-Container */
@media screen and (max-width: 768px) {
    .result-item,
    .result-item-highlighted {
        height: 350px;
        display: flex;
        flex-direction: column;
    }
    
    .result-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .result-actions {
        margin-top: auto;
        padding-top: 1rem;
    }
    
    .results-top,
    .results-bottom {
        grid-template-columns: 1fr;
        padding: 0 0rem;
    }
    
    .result-item-highlighted {
        max-width: 100%;
    }
}