/* Portfolio page (portfolio.html, en/portfolio.html) */

/* Same width as the nav bar and the index containers */
.pf-wrap {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Page title styled like the section titles (icon tile + h2 size) */
.pf-intro {
    margin-bottom: 0;
}

.pf-intro h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.5rem);
    line-height: 1.2;
    color: var(--heading-color);
}

/* Frosted Glass: nur Transluzenz, Blur und Lichtkante –
   kein Akzentstreifen, kein Drop-Shadow, kein Hover-Lift */
.pf-project,
.pf-cta .appointment-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-top-color: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pf-project {
    padding: 2rem 2.25rem;
    scroll-margin-top: 6rem;
}

.pf-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.pf-kicker {
    margin: 0 0 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.pf-project h2 {
    margin: 0 0 0.35rem;
    font-size: 1.75rem;
    color: var(--heading-color);
    text-align: left;
}

.pf-tagline {
    margin: 0;
    color: var(--subtle-text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.pf-link {
    flex-shrink: 0;
    white-space: nowrap;
}

.pf-role {
    margin: 0 0 1rem;
    color: var(--heading-color);
    font-size: 1.05rem;
    font-weight: 600;
}

.pf-role span {
    display: block;
    margin-bottom: 0.2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--subtle-text-color);
}

.pf-did {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pf-did li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.pf-did li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.pf-did a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

.pf-facts {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pf-facts li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 0.9rem;
}

.pf-facts strong {
    color: var(--heading-color);
}

/* Project with image: Bild als breiter Header, Inhalt darunter (einspaltig wie die anderen Karten) */
.pf-project-media {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.pf-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 12px;
}

.pf-logos {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

/* All partner logos share the Splexit look: same height, natural width.
   Logo files are cropped to their artwork, so equal height = equal visual size. */
.pf-logos img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 100%;
}

/* CTA am Seitenende (ersetzt die früheren Inline-Styles) */
/* Gleiche Breite wie die Projektkarten (.pf-section + .pf-wrap) */
.pf-cta {
    padding: 4rem 2rem;
}

.pf-cta .appointment-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
}

.pf-cta .appointment-card {
    text-align: center;
    transition: none;
}

.pf-cta .appointment-card::before {
    content: none;
}

.pf-cta .appointment-card:hover {
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pf-cta .appointment-header p {
    margin: 0 auto;
    color: var(--subtle-text-color);
    font-size: 1.1rem;
}

.pf-cta .cta-buttons {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    /* match the mobile nav container (99% wide, centred) */
    .pf-wrap,
    .pf-cta .appointment-container {
        width: 99%;
    }

    .pf-intro {
        padding: 0 1rem;
    }

    .pf-project {
        padding: 1.5rem 1.25rem;
    }

    .pf-top {
        flex-direction: column;
        gap: 1rem;
    }

    .pf-project-media {
        gap: 1.25rem;
    }

    .pf-image {
        aspect-ratio: 16 / 9;
    }

    .pf-intro h1 {
        font-size: 1.6rem;
    }

    .pf-project h2 {
        font-size: 1.5rem;
    }
}
