/* ContactDetails Portlet Styling */
.jsce-contact-details {
    padding: 2rem 0;
    font-family: "Open Sans", sans-serif;
    background: transparent;
}

/* Contact Section */
.contact-section {
    margin-bottom: 1.5rem;
}

/* Contact Header */
.contact-header {
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Spezielle Styling für Adress-Icon */
.contact-icon .fa-map-marker-alt {
    background-color: #000;
    color: white;
    padding: 12px;
    border-radius: 50%;
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -5px; /* Kompensiert die größere Größe */
}

.contact-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000 !important;
    text-transform: uppercase;
    margin: 0;
}

/* Contact Content */
.contact-content {
    margin-left: 4rem; /* Einrückung entsprechend der Icon-Breite + Margin */
}

.contact-content-right {
    margin-left: 3rem;
}

.address-line {
    font-size: 1.1rem;
    color: #000 !important;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.phone-number, 
.email-address {
    font-size: 1.1rem;
    color: #000 !important;
    text-decoration: none;
    font-weight: 500;
}

.phone-number:hover, 
.email-address:hover {
    color: #000 !important;
    text-decoration: underline;
}

.appointment-text {
    font-size: 1.1rem;
    color: #000 !important;
    margin: 0;
}

/* Social Media Section */
.social-media-section {
    margin-left: -0.6rem;
    margin-top: 0.5rem;
    width: 100%;
}

/* Social Media Icons */
.social-media-icons {
    gap: 0.5rem;
}

/* Vertikaler Trennstrich */
.divider-line {
    width: 1px;
    height: 24px;
    background-color: #000;
    margin: 0 1rem;
    flex-shrink: 0;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: transparent;
    color: #edb932 !important;
    text-decoration: none;
}

/* Routenplaner Button */
.route-planner-btn {
    color: #000 !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.route-planner-btn:hover {
    color: #edb932 !important;
    text-decoration: none;
}

.route-planner-btn i {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .jsce-contact-details {
        padding: 1.5rem 0;
    }
    
    .contact-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    .contact-content-right {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .contact-header {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .jsce-contact-details {
        padding: 1rem 0;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        background-color: transparent;
        color: #000;
    }
    
    /* Responsive Adress-Icon */
    .contact-icon .fa-map-marker-alt {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .contact-title {
        font-size: 0.8rem;
    }
    
    .address-line,
    .phone-number,
    .email-address,
    .appointment-text {
        font-size: 1rem;
        color: #000 !important;
    }
}

/* Dark mode override - Schrift bleibt immer schwarz */
@media (prefers-color-scheme: dark) {
    .contact-title,
    .address-line,
    .phone-number,
    .email-address,
    .appointment-text,
    .route-planner-btn {
        color: #000 !important;
    }
    
    .contact-icon {
        background-color: transparent;
        color: #000;
    }
    
    /* Dark Mode - Adress-Icon bleibt schwarz mit weißem Symbol */
    .contact-icon .fa-map-marker-alt {
        background-color: #000 !important;
        color: white !important;
    }
    
    .social-icon {
        background-color: transparent;
        border: none;
        color: #000 !important;
    }
    
    .social-icon:hover {
        background-color: transparent;
        color: #edb932 !important;
    }
}
