/* =========================================================
   MEDIEN SCHMIDT
   44media Onepager
   Optimierte Version
========================================================= */


/* =========================================================
   Google Font
   DM Sans = weicher, moderner, weniger eckig
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap");


/* =========================================================
   Variablen
========================================================= */

:root {
    --ink: #171717;
    --paper: #f4f3ef;
    --white: #ffffff;
    --muted: #6f6f6f;
    --line: #deddd8;
    --accent: #d4ff32;
    --max: 1240px;
}


/* =========================================================
   Reset / Basis
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

.container {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

.section {
    padding: 92px 0;
}


/* =========================================================
   Typografie
========================================================= */

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    font-weight: 600;
    line-height: 1.11;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.6rem, 4.25vw, 4.0rem);
}

h2 {
    font-size: clamp(1.9rem, 2.9vw, 2.8rem);
}

h3 {
    font-size: 1.3rem;
}

.large {
    font-size: 1.12rem;
    line-height: 1.65;
}


/* =========================================================
   Header / Navigation
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand img {
    width: auto;
    height: auto;
    max-width: 205px;
    max-height: 70px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 0.9rem;
    font-weight: 600;
}

.main-nav a {
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.55;
}

.main-nav .nav-cta {
    padding: 10px 17px;
    border: 1px solid var(--ink);
    border-radius: 2px;
}


/* =========================================================
   Hero
========================================================= */

.hero {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    background: #111111;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /*
       Hauptmotiv im linken / mittleren Bildbereich sichtbar.
       Textblock sitzt rechts.
    */
    object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 660px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-copy {
    width: min(620px, 51%);
    margin-right: calc((100vw - min(calc(100vw - 48px), var(--max))) / -2);
    padding: 54px 60px 58px 54px;

    /*
       Gewünschter Overlay-Textblock.
       Nur der Textbereich erhält eine dunkle Fläche.
       Das Hero-Bild selbst bleibt sichtbar.
    */
    background: rgba(15,15,15,0.76);
    color: #ffffff;
}

.hero-copy .eyebrow {
    color: rgba(255,255,255,0.82);
}

.hero-copy h1 {
    max-width: 470px;
    margin-bottom: 22px;
    color: #ffffff;
}

.lead {
    max-width: 470px;
    color: rgba(255,255,255,0.86);
    font-size: 1.02rem;
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 29px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--ink);
    background: var(--accent);
}

.btn-ghost {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.65);
}


/* =========================================================
   Intro
========================================================= */

.intro {
    background: var(--paper);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 78px;
    align-items: start;
}

.intro-grid h2 {
    max-width: 430px;
    font-size: clamp(1.85rem, 2.55vw, 2.45rem);
}

.intro-text {
    max-width: 690px;
    color: #4e4e4e;
    font-size: 1.04rem;
}

.intro-text p + p {
    margin-top: 21px;
}


/* =========================================================
   Abschnittsüberschriften
========================================================= */

.section-head {
    margin-bottom: 46px;
}

.section-head h2 {
    max-width: 720px;
    font-size: clamp(1.95rem, 2.75vw, 2.6rem);
}

.section-head.split {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 75px;
    align-items: end;
}

.section-head.split > p {
    max-width: 520px;
    padding-bottom: 5px;
    color: var(--muted);
}


/* =========================================================
   Leistungen
========================================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.service-card {
    min-height: 390px;
    padding: 34px 34px 12px 0;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.service-card + .service-card {
    padding-left: 34px;
}

.service-card:last-child {
    border-right: 0;
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 34px;
}

.service-no {
    display: block;
    margin-bottom: 0;
    color: #8f8f8f;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.service-icon {
    width: 38px;
    height: 38px;
    color: #7d7d7d;
}

.service-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    max-width: 300px;
    margin-bottom: 22px;
    font-size: 1.42rem;
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    padding-top: 18px;
    font-size: 0.86rem;
    font-weight: 600;
}

.service-card li {
    padding: 8px 0;
    border-top: 1px solid var(--line);
}


/* =========================================================
   Persönliche Betreuung
========================================================= */

.profile {
    width: 100%;
    background: var(--ink);
    color: #ffffff;
}

.profile-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 64% 36%;
    min-height: 720px;
}

.profile-image {
    min-height: 720px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.profile-copy {
    padding: 98px 72px 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-copy h2 {
    max-width: 570px;
    margin-bottom: 24px;
    font-size: clamp(2rem, 2.9vw, 2.75rem);
}

.profile-copy > p {
    max-width: 570px;
    color: #bdbdbd;
}

.profile-copy .large {
    margin-bottom: 19px;
    color: #ffffff;
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 38px;
    padding-top: 23px;
    border-top: 1px solid #3b3b3b;
}

.facts strong,
.facts span {
    display: block;
}

.facts strong {
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.facts span {
    color: #8e8e8e;
    font-size: 0.8rem;
}


/* =========================================================
   Arbeitsweise
========================================================= */

.work {
    background: var(--paper);
}

.work-head {
    width: 990px;
    margin-bottom: 46px;
}

.work-head h2 {
    max-width: 650px;
    margin-bottom: 20px;
    font-size: clamp(1.95rem, 2.75vw, 2.5rem);
}

.work-head > p:last-child {
    max-width: 670px;
    color: var(--muted);
    font-size: 1rem;
}

.work-feature {
    background: #ffffff;
}

.work-feature img {
    display: block;
    width: 100%;
    aspect-ratio: 2.05 / 1;
    object-fit: cover;
}

.work-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 22px 22px;
}

.work-caption span {
    color: #858585;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.work-caption strong {
    font-size: 1.02rem;
    font-weight: 600;
}


/* =========================================================
   Referenzen
========================================================= */

/* =========================================================
   Referenzen
========================================================= */

.references {
    background: #ffffff;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 34px;
    row-gap: 64px;
    width: min(1360px, calc(100vw - 48px));
    margin-left: 50%;
    transform: translateX(-50%);
}

.reference-card {
    min-width: 0;
}

.reference-image {
    display: block;
    overflow: hidden;
    background: var(--paper);
}

.reference-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9.6;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.reference-card:hover .reference-image img {
    transform: scale(1.025);
}

.reference-info {
    padding: 20px 2px 0;
}

.reference-meta {
    display: block;
    margin-bottom: 8px;
    color: #858585;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.reference-info h3 {
    margin-bottom: 12px;
    font-size: 1.48rem;
    font-weight: 700;
}

.reference-info p {
    max-width: 520px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

.reference-info .text-link {
    margin-top: 0;
}


/* =========================================================
   Ablauf
========================================================= */

/* =========================================================
   Ablauf
========================================================= */

.process {
    background: #ecebe7;
}

.process-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 88px;
}

.process-head {
    position: sticky;
    top: 116px;
    align-self: start;
}

.process-head h2 {
    max-width: 440px;
    margin-bottom: 20px;
    font-size: clamp(1.95rem, 2.7vw, 2.55rem);
}

.process-head > p:last-child {
    color: var(--muted);
}

.steps article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 0 0 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e7e6e1;
}

.steps article > span {
    color: #b7b7b2;
    font-size: 0.72rem;
}

.steps h3 {
    margin-bottom: 8px;
    font-size: 1.26rem;
}

.steps p {
    max-width: 670px;
    color: var(--muted);
    font-size: 0.94rem;
}


/* =========================================================
   CTA
========================================================= */

.offer {
    padding-top: 90px;
    background: #ffffff;
}

.offer-box {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 74px;
    padding: 52px 58px;
    background: var(--accent);
}

.offer-box h2 {
    max-width: 510px;
    font-size: clamp(1.9rem, 2.7vw, 2.55rem);
}

.offer-box > div:last-child {
    max-width: 460px;
    justify-self: end;
    padding-top: 17px;
    padding-left: 18px;
}

.offer-box p {
    font-size: 0.96rem;
}

.text-link {
    display: inline-flex;
    gap: 11px;
    margin-top: 22px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(0,0,0,0.35);
    font-weight: 700;
}


/* =========================================================
   Kontakt
========================================================= */

.contact {
    background: #e9e8e4;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 76px;
    align-items: center;
}

.contact-grid h2 {
    max-width: 620px;
    margin-bottom: 22px;
    font-size: clamp(1.95rem, 2.8vw, 2.65rem);
}

.contact-grid .large {
    max-width: 670px;
    color: #555555;
}

.contact-card {
    padding: 42px;
    color: #ffffff;
    background: #171717;
}

.contact-kicker {
    margin-bottom: 25px;
    color: #999999;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-card h3 {
    margin-bottom: 28px;
    font-size: 1.65rem;
}

.full {
    width: 100%;
}

.contact-note {
    margin-top: 14px;
    color: #858585;
    font-size: 0.75rem;
    text-align: center;
}


/* =========================================================
   Footer
========================================================= */

.site-footer {
    padding: 46px 0;
    background: #111111;
    color: #ffffff;
}

.footer-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.footer-brand {
    display: block;
}

.footer-brand img {
    width: auto;
    height: auto;
    max-width: 176px;
    max-height: 64px;
    object-fit: contain;

    /*
       Logo bewusst ohne Filter / Umkehrung.
    */
    filter: none;

    margin-bottom: 13px;
}

.footer-brand p {
    color: #8a8a8a;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 23px;
    color: #aaaaaa;
    font-size: 0.81rem;
}

.footer-links a:hover {
    color: #ffffff;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 980px) {

    .main-nav a:not(.nav-cta) {
        display: none;
    }

    .hero-content {
        justify-content: flex-end;
    }

    .hero-copy {
        width: min(590px, 60%);
        margin-right: 0;
    }

    .intro-grid,
    .section-head.split,
    .process-grid,
    .contact-grid,
    .offer-box {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .section-head.split,
    .process-grid,
    .contact-grid,
    .offer-box {
        gap: 46px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card + .service-card {
        min-height: 0;
        padding: 32px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service-no {
        margin-bottom: 22px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .profile-image {
        min-height: 520px;
    }

    .profile-copy {
        padding: 58px 46px;
    }

    .process-head {
        position: static;
    }
.reference-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 700px) {

    .container {
        width: min(calc(100% - 30px), var(--max));
    }

    .section {
        padding: 70px 0;
    }

    .nav-wrap {
        min-height: 72px;
    }

    .brand img {
        max-width: 145px;
        max-height: 52px;
    }

    .nav-cta {
        font-size: 0.78rem;
    }

    .hero,
    .hero-content {
        min-height: 600px;
    }

    .hero-content {
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 24px;
    }

    .hero-copy {
        width: 100%;
        margin-right: 0;
        padding: 30px 26px 32px;
        background: rgba(15,15,15,0.84);
    }

    h1 {
        font-size: clamp(2.25rem, 10vw, 3.4rem);
    }

    h2 {
        font-size: clamp(1.8rem, 7.8vw, 2.5rem);
    }

    .lead {
        font-size: 0.98rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .intro-grid h2 {
        font-size: clamp(1.8rem, 7.5vw, 2.35rem);
    }

    .profile-image {
        min-height: 420px;
    }

    .profile-copy {
        padding: 46px 24px;
    }

    .facts {
        grid-template-columns: 1fr;
    }
.reference-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .reference-image img {
        aspect-ratio: 4 / 3;
    }

    .reference-info {
        padding-top: 16px;
    }

    .offer-box {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 34px 25px;
    }

    .offer-box > div:last-child {
        max-width: none;
        justify-self: stretch;
        padding-left: 0;
    }

    .contact-card {
        padding: 32px 25px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand img {
        max-width: 118px;
        max-height: 44px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

}
