:root {
    --sand: #D1BC8A;
    --blue: #0E599B;
    --cream: #FCFAF7;
    --ink: #151515;
    --line: rgba(21,21,21,.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--cream);
    color: var(--ink);
    font-family: "avenir-lt-pro", sans-serif;
    font-weight: 200;
}

.sdw-header {
    position: relative;
    z-index: 100;
    padding: 24px 4vw;
    background: var(--cream);
}

.sdw-header-inner {
    max-width: none !important;
}

.sdw-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.sdw-navigation {
    font-family: "avenir-lt-pro", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sdw-v2-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr);
    min-height: calc(100svh - 102px);
    padding: 2vw 4vw 5vw;
    gap: 4vw;
}

.sdw-v2-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.sdw-v2-kicker {
    margin: 0 0 4vh;
    color: var(--blue);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
}

.sdw-v2-title {
    margin: 0;
    font-family: "avenir-lt-pro", sans-serif;
    font-size: clamp(72px, 8.2vw, 150px);
    font-weight: 500;
    line-height: .78;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.sdw-v2-title span {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
}

.sdw-v2-title i {
    display: block;
    font-style: normal;
    transform: translateY(115%);
}

.sdw-v2-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-top: 6vh;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.sdw-v2-bottom p {
    max-width: 430px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.sdw-v2-bottom a {
    white-space: nowrap;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.sdw-v2-visual {
    position: relative;
    min-height: 72vh;
    overflow: hidden;
    background: var(--sand);
    clip-path: inset(0 0 0 100%);
}

.sdw-v2-image {
    position: absolute;
    inset: 7%;
    overflow: hidden;
}

.sdw-v2-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(10%) scale(1.08);
}

.sdw-v2-curtain {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--blue);
    transform: translateX(0);
}

.sdw-v2-index {
    position: absolute;
    z-index: 5;
    top: 24px;
    right: 25px;
    color: white;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .18em;
}

.sdw-v2-hero.is-ready .sdw-v2-title i {
    transform: translateY(0);
    transition:
        transform 1s cubic-bezier(.16,1,.3,1);
}

.sdw-v2-hero.is-ready .sdw-v2-title span:nth-child(2) i {
    transition-delay: 90ms;
}

.sdw-v2-hero.is-ready .sdw-v2-title span:nth-child(3) i {
    transition-delay: 180ms;
}

.sdw-v2-hero.is-ready .sdw-v2-visual {
    clip-path: inset(0);
    transition:
        clip-path 1.15s cubic-bezier(.16,1,.3,1) 180ms;
}

.sdw-v2-hero.is-ready .sdw-v2-image img {
    transform: translateX(0) scale(1);
    transition:
        transform 1.5s cubic-bezier(.16,1,.3,1) 280ms;
}

.sdw-v2-hero.is-ready .sdw-v2-curtain {
    transform: translateX(-101%);
    transition:
        transform 1.05s cubic-bezier(.76,0,.24,1) 620ms;
}

.sdw-project-feature {
    padding: 12vw 4vw 10vw;
    background: var(--ink);
    color: white;
}

.sdw-project-head {
    display: grid;
    grid-template-columns: 16% 84%;
    margin-bottom: 7vw;
}

.sdw-project-head > span {
    color: var(--sand);
    font-size: 13px;
    letter-spacing: .15em;
}

.sdw-project-head p {
    margin: 0 0 20px;
    color: var(--sand);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
}

.sdw-project-head h2 {
    margin: 0;
    font-size: clamp(55px, 7vw, 125px);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.sdw-project-wide {
    position: relative;
    overflow: hidden;
}

.sdw-project-wide img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.04);
}

.sdw-project-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sdw-project-split {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 100svh;
    background: var(--sand);
}

.sdw-project-split-image {
    padding: 6vw;
}

.sdw-project-split-image img {
    width: 100%;
    height: 100%;
    max-height: 84vh;
    object-fit: cover;
}

.sdw-project-split-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vw 7vw;
}

.sdw-project-split-copy > span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
}

.sdw-project-split-copy h2 {
    margin: 35px 0;
    font-size: clamp(48px, 6vw, 105px);
    font-weight: 500;
    line-height: .88;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.sdw-project-split-copy p {
    max-width: 480px;
    font-size: 19px;
    line-height: 1.6;
}

.sdw-v2-contact {
    padding: 12vw 5vw;
    background: var(--blue);
    color: white;
}

.sdw-v2-contact > span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2em;
}

.sdw-v2-contact h2 {
    margin: 4vw 0;
    font-size: clamp(60px, 9vw, 155px);
    font-weight: 500;
    line-height: .82;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.sdw-v2-contact a {
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 850px) {
    .sdw-v2-hero {
        grid-template-columns: 1fr;
        padding: 50px 24px 70px;
    }

    .sdw-v2-title {
        font-size: clamp(58px, 18vw, 100px);
    }

    .sdw-v2-visual {
        min-height: 65svh;
    }

    .sdw-project-head {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .sdw-project-split-image {
        padding: 24px;
    }

    .sdw-project-split-copy {
        padding: 70px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .sdw-v2-title i,
    .sdw-v2-image img,
    .sdw-v2-curtain {
        transform: none !important;
    }

    .sdw-v2-visual {
        clip-path: inset(0);
    }
}


/* =========================================================
   SABRINA DESIGNWERK — HERO MOTION V3
   ========================================================= */

.sdw-v2-visual {
    opacity: 0;
    transform: translate3d(150px,0,0);
    clip-path: inset(0 0 0 7%);
    will-change: transform, opacity, clip-path;
}

.sdw-v2-image {
    clip-path: inset(0 100% 0 0);
    will-change: clip-path;
}

.sdw-v2-image img {
    transform: translate3d(46px,0,0) scale(1.065);
    will-change: transform;
}

/* Aus dem alten Vollflächen-Vorhang wird nur noch ein Grafik-Akzent */
.sdw-v2-curtain {
    inset: auto;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 9%;
    height: auto;
    background: var(--blue);
    opacity: 0;
    transform: translate3d(0,0,0);
    z-index: 4;
    pointer-events: none;
}

/* Kleine Elemente starten bewusst ruhiger */
.sdw-v2-kicker,
.sdw-v2-bottom,
.sdw-v2-index {
    opacity: 0;
}

.sdw-v2-kicker {
    transform: translateY(12px);
}

.sdw-v2-bottom {
    transform: translateY(18px);
}

.sdw-v2-index {
    transform: translateX(12px);
}


/* ---------- V3 START ---------- */

.sdw-v2-hero.is-ready .sdw-v2-title i {
    transform: translateY(0);
    transition:
        transform 900ms cubic-bezier(.16,1,.3,1);
}

.sdw-v2-hero.is-ready .sdw-v2-title span:nth-child(2) i {
    transition-delay: 85ms;
}

.sdw-v2-hero.is-ready .sdw-v2-title span:nth-child(3) i {
    transition-delay: 170ms;
}

.sdw-v2-hero.is-ready .sdw-v2-kicker {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 650ms ease 120ms,
        transform 850ms cubic-bezier(.16,1,.3,1) 120ms;
}

.sdw-v2-hero.is-ready .sdw-v2-visual {
    opacity: 1;
    transform: translate3d(0,0,0);
    clip-path: inset(0);
    transition:
        opacity 500ms ease 120ms,
        transform 1150ms cubic-bezier(.16,1,.3,1) 120ms,
        clip-path 1250ms cubic-bezier(.16,1,.3,1) 120ms;
}

.sdw-v2-hero.is-ready .sdw-v2-image {
    clip-path: inset(0);
    transition:
        clip-path 1150ms cubic-bezier(.16,1,.3,1) 240ms;
}

.sdw-v2-hero.is-ready .sdw-v2-image img {
    transform: translate3d(0,0,0) scale(1);
    transition:
        transform 1550ms cubic-bezier(.16,1,.3,1) 190ms;
}

.sdw-v2-hero.is-ready .sdw-v2-index {
    opacity: 1;
    transform: translateX(0);
    transition:
        opacity 550ms ease 820ms,
        transform 750ms cubic-bezier(.16,1,.3,1) 820ms;
}

.sdw-v2-hero.is-ready .sdw-v2-bottom {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 650ms ease 640ms,
        transform 900ms cubic-bezier(.16,1,.3,1) 640ms;
}

/* Schmaler blauer Impuls — niemals mehr Vollflächen-Abdeckung */
.sdw-v2-hero.is-ready .sdw-v2-curtain {
    transition: none;
    animation:
        sdw-v3-accent-sweep 820ms cubic-bezier(.76,0,.24,1) 470ms both;
}

@keyframes sdw-v3-accent-sweep {
    0% {
        opacity: 0;
        transform: translate3d(0,0,0);
    }

    8% {
        opacity: 1;
    }

    86% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(-1120%,0,0);
    }
}


/* ---------- MOBILE ---------- */

@media (max-width: 850px) {
    .sdw-v2-visual {
        transform: translate3d(65px,0,0);
        clip-path: inset(0 0 0 5%);
    }

    .sdw-v2-curtain {
        width: 12%;
    }
}


/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {
    .sdw-v2-visual,
    .sdw-v2-image,
    .sdw-v2-image img,
    .sdw-v2-title i,
    .sdw-v2-kicker,
    .sdw-v2-bottom,
    .sdw-v2-index {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        transition: none !important;
    }

    .sdw-v2-curtain {
        display: none !important;
        animation: none !important;
    }
}


/* Standardseiten: Abstand zum Footer */
.sdw-page-main {
    padding-bottom: clamp(110px, 10vw, 170px);
}


/* Standardseiten: Footer-Abstand */
.sdw-footer {
    padding: 42px 4vw 72px;
    background: var(--cream);
}

.sdw-footer-inner {
    max-width: none !important;
}

.sdw-footer p {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .sdw-footer {
        padding: 36px 24px 56px;
    }

    .sdw-footer-inner {
        gap: 18px;
    }
}


/* SDW NATIVE CONTACT WIDGET */
.sdw-contact-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    font-family: "avenir-lt-pro", sans-serif;
}

.sdw-contact-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.sdw-contact-toggle-text {
    padding: 8px 14px;
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-size: 15px;
    line-height: 1;
    box-shadow: 0 3px 18px rgba(0,0,0,.12);
}

.sdw-contact-toggle-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #86CD91;
    box-shadow: 0 3px 18px rgba(0,0,0,.12);
}

.sdw-contact-toggle-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.sdw-contact-panel {
    position: absolute;
    right: 0;
    bottom: 68px;
    width: 230px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
}

.sdw-contact-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    color: #151515;
    text-decoration: none;
    border-bottom: 1px solid rgba(21,21,21,.08);
}

.sdw-contact-option:last-child {
    border-bottom: 0;
}

.sdw-contact-option:hover {
    background: #FCFAF7;
}

.sdw-contact-option-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background: #86CD91;
    color: #fff;
    font-size: 17px;
}

.sdw-contact-option strong,
.sdw-contact-option small {
    display: block;
}

.sdw-contact-option strong {
    font-size: 14px;
    font-weight: 500;
}

.sdw-contact-option small {
    margin-top: 2px;
    color: rgba(21,21,21,.62);
    font-size: 12px;
}

@media (max-width:700px) {
    .sdw-contact-widget {
        right: 16px;
        bottom: 16px;
    }

    .sdw-contact-toggle-text {
        display: none;
    }
}
