/* Projekte Page Specific Styles */

.page-hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    background: var(--white);
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.page-hero h1 .accent {
    position: relative;
    display: inline-block;
}

.page-hero h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: var(--accent);
    z-index: -1;
}

.page-hero .lead {
    font-size: 1.5rem;
    color: var(--gray);
    max-width: 800px;
    font-weight: 300;
    line-height: 1.4;
}

.projekte-filter {
    display: flex;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--black);
    color: var(--white);
}

.projekte-section {
    padding: 4rem 0 8rem;
}

.projekte-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.projekt-item {
    transition: all 0.4s cubic-bezier(0.13, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

.projekt-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.projekt-item:hover {
    transform: scale(0.98);
}

.projekt-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--light-gray);
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.projekt-image::after {
    content: 'Zum Projekt →';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 1rem 2rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.projekt-item:hover .projekt-image::after {
    opacity: 1;
}

.projekt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s var(--ease);
}

.projekt-item:hover .projekt-image img {
    transform: scale(1.1);
    filter: blur(3px);
}

.projekt-title {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.projekt-category {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.projekt-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.projekt-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.projekt-tag {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.projekt-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    height: 0;
    margin: 0;
    overflow: hidden;
}

.projekte-cta {
    padding: 8rem 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.projekte-cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.projekte-cta p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.projekte-cta .cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.projekte-cta .cta-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .projekte-grid {
        grid-template-columns: 1fr;
    }
    
    .projekte-filter {
        gap: 1rem;
    }
}
