/* =========================================================
   SAILING ART. – Global Styles
   CI: pure black & white. Type: Montserrat.
   Logo logic: SAILING bold + ART. regular (same for OPUS CIRCLE.)
   ========================================================= */

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body,
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
    margin: 0;
    padding: 0;
}

ul, ol { list-style: none; }

img, video, picture, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button { font: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ---------- TOKENS ---------- */
:root {
    --c-black:        #000000;
    --c-ink:          #0a0a0a;
    --c-graphite:     #1a1a1a;
    --c-mid:          #6b6b6b;
    --c-line:         #dedad4;            /* warm grey line */
    --c-stone:        #edeae4;            /* warm stone for accent sections */
    --c-white:        #ffffff;
    --c-bg:           #f7f4ef;            /* warm off-white / cream */

    --ff-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    /* fluid type scale (clamp(min, fluid, max)) */
    --fs-mega:  clamp(2.4rem, 5vw, 5rem);       /* hero headlines */
    --fs-h1:    clamp(2rem, 3.8vw, 3.6rem);
    --fs-h2:    clamp(1.75rem, 2.9vw, 2.6rem);
    --fs-h3:    clamp(1.4rem, 2.2vw, 2rem);
    --fs-lead:  clamp(1.05rem, 1.4vw, 1.35rem);
    --fs-body:  1rem;
    --fs-small: 0.8125rem;
    --fs-micro: 0.6875rem;

    --tracking-tight: -0.025em;
    --tracking-wide:   0.18em;
    --tracking-mega:   0.32em;

    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: 6rem;
    --space-7: 9rem;
    --space-8: 12rem;

    --container: 1440px;
    --gutter: clamp(1.25rem, 4vw, 4rem);

    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);

    --header-h: 84px;
}

/* ---------- BASE ---------- */
html, body {
    background: var(--c-bg);
    color: var(--c-ink);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--ff-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection { background: var(--c-black); color: var(--c-white); }

p { max-width: 60ch; }

/* ---------- TYPE ---------- */
.eyebrow {
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--c-ink);
}

.eyebrow--muted { color: var(--c-mid); }

h1, .h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: var(--tracking-tight);
}

h2, .h2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: var(--tracking-tight);
}

h3, .h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.mega {
    font-size: var(--fs-mega);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: var(--tracking-tight);
}

.lead {
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--c-graphite);
    max-width: 60ch;
}

.thin { font-weight: 300; }

/* Brand text logic – "SAILING ART." style typography */
.brandtype { font-weight: 400; letter-spacing: var(--tracking-tight); }
.brandtype b, .brandtype strong { font-weight: 800; }

/* ---------- LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section {
    padding: clamp(3rem, 12vw, 9rem) 0;
    position: relative;
}

.section--tight  { padding: clamp(2rem, 6.7vw, 4rem) 0; }
.section--loose  { padding: clamp(4rem, 16vw, 12rem) 0; }
.section--ink    { background: var(--c-ink); color: var(--c-white); }
.section--ink p  { color: rgba(255,255,255,0.78); }
.section--ink .eyebrow { color: var(--c-white); }

.grid {
    display: grid;
    gap: var(--space-4);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

@media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* Split block – asymmetric image / text */
.split {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: var(--space-5);
    align-items: center;
}
.split--reverse { grid-template-columns: 5fr 6fr; }
.split--reverse > :first-child { order: 2; }
.split--reverse > :last-child  { order: 1; }

@media (max-width: 900px) {
    .split, .split--reverse { grid-template-columns: 1fr; }
    .split--reverse > :first-child,
    .split--reverse > :last-child { order: initial; }
}

/* ---------- OPUS MODAL ---------- */
.opus-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s var(--ease-out);
}
.opus-modal.is-open {
    opacity: 1;
    pointer-events: all;
}
.opus-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.opus-modal__card {
    position: relative;
    background: var(--c-bg);        /* warmes Creme — starker Kontrast zum dunklen Overlay */
    border-top: 3px solid var(--c-ink);
    padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
    max-width: 520px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    transform: translateY(32px) scale(0.98);
    transition: transform 0.6s var(--ease-out);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.opus-modal.is-open .opus-modal__card {
    transform: translateY(0) scale(1);
}
.opus-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1;
}
.opus-modal__close:hover { color: var(--c-ink); }
.opus-modal__body { position: relative; z-index: 1; }
.opus-modal__card::before {
    content: "98";
    position: absolute;
    font-family: var(--ff-sans);
    font-size: clamp(12rem, 22vw, 20rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(0, 0, 0, 0.04);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}
.opus-modal__eyebrow {
    display: block;
    margin-bottom: var(--space-3);
    color: var(--c-mid);
    letter-spacing: 0.18em;
}
.opus-modal__hl {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 300;
    letter-spacing: var(--tracking-tight);
    color: var(--c-ink);
    line-height: 1.1;
    margin-bottom: var(--space-4);
}
.opus-modal__lead {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: var(--c-mid);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}
.opus-modal__btn { margin: 0 auto; }
.opus-modal__note {
    margin-top: var(--space-4);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.25);
}
@media (max-width: 480px) {
    .opus-modal__btn { width: 100%; justify-content: center; }
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--c-line);
}

.site-header.is-light  { color: var(--c-white); }
.site-header.is-light.is-scrolled { color: var(--c-ink); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.logo {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-weight: 400;
    line-height: 1;
    color: inherit;
    white-space: nowrap;
}
.logo b { font-weight: 800; letter-spacing: 0.03em; }

.nav {
    display: flex;
    gap: clamp(1rem, 2vw, 2.25rem);
    align-items: center;
}
.nav a {
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    color: inherit;
    position: relative;
    padding: 0.5rem 0;
    transition: opacity 0.3s var(--ease-out);
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0.1rem;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-burger {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: inherit;
    z-index: 95;
    position: relative;
}
.nav-burger span {
    display: block;
    width: 26px; height: 2px;
    background: currentColor;
    transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-burger { display: flex; }
    .nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--c-ink);
        color: var(--c-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-4);
        transform: translateY(-100%);
        transition: transform 0.6s var(--ease-in-out);
        z-index: 200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    body.menu-open { overflow: hidden; touch-action: none; }
    body.menu-open .nav { transform: translateY(0); }
    .nav a {
        font-size: clamp(1.5rem, 5vw, 2rem);
        letter-spacing: 0.04em;
        text-transform: none;
        font-weight: 300;
        padding: 0.5rem 0;
    }
    .nav a b { font-weight: 700; }
    /* Lang switch repositioned inside the overlay */
    body.menu-open .lang-switch {
        position: fixed;
        bottom: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 201;
        color: rgba(255,255,255,0.7);
    }
    body.menu-open .lang-opt { color: rgba(255,255,255,0.6); }
    body.menu-open .lang-opt.is-active { color: var(--c-white); }
    body.menu-open .lang-switch__sep { opacity: 0.3; }
    /* Burger sits above overlay */
    .nav-burger { z-index: 202; }
    body.menu-open .site-header { background: transparent !important; border-bottom-color: transparent !important; }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.05rem 1.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid currentColor;
    background: var(--c-ink);
    color: var(--c-white);
    border-color: var(--c-ink);
    transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
    will-change: transform;
}
.btn .arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover { background: var(--c-white); color: var(--c-ink); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost {
    background: transparent;
    color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: var(--c-white); }

.btn--ghost-light {
    background: transparent;
    color: var(--c-white);
    border-color: var(--c-white);
}
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-ink); }

.btn--plain-light {
    background: transparent;
    color: var(--c-white);
    border-color: transparent;
}
.btn--plain-light:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }

.btn--text {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}
.btn--text:hover { padding-bottom: 6px; transition: padding 0.3s var(--ease-out); }

/* ---------- MEDIA / IMAGE FRAMES ---------- */
.media {
    position: relative;
    overflow: hidden;
    background: var(--c-stone);
}
.media img,
.media video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out), filter 0.6s var(--ease-out);
}
.media:hover img,
.media:hover video { transform: scale(1.04); }

.media--ratio-3-2 { aspect-ratio: 3/2; }
.media--ratio-4-3 { aspect-ratio: 4/3; }
.media--ratio-1-1 { aspect-ratio: 1/1; }
.media--ratio-4-5 { aspect-ratio: 4/5; }
.media--ratio-16-9 { aspect-ratio: 16/9; }
.media--ratio-21-9 { aspect-ratio: 21/9; }

/* ---------- ART N CAROUSEL (scroll-snap peek) ---------- */
.art-carousel {
    position: relative;
    margin-top: var(--space-5);
}
.art-carousel__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    scroll-padding: 0 11%;
    cursor: grab;
}
.art-carousel__track:active { cursor: grabbing; }
.art-carousel__track::-webkit-scrollbar { display: none; }
.art-carousel__slide {
    flex: 0 0 78%;
    scroll-snap-align: center;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0.45;
    transition: opacity 0.4s ease;
    background: var(--c-stone);
}
.art-carousel__slide:first-child { margin-left: 11%; }
.art-carousel__slide:last-child  { margin-right: 11%; }
.art-carousel__slide.is-active   { opacity: 1; }
.art-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}
.art-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10,10,10,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.art-carousel__btn:hover { background: rgba(10,10,10,0.8); }
.art-carousel__btn--prev { left: 0.5rem; }
.art-carousel__btn--next { right: 0.5rem; }
.art-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
}
.art-carousel__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
}
.art-carousel__dot.is-active {
    background: var(--c-ink);
    transform: scale(1.5);
}
@media (max-width: 640px) {
    .art-carousel__slide { flex: 0 0 85%; }
    .art-carousel__slide:first-child { margin-left: 7.5%; }
    .art-carousel__slide:last-child  { margin-right: 7.5%; }
    .art-carousel__track { scroll-padding: 0 7.5%; gap: 8px; }
    .art-carousel__btn { width: 34px; height: 34px; }
}

/* ---------- PLACEHOLDER (for missing imagery) ---------- */
.placeholder {
    position: relative;
    overflow: hidden;
    background: var(--c-ink);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    text-align: center;
}
.placeholder::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,0.18);
    pointer-events: none;
}
.placeholder__inner {
    max-width: 36ch;
    position: relative;
    z-index: 1;
}
.placeholder__label {
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}
.placeholder__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    color: var(--c-white);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + var(--space-4));
    padding-bottom: var(--space-5);
}

@media (max-width: 700px) {
    .hero { min-height: 520px; padding-bottom: var(--space-4); }
    .hero .mega,
    .hero__headline {
        font-size: clamp(1.8rem, 7.5vw, 2.4rem) !important;
        line-height: 1.04;
        max-width: 100% !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .hero__sub { font-size: 0.92rem; max-width: 100%; }
    .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
    .hero__cta .btn { width: 100%; justify-content: center; }
    .container { padding-left: 1.25rem; padding-right: 1.25rem; }
    .container .h1,
    .container .h2 { max-width: 100% !important; }
}

.hero__headline {
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 0.98;
    margin-bottom: var(--space-3);
}
.hero__headline .word { line-height: 1.02; }
.hero__sub { margin-bottom: var(--space-3); }

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--c-ink);
}
.hero__bg img,
.hero__bg video {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 8s var(--ease-out);
}
.hero.is-loaded .hero__bg img,
.hero.is-loaded .hero__bg video {
    transform: scale(1);
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Cinematic S-curve fade: photo is clearly visible in the upper half,
       then dissolves through a long gradual ramp into solid black.
       Using --c-ink rgb(10,10,10) so the bottom matches section--ink exactly. */
    background:
        linear-gradient(180deg,
            rgba(10,10,10,0.28) 0%,
            rgba(10,10,10,0.06) 18%,
            rgba(10,10,10,0.04) 44%,
            rgba(10,10,10,0.22) 58%,
            rgba(10,10,10,0.52) 72%,
            rgba(10,10,10,0.82) 84%,
            rgba(10,10,10,0.96) 93%,
            rgba(10,10,10,1.00) 100%),
        linear-gradient(90deg,
            rgba(10,10,10,0.30) 0%,
            rgba(10,10,10,0.08) 36%,
            rgba(10,10,10,0.00) 56%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__eyebrow {
    display: inline-block;
    color: var(--c-white);
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(20px);
}
.hero.is-loaded .hero__eyebrow {
    animation: fade-up 1.1s var(--ease-out) 0.3s forwards;
}

.hero__headline {
    color: var(--c-white);
    margin-bottom: var(--space-4);
    max-width: 18ch;
}

.hero__sub {
    color: rgba(255,255,255,0.92);
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    max-width: 52ch;
    margin-bottom: var(--space-4);
    line-height: 1.55;
    font-weight: 300;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
    position: absolute;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 0.6875rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 1s var(--ease-out) 1.4s;
}
.hero.is-loaded .hero__scroll { opacity: 1; }
.hero__scroll::after {
    content: "";
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.55);
    animation: scroll-tick 2.4s var(--ease-in-out) infinite;
}

@keyframes scroll-tick {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    50.1%{ transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- WORD / LINE REVEAL ---------- */
.reveal-words .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.18em;
    margin-bottom: -0.18em;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.reveal-words .word > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-out);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.reveal-words.is-in .word > span {
    transform: translateY(0);
}
.reveal-words .word:nth-child(1) > span { transition-delay: 0.05s; }
.reveal-words .word:nth-child(2) > span { transition-delay: 0.12s; }
.reveal-words .word:nth-child(3) > span { transition-delay: 0.19s; }
.reveal-words .word:nth-child(4) > span { transition-delay: 0.26s; }
.reveal-words .word:nth-child(5) > span { transition-delay: 0.33s; }
.reveal-words .word:nth-child(6) > span { transition-delay: 0.40s; }
.reveal-words .word:nth-child(7) > span { transition-delay: 0.47s; }
.reveal-words .word:nth-child(8) > span { transition-delay: 0.54s; }

/* fade-up reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"].is-in { transition-delay: 0.1s; }
.reveal[data-delay="2"].is-in { transition-delay: 0.2s; }
.reveal[data-delay="3"].is-in { transition-delay: 0.3s; }
.reveal[data-delay="4"].is-in { transition-delay: 0.4s; }
.reveal[data-delay="5"].is-in { transition-delay: 0.5s; }

/* image clip reveal */
.reveal-clip { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }

.reveal-clip-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-clip-up.is-in { clip-path: inset(0 0 0 0); }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- MARQUEE (subtle horizontal claim) ---------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    padding: 1.6rem 0;
    background: var(--c-white);
}
.marquee--ink {
    background: var(--c-ink);
    color: var(--c-white);
    border-color: rgba(255,255,255,0.1);
}
.marquee__track {
    display: flex;
    gap: 3.5rem;
    white-space: nowrap;
    animation: marquee 38s linear infinite;
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    line-height: 1;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee__track .dot {
    width: 8px; height: 8px;
    background: currentColor;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.6;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- LOGO MARQUEE ---------- */
.logo-marquee {
    overflow: hidden;
    padding: 2.2rem 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
}
.logo-marquee__track {
    display: flex;
    align-items: center;
    gap: 5rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.logo-marquee__track:hover { animation-play-state: paused; }
.logo-marquee__item {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    opacity: 0.55;
    transition: opacity 0.35s var(--ease-out);
    text-decoration: none;
}
.logo-marquee__item:hover { opacity: 1; }
.logo-marquee__item img {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0);
    display: block;
}

/* ---------- CARDS / TEASER ---------- */
.cards { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
    display: block;
    color: inherit;
    background: none;
}
.card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--c-stone);
    margin-bottom: 1.25rem;
}
.card__media img,
.card__media video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.6s var(--ease-out);
}
.card:hover .card__media img,
.card:hover .card__media video { transform: scale(1.06); }

.card__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
    opacity: 0;
    transition: opacity 0.6s var(--ease-out);
}
.card:hover .card__media::after { opacity: 1; }

.card__index {
    font-size: 0.6875rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-mid);
    margin-bottom: 0.4rem;
    display: block;
}
.card__title {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 800;
    letter-spacing: var(--tracking-tight);
    margin-bottom: 0.3rem;
}
.card__title b { font-weight: 800; }
.card__meta {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-mid);
}

/* ---------- USP STRIPES ---------- */
/* ---------- USP CARDS (homepage, light bg) ---------- */
.usp-cards-section {
    background: var(--c-bg);
}
.usp-cards__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.usp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}
@media (max-width: 900px) { .usp-cards { grid-template-columns: 1fr; } }
.usp-card {
    background: var(--c-white);
    border: 1px solid var(--c-line);
    border-radius: 2px;
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.usp-card:hover {
    border-color: var(--c-ink);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.usp-card__num {
    display: block;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--c-line);
    margin-bottom: var(--space-3);
    transition: color 0.3s var(--ease-out);
}
.usp-card:hover .usp-card__num { color: var(--c-ink); }
.usp-card__title {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 800;
    line-height: 1.15;
    min-height: 4.9rem;
    margin-bottom: 0.75rem;
    color: var(--c-ink);
}
.usp-card__text {
    font-size: 0.92rem;
    color: var(--c-mid);
    line-height: 1.65;
}

/* ---------- OLD USP LIST (kept for other pages) ---------- */
.usp {
    border-top: 1px solid var(--c-line);
}
.usp__item {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--c-line);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-3);
    align-items: start;
}
.usp__index {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--c-mid);
    padding-top: 0.5rem;
}
.usp__title { margin-bottom: 0.6rem; }
.usp__text { color: var(--c-graphite); max-width: 52ch; }

/* ---------- QUOTE BLOCK ---------- */
.quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 64ch;
    margin: 0 auto;
}
.quote__text {
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 300;
    line-height: 1.55;
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
    font-style: italic;
    width: 100%;
}
.quote__author {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-mid);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--c-ink);
    color: var(--c-white);
    padding: var(--space-6) 0 var(--space-3);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-top__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
}

.footer-top h4 {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: rgba(255,255,255,0.55);
}
.footer-top ul li { margin-bottom: 0.6rem; }
.footer-top a {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s var(--ease-out);
}
.footer-top a:hover { color: var(--c-white); }

.footer-claim {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 22ch;
    margin-bottom: 1.5rem;
}
.footer-claim b { font-weight: 800; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: var(--space-3);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.06em;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--c-white); }
.footer-bottom__legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ---------- CUSTOM CURSOR ---------- */
.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-ink);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), opacity 0.3s var(--ease-out);
    mix-blend-mode: difference;
    background: var(--c-white);
    opacity: 0;
}
.cursor.is-ready { opacity: 1; }
.cursor.is-hover {
    width: 56px; height: 56px;
    background: transparent;
    border: 1px solid var(--c-white);
}
.cursor.is-drag {
    width: 76px; height: 76px;
    background: var(--c-white);
    mix-blend-mode: difference;
}
@media (hover: none), (pointer: coarse) {
    .cursor { display: none; }
}

/* ---------- HERO IMAGE FALLBACK (when no video provided) ---------- */
.hero__bg.is-image img {
    /* subtle ken-burns continuous motion */
    animation: kenburns 24s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1.08) translate(0, 0); }
    to   { transform: scale(1.15) translate(-2%, 1%); }
}

/* ---------- NOISE OVERLAY (subtle film-grain texture) ---------- */
.has-noise::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    opacity: 0.07;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

/* Dark ink sections get an even richer grain */
.section--ink {
    position: relative;
}
.section--ink::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}
.section--ink > .container { position: relative; z-index: 1; }

/* ---------- VIDEO THUMBNAIL ---------- */
.video-thumb {
    position: relative;
    overflow: hidden;
}
.video-thumb img {
    transition: transform 1.6s var(--ease-out);
}
.video-thumb::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.32);
    opacity: 1;                       /* override .card__media::after opacity:0 */
    transition: background 0.5s var(--ease-out);
    z-index: 1;
}
/* keep the existing .card:hover .card__media::after from fighting us */
.card:hover .video-thumb::after { background: rgba(0,0,0,0.50); opacity: 1; }
.video-thumb:hover img { transform: scale(1.06); }

.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px; height: 60px;
    border: 1.5px solid rgba(255,255,255,0.88);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: transform 0.5s var(--ease-out), background 0.4s var(--ease-out);
    pointer-events: none;
    backdrop-filter: blur(2px);
}
.play-btn::after {
    content: "";
    display: block;
    width: 0; height: 0;
    border-style: solid;
    border-width: 9px 0 9px 16px;
    border-color: transparent transparent transparent rgba(255,255,255,0.92);
    margin-left: 4px;
}
.video-thumb:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(255,255,255,0.14);
}

/* "Demnächst" badge on video cards */
.video-badge {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 3;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.50);
    padding: 0.28rem 0.6rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.14);
}

/* ---------- ELEGANCE REFINEMENTS ---------- */

/* Stone sections */
.section--stone { background: var(--c-stone); }

/* Pillar cards — refined top accent on hover */
.pillar {
    border-top: 2px solid transparent;
    transition: transform 0.5s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pillar:hover {
    border-top-color: var(--c-ink);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}


/* USP hover refinement */
.usp__item {
    transition: background 0.35s var(--ease-out);
}
.usp__item:hover { background: var(--c-stone); }

/* Smooth image reveal for media blocks */
.media img {
    backface-visibility: hidden;
}

/* Featured quote (stimmen) elevated */
.featured-quote {
    border-left: 3px solid var(--c-ink);
    border-right: none;
    border-top: none;
    border-bottom: none;
    background: transparent;
    padding: var(--space-3) var(--space-4);
}

/* ─────────────────────────────────────────────────────────────
   DARK LUXURY — hero photo fades to black, content continues dark
   The hero gradient (above) fades to pure black at its bottom
   edge. First sections after the hero carry section--ink so the
   transition is seamless: photo → black → content.
   ───────────────────────────────────────────────────────────── */

/* Stacking context */
.hero {
    position: relative;
    z-index: 0;
    background-color: var(--c-ink);   /* prevent cream leak-through at hero boundary */
}
section {
    background-color: var(--c-bg);
}
.hero ~ section,
.hero ~ .marquee,
.hero ~ footer {
    position: relative;
    z-index: 2;
}

/* Pull dark first-sibling 2px up to seal any sub-pixel rendering gap */
.hero + .section--ink,
.hero + .marquee,
.marquee + .section--ink {
    margin-top: -2px;
}

/* ─── Dark section element overrides ───────────────────────── */

/* USP list items */
.section--ink .usp              { border-top-color: rgba(255,255,255,0.10); }
.section--ink .usp__item        { border-bottom-color: rgba(255,255,255,0.10); }
.section--ink .usp__text        { color: rgba(255,255,255,0.65); }
.section--ink .usp__index       { color: rgba(255,255,255,0.38); }
.section--ink .usp__item:hover  { background: rgba(255,255,255,0.04); }
.section--ink .usp__title       { color: var(--c-white); }

/* Eyebrow variants on dark */
.section--ink .eyebrow--muted   { color: rgba(255,255,255,0.48); }

/* Headings */
.section--ink .h1,
.section--ink .h2,
.section--ink .h3,
.section--ink h2,
.section--ink h3                { color: var(--c-white); }

/* Misc */
.section--ink hr                { border-color: rgba(255,255,255,0.10); }
.section--ink .lead             { color: rgba(255,255,255,0.80); }

/* Pillar cards on dark */
.section--ink .pillar           { border-top-color: rgba(255,255,255,0.08); }
.section--ink .pillar:hover     { border-top-color: var(--c-white); box-shadow: 0 8px 32px rgba(0,0,0,0.40); }

/* Featured quote on dark */
.section--ink .featured-quote   { border-left-color: rgba(255,255,255,0.30); color: var(--c-white); }
.section--ink .featured-quote p { color: var(--c-white); }

/* Yacht section overrides when dark */
.section--ink.yacht .yacht__spec-label { color: rgba(255,255,255,0.50); }
.section--ink.yacht .yacht__spec-value { color: var(--c-white); }
.section--ink.yacht hr,
.section--ink.yacht .yacht__rule       { border-color: rgba(255,255,255,0.10); }

/* ---------- HELPERS ---------- */
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.text-center { text-align: center; }

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

/* ---------- LANGUAGE SWITCH ---------- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: var(--space-2);
    flex-shrink: 0;
}
.lang-opt {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--ff-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: inherit;
    padding: 0.3rem 0.15rem;
    opacity: 0.42;
    transition: opacity 0.25s;
    line-height: 1;
}
.lang-opt:hover  { opacity: 0.75; }
.lang-opt.is-active { opacity: 1; }
.lang-switch__sep {
    font-size: 0.6rem;
    opacity: 0.28;
    color: inherit;
    line-height: 1;
    pointer-events: none;
}
@media (max-width: 900px) {
    .lang-switch { display: none; }
    body.menu-open .lang-switch { display: flex; }
}

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

/* USP: reduce index column on very small screens */
@media (max-width: 480px) {
    .usp__item {
        grid-template-columns: 50px 1fr;
        gap: var(--space-2);
    }
}

/* Featured quote: reduce horizontal padding on mobile */
@media (max-width: 640px) {
    .featured-quote {
        padding: var(--space-3) var(--space-2);
    }
}


/* ==========================================================
   ILLUSTRATIONEN HINTERGRUND
   Dekorative Elemente aus den Künstlerwerken.
   mix-blend-mode: multiply lässt den weißen Bildhintergrund
   auf hellen Sektionen verschwinden.
   ========================================================== */
/* Helfer: position-Kontext für künftige Hintergrund-Elemente */
.illus-wrap {
    position: relative;
    overflow: hidden;
}
.illus-wrap > * {
    position: relative;
    z-index: 1;
}

/* Hero-Sub: erste zwei Sätze auf Desktop in einer Zeile */
@media (min-width: 769px) {
    .hero-br { display: none; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — Fixes & Refinements
   ══════════════════════════════════════════════════════════ */

/* 1 · Side illustrations: hide on small screens (overlap text) */
@media (max-width: 700px) {
    .illus-side { display: none !important; }
}

/* 2 · Yacht meta: left-aligned when below title (stacked) */
@media (max-width: 900px) {
    .yacht__meta {
        justify-content: flex-start;
        text-align: left;
    }
}

/* 3 · USP cards: no fixed title height in single-column layout */
@media (max-width: 900px) {
    .usp-card__title { min-height: auto; }
}

/* 4 · flex-between: column stack on mobile */
@media (max-width: 700px) {
    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
}

/* 5 · Mega headings: remove max-width constraint on mobile */
@media (max-width: 700px) {
    .container .mega,
    .container h1,
    .container h2 {
        max-width: 100% !important;
    }
    /* Re-apply auto margins for centered mega headlines */
    .text-center .mega,
    [style*="text-align: center"] .mega {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* 6 · Section padding: slightly tighter on very small screens */
@media (max-width: 400px) {
    .section--loose { padding: clamp(2.5rem, 14vw, 4rem) 0; }
    .section         { padding: clamp(2rem, 10vw, 3.5rem) 0; }
}

/* 7 · Quote text: scale down on very small screens */
@media (max-width: 480px) {
    .quote__text { font-size: clamp(1.05rem, 5vw, 1.5rem); }
}

/* 8 · Buttons in sections: full width on tiny screens */
@media (max-width: 400px) {
    .section .btn:not(.opus-modal__btn) {
        width: 100%;
        justify-content: center;
    }
}

/* 9 · Tiers table: proper scrollable container on very small screens */
@media (max-width: 480px) {
    .tiers__head > div:first-child,
    .tiers__row > div:first-child { padding: 0.8rem 0.8rem; font-size: 0.82rem; }
    .tiers__row > div + div { padding: 0.8rem 0.4rem; }
}

/* 10 · Logo marquee: smaller logos on mobile */
@media (max-width: 480px) {
    .logo-marquee__item img { height: 28px; }
    .logo-marquee__item--badge img { height: 44px; }
    .logo-marquee__track { gap: 3rem; }
}
