@import url(style.css);

/* =========================================================================
 PROJEKT SEITE
========================================================================= */

.projekt-seite {
    padding-bottom: 0;
    margin-top: -10rem; /* Gleicht clean-header Höhe aus */
}

/* =========================================================================
 HERO
========================================================================= */

.projekt-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 70vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.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(32, 34, 42, 0.95) 0%,
        rgba(32, 34, 42, 0.4) 50%,
        rgba(32, 34, 42, 0.1) 100%
    );
}

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

@media (min-width: 768px) {
    .projekt-hero-inhalt {
        width: 70%;
    }
}

.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;
}

.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);
}

/* =========================================================================
 ZURÜCK-LINK
========================================================================= */

.projekt-zurueck {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--lexenddeca);
    font-size: var(--font-size-hint);
    font-weight: var(--regular);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(249, 249, 249, 0.5);
    text-decoration: none;
    padding: var(--space-l) 0 0;
    transition: color 0.25s ease;
    margin-top: 2rem;
}

.projekt-zurueck:hover {
    color: var(--ghostwhite);
}

.projekt-zurueck svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s ease;
}

.projekt-zurueck:hover svg {
    transform: translateX(-3px);
}

/* =========================================================================
 BESCHREIBUNGEN/TEXTE
========================================================================= */

.projekt-beschreibung {
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
    margin: 7rem 0;
}

.projekt-beschreibung h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 0;
    max-width: 600px;
}

.projekt-beschreibung-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-l);
}

@media (min-width: 768px) {
    .projekt-beschreibung-text {
        grid-template-columns: 1fr 1fr;
    }
}

.projekt-beschreibung-text p {
    line-height: 1.75;
    margin-bottom: 0;
}

/* =========================================================================
 BILDER GALERIE
========================================================================= */

.bild-galerie {
    display: flex;
    flex-direction: column;
}

.projekt-bild-halb {
    flex: 1;
    overflow: hidden;
}

.projekt-bild-halb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.bild-galerie-white{ /*Bild Galerie mit weißem Rand*/
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--ghostwhite);
    padding: 1rem 0;
}

.bild-galerie-white_2{ /*Bild Galerie mit weißem Rand (oben kein Rand)*/
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--ghostwhite);
    padding: 0 0 1rem 0;

}

@media (min-width: 768px) {
    .bild-galerie-white, .bild-galerie-white_2, .bild-galerie {
        flex-direction: row;
    }

}

.story-bilder-versetzt {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xl);
    overflow: visible; 
    margin: 7rem 0;
}

.versetzt-bild {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.versetzt-bild img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.versetzt-bild--unten {
    margin-top: 4rem;
}

/* Mobile: untereinander */
@media (max-width: 640px) {
    .story-bilder-versetzt {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: var(--space-xl);
        overflow: hidden;
    }

    .versetzt-bild--unten {
        margin-top: 0;
    }

}

/* =========================================================================
 ABSCHNITTE
========================================================================= */

.projekt-abschnitt {
    padding: var(--space-2xl) 0;
    border-bottom: 1px solid rgba(249, 249, 249, 0.06);
}

.projekt-abschnitt:last-of-type {
    border-bottom: none;
}

.abschnitt-label {
    display: block;
    font-family: var(--lexenddeca);
    font-size: 0.65rem;
    font-weight: var(--medium);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: var(--space-m);
}

.projekt-abschnitt h2 {
    font-size: var(--font-size-h2);
    margin-bottom: var(--space-m);
}

.projekt-abschnitt p {
    max-width: 680px;
    opacity: 0.8;
    line-height: 1.75;
}

/* Text + Bild nebeneinander */
.abschnitt-split {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .abschnitt-split {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-2xl);
    }

    .abschnitt-split .abschnitt-text,
    .abschnitt-split .abschnitt-bild {
        flex: 1;
    }
}

/* =========================================================================
 BILDER
========================================================================= */

.abschnitt-bild img,
.prozess-bild img,
.ergebnis-bild img {
    width: 100%;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

.abschnitt-bildunterschrift {
    display: block;
    font-family: var(--lexenddeca);
    font-size: var(--font-size-hint);
    color: rgba(249, 249, 249, 0.35);
    margin-top: var(--space-xs);
}

/* =========================================================================
 PROZESS-SCHRITTE
========================================================================= */

.prozess-schritte {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-l);
}

.prozess-schritt {
    display: flex;
    gap: var(--space-l);
    align-items: flex-start;
}

.prozess-nummer {
    font-family: var(--poppins);
    font-size: var(--font-size-hint);
    font-weight: var(--semibold);
    letter-spacing: 0.1em;
    color: var(--blue);
    flex-shrink: 0;
    width: 2rem;
    padding-top: 0.15rem;
}

.prozess-schritt-inhalt h3 {
    margin-bottom: var(--space-xs);
}

.prozess-schritt-inhalt p {
    margin-bottom: 0;
    opacity: 0.7;
}

/* =========================================================================
 ERGEBNIS-GRID
========================================================================= */

.ergebnis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-m);
    margin-top: var(--space-l);
}

@media (min-width: 600px) {
    .ergebnis-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ergebnis-bild--gross {
    grid-column: 1 / -1;
}

/* =========================================================================
 NÄCHSTES PROJEKT
========================================================================= */

.naechstes-projekt {
    padding: var(--space-2xl) 0 var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.naechstes-label {
    font-family: var(--lexenddeca);
    font-size: 0.65rem;
    font-weight: var(--medium);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(249, 249, 249, 0.35);
}

.naechstes-link {
    display: flex;
    align-items: center;
    gap: var(--space-m);
    text-decoration: none;
}

.naechstes-link h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--ghostwhite);
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.naechstes-link:hover h2 {
    color: var(--blue);
}

.naechstes-pfeil {
    width: 2rem;
    height: 2rem;
    color: var(--blue);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.naechstes-link:hover .naechstes-pfeil {
    transform: translate(4px, -4px);
}