@font-face {
    font-family: "Inter Tight";
    src: url("../assets/fonts/inter-tight/InterTight-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../assets/fonts/source-serif-4/SourceSerif4Variable-Roman.ttf.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
	 font-family: "Inter Tight", Arial, sans-serif;
    font-weight: 300;
    color: #171717;
    background-color: #f7f6f2;
}

:root {
    --project-width: 86%;
    --project-column-gap: 36px;
}


h1 {
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 400;
}

.site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;

    padding: 32px 40px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
	grid-template-rows: auto 1fr;
    column-gap: 6vw;

   min-height: calc(88vh - 120px);
    padding: 48px 40px 64px;
}

.hero h1 {
    align-self: start;

    max-width: 13ch;
    font-size: clamp(3.8rem, 5.5vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.hero-info {
    grid-column: 2;
    grid-row: 2;

    align-self: end;
}

.hero-intro {
  
    max-width: none;
    margin: 0;

    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.3;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.6rem;

    margin: 2rem 0 0;

    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.hero h1 {
    grid-column: 2;
    grid-row: 1;
}

.logo {
    color: #171717;
    font-size: 0.9rem;
    font-weight: 250;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.navigation {
    display: grid;
    gap: 0.15rem;

    text-align: right;
}

.navigation a {
    color: #171717;
    font-size: 0.85rem;
    font-weight: 350;
    line-height: 1.15;
    text-decoration: none;
}

@media (max-height: 750px) {

    .hero {
        min-height: auto;
        row-gap: 10rem;
    }

    .hero-info {
        align-self: start;
    }

}

.project {
    padding: 96px clamp(40px, 5vw, 96px) 140px;

}

.project-header {
    display: block;
    margin-bottom: 56px;
}

.project-header h2 {
    margin: 0 0 0.6rem;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.4rem;
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cover-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--project-column-gap);
    row-gap: 56px;
    align-items: start;
    width: var(--project-width);
    margin-left: auto;
    margin-right: auto;
}

.cover-grid img {
    display: block;
    width: 100%;
    height: auto;
}

.project-zsi {
    background: #1b1b1b;
    color: #f7f6f2;
}

.project-detail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: var(--project-column-gap);
    align-items: start;
    width: var(--project-width);
    margin: 160px auto 0;
}

.project-story {
    grid-column: 1 / 3;
    max-width: none;
}

.project-story-text {
    font-size: 1rem;
    line-height: 1.45;
}

.project-story-text p {
    margin: 0;
}

.project-story-text p:first-child {
    margin-bottom: 2rem;
    font-size: 1.55rem;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.project-result {
    margin: 3.5rem 0 0;
    font-size: 1rem;
    font-weight: 500;
}

.project-object {
    grid-column: 4 / 6;
	width: 100%;
}

.project-object img {
    display: block;
    width: 100%;
    height: auto;
}

.project-digital {
    width: var(--project-width);
    margin: 180px auto 0;
}

.project-digital img {
    display: block;
    height: auto;
}

.project-digital-main {
    width: 100%;
}

.project-digital-secondary {
    width: 72%;
    margin: 80px 0 0 auto;
}

.zsi-website-link {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
    text-decoration: none;
}

.zsi-website-link img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.25s ease;
}

.zsi-website-link:hover img {
    opacity: 0.88;
}
/* ========================================
   EMLIX – ROHBAU
   ======================================== */

.project-emlix {
    background: #1b1b1b;
    color: #f7f6f2;
}

.emlix-intro {
    width: 86%;
    max-width: none;
    margin: 100px auto 140px;
}

.emlix-intro-lead {
    max-width: 42rem;
    margin: 0 0 2rem;
    font-size: 2rem;
    line-height: 1.2;
}

.emlix-intro-text {
    max-width: 34rem;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.45;
}


/* Icon-System */

.emlix-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4vw;

    width: 86%;
    margin: 0 auto 180px;
}

.emlix-icon {
    margin: 0;
}

.emlix-icon img {
    display: block;
    width: 100%;
    height: auto;
}

.emlix-icon figcaption {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.3;
}


/* Informationsgrafik */

.emlix-information {
    width: 86%;
    margin: 120px auto 0;
}

.emlix-information-text {
    max-width: 34rem;
    margin: 0 0 64px;
    font-size: 1.15rem;
    line-height: 1.45;
}

.emlix-information-image {
    display: block;
    width: 100%;
    height: auto;
}

.zsi-summary {
    width: 86%;
    margin: 32px auto 0;
}

.zsi-summary-text {
    max-width: 42rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.4;
}

.zsi-summary-result {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;

    margin: 32px 0 0; /* vorher 48px */

    font-size: 1.15rem;
    font-weight: 450;
    line-height: 1.25;
}

.site-logo {
    display: block;
    width: clamp(200px, 13vw, 250px);
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* Leistungen
--------------------------------------------- */

.services {
    background-color: #f7f6f2;
    color: #171717;
    padding: 140px 40px 150px;
}

.services-intro {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 6vw;
}

.section-label {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.services-intro h2 {
    grid-column: 2;
    margin: 0;
    max-width: 11ch;

    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.services-lead {
    grid-column: 2;
    max-width: 39rem;
    margin: 3rem 0 0;

    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.45;
}


/* Drei Arbeitsbereiche */

.services-process {
    width: 72%;
    margin: 95px 0 0 auto;
}
.service-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    padding: 32px 0 42px;
    border-top: 1px solid rgba(23, 23, 23, 0.22);
}

.service-number {
    font-size: 0.8rem;
    font-weight: 400;
}

.service-content h3 {
    margin: 0;

    font-size: 1.55rem;
    font-weight: 450;
    line-height: 1.15;
}

.service-content p {
    max-width: 35rem;
    margin: 0.8rem 0 0;

    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}


/* Konkrete Gestaltungsfelder */

.services-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 2.2rem;

    width: 72%;
    margin: 90px 0 0 auto;
    padding-top: 28px;

    border-top: 1px solid rgba(23, 23, 23, 0.22);

    font-size: 1.05rem;
    font-weight: 400;
}

/* Zusammenarbeit
--------------------------------------------- */

.collaboration {
    position: relative;
    min-height: 90vh;
    padding: 140px 40px 150px;

    background-color: #171717;
    color: #f7f6f2;
}

.collaboration-label {
    margin: 0;

    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.collaboration-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 6vw;

    margin-top: 100px;
}

.collaboration h2 {
    grid-column: 2;
    margin: 0;
    max-width: 12ch;

    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.025em;
}

.collaboration h2 span {
    display: block;
    width: max-content;
    margin-top: 0.5em;
}

.collaboration-text {
    grid-column: 2;
    margin-top: 110px;
}

.collaboration-text p {
    max-width: 36rem;
    margin: 0;

    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.5;
}

.collaboration-text strong {
    font-weight: 500;
}

.collaboration-intro {
    max-width: 31rem;
    margin: 0;

    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.45;
}

/* Kontakt
--------------------------------------------- */

.contact {
    min-height: 85vh;
    padding: 140px 40px 80px;

    background-color: #f7f6f2;
    color: #171717;
}

.contact-label {
    margin: 0;

    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 6vw;

    margin-top: 100px;
}

.contact h2 {
    grid-column: 2;

    max-width: 11ch;
    margin: 0;

    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(3.5rem, 5vw, 6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.contact-intro {
    grid-column: 2;

    max-width: 36rem;
    margin: 3rem 0 0;

    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
}

.contact-link {
    grid-column: 2;

    width: fit-content;
    margin-top: 5rem;

    color: #171717;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;

    border-bottom: 1px solid #171717;
    padding-bottom: 0.25rem;
}

.contact-link span {
    display: inline-block;
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.contact-link:hover span {
    transform: translateX(0.35rem);
}

.contact-mail {
    grid-column: 2;

    width: fit-content;
    margin-top: 1.5rem;

    color: #171717;
    font-size: 0.9rem;
    font-weight: 300;
    text-decoration: none;
}

.contact-mail:hover {
    text-decoration: underline;
}

/* Footer
--------------------------------------------- */

.site-footer {
    padding: 0 40px 48px;
    background-color: #f7f6f2;
    color: #171717;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    padding-top: 32px;
    border-top: 1px solid rgba(23, 23, 23, 0.2);
}

.footer-brand p {
    margin: 0 0 0.35rem;

    font-size: 0.9rem;
    font-weight: 450;
}

.footer-brand span {
    font-size: 0.8rem;
    font-weight: 300;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #171717;
    font-size: 0.85rem;
    font-weight: 350;
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* =========================
   RECHTLICHE SEITEN
   ========================= */

.legal-header {
    padding-bottom: 0;
}

.legal-back {
    color: #171717;
    font-size: 0.9rem;
    font-weight: 350;
    text-decoration: none;
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-main {
    padding: 120px 40px 160px;
}

.legal-label {
    margin: 0 0 64px;
    font-size: 1rem;
}

.legal-main h1 {
    max-width: 10ch;
    margin: 0;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(4rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.legal-content {
    width: min(100%, 620px);
    margin: 100px 0 0 auto;
    font-size: 1.05rem;
    line-height: 1.55;
}

.legal-content > p:first-child {
    margin: 0 0 56px;
    font-size: 0.9rem;
}

.legal-content section {
    margin-top: 56px;
}

.legal-content h2 {
    margin: 0 0 16px;
    font-family: "Inter Tight", Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
}

.legal-content p {
    margin: 0 0 24px;
}

.legal-content a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

.legal-content-wide {
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: 8vw;
}
/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {

    /* Grundraster */

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    :root {
        --project-width: 100%;
        --project-column-gap: 18px;
    }


    /* HEADER */

    .site-header {
        grid-template-columns: 1fr auto;
        padding: 24px 24px 0;
    }

    .site-logo {
        width: 150px;
    }

    .navigation {
        gap: 0.1rem;
    }

    .navigation a {
        font-size: 0.82rem;
    }


    /* HERO */

    .hero {
        display: block;
        min-height: auto;
        padding: 110px 24px 80px;
    }

    .hero h1 {
        max-width: 7.5ch;
        font-size: clamp(3.6rem, 15vw, 5.2rem);
        line-height: 0.92;
    }

    .hero-info {
        margin-top: 180px;
    }

    .hero-intro {
        max-width: 18rem;
        font-size: 1.45rem;
    }

    .hero-services {
        max-width: 22rem;
        gap: 0.55rem 1.3rem;
        margin-top: 2rem;
        font-size: 0.95rem;
    }


    /* PROJEKTE – ALLGEMEIN */

    .project {
        padding: 72px 24px 100px;
    }

    .project-header {
        margin-bottom: 56px;
    }

    .project-header h2 {
        font-size: 1.9rem;
    }

    .project-meta {
        gap: 0.35rem 1.2rem;
        font-size: 0.9rem;
    }


    /* ZSI */

    .cover-grid {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
        row-gap: 30px;
        width: 86%;
    }

    .zsi-summary {
        width: 86%;
        margin-top: 42px;
    }

    .zsi-summary-text {
        font-size: 1.15rem;
    }

    .zsi-summary-result {
        margin-top: 28px;
        font-size: 1.05rem;
    }

    .project-digital {
        width: 86%;
        margin-top: 120px;
    }


    /* EMLIX */

    .emlix-intro {
        width: 86%;
        margin: 90px auto 100px;
    }

    .emlix-intro-lead {
        max-width: none;
        font-size: 1.75rem;
    }

    .emlix-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        width: 86%;
        margin-bottom: 120px;
    }

    .emlix-icon:last-child {
        grid-column: 1 / 2;
    }

    .emlix-information {
        width: 86%;
        margin-top: 80px;
    }

    .emlix-information-image {
        width: 100%;
    }


    /* LEISTUNGEN */

    .services {
        padding: 100px 24px 110px;
    }

    .services-intro {
        display: block;
    }

    .services-intro h2 {
    max-width: 10ch;
    margin-top: 70px;
    font-size: clamp(3rem, 11.5vw, 4.2rem);
    line-height: 0.95;
}

    .services-lead {
        max-width: 18rem;
        margin-top: 3rem;
        font-size: 1.2rem;
    }

    .services-process {
        width: 100%;
        margin: 90px 0 0;
    }

    .service-item {
        grid-template-columns: 48px 1fr;
        padding: 28px 0 38px;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    .services-fields {
        width: 100%;
        margin: 70px 0 0;
        gap: 0.8rem 1.8rem;
    }


    /* ZUSAMMENARBEIT */

    .collaboration {
        min-height: auto;
        padding: 100px 24px 120px;
    }

    .collaboration-content {
        display: block;
        margin-top: 90px;
    }

.collaboration h2 {
    max-width: 14ch;
    font-size: clamp(3rem, 10.5vw, 4.1rem);
    line-height: 0.94;
}

.collaboration h2 span {
    width: auto;
    margin-top: 0.55em;
}

    .collaboration-text {
        margin-top: 90px;
    }

    .collaboration-text p {
        max-width: 21rem;
        font-size: 1.1rem;
    }


    /* KONTAKT */

    .contact {
        min-height: auto;
        padding: 100px 24px 100px;
    }

    .contact-content {
        display: block;
        margin-top: 90px;
    }

    .contact h2 {
    max-width: 8ch;
    font-size: clamp(3.2rem, 12vw, 4.4rem);
    line-height: 0.95;
}

    .contact-intro {
        max-width: 21rem;
        margin-top: 3rem;
        font-size: 1.1rem;
    }

.contact-link {
    display: block;
    margin-top: 5rem;
    font-size: 1.45rem;
}

.contact-mail {
    display: block;
    margin-top: 1.5rem;
}


    /* FOOTER */

    .site-footer {
        padding: 0 24px 36px;
    }

    .footer-inner {
        align-items: flex-end;
        gap: 2rem;
    }

    .footer-legal {
        gap: 1.2rem;
    }
	
	/* RECHTLICHE SEITEN */

.legal-back {
    max-width: 90px;
    font-size: 0.82rem;
    line-height: 1.15;
    text-align: right;
}

.legal-main {
    padding: 100px 24px 120px;
}

.legal-label {
    margin-bottom: 70px;
}

.legal-main h1 {
    font-size: clamp(3.6rem, 15vw, 5.2rem);
}

.legal-content {
    width: 100%;
    margin-top: 90px;
    font-size: 1rem;
}

.legal-content > p:first-child {
    margin-bottom: 48px;
}

.legal-content section {
    margin-top: 48px;
}
	
	