/* Standorte Seite spezifische Styles */

.locations-content {
    padding: 4rem 0;
    background: white;
}

/* Location Cards */
.location-card {
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.location-content {
    display: flex;
    flex-direction: column;
    min-height: auto;
}

/* Beide Karten haben gleiche Reihenfolge: Text oben, Bild unten */
.rissen-card .location-content,
.lurup-card .location-content {
    flex-direction: column;
}

/* Location Text */
.location-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.location-description {
    margin-bottom: 2.5rem;
}

.location-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.location-description p:last-child {
    margin-bottom: 0;
}

/* Location Actions */
.location-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: auto;
    flex: 1;
}

.phone-button {
    background: #0066cc;
    color: white;
    border: 2px solid #0066cc;
}

.phone-button:hover {
    background: #004499;
    border-color: #004499;
    transform: translateY(-2px);
    color: white;
}

.maps-button {
    background: white;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.maps-button:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.action-icon {
    font-size: 1rem;
}

.action-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.action-detail {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Location Image */
.location-image {
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3rem 3rem 3rem;
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 300px;
}

.placeholder-text {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.6);
}

.carousel-indicators .indicator.active {
    background: #0066cc;
    width: 24px;
    border-radius: 4px;
    border-color: #0066cc;
}

.arrow-left,
.arrow-right {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 300;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.carousel-container:hover .arrow-left,
.carousel-container:hover .arrow-right {
    opacity: 1;
}

.arrow-left:hover,
.arrow-right:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .location-text {
        padding: 2.5rem;
    }
    
    .location-image {
        padding: 0 2.5rem 2.5rem 2.5rem;
    }
    
    .location-title {
        font-size: 2.2rem;
    }
    
    .location-description p {
        font-size: 1rem;
    }
    
    .carousel-container {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .locations-content {
        padding: 40px 0;
    }
    
    .location-card {
        margin-bottom: 2rem;
    }
    
    .location-text {
        padding: 1.5rem;
    }
    
    .location-image {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .location-title {
        font-size: 1.8rem;
    }
    
    .locations-header {
        padding: 0 1rem;
    }
    
    .locations-header h1 {
        font-size: 1.8rem;
    }
    
    .location-description p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .location-actions {
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .action-button {
        padding: 0.5rem 0.7rem;
        justify-content: center;
    }
    
    .action-icon {
        font-size: 0.9rem;
    }
    
    .action-text {
        font-size: 0.85rem;
    }
    
    .action-detail {
        font-size: 0.75rem;
    }
    
    .image-placeholder {
        min-height: 250px;
    }
    
    .placeholder-text {
        font-size: 1rem;
    }
    
    .carousel-container {
        min-height: 300px;
    }
    
    .carousel-slide img {
        width: 100%;
        max-height: 400px;
    }
    
    .carousel-indicators .indicator {
        width: 6px;
        height: 6px;
    }
    
    .carousel-indicators .indicator.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .location-text {
        padding: 1.5rem;
    }
    
    .location-image {
        padding: 0 1rem 1rem 1rem;
    }
    
    .location-title {
        font-size: 1.6rem;
    }
    
    .location-description p {
        font-size: 0.9rem;
    }
    
    .action-button {
        padding: 0.4rem 0.6rem;
    }
    
    .action-icon {
        font-size: 0.85rem;
    }
    
    .action-text {
        font-size: 0.8rem;
    }
    
    .action-detail {
        font-size: 0.7rem;
    }
    
    .image-placeholder {
        min-height: 200px;
    }
    
    .carousel-container {
        min-height: 250px;
    }
    
    .carousel-slide img {
        width: 100%;
        max-height: 300px;
    }
    
    .arrow-left,
    .arrow-right {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        bottom: 0.5rem;
    }
    
    .carousel-indicators .indicator {
        width: 5px;
        height: 5px;
    }
    
    .carousel-indicators .indicator.active {
        width: 16px;
    }
}

/* Fullscreen Modal */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal.active {
    display: flex;
}

.fullscreen-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.fullscreen-prev,
.fullscreen-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2.5rem;
    font-weight: 300;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-prev:hover,
.fullscreen-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-prev {
    left: 20px;
}

.fullscreen-next {
    right: 20px;
}

.fullscreen-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.fullscreen-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.fullscreen-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10001;
}

.fullscreen-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.6);
}

.fullscreen-indicator.active {
    background: #0066cc;
    width: 28px;
    border-radius: 4px;
    border-color: #0066cc;
}