﻿/* =========================================================
   PROJECT � DESIGN GARTENVILLA
   01 � WEBSITE
   02 � �BER DAS PROJEKT
   03 � TECHNOLOGIEN
========================================================= */
/* =========================================================
   VARIABLES
========================================================= */
:root {
    --background: #0C0B0A;
    --surface: #171614;
    --text: #F4F1EA;
    --muted: #A69F94;
    --accent: #D6BFA1;
    --accent-light: #E8DBC2;
    --border: rgba(255, 255, 255, 0.12);
    --accent-border: rgba(214, 191, 161, 0.5);
}
/* =========================================================
   RESET
========================================================= */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
}
/* =========================================================
   01 � WEBSITE / FULLSCREEN HERO
========================================================= */
.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    background: #171614;
}
/* =========================================================
   BILD � F�LLT DEN KOMPLETTEN HERO
========================================================= */
.project-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.project-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
/* =========================================================
   OVERLAY
========================================================= */
.project-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(12, 11, 10, 0.88) 0%,
            rgba(12, 11, 10, 0.62) 28%,
            rgba(12, 11, 10, 0.20) 62%,
            rgba(12, 11, 10, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(12, 11, 10, 0.48) 0%,
            transparent 45%
        );
    pointer-events: none;
}
.project-hero-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 82px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;

    transition:
        top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        right 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        backdrop-filter 0.45s ease;
}

.project-hero-header.is-scrolled {
    top: 18px;
    left: 50%;
    right: auto;
    width: min(760px, calc(100% - 12vw));
    height: auto;
    padding: 13px 22px;
    transform: translateX(-50%);

    background: rgba(23, 22, 20, 0.62);
    border-color: rgba(214, 191, 161, 0.20);

    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(18px) saturate(115%);
    -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.project-hero-logo {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--text);
    transition:
        color 0.3s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-hero-header.is-scrolled .project-hero-logo {
    transform: scale(0.96);
}
.project-hero-logo:hover {
    color: var(--accent);
}
.project-hero-back {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: rgba(244, 241, 234, 0.82);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}
.project-hero-back:hover {
    color: var(--accent);
    transform: translateX(-4px);
}
/* =========================================================
   HERO CONTENT
========================================================= */
.project-hero-content {
    position: absolute;
    left: 5vw;
    bottom: 10vh;
    z-index: 3;
    width: min(650px, 55vw);
}
/* =========================================================
   01 / WEBSITE
========================================================= */
.project-eyebrow {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--muted);
}
.project-eyebrow span {
    font-family: "Cormorant Garamond", serif;
    font-size: 35px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--accent);
}
/* =========================================================
   TITEL
========================================================= */
.project-hero-content h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(5rem, 8vw, 9rem);
    font-weight: 400;
    line-height: 0.76;
    letter-spacing: -0.06em;
    color: var(--text);
}
.project-hero-content h1 span {
    display: block;
    color: var(--accent);
    font-style: italic;
}
/* =========================================================
   BESCHREIBUNG
========================================================= */
.project-intro {
    max-width: 410px;
    margin: 42px 0 0;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(244, 241, 234, 0.86);
}
/* =========================================================
   LIVE WEBSITE
========================================================= */
.project-live {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: 32px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.17em;
    color: var(--text);
    transition:
        color 0.3s ease,
        gap 0.3s ease;
}
.project-live span {
    font-size: 15px;
    color: var(--accent);
}
.project-live:hover {
    gap: 19px;
    color: var(--accent);
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
    .project-hero {
        height: 100svh;
        min-height: 650px;
    }
    .project-hero-header {
        height: 65px;
        padding: 0 6vw;
    }

    .project-hero-header.is-scrolled {
        top: 12px;
        left: 50%;
        right: auto;
        width: calc(100% - 10vw);
        height: auto;
        padding: 11px 16px;
        transform: translateX(-50%);
    }
    .project-hero-back {
        font-size: 8px;
    }
    .project-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(12, 11, 10, 0.20) 0%,
                rgba(12, 11, 10, 0.38) 38%,
                rgba(12, 11, 10, 0.94) 100%
            );
    }
    .project-hero-content {
        left: 6vw;
        right: 6vw;
        bottom: 8vh;
        width: auto;
    }
    .project-hero-content h1 {
        font-size: clamp(4.2rem, 17vw, 6rem);
    }
    .project-intro {
        margin-top: 34px;
        font-size: 13px;
    }
}
/* =========================================================
   02 � �BER DAS PROJEKT
========================================================= */
.project-details {
    padding: 130px 5vw 140px;
    background: var(--surface);
}
/* LABEL */
.project-details-label {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--muted);
}
.project-details-label span {
    font-family: "Cormorant Garamond", serif;
    font-size: 35px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--accent);
}
/* ABOUT GRID */
.project-about {
    width: 100%;
    max-width: 1500px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(600px, 1.25fr);
    gap: 70px;
    align-items: start;
}
/* LEFT */
.project-about-content {
    width: 100%;
    max-width: 650px;
}
.project-about-content h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 5vw, 6.2rem);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -0.055em;
    color: var(--text);
}
.project-about-content h2 span {
    display: block;
    color: var(--accent);
    font-style: italic;
}
.project-about-text {
    margin-top: 55px;
}
/* INTRO */
.about-intro {
    display: grid;
    grid-template-columns: 3px minmax(0, 1fr);
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}
.about-intro p,
.about-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}
.about-line {
    width: 2px;
    height: 100%;
    min-height: 90px;
    background: var(--accent);
}
/* ITEMS */
.about-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 24px;
    padding: 29px 0;
    border-bottom: 1px solid var(--border);
}
/* ICON */
.about-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.about-icon svg {
    width: 55px;
    height: 55px;
    display: block;
}
/* RIGHT */
.project-about-visual {
    width: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        260px;
    gap: 18px;
    align-items: stretch;
}
/* MAIN IMAGE */
.project-about-main-image {
    width: 100%;
    height: 650px;
    overflow: hidden;
}
.project-about-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-position: center;
    transition: transform 0.8s ease;
}
.project-about-main-image:hover img {
    transform: scale(1.025);
}
/* SIDE */
.project-about-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}
/* DETAIL IMAGE */
.project-about-detail-image {
    width: 100%;
    height: 310px;
    overflow: hidden;
    border: 1px solid rgba(244, 241, 234, 0.14);
    background: rgba(255, 255, 255, 0.015);
}
.project-about-detail-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
/* QUOTE */
.project-quote {
    position: relative;
    flex: 1;
    min-height: 322px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--accent-border);
}
.quote-mark {
    font-family: "Cormorant Garamond", serif;
    font-size: 64px;
    line-height: 0.5;
    color: var(--accent);
    opacity: 0.8;
}
.project-quote p {
    margin: 0;
    padding: 0 5px;
    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    line-height: 1.35;
    font-style: italic;
    color: var(--text);
}
.quote-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
}
.quote-author span {
    width: 34px;
    height: 1px;
    background: var(--accent);
}
/* =========================================================
   03 � TECHNOLOGIEN
========================================================= */
.project-tech {
    position: relative;
    padding: 130px 5vw 110px;
    background: var(--background);
    overflow: hidden;
}
/* LABEL */
.project-tech .project-details-label {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--muted);
}
.project-tech .project-details-label span {
    font-family: "Cormorant Garamond", serif;
    font-size: 35px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--accent);
}
/* LAYOUT */
.project-tech-layout {
    width: 100%;
    max-width: 1500px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns:
        0.7fr
        1.5fr;
    gap: 80px;
    align-items: stretch;
}
/* INTRO */
.project-tech-intro {
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.project-tech-intro h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 5.5vw, 6.5rem);
    font-weight: 400;
    line-height: 0.83;
    letter-spacing: -0.055em;
    color: var(--text);
}
.project-tech-intro h2 span {
    color: var(--accent);
    font-style: italic;
}
.project-tech-intro > p {
    max-width: 360px;
    margin: 45px 0 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--muted);
}
/* FOOTER */
.project-tech-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 60px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
}
.project-tech-footer span {
    width: 34px;
    height: 1px;
    background: var(--accent);
}
/* CARDS */
.project-tech-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 600px;
}
.tech-card {
    position: relative;
    min-height: 600px;
    padding: 35px 32px;
    display: grid;
    grid-template-rows: auto minmax(80px, 1fr) auto;
    gap: 20px;
    border-top: 1px solid var(--accent-border);
    border-bottom: 1px solid var(--accent-border);
    border-left: 1px solid var(--accent-border);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0)
        );
    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}
.tech-card:last-child {
    border-right: 1px solid var(--accent-border);
}
.tech-card:hover {
    background:
        linear-gradient(
            180deg,
            rgba(214, 191, 161, 0.10),
            rgba(214, 191, 161, 0)
        );
    border-color: rgba(214, 191, 161, 0.75);
    box-shadow:
        0 0 30px rgba(214, 191, 161, 0.12);
}
.tech-card-number {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    line-height: 1;
    color: var(--accent);
}
.tech-card-icon {
    position: static;
    align-self: center;
    justify-self: center;
    font-family: "Inter", sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    color: var(--accent);
    text-align: center;
    white-space: nowrap;
}
.tech-card-content {
    position: static;
    min-width: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-card-content h3 {
    margin: 0;
    min-height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text);
    white-space: nowrap;
}

.tech-card-content > span {
    display: block;
    width: 34px;
    height: 1px;
    margin: 20px auto;
    background: var(--accent);
}

.tech-card-content p {
    width: 100%;
    max-width: 170px;
    min-height: 90px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.7;
    color: var(--muted);
}
/* =========================================================
   TABLET
========================================================= */
@media (max-width: 1100px) {
    .project-about {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .project-about-content {
        max-width: 700px;
    }
    .project-about-visual {
        max-width: 900px;
        justify-self: start;
    }
    .project-tech-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .project-tech-intro {
        min-height: auto;
    }
    .project-tech-cards {
        min-height: 500px;
    }
    .tech-card {
        min-height: 500px;
    }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
    /* 01 */
    .project-hero {
        min-height: 100svh;
        height: 100svh;
        padding: 0 6vw 9vh;
    }
    .project-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(12,11,10,0.18) 0%,
                rgba(12,11,10,0.42) 42%,
                rgba(12,11,10,0.94) 100%
            );
    }
    .project-hero-content {
        width: 100%;
    }
    .project-hero-content h1 {
        font-size: clamp(4rem, 17vw, 6rem);
    }
    .project-intro {
        margin-top: 32px;
        font-size: 13px;
    }
    /* 02 */
    .project-details {
        padding: 90px 6vw 100px;
    }
    .project-about {
        margin-top: 48px;
    }
    .project-about-content h2 {
        font-size: clamp(3.5rem, 15vw, 5rem);
    }
    .project-about-text {
        margin-top: 45px;
    }
    .about-intro {
        grid-template-columns: 2px minmax(0, 1fr);
        gap: 18px;
    }
    .about-item {
        grid-template-columns: 45px minmax(0, 1fr);
        gap: 18px;
    }
    .about-intro p,
    .about-item p {
        font-size: 14px;
        line-height: 1.75;
    }
    .about-icon,
    .about-icon svg {
        width: 42px;
        height: 42px;
    }
    .project-about-visual {
        grid-template-columns: 1fr;
    }
    .project-about-main-image {
        height: 500px;
    }
    .project-about-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .project-about-detail-image {
        height: 300px;
    }
    .project-quote {
        min-height: 300px;
        padding: 27px 22px;
    }
    .project-quote p {
        font-size: 19px;
    }
    /* 03 */
    .project-tech {
        padding: 90px 6vw 80px;
    }
    .project-tech-layout {
        margin-top: 48px;
    }
    .project-tech-intro h2 {
        font-size: clamp(3.5rem, 15vw, 5rem);
    }
    .project-tech-cards {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
    }
    .tech-card {
        min-height: 300px;
        padding: 25px 20px;
    }
    .tech-card:nth-child(2) {
        border-right: 1px solid var(--accent-border);
    }
    .tech-card:nth-child(3),
    .tech-card:nth-child(4) {
        border-top: 0;
    }
    .tech-card-icon {
        top: 100px;
        font-size: 38px;
    }
    .tech-card-content {
        left: 20px;
        right: 20px;
        bottom: 55px;
    }
    .tech-card-content h3 {
        font-size: 12px;
    }
    .tech-card-content p {
        font-size: 11px;
    }
}
/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 450px) {
    .project-hero {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .project-details {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .project-tech {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .project-about-side {
        grid-template-columns: 1fr;
    }
    .project-about-detail-image {
        height: 260px;
    }
    .project-quote {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .project-tech-cards {
        grid-template-columns: 1fr;
    }
    .tech-card {
        min-height: 260px;
        padding: 24px 28px;
        border-right: 1px solid var(--accent-border);
    }
    .tech-card:not(:first-child) {
        border-top: 0;
    }
    .tech-card-icon {
        font-size: 36px;
    }
    .tech-card-content h3 {
        font-size: 14px;
    }
    .tech-card-content p {
        max-width: 240px;
        font-size: 12px;
    }
}


/* =========================================================
   MOTION EFFECTS — NO JAVASCRIPT REQUIRED
   ========================================================= */

/* HERO IMAGE — slow cinematic entrance */
.project-hero-image img {
    transform: scale(1.06);
    animation: heroImageReveal 1.6s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes heroImageReveal {
    from {
        transform: scale(1.06);
    }
    to {
        transform: scale(1);
    }
}

/* HERO CONTENT — always visible, gently animated in */
.project-hero-content {
    animation: heroContentReveal 1s cubic-bezier(.16, 1, .3, 1) 0.15s both;
}

@keyframes heroContentReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADER */
.project-hero-header {
    animation: heroHeaderReveal 0.8s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes heroHeaderReveal {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SUBTLE PURPLE ATMOSPHERE */
.project-hero::after {
    content: "";
    position: absolute;
    width: 42vw;
    height: 42vw;
    max-width: 650px;
    max-height: 650px;
    left: -12vw;
    bottom: -28vw;
    border-radius: 50%;
    background: rgba(214, 191, 161, 0.09);
    filter: blur(100px);
    pointer-events: none;
    z-index: 2;
    animation: heroGlowFloat 8s ease-in-out infinite alternate;
}

@keyframes heroGlowFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(25px, -20px, 0) scale(1.08);
    }
}

/* LINKS */
.project-live {
    transition:
        color 0.3s ease,
        gap 0.3s ease,
        transform 0.35s cubic-bezier(.16, 1, .3, 1);
}

.project-live:hover {
    transform: translateX(4px);
}

/* IMAGES */
.project-about-main-image img,
.project-about-detail-image img {
    transition:
        transform 0.8s cubic-bezier(.16, 1, .3, 1),
        filter 0.6s ease;
}

.project-about-main-image:hover img,
.project-about-detail-image:hover img {
    transform: scale(1.035);
    filter: brightness(1.04);
}

/* ABOUT LINE */
.about-line {
    transform-origin: top center;
    animation: lineGrow 1.2s cubic-bezier(.16, 1, .3, 1) 0.4s both;
}

@keyframes lineGrow {
    from {
        transform: scaleY(0);
    }
    to {
        transform: scaleY(1);
    }
}

/* TECH CARDS */
.tech-card {
    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    background:
        linear-gradient(
            180deg,
            rgba(214, 191, 161, 0.10),
            rgba(214, 191, 161, 0)
        );
    border-color: rgba(214, 191, 161, 0.75);
    box-shadow: 0 18px 55px rgba(214, 191, 161, 0.14);
}

.tech-card-icon {
    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        text-shadow 0.5s ease;
}

.tech-card:hover .tech-card-icon {
    transform: scale(1.06);
    text-shadow: 0 0 22px rgba(214, 191, 161, 0.35);
}

/* QUOTE */
.project-quote {
    transition:
        background 0.5s ease,
        border-color 0.5s ease,
        transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.project-quote:hover {
    transform: translateY(-5px);
    background: rgba(214, 191, 161, 0.035);
    border-color: rgba(214, 191, 161, 0.65);
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .project-hero::after {
        width: 70vw;
        height: 70vw;
        filter: blur(80px);
    }

    .tech-card:hover {
        transform: translateY(-4px);
    }
}
