

.case-study-container {
    padding: 40px 0;
}

.case-study-header {
    position: relative;
}

.case-study-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.meta-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.case-study-header h1 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #212529;
}

.project-reference {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    flex-grow: 1;
}

.project-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.project-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.case-study-featured-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.case-study-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #343a40;
}

.case-study-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-study-content p {
    margin-bottom: 1.5rem;
}

.case-study-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.case-study-content ul, 
.case-study-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.case-study-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: #495057;
}

.case-study-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-buttons span {
    color: #6c757d;
    font-size: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #495057;
    transition: all 0.2s ease;
}

.share-btn:hover {
    color: #fff;
}

.share-btn.facebook:hover {
    background: #1877f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
}

.share-btn.linkedin:hover {
    background: #0077b5;
}

.btn-project-case-study {
    display: inline-flex;
    align-items: center;
    background: #0d6efd;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    margin-left: 10px;
}

.btn-project-case-study:hover {
    background: #0b5ed7;
    color: white;
    text-decoration: none;
}

/* Für die Projektseite */
.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

@media (max-width: 767px) {
    .case-study-header h1 {
        font-size: 2rem;
    }
    
    .btn-project-view,
    .btn-project-case-study {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .project-reference {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-thumbnail {
        width: 100%;
        height: 120px;
    }
    
    .case-study-footer .col-md-6 {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .share-buttons {
        justify-content: center;
    }
}
