@import url(/assets/css/base/style.css);

/* =========================================================================
   RECHTLICHE SEITE — HERO MIT GRID-PATTERN
   ========================================================================= */

.projekt-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 40vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background-color: var(--blackblue);
    background-image:
        linear-gradient(rgba(249, 249, 249, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 249, 249, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center;
    background-repeat: repeat;
}

.projekt-hero-bild {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.projekt-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(27, 29, 36, 0.95) 0%, 
            rgba(27, 29, 36, 0.4) 50%, 
            rgba(27, 29, 36, 0.1) 100%);
}

.projekt-hero-inhalt {
    position: relative;
    z-index: 1;
    width: 65%;
    margin: 0 auto;
    padding-bottom: var(--space-2xl);
    display: flex;
    flex-direction: column;
}

.projekt-hero-inhalt p {
    color: var(--blue);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: var(--medium);
}

.projekt-hero-label {
    font-family: var(--lexenddeca);
    font-size: var(--font-size-hint);
    font-weight: var(--regular);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ghostwhite);
    margin-bottom: 0;
}

.projekt-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--ghostwhite);
    margin-bottom: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.projekt-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
    margin-top: var(--space-xs);
}

.projekt-meta-pille {
    font-family: var(--lexenddeca);
    font-size: 0.65rem;
    font-weight: var(--medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ghostwhite);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Responsive Anpassungen ── */
@media (max-width: 768px) {
    .projekt-hero-inhalt {
        width: 85%;
    }

    .projekt-hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.15;
    }
}