:root {
    --white: #ffffff;
    --stone: #f5f1ea;
    --stone-2: #ebe4d8;
    --stone-deep: #d6caba;
    --charcoal: #141414;
    --charcoal-2: #22201d;
    --ink: #26231f;
    --muted: #6b645b;
    --bronze: #a6783d;
    --bronze-soft: #d0af7e;
    --bronze-dark: #72502a;
    --line: rgba(20, 20, 20, 0.12);
    --line-dark: rgba(255, 255, 255, 0.14);
    --shadow: 0 28px 80px rgba(20, 20, 20, 0.16);
    --shadow-soft: 0 18px 46px rgba(20, 20, 20, 0.09);
    --radius: 8px;
    --container: 1180px;
}

/* Projekte premium portfolio refinement */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(590px, 76vh, 820px);
}

.portfolio-hero .image-hero-content {
    width: min(1180px, calc(100% - 64px));
}

.portfolio-hero .image-hero-content h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.1vw, 78px);
    letter-spacing: 0;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 660px;
}

.portfolio-featured {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(62px, 7vw, 96px);
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8f8 74%, #ffffff 100%);
}

.portfolio-gallery-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(62px, 7vw, 98px);
    padding-bottom: clamp(72px, 8vw, 116px);
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 180, 126, 0.08), transparent 30%),
        linear-gradient(180deg, #101214 0%, #0c0d0f 100%);
}

.portfolio-gallery-section::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 112px 112px;
    opacity: 0.22;
    pointer-events: none;
}

.portfolio-gallery-section > * {
    position: relative;
    z-index: 1;
}

.portfolio-section-head {
    margin-bottom: clamp(30px, 4.5vw, 56px);
}

.portfolio-section-head h2 {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.03;
}

.portfolio-section-head p:not(.eyebrow) {
    max-width: 560px;
    font-size: 16px;
}

.portfolio-featured-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

.portfolio-featured-card {
    min-height: clamp(380px, 34vw, 500px);
    background: #111315;
    border-color: rgba(17, 19, 21, 0.12);
    box-shadow: 0 22px 70px rgba(17, 19, 21, 0.1);
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-featured-card::after {
    background:
        linear-gradient(180deg, rgba(8, 9, 10, 0.02) 22%, rgba(8, 9, 10, 0.74) 100%),
        linear-gradient(90deg, rgba(8, 9, 10, 0.56), rgba(8, 9, 10, 0.12) 62%, transparent);
}

.portfolio-featured-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 34px 90px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.03) contrast(1.06) brightness(1);
    transform: scale(1.045);
}

.portfolio-featured-copy,
.portfolio-featured-card > div {
    right: clamp(22px, 2.6vw, 34px);
    bottom: clamp(22px, 2.6vw, 34px);
    left: clamp(22px, 2.6vw, 34px);
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.portfolio-card-meta span,
.portfolio-featured-card span {
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-card-meta em {
    color: rgba(255, 255, 255, 0.64);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.portfolio-featured-card h2 {
    max-width: 360px;
    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.08;
}

.portfolio-featured-card p {
    max-width: 370px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.74);
    transform-origin: left;
    transition: width 260ms ease, background 260ms ease;
}

.portfolio-featured-card:hover i {
    width: 62px;
    background: var(--bronze-soft);
}

.portfolio-filter-bar {
    gap: 8px;
    margin-bottom: clamp(26px, 4vw, 44px);
}

.portfolio-filter {
    min-height: 42px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    color: #ffffff;
    background: rgba(214, 180, 126, 0.12);
    border-color: rgba(214, 180, 126, 0.56);
}

.portfolio-gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-gallery-card {
    grid-column: span 3;
    min-height: clamp(250px, 22vw, 340px);
    background: #151719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-gallery-card:nth-child(6n + 1),
.portfolio-gallery-card:nth-child(6n + 4) {
    grid-column: span 4;
}

.portfolio-gallery-card:nth-child(6n + 3) {
    grid-column: span 5;
}

.portfolio-gallery-card::after {
    background:
        linear-gradient(180deg, rgba(8, 9, 10, 0.02) 16%, rgba(8, 9, 10, 0.78) 100%),
        linear-gradient(90deg, rgba(8, 9, 10, 0.46), transparent 70%);
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong,
.portfolio-gallery-card small {
    position: absolute;
    z-index: 2;
    right: 20px;
    left: 20px;
}

.portfolio-gallery-card span {
    bottom: 64px;
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-gallery-card strong {
    bottom: 26px;
    max-width: calc(100% - 70px);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portfolio-gallery-card small {
    bottom: 27px;
    left: auto;
    width: 38px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-lightbox {
    padding: 28px;
    background: rgba(6, 7, 8, 0.9);
    backdrop-filter: blur(18px);
}

.portfolio-lightbox figure {
    width: min(1060px, calc(100vw - 56px));
}

.portfolio-lightbox img {
    background: #111315;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.portfolio-lightbox figcaption {
    color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-close {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-cta {
    margin-top: clamp(54px, 6vw, 88px);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-featured-card {
        min-height: 420px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: span 3;
    }
}

@media (max-width: 860px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 380px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 650px;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-featured {
        padding-top: 50px;
        padding-bottom: 52px;
    }

    .portfolio-gallery-section {
        padding-top: 52px;
        padding-bottom: 70px;
    }

    .portfolio-featured-card {
        min-height: 360px;
    }

    .portfolio-featured-card h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .portfolio-featured-card p {
        font-size: 14px;
    }

    .portfolio-filter {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 0 10px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-gallery-card {
        min-height: 310px;
    }

    .portfolio-gallery-card strong {
        max-width: calc(100% - 56px);
        font-size: 19px;
    }

    .portfolio-lightbox {
        padding: 18px;
    }

    .portfolio-lightbox figure {
        width: calc(100vw - 36px);
    }
}

/* Homepage image visibility guard - must stay last */
.image-hero-home .image-hero-media,
.image-hero-home .image-hero-media::before {
    opacity: 1 !important;
    visibility: visible !important;
}

.image-hero-home .image-hero-media::before {
    background-image: var(--hero-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none !important;
}

.image-hero-home .image-hero-media::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
    opacity: 0.16 !important;
}

.image-hero-home .image-hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.2) 68%, rgba(5, 5, 5, 0.08) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.22), rgba(3, 3, 3, 0.12) 42%, rgba(3, 3, 3, 0.58)) !important;
    opacity: 1 !important;
}

.featured-project-card.image-card img,
.image-card.featured-project-card img {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.featured-project-card.image-card::before {
    opacity: 0 !important;
    background: transparent !important;
}

.featured-project-card.image-card::after {
    opacity: 1 !important;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.72) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.42), transparent 66%) !important;
    pointer-events: none !important;
}

.featured-project-card.image-card:hover img,
.image-card.featured-project-card:hover img {
    opacity: 1 !important;
    filter: brightness(1.06) saturate(1.04) contrast(1.03) !important;
    transform: scale(1.045);
}

/* Leistungen lower-page refinement: starts at "Leistungen im Detail" */
.leistungen-detail {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 68px) 0 clamp(34px, 4.5vw, 58px) !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-detail-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr) !important;
    gap: clamp(22px, 4vw, 60px) !important;
    align-items: end !important;
    margin-bottom: clamp(24px, 3.5vw, 38px) !important;
}

.leistungen-detail-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--charcoal);
}

.leistungen-detail-head p:not(.eyebrow) {
    max-width: 520px;
    margin: 0;
    color: #62676b !important;
    line-height: 1.75;
}

.leistungen-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.leistung-detail-card {
    position: relative;
    display: flex;
    grid-column: span 3;
    min-height: 340px;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 248, 0.94)),
        #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.09);
    box-shadow: 0 22px 70px rgba(20, 20, 20, 0.06);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.leistung-detail-card:first-child {
    grid-column: span 6;
    min-height: 310px;
}

.leistung-detail-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), rgba(214, 180, 126, 0.12));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leistung-detail-card::after {
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    content: "";
    background: radial-gradient(circle, rgba(214, 180, 126, 0.13), transparent 68%);
    pointer-events: none;
}

.leistung-detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 30px 88px rgba(20, 20, 20, 0.11);
}

.leistung-detail-card:hover::before {
    transform: scaleX(1);
}

.leistung-detail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.leistung-detail-card span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--charcoal);
    background: #f3f4f4;
    border: 1px solid rgba(20, 20, 20, 0.1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.leistung-detail-card:hover span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistung-detail-card h3 {
    max-width: 560px;
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
}

.leistung-detail-card p {
    max-width: 690px;
    margin: 0 0 24px;
    color: #62676b !important;
    line-height: 1.72;
}

.leistung-detail-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: auto 0 0;
    list-style: none;
}

.leistung-detail-card li {
    position: relative;
    padding: 13px 14px 13px 36px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 20, 20, 0.08);
    font-size: 14px;
    line-height: 1.45;
}

.leistung-detail-card li::before {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 1px solid var(--bronze);
    border-right: 1px solid var(--bronze);
    transform: rotate(45deg);
}

.leistungen-process {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 5vw, 62px) 0 !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08) !important;
}

.leistungen-timeline {
    gap: 12px !important;
}

.leistungen-timeline li {
    padding: 22px 24px 22px 0 !important;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-timeline li::before {
    display: none !important;
}

.leistungen-timeline span {
    color: var(--white) !important;
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
}

.leistungen-cta {
    width: min(var(--container), calc(100% - 36px));
    margin: clamp(8px, 2vw, 18px) auto clamp(44px, 5vw, 70px) !important;
    padding: clamp(30px, 4.5vw, 52px) !important;
}

@media (max-width: 980px) {
    .leistungen-detail-head,
    .leistungen-process,
    .leistungen-cta {
        grid-template-columns: 1fr !important;
    }

    .leistungen-detail-grid {
        grid-template-columns: 1fr;
    }

    .leistung-detail-card,
    .leistung-detail-card:first-child {
        grid-column: auto;
        min-height: auto;
    }

    .leistung-detail-card ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .leistungen-detail,
    .leistungen-process,
    .leistungen-cta {
        width: min(var(--container), calc(100% - 32px));
    }

    .leistungen-detail {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .leistungen-detail-head {
        gap: 16px !important;
        margin-bottom: 20px !important;
    }

    .leistung-detail-card {
        padding: 22px;
    }

    .leistung-detail-card-head {
        display: grid;
        gap: 16px;
        margin-bottom: 18px;
    }

    .leistung-detail-card h3 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .leistungen-timeline li {
        grid-template-columns: 52px 1fr !important;
        column-gap: 14px !important;
        padding-right: 0 !important;
    }
}

/* Homepage cinematic upgrade */
.cinematic-hero {
    position: relative;
    width: 100%;
    min-height: clamp(650px, 84vh, 900px);
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    isolation: isolate;
    background: var(--charcoal);
}

.cinematic-hero::before,
.cinematic-hero::after {
    display: none;
}

.cinematic-hero .hero-media {
    position: absolute;
    inset: 0;
    min-height: 100%;
    overflow: hidden;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
    will-change: transform;
}

.cinematic-hero .hero-photo {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    object-fit: cover;
    opacity: 0.95;
    filter: saturate(0.9) contrast(1.08);
    animation: heroPhotoDrift 18s ease-in-out infinite alternate;
}

.cinematic-hero .hero-photo.is-missing {
    display: none;
}

.cinematic-hero .hero-media::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(135deg, #f0ebe3 0%, #b9ad9f 32%, #514a41 34%, #171717 100%);
    transform: scale(1.04);
    animation: heroPhotoDrift 18s ease-in-out infinite alternate;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 42% 42.35%, transparent 42.35% 100%);
    background-size: 92px 92px, 92px 92px, cover;
    opacity: 0.36;
    pointer-events: none;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.74) 33%, rgba(10, 10, 10, 0.34) 62%, rgba(10, 10, 10, 0.62) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.76));
}

.hero-content {
    position: relative;
    z-index: 5;
    width: min(1500px, calc(100% - 56px));
    padding: clamp(82px, 10vw, 136px) 0 clamp(70px, 8vw, 108px);
    margin: 0 auto;
    color: var(--white);
    animation: heroTextIn 820ms ease both;
}

.hero-content .hero-eyebrow {
    color: var(--bronze-soft);
}

.hero-content h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(44px, 5.3vw, 76px);
    line-height: 1.04;
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

.hero-content p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
}

.hero-content .hero-actions {
    margin-top: 32px;
    position: relative;
    z-index: 7;
}

.hero-content .btn-primary {
    color: var(--charcoal);
    background: var(--white);
    border-color: var(--white);
}

.hero-content .btn-primary:hover {
    color: var(--white);
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.hero-content .btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(12px);
}

.hero-content .btn-secondary:hover {
    color: var(--white);
    border-color: var(--bronze-soft);
}

.hero-float-card {
    position: absolute;
    z-index: 6;
    min-width: 168px;
    padding: 16px 18px;
    color: var(--white);
    background: rgba(20, 20, 20, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    animation: floatCardIn 900ms ease both, floatSoft 5.5s ease-in-out infinite alternate;
}

.hero-float-card strong,
.hero-float-card span {
    display: block;
}

.hero-float-card strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    line-height: 1;
}

.hero-float-card span {
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
}

.card-experience {
    right: max(36px, calc((100vw - 1500px) / 2 + 70px));
    top: 20%;
}

.card-region {
    right: max(220px, calc((100vw - 1500px) / 2 + 290px));
    bottom: 24%;
    animation-delay: 120ms;
}

.card-cost {
    right: max(42px, calc((100vw - 1500px) / 2 + 78px));
    bottom: 12%;
    animation-delay: 220ms;
}

.home-projects-featured {
    border-top: 0;
    padding-top: clamp(46px, 5.5vw, 72px);
    padding-bottom: clamp(46px, 5.5vw, 72px);
}

.curated-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.curated-project-grid .home-project-card,
.curated-project-grid .home-project-card:nth-child(n + 3),
.curated-project-grid .home-project-card:nth-child(4),
.curated-project-grid .home-project-card:nth-child(8) {
    grid-column: auto;
    min-height: 320px;
}

.curated-project-grid .home-project-card:nth-child(1),
.curated-project-grid .home-project-card:nth-child(2) {
    grid-column: auto;
    min-height: 320px;
}

.project-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 680ms ease, filter 260ms ease, opacity 220ms ease;
}

.project-photo.is-missing {
    display: none;
}

.project-photo:not(.is-missing) + .project-thumb {
    opacity: 0;
}

.home-project-card:hover .project-photo {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.04);
}

.home-project-card > div:last-child {
    z-index: 3;
    color: var(--white);
}

.curated-project-grid .home-project-card h3 {
    color: var(--white);
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.curated-project-grid .home-project-card span {
    color: var(--bronze-soft);
}

@keyframes heroPhotoDrift {
    from {
        transform: scale(1.03) translate3d(-1.2%, -0.8%, 0);
    }
    to {
        transform: scale(1.1) translate3d(1.4%, 1%, 0);
    }
}

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

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

@keyframes floatSoft {
    from {
        translate: 0 0;
    }
    to {
        translate: 0 -8px;
    }
}

@media (max-width: 980px) {
    .cinematic-hero {
        min-height: 820px;
    }

    .hero-content {
        width: min(var(--container), calc(100% - 40px));
        padding: 76px 0 390px;
    }

.hero-content h1 {
        max-width: 720px;
        font-size: clamp(42px, 8vw, 64px);
    }

    .hero-shade {
        background:
            linear-gradient(180deg, rgba(12, 12, 12, 0.86) 0%, rgba(12, 12, 12, 0.68) 46%, rgba(12, 12, 12, 0.22) 72%, rgba(12, 12, 12, 0.7) 100%);
    }

    .card-experience {
        top: auto;
        right: auto;
        bottom: 236px;
        left: 22px;
    }

    .card-region {
        right: 22px;
        bottom: 142px;
    }

    .card-cost {
        right: auto;
        bottom: 48px;
        left: 22px;
    }

    .curated-project-grid .home-project-card,
    .curated-project-grid .home-project-card:nth-child(1),
    .curated-project-grid .home-project-card:nth-child(2),
    .curated-project-grid .home-project-card:nth-child(n + 3) {
        grid-column: auto;
        min-height: 285px;
    }

    .curated-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .cinematic-hero {
        min-height: 780px;
    }

    .hero-content {
        width: min(var(--container), calc(100% - 32px));
        padding: 48px 0 285px;
    }

    .hero-content h1 {
        max-width: 360px;
        font-size: clamp(34px, 10.8vw, 44px);
        line-height: 1.05;
    }

    .hero-content p:not(.eyebrow) {
        max-width: 340px;
        font-size: 16px;
    }

    .hero-content .hero-actions,
    .hero-content .hero-actions .btn {
        width: 100%;
    }

    .hero-float-card {
        min-width: 142px;
        padding: 13px 15px;
    }

    .hero-float-card strong {
        font-size: 21px;
    }

    .card-experience {
        bottom: 198px;
        left: 16px;
    }

    .card-region {
        right: 16px;
        bottom: 112px;
    }

    .card-cost {
        bottom: 30px;
        left: 16px;
    }

    .hero-grid-overlay {
        background-size: 68px 68px, 68px 68px, cover;
        opacity: 0.42;
    }

    .curated-project-grid {
        grid-template-columns: 1fr;
    }

    .curated-project-grid .home-project-card,
    .curated-project-grid .home-project-card:nth-child(1),
    .curated-project-grid .home-project-card:nth-child(2),
    .curated-project-grid .home-project-card:nth-child(n + 3) {
        grid-column: auto;
        min-height: 255px;
    }
}

/* Leistungen final polish: cleaner index-aligned palette and scroll behavior */
html,
body {
    overflow-y: auto;
    scrollbar-width: auto;
}

.leistungen-hero {
    margin-top: clamp(18px, 3vw, 34px);
    padding: clamp(40px, 6vw, 68px);
    background:
        linear-gradient(90deg, rgba(14, 14, 14, 0.94), rgba(14, 14, 14, 0.78) 54%, rgba(14, 14, 14, 0.44)),
        linear-gradient(135deg, #111111, #2b2d2f 58%, #e9ecef);
    box-shadow: 0 22px 64px rgba(20, 20, 20, 0.14);
}

.leistungen-hero::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 108px 108px;
    opacity: 0.42;
}

.leistungen-hero .eyebrow,
.leistungen-cta .eyebrow {
    color: #d0af7e;
}

.leistungen-hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.74);
}

.leistungen-overview {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(34px, 4.5vw, 54px) 0 clamp(36px, 5vw, 58px);
}

.leistung-card {
    grid-column: span 2;
    min-height: 220px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.09);
    box-shadow: 0 14px 36px rgba(20, 20, 20, 0.045);
}

.leistung-card:nth-child(4),
.leistung-card:nth-child(5) {
    grid-column: span 3;
}

.leistung-card::before {
    height: 2px;
    background: linear-gradient(90deg, var(--bronze), rgba(166, 120, 61, 0.18));
}

.leistung-card span,
.leistung-detail-row span {
    color: var(--charcoal);
    background: #f4f5f5;
    border-color: rgba(20, 20, 20, 0.1);
}

.leistung-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 22px 54px rgba(20, 20, 20, 0.1);
}

.leistung-card:hover span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistung-card h2 {
    color: var(--charcoal);
}

.leistungen-detail {
    padding: clamp(42px, 5.5vw, 66px) 0;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.leistungen-detail-head {
    margin-bottom: 22px;
}

.leistungen-detail-head p:not(.eyebrow),
.leistung-detail-row p,
.leistungen-timeline p {
    color: #686c70;
}

.leistung-detail-row {
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(24px, 3.5vw, 36px) 0;
    border-top: 1px solid rgba(20, 20, 20, 0.09);
}

.leistung-detail-row h3 {
    color: var(--charcoal);
}

.leistung-detail-row li {
    background: #f6f7f7;
    border-color: rgba(20, 20, 20, 0.07);
}

.leistung-detail-row li::before {
    border-color: var(--charcoal);
    opacity: 0.85;
}

.leistungen-process {
    gap: clamp(26px, 4vw, 58px);
    padding: clamp(40px, 5vw, 62px) 0;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.leistungen-process-head {
    top: 92px;
}

.leistungen-timeline li {
    padding-bottom: 24px;
}

.leistungen-timeline span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistungen-timeline li::before {
    background: rgba(20, 20, 20, 0.18);
}

.leistungen-cta {
    margin-top: 8px;
    margin-bottom: clamp(54px, 6vw, 82px);
    overflow: visible;
    background: linear-gradient(135deg, #141414, #242628 68%, #181818);
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.16);
}

.leistungen-cta::after {
    position: absolute;
    inset: 20px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.leistungen-cta > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 1120px) {
    .leistungen-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leistung-card,
    .leistung-card:nth-child(4),
    .leistung-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .leistungen-hero {
        padding: 28px 22px;
    }

    .leistungen-overview {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .leistung-card {
        min-height: auto;
        padding: 24px;
    }

    .leistungen-detail,
    .leistungen-process {
        padding: 36px 0;
    }

    .leistung-detail-row {
        gap: 18px;
        padding: 26px 0;
    }

    .leistungen-timeline li {
        padding-bottom: 22px;
    }

    .leistungen-cta {
        overflow: hidden;
        margin-bottom: 54px;
    }

    .leistungen-cta::after {
        inset: 14px;
    }
}

/* Homepage refinement pass - final override */
.image-hero-home {
    min-height: clamp(640px, 84vh, 900px);
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.82) 0%, rgba(8, 8, 8, 0.66) 30%, rgba(8, 8, 8, 0.25) 61%, rgba(8, 8, 8, 0.14) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.1) 46%, rgba(5, 5, 5, 0.72));
}

.image-hero-home .image-hero-content {
    width: min(1120px, calc(100% - 64px));
    padding-top: clamp(128px, 15vh, 176px);
    padding-bottom: clamp(112px, 15vh, 162px);
}

.image-hero-home .image-hero-content h1 {
    max-width: 720px;
    margin-top: 20px;
    font-size: clamp(44px, 5.1vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 510px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.image-hero-home .hero-actions {
    margin-top: 34px;
}

.hero-info-card {
    background: rgba(10, 10, 10, 0.38);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease, background 260ms ease;
}

.hero-info-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    background: rgba(10, 10, 10, 0.52);
    transform: translateY(-4px);
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 max(32px, calc((100vw - 1240px) / 2));
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
    color: #111315;
    border-top: 1px solid rgba(17, 19, 21, 0.08);
    border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: none;
}

.home-service-strip article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 154px;
    padding: 34px 30px;
    border-right: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:first-child {
    border-left: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:hover {
    background: #ffffff;
    border-color: rgba(214, 180, 126, 0.36);
    box-shadow: 0 20px 46px rgba(17, 19, 21, 0.06);
}

.home-service-strip h2 {
    margin-bottom: 8px;
    color: #111315;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-service-strip p {
    max-width: 210px;
    color: #686d72;
    font-size: 14px;
    line-height: 1.65;
}

.home-service-strip .service-symbol {
    width: 42px;
    height: 42px;
    border-color: rgba(17, 19, 21, 0.16);
    color: #b9935e;
}

.home-signature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: clamp(42px, 7vw, 104px);
    width: 100%;
    margin: 0;
    padding: clamp(82px, 9vw, 132px) max(24px, calc((100vw - 1220px) / 2));
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
        linear-gradient(#f7f8f8, #f2f3f3);
    background-size: 128px 128px, auto;
}

.home-signature::before {
    position: absolute;
    top: 0;
    left: max(24px, calc((100vw - 1220px) / 2));
    right: max(24px, calc((100vw - 1220px) / 2));
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(17, 19, 21, 0.14), transparent);
}

.signature-copy,
.signature-steps {
    position: relative;
    z-index: 1;
}

.signature-copy {
    align-self: start;
}

.signature-copy h2 {
    max-width: 620px;
    margin-top: 18px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(42px, 5.8vw, 86px);
    font-weight: 500;
    line-height: 0.98;
}

.signature-copy p:not(.eyebrow) {
    max-width: 520px;
    margin-top: 28px;
    color: #5f6468;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.82;
}

.signature-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
}

.signature-steps article {
    min-height: 220px;
    padding: clamp(26px, 3vw, 40px);
    border-right: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.signature-steps article:hover {
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.signature-steps span {
    display: block;
    margin-bottom: clamp(36px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.signature-steps h3 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 500;
}

.signature-steps p {
    max-width: 280px;
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.featured-projects {
    padding-top: clamp(82px, 8vw, 118px);
}

.home-services {
    padding-top: clamp(82px, 8vw, 120px);
    padding-bottom: clamp(78px, 8vw, 116px);
}

.btn,
.featured-project-card,
.home-service-strip article,
.signature-steps article,
.home-services .feature-list article {
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1020px) {
    .home-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px;
    }

    .home-service-strip article:nth-child(odd) {
        border-left: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        grid-template-columns: 1fr;
    }

    .signature-copy h2 {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 690px;
    }

    .image-hero-home .image-hero-overlay {
        background:
            linear-gradient(90deg, rgba(3, 3, 3, 0.84), rgba(8, 8, 8, 0.48)),
            linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.74));
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 104px;
        padding-bottom: 118px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 420px;
        margin-top: 16px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.06;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        max-width: 390px;
        margin-top: 20px;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .home-service-strip article,
    .home-service-strip article:first-child,
    .home-service-strip article:nth-child(odd) {
        grid-template-columns: auto 1fr;
        min-height: auto;
        padding: 24px 4px;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        gap: 34px;
        padding: 62px 16px;
        background-size: 88px 88px, auto;
    }

    .signature-copy h2 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.03;
    }

    .signature-steps {
        grid-template-columns: 1fr;
    }

    .signature-steps article {
        min-height: auto;
        padding: 26px;
    }

    .signature-steps span {
        margin-bottom: 34px;
    }
}

/* Projekte premium portfolio refinement - final project-only cascade */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(590px, 76vh, 820px);
}

.portfolio-hero .image-hero-content {
    width: min(1180px, calc(100% - 64px));
}

.portfolio-hero .image-hero-content h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.1vw, 78px);
    letter-spacing: 0;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 660px;
}

.portfolio-featured {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(62px, 7vw, 96px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 74%, #ffffff 100%);
}

.portfolio-gallery-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(62px, 7vw, 98px);
    padding-bottom: clamp(72px, 8vw, 116px);
    background: radial-gradient(circle at 18% 0%, rgba(214, 180, 126, 0.08), transparent 30%), linear-gradient(180deg, #101214 0%, #0c0d0f 100%);
}

.portfolio-gallery-section::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 112px 112px;
    opacity: 0.22;
    pointer-events: none;
}

.portfolio-gallery-section > * {
    position: relative;
    z-index: 1;
}

.portfolio-section-head {
    margin-bottom: clamp(30px, 4.5vw, 56px);
}

.portfolio-section-head h2 {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.03;
}

.portfolio-section-head p:not(.eyebrow) {
    max-width: 560px;
    font-size: 16px;
}

.portfolio-featured-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

.portfolio-featured-card {
    min-height: clamp(380px, 34vw, 500px);
    background: #111315;
    border-color: rgba(17, 19, 21, 0.12);
    box-shadow: 0 22px 70px rgba(17, 19, 21, 0.1);
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-featured-card::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.02) 22%, rgba(8, 9, 10, 0.74) 100%), linear-gradient(90deg, rgba(8, 9, 10, 0.56), rgba(8, 9, 10, 0.12) 62%, transparent);
}

.portfolio-featured-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 34px 90px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.03) contrast(1.06) brightness(1);
    transform: scale(1.045);
}

.portfolio-featured-copy,
.portfolio-featured-card > div {
    right: clamp(22px, 2.6vw, 34px);
    bottom: clamp(22px, 2.6vw, 34px);
    left: clamp(22px, 2.6vw, 34px);
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.portfolio-card-meta span,
.portfolio-featured-card span {
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-card-meta em {
    color: rgba(255, 255, 255, 0.64);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.portfolio-featured-card h2 {
    max-width: 360px;
    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.08;
}

.portfolio-featured-card p {
    max-width: 370px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.74);
    transform-origin: left;
    transition: width 260ms ease, background 260ms ease;
}

.portfolio-featured-card:hover i {
    width: 62px;
    background: var(--bronze-soft);
}

.portfolio-filter-bar {
    gap: 8px;
    margin-bottom: clamp(26px, 4vw, 44px);
}

.portfolio-filter {
    min-height: 42px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    color: #ffffff;
    background: rgba(214, 180, 126, 0.12);
    border-color: rgba(214, 180, 126, 0.56);
}

.portfolio-gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-gallery-card {
    grid-column: span 3;
    min-height: clamp(250px, 22vw, 340px);
    background: #151719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-gallery-card:nth-child(6n + 1),
.portfolio-gallery-card:nth-child(6n + 4) {
    grid-column: span 4;
}

.portfolio-gallery-card:nth-child(6n + 3) {
    grid-column: span 5;
}

.portfolio-gallery-card::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.02) 16%, rgba(8, 9, 10, 0.78) 100%), linear-gradient(90deg, rgba(8, 9, 10, 0.46), transparent 70%);
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong,
.portfolio-gallery-card small {
    position: absolute;
    z-index: 2;
    right: 20px;
    left: 20px;
}

.portfolio-gallery-card span {
    bottom: 64px;
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-gallery-card strong {
    bottom: 26px;
    max-width: calc(100% - 70px);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portfolio-gallery-card small {
    bottom: 27px;
    left: auto;
    width: 38px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-lightbox {
    padding: 28px;
    background: rgba(6, 7, 8, 0.9);
    backdrop-filter: blur(18px);
}

.portfolio-lightbox figure {
    width: min(1060px, calc(100vw - 56px));
}

.portfolio-lightbox img {
    background: #111315;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.portfolio-lightbox figcaption {
    color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-close {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-cta {
    margin-top: clamp(54px, 6vw, 88px);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-featured-card {
        min-height: 420px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: span 3;
    }
}

@media (max-width: 860px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 380px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 650px;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-featured {
        padding-top: 50px;
        padding-bottom: 52px;
    }

    .portfolio-gallery-section {
        padding-top: 52px;
        padding-bottom: 70px;
    }

    .portfolio-featured-card {
        min-height: 360px;
    }

    .portfolio-featured-card h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .portfolio-featured-card p {
        font-size: 14px;
    }

    .portfolio-filter {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 0 10px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-gallery-card {
        min-height: 310px;
    }

    .portfolio-gallery-card strong {
        max-width: calc(100% - 56px);
        font-size: 19px;
    }

    .portfolio-lightbox {
        padding: 18px;
    }

    .portfolio-lightbox figure {
        width: calc(100vw - 36px);
    }
}

/* Projekte premium portfolio refinement */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(590px, 76vh, 820px);
}

.portfolio-hero .image-hero-content {
    width: min(1180px, calc(100% - 64px));
}

.portfolio-hero .image-hero-content h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.1vw, 78px);
    letter-spacing: 0;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 660px;
}

.portfolio-featured {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(62px, 7vw, 96px);
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8f8 74%, #ffffff 100%);
}

.portfolio-gallery-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(62px, 7vw, 98px);
    padding-bottom: clamp(72px, 8vw, 116px);
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 180, 126, 0.08), transparent 30%),
        linear-gradient(180deg, #101214 0%, #0c0d0f 100%);
}

.portfolio-gallery-section::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 112px 112px;
    opacity: 0.22;
    pointer-events: none;
}

.portfolio-gallery-section > * {
    position: relative;
    z-index: 1;
}

.portfolio-section-head {
    margin-bottom: clamp(30px, 4.5vw, 56px);
}

.portfolio-section-head h2 {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.03;
}

.portfolio-section-head p:not(.eyebrow) {
    max-width: 560px;
    font-size: 16px;
}

.portfolio-featured-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

.portfolio-featured-card {
    min-height: clamp(380px, 34vw, 500px);
    background: #111315;
    border-color: rgba(17, 19, 21, 0.12);
    box-shadow: 0 22px 70px rgba(17, 19, 21, 0.1);
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-featured-card::after {
    background:
        linear-gradient(180deg, rgba(8, 9, 10, 0.02) 22%, rgba(8, 9, 10, 0.74) 100%),
        linear-gradient(90deg, rgba(8, 9, 10, 0.56), rgba(8, 9, 10, 0.12) 62%, transparent);
}

.portfolio-featured-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 34px 90px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.03) contrast(1.06) brightness(1);
    transform: scale(1.045);
}

.portfolio-featured-copy,
.portfolio-featured-card > div {
    right: clamp(22px, 2.6vw, 34px);
    bottom: clamp(22px, 2.6vw, 34px);
    left: clamp(22px, 2.6vw, 34px);
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.portfolio-card-meta span,
.portfolio-featured-card span {
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-card-meta em {
    color: rgba(255, 255, 255, 0.64);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.portfolio-featured-card h2 {
    max-width: 360px;
    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.08;
}

.portfolio-featured-card p {
    max-width: 370px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.74);
    transform-origin: left;
    transition: width 260ms ease, background 260ms ease;
}

.portfolio-featured-card:hover i {
    width: 62px;
    background: var(--bronze-soft);
}

.portfolio-filter-bar {
    gap: 8px;
    margin-bottom: clamp(26px, 4vw, 44px);
}

.portfolio-filter {
    min-height: 42px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    color: #ffffff;
    background: rgba(214, 180, 126, 0.12);
    border-color: rgba(214, 180, 126, 0.56);
}

.portfolio-gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-gallery-card {
    grid-column: span 3;
    min-height: clamp(250px, 22vw, 340px);
    background: #151719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-gallery-card:nth-child(6n + 1),
.portfolio-gallery-card:nth-child(6n + 4) {
    grid-column: span 4;
}

.portfolio-gallery-card:nth-child(6n + 3) {
    grid-column: span 5;
}

.portfolio-gallery-card::after {
    background:
        linear-gradient(180deg, rgba(8, 9, 10, 0.02) 16%, rgba(8, 9, 10, 0.78) 100%),
        linear-gradient(90deg, rgba(8, 9, 10, 0.46), transparent 70%);
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong,
.portfolio-gallery-card small {
    position: absolute;
    z-index: 2;
    right: 20px;
    left: 20px;
}

.portfolio-gallery-card span {
    bottom: 64px;
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-gallery-card strong {
    bottom: 26px;
    max-width: calc(100% - 70px);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portfolio-gallery-card small {
    bottom: 27px;
    left: auto;
    width: 38px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-lightbox {
    padding: 28px;
    background: rgba(6, 7, 8, 0.9);
    backdrop-filter: blur(18px);
}

.portfolio-lightbox figure {
    width: min(1060px, calc(100vw - 56px));
}

.portfolio-lightbox img {
    background: #111315;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.portfolio-lightbox figcaption {
    color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-close {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-cta {
    margin-top: clamp(54px, 6vw, 88px);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-featured-card {
        min-height: 420px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: span 3;
    }
}

@media (max-width: 860px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 380px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 650px;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-featured {
        padding-top: 50px;
        padding-bottom: 52px;
    }

    .portfolio-gallery-section {
        padding-top: 52px;
        padding-bottom: 70px;
    }

    .portfolio-featured-card {
        min-height: 360px;
    }

    .portfolio-featured-card h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .portfolio-featured-card p {
        font-size: 14px;
    }

    .portfolio-filter {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 0 10px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-gallery-card {
        min-height: 310px;
    }

    .portfolio-gallery-card strong {
        max-width: calc(100% - 56px);
        font-size: 19px;
    }

    .portfolio-lightbox {
        padding: 18px;
    }

    .portfolio-lightbox figure {
        width: calc(100vw - 36px);
    }
}

/* Leistungen lower-page refinement: starts at "Leistungen im Detail" */
.leistungen-detail {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 68px) 0 clamp(34px, 4.5vw, 58px) !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-detail-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr) !important;
    gap: clamp(22px, 4vw, 60px) !important;
    align-items: end !important;
    margin-bottom: clamp(24px, 3.5vw, 38px) !important;
}

.leistungen-detail-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--charcoal);
}

.leistungen-detail-head p:not(.eyebrow) {
    max-width: 520px;
    margin: 0;
    color: #62676b !important;
    line-height: 1.75;
}

.leistungen-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.leistung-detail-card {
    position: relative;
    display: flex;
    grid-column: span 3;
    min-height: 340px;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 248, 0.94)),
        #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.09);
    box-shadow: 0 22px 70px rgba(20, 20, 20, 0.06);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.leistung-detail-card:first-child {
    grid-column: span 6;
    min-height: 310px;
}

.leistung-detail-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), rgba(214, 180, 126, 0.12));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leistung-detail-card::after {
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    content: "";
    background: radial-gradient(circle, rgba(214, 180, 126, 0.13), transparent 68%);
    pointer-events: none;
}

.leistung-detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 30px 88px rgba(20, 20, 20, 0.11);
}

.leistung-detail-card:hover::before {
    transform: scaleX(1);
}

.leistung-detail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.leistung-detail-card span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--charcoal);
    background: #f3f4f4;
    border: 1px solid rgba(20, 20, 20, 0.1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.leistung-detail-card:hover span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistung-detail-card h3 {
    max-width: 560px;
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
}

.leistung-detail-card p {
    max-width: 690px;
    margin: 0 0 24px;
    color: #62676b !important;
    line-height: 1.72;
}

.leistung-detail-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: auto 0 0;
    list-style: none;
}

.leistung-detail-card li {
    position: relative;
    padding: 13px 14px 13px 36px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 20, 20, 0.08);
    font-size: 14px;
    line-height: 1.45;
}

.leistung-detail-card li::before {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 1px solid var(--bronze);
    border-right: 1px solid var(--bronze);
    transform: rotate(45deg);
}

.leistungen-process {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 5vw, 62px) 0 !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08) !important;
}

.leistungen-timeline {
    gap: 12px !important;
}

.leistungen-timeline li {
    padding: 22px 24px 22px 0 !important;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-timeline li::before {
    display: none !important;
}

.leistungen-timeline span {
    color: var(--white) !important;
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
}

.leistungen-cta {
    width: min(var(--container), calc(100% - 36px));
    margin: clamp(8px, 2vw, 18px) auto clamp(44px, 5vw, 70px) !important;
    padding: clamp(30px, 4.5vw, 52px) !important;
}

@media (max-width: 980px) {
    .leistungen-detail-head,
    .leistungen-process,
    .leistungen-cta {
        grid-template-columns: 1fr !important;
    }

    .leistungen-detail-grid {
        grid-template-columns: 1fr;
    }

    .leistung-detail-card,
    .leistung-detail-card:first-child {
        grid-column: auto;
        min-height: auto;
    }

    .leistung-detail-card ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .leistungen-detail,
    .leistungen-process,
    .leistungen-cta {
        width: min(var(--container), calc(100% - 32px));
    }

    .leistungen-detail {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .leistungen-detail-head {
        gap: 16px !important;
        margin-bottom: 20px !important;
    }

    .leistung-detail-card {
        padding: 22px;
    }

    .leistung-detail-card-head {
        display: grid;
        gap: 16px;
        margin-bottom: 18px;
    }

    .leistung-detail-card h3 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .leistungen-timeline li {
        grid-template-columns: 52px 1fr !important;
        column-gap: 14px !important;
        padding-right: 0 !important;
    }
}

/* Homepage image visibility guard - must stay last */
.image-hero-home .image-hero-media,
.image-hero-home .image-hero-media::before {
    opacity: 1 !important;
    visibility: visible !important;
}

.image-hero-home .image-hero-media::before {
    background-image: var(--hero-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none !important;
}

.image-hero-home .image-hero-media::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
    opacity: 0.16 !important;
}

.image-hero-home .image-hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.2) 68%, rgba(5, 5, 5, 0.08) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.22), rgba(3, 3, 3, 0.12) 42%, rgba(3, 3, 3, 0.58)) !important;
    opacity: 1 !important;
}

.featured-project-card.image-card img,
.image-card.featured-project-card img {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.featured-project-card.image-card::before {
    opacity: 0 !important;
    background: transparent !important;
}

.featured-project-card.image-card::after {
    opacity: 1 !important;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.72) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.42), transparent 66%) !important;
    pointer-events: none !important;
}

.featured-project-card.image-card:hover img,
.image-card.featured-project-card:hover img {
    opacity: 1 !important;
    filter: brightness(1.06) saturate(1.04) contrast(1.03) !important;
    transform: scale(1.045);
}

/* Final homepage image visibility fix - keep last */
.image-hero-home .image-hero-media,
.image-hero-home .image-hero-media::before {
    opacity: 1 !important;
    visibility: visible !important;
}

.image-hero-home .image-hero-media::before {
    background-image: var(--hero-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    filter: none !important;
}

.image-hero-home .image-hero-media::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 0.16 !important;
    pointer-events: none;
}

.image-hero-home .image-hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.2) 68%, rgba(5, 5, 5, 0.08) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.22), rgba(3, 3, 3, 0.12) 42%, rgba(3, 3, 3, 0.58)) !important;
    opacity: 1 !important;
    pointer-events: none;
}

.featured-project-card.image-card {
    background: #111315;
}

.featured-project-card.image-card img,
.image-card.featured-project-card img {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.featured-project-card.image-card::before,
.featured-project-card.image-card::after {
    pointer-events: none;
}

.featured-project-card.image-card::before {
    opacity: 0 !important;
    background: transparent !important;
}

.featured-project-card.image-card::after {
    opacity: 1 !important;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.72) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.42), transparent 66%) !important;
}

.featured-project-card.image-card:hover::after {
    opacity: 1 !important;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.64) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.34), transparent 66%) !important;
}

.featured-project-card.image-card:hover img {
    opacity: 1 !important;
    filter: brightness(1.06) saturate(1.04) contrast(1.03) !important;
    transform: scale(1.045);
}

/* Homepage image visibility fix */
.image-hero-home .image-hero-media,
.image-hero-home .image-hero-media::before {
    opacity: 1;
    visibility: visible;
}

.image-hero-home .image-hero-media::before {
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: none;
}

.image-hero-home .image-hero-media::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    opacity: 0.16;
    pointer-events: none;
}

.image-hero-home .image-hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 3, 3, 0.72) 0%, rgba(5, 5, 5, 0.48) 34%, rgba(5, 5, 5, 0.2) 68%, rgba(5, 5, 5, 0.08) 100%),
        linear-gradient(180deg, rgba(3, 3, 3, 0.22), rgba(3, 3, 3, 0.12) 42%, rgba(3, 3, 3, 0.58));
    opacity: 1;
    pointer-events: none;
}

.featured-project-card.image-card {
    background: #111315;
}

.featured-project-card.image-card img,
.image-card.featured-project-card img {
    opacity: 1;
    visibility: visible;
    filter: none;
    mix-blend-mode: normal;
}

.featured-project-card.image-card::before,
.featured-project-card.image-card::after {
    pointer-events: none;
}

.featured-project-card.image-card::before {
    opacity: 0;
    background: transparent;
}

.featured-project-card.image-card::after {
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.72) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.42), transparent 66%);
}

.featured-project-card.image-card:hover::after {
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.64) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.34), transparent 66%);
}

.featured-project-card.image-card:hover img {
    opacity: 1;
    filter: brightness(1.06) saturate(1.04) contrast(1.03);
    transform: scale(1.045);
}

/* Final cross-page consistency */
html,
body {
    overflow-y: auto;
    overflow-x: clip;
    scrollbar-width: auto;
}

.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.image-hero-subpage .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.25) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.image-hero-subpage .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.image-hero-subpage .image-hero-content h1 {
    max-width: 800px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.image-hero-subpage .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.image-hero-subpage .hero-actions {
    margin-top: 34px;
}

.btn,
.header-cta,
.whatsapp-float,
.primary-nav a {
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-footer {
    margin-top: 0;
    padding-top: clamp(54px, 6vw, 82px);
    padding-bottom: clamp(34px, 4vw, 48px);
}

.whatsapp-float {
    z-index: 90;
}

@media (max-width: 680px) {
    .image-hero-subpage {
        min-height: 680px;
    }

    .image-hero-subpage .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .image-hero-subpage .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.04;
    }

    .image-hero-subpage .hero-actions,
    .image-hero-subpage .hero-actions .btn {
        width: 100%;
    }

    .image-hero-subpage .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer {
        padding-bottom: 108px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }
}

/* Kontakt page final override */
.contact-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.contact-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.25) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.contact-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.contact-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.contact-hero .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.contact-cards,
.contact-inquiry {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: clamp(58px, 6vw, 86px);
    padding-bottom: clamp(58px, 6vw, 86px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.contact-cards article {
    min-height: 260px;
    padding: clamp(26px, 3vw, 38px);
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.62);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.contact-cards article:last-child {
    border-right: 1px solid rgba(17, 19, 21, 0.12);
}

.contact-cards article:hover {
    z-index: 1;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.contact-cards span {
    display: block;
    margin-bottom: clamp(38px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-cards h2 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.05;
}

.contact-cards p {
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.contact-cards a {
    display: inline-flex;
    margin-top: 24px;
    color: #111315;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-cards a:hover {
    color: #b9935e;
    transform: translateX(4px);
}

.contact-inquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 7vw, 104px);
    align-items: start;
    padding-top: clamp(82px, 8vw, 124px);
    padding-bottom: clamp(86px, 9vw, 136px);
    background: #0d0e10;
    color: #ffffff;
}

.contact-inquiry-copy {
    position: sticky;
    top: 110px;
}

.contact-inquiry-copy h2 {
    max-width: 640px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.contact-inquiry-copy p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.82;
}

.contact-inquiry-note {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-inquiry-note strong,
.contact-inquiry-note span {
    display: block;
}

.contact-inquiry-note strong {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
}

.contact-inquiry-note span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
}

.premium-contact-form {
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.premium-contact-form label {
    display: grid;
    gap: 9px;
}

.premium-contact-form > label {
    margin-top: 18px;
}

.premium-contact-form label span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.premium-contact-form input,
.premium-contact-form select,
.premium-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    line-height: 1.5;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.premium-contact-form input,
.premium-contact-form select {
    min-height: 54px;
    padding: 0 16px;
}

.premium-contact-form textarea {
    min-height: 170px;
    padding: 16px;
    resize: vertical;
}

.premium-contact-form select option {
    color: #111315;
}

.premium-contact-form input::placeholder,
.premium-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.premium-contact-form input:focus,
.premium-contact-form select:focus,
.premium-contact-form textarea:focus {
    border-color: rgba(214, 180, 126, 0.78);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(214, 180, 126, 0.1);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
}

.form-submit-row p {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
    line-height: 1.6;
}

.premium-contact-form .form-status {
    margin-bottom: 20px;
}

@media (max-width: 1020px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-cards article,
    .contact-cards article:last-child {
        min-height: auto;
        border-right: 1px solid rgba(17, 19, 21, 0.12);
        border-bottom: 0;
    }

    .contact-cards article:last-child {
        border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    }

    .contact-inquiry {
        grid-template-columns: 1fr;
    }

    .contact-inquiry-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .contact-hero.image-hero-subpage {
        min-height: 680px;
    }

    .contact-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .contact-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .contact-hero .hero-actions,
    .contact-hero .hero-actions .btn {
        width: 100%;
    }

    .contact-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-cards,
    .contact-inquiry {
        padding-inline: 16px;
    }

    .contact-cards {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .contact-cards article {
        padding: 26px 0;
        border-right: 0;
        border-left: 0;
    }

    .contact-cards article:last-child {
        border-right: 0;
    }

    .contact-cards span {
        margin-bottom: 34px;
    }

    .contact-inquiry {
        padding-top: 62px;
        padding-bottom: 74px;
    }

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

    .premium-contact-form {
        padding: 22px;
    }

    .form-submit-row {
        display: grid;
    }

    .form-submit-row .btn {
        width: 100%;
    }
}

/* Projekte page final override */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.portfolio-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.24) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.portfolio-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.portfolio-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.portfolio-featured,
.portfolio-gallery-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.portfolio-featured {
    padding-top: clamp(78px, 8vw, 122px);
    padding-bottom: clamp(78px, 8vw, 116px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.portfolio-gallery-section {
    padding-top: clamp(78px, 8vw, 118px);
    padding-bottom: clamp(84px, 9vw, 132px);
    background: #0d0e10;
    color: #ffffff;
}

.portfolio-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.portfolio-section-head h2 {
    max-width: 720px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.portfolio-section-head p:not(.eyebrow) {
    color: #62676c;
    line-height: 1.78;
}

.portfolio-gallery-section .portfolio-section-head h2 {
    color: #ffffff;
}

.portfolio-gallery-section .portfolio-section-head p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.66);
}

.portfolio-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-featured-card {
    position: relative;
    min-height: clamp(420px, 38vw, 560px);
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, 0.1);
    background: #111315;
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(17, 19, 21, 0.12);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease;
}

.portfolio-featured-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 20%, rgba(6, 6, 6, 0.82) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.36), transparent 68%);
    pointer-events: none;
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 280ms ease;
}

.portfolio-featured-card:hover {
    border-color: rgba(185, 147, 94, 0.46);
    box-shadow: 0 34px 86px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.04) contrast(1.05);
    transform: scale(1.07);
}

.portfolio-featured-card > div {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    left: 28px;
}

.portfolio-featured-card span,
.portfolio-gallery-card span {
    display: block;
    margin-bottom: 12px;
    color: #d6b47e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.portfolio-featured-card h2 {
    max-width: 420px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.06;
}

.portfolio-featured-card p {
    max-width: 410px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 24px;
    background: #ffffff;
    transform-origin: left center;
    transition: transform 220ms ease, background 220ms ease;
}

.portfolio-featured-card:hover i {
    background: #d6b47e;
    transform: scaleX(1.35);
}

.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.portfolio-filter {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.11);
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-gallery-card {
    position: relative;
    min-height: clamp(260px, 24vw, 360px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: #151719;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease;
}

.portfolio-gallery-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, transparent 24%, rgba(5, 5, 5, 0.82) 100%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.36), transparent 65%);
    pointer-events: none;
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    transform: translateY(-5px);
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong {
    position: absolute;
    z-index: 2;
    right: 22px;
    left: 22px;
}

.portfolio-gallery-card span {
    bottom: 60px;
}

.portfolio-gallery-card strong {
    bottom: 24px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.1;
}

.portfolio-cta {
    margin-top: clamp(70px, 8vw, 110px);
    margin-bottom: clamp(58px, 7vw, 86px);
    background: linear-gradient(135deg, #111315, #24272a 72%, #151515);
}

.has-lightbox {
    overflow: hidden;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 5, 5, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.portfolio-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-lightbox figure {
    width: min(1120px, 100%);
    margin: 0;
}

.portfolio-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #111315;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}

.portfolio-lightbox figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.portfolio-lightbox-close::before,
.portfolio-lightbox-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    content: "";
    background: #ffffff;
}

.portfolio-lightbox-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.portfolio-lightbox-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 460px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .portfolio-section-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 680px;
    }

    .portfolio-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .portfolio-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .portfolio-hero .hero-actions,
    .portfolio-hero .hero-actions .btn {
        width: 100%;
    }

    .portfolio-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-section-head h2 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .portfolio-featured-card {
        min-height: 410px;
    }

    .portfolio-featured-card > div {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-gallery-card {
        min-height: 330px;
    }

    .portfolio-filter {
        flex: 1 1 auto;
        min-width: 132px;
    }
}

/* Ueber uns page */
.about-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.about-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.84) 0%, rgba(8, 8, 8, 0.66) 35%, rgba(8, 8, 8, 0.24) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.about-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.about-hero .image-hero-content h1 {
    max-width: 800px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.about-hero .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.about-founder,
.about-credibility,
.about-values {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.about-founder {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(42px, 7vw, 104px);
    align-items: center;
    padding-top: clamp(82px, 8vw, 124px);
    padding-bottom: clamp(82px, 8vw, 124px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.about-portrait {
    display: grid;
    gap: 22px;
}

.about-portrait-media {
    position: relative;
    min-height: clamp(420px, 48vw, 620px);
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, 0.1);
    background:
        linear-gradient(135deg, rgba(17, 19, 21, 0.94), rgba(41, 44, 47, 0.96)),
        linear-gradient(90deg, rgba(214, 180, 126, 0.18), transparent);
    box-shadow: 0 28px 78px rgba(17, 19, 21, 0.12);
}

.about-portrait-media::after {
    position: absolute;
    inset: 20px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.about-portrait-media img {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-portrait-media img.is-missing {
    display: none;
}

.about-portrait-media span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-display);
    font-size: clamp(82px, 11vw, 148px);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.about-portrait-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
}

.about-portrait-caption h2 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 500;
}

.about-portrait-caption p {
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-founder-copy h2,
.about-values-head h2 {
    max-width: 760px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.about-founder-copy p:not(.eyebrow) {
    max-width: 680px;
    color: #62676c;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.82;
}

.about-founder-copy p + p {
    margin-top: 18px;
}

.about-founder-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.about-founder-notes span {
    padding: 12px 16px;
    border: 1px solid rgba(17, 19, 21, 0.12);
    color: #111315;
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.about-credibility {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: clamp(46px, 5vw, 70px);
    padding-bottom: clamp(46px, 5vw, 70px);
    background: #111315;
    color: #ffffff;
}

.about-credibility article {
    min-height: 180px;
    padding: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.about-credibility article:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.about-credibility strong {
    display: block;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.05;
}

.about-credibility p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

.about-values {
    padding-top: clamp(82px, 8vw, 122px);
    padding-bottom: clamp(82px, 8vw, 122px);
    background: #f7f8f8;
}

.about-values-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
}

.about-values-grid article {
    min-height: 260px;
    padding: clamp(26px, 3vw, 38px);
    border-right: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.54);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.about-values-grid article:hover {
    z-index: 1;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.about-values-grid span {
    display: block;
    margin-bottom: clamp(38px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.about-values-grid h3 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 500;
}

.about-values-grid p {
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.about-cta {
    margin-top: clamp(70px, 8vw, 110px);
    margin-bottom: clamp(58px, 7vw, 86px);
    background: linear-gradient(135deg, #111315, #24272a 72%, #151515);
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 1060px) {
    .about-founder {
        grid-template-columns: 1fr;
    }

    .about-credibility,
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .about-hero.image-hero-subpage {
        min-height: 680px;
    }

    .about-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .about-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .about-founder,
    .about-credibility,
    .about-values {
        padding-inline: 16px;
    }

    .about-founder,
    .about-values {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .about-portrait-media {
        min-height: 420px;
    }

    .about-portrait-caption {
        display: block;
    }

    .about-portrait-caption p {
        margin-top: 8px;
    }

    .about-credibility,
    .about-values-grid,
    .about-values-head {
        grid-template-columns: 1fr;
    }

    .about-credibility article,
    .about-credibility article:last-child {
        min-height: auto;
        padding: 24px 0;
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about-values-grid article {
        min-height: auto;
        padding: 26px;
    }

    .about-values-grid span {
        margin-bottom: 34px;
    }

    .about-cta-actions,
    .about-cta-actions .btn {
        width: 100%;
    }
}

/* Kontakt page */
.contact-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.contact-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.25) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.contact-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.contact-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.contact-hero .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.contact-cards,
.contact-inquiry {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: clamp(58px, 6vw, 86px);
    padding-bottom: clamp(58px, 6vw, 86px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.contact-cards article {
    min-height: 260px;
    padding: clamp(26px, 3vw, 38px);
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.62);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.contact-cards article:last-child {
    border-right: 1px solid rgba(17, 19, 21, 0.12);
}

.contact-cards article:hover {
    z-index: 1;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.contact-cards span {
    display: block;
    margin-bottom: clamp(38px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-cards h2 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.05;
}

.contact-cards p {
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.contact-cards a {
    display: inline-flex;
    margin-top: 24px;
    color: #111315;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-cards a:hover {
    color: #b9935e;
    transform: translateX(4px);
}

.contact-inquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 7vw, 104px);
    align-items: start;
    padding-top: clamp(82px, 8vw, 124px);
    padding-bottom: clamp(86px, 9vw, 136px);
    background: #0d0e10;
    color: #ffffff;
}

.contact-inquiry-copy {
    position: sticky;
    top: 110px;
}

.contact-inquiry-copy h2 {
    max-width: 640px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.contact-inquiry-copy p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.82;
}

.contact-inquiry-note {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-inquiry-note strong,
.contact-inquiry-note span {
    display: block;
}

.contact-inquiry-note strong {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
}

.contact-inquiry-note span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
}

.premium-contact-form {
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.premium-contact-form label {
    display: grid;
    gap: 9px;
}

.premium-contact-form > label {
    margin-top: 18px;
}

.premium-contact-form label span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.premium-contact-form input,
.premium-contact-form select,
.premium-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    line-height: 1.5;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.premium-contact-form input,
.premium-contact-form select {
    min-height: 54px;
    padding: 0 16px;
}

.premium-contact-form textarea {
    min-height: 170px;
    padding: 16px;
    resize: vertical;
}

.premium-contact-form select option {
    color: #111315;
}

.premium-contact-form input::placeholder,
.premium-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.premium-contact-form input:focus,
.premium-contact-form select:focus,
.premium-contact-form textarea:focus {
    border-color: rgba(214, 180, 126, 0.78);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(214, 180, 126, 0.1);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
}

.form-submit-row p {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
    line-height: 1.6;
}

.premium-contact-form .form-status {
    margin-bottom: 20px;
}

@media (max-width: 1020px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-cards article,
    .contact-cards article:last-child {
        min-height: auto;
        border-right: 1px solid rgba(17, 19, 21, 0.12);
        border-bottom: 0;
    }

    .contact-cards article:last-child {
        border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    }

    .contact-inquiry {
        grid-template-columns: 1fr;
    }

    .contact-inquiry-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .contact-hero.image-hero-subpage {
        min-height: 680px;
    }

    .contact-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .contact-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .contact-hero .hero-actions,
    .contact-hero .hero-actions .btn {
        width: 100%;
    }

    .contact-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-cards,
    .contact-inquiry {
        padding-inline: 16px;
    }

    .contact-cards {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .contact-cards article {
        padding: 26px 0;
        border-right: 0;
        border-left: 0;
    }

    .contact-cards article:last-child {
        border-right: 0;
    }

    .contact-cards span {
        margin-bottom: 34px;
    }

    .contact-inquiry {
        padding-top: 62px;
        padding-bottom: 74px;
    }

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

    .premium-contact-form {
        padding: 22px;
    }

    .form-submit-row {
        display: grid;
    }

    .form-submit-row .btn {
        width: 100%;
    }
}

/* Projekte page portfolio system */
.portfolio-hero {
    min-height: clamp(560px, 72vh, 760px);
    background: #080808;
}

.portfolio-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.24) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.portfolio-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.portfolio-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.portfolio-featured,
.portfolio-gallery-section {
    width: 100%;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.portfolio-featured {
    padding-top: clamp(78px, 8vw, 122px);
    padding-bottom: clamp(78px, 8vw, 116px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.portfolio-gallery-section {
    padding-top: clamp(78px, 8vw, 118px);
    padding-bottom: clamp(84px, 9vw, 132px);
    background: #0d0e10;
    color: #ffffff;
}

.portfolio-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.portfolio-section-head h2 {
    max-width: 720px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.portfolio-section-head p:not(.eyebrow) {
    color: #62676c;
    line-height: 1.78;
}

.portfolio-gallery-section .portfolio-section-head h2,
.portfolio-gallery-section .portfolio-section-head p:not(.eyebrow) {
    color: #ffffff;
}

.portfolio-gallery-section .portfolio-section-head p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.66);
}

.portfolio-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-featured-card {
    position: relative;
    min-height: clamp(420px, 38vw, 560px);
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, 0.1);
    background: #111315;
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(17, 19, 21, 0.12);
    cursor: default;
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease;
}

.portfolio-featured-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 20%, rgba(6, 6, 6, 0.82) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.36), transparent 68%);
    pointer-events: none;
    transition: opacity 280ms ease;
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 280ms ease;
}

.portfolio-featured-card:hover {
    border-color: rgba(185, 147, 94, 0.46);
    box-shadow: 0 34px 86px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.04) contrast(1.05);
    transform: scale(1.07);
}

.portfolio-featured-card > div {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    left: 28px;
}

.portfolio-featured-card span,
.portfolio-gallery-card span {
    display: block;
    margin-bottom: 12px;
    color: #d6b47e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.portfolio-featured-card h2 {
    max-width: 420px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.06;
}

.portfolio-featured-card p {
    max-width: 410px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 24px;
    background: #ffffff;
    transform-origin: left center;
    transition: transform 220ms ease, background 220ms ease;
}

.portfolio-featured-card:hover i {
    background: #d6b47e;
    transform: scaleX(1.35);
}

.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.portfolio-filter {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.11);
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-gallery-card {
    position: relative;
    min-height: clamp(260px, 24vw, 360px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #151719;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease;
}

.portfolio-gallery-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, transparent 24%, rgba(5, 5, 5, 0.82) 100%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.36), transparent 65%);
    pointer-events: none;
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    transform: translateY(-5px);
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong {
    position: absolute;
    z-index: 2;
    right: 22px;
    left: 22px;
}

.portfolio-gallery-card span {
    bottom: 60px;
}

.portfolio-gallery-card strong {
    bottom: 24px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.1;
}

.portfolio-cta {
    margin-top: clamp(70px, 8vw, 110px);
    margin-bottom: clamp(58px, 7vw, 86px);
    background: linear-gradient(135deg, #111315, #24272a 72%, #151515);
}

.has-lightbox {
    overflow: hidden;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 5, 5, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.portfolio-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-lightbox figure {
    width: min(1120px, 100%);
    margin: 0;
}

.portfolio-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #111315;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}

.portfolio-lightbox figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.portfolio-lightbox-close::before,
.portfolio-lightbox-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    content: "";
    background: #ffffff;
}

.portfolio-lightbox-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.portfolio-lightbox-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 460px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .portfolio-section-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .portfolio-hero {
        min-height: 680px;
    }

    .portfolio-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .portfolio-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .portfolio-hero .hero-actions,
    .portfolio-hero .hero-actions .btn {
        width: 100%;
    }

    .portfolio-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-section-head h2 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .portfolio-featured-card {
        min-height: 410px;
    }

    .portfolio-featured-card > div {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-gallery-card {
        min-height: 330px;
    }

    .portfolio-filter {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 132px;
    }
}

/* Homepage refinement pass */
.image-hero-home {
    min-height: clamp(640px, 84vh, 900px);
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.82) 0%, rgba(8, 8, 8, 0.66) 30%, rgba(8, 8, 8, 0.25) 61%, rgba(8, 8, 8, 0.14) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.1) 46%, rgba(5, 5, 5, 0.72));
}

.image-hero-home .image-hero-content {
    width: min(1120px, calc(100% - 64px));
    padding-top: clamp(128px, 15vh, 176px);
    padding-bottom: clamp(112px, 15vh, 162px);
}

.image-hero-home .image-hero-content h1 {
    max-width: 720px;
    margin-top: 20px;
    font-size: clamp(44px, 5.1vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 510px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.image-hero-home .hero-actions {
    margin-top: 34px;
}

.hero-info-card {
    background: rgba(10, 10, 10, 0.38);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease, background 260ms ease;
}

.hero-info-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    background: rgba(10, 10, 10, 0.52);
    transform: translateY(-4px);
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 max(32px, calc((100vw - 1240px) / 2));
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
    color: #111315;
    border-top: 1px solid rgba(17, 19, 21, 0.08);
    border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: none;
}

.home-service-strip article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 154px;
    padding: 34px 30px;
    border-right: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:first-child {
    border-left: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:hover {
    background: #ffffff;
    border-color: rgba(214, 180, 126, 0.36);
    box-shadow: 0 20px 46px rgba(17, 19, 21, 0.06);
}

.home-service-strip h2 {
    margin-bottom: 8px;
    color: #111315;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-service-strip p {
    max-width: 210px;
    color: #686d72;
    font-size: 14px;
    line-height: 1.65;
}

.home-service-strip .service-symbol {
    width: 42px;
    height: 42px;
    border-color: rgba(17, 19, 21, 0.16);
    color: #b9935e;
}

.home-signature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: clamp(42px, 7vw, 104px);
    width: 100%;
    margin: 0;
    padding: clamp(82px, 9vw, 132px) max(24px, calc((100vw - 1220px) / 2));
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
        linear-gradient(#f7f8f8, #f2f3f3);
    background-size: 128px 128px, auto;
}

.home-signature::before {
    position: absolute;
    top: 0;
    left: max(24px, calc((100vw - 1220px) / 2));
    right: max(24px, calc((100vw - 1220px) / 2));
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(17, 19, 21, 0.14), transparent);
}

.signature-copy,
.signature-steps {
    position: relative;
    z-index: 1;
}

.signature-copy {
    align-self: start;
}

.signature-copy h2 {
    max-width: 620px;
    margin-top: 18px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(42px, 5.8vw, 86px);
    font-weight: 500;
    line-height: 0.98;
}

.signature-copy p:not(.eyebrow) {
    max-width: 520px;
    margin-top: 28px;
    color: #5f6468;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.82;
}

.signature-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
}

.signature-steps article {
    min-height: 220px;
    padding: clamp(26px, 3vw, 40px);
    border-right: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.signature-steps article:hover {
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.signature-steps span {
    display: block;
    margin-bottom: clamp(36px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.signature-steps h3 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 500;
}

.signature-steps p {
    max-width: 280px;
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.featured-projects {
    padding-top: clamp(82px, 8vw, 118px);
}

.home-services {
    padding-top: clamp(82px, 8vw, 120px);
    padding-bottom: clamp(78px, 8vw, 116px);
}

.btn,
.featured-project-card,
.home-service-strip article,
.signature-steps article,
.home-services .feature-list article {
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1020px) {
    .home-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px;
    }

    .home-service-strip article:nth-child(odd) {
        border-left: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        grid-template-columns: 1fr;
    }

    .signature-copy h2 {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 690px;
    }

    .image-hero-home .image-hero-overlay {
        background:
            linear-gradient(90deg, rgba(3, 3, 3, 0.84), rgba(8, 8, 8, 0.48)),
            linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.74));
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 104px;
        padding-bottom: 118px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 420px;
        margin-top: 16px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.06;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        max-width: 390px;
        margin-top: 20px;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .home-service-strip article,
    .home-service-strip article:first-child,
    .home-service-strip article:nth-child(odd) {
        grid-template-columns: auto 1fr;
        min-height: auto;
        padding: 24px 4px;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        gap: 34px;
        padding: 62px 16px;
        background-size: 88px 88px, auto;
    }

    .signature-copy h2 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.03;
    }

    .signature-steps {
        grid-template-columns: 1fr;
    }

    .signature-steps article {
        min-height: auto;
        padding: 26px;
    }

    .signature-steps span {
        margin-bottom: 34px;
    }
}

/* Final homepage premium override - keep this block last */
.image-hero-home {
    width: 100%;
    max-width: none;
    min-height: clamp(660px, 86vh, 940px);
    margin: 0;
    overflow: hidden;
    background: #080808;
    color: #ffffff;
    isolation: isolate;
}

.image-hero-home .image-hero-media {
    transform: translate3d(0, calc(var(--hero-parallax, 0px) * 0.72), 0);
    will-change: transform;
}

.image-hero-home .image-hero-media::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.96) contrast(1.04);
    transform: scale(1);
    transform-origin: 62% 48%;
    animation: imageHeroDrift 26s ease-in-out infinite alternate;
}

.image-hero-home .image-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 118px 118px;
    opacity: 0.28;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.1), transparent 32%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.9) 0%, rgba(8, 8, 8, 0.78) 31%, rgba(8, 8, 8, 0.34) 60%, rgba(8, 8, 8, 0.2) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.18) 45%, rgba(5, 5, 5, 0.84));
}

.image-hero-home .image-hero-content {
    width: min(1180px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(130px, 16vh, 190px);
    padding-bottom: clamp(120px, 17vh, 180px);
}

.image-hero-home .image-hero-content .eyebrow,
.featured-projects .eyebrow {
    color: #d6b47e;
}

.image-hero-home .image-hero-content h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(46px, 5.4vw, 82px);
    line-height: 0.98;
    font-weight: 500;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.75;
}

.image-hero-home .image-hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.image-hero-home .image-hero-content > *:nth-child(2) {
    animation-delay: 0.14s;
}

.image-hero-home .image-hero-content > *:nth-child(3) {
    animation-delay: 0.26s;
}

.image-hero-home .image-hero-content > *:nth-child(4) {
    animation-delay: 0.38s;
}

.hero-info-card {
    position: absolute;
    z-index: 3;
    min-width: 162px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.46);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-info-card strong,
.hero-info-card span {
    display: block;
}

.hero-info-card strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 500;
}

.hero-info-card span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-info-card-experience {
    right: max(36px, calc((100vw - 1180px) / 2));
    bottom: 31%;
    animation-delay: 0.52s;
}

.hero-info-card-region {
    right: max(170px, calc((100vw - 1180px) / 2 + 150px));
    bottom: 18%;
    animation-delay: 0.62s;
}

.hero-info-card-cost {
    right: max(34px, calc((100vw - 1180px) / 2 + 24px));
    bottom: 9%;
    animation-delay: 0.72s;
}

.image-hero-home .hero-progress {
    color: #ffffff;
}

.image-hero-home .hero-progress i {
    background: rgba(255, 255, 255, 0.58);
}

.btn {
    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

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

.home-service-strip {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1220px) / 2));
    background: #111315;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.home-service-strip article {
    min-height: 142px;
    padding: 28px;
    border-right-color: rgba(255, 255, 255, 0.09);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.home-service-strip article:hover {
    z-index: 1;
    background: #181b1e;
    border-color: rgba(214, 180, 126, 0.28);
    transform: translateY(-6px);
}

.home-service-strip h2 {
    color: #ffffff;
}

.home-service-strip p {
    color: rgba(255, 255, 255, 0.62);
}

.service-symbol {
    border-color: rgba(214, 180, 126, 0.38);
    color: #d6b47e;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-service-strip article:hover .service-symbol {
    transform: translateY(-2px) rotate(-3deg);
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.08);
}

.featured-projects {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(76px, 8vw, 116px) 0;
    background: #0d0e10;
    color: #ffffff;
}

.featured-projects > .featured-projects-intro,
.featured-projects > .featured-project-grid,
.featured-projects > .featured-projects-action {
    width: min(1220px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.featured-projects-intro {
    margin-bottom: 32px;
}

.featured-projects h2,
.featured-projects h3 {
    color: #ffffff;
}

.featured-projects-intro > p {
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.75;
}

.featured-project-grid {
    gap: 22px;
}

.featured-project-card {
    min-height: clamp(330px, 31vw, 420px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #151719;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.featured-project-card::after {
    opacity: 0.78;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.78) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.54), transparent 64%);
    transition: opacity 260ms ease;
}

.featured-project-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    box-shadow: 0 32px 86px rgba(0, 0, 0, 0.38);
}

.featured-project-card:hover::after {
    opacity: 0.95;
}

.featured-project-card img {
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.featured-project-card:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.07);
}

.featured-project-card .image-card-copy {
    inset: auto 24px 24px 24px;
    opacity: 0.9;
    transform: translateY(10px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.featured-project-card:hover .image-card-copy {
    opacity: 1;
    transform: translateY(0);
}

.featured-project-card .image-card-copy span {
    color: #d6b47e;
}

.featured-project-card .image-card-copy i {
    display: block;
    width: 34px;
    height: 1px;
    margin-top: 18px;
    background: #ffffff;
    transform-origin: left center;
    transition: transform 220ms ease, background 220ms ease;
}

.featured-project-card .image-card-copy i::after {
    display: block;
    width: 8px;
    height: 8px;
    margin-left: auto;
    content: "";
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    color: #ffffff;
    transform: translate(1px, -4px) rotate(45deg);
}

.featured-project-card:hover .image-card-copy i {
    background: #d6b47e;
    transform: scaleX(1.35);
}

.featured-projects-action {
    margin-top: 34px;
}

.home-services {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(78px, 8vw, 118px) max(24px, calc((100vw - 1180px) / 2));
    background: #f7f8f8;
}

.home-services .section-copy h2 {
    color: #111315;
}

.home-services .section-copy p:not(.eyebrow) {
    color: #5f6468;
    line-height: 1.78;
}

.home-services .feature-list article {
    background: #ffffff;
    border: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: 0 18px 48px rgba(17, 19, 21, 0.06);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-services .feature-list article:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 26px 66px rgba(17, 19, 21, 0.1);
}

.home-cta {
    margin-top: clamp(64px, 7vw, 96px);
    margin-bottom: clamp(54px, 6vw, 78px);
    background:
        linear-gradient(135deg, rgba(14, 15, 17, 0.98), rgba(31, 34, 36, 0.98)),
        linear-gradient(90deg, rgba(214, 180, 126, 0.18), transparent);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.reveal {
    transform: translateY(24px);
    transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
    transform: translateY(0);
}

@keyframes imageHeroDrift {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.05) translate3d(1.2%, 0.5%, 0);
    }
}

@keyframes premiumFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .image-hero-home {
        min-height: 780px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 36px, 680px);
        padding-top: 118px;
        padding-bottom: 190px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 620px;
        font-size: clamp(42px, 8.6vw, 68px);
    }

    .hero-info-card-experience,
    .hero-info-card-region,
    .hero-info-card-cost {
        right: auto;
        bottom: 72px;
    }

    .hero-info-card-experience {
        left: 24px;
    }

    .hero-info-card-region {
        left: calc(24px + 176px);
    }

    .hero-info-card-cost {
        left: calc(24px + 352px);
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 720px;
    }

    .image-hero-home .image-hero-media::before {
        background-position: 58% center;
        animation-duration: 32s;
    }

    .image-hero-home .image-hero-media::after {
        opacity: 0.16;
        background-size: 86px 86px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 560px);
        padding-top: 108px;
        padding-bottom: 154px;
    }

    .image-hero-home .image-hero-content h1 {
        font-size: clamp(36px, 10.8vw, 52px);
        line-height: 1.03;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.65;
    }

    .image-hero-home .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .image-hero-home .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-info-card {
        display: none;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .home-service-strip article {
        min-height: auto;
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .featured-projects {
        padding: 58px 0;
    }

    .featured-projects > .featured-projects-intro,
    .featured-projects > .featured-project-grid,
    .featured-projects > .featured-projects-action {
        width: min(100% - 32px, 560px);
    }

    .featured-projects-intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-card {
        min-height: 360px;
    }

    .home-services {
        padding: 58px 16px;
    }

    .home-cta {
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-hero-home .image-hero-media::before,
    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        animation: none;
    }

    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        opacity: 1;
        transform: none;
    }

    .reveal,
    .featured-project-card img,
    .btn,
    .home-service-strip article,
    .home-services .feature-list article {
        transition: none;
    }
}

/* Homepage premium motion and visual system */
.image-hero-home {
    width: 100%;
    max-width: none;
    min-height: clamp(660px, 86vh, 940px);
    margin: 0;
    overflow: hidden;
    background: #080808;
    color: #ffffff;
    isolation: isolate;
}

.image-hero-home .image-hero-media {
    transform: translate3d(0, calc(var(--hero-parallax, 0px) * 0.72), 0);
    will-change: transform;
}

.image-hero-home .image-hero-media::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.96) contrast(1.04);
    transform: scale(1);
    transform-origin: 62% 48%;
    animation: imageHeroDrift 26s ease-in-out infinite alternate;
}

.image-hero-home .image-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 118px 118px;
    opacity: 0.28;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.1), transparent 32%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.9) 0%, rgba(8, 8, 8, 0.78) 31%, rgba(8, 8, 8, 0.34) 60%, rgba(8, 8, 8, 0.2) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.18) 45%, rgba(5, 5, 5, 0.84));
}

.image-hero-home .image-hero-content {
    width: min(1180px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(130px, 16vh, 190px);
    padding-bottom: clamp(120px, 17vh, 180px);
}

.image-hero-home .image-hero-content .eyebrow {
    color: #d6b47e;
    letter-spacing: 0.18em;
}

.image-hero-home .image-hero-content h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(46px, 5.4vw, 82px);
    line-height: 0.98;
    font-weight: 500;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.75;
}

.image-hero-home .image-hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.image-hero-home .image-hero-content > *:nth-child(2) {
    animation-delay: 0.14s;
}

.image-hero-home .image-hero-content > *:nth-child(3) {
    animation-delay: 0.26s;
}

.image-hero-home .image-hero-content > *:nth-child(4) {
    animation-delay: 0.38s;
}

.hero-info-card {
    position: absolute;
    z-index: 3;
    min-width: 162px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.46);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-info-card strong,
.hero-info-card span {
    display: block;
}

.hero-info-card strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 500;
}

.hero-info-card span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-info-card-experience {
    right: max(36px, calc((100vw - 1180px) / 2));
    bottom: 31%;
    animation-delay: 0.52s;
}

.hero-info-card-region {
    right: max(170px, calc((100vw - 1180px) / 2 + 150px));
    bottom: 18%;
    animation-delay: 0.62s;
}

.hero-info-card-cost {
    right: max(34px, calc((100vw - 1180px) / 2 + 24px));
    bottom: 9%;
    animation-delay: 0.72s;
}

.image-hero-home .hero-progress {
    color: #ffffff;
}

.image-hero-home .hero-progress i {
    background: rgba(255, 255, 255, 0.58);
}

.btn {
    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

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

.btn-primary:hover {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.primary-nav a,
.site-footer a,
.featured-projects a:not(.btn) {
    text-decoration: none;
}

.home-service-strip {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1220px) / 2));
    background: #111315;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.home-service-strip article {
    min-height: 142px;
    padding: 28px 28px;
    border-right-color: rgba(255, 255, 255, 0.09);
    transition:
        transform 220ms ease,
        background 220ms ease,
        border-color 220ms ease;
}

.home-service-strip article:hover {
    z-index: 1;
    background: #181b1e;
    border-color: rgba(214, 180, 126, 0.28);
    transform: translateY(-6px);
}

.home-service-strip h2 {
    color: #ffffff;
}

.home-service-strip p {
    color: rgba(255, 255, 255, 0.62);
}

.service-symbol {
    border-color: rgba(214, 180, 126, 0.38);
    color: #d6b47e;
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        background 220ms ease;
}

.home-service-strip article:hover .service-symbol {
    transform: translateY(-2px) rotate(-3deg);
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.08);
}

.featured-projects {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(76px, 8vw, 116px) 0;
    background: #0d0e10;
    color: #ffffff;
}

.featured-projects > .featured-projects-intro,
.featured-projects > .featured-project-grid,
.featured-projects > .featured-projects-action {
    width: min(1220px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.featured-projects-intro {
    margin-bottom: 32px;
}

.featured-projects .eyebrow {
    color: #d6b47e;
}

.featured-projects h2,
.featured-projects h3 {
    color: #ffffff;
}

.featured-projects-intro > p {
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.75;
}

.featured-project-grid {
    gap: 22px;
}

.featured-project-card {
    min-height: clamp(330px, 31vw, 420px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #151719;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
    transition:
        transform 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease;
}

.featured-project-card::after {
    opacity: 0.78;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.78) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.54), transparent 64%);
    transition: opacity 260ms ease;
}

.featured-project-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    box-shadow: 0 32px 86px rgba(0, 0, 0, 0.38);
}

.featured-project-card:hover::after {
    opacity: 0.95;
}

.featured-project-card img {
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.featured-project-card:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.07);
}

.featured-project-card .image-card-copy {
    inset: auto 24px 24px 24px;
    opacity: 0.9;
    transform: translateY(10px);
    transition:
        opacity 260ms ease,
        transform 260ms ease;
}

.featured-project-card:hover .image-card-copy {
    opacity: 1;
    transform: translateY(0);
}

.featured-project-card .image-card-copy span {
    color: #d6b47e;
}

.featured-project-card .image-card-copy i {
    display: block;
    width: 34px;
    height: 1px;
    margin-top: 18px;
    background: #ffffff;
    transform-origin: left center;
    transition: transform 220ms ease, background 220ms ease;
}

.featured-project-card .image-card-copy i::after {
    display: block;
    width: 8px;
    height: 8px;
    margin-left: auto;
    content: "";
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    color: #ffffff;
    transform: translate(1px, -4px) rotate(45deg);
}

.featured-project-card:hover .image-card-copy i {
    background: #d6b47e;
    transform: scaleX(1.35);
}

.featured-projects-action {
    margin-top: 34px;
}

.home-services {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(78px, 8vw, 118px) max(24px, calc((100vw - 1180px) / 2));
    background: #f7f8f8;
}

.home-services .section-copy h2 {
    color: #111315;
}

.home-services .section-copy p:not(.eyebrow) {
    color: #5f6468;
    line-height: 1.78;
}

.home-services .feature-list article {
    background: #ffffff;
    border: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: 0 18px 48px rgba(17, 19, 21, 0.06);
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.home-services .feature-list article:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 26px 66px rgba(17, 19, 21, 0.1);
}

.home-cta {
    margin-top: clamp(64px, 7vw, 96px);
    margin-bottom: clamp(54px, 6vw, 78px);
    background:
        linear-gradient(135deg, rgba(14, 15, 17, 0.98), rgba(31, 34, 36, 0.98)),
        linear-gradient(90deg, rgba(214, 180, 126, 0.18), transparent);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.reveal {
    transform: translateY(24px);
    transition:
        opacity 680ms ease,
        transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
    transform: translateY(0);
}

@keyframes imageHeroDrift {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.05) translate3d(1.2%, 0.5%, 0);
    }
}

@keyframes premiumFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .image-hero-home {
        min-height: 780px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 36px, 680px);
        padding-top: 118px;
        padding-bottom: 190px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 620px;
        font-size: clamp(42px, 8.6vw, 68px);
    }

    .hero-info-card-experience,
    .hero-info-card-region,
    .hero-info-card-cost {
        right: auto;
        bottom: 72px;
    }

    .hero-info-card-experience {
        left: 24px;
    }

    .hero-info-card-region {
        left: calc(24px + 176px);
    }

    .hero-info-card-cost {
        left: calc(24px + 352px);
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 720px;
    }

    .image-hero-home .image-hero-media::before {
        background-position: 58% center;
        animation-duration: 32s;
    }

    .image-hero-home .image-hero-media::after {
        opacity: 0.16;
        background-size: 86px 86px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 560px);
        padding-top: 108px;
        padding-bottom: 154px;
    }

    .image-hero-home .image-hero-content h1 {
        font-size: clamp(36px, 10.8vw, 52px);
        line-height: 1.03;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.65;
    }

    .image-hero-home .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .image-hero-home .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-info-card {
        display: none;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .home-service-strip article {
        min-height: auto;
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .featured-projects {
        padding: 58px 0;
    }

    .featured-projects > .featured-projects-intro,
    .featured-projects > .featured-project-grid,
    .featured-projects > .featured-projects-action {
        width: min(100% - 32px, 560px);
    }

    .featured-projects-intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-card {
        min-height: 360px;
    }

    .home-services {
        padding: 58px 16px;
    }

    .home-cta {
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-hero-home .image-hero-media::before,
    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        animation: none;
    }

    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        opacity: 1;
        transform: none;
    }

    .reveal,
    .featured-project-card img,
    .btn,
    .home-service-strip article,
    .home-services .feature-list article {
        transition: none;
    }
}

/* Production image system */
.image-hero {
    position: relative;
    min-height: clamp(520px, 76vh, 860px);
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background:
        linear-gradient(135deg, #f1f2f2, #96999b 42%, #151515),
        var(--charcoal);
}

.image-hero-subpage {
    min-height: clamp(420px, 58vh, 620px);
}

.image-hero-media {
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
}

.image-hero-media::before {
    position: absolute;
    inset: -5%;
    content: "";
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: imageHeroDrift 22s ease-in-out infinite alternate;
}

.image-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.72) 35%, rgba(8, 8, 8, 0.28) 66%, rgba(8, 8, 8, 0.54)),
        linear-gradient(180deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.78)),
        url("../img/ui/pattern-grid.svg");
    background-size: auto, auto, 120px 120px;
}

.image-hero-content {
    position: relative;
    z-index: 3;
    width: min(1240px, calc(100% - 72px));
    padding: clamp(90px, 12vh, 142px) 0 clamp(82px, 11vh, 132px);
    margin: 0 auto;
}

.image-hero-content .eyebrow {
    color: var(--bronze-soft);
}

.image-hero-content h1 {
    max-width: 780px;
    color: var(--white);
    font-size: clamp(44px, 5.4vw, 78px);
    line-height: 1.04;
}

.image-hero-content p:not(.eyebrow) {
    max-width: 610px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.image-hero-content .btn-primary {
    color: var(--charcoal);
    background: var(--white);
    border-color: var(--white);
}

.image-hero-content .btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(12px);
}

.image-card,
.service-image-card {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}

.image-card img,
.service-image-card img,
.gallery-preview-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 680ms ease, filter 260ms ease, opacity 220ms ease;
}

.image-card img.is-missing,
.service-image-card img.is-missing,
.gallery-preview-grid img.is-missing {
    display: none;
}

.image-card::before,
.service-image-card::before,
.gallery-preview-grid figure::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(135deg, #eef0f0, #9da1a4 48%, #171717),
        var(--charcoal);
}

.image-card::after,
.service-image-card::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background: linear-gradient(180deg, transparent 24%, rgba(10, 10, 10, 0.84));
    pointer-events: none;
}

.image-card:hover img,
.service-image-card:hover img,
.gallery-preview-grid figure:hover img {
    transform: scale(1.045);
    filter: saturate(1.04) contrast(1.04);
}

.image-card-copy {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 3;
    color: var(--white);
}

.image-card-copy span {
    display: block;
    margin-bottom: 8px;
    color: var(--bronze-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.image-card-copy h2,
.image-card-copy h3,
.image-card-copy p {
    color: var(--white);
}

.services-image-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: min(var(--container), calc(100% - 36px));
    padding: clamp(42px, 5vw, 64px) 0;
    margin: 0 auto;
}

.service-image-card {
    grid-column: span 2;
    min-height: 360px;
    box-shadow: 0 18px 46px rgba(20, 20, 20, 0.08);
}

.service-image-card:nth-child(4),
.service-image-card:nth-child(5) {
    grid-column: span 3;
}

.service-image-card > div {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 3;
}

.service-image-card span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    place-items: center;
    color: var(--charcoal);
    background: var(--white);
    font-size: 12px;
    font-weight: 900;
}

.service-image-card h2,
.service-image-card p {
    color: var(--white);
}

.service-image-card h2 {
    margin-bottom: 10px;
    font-family: Inter, Arial, sans-serif;
    font-size: 22px;
}

.service-image-card p {
    max-width: 420px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.gallery-system {
    border-top: 1px solid var(--line);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.gallery-preview-grid figure {
    position: relative;
    min-height: 230px;
    margin: 0;
    overflow: hidden;
    background: var(--charcoal);
}

@keyframes imageHeroDrift {
    from {
        transform: scale(1.03) translate3d(-1.1%, -0.7%, 0);
    }
    to {
        transform: scale(1.1) translate3d(1.2%, 0.9%, 0);
    }
}

@media (max-width: 980px) {
    .image-hero,
    .image-hero-subpage {
        min-height: 620px;
    }

    .image-hero-content {
        width: min(var(--container), calc(100% - 40px));
        padding: 78px 0 110px;
    }

    .services-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-image-card,
    .service-image-card:nth-child(4),
    .service-image-card:nth-child(5) {
        grid-column: auto;
    }

    .gallery-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .image-hero,
    .image-hero-subpage {
        min-height: 560px;
    }

    .image-hero-content {
        width: min(var(--container), calc(100% - 32px));
        padding: 54px 0 76px;
    }

    .image-hero-content h1 {
        font-size: clamp(34px, 10.5vw, 44px);
    }

    .image-hero-content .hero-actions,
    .image-hero-content .hero-actions .btn {
        width: 100%;
    }

    .services-image-grid,
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        width: min(var(--container), calc(100% - 32px));
    }

    .service-image-card {
        min-height: 310px;
    }
}

/* Leistungen page premium layout */
.leistungen-hero,
.leistungen-overview,
.leistungen-detail,
.leistungen-process,
.leistungen-cta {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.leistungen-hero {
    position: relative;
    overflow: hidden;
    margin-top: clamp(26px, 4vw, 44px);
    padding: clamp(46px, 7vw, 82px);
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.72) 48%, rgba(20, 20, 20, 0.42)),
        linear-gradient(135deg, #151515, #4c453b 58%, #d8cfc1);
    box-shadow: var(--shadow);
}

.leistungen-hero::before {
    position: absolute;
    inset: 24px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.leistungen-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 94px 94px;
    opacity: 0.6;
    pointer-events: none;
}

.leistungen-hero > div {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.leistungen-hero .eyebrow,
.leistungen-cta .eyebrow {
    color: var(--bronze-soft);
}

.leistungen-hero h1 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: clamp(42px, 5.6vw, 76px);
}

.leistungen-hero p:not(.eyebrow) {
    max-width: 660px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 18px;
}

.leistungen-hero .btn-primary,
.leistungen-cta .btn-primary {
    color: var(--charcoal);
    background: var(--white);
    border-color: var(--white);
}

.leistungen-hero .btn-primary:hover,
.leistungen-cta .btn-primary:hover {
    color: var(--white);
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.leistungen-overview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(36px, 5vw, 58px) 0 clamp(38px, 5vw, 62px);
}

.leistung-card {
    position: relative;
    min-height: 0;
    height: auto;
    overflow: hidden;
    padding: 26px;
    background: var(--white);
    border: 1px solid rgba(20, 20, 20, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.leistung-card::before {
    position: absolute;
    top: 0;
    right: 100%;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
    transition: right 240ms ease;
}

.leistung-card:hover {
    transform: translateY(-5px);
    border-color: rgba(166, 120, 61, 0.36);
    box-shadow: var(--shadow-soft);
}

.leistung-card:hover::before {
    right: 0;
}

.leistung-card span,
.leistung-detail-row span,
.leistungen-timeline span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--bronze-dark);
    background: var(--stone);
    border: 1px solid rgba(166, 120, 61, 0.22);
    font-size: 12px;
    font-weight: 900;
}

.leistung-card:hover span {
    color: var(--white);
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.leistung-card h2 {
    margin-bottom: 12px;
    font-family: Inter, Arial, sans-serif;
    font-size: 19px;
    line-height: 1.2;
}

.leistung-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
}

.leistungen-detail {
    padding: clamp(48px, 6vw, 76px) 0;
    border-top: 1px solid var(--line);
}

.leistungen-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: end;
    margin-bottom: 28px;
}

.leistungen-detail-head h2 {
    margin-bottom: 0;
}

.leistungen-detail-head p:not(.eyebrow) {
    color: var(--muted);
}

.leistung-detail-row {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: clamp(26px, 5vw, 68px);
    padding: clamp(26px, 4vw, 42px) 0;
    border-top: 1px solid var(--line);
}

.leistung-detail-row:last-child {
    border-bottom: 1px solid var(--line);
}

.leistung-detail-row h3 {
    margin-bottom: 12px;
    font-size: clamp(24px, 3vw, 36px);
}

.leistung-detail-row p {
    max-width: 440px;
    color: var(--muted);
}

.leistung-detail-row ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.leistung-detail-row li {
    position: relative;
    padding: 12px 16px 12px 38px;
    background: rgba(245, 241, 234, 0.78);
    border: 1px solid rgba(20, 20, 20, 0.07);
    color: var(--ink);
    font-weight: 700;
}

.leistung-detail-row li::before {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 9px;
    height: 9px;
    content: "";
    border-right: 2px solid var(--bronze);
    border-bottom: 2px solid var(--bronze);
    transform: rotate(-45deg);
}

.leistungen-process {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 70px);
    padding: clamp(48px, 6vw, 76px) 0;
}

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

.leistungen-timeline {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: step;
}

.leistungen-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 22px;
    padding: 0 0 30px;
}

.leistungen-timeline li::before {
    position: absolute;
    top: 38px;
    bottom: 0;
    left: 19px;
    width: 1px;
    content: "";
    background: rgba(166, 120, 61, 0.28);
}

.leistungen-timeline li:last-child::before {
    display: none;
}

.leistungen-timeline span {
    grid-row: span 3;
    margin-bottom: 0;
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistungen-timeline strong {
    color: var(--charcoal);
    font-size: 22px;
}

.leistungen-timeline p {
    max-width: 620px;
    margin: 6px 0 0;
    color: var(--muted);
}

.leistungen-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 70px);
    align-items: end;
    margin-bottom: clamp(50px, 6vw, 76px);
    padding: clamp(34px, 5.5vw, 60px);
    color: var(--white);
    background: linear-gradient(135deg, var(--charcoal), #302a22);
    box-shadow: var(--shadow);
}

.leistungen-cta h2,
.leistungen-cta p {
    color: var(--white);
}

.leistungen-cta p:not(.eyebrow) {
    max-width: 690px;
    color: rgba(255, 255, 255, 0.74);
}

.leistungen-cta .btn {
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .leistungen-overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .leistungen-detail-head,
    .leistung-detail-row,
    .leistungen-process,
    .leistungen-cta {
        grid-template-columns: 1fr;
    }

    .leistungen-process-head {
        position: static;
    }

    .leistungen-cta .btn {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .leistungen-hero,
    .leistungen-cta {
        width: min(var(--container), calc(100% - 32px));
        padding: 30px 22px;
    }

    .leistungen-hero {
        margin-top: 18px;
    }

    .leistungen-hero::before {
        inset: 14px;
    }

    .leistungen-hero h1 {
        font-size: clamp(34px, 10.5vw, 46px);
    }

    .leistungen-overview {
        grid-template-columns: 1fr;
        width: min(var(--container), calc(100% - 32px));
        padding: 30px 0 42px;
    }

    .leistung-card {
        padding: 23px;
    }

    .leistungen-detail,
    .leistungen-process {
        width: min(var(--container), calc(100% - 32px));
        padding: 42px 0;
    }

    .leistung-detail-row {
        padding: 28px 0;
    }

    .leistung-detail-row li {
        padding-right: 12px;
        font-size: 14px;
    }

    .leistungen-timeline li {
        grid-template-columns: 52px 1fr;
        column-gap: 14px;
    }

    .leistungen-timeline li::before {
        left: 19px;
    }

    .leistungen-cta {
        margin-bottom: 44px;
    }

    .leistungen-cta .btn {
        width: 100%;
        white-space: normal;
    }
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, var(--white), #fbfaf7 42%, var(--white));
    line-height: 1.6;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
    pointer-events: none;
}

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

img,
svg {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    backdrop-filter: blur(20px);
    transition: box-shadow 180ms ease, background 180ms ease, padding 180ms ease;
}

.site-header.has-shadow {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 36px rgba(20, 20, 20, 0.08);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: var(--charcoal);
    border: 1px solid rgba(166, 120, 61, 0.68);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
}

.brand-mark::after {
    position: absolute;
    inset: 6px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: var(--charcoal);
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.1;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 700;
}

.primary-nav a {
    position: relative;
    color: var(--muted);
    transition: color 180ms ease;
}

.primary-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--charcoal);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
    transform: scaleX(1);
}

.header-cta,
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.header-cta {
    padding: 12px 18px;
    color: var(--white);
    background: var(--charcoal);
    border: 1px solid var(--charcoal);
    font-size: 13px;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta::before,
.btn::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 72%);
    transform: translateX(-115%);
    transition: transform 430ms ease;
}

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

.header-cta:hover::before,
.btn:hover::before {
    transform: translateX(115%);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--charcoal);
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero,
.page-hero,
.section,
.cta-panel,
.dark-band-inner {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    gap: clamp(34px, 4.6vw, 70px);
    align-items: center;
    min-height: min(820px, calc(100vh - 77px));
    padding: clamp(46px, 6vw, 70px) 0 34px;
}

.hero::before {
    position: absolute;
    top: 12%;
    right: -18vw;
    width: 42vw;
    height: 42vw;
    content: "";
    background: radial-gradient(circle, rgba(166, 120, 61, 0.16), transparent 68%);
    pointer-events: none;
}

.hero::after {
    position: absolute;
    inset: 0 -12vw auto auto;
    width: 54vw;
    height: 100%;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(20, 20, 20, 0.025) 1px, transparent 1px),
        linear-gradient(rgba(20, 20, 20, 0.025) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(90deg, transparent, #000 45%, transparent);
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--bronze-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    color: var(--charcoal);
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.04;
}

h1 {
    max-width: 820px;
    margin-bottom: 20px;
    font-size: clamp(44px, 5.45vw, 76px);
    overflow-wrap: normal;
    text-wrap: balance;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 54px);
}

h3 {
    margin-bottom: 8px;
    color: var(--charcoal);
    font-size: 19px;
}

.hero-copy p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.section-copy p,
.cta-panel p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-proof span {
    padding: 8px 11px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 20, 20, 0.09);
    font-size: 12px;
    font-weight: 800;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 520px;
    margin-top: 18px;
}

.hero-mini-stats div {
    padding: 15px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 12px 34px rgba(20, 20, 20, 0.05);
}

.hero-mini-stats strong,
.hero-mini-stats span {
    display: block;
}

.hero-mini-stats strong {
    color: var(--charcoal);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 31px;
    line-height: 1;
}

.hero-mini-stats span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 21px;
    border: 1px solid var(--charcoal);
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.btn-primary {
    color: var(--white);
    background: var(--charcoal);
}

.btn-primary:hover {
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.btn-secondary {
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.68);
}

.btn-secondary:hover {
    border-color: var(--bronze);
    color: var(--bronze-dark);
}

.hero-visual {
    min-height: 620px;
}

.architecture-scene {
    position: relative;
    min-height: 620px;
    perspective: 900px;
}

.scene-main {
    position: absolute;
    inset: 0 18px 18px 36px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(20, 20, 20, 0.02), rgba(20, 20, 20, 0.24) 48%, rgba(20, 20, 20, 0.68)),
        linear-gradient(120deg, rgba(255, 255, 255, 0.18) 0 19%, transparent 19% 100%),
        linear-gradient(135deg, #f0ebe3 0%, #c4b7a5 34%, #5e564d 35%, #1b1a18 100%);
    box-shadow: var(--shadow);
    transition: transform 260ms ease;
}

.scene-main::before {
    position: absolute;
    inset: 28px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.scene-main::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, 0.22) 28% 29%, transparent 29% 100%),
        linear-gradient(72deg, transparent 0 63%, rgba(255, 255, 255, 0.13) 63% 64%, transparent 64% 100%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.25), transparent 30%);
}

.grid-line {
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
}

.line-one {
    top: 118px;
    right: 44px;
    left: 44px;
    height: 1px;
}

.line-two {
    top: 44px;
    bottom: 44px;
    left: 34%;
    width: 1px;
}

.line-three {
    top: 44px;
    right: 24%;
    bottom: 44px;
    width: 1px;
}

.line-four {
    right: 44px;
    bottom: 168px;
    left: 44px;
    height: 1px;
}

.facade {
    position: absolute;
    z-index: 2;
    bottom: 86px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.08);
}

.facade::after {
    position: absolute;
    inset: 14px;
    content: "";
    background-image: linear-gradient(rgba(20, 20, 20, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 20, 20, 0.18) 1px, transparent 1px);
    background-size: 24px 24px;
}

.facade-a {
    left: 12%;
    width: 24%;
    height: 48%;
    background: rgba(255, 255, 255, 0.88);
}

.facade-b {
    left: 38%;
    width: 22%;
    height: 72%;
    background: rgba(237, 231, 222, 0.84);
}

.facade-c {
    right: 12%;
    width: 24%;
    height: 58%;
    background: rgba(255, 255, 255, 0.72);
}

.scene-caption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    z-index: 3;
    padding: 20px;
    color: var(--white);
    background: rgba(20, 20, 20, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.scene-caption strong,
.scene-caption span {
    display: block;
}

.scene-caption span {
    color: rgba(255, 255, 255, 0.72);
}

.scene-card {
    position: absolute;
    z-index: 4;
    display: grid;
    gap: 5px;
    min-width: 190px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(20, 20, 20, 0.1);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    transition: transform 260ms ease, box-shadow 220ms ease;
}

.scene-card:hover {
    box-shadow: 0 24px 54px rgba(20, 20, 20, 0.14);
}

.scene-card span {
    color: var(--bronze-dark);
    font-size: 12px;
    font-weight: 900;
}

.scene-card strong {
    color: var(--charcoal);
    line-height: 1.25;
}

.scene-card-top {
    top: 0;
    right: 0;
}

.scene-card-bottom {
    bottom: 34px;
    left: 0;
}

.scene-card-side {
    right: 0;
    bottom: 112px;
}

.trust-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto 10px;
    background:
        linear-gradient(90deg, rgba(166, 120, 61, 0.14), transparent 22%),
        rgba(255, 255, 255, 0.82);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
}

.trust-band div {
    position: relative;
    padding: 23px 28px;
    border-right: 1px solid var(--line);
}

.trust-band div::before {
    position: absolute;
    top: 24px;
    left: 0;
    width: 2px;
    height: 36px;
    content: "";
    background: var(--bronze);
    opacity: 0;
}

.trust-band div:first-child::before {
    opacity: 1;
}

.trust-band div:last-child {
    border-right: 0;
}

.trust-band strong,
.trust-band span {
    display: block;
}

.trust-band strong {
    color: var(--charcoal);
    font-size: 19px;
}

.trust-band span {
    color: var(--muted);
}

.section {
    padding: clamp(68px, 9vw, 112px) 0;
}

.home-services {
    padding-top: clamp(54px, 6vw, 78px);
    padding-bottom: clamp(56px, 6.5vw, 82px);
}

.editorial-section {
    position: relative;
}

.editorial-section::before {
    position: absolute;
    top: 48px;
    bottom: 48px;
    left: calc((100vw - min(var(--container), calc(100vw - 36px))) / -2);
    z-index: -1;
    width: 36vw;
    content: "";
    background: var(--stone);
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: start;
}

.feature-list,
.service-grid,
.project-grid,
.values {
    display: grid;
    gap: 16px;
}

.feature-list article,
.service-card,
.values article,
.contact-details,
.contact-form {
    position: relative;
    overflow: hidden;
    padding: 27px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(20, 20, 20, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.feature-list article {
    min-height: 174px;
}

.feature-list article::before,
.service-card::before,
.values article::before {
    position: absolute;
    top: 0;
    right: 100%;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), var(--bronze-soft));
    transition: right 240ms ease;
}

.feature-list article::after,
.service-card::after {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 34px;
    height: 34px;
    content: "";
    border-right: 1px solid rgba(166, 120, 61, 0.42);
    border-bottom: 1px solid rgba(166, 120, 61, 0.42);
}

.feature-list article,
.service-card,
.project-card,
.values article {
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-list article:hover,
.service-card:hover,
.project-card:hover,
.values article:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 120, 61, 0.34);
    box-shadow: var(--shadow-soft);
}

.feature-list article:hover span,
.service-card:hover span {
    color: var(--white);
    background: var(--bronze-dark);
    border-color: var(--bronze-dark);
}

.feature-list article:hover::before,
.service-card:hover::before,
.values article:hover::before {
    right: 0;
}

.feature-list span,
.service-card span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    place-items: center;
    color: var(--bronze-dark);
    background: var(--stone);
    border: 1px solid rgba(166, 120, 61, 0.22);
    font-size: 12px;
    font-weight: 900;
}

.feature-list p,
.service-card p,
.values p,
.project-card span,
.contact-details p {
    color: var(--muted);
}

.dark-band {
    margin: 0;
    padding: clamp(56px, 7vw, 80px) 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(135deg, #151515, #29251f 58%, #171717);
    background-size: 118px 118px, auto;
}

.home-projects {
    width: min(var(--container), calc(100% - 36px));
    padding: clamp(58px, 7vw, 88px) 0;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.home-projects-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
    margin-bottom: 26px;
}

.home-projects-head h2 {
    margin-bottom: 0;
}

.home-projects-head p:not(.eyebrow) {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 16px;
}

.home-project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.home-project-card {
    position: relative;
    display: grid;
    min-height: 340px;
    overflow: hidden;
    background: var(--charcoal);
    border: 1px solid rgba(20, 20, 20, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
    transform-style: preserve-3d;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-project-card:nth-child(1),
.home-project-card:nth-child(2) {
    grid-column: span 6;
}

.home-project-card:nth-child(n + 3) {
    grid-column: span 4;
    min-height: 255px;
}

.home-project-card:nth-child(4),
.home-project-card:nth-child(8) {
    min-height: 310px;
}

.home-project-card::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background:
        linear-gradient(180deg, transparent 18%, rgba(20, 20, 20, 0.86)),
        linear-gradient(120deg, rgba(166, 120, 61, 0.2), transparent 42%);
    pointer-events: none;
}

.home-project-card::before {
    position: absolute;
    inset: 14px;
    z-index: 2;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, inset 220ms ease;
}

.home-project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(166, 120, 61, 0.36);
    box-shadow: var(--shadow-soft);
}

.home-project-card:hover::before {
    inset: 18px;
    opacity: 1;
}

.home-project-card:hover .project-thumb {
    transform: scale(1.035);
}

.home-project-card > div:last-child {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 22px;
    transform: translateZ(24px);
}

.home-project-card span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--bronze-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-project-card h3 {
    max-width: 340px;
    margin-bottom: 0;
    color: var(--white);
    font-size: 21px;
    line-height: 1.18;
}

.project-thumb {
    position: absolute;
    inset: 0;
    background-color: var(--stone);
    background-size: cover;
    background-position: center;
    transition: transform 680ms ease, filter 260ms ease;
}

.home-project-card:hover .project-thumb {
    filter: saturate(1.04) contrast(1.04);
}

.thumb-sanierung {
    background-image:
        linear-gradient(135deg, rgba(20, 20, 20, 0.06), rgba(20, 20, 20, 0.34)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px),
        linear-gradient(#cfc4b5, #6a6156);
    background-size: cover, 42px 42px, cover;
}

.thumb-umbau {
    background-image:
        linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.38) 38% 39%, transparent 39%),
        linear-gradient(135deg, #eee7dc, #2c2925);
}

.thumb-innenausbau {
    background-image:
        linear-gradient(90deg, rgba(20, 20, 20, 0.1) 1px, transparent 1px),
        linear-gradient(135deg, #c8bca9, #f5f1ea 48%, #5a5148);
    background-size: 34px 34px, cover;
}

.thumb-bauleitung {
    background-image:
        linear-gradient(45deg, rgba(166, 120, 61, 0.22) 25%, transparent 25%),
        linear-gradient(135deg, #171717, #7e7568 62%, #f4f1ec);
    background-size: 38px 38px, cover;
}

.thumb-planung {
    background-image:
        linear-gradient(90deg, rgba(20, 20, 20, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(20, 20, 20, 0.12) 1px, transparent 1px),
        linear-gradient(135deg, #f7f3ec, #b7aa98);
    background-size: 28px 28px, 28px 28px, cover;
}

.thumb-beratung {
    background-image:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.36), transparent 24%),
        linear-gradient(135deg, #29251f, #8b7c68 56%, #f2ece2);
}

.thumb-rohbau {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
        linear-gradient(135deg, #e8ded0 0%, #73695d 46%, #181818 100%);
    background-size: 30px 30px, cover;
}

.thumb-fassade {
    background-image:
        linear-gradient(120deg, transparent 0 41%, rgba(255, 255, 255, 0.5) 41% 42%, transparent 42%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 34px),
        linear-gradient(135deg, #cfc3b3, #2a2825);
}

.thumb-abnahme {
    background-image:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.42), transparent 18%),
        linear-gradient(135deg, #f2eee7, #8d806f 52%, #1c1b19);
}

.home-projects-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.dark-band-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}

.dark-band h2 {
    color: var(--white);
}

.dark-band .eyebrow {
    color: var(--bronze-soft);
}

.dark-metrics {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line-dark);
}

.dark-metrics article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    padding: 19px 0;
    border-bottom: 1px solid var(--line-dark);
}

.dark-metrics strong {
    color: var(--bronze-soft);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 36px;
    line-height: 1;
}

.dark-metrics span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.cta-panel {
    position: relative;
    margin-top: clamp(44px, 5.5vw, 70px);
    margin-bottom: clamp(48px, 6vw, 72px);
    overflow: hidden;
    padding: clamp(34px, 5.5vw, 58px);
    color: var(--white);
    background: linear-gradient(135deg, var(--charcoal), #302a22);
    box-shadow: var(--shadow);
}

.home-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(24px, 5vw, 70px);
    align-items: end;
}

.home-cta .eyebrow,
.home-cta h2,
.home-cta p {
    grid-column: 1;
}

.home-cta .btn {
    grid-row: 2 / span 2;
    grid-column: 2;
    align-self: end;
    white-space: nowrap;
}

.cta-panel::after {
    position: absolute;
    top: 22px;
    right: 22px;
    bottom: 22px;
    left: 22px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.13);
    pointer-events: none;
}

.cta-panel h2,
.cta-panel p {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.75);
}

.cta-panel .eyebrow {
    color: var(--bronze-soft);
}

.cta-panel .btn-primary {
    z-index: 1;
    color: var(--charcoal);
    background: var(--white);
    border-color: var(--white);
}

.page-hero {
    position: relative;
    padding: clamp(72px, 9vw, 116px) 0 48px;
}

.page-hero::after {
    display: block;
    width: 88px;
    height: 2px;
    margin-top: 28px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), transparent);
}

.page-hero h1 {
    max-width: 920px;
}

.service-grid {
    grid-template-columns: repeat(3, 1fr);
}

.process {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 46px;
    border-top: 1px solid var(--line);
}

.timeline {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.timeline li {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.timeline strong {
    color: var(--charcoal);
}

.timeline span {
    color: var(--muted);
}

.project-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

.project-card > div:last-child {
    padding: 26px;
}

.project-card p {
    margin-bottom: 10px;
    color: var(--bronze-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-card h2 {
    font-family: Inter, Arial, sans-serif;
    font-size: 22px;
    line-height: 1.2;
}

.project-image {
    min-height: 265px;
    background-color: var(--stone);
    background-image:
        linear-gradient(90deg, rgba(20, 20, 20, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(20, 20, 20, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #f4f1ec, #bcb2a4);
    background-size: 38px 38px, 38px 38px, cover;
    transition: transform 420ms ease;
}

.project-card:hover .project-image {
    transform: scale(1.035);
}

.project-two {
    background-image:
        linear-gradient(45deg, rgba(166, 120, 61, 0.28) 25%, transparent 25%),
        linear-gradient(135deg, #ede7dc, #25231f);
    background-size: 44px 44px, cover;
}

.project-three {
    background-image:
        linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.5) 35%, rgba(255, 255, 255, 0.5) 36%, transparent 36%),
        linear-gradient(135deg, #171717, #837865 65%, #f4f1ec);
}

.portrait-panel {
    display: grid;
    min-height: 380px;
    align-content: end;
    padding: 32px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(20, 20, 20, 0.1), rgba(20, 20, 20, 0.42)),
        linear-gradient(135deg, var(--charcoal), #5f5140);
    box-shadow: var(--shadow-soft);
}

.portrait-initials {
    display: grid;
    width: 96px;
    height: 96px;
    margin-bottom: 26px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 35px;
}

.portrait-panel h2,
.portrait-panel p {
    color: var(--white);
}

.values {
    grid-template-columns: repeat(3, 1fr);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 26px;
    align-items: start;
}

.contact-details {
    position: sticky;
    top: 104px;
    background: var(--stone);
}

.contact-details a {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-details .btn {
    display: inline-flex;
    margin-top: 12px;
}

.contact-form {
    display: grid;
    gap: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--charcoal);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    color: var(--charcoal);
    background: var(--stone);
    border: 1px solid rgba(20, 20, 20, 0.14);
    border-radius: 0;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(166, 120, 61, 0.26);
    border-color: var(--bronze);
}

.form-status {
    padding: 14px 16px;
    font-weight: 700;
}

.form-status.success {
    color: #1f5134;
    background: #e7f2eb;
}

.form-status.error {
    color: #7a2b24;
    background: #f7e6e4;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 6vw, 68px) clamp(18px, 4vw, 54px) 24px;
    color: rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(135deg, #141414, #24211d 62%, #161616);
    background-size: 118px 118px, auto;
}

.site-footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: clamp(28px, 4vw, 56px);
    width: min(var(--container), 100%);
    margin: 0 auto 34px;
}

.footer-intro p {
    max-width: 460px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-brand .brand-mark {
    color: var(--charcoal);
    background: var(--white);
}

.footer-brand strong,
.site-footer h2 {
    color: var(--white);
}

.footer-brand small {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer h2 {
    margin-bottom: 18px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 10px;
}

.site-footer a {
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover {
    color: var(--white);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(var(--container), 100%);
    padding-top: 18px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 16px 8px 8px;
    color: var(--white);
    background: rgba(20, 20, 20, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 48px rgba(20, 20, 20, 0.22);
    font-size: 14px;
    font-weight: 800;
    backdrop-filter: blur(14px);
    transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    background: #1f7a48;
}

.whatsapp-icon {
    position: relative;
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    background: #1f7a48;
    border-radius: 999px;
}

.whatsapp-icon::before {
    width: 15px;
    height: 15px;
    content: "";
    border: 2px solid var(--white);
    border-radius: 999px;
}

.whatsapp-icon::after {
    position: absolute;
    right: 9px;
    bottom: 8px;
    width: 8px;
    height: 8px;
    content: "";
    background: #1f7a48;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(28deg);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.hero .reveal {
    opacity: 1;
    transform: none;
}

.trust-band.reveal,
.cta-panel.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 980px) {
    .site-header {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        order: 4;
        width: 100%;
        gap: 0;
        padding: 12px 0 4px;
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid var(--line);
    }

    .primary-nav a {
        padding: 13px 0;
        border-bottom: 1px solid rgba(20, 20, 20, 0.07);
    }

    .primary-nav a::after {
        bottom: 0;
    }

    .primary-nav.is-open {
        display: grid;
    }

    .header-cta {
        display: none;
    }

    .hero,
    .split,
    .process,
    .contact-layout,
    .dark-band-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 46px;
        padding-bottom: 24px;
    }

    .hero-mini-stats {
        max-width: none;
    }

    .home-services {
        padding-top: 48px;
        padding-bottom: 56px;
    }

    .service-grid,
    .project-grid,
    .values,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-projects-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-project-grid:not(.curated-project-grid) .home-project-card:nth-child(1),
    .home-project-grid:not(.curated-project-grid) .home-project-card:nth-child(2),
    .home-project-grid:not(.curated-project-grid) .home-project-card:nth-child(n + 3) {
        grid-column: span 6;
    }

    .contact-details {
        position: static;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding: 13px 18px;
    }

    .brand small {
        max-width: 180px;
    }

    .hero,
    .page-hero {
        padding-top: 38px;
    }

    h1 {
        font-size: clamp(32px, 10.2vw, 40px);
        line-height: 1.06;
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: 30px;
    }

    .hero-copy p:not(.eyebrow),
    .page-hero p:not(.eyebrow),
    .section-copy p,
    .cta-panel p {
        font-size: 16px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        gap: 8px;
    }

    .hero-proof span {
        padding: 7px 9px;
        font-size: 11px;
    }

    .hero-mini-stats {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-mini-stats div {
        padding: 12px 14px;
    }

    .hero-mini-stats strong {
        font-size: 26px;
    }

    .hero-visual,
    .architecture-scene {
        min-height: 430px;
    }

    .scene-main {
        inset: 18px 0 0 10px;
    }

    .scene-card {
        min-width: 164px;
        padding: 14px 15px;
    }

    .scene-card-top {
        right: 6px;
    }

    .scene-card-bottom {
        bottom: 18px;
        left: 0;
    }

    .scene-card-side {
        right: 0;
        bottom: 94px;
    }

    .scene-caption {
        right: 18px;
        bottom: 18px;
        left: 18px;
        padding: 16px;
    }

    .trust-band,
    .service-grid,
    .project-grid,
    .values,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .home-projects {
        padding: 46px 0;
    }

    .home-project-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-project-card:nth-child(1),
    .home-project-card:nth-child(2),
    .home-project-card:nth-child(n + 3) {
        grid-column: auto;
        min-height: 238px;
    }

    .home-project-card:nth-child(1),
    .home-project-card:nth-child(2) {
        min-height: 265px;
    }

    .home-project-card > div:last-child {
        padding: 18px;
    }

    .home-project-card h3 {
        font-size: 19px;
    }

    .home-projects-action,
    .home-projects-action .btn {
        width: 100%;
    }

    .trust-band div {
        padding: 18px 20px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-band div:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 54px 0;
    }

    .editorial-section::before {
        top: 34px;
        bottom: auto;
        left: -18px;
        width: calc(100% + 36px);
        height: 210px;
    }

    .dark-band {
        padding: 48px 0;
    }

    .home-cta {
        grid-template-columns: 1fr;
        margin-top: 38px;
        margin-bottom: 44px;
    }

    .home-cta .btn {
        grid-row: auto;
        grid-column: 1;
        width: 100%;
        margin-top: 6px;
        white-space: normal;
    }

    .cta-panel::after {
        inset: 14px;
    }

    .dark-metrics article,
    .timeline li {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-bottom {
        display: block;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-width: 44px;
        min-height: 44px;
        padding: 6px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }

    .whatsapp-icon::before {
        width: 13px;
        height: 13px;
    }

    .whatsapp-icon::after {
        right: 8px;
        bottom: 7px;
        width: 7px;
        height: 7px;
    }
}

/* Homepage layout inspired by premium architecture studios */
.maison-inspired {
    min-height: clamp(660px, 84vh, 920px);
    max-width: 1500px;
    margin: 0 auto;
}

.maison-inspired .hero-media {
    inset: 0;
}

.maison-inspired .hero-photo,
.maison-inspired .hero-media::before {
    transform-origin: 62% 42%;
}

.maison-inspired .hero-shade {
    background:
        linear-gradient(90deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.72) 35%, rgba(11, 11, 11, 0.22) 66%, rgba(11, 11, 11, 0.42) 100%),
        linear-gradient(180deg, rgba(11, 11, 11, 0.08), rgba(11, 11, 11, 0.76));
}

.maison-inspired .hero-grid-overlay {
    opacity: 0.3;
    background-size: 104px 104px, 104px 104px, cover;
}

.maison-inspired .hero-content {
    width: min(1220px, calc(100% - 70px));
    padding-top: clamp(108px, 13vh, 150px);
    padding-bottom: clamp(92px, 11vh, 130px);
}

.hero-rule {
    position: absolute;
    top: clamp(116px, 14vh, 166px);
    bottom: clamp(120px, 15vh, 170px);
    left: -34px;
    width: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.maison-inspired .hero-content h1 {
    max-width: 690px;
    font-size: clamp(44px, 5.1vw, 72px);
    line-height: 1.03;
    letter-spacing: 0;
}

.maison-inspired .hero-content p:not(.eyebrow) {
    max-width: 540px;
}

.maison-inspired .hero-actions {
    gap: 14px;
}

.maison-inspired .hero-float-card {
    z-index: 8;
}

.maison-inspired .card-experience {
    top: 25%;
    right: max(44px, calc((100vw - 1500px) / 2 + 68px));
}

.maison-inspired .card-region {
    right: max(74px, calc((100vw - 1500px) / 2 + 104px));
    bottom: 28%;
}

.maison-inspired .card-cost {
    right: max(44px, calc((100vw - 1500px) / 2 + 68px));
    bottom: 13%;
}

.hero-progress {
    position: absolute;
    left: max(35px, calc((100vw - 1220px) / 2));
    bottom: 38px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
}

.hero-progress i {
    display: block;
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, var(--bronze-soft), rgba(255, 255, 255, 0.3));
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(1500px, 100%);
    margin: 0 auto;
    background: var(--white);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 18px 46px rgba(20, 20, 20, 0.04);
}

.home-service-strip article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 118px;
    padding: 28px clamp(18px, 3vw, 42px);
    border-right: 1px solid rgba(20, 20, 20, 0.08);
}

.home-service-strip article:last-child {
    border-right: 0;
}

.home-service-strip h2 {
    margin-bottom: 6px;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-service-strip p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.service-symbol {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(166, 120, 61, 0.28);
}

.service-symbol::before,
.service-symbol::after {
    position: absolute;
    content: "";
    background: var(--bronze);
}

.symbol-management::before {
    top: 10px;
    left: 10px;
    width: 20px;
    height: 2px;
    box-shadow: 0 8px 0 var(--bronze), 0 16px 0 var(--bronze);
}

.symbol-management::after {
    right: 9px;
    bottom: 8px;
    width: 8px;
    height: 8px;
    background: transparent;
    border-right: 2px solid var(--bronze);
    border-bottom: 2px solid var(--bronze);
}

.symbol-leitung::before {
    top: 9px;
    left: 19px;
    width: 2px;
    height: 24px;
}

.symbol-leitung::after {
    top: 19px;
    left: 9px;
    width: 24px;
    height: 2px;
}

.symbol-projekt::before {
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--bronze);
}

.symbol-projekt::after {
    right: 8px;
    bottom: 8px;
    width: 12px;
    height: 2px;
    transform: rotate(-38deg);
}

.symbol-planung::before {
    top: 9px;
    left: 12px;
    width: 18px;
    height: 24px;
    background: transparent;
    border-left: 2px solid var(--bronze);
    border-bottom: 2px solid var(--bronze);
    transform: skew(-14deg);
}

.symbol-planung::after {
    top: 14px;
    left: 18px;
    width: 14px;
    height: 2px;
    transform: rotate(42deg);
}

.featured-projects {
    width: min(1220px, calc(100% - 36px));
    padding: clamp(58px, 7vw, 86px) 0 clamp(54px, 6vw, 76px);
    margin: 0 auto;
}

.featured-projects-intro {
    display: grid;
    grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: end;
    margin-bottom: 28px;
}

.featured-projects-intro h2 {
    margin-bottom: 0;
}

.featured-projects-intro p:not(.eyebrow) {
    max-width: 560px;
    margin-bottom: 4px;
    color: var(--muted);
}

.featured-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.featured-project-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    color: var(--white);
    background: var(--charcoal);
    box-shadow: 0 18px 46px rgba(20, 20, 20, 0.1);
    transform-style: preserve-3d;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-project-card::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background: linear-gradient(180deg, transparent 24%, rgba(12, 12, 12, 0.84));
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(20, 20, 20, 0.16);
}

.featured-project-card:hover .project-photo,
.featured-project-card:hover .project-thumb {
    transform: scale(1.045);
}

.featured-project-copy {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 38px;
    gap: 12px;
    align-items: end;
}

.featured-project-copy span {
    grid-column: 1 / -1;
    color: var(--bronze-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.featured-project-copy h3 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 22px;
    line-height: 1.15;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
}

.featured-project-copy i {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.featured-project-copy i::before {
    position: absolute;
    top: 18px;
    left: 10px;
    width: 16px;
    height: 1px;
    content: "";
    background: var(--white);
}

.featured-project-copy i::after {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 1px solid var(--white);
    border-right: 1px solid var(--white);
    transform: rotate(45deg);
}

.featured-projects-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.featured-projects-action .btn-secondary {
    background: var(--white);
}

@media (max-width: 980px) {
    .maison-inspired {
        max-width: none;
        min-height: 820px;
    }

    .maison-inspired .hero-content {
        width: min(var(--container), calc(100% - 40px));
        padding-top: 78px;
        padding-bottom: 370px;
    }

    .hero-rule {
        display: none;
    }

    .maison-inspired .card-experience {
        top: auto;
        right: auto;
        bottom: 238px;
        left: 22px;
    }

    .maison-inspired .card-region {
        right: 22px;
        bottom: 142px;
    }

    .maison-inspired .card-cost {
        right: auto;
        bottom: 48px;
        left: 22px;
    }

    .home-service-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-service-strip article:nth-child(2) {
        border-right: 0;
    }

    .home-service-strip article:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    }

    .featured-projects-intro {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-card {
        min-height: 360px;
    }
}

@media (max-width: 680px) {
    .maison-inspired {
        min-height: 760px;
    }

    .maison-inspired .hero-content {
        width: min(var(--container), calc(100% - 32px));
        padding-top: 52px;
        padding-bottom: 300px;
    }

    .maison-inspired .hero-content h1 {
        max-width: 360px;
        font-size: clamp(34px, 10.8vw, 44px);
        line-height: 1.05;
    }

    .maison-inspired .hero-content p:not(.eyebrow) {
        max-width: 340px;
        font-size: 16px;
    }

    .maison-inspired .hero-actions,
    .maison-inspired .hero-actions .btn {
        width: 100%;
    }

    .hero-progress {
        display: none;
    }

    .maison-inspired .hero-float-card {
        min-width: 138px;
        padding: 12px 14px;
    }

    .maison-inspired .card-experience {
        bottom: 198px;
        left: 16px;
    }

    .maison-inspired .card-region {
        right: 16px;
        bottom: 112px;
    }

    .maison-inspired .card-cost {
        bottom: 30px;
        left: 16px;
    }

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

    .home-service-strip article,
    .home-service-strip article:nth-child(2),
    .home-service-strip article:nth-child(-n + 2) {
        min-height: auto;
        padding: 22px 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    }

    .home-service-strip article:last-child {
        border-bottom: 0;
    }

    .featured-projects {
        padding: 46px 0 48px;
    }

    .featured-project-card {
        min-height: 285px;
    }

    .featured-projects-action,
    .featured-projects-action .btn {
        width: 100%;
    }
}

/* Final homepage hero/photo layout fix */
.maison-inspired.cinematic-hero {
    width: 100%;
    max-width: none;
    min-height: clamp(660px, 86vh, 920px);
    padding: 0;
    margin: 0;
}

.maison-inspired .hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-image: url("../img/hero/hero-1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate3d(0, var(--hero-parallax, 0px), 0);
}

.maison-inspired .hero-media::before {
    position: absolute;
    inset: -5%;
    content: "";
    background-image: url("../img/hero/hero-1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroBackgroundDrift 20s ease-in-out infinite alternate;
    will-change: transform;
}

.maison-inspired .hero-photo {
    display: none;
}

.maison-inspired .hero-shade {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(9, 9, 9, 0.92) 0%, rgba(9, 9, 9, 0.78) 32%, rgba(9, 9, 9, 0.34) 62%, rgba(9, 9, 9, 0.5) 100%),
        linear-gradient(180deg, rgba(9, 9, 9, 0.12) 0%, rgba(9, 9, 9, 0.28) 50%, rgba(9, 9, 9, 0.82) 100%);
}

.maison-inspired .hero-grid-overlay {
    z-index: 2;
    opacity: 0.28;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 42% 42.3%, transparent 42.3% 100%);
    background-size: 108px 108px, 108px 108px, cover;
}

.maison-inspired .hero-content {
    position: relative;
    z-index: 5;
    width: min(1240px, calc(100% - 72px));
    padding-top: clamp(104px, 13vh, 154px);
    padding-bottom: clamp(100px, 13vh, 150px);
}

.maison-inspired .hero-content h1 {
    max-width: 700px;
    font-size: clamp(44px, 4.8vw, 72px);
    line-height: 1.04;
}

.maison-inspired .hero-content p:not(.eyebrow) {
    max-width: 550px;
}

.maison-inspired .hero-actions {
    display: flex;
    gap: 14px;
}

.maison-inspired .hero-float-card {
    display: none;
}

.maison-inspired .hero-progress {
    left: max(36px, calc((100vw - 1240px) / 2));
    bottom: 36px;
}

.home-service-strip {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-top: 0;
}

.featured-project-card .project-photo {
    display: block;
}

@keyframes heroBackgroundDrift {
    from {
        transform: scale(1.03) translate3d(-1.2%, -0.8%, 0);
    }
    to {
        transform: scale(1.1) translate3d(1.4%, 1%, 0);
    }
}

@media (max-width: 980px) {
    .maison-inspired.cinematic-hero {
        min-height: 780px;
    }

    .maison-inspired .hero-content {
        width: min(var(--container), calc(100% - 40px));
        padding-top: 76px;
        padding-bottom: 130px;
    }

    .maison-inspired .hero-shade {
        background:
            linear-gradient(180deg, rgba(9, 9, 9, 0.88) 0%, rgba(9, 9, 9, 0.7) 42%, rgba(9, 9, 9, 0.32) 68%, rgba(9, 9, 9, 0.84) 100%),
            linear-gradient(90deg, rgba(9, 9, 9, 0.78), rgba(9, 9, 9, 0.22));
    }
}

@media (max-width: 680px) {
    .maison-inspired.cinematic-hero {
        min-height: 720px;
    }

    .maison-inspired .hero-content {
        width: min(var(--container), calc(100% - 32px));
        padding-top: 52px;
        padding-bottom: 86px;
    }

    .maison-inspired .hero-content h1 {
        max-width: 360px;
        font-size: clamp(34px, 10.5vw, 44px);
        line-height: 1.05;
    }

    .maison-inspired .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .maison-inspired .hero-actions .btn {
        width: 100%;
    }

    .maison-inspired .hero-progress {
        display: none;
    }

    .maison-inspired .hero-grid-overlay {
        background-size: 72px 72px, 72px 72px, cover;
        opacity: 0.2;
    }
}

/* Final homepage premium override - keep after production image system */
.image-hero-home {
    width: 100%;
    max-width: none;
    min-height: clamp(660px, 86vh, 940px);
    margin: 0;
    overflow: hidden;
    background: #080808;
    color: #ffffff;
    isolation: isolate;
}

.image-hero-home .image-hero-media {
    transform: translate3d(0, calc(var(--hero-parallax, 0px) * 0.72), 0);
    will-change: transform;
}

.image-hero-home .image-hero-media::before {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0.96) contrast(1.04);
    transform: scale(1);
    transform-origin: 62% 48%;
    animation: imageHeroDrift 26s ease-in-out infinite alternate;
}

.image-hero-home .image-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 118px 118px;
    opacity: 0.28;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.1), transparent 32%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.9) 0%, rgba(8, 8, 8, 0.78) 31%, rgba(8, 8, 8, 0.34) 60%, rgba(8, 8, 8, 0.2) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.18) 45%, rgba(5, 5, 5, 0.84));
}

.image-hero-home .image-hero-content {
    width: min(1180px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(130px, 16vh, 190px);
    padding-bottom: clamp(120px, 17vh, 180px);
}

.image-hero-home .image-hero-content .eyebrow,
.featured-projects .eyebrow {
    color: #d6b47e;
}

.image-hero-home .image-hero-content h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(46px, 5.4vw, 82px);
    line-height: 0.98;
    font-weight: 500;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.75;
}

.image-hero-home .image-hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.image-hero-home .image-hero-content > *:nth-child(2) {
    animation-delay: 0.14s;
}

.image-hero-home .image-hero-content > *:nth-child(3) {
    animation-delay: 0.26s;
}

.image-hero-home .image-hero-content > *:nth-child(4) {
    animation-delay: 0.38s;
}

.hero-info-card {
    position: absolute;
    z-index: 3;
    min-width: 162px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.46);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(18px);
    animation: premiumFadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-info-card strong,
.hero-info-card span {
    display: block;
}

.hero-info-card strong {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 500;
}

.hero-info-card span {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-info-card-experience {
    right: max(36px, calc((100vw - 1180px) / 2));
    bottom: 31%;
    animation-delay: 0.52s;
}

.hero-info-card-region {
    right: max(170px, calc((100vw - 1180px) / 2 + 150px));
    bottom: 18%;
    animation-delay: 0.62s;
}

.hero-info-card-cost {
    right: max(34px, calc((100vw - 1180px) / 2 + 24px));
    bottom: 9%;
    animation-delay: 0.72s;
}

.image-hero-home .hero-progress {
    color: #ffffff;
}

.image-hero-home .hero-progress i {
    background: rgba(255, 255, 255, 0.58);
}

.btn {
    transition:
        transform 180ms ease,
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

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

.home-service-strip {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 max(24px, calc((100vw - 1220px) / 2));
    background: #111315;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.home-service-strip article {
    min-height: 142px;
    padding: 28px;
    border-right-color: rgba(255, 255, 255, 0.09);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.home-service-strip article:hover {
    z-index: 1;
    background: #181b1e;
    border-color: rgba(214, 180, 126, 0.28);
    transform: translateY(-6px);
}

.home-service-strip h2 {
    color: #ffffff;
}

.home-service-strip p {
    color: rgba(255, 255, 255, 0.62);
}

.service-symbol {
    border-color: rgba(214, 180, 126, 0.38);
    color: #d6b47e;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.home-service-strip article:hover .service-symbol {
    transform: translateY(-2px) rotate(-3deg);
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.08);
}

.featured-projects {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(76px, 8vw, 116px) 0;
    background: #0d0e10;
    color: #ffffff;
}

.featured-projects > .featured-projects-intro,
.featured-projects > .featured-project-grid,
.featured-projects > .featured-projects-action {
    width: min(1220px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}

.featured-projects-intro {
    margin-bottom: 32px;
}

.featured-projects h2,
.featured-projects h3 {
    color: #ffffff;
}

.featured-projects-intro > p {
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.75;
}

.featured-project-grid {
    gap: 22px;
}

.featured-project-card {
    min-height: clamp(330px, 31vw, 420px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #151719;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.26);
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.featured-project-card::after {
    opacity: 0.78;
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 18%, rgba(6, 6, 6, 0.78) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.54), transparent 64%);
    transition: opacity 260ms ease;
}

.featured-project-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    box-shadow: 0 32px 86px rgba(0, 0, 0, 0.38);
}

.featured-project-card:hover::after {
    opacity: 0.95;
}

.featured-project-card img {
    transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.featured-project-card:hover img {
    filter: saturate(1.03) contrast(1.05);
    transform: scale(1.07);
}

.featured-project-card .image-card-copy {
    inset: auto 24px 24px 24px;
    opacity: 0.9;
    transform: translateY(10px);
    transition: opacity 260ms ease, transform 260ms ease;
}

.featured-project-card:hover .image-card-copy {
    opacity: 1;
    transform: translateY(0);
}

.featured-project-card .image-card-copy span {
    color: #d6b47e;
}

.featured-project-card .image-card-copy i {
    display: block;
    width: 34px;
    height: 1px;
    margin-top: 18px;
    background: #ffffff;
    transform-origin: left center;
    transition: transform 220ms ease, background 220ms ease;
}

.featured-project-card .image-card-copy i::after {
    display: block;
    width: 8px;
    height: 8px;
    margin-left: auto;
    content: "";
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    color: #ffffff;
    transform: translate(1px, -4px) rotate(45deg);
}

.featured-project-card:hover .image-card-copy i {
    background: #d6b47e;
    transform: scaleX(1.35);
}

.featured-projects-action {
    margin-top: 34px;
}

.home-services {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(78px, 8vw, 118px) max(24px, calc((100vw - 1180px) / 2));
    background: #f7f8f8;
}

.home-services .section-copy h2 {
    color: #111315;
}

.home-services .section-copy p:not(.eyebrow) {
    color: #5f6468;
    line-height: 1.78;
}

.home-services .feature-list article {
    background: #ffffff;
    border: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: 0 18px 48px rgba(17, 19, 21, 0.06);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-services .feature-list article:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 26px 66px rgba(17, 19, 21, 0.1);
}

.home-cta {
    margin-top: clamp(64px, 7vw, 96px);
    margin-bottom: clamp(54px, 6vw, 78px);
    background:
        linear-gradient(135deg, rgba(14, 15, 17, 0.98), rgba(31, 34, 36, 0.98)),
        linear-gradient(90deg, rgba(214, 180, 126, 0.18), transparent);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.reveal {
    transform: translateY(24px);
    transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
    transform: translateY(0);
}

@keyframes imageHeroDrift {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.05) translate3d(1.2%, 0.5%, 0);
    }
}

@keyframes premiumFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .image-hero-home {
        min-height: 780px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 36px, 680px);
        padding-top: 118px;
        padding-bottom: 190px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 620px;
        font-size: clamp(42px, 8.6vw, 68px);
    }

    .hero-info-card-experience,
    .hero-info-card-region,
    .hero-info-card-cost {
        right: auto;
        bottom: 72px;
    }

    .hero-info-card-experience {
        left: 24px;
    }

    .hero-info-card-region {
        left: calc(24px + 176px);
    }

    .hero-info-card-cost {
        left: calc(24px + 352px);
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 720px;
    }

    .image-hero-home .image-hero-media::before {
        background-position: 58% center;
        animation-duration: 32s;
    }

    .image-hero-home .image-hero-media::after {
        opacity: 0.16;
        background-size: 86px 86px;
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 560px);
        padding-top: 108px;
        padding-bottom: 154px;
    }

    .image-hero-home .image-hero-content h1 {
        font-size: clamp(36px, 10.8vw, 52px);
        line-height: 1.03;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        font-size: 16px;
        line-height: 1.65;
    }

    .image-hero-home .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .image-hero-home .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-info-card {
        display: none;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .home-service-strip article {
        min-height: auto;
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .featured-projects {
        padding: 58px 0;
    }

    .featured-projects > .featured-projects-intro,
    .featured-projects > .featured-project-grid,
    .featured-projects > .featured-projects-action {
        width: min(100% - 32px, 560px);
    }

    .featured-projects-intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-card {
        min-height: 360px;
    }

    .home-services {
        padding: 58px 16px;
    }

    .home-cta {
        margin-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-hero-home .image-hero-media::before,
    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        animation: none;
    }

    .image-hero-home .image-hero-content > *,
    .hero-info-card {
        opacity: 1;
        transform: none;
    }

    .reveal,
    .featured-project-card img,
    .btn,
    .home-service-strip article,
    .home-services .feature-list article {
        transition: none;
    }
}

/* Leistungen final override - keep after homepage rules */
html,
body {
    overflow-y: auto;
    scrollbar-width: auto;
}

.leistungen-hero {
    margin-top: clamp(18px, 3vw, 34px);
    padding: clamp(40px, 6vw, 68px);
    background:
        linear-gradient(90deg, rgba(14, 14, 14, 0.94), rgba(14, 14, 14, 0.78) 54%, rgba(14, 14, 14, 0.44)),
        linear-gradient(135deg, #111111, #2b2d2f 58%, #e9ecef);
    box-shadow: 0 22px 64px rgba(20, 20, 20, 0.14);
}

.leistungen-hero::after {
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 108px 108px;
    opacity: 0.42;
}

.leistungen-hero .eyebrow,
.leistungen-cta .eyebrow {
    color: #d0af7e;
}

.leistungen-overview {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(34px, 4.5vw, 54px) 0 clamp(36px, 5vw, 58px);
}

.leistung-card {
    grid-column: span 2;
    min-height: 220px;
    height: auto;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.09);
    box-shadow: 0 14px 36px rgba(20, 20, 20, 0.045);
}

.leistung-card:nth-child(4),
.leistung-card:nth-child(5) {
    grid-column: span 3;
}

.leistung-card span,
.leistung-detail-row span {
    color: var(--charcoal);
    background: #f4f5f5;
    border-color: rgba(20, 20, 20, 0.1);
}

.leistung-card:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 22px 54px rgba(20, 20, 20, 0.1);
}

.leistung-card:hover span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistungen-detail {
    padding: clamp(42px, 5.5vw, 66px) 0;
}

.leistungen-detail-head {
    margin-bottom: 22px;
}

.leistungen-detail-head p:not(.eyebrow),
.leistung-detail-row p,
.leistungen-timeline p {
    color: #686c70;
}

.leistung-detail-row {
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(24px, 3.5vw, 36px) 0;
}

.leistung-detail-row li {
    background: #f6f7f7;
    border-color: rgba(20, 20, 20, 0.07);
}

.leistung-detail-row li::before {
    border-color: var(--charcoal);
    opacity: 0.85;
}

.leistungen-process {
    gap: clamp(26px, 4vw, 58px);
    padding: clamp(40px, 5vw, 62px) 0;
    border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.leistungen-timeline li {
    padding-bottom: 24px;
}

.leistungen-timeline li::before {
    background: rgba(20, 20, 20, 0.18);
}

.leistungen-cta {
    margin-top: 8px;
    margin-bottom: clamp(54px, 6vw, 82px);
    overflow: visible;
    background: linear-gradient(135deg, #141414, #242628 68%, #181818);
    box-shadow: 0 24px 70px rgba(20, 20, 20, 0.16);
}

.leistungen-cta::after {
    position: absolute;
    inset: 20px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.leistungen-cta > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 1120px) {
    .leistungen-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leistung-card,
    .leistung-card:nth-child(4),
    .leistung-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .leistungen-hero {
        padding: 28px 22px;
    }

    .leistungen-overview {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .leistung-card {
        min-height: auto;
        padding: 24px;
    }

    .leistungen-detail,
    .leistungen-process {
        padding: 36px 0;
    }

    .leistung-detail-row {
        gap: 18px;
        padding: 26px 0;
    }

    .leistungen-cta {
        overflow: hidden;
        margin-bottom: 54px;
    }

    .leistungen-cta::after {
        inset: 14px;
    }
}

/* Projekte page final override after all legacy page rules */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.portfolio-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.24) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.portfolio-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.portfolio-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.portfolio-featured,
.portfolio-gallery-section {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.portfolio-featured {
    padding-top: clamp(78px, 8vw, 122px);
    padding-bottom: clamp(78px, 8vw, 116px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.portfolio-gallery-section {
    padding-top: clamp(78px, 8vw, 118px);
    padding-bottom: clamp(84px, 9vw, 132px);
    background: #0d0e10;
    color: #ffffff;
}

.portfolio-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 4vw, 56px);
}

.portfolio-section-head h2 {
    max-width: 720px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.portfolio-section-head p:not(.eyebrow) {
    color: #62676c;
    line-height: 1.78;
}

.portfolio-gallery-section .portfolio-section-head h2 {
    color: #ffffff;
}

.portfolio-gallery-section .portfolio-section-head p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.66);
}

.portfolio-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-featured-card {
    position: relative;
    min-height: clamp(420px, 38vw, 560px);
    overflow: hidden;
    border: 1px solid rgba(17, 19, 21, 0.1);
    background: #111315;
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(17, 19, 21, 0.12);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease;
}

.portfolio-featured-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(6, 6, 6, 0.02) 20%, rgba(6, 6, 6, 0.82) 100%),
        linear-gradient(90deg, rgba(6, 6, 6, 0.36), transparent 68%);
    pointer-events: none;
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 280ms ease;
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.04) contrast(1.05);
    transform: scale(1.07);
}

.portfolio-featured-card > div {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    left: 28px;
}

.portfolio-featured-card span,
.portfolio-gallery-card span {
    display: block;
    margin-bottom: 12px;
    color: #d6b47e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.portfolio-featured-card h2 {
    max-width: 420px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 48px);
    font-weight: 500;
    line-height: 1.06;
}

.portfolio-featured-card p {
    max-width: 410px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.portfolio-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.portfolio-filter {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font: inherit;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    border-color: rgba(214, 180, 126, 0.72);
    background: rgba(214, 180, 126, 0.11);
    color: #ffffff;
    transform: translateY(-2px);
}

.portfolio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.portfolio-gallery-card {
    position: relative;
    min-height: clamp(260px, 24vw, 360px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: #151719;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease;
}

.portfolio-gallery-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, transparent 24%, rgba(5, 5, 5, 0.82) 100%),
        linear-gradient(90deg, rgba(5, 5, 5, 0.36), transparent 65%);
    pointer-events: none;
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.5);
    transform: translateY(-5px);
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong {
    position: absolute;
    z-index: 2;
    right: 22px;
    left: 22px;
}

.portfolio-gallery-card span {
    bottom: 60px;
}

.portfolio-gallery-card strong {
    bottom: 24px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.1;
}

.portfolio-cta {
    margin-top: clamp(70px, 8vw, 110px);
    margin-bottom: clamp(58px, 7vw, 86px);
    background: linear-gradient(135deg, #111315, #24272a 72%, #151515);
}

.has-lightbox {
    overflow: hidden;
}

.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 5, 5, 0.86);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.portfolio-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.portfolio-lightbox figure {
    width: min(1120px, 100%);
    margin: 0;
}

.portfolio-lightbox img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #111315;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}

.portfolio-lightbox figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portfolio-lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.portfolio-lightbox-close::before,
.portfolio-lightbox-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    content: "";
    background: #ffffff;
}

.portfolio-lightbox-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.portfolio-lightbox-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 460px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .portfolio-section-head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 680px;
    }

    .portfolio-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .portfolio-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .portfolio-hero .hero-actions,
    .portfolio-hero .hero-actions .btn {
        width: 100%;
    }

    .portfolio-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-section-head h2 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .portfolio-featured-card {
        min-height: 410px;
    }

    .portfolio-featured-card > div {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-gallery-card {
        min-height: 330px;
    }

    .portfolio-filter {
        flex: 1 1 auto;
        min-width: 132px;
    }
}

/* Kontakt page final override after legacy contact rules */
.contact-hero.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.contact-hero .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.25) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.contact-hero .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.contact-hero .image-hero-content h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.contact-hero .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.contact-cards,
.contact-inquiry {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-inline: max(24px, calc((100vw - 1220px) / 2));
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: clamp(58px, 6vw, 86px);
    padding-bottom: clamp(58px, 6vw, 86px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
}

.contact-cards article {
    min-height: 260px;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid rgba(17, 19, 21, 0.12);
    border-right: 0;
    background: rgba(255, 255, 255, 0.62);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.contact-cards article:last-child {
    border-right: 1px solid rgba(17, 19, 21, 0.12);
}

.contact-cards article:hover {
    z-index: 1;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.contact-cards span,
.premium-contact-form label span {
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-cards span {
    display: block;
    margin-bottom: clamp(38px, 5vw, 70px);
}

.contact-cards h2 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(28px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.05;
}

.contact-cards p {
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.contact-cards a {
    display: inline-flex;
    margin-top: 24px;
    color: #111315;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.contact-cards a:hover {
    color: #b9935e;
    transform: translateX(4px);
}

.contact-inquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(42px, 7vw, 104px);
    align-items: start;
    padding-top: clamp(82px, 8vw, 124px);
    padding-bottom: clamp(86px, 9vw, 136px);
    background: #0d0e10;
    color: #ffffff;
}

.contact-inquiry-copy {
    position: sticky;
    top: 110px;
}

.contact-inquiry-copy h2 {
    max-width: 640px;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 500;
    line-height: 1.02;
}

.contact-inquiry-copy p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.82;
}

.contact-inquiry-note {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-inquiry-note strong,
.contact-inquiry-note span {
    display: block;
}

.contact-inquiry-note strong {
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
}

.contact-inquiry-note span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.6;
}

.premium-contact-form {
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.premium-contact-form label {
    display: grid;
    gap: 9px;
}

.premium-contact-form > label {
    margin-top: 18px;
}

.premium-contact-form input,
.premium-contact-form select,
.premium-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    line-height: 1.5;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.premium-contact-form input,
.premium-contact-form select {
    min-height: 54px;
    padding: 0 16px;
}

.premium-contact-form textarea {
    min-height: 170px;
    padding: 16px;
    resize: vertical;
}

.premium-contact-form select option {
    color: #111315;
}

.premium-contact-form input::placeholder,
.premium-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.premium-contact-form input:focus,
.premium-contact-form select:focus,
.premium-contact-form textarea:focus {
    border-color: rgba(214, 180, 126, 0.78);
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 0 0 3px rgba(214, 180, 126, 0.1);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 24px;
}

.form-submit-row p {
    max-width: 340px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1020px) {
    .contact-cards,
    .contact-inquiry {
        grid-template-columns: 1fr;
    }

    .contact-cards article,
    .contact-cards article:last-child {
        min-height: auto;
        border-right: 1px solid rgba(17, 19, 21, 0.12);
        border-bottom: 0;
    }

    .contact-cards article:last-child {
        border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    }

    .contact-inquiry-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .contact-hero.image-hero-subpage {
        min-height: 680px;
    }

    .contact-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .contact-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .contact-hero .hero-actions,
    .contact-hero .hero-actions .btn {
        width: 100%;
    }

    .contact-hero .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-cards,
    .contact-inquiry {
        padding-inline: 16px;
    }

    .contact-cards {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .contact-cards article,
    .contact-cards article:last-child {
        padding: 26px 0;
        border-right: 0;
        border-left: 0;
    }

    .contact-cards span {
        margin-bottom: 34px;
    }

    .contact-inquiry {
        padding-top: 62px;
        padding-bottom: 74px;
    }

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

    .premium-contact-form {
        padding: 22px;
    }

    .form-submit-row {
        display: grid;
    }

    .form-submit-row .btn {
        width: 100%;
    }
}

/* Final cross-page consistency after all page-specific rules */
html,
body {
    overflow-y: auto;
    overflow-x: clip;
    scrollbar-width: auto;
}

.image-hero-subpage {
    min-height: clamp(560px, 72vh, 760px);
    margin-top: 0;
    background: #080808;
}

.image-hero-subpage .image-hero-overlay {
    background:
        radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.12), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.86) 0%, rgba(8, 8, 8, 0.68) 35%, rgba(8, 8, 8, 0.25) 72%, rgba(8, 8, 8, 0.16) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.72));
}

.image-hero-subpage .image-hero-content {
    width: min(1140px, calc(100% - 56px));
    max-width: none;
    padding-top: clamp(128px, 15vh, 180px);
    padding-bottom: clamp(90px, 12vh, 138px);
}

.image-hero-subpage .image-hero-content h1 {
    max-width: 800px;
    color: #ffffff;
    font-size: clamp(44px, 5.3vw, 82px);
    line-height: 1.01;
}

.image-hero-subpage .image-hero-content p:not(.eyebrow) {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.78;
}

.image-hero-subpage .hero-actions {
    margin-top: 34px;
}

.btn,
.header-cta,
.whatsapp-float,
.primary-nav a {
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-footer {
    margin-top: 0;
    padding-top: clamp(54px, 6vw, 82px);
    padding-bottom: clamp(34px, 4vw, 48px);
}

.whatsapp-float {
    z-index: 90;
}

@media (max-width: 680px) {
    .image-hero-subpage {
        min-height: 680px;
    }

    .image-hero-subpage .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 96px;
    }

    .image-hero-subpage .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.04;
    }

    .image-hero-subpage .hero-actions,
    .image-hero-subpage .hero-actions .btn {
        width: 100%;
    }

    .image-hero-subpage .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .site-footer {
        padding-bottom: 108px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
    }
}

/* Leistungen lower-page refinement: starts at "Leistungen im Detail" */
.leistungen-detail {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(42px, 5vw, 68px) 0 clamp(34px, 4.5vw, 58px) !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-detail-head {
    display: grid !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr) !important;
    gap: clamp(22px, 4vw, 60px) !important;
    align-items: end !important;
    margin-bottom: clamp(24px, 3.5vw, 38px) !important;
}

.leistungen-detail-head h2 {
    max-width: 760px;
    margin: 0;
    color: var(--charcoal);
}

.leistungen-detail-head p:not(.eyebrow) {
    max-width: 520px;
    margin: 0;
    color: #62676b !important;
    line-height: 1.75;
}

.leistungen-detail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.leistung-detail-card {
    position: relative;
    display: flex;
    grid-column: span 3;
    min-height: 340px;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 248, 0.94)), #ffffff;
    border: 1px solid rgba(20, 20, 20, 0.09);
    box-shadow: 0 22px 70px rgba(20, 20, 20, 0.06);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

.leistung-detail-card:first-child {
    grid-column: span 6;
    min-height: 310px;
}

.leistung-detail-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--bronze), rgba(214, 180, 126, 0.12));
    transform: scaleX(0.18);
    transform-origin: left;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leistung-detail-card::after {
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    content: "";
    background: radial-gradient(circle, rgba(214, 180, 126, 0.13), transparent 68%);
    pointer-events: none;
}

.leistung-detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(20, 20, 20, 0.18);
    box-shadow: 0 30px 88px rgba(20, 20, 20, 0.11);
}

.leistung-detail-card:hover::before {
    transform: scaleX(1);
}

.leistung-detail-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.leistung-detail-card span {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--charcoal);
    background: #f3f4f4;
    border: 1px solid rgba(20, 20, 20, 0.1);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    transition: color 260ms ease, background 260ms ease, border-color 260ms ease;
}

.leistung-detail-card:hover span {
    color: var(--white);
    background: var(--charcoal);
    border-color: var(--charcoal);
}

.leistung-detail-card h3 {
    max-width: 560px;
    margin: 0;
    color: var(--charcoal);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.06;
}

.leistung-detail-card p {
    max-width: 690px;
    margin: 0 0 24px;
    color: #62676b !important;
    line-height: 1.72;
}

.leistung-detail-card ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    margin: auto 0 0;
    list-style: none;
}

.leistung-detail-card li {
    position: relative;
    padding: 13px 14px 13px 36px;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 20, 20, 0.08);
    font-size: 14px;
    line-height: 1.45;
}

.leistung-detail-card li::before {
    position: absolute;
    top: 18px;
    left: 16px;
    width: 8px;
    height: 8px;
    content: "";
    border-top: 1px solid var(--bronze);
    border-right: 1px solid var(--bronze);
    transform: rotate(45deg);
}

.leistungen-process {
    width: min(var(--container), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 5vw, 62px) 0 !important;
    border-top: 1px solid rgba(20, 20, 20, 0.08) !important;
}

.leistungen-timeline {
    gap: 12px !important;
}

.leistungen-timeline li {
    padding: 22px 24px 22px 0 !important;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.leistungen-timeline li::before {
    display: none !important;
}

.leistungen-timeline span {
    color: var(--white) !important;
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
}

.leistungen-cta {
    width: min(var(--container), calc(100% - 36px));
    margin: clamp(8px, 2vw, 18px) auto clamp(44px, 5vw, 70px) !important;
    padding: clamp(30px, 4.5vw, 52px) !important;
}

@media (max-width: 980px) {
    .leistungen-detail-head,
    .leistungen-process,
    .leistungen-cta {
        grid-template-columns: 1fr !important;
    }

    .leistungen-detail-grid {
        grid-template-columns: 1fr;
    }

    .leistung-detail-card,
    .leistung-detail-card:first-child {
        grid-column: auto;
        min-height: auto;
    }

    .leistung-detail-card ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .leistungen-detail,
    .leistungen-process,
    .leistungen-cta {
        width: min(var(--container), calc(100% - 32px));
    }

    .leistungen-detail {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .leistungen-detail-head {
        gap: 16px !important;
        margin-bottom: 20px !important;
    }

    .leistung-detail-card {
        padding: 22px;
    }

    .leistung-detail-card-head {
        display: grid;
        gap: 16px;
        margin-bottom: 18px;
    }

    .leistung-detail-card h3 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .leistungen-timeline li {
        grid-template-columns: 52px 1fr !important;
        column-gap: 14px !important;
        padding-right: 0 !important;
    }
}

/* Leistungen premium detail system */
.leistungen-detail {
    background:
        linear-gradient(180deg, rgba(246, 247, 247, 0), rgba(246, 247, 247, 0.66) 48%, rgba(246, 247, 247, 0));
    padding-top: clamp(46px, 5.2vw, 76px) !important;
}

.leistungen-detail-head {
    padding-bottom: clamp(10px, 1.8vw, 22px);
}

.leistungen-detail-head .eyebrow {
    color: var(--bronze);
}

.leistungen-detail-grid {
    gap: clamp(16px, 2vw, 24px);
}

.leistung-detail-card {
    isolation: isolate;
    min-height: 370px;
    padding: clamp(26px, 3.2vw, 40px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 248, 248, 0.9)),
        repeating-linear-gradient(90deg, rgba(17, 19, 21, 0.03) 0 1px, transparent 1px 84px);
    border-color: rgba(17, 19, 21, 0.1);
    box-shadow: 0 18px 48px rgba(17, 19, 21, 0.055);
}

.leistung-detail-card:first-child {
    min-height: 330px;
}

.leistung-detail-card::before {
    z-index: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(214, 180, 126, 0.95), rgba(214, 180, 126, 0.12), transparent);
    transform: scaleX(0.32);
}

.leistung-detail-card::after {
    right: -120px;
    bottom: -130px;
    width: 300px;
    height: 300px;
    background:
        radial-gradient(circle, rgba(214, 180, 126, 0.11), transparent 66%),
        linear-gradient(45deg, rgba(17, 19, 21, 0.04), transparent);
    opacity: 0.8;
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease;
}

.leistung-detail-card:hover {
    transform: translateY(-7px);
    border-color: rgba(17, 19, 21, 0.18);
    box-shadow: 0 30px 88px rgba(17, 19, 21, 0.11);
}

.leistung-detail-card.reveal {
    transition-delay: var(--reveal-delay, 0ms);
}

.leistung-detail-card:hover::after {
    opacity: 1;
    transform: translate3d(-18px, -16px, 0);
}

.leistung-detail-card-head {
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

.leistung-detail-card-head > div:first-child {
    display: grid;
    gap: 18px;
}

.leistung-detail-icon {
    display: inline-grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--charcoal);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(17, 19, 21, 0.1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), color 260ms ease, border-color 260ms ease;
}

.leistung-detail-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.leistung-detail-card:hover .leistung-detail-icon {
    color: var(--bronze);
    border-color: rgba(214, 180, 126, 0.45);
    transform: translateY(-3px);
}

.leistung-detail-card span {
    position: relative;
    z-index: 1;
}

.leistung-detail-card h3 {
    letter-spacing: 0;
}

.leistung-detail-card p,
.leistung-detail-card ul {
    position: relative;
    z-index: 1;
}

.leistung-detail-card ul {
    gap: 9px;
}

.leistung-detail-card li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(17, 19, 21, 0.075);
    transition: transform 220ms ease var(--item-delay, 0ms), background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.leistung-detail-card li::before {
    display: none;
}

.leistung-detail-card li:hover {
    color: #111315;
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(214, 180, 126, 0.32);
    transform: translateX(4px);
}

.leistung-bullet-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--bronze);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 220ms ease;
}

.leistung-detail-card li:hover .leistung-bullet-icon {
    transform: translateX(3px);
}

.leistung-detail-card li span {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    color: inherit;
    background: transparent;
    border: 0;
    place-items: initial;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: 0;
}

.leistung-detail-card ul,
.leistung-detail-card:first-child ul {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
    gap: 12px !important;
    align-items: stretch;
}

.leistung-detail-card li {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    align-items: flex-start;
    overflow: visible;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.leistung-detail-card li span {
    min-width: 0;
    line-height: 1.45;
}

.leistung-bullet-icon {
    margin-top: 2px;
}

.leistungen-process {
    display: grid;
    grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 62px);
    align-items: start;
    padding-top: clamp(34px, 4.5vw, 58px) !important;
    padding-bottom: clamp(34px, 4.5vw, 58px) !important;
}

.leistungen-process-head {
    position: sticky;
    top: 104px;
    padding: 26px 0;
}

.leistungen-process-head h2 {
    margin: 0;
    color: var(--charcoal);
}

.leistungen-timeline {
    display: grid;
    gap: 14px !important;
}

.leistungen-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 56px 36px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding: 22px 24px !important;
    background: #ffffff;
    border: 1px solid rgba(17, 19, 21, 0.09);
    box-shadow: 0 18px 46px rgba(17, 19, 21, 0.055);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 280ms ease, box-shadow 280ms ease;
}

.leistungen-timeline li:hover,
.leistungen-timeline li.is-active {
    transform: translateY(-4px);
    border-color: rgba(17, 19, 21, 0.18);
    box-shadow: 0 26px 72px rgba(17, 19, 21, 0.1);
}

.leistungen-timeline span {
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    grid-row: 1 / span 2 !important;
    color: var(--charcoal) !important;
    background: #f3f4f4 !important;
    border-color: rgba(17, 19, 21, 0.1) !important;
}

.leistungen-timeline li:hover span,
.leistungen-timeline li.is-active span {
    color: var(--white) !important;
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
}

.leistungen-step-mark {
    display: inline-grid;
    width: 36px;
    height: 36px;
    margin-top: 5px;
    place-items: center;
    color: var(--bronze);
    border: 1px solid rgba(214, 180, 126, 0.38);
}

.leistungen-step-mark svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.leistungen-timeline strong,
.leistungen-timeline p {
    grid-column: 3;
}

.leistungen-timeline strong {
    margin-top: 2px;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.16;
}

.leistungen-timeline p {
    margin-top: 8px;
    color: #62676b !important;
    line-height: 1.68;
}

@media (max-width: 980px) {
    .leistungen-process {
        grid-template-columns: 1fr;
    }

    .leistungen-process-head {
        position: static;
        padding: 0;
    }
}

@media (max-width: 680px) {
    .leistungen-detail {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .leistungen-detail-grid {
        gap: 14px;
    }

    .leistung-detail-card {
        min-height: auto;
        padding: 22px;
    }

    .leistung-detail-card-head {
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .leistung-detail-icon {
        width: 50px;
        height: 50px;
    }

    .leistung-detail-icon svg {
        width: 26px;
        height: 26px;
    }

    .leistung-detail-card p {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .leistung-detail-card li {
        min-height: auto;
        font-size: 15px;
    }

    .leistung-detail-card ul,
    .leistung-detail-card:first-child ul {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .leistung-detail-card li {
        min-height: 48px;
        padding: 12px 13px;
        overflow-wrap: break-word;
    }

    .leistungen-process {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .leistungen-timeline li {
        grid-template-columns: 46px 1fr !important;
        gap: 12px !important;
        padding: 18px !important;
    }

    .leistungen-step-mark {
        display: none;
    }

    .leistungen-timeline strong,
    .leistungen-timeline p {
        grid-column: 2;
    }
}

/* Projekte premium portfolio refinement - final project-only cascade */
.portfolio-hero.image-hero-subpage {
    min-height: clamp(590px, 76vh, 820px);
}

.portfolio-hero .image-hero-content {
    width: min(1180px, calc(100% - 64px));
}

.portfolio-hero .image-hero-content h1 {
    max-width: 820px;
    font-size: clamp(44px, 5.1vw, 78px);
    letter-spacing: 0;
}

.portfolio-hero .image-hero-content p:not(.eyebrow) {
    max-width: 660px;
}

.portfolio-featured {
    padding-top: clamp(64px, 7vw, 104px);
    padding-bottom: clamp(62px, 7vw, 96px);
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 74%, #ffffff 100%);
}

.portfolio-gallery-section {
    position: relative;
    overflow: hidden;
    padding-top: clamp(62px, 7vw, 98px);
    padding-bottom: clamp(72px, 8vw, 116px);
    background: radial-gradient(circle at 18% 0%, rgba(214, 180, 126, 0.08), transparent 30%), linear-gradient(180deg, #101214 0%, #0c0d0f 100%);
}

.portfolio-gallery-section::before {
    position: absolute;
    inset: 0;
    content: "";
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 112px 112px;
    opacity: 0.22;
    pointer-events: none;
}

.portfolio-gallery-section > * {
    position: relative;
    z-index: 1;
}

.portfolio-section-head {
    margin-bottom: clamp(30px, 4.5vw, 56px);
}

.portfolio-section-head h2 {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.03;
}

.portfolio-section-head p:not(.eyebrow) {
    max-width: 560px;
    font-size: 16px;
}

.portfolio-featured-grid {
    gap: clamp(18px, 2.4vw, 30px);
}

.portfolio-featured-card {
    min-height: clamp(380px, 34vw, 500px);
    background: #111315;
    border-color: rgba(17, 19, 21, 0.12);
    box-shadow: 0 22px 70px rgba(17, 19, 21, 0.1);
    transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.portfolio-featured-card::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.02) 22%, rgba(8, 9, 10, 0.74) 100%), linear-gradient(90deg, rgba(8, 9, 10, 0.56), rgba(8, 9, 10, 0.12) 62%, transparent);
}

.portfolio-featured-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 34px 90px rgba(17, 19, 21, 0.18);
}

.portfolio-featured-card img,
.portfolio-gallery-card img {
    filter: saturate(0.94) contrast(1.04) brightness(0.9);
}

.portfolio-featured-card:hover img,
.portfolio-gallery-card:hover img {
    filter: saturate(1.03) contrast(1.06) brightness(1);
    transform: scale(1.045);
}

.portfolio-featured-copy,
.portfolio-featured-card > div {
    right: clamp(22px, 2.6vw, 34px);
    bottom: clamp(22px, 2.6vw, 34px);
    left: clamp(22px, 2.6vw, 34px);
}

.portfolio-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.portfolio-card-meta span,
.portfolio-featured-card span {
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-card-meta em {
    color: rgba(255, 255, 255, 0.64);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.portfolio-featured-card h2 {
    max-width: 360px;
    font-size: clamp(25px, 2.35vw, 36px);
    line-height: 1.08;
}

.portfolio-featured-card p {
    max-width: 370px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
}

.portfolio-featured-card i {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.74);
    transform-origin: left;
    transition: width 260ms ease, background 260ms ease;
}

.portfolio-featured-card:hover i {
    width: 62px;
    background: var(--bronze-soft);
}

.portfolio-filter-bar {
    gap: 8px;
    margin-bottom: clamp(26px, 4vw, 44px);
}

.portfolio-filter {
    min-height: 42px;
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    color: #ffffff;
    background: rgba(214, 180, 126, 0.12);
    border-color: rgba(214, 180, 126, 0.56);
}

.portfolio-gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.portfolio-gallery-card {
    grid-column: span 3;
    min-height: clamp(250px, 22vw, 340px);
    background: #151719;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-gallery-card:nth-child(6n + 1),
.portfolio-gallery-card:nth-child(6n + 4) {
    grid-column: span 4;
}

.portfolio-gallery-card:nth-child(6n + 3) {
    grid-column: span 5;
}

.portfolio-gallery-card::after {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.02) 16%, rgba(8, 9, 10, 0.78) 100%), linear-gradient(90deg, rgba(8, 9, 10, 0.46), transparent 70%);
}

.portfolio-gallery-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
}

.portfolio-gallery-card span,
.portfolio-gallery-card strong,
.portfolio-gallery-card small {
    position: absolute;
    z-index: 2;
    right: 20px;
    left: 20px;
}

.portfolio-gallery-card span {
    bottom: 64px;
    margin: 0;
    color: var(--bronze-soft);
    font-size: 11px;
    letter-spacing: 0.14em;
}

.portfolio-gallery-card strong {
    bottom: 26px;
    max-width: calc(100% - 70px);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0;
}

.portfolio-gallery-card small {
    bottom: 27px;
    left: auto;
    width: 38px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
}

.portfolio-gallery-card.is-hidden {
    display: none;
}

.portfolio-lightbox {
    padding: 28px;
    background: rgba(6, 7, 8, 0.9);
    backdrop-filter: blur(18px);
}

.portfolio-lightbox figure {
    width: min(1060px, calc(100vw - 56px));
}

.portfolio-lightbox img {
    background: #111315;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.portfolio-lightbox figcaption {
    color: rgba(255, 255, 255, 0.82);
}

.portfolio-lightbox-close {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.portfolio-cta {
    margin-top: clamp(54px, 6vw, 88px);
}

@media (max-width: 1120px) {
    .portfolio-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .portfolio-featured-card {
        min-height: 420px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: span 3;
    }
}

@media (max-width: 860px) {
    .portfolio-featured-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-card {
        min-height: 380px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-gallery-card,
    .portfolio-gallery-card:nth-child(6n + 1),
    .portfolio-gallery-card:nth-child(6n + 3),
    .portfolio-gallery-card:nth-child(6n + 4) {
        grid-column: auto;
    }
}

@media (max-width: 620px) {
    .portfolio-hero.image-hero-subpage {
        min-height: 650px;
    }

    .portfolio-featured,
    .portfolio-gallery-section {
        padding-inline: 16px;
    }

    .portfolio-featured {
        padding-top: 50px;
        padding-bottom: 52px;
    }

    .portfolio-gallery-section {
        padding-top: 52px;
        padding-bottom: 70px;
    }

    .portfolio-featured-card {
        min-height: 360px;
    }

    .portfolio-featured-card h2 {
        font-size: clamp(24px, 8vw, 34px);
    }

    .portfolio-featured-card p {
        font-size: 14px;
    }

    .portfolio-filter {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 0 10px;
    }

    .portfolio-gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .portfolio-gallery-card {
        min-height: 310px;
    }

    .portfolio-gallery-card strong {
        max-width: calc(100% - 56px);
        font-size: 19px;
    }

    .portfolio-lightbox {
        padding: 18px;
    }

    .portfolio-lightbox figure {
        width: calc(100vw - 36px);
    }
}

/* Ueber uns premium refinement */
.about-hero.image-hero-subpage {
    min-height: clamp(590px, 74vh, 810px);
}

.about-hero .image-hero-media::before {
    animation: heroPhotoDrift 26s ease-in-out infinite alternate;
    transform: translate3d(0, var(--hero-parallax, 0), 0) scale(1.04);
}

.about-hero .image-hero-content {
    width: min(1120px, calc(100% - 64px));
    padding-top: clamp(126px, 14vh, 174px);
    padding-bottom: clamp(92px, 11vh, 132px);
}

.about-hero .image-hero-content h1 {
    max-width: 760px;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.03;
}

.about-hero .image-hero-content p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(16px, 1.25vw, 19px);
}

.about-founder {
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(46px, 7vw, 112px);
    padding-top: clamp(78px, 8vw, 126px);
    padding-bottom: clamp(78px, 8vw, 126px);
    background: #ffffff;
}

.about-portrait {
    position: relative;
    transform: translateY(-18px);
}

.about-portrait::before {
    position: absolute;
    inset: 24px -20px -20px 24px;
    content: "";
    border: 1px solid rgba(17, 19, 21, 0.1);
    pointer-events: none;
}

.about-portrait-media {
    min-height: clamp(460px, 47vw, 640px);
    box-shadow: 0 34px 90px rgba(17, 19, 21, 0.16);
}

.about-portrait-media::after {
    inset: 18px;
    border-color: rgba(255, 255, 255, 0.18);
}

.about-portrait-caption {
    position: relative;
    width: calc(100% - 42px);
    margin: -42px 0 0 auto;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: 0 22px 64px rgba(17, 19, 21, 0.1);
}

.about-portrait-caption h2 {
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1;
}

.about-portrait-caption p {
    color: #6a6f73;
    letter-spacing: 0.18em;
}

.about-founder-copy {
    max-width: 620px;
}

.about-founder-copy h2 {
    max-width: 600px;
    margin-bottom: 28px;
    font-size: clamp(38px, 4.5vw, 68px);
    line-height: 1.04;
}

.about-founder-copy p:not(.eyebrow) {
    max-width: 520px;
    color: #62676c;
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.86;
}

.about-founder-copy p + p {
    margin-top: 22px;
}

.about-founder-notes {
    gap: 10px;
    margin-top: 32px;
}

.about-founder-notes span {
    border-radius: 999px;
    background: rgba(247, 248, 248, 0.74);
    border-color: rgba(17, 19, 21, 0.12);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.about-founder-notes span:hover {
    color: #111315;
    background: rgba(214, 180, 126, 0.13);
    border-color: rgba(214, 180, 126, 0.44);
    transform: translateY(-2px);
}

.about-credibility {
    gap: 18px;
    padding-top: clamp(58px, 6vw, 86px);
    padding-bottom: clamp(58px, 6vw, 86px);
    background:
        radial-gradient(circle at 20% 0%, rgba(214, 180, 126, 0.08), transparent 32%),
        #101214;
}

.about-credibility article,
.about-credibility article:last-child {
    position: relative;
    min-height: 250px;
    padding: clamp(24px, 2.6vw, 34px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
    transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}

.about-credibility article:hover {
    transform: translateY(-6px) scale(1.01);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(214, 180, 126, 0.35);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
}

.about-credibility-icon {
    display: inline-grid;
    width: 54px;
    height: 54px;
    margin-bottom: 34px;
    place-items: center;
    color: var(--bronze-soft);
    border: 1px solid rgba(214, 180, 126, 0.35);
}

.about-credibility-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.about-credibility strong {
    font-size: clamp(26px, 2.6vw, 38px);
}

.about-credibility p {
    max-width: 260px;
    margin-top: 16px;
}

.about-values {
    padding-top: clamp(72px, 7vw, 112px);
    padding-bottom: clamp(72px, 7vw, 112px);
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
        #f7f8f8;
    background-size: 128px 128px, auto;
}

.about-values-head {
    margin-bottom: clamp(32px, 5vw, 68px);
}

.about-values-grid {
    gap: 18px;
    border: 0;
}

.about-values-grid article {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: 0 18px 56px rgba(17, 19, 21, 0.055);
}

.about-values-grid span {
    position: absolute;
    top: 18px;
    right: 22px;
    margin: 0;
    color: rgba(17, 19, 21, 0.08);
    font-family: var(--font-display);
    font-size: clamp(74px, 7vw, 120px);
    font-weight: 500;
    line-height: 0.8;
    letter-spacing: 0;
}

.about-values-grid h3 {
    position: relative;
    z-index: 1;
    margin-top: clamp(72px, 7vw, 110px);
}

.about-values-grid p {
    position: relative;
    z-index: 1;
    max-width: 280px;
}

.about-values-grid article:hover {
    border-color: rgba(214, 180, 126, 0.34);
    transform: translateY(-5px);
}

.about-cta {
    display: grid;
    justify-items: center;
    width: min(1180px, calc(100% - 36px));
    margin: clamp(58px, 6vw, 88px) auto clamp(54px, 6vw, 82px);
    padding: clamp(46px, 6vw, 78px) clamp(24px, 5vw, 72px);
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(214, 180, 126, 0.13), transparent 36%),
        linear-gradient(135deg, #101214, #24272a 70%, #111315);
}

.about-cta h2 {
    max-width: 780px;
}

.about-cta p:not(.eyebrow) {
    max-width: 620px;
}

.about-cta-actions {
    margin-top: 30px;
}

.about-cta-actions .btn {
    min-height: 54px;
    padding-inline: 24px;
}

@media (max-width: 1060px) {
    .about-founder {
        grid-template-columns: 1fr;
    }

    .about-portrait {
        transform: none;
    }

    .about-founder-copy {
        max-width: 720px;
    }

    .about-credibility,
    .about-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .about-hero.image-hero-subpage {
        min-height: 650px;
    }

    .about-hero .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 108px;
        padding-bottom: 86px;
    }

    .about-hero .image-hero-content h1 {
        font-size: clamp(36px, 10vw, 52px);
    }

    .about-founder,
    .about-values {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .about-founder,
    .about-credibility,
    .about-values {
        padding-inline: 16px;
    }

    .about-portrait::before {
        inset: 14px -10px -10px 14px;
    }

    .about-portrait-media {
        min-height: 390px;
    }

    .about-portrait-caption {
        width: calc(100% - 20px);
        margin-top: -30px;
        padding: 22px;
    }

    .about-portrait-caption h2 {
        font-size: clamp(32px, 10vw, 46px);
    }

    .about-founder-copy h2,
    .about-values-head h2 {
        font-size: clamp(34px, 10vw, 50px);
    }

    .about-founder-copy p:not(.eyebrow) {
        max-width: none;
    }

    .about-credibility,
    .about-values-grid,
    .about-values-head {
        grid-template-columns: 1fr;
    }

    .about-credibility article,
    .about-credibility article:last-child {
        min-height: auto;
    }

    .about-values-grid article {
        min-height: 230px;
        padding: 26px;
    }

    .about-values-grid h3 {
        margin-top: 76px;
    }

    .about-cta {
        width: min(100% - 32px, 560px);
        padding: 34px 22px;
    }

    .about-cta-actions,
    .about-cta-actions .btn {
        width: 100%;
    }
}

/* Homepage refinement pass - final override after all page rules */
.image-hero-home {
    min-height: clamp(640px, 84vh, 900px);
}

.image-hero-home .image-hero-overlay {
    background:
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(90deg, rgba(3, 3, 3, 0.82) 0%, rgba(8, 8, 8, 0.66) 30%, rgba(8, 8, 8, 0.25) 61%, rgba(8, 8, 8, 0.14) 100%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.1) 46%, rgba(5, 5, 5, 0.72));
}

.image-hero-home .image-hero-content {
    width: min(1120px, calc(100% - 64px));
    padding-top: clamp(128px, 15vh, 176px);
    padding-bottom: clamp(112px, 15vh, 162px);
}

.image-hero-home .image-hero-content h1 {
    max-width: 720px;
    margin-top: 20px;
    font-size: clamp(44px, 5.1vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.image-hero-home .image-hero-content p:not(.eyebrow) {
    max-width: 510px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.image-hero-home .hero-actions {
    margin-top: 34px;
}

.hero-info-card {
    background: rgba(10, 10, 10, 0.38);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 260ms ease, background 260ms ease;
}

.hero-info-card:hover {
    border-color: rgba(214, 180, 126, 0.42);
    background: rgba(10, 10, 10, 0.52);
    transform: translateY(-4px);
}

.home-service-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0 max(32px, calc((100vw - 1240px) / 2));
    background: linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%);
    color: #111315;
    border-top: 1px solid rgba(17, 19, 21, 0.08);
    border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    box-shadow: none;
}

.home-service-strip article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 154px;
    padding: 34px 30px;
    border-right: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:first-child {
    border-left: 1px solid rgba(17, 19, 21, 0.08);
}

.home-service-strip article:hover {
    background: #ffffff;
    border-color: rgba(214, 180, 126, 0.36);
    box-shadow: 0 20px 46px rgba(17, 19, 21, 0.06);
}

.home-service-strip h2 {
    margin-bottom: 8px;
    color: #111315;
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-service-strip p {
    max-width: 210px;
    color: #686d72;
    font-size: 14px;
    line-height: 1.65;
}

.home-service-strip .service-symbol {
    width: 42px;
    height: 42px;
    border-color: rgba(17, 19, 21, 0.16);
    color: #b9935e;
}

.home-signature {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: clamp(42px, 7vw, 104px);
    width: 100%;
    margin: 0;
    padding: clamp(82px, 9vw, 132px) max(24px, calc((100vw - 1220px) / 2));
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px),
        linear-gradient(#f7f8f8, #f2f3f3);
    background-size: 128px 128px, auto;
}

.home-signature::before {
    position: absolute;
    top: 0;
    left: max(24px, calc((100vw - 1220px) / 2));
    right: max(24px, calc((100vw - 1220px) / 2));
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(17, 19, 21, 0.14), transparent);
}

.signature-copy,
.signature-steps {
    position: relative;
    z-index: 1;
}

.signature-copy {
    align-self: start;
}

.signature-copy h2 {
    max-width: 620px;
    margin-top: 18px;
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(42px, 5.8vw, 86px);
    font-weight: 500;
    line-height: 0.98;
}

.signature-copy p:not(.eyebrow) {
    max-width: 520px;
    margin-top: 28px;
    color: #5f6468;
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.82;
}

.signature-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(17, 19, 21, 0.12);
    border-left: 1px solid rgba(17, 19, 21, 0.12);
}

.signature-steps article {
    min-height: 220px;
    padding: clamp(26px, 3vw, 40px);
    border-right: 1px solid rgba(17, 19, 21, 0.12);
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
    background: rgba(255, 255, 255, 0.5);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 260ms ease, box-shadow 260ms ease;
}

.signature-steps article:hover {
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 60px rgba(17, 19, 21, 0.08);
    transform: translateY(-4px);
}

.signature-steps span {
    display: block;
    margin-bottom: clamp(36px, 5vw, 70px);
    color: #b9935e;
    font-size: 12px;
    letter-spacing: 0.16em;
}

.signature-steps h3 {
    color: #111315;
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 38px);
    font-weight: 500;
}

.signature-steps p {
    max-width: 280px;
    margin-top: 14px;
    color: #666b70;
    line-height: 1.7;
}

.featured-projects {
    padding-top: clamp(82px, 8vw, 118px);
}

.home-services {
    padding-top: clamp(82px, 8vw, 120px);
    padding-bottom: clamp(78px, 8vw, 116px);
}

.btn,
.featured-project-card,
.home-service-strip article,
.signature-steps article,
.home-services .feature-list article {
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 1020px) {
    .home-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px;
    }

    .home-service-strip article:nth-child(odd) {
        border-left: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        grid-template-columns: 1fr;
    }

    .signature-copy h2 {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .image-hero-home {
        min-height: 690px;
    }

    .image-hero-home .image-hero-overlay {
        background:
            linear-gradient(90deg, rgba(3, 3, 3, 0.84), rgba(8, 8, 8, 0.48)),
            linear-gradient(180deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.74));
    }

    .image-hero-home .image-hero-content {
        width: min(100% - 32px, 540px);
        padding-top: 104px;
        padding-bottom: 118px;
    }

    .image-hero-home .image-hero-content h1 {
        max-width: 420px;
        margin-top: 16px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.06;
    }

    .image-hero-home .image-hero-content p:not(.eyebrow) {
        max-width: 390px;
        margin-top: 20px;
    }

    .home-service-strip {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .home-service-strip article,
    .home-service-strip article:first-child,
    .home-service-strip article:nth-child(odd) {
        grid-template-columns: auto 1fr;
        min-height: auto;
        padding: 24px 4px;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(17, 19, 21, 0.08);
    }

    .home-signature {
        gap: 34px;
        padding: 62px 16px;
        background-size: 88px 88px, auto;
    }

    .signature-copy h2 {
        font-size: clamp(36px, 10vw, 52px);
        line-height: 1.03;
    }

    .signature-steps {
        grid-template-columns: 1fr;
    }

    .signature-steps article {
        min-height: auto;
        padding: 26px;
    }

    .signature-steps span {
        margin-bottom: 34px;
    }
}

/* HERO SLIDER */
.image-hero-home {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 6s ease forwards;
}

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

/* DARK OVERLAY */
.image-hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.4) 45%,
    rgba(0,0,0,.1) 80%
  );
  z-index: 1;
}

/* CONTENT ABOVE */
.image-hero-home .image-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.image-hero-home {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #000;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: zoomHero 6s ease forwards;
}

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

.image-hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.4) 50%,
    rgba(0,0,0,.1) 80%
  );
}

.image-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
/* ===== INDEX HERO + CARDS PREMIUM FIX ===== */

.image-hero-home .image-hero-content {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding-top: clamp(110px, 12vw, 170px) !important;
  max-width: none !important;
  text-align: left !important;
}

.image-hero-home .image-hero-content h1 {
  max-width: 760px !important;
  font-size: clamp(54px, 6.2vw, 96px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.04em !important;
  color: #fff !important;
  text-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.image-hero-home .image-hero-content > p:not(.eyebrow) {
  max-width: 560px !important;
  font-size: 19px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,.82) !important;
}

.image-hero-home::after {
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.58) 42%,
    rgba(0,0,0,.18) 76%
  ) !important;
}

/* restore project cards premium look */
.featured-projects {
  padding: clamp(90px, 9vw, 140px) 0 !important;
  background: #0d0e0f !important;
}

.featured-projects-intro,
.featured-project-grid,
.featured-projects-action {
  width: min(1180px, calc(100% - 48px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.featured-project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  margin-top: 46px !important;
}

.featured-project-card {
  position: relative !important;
  overflow: hidden !important;
  min-height: 460px !important;
  background: #111 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

.featured-project-card img {
  width: 100% !important;
  height: 100% !important;
  min-height: 460px !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 1 !important;
  filter: brightness(.82) contrast(1.05) !important;
  transition: transform .7s ease, filter .7s ease !important;
}

.featured-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,.82) 100%
  );
  z-index: 1;
}

.featured-project-card:hover img {
  transform: scale(1.06) !important;
  filter: brightness(.95) contrast(1.08) !important;
}

.image-card-copy {
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  bottom: 26px !important;
  z-index: 2 !important;
  color: #fff !important;
}

.image-card-copy span {
  display: block !important;
  color: #c49a5b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

.image-card-copy h3 {
  max-width: 90% !important;
  color: #fff !important;
  font-size: clamp(25px, 2vw, 34px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
}

/* mobile */
@media (max-width: 800px) {
  .featured-project-grid {
    grid-template-columns: 1fr !important;
  }

  .image-hero-home .image-hero-content h1 {
    font-size: clamp(42px, 12vw, 62px) !important;
  }

  .featured-project-card,
  .featured-project-card img {
    min-height: 380px !important;
  }
}
.home-trust-strip,
.home-project-preview,
.home-method,
.home-services-short {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.home-trust-strip article {
  padding: 34px 24px;
  border-right: 1px solid rgba(0,0,0,.1);
}

.home-trust-strip article:last-child { border-right: 0; }
.home-trust-strip strong { display:block; font-size:24px; margin-bottom:8px; }
.home-trust-strip span { color:#666; line-height:1.5; }

.home-project-preview,
.home-services-short {
  padding: clamp(80px, 8vw, 120px) 0;
}

.home-section-head {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 46px;
}

.home-section-head h2 {
  font-size: clamp(44px, 5vw, 76px);
  line-height: .96;
  margin: 0;
}

.home-section-head p:not(.eyebrow) {
  max-width: 560px;
  color: #5c6470;
  line-height: 1.7;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.home-project-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 28px 80px rgba(0,0,0,.12);
}

.home-project-card img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  display: block;
  filter: brightness(.78) contrast(1.05);
  transition: transform .75s ease, filter .75s ease;
}

.home-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.34) 48%, rgba(0,0,0,.88));
}

.home-project-card div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
}

.home-project-card span {
  color: #c49a5b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-project-card h3 {
  color: #fff;
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.05;
  margin: 12px 0;
}

.home-project-card p {
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  margin: 0;
}

.home-project-card:hover img {
  transform: scale(1.06);
  filter: brightness(.92) contrast(1.08);
}

.home-method {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  padding: clamp(80px, 8vw, 130px) 0;
  border-top: 1px solid rgba(0,0,0,.12);
}

.home-method h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
}

.home-method-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(0,0,0,.12);
}

.home-method-list article {
  padding: 38px;
  border-right: 1px solid rgba(0,0,0,.1);
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.home-method-list span,
.home-services-grid span {
  color: #b9894f;
  font-size: 13px;
  font-weight: 800;
}

.home-method-list h3,
.home-services-grid h3 {
  font-size: 26px;
  margin: 18px 0 10px;
}

.home-method-list p,
.home-services-grid p {
  color: #606873;
  line-height: 1.65;
}

.home-services-short {
  border-top: 1px solid rgba(0,0,0,.1);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,.12);
}

.home-services-grid article {
  background: #fff;
  padding: 34px 28px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.home-services-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,.08);
}

.home-final-cta {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .home-trust-strip,
  .home-project-grid,
  .home-method,
  .home-services-grid,
  .home-section-head {
    grid-template-columns: 1fr;
  }

  .home-trust-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.1);
  }

  .home-project-card,
  .home-project-card img {
    min-height: 380px;
  }

  .home-method-list {
    grid-template-columns: 1fr;
  }
}
/* FIX HOME PROJECT CARDS */
.home-project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.home-project-card {
  position: relative !important;
  height: 460px !important;
  min-height: 460px !important;
  overflow: hidden !important;
}

.home-project-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.home-project-card div {
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  bottom: 26px !important;
  z-index: 2 !important;
}

.home-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.85));
  z-index: 1;
}

@media (max-width: 900px) {
  .home-project-grid {
    grid-template-columns: 1fr !important;
  }
}
.leistungen-hero-fixed {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.services-image-grid .service-image-card img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.leistungen-detail-head-fixed {
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto 60px !important;
  display: grid !important;
  grid-template-columns: .85fr 1.15fr !important;
  gap: 80px !important;
  align-items: end !important;
}

.leistungen-detail-head-fixed h2 {
  max-width: 620px !important;
  margin: 0 !important;
  justify-self: start !important;
  font-size: clamp(44px, 5vw, 78px) !important;
  line-height: .96 !important;
}

.leistungen-detail-head-fixed > div p:not(.eyebrow) {
  max-width: 520px !important;
  line-height: 1.7 !important;
}

.leistung-detail-card ul {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 26px 0 0 !important;
  list-style: none !important;
}

.leistung-detail-card ul li {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  gap: 12px !important;
  padding: 15px 16px !important;
  white-space: normal !important;
  overflow: visible !important;
  line-height: 1.45 !important;
}

.leistung-detail-card ul li span:last-child {
  overflow-wrap: break-word !important;
}

@media (max-width: 900px) {
  .leistungen-detail-head-fixed {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
/* === FORCE SERVICE CARDS TO ALWAYS SHOW IMAGE === */

.service-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* IMAGE always visible */
.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  opacity: 1 !important;
  filter: brightness(0.75); /* nice dark effect but still visible */
  transition: transform .6s ease, filter .4s ease;
}

/* REMOVE the heavy dark overlay that hides everything */
.service-image-card::before {
  display: none !important;
}

/* TEXT overlay */
.service-image-card > div {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #fff;
}

/* number badge */
.service-image-card span {
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

/* title */
.service-image-card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

/* text */
.service-image-card p {
  font-size: 14px;
  opacity: 0.85;
}

/* hover = subtle zoom ONLY (not visibility) */
.service-image-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}
/* === STRONGER TEXT CONTRAST FOR SERVICE CARDS === */

/* darker gradient overlay */
.service-image-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.15) 100%
  );

  z-index: 1;
}

/* make sure text is ABOVE overlay */
.service-image-card > div {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 28px;
  right: 28px;
}

/* number badge */
.service-image-card span {
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  margin-bottom: 14px;
  display: inline-block;
}

/* title */
.service-image-card h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;

  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* description */
.service-image-card p {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.5;

  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

/* hover = slight lift */
.service-image-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.1) 100%
  );
}
/* ===== LEISTUNGEN DETAIL COMPACT PREMIUM FIX ===== */

.leistungen-detail {
  background: linear-gradient(180deg, #f7f5f0 0%, #ffffff 45%, #f2eee7 100%) !important;
  padding: clamp(70px, 7vw, 120px) 0 !important;
}

.leistungen-detail-head-fixed {
  margin-bottom: 42px !important;
}

.leistungen-detail {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
}

.leistungen-detail-head-fixed {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.leistung-detail-card {
  overflow: hidden !important;
  padding: 34px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,242,235,.92)) !important;
  border: 1px solid rgba(20,20,20,.12) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.07) !important;
}

.leistung-detail-card:first-of-type {
  grid-column: 1 / -1 !important;
}

.leistung-detail-card ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 24px !important;
}

.leistung-detail-card ul li {
  min-width: 0 !important;
  width: 100% !important;
  padding: 13px 14px !important;
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(20,20,20,.09) !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
}

.leistung-detail-card ul li span:last-child {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

@media (max-width: 800px) {
  .leistungen-detail {
    grid-template-columns: 1fr !important;
    width: min(100% - 28px, 560px) !important;
  }

  .leistung-detail-card:first-of-type {
    grid-column: auto !important;
  }

  .leistung-detail-card {
    padding: 26px 18px !important;
  }

  .leistung-detail-card ul {
    grid-template-columns: 1fr !important;
  }
}
/* ===== LEISTUNGEN PROCESS PREMIUM TIMELINE ===== */

.leistungen-process {
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
  padding: clamp(80px, 8vw, 130px) 0 !important;
  display: grid !important;
  grid-template-columns: .85fr 1.15fr !important;
  gap: 80px !important;
  align-items: start !important;
}

.leistungen-process-head {
  position: sticky !important;
  top: 120px !important;
}

.leistungen-process-head h2 {
  font-size: clamp(44px, 5vw, 74px) !important;
  line-height: .95 !important;
  margin: 18px 0 0 !important;
}

.leistungen-process-grid {
  display: grid !important;
  gap: 18px !important;
}

.prozess-step {
  position: relative !important;
  padding: 26px 28px 26px 88px !important;
  background: #f6f3ed !important;
  border: 1px solid rgba(20,20,20,.12) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.05) !important;
  overflow: hidden !important;
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease !important;
}

.prozess-step::before {
  content: "";
  position: absolute;
  left: 56px;
  top: 0;
  bottom: -18px;
  width: 1px;
  background: rgba(180, 126, 58, .35);
}

.prozess-step:last-child::before {
  display: none;
}

.prozess-step span {
  position: absolute !important;
  left: 22px !important;
  top: 24px !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  z-index: 2 !important;
  transition: background .35s ease, transform .35s ease !important;
}

.prozess-step h3 {
  margin: 0 0 8px !important;
  font-size: 24px !important;
  color: #101010 !important;
}

.prozess-step p {
  margin: 0 !important;
  color: #4f5660 !important;
  line-height: 1.65 !important;
  max-width: 640px !important;
}

.prozess-step.is-active {
  background: #151515 !important;
  color: #fff !important;
  transform: translateX(8px) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.16) !important;
}

.prozess-step.is-active span {
  background: #c49a5b !important;
  color: #111 !important;
  transform: scale(1.08) !important;
}

.prozess-step.is-active h3 {
  color: #fff !important;
}

.prozess-step.is-active p {
  color: rgba(255,255,255,.78) !important;
}

@media (max-width: 900px) {
  .leistungen-process {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .leistungen-process-head {
    position: relative !important;
    top: auto !important;
  }

  .prozess-step {
    padding: 24px 20px 24px 78px !important;
  }
}
/* ===== HOME: ARBEITSWEISE + SERVICES PREMIUM FIX ===== */

.home-method,
.home-services-short {
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
  padding: clamp(80px, 8vw, 130px) 0 !important;
}

.home-method {
  display: grid !important;
  grid-template-columns: 0.85fr 1.15fr !important;
  gap: clamp(40px, 6vw, 90px) !important;
  align-items: start !important;
  border-top: 1px solid rgba(20,20,20,.12) !important;
}

.home-method > div:first-child,
.home-services-short .home-section-head {
  background: linear-gradient(135deg, #151515, #24211d) !important;
  color: #fff !important;
  padding: clamp(34px, 4vw, 58px) !important;
  border: 1px solid rgba(196,154,91,.28) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.12) !important;
}

.home-method h2,
.home-services-short .home-section-head h2 {
  color: #fff !important;
  font-size: clamp(38px, 4.4vw, 68px) !important;
  line-height: .98 !important;
  margin: 16px 0 0 !important;
}

.home-method .eyebrow,
.home-services-short .eyebrow {
  color: #c49a5b !important;
}

.home-services-short .home-section-head p:not(.eyebrow) {
  color: rgba(255,255,255,.78) !important;
  max-width: 620px !important;
}

/* Arbeitsweise cards */
.home-method-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  border: 0 !important;
}

.home-method-list article {
  min-height: 260px !important;
  padding: 34px !important;
  background: #fff !important;
  border: 1px solid rgba(20,20,20,.12) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.06) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease !important;
}

.home-method-list article:hover {
  transform: translateY(-6px) !important;
  background: #f6f2eb !important;
  box-shadow: 0 34px 80px rgba(0,0,0,.12) !important;
}

.home-method-list span,
.home-services-grid span {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  background: #151515 !important;
  color: #c49a5b !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  margin-bottom: 22px !important;
}

.home-method-list h3,
.home-services-grid h3 {
  color: #111 !important;
  font-size: 26px !important;
  margin: 0 0 12px !important;
}

.home-method-list p,
.home-services-grid p {
  color: #4f5863 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Services cards equal height */
.home-services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  background: transparent !important;
}

.home-services-grid article {
  min-height: 270px !important;
  padding: 32px !important;
  background: linear-gradient(135deg, #fff, #f7f4ef) !important;
  border: 1px solid rgba(20,20,20,.12) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.055) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.home-services-grid article:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 34px 80px rgba(0,0,0,.11) !important;
}

/* Mobile */
@media (max-width: 900px) {
  .home-method {
    grid-template-columns: 1fr !important;
  }

  .home-method-list,
  .home-services-grid {
    grid-template-columns: 1fr !important;
  }

  .home-method-list article,
  .home-services-grid article {
    min-height: 220px !important;
  }

  .home-method > div:first-child,
  .home-services-short .home-section-head {
    padding: 30px 24px !important;
  }
}
/* ===== HOME SERVICES HERO ALIGN FIX ===== */

.home-services-short {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(80px, 8vw, 130px) 0;
}

/* FIX: force vertical left layout */
.home-services-short .home-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;

  max-width: 720px; /* keeps it clean, not stretched */
}

/* Eyebrow */
.home-services-short .eyebrow {
  color: #c49a5b;
  letter-spacing: .12em;
}

/* BIG TITLE → now aligned LEFT */
.home-services-short h2 {
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
  text-align: left;
  margin: 0;

  /* REMOVE that ugly right push */
  margin-left: 0 !important;
  transform: none !important;
}

/* Paragraph */
.home-services-short p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
  color: #5a646f;

  max-width: 520px;
  margin: 0;
}

/* OPTIONAL: if you still want dark block style */
.home-services-short.dark-style .home-section-head {
  background: linear-gradient(135deg, #151515, #24211d);
  color: #fff;
  padding: 50px;
}

.home-services-short.dark-style p {
  color: rgba(255,255,255,.75);
}
/* ===== FIX: FEATURED PROJECTS HEADER ALIGN ===== */

.portfolio-section-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px;
    max-width: 720px;
}

/* Eyebrow stays top */
.portfolio-section-head .eyebrow {
    order: 1;
}

/* TITLE under eyebrow */
.portfolio-section-head h2 {
    order: 2;
    margin: 0 !important;
    text-align: left !important;
    margin-left: 0 !important;
}

/* Paragraph under title */
.portfolio-section-head p {
    order: 3;
    margin: 0;
    max-width: 520px;
}
/* ===== HOME TRUST STRIP PREMIUM ===== */

.home-trust-strip {
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  padding: 34px 0 !important;
  border: 0 !important;
}

.home-trust-strip article {
  position: relative !important;
  padding: 34px 28px !important;
  min-height: 190px !important;
  border: 1px solid rgba(196,154,91,.22) !important;
  background:
    linear-gradient(135deg, rgba(21,21,21,.98), rgba(36,33,29,.96)) !important;
  color: #fff !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.12) !important;
  overflow: hidden !important;
}

.home-trust-strip article::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(196,154,91,.28);
  border-radius: 50%;
}

.home-trust-strip article::after {
  content: "0" counter(trust);
  counter-increment: trust;
  position: absolute;
  right: 22px;
  bottom: 18px;
  font-size: 54px;
  font-family: Georgia, serif;
  color: rgba(196,154,91,.13);
  line-height: 1;
}

.home-trust-strip {
  counter-reset: trust;
}

.home-trust-strip strong {
  display: block !important;
  font-size: 25px !important;
  color: #fff !important;
  margin-bottom: 14px !important;
}

.home-trust-strip span {
  display: block !important;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.65 !important;
}

.home-trust-strip article:hover {
  transform: translateY(-6px);
  border-color: rgba(196,154,91,.55) !important;
  box-shadow: 0 34px 90px rgba(0,0,0,.18) !important;
}

@media (max-width: 900px) {
  .home-trust-strip {
    grid-template-columns: 1fr !important;
  }

  .home-trust-strip article {
    min-height: 155px !important;
  }
}
.about-hero-animated {
  position: relative;
  overflow: hidden;
  background: #050505;
}

.about-hero-bg {
  position: absolute;
  inset: -4%;
  background-image: url("../img/about/hero-1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: aboutHeroZoomMove 14s ease-in-out infinite alternate;
  z-index: 0;
}

.about-hero-animated .image-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.48) 45%, rgba(0,0,0,.18)),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.52));
}

.about-hero-animated .image-hero-content {
  position: relative;
  z-index: 2;
}

@keyframes aboutHeroZoomMove {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(1.08) translateX(-18px);
  }
}
/* ===============================
   ABOUT VALUES SECTION FIX
================================ */

.about-values {
  width: min(1180px, calc(100% - 44px)) !important;
  margin: 0 auto !important;
  padding: clamp(80px, 8vw, 130px) 0 !important;
  background: transparent !important;
}

.about-values-head {
  max-width: 760px !important;
  margin: 0 0 54px !important;
  text-align: left !important;
}

.about-values-head h2 {
  max-width: 720px !important;
  margin: 16px 0 0 !important;
  text-align: left !important;
  font-size: clamp(42px, 5vw, 76px) !important;
  line-height: .98 !important;
  color: #111 !important;
}

.about-values-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

.about-values-grid article {
  position: relative !important;
  min-height: 360px !important;
  padding: 38px 30px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #111 0%, #1d1c19 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(196,154,91,.22) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.16) !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.about-values-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(196,154,91,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent);
  opacity: .75;
  pointer-events: none;
}

.about-values-grid article span {
  position: absolute !important;
  top: 18px !important;
  right: 22px !important;
  font-size: 92px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  color: rgba(255,255,255,.06) !important;
  letter-spacing: -0.06em !important;
  transition: transform .45s ease, color .45s ease, text-shadow .45s ease !important;
}

.about-values-grid article h3 {
  position: relative !important;
  z-index: 2 !important;
  margin: 170px 0 18px !important;
  color: #fff !important;
  font-size: clamp(26px, 2vw, 34px) !important;
  line-height: 1.05 !important;
}

.about-values-grid article p {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  color: rgba(255,255,255,.76) !important;
  line-height: 1.65 !important;
  font-size: 16px !important;
}

.about-values-grid article:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(196,154,91,.65) !important;
  box-shadow: 0 36px 100px rgba(0,0,0,.26) !important;
}

.about-values-grid article:hover span {
  transform: scale(1.08) translateY(-4px) !important;
  color: rgba(196,154,91,.22) !important;
  text-shadow:
    0 0 22px rgba(196,154,91,.24),
    0 0 60px rgba(196,154,91,.14) !important;
}

@media (max-width: 1100px) {
  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .about-values {
    width: min(100% - 28px, 560px) !important;
  }

  .about-values-grid {
    grid-template-columns: 1fr !important;
  }

  .about-values-grid article {
    min-height: 300px !important;
    padding: 32px 26px !important;
  }

  .about-values-grid article h3 {
    margin-top: 130px !important;
  }
}
/* ===== TRUST CARDS NUMBER VISIBILITY FIX ===== */

.home-trust-strip article {
  padding: 34px 34px 56px 28px !important;
  min-height: 205px !important;
}

.home-trust-strip article::after {
  right: 26px !important;
  bottom: 18px !important;
  font-size: 66px !important;
  font-weight: 900 !important;
  color: rgba(196, 154, 91, 0.32) !important;
  text-shadow:
    0 0 18px rgba(196,154,91,.18),
    0 0 44px rgba(196,154,91,.10) !important;
  z-index: 1 !important;
}

.home-trust-strip strong,
.home-trust-strip span {
  position: relative !important;
  z-index: 2 !important;
  max-width: 78% !important;
}

.home-trust-strip span {
  padding-right: 20px !important;
}

.home-trust-strip article:hover::after {
  color: rgba(196, 154, 91, 0.55) !important;
  transform: translateY(-4px) scale(1.05);
}
/* ===============================
   PROJEKTE HERO – PREMIUM FIX
================================ */

.portfolio-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.portfolio-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/projekte/hero-1.webp') center/cover no-repeat;
  z-index: 0;

  transform: scale(1.08);
  animation: heroZoom 14s ease-out infinite alternate;
}

/* OVERLAY */
.portfolio-hero .image-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.75)),
    radial-gradient(circle at 30% 20%, rgba(196,154,91,0.15), transparent 60%);
  z-index: 1;
}

/* CONTENT */
.portfolio-hero .image-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: 8%;
  color: #fff;
}

/* TEXT STYLE */
.portfolio-hero h1 {
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1.05;
  margin: 18px 0;
}

.portfolio-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.6;
}

/* BUTTONS */
.portfolio-hero .hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

/* ANIMATION */
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.16); }
}

/* MOBILE */
@media (max-width: 900px) {
  .portfolio-hero {
    min-height: 60vh;
  }

  .portfolio-hero .image-hero-content {
    margin-left: 20px;
    margin-right: 20px;
  }

  .portfolio-hero h1 {
    font-size: 34px;
  }
}
/* ===============================
   KONTAKT HERO – PREMIUM
================================ */

.contact-hero-advanced {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #050505;
}

/* BACKGROUND */
.contact-hero-bg {
  position: absolute;
  inset: -4%;
  z-index: 0;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  animation: contactHeroZoom 16s ease-in-out infinite alternate;
}

/* OVERLAY */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
    radial-gradient(circle at 25% 30%, rgba(196,154,91,0.15), transparent 60%);
}

/* CONTENT */
.contact-hero-advanced .image-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: 8%;
  color: #fff;
}

/* TEXT */
.contact-hero-advanced h1 {
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1.05;
  margin: 18px 0;
}

.contact-hero-advanced p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  line-height: 1.6;
}

/* BUTTONS */
.contact-hero-advanced .hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

/* STAGGER ANIMATION */
.reveal-y {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ANIMATIONS */
@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contactHeroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.15); }
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-hero-advanced {
    min-height: 60vh;
  }

  .contact-hero-advanced .image-hero-content {
    margin: 0 20px;
  }

  .contact-hero-advanced h1 {
    font-size: 34px;
  }
}