/* ============================================================
   Küchen Krause - Homepage (Redesign)
   Style: Bold & Modern Minimal · dark base · signature red
   Standalone stylesheet - old pages keep using style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

:root {
    --ink:        #141311;   /* page background - matches logo tile */
    --ink-2:      #1c1b19;   /* raised surfaces / cards */
    --ink-3:      #262421;   /* hover surfaces */
    --line:       #34322e;   /* hairline borders */
    --paper:      #f4f1ea;   /* primary text on dark */
    --muted:      #a29c90;   /* secondary text */
    --muted-2:    #726c62;   /* tertiary / captions */
    --red:        #e4141b;   /* signature accent */
    --red-600:    #c00f16;
    --red-glow:   rgba(228, 20, 27, .35);

    --maxw: 1400px;
    --pad: clamp(1.25rem, 5vw, 5rem);
    --nav-h: 76px;

    --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    font-family: var(--sans);
    background: var(--ink);
    color: var(--paper);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.kicker {
    font-family: var(--sans);
    font-weight: 600;
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: .7em;
}
.kicker::before {
    content: "";
    width: 26px; height: 1px;
    background: var(--red);
    display: inline-block;
}

.display {
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.section-index {
    font-family: var(--mono);
    font-size: .78rem;
    letter-spacing: .2em;
    color: var(--muted-2);
}

/* ---------- buttons ---------- */
.btn {
    --bg: var(--red);
    --fg: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: 1.05em 1.9em;
    background: var(--bg);
    color: var(--fg);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    isolation: isolate;
}
.btn span { position: relative; z-index: 1; }
.btn .arw { transition: transform .35s var(--ease); }
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: #fff; transform: translateY(101%);
    transition: transform .4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 34px var(--red-glow); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn:hover .arw { transform: translate(4px, -4px); }

.btn--ghost {
    --bg: transparent; --fg: var(--paper);
    border: 1px solid var(--line);
}
.btn--ghost::after { background: var(--paper); }
.btn--ghost:hover { box-shadow: none; border-color: var(--paper); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(20, 19, 17, .82);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
    font-size: .82rem; font-weight: 600; letter-spacing: .04em;
    color: var(--muted); position: relative; padding: .3em 0;
    transition: color .25s var(--ease);
}
.nav__link::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 2px; background: var(--red);
    transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
    padding: .7em 1.3em; background: var(--red); color: #fff;
    border-radius: 2px; font-size: .78rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    transition: background .25s var(--ease), transform .25s var(--ease);
}
.nav__cta:hover { background: var(--red-600); transform: translateY(-2px); }

.nav__burger { display: none; width: 30px; height: 20px; position: relative; }
.nav__burger span {
    position: absolute; left: 0; height: 2px; width: 100%;
    background: var(--paper); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 9px; }
.nav__burger span:nth-child(3) { top: 18px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO - vertical video
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* big full-height video, pinned to the right edge, blended into the page */
.hero__media {
    position: absolute; top: 0; right: 0; bottom: 0; z-index: 1;
    width: clamp(360px, 40vw, 780px);
    overflow: hidden;
    background: var(--ink-2);
}
.hero__media video {
    width: 100%; height: 100%; object-fit: cover;
    animation: kenburns 22s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.13); } }
.hero__media::before {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
        linear-gradient(90deg, var(--ink) 0%, rgba(20,19,17,.6) 16%, transparent 40%),
        linear-gradient(180deg, rgba(20,19,17,.55) 0%, transparent 24%, transparent 76%, rgba(20,19,17,.65) 100%);
}
.hero__media::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    box-shadow: inset 0 0 160px rgba(0,0,0,.5);
}

.hero__content {
    position: relative; z-index: 4;
    width: 100%; max-width: var(--maxw);
    margin-inline: auto; padding-inline: var(--pad);
}
.hero__inner {
    max-width: 40rem;
    padding-block: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3rem)) clamp(3rem, 6vw, 5rem);
}
.hero__brand {
    display: inline-flex; align-items: center; gap: .65em;
    font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 600;
    letter-spacing: .01em; color: var(--paper);
}
.hero__brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.9rem);
    line-height: .95; letter-spacing: -.03em;
    white-space: nowrap;
    margin: 1.3rem 0 0;
}
.hero__title .em { color: var(--red); }
.hero__sub {
    margin-top: 1.7rem;
    max-width: 32rem;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--muted);
    line-height: 1.7;
}
.hero__actions { margin-top: 2.1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__trust {
    margin-top: 1.9rem; display: inline-flex; align-items: center; gap: .7em;
    font-size: .84rem; letter-spacing: .02em; color: var(--muted-2);
}
.hero__trust::before { content: ""; width: 22px; height: 1px; background: var(--red); display: inline-block; }
.hero__scroll {
    position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 1.6rem;
    display: inline-flex; flex-direction: column; align-items: center; gap: .55em;
    font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2);
}
.hero__scroll .dot {
    width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%;
    display: grid; place-items: center;
}
.hero__scroll svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }

/* hero content rises in after the intro splits away (safe: only runs with the class) */
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
body.intro-out .hero__inner > * { animation: heroIn .85s cubic-bezier(.22,1,.36,1) both; }
body.intro-out .hero__inner > *:nth-child(1) { animation-delay: .10s; }
body.intro-out .hero__inner > *:nth-child(2) { animation-delay: .20s; }
body.intro-out .hero__inner > *:nth-child(3) { animation-delay: .30s; }
body.intro-out .hero__inner > *:nth-child(4) { animation-delay: .40s; }
body.intro-out .hero__inner > *:nth-child(5) { animation-delay: .50s; }
@media (prefers-reduced-motion: reduce) { body.intro-out .hero__inner > * { animation: none; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    display: flex; align-items: center; gap: 3.5rem;
    width: max-content;
    animation: scroll-x 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.7rem);
    letter-spacing: .02em; text-transform: uppercase; color: var(--muted);
    display: inline-flex; align-items: center; gap: 3.5rem;
    white-space: nowrap;
}
.marquee__item::after { content: "•"; color: var(--red); font-size: 1em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; position: relative; }
.section__head { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head .kicker { margin-bottom: 0; }
.heading {
    font-size: clamp(2rem, 5.2vw, 4.2rem);
    font-weight: 900; letter-spacing: -.025em; line-height: 1; text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 40ch; }

/* ---------- 01 Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.intro__title { font-size: clamp(2.1rem, 4.6vw, 3.8rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; margin-bottom: 1.6rem; }
.intro__title .em { color: var(--red); }
.intro__body p { color: var(--muted); line-height: 1.75; margin-bottom: 1.1rem; max-width: 46ch; }
.intro__media { position: relative; }
.intro__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.intro__media .tag {
    position: absolute; left: -12px; top: 26px; background: var(--ink);
    border: 1px solid var(--line); padding: .8em 1.1em; border-radius: 4px;
    font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--paper);
}
.feats { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; margin-top: 2.6rem; }
.feat { flex: 1 1 170px; position: relative; padding-top: 1.2rem; }
.feat::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 2px; background: var(--red); }
.feat b { display: block; font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.feat span { display: block; margin-top: .55rem; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- 02 Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.service {
    background: var(--ink); padding: clamp(1.8rem, 3vw, 2.6rem);
    display: flex; flex-direction: column; gap: 1rem; min-height: 260px;
    transition: background .35s var(--ease), transform .35s var(--ease);
    position: relative;
}
.service:hover { background: var(--ink-2); }
.service__no { font-family: var(--mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.service__ico { width: 30px; height: 30px; stroke: var(--paper); stroke-width: 1.6; fill: none; }
.service h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin-top: auto; }
.service p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* ---------- 03 Mehr als Küchen ---------- */
.more { border-top: 1px solid var(--line); }
.more__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 2.5rem; }
.more__cell { background: var(--ink); padding: clamp(1.4rem,2.5vw,2rem); display: flex; flex-direction: column; gap: .4rem; transition: background .3s var(--ease); }
.more__cell:hover { background: var(--red); }
.more__cell:hover * { color: #fff !important; }
.more__cell .n { font-family: var(--mono); font-size: .72rem; color: var(--muted-2); letter-spacing: .1em; }
.more__cell .t { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; letter-spacing: -.01em; }

/* ---------- 04 Ausstellung gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.gallery a { position: relative; overflow: hidden; border-radius: 6px; }
.gallery a::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55));
    opacity: 0; transition: opacity .4s var(--ease);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery .cap {
    position: absolute; z-index: 2; left: 14px; bottom: 12px;
    font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease);
}
.gallery a:hover .cap { opacity: 1; transform: translateY(0); }
.gallery__foot { display: flex; justify-content: center; margin-top: 2.8rem; }

/* ---------- 05 Kontakt / Standort ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__photo { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.contact__map { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); aspect-ratio: 1448 / 1042; align-self: start; }
.contact__map img { width: 100%; height: 100%; object-fit: cover; }
.contact__map .pin {
    position: absolute; left: 1.4rem; bottom: 1.4rem; background: var(--ink);
    border: 1px solid var(--line); padding: 1rem 1.3rem; border-radius: 6px;
}
.contact__map .pin b { font-size: 1.05rem; }
.contact__map .pin span { display: block; color: var(--muted); font-size: .9rem; }
/* mobile: address below the map so it never covers the marker */
@media (max-width: 640px) {
    .contact__map { aspect-ratio: auto; overflow: visible; border: 0; background: none; border-radius: 0; }
    .contact__map img { aspect-ratio: 1448 / 1042; object-fit: cover; border: 1px solid var(--line); border-radius: 8px; }
    .contact__map .pin { position: static; left: auto; bottom: auto; margin-top: .8rem; }
}
.contact__list { display: flex; flex-direction: column; }
.crow {
    display: flex; align-items: center; gap: 1.2rem; padding: 1.35rem 0;
    border-bottom: 1px solid var(--line); transition: padding .3s var(--ease);
}
.crow:first-child { border-top: 1px solid var(--line); }
.crow:hover { padding-left: .5rem; }
.crow__ico { width: 22px; height: 22px; flex: 0 0 auto; fill: var(--red); }
.crow__k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.crow__v { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.crow .arw { margin-left: auto; color: var(--muted-2); transition: transform .3s var(--ease), color .3s var(--ease); }
.crow:hover .arw { transform: translate(3px,-3px); color: var(--red); }
.hours { margin-top: 2rem; }
.hours h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: .9rem; }
.hours__row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours__row b { color: var(--paper); font-weight: 600; }

/* ---------- 06 Terminanfrage form ---------- */
.termin { border-top: 1px solid var(--line); }
.termin__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.termin__title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.025em; line-height: 1; text-transform: uppercase; }
.termin__title .em { color: var(--red); }
.termin__note { color: var(--muted); margin-top: 1.4rem; line-height: 1.7; max-width: 34ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
    background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px;
    padding: .95em 1em; color: var(--paper); font: inherit; font-size: .98rem;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--ink-3); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { grid-column: 1/-1; display: flex; align-items: flex-start; gap: .8rem; color: var(--muted); font-size: .9rem; }
.consent input { width: 20px; height: 20px; accent-color: var(--red); flex: 0 0 auto; margin-top: 2px; }
.consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.form .btn { grid-column: 1/-1; justify-content: center; width: 100%; }
.hidden { display: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.footer__brand img { height: 54px; margin-bottom: 1.4rem; }
.footer__brand p { color: var(--muted); max-width: 32ch; line-height: 1.7; font-size: .95rem; }
.footer h5 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.2rem; }
.footer__links a, .footer__contact a, .footer__contact span { display: block; color: var(--muted); padding: .35rem 0; transition: color .25s var(--ease); }
.footer__links a:hover, .footer__contact a:hover { color: var(--red); }
.footer__bottom {
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
    margin-top: clamp(2.5rem,5vw,4rem); padding-top: 1.8rem; border-top: 1px solid var(--line);
    font-size: .82rem; color: var(--muted-2);
}
.footer__bottom a { color: var(--muted-2); }
.footer__bottom a:hover { color: var(--paper); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    :root { --nav-h: 66px; }

    .nav__links {
        position: fixed; inset: 0; z-index: 90;
        flex-direction: column; justify-content: center; gap: 2rem;
        background: rgba(20,19,17,.97); backdrop-filter: blur(10px);
        transform: translateX(100%); transition: transform .5s var(--ease);
    }
    body.menu-open .nav__links { transform: translateX(0); }
    .nav__links .nav__link { font-size: 1.5rem; color: var(--paper); }
    .nav__cta { font-size: 1rem; padding: .9em 1.6em; }
    .nav__burger { display: block; z-index: 95; }
    body.menu-open { overflow: hidden; }

    /* hero: video becomes full-bleed background */
    .hero {
        flex-direction: column;
        justify-content: flex-end;
        min-height: 100svh;
        padding-bottom: clamp(3.5rem, 12vw, 6rem);
    }
    .hero__media {
        position: absolute; inset: 0; z-index: 0;
        width: 100%; max-width: none;
    }
    .hero__media::before {
        z-index: 1;
        background: linear-gradient(180deg, rgba(20,19,17,.5) 0%, rgba(20,19,17,.12) 30%, rgba(20,19,17,.78) 74%, var(--ink) 100%);
    }
    .hero__media::after { display: none; }
    .hero__content { max-width: 100%; }
    .hero__inner { max-width: 100%; padding-block: 0; }
    .hero__scroll { display: none; }
    .hero__title { font-size: clamp(2rem, 9.5vw, 3.4rem); white-space: normal; }

    .intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .intro__media { order: -1; }
    .intro__media img { aspect-ratio: 16/11; }

    .contact__grid { grid-template-columns: 1fr; }
    .termin__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
    .services { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery .wide { grid-column: span 2; }
    .gallery .tall { grid-row: span 1; }
    .footer__grid { grid-template-columns: 1fr; }
    .form { grid-template-columns: 1fr; }
    .section__head { flex-direction: column; gap: .6rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .marquee__track { animation: none; }
    .cursor { display: none !important; }
    body.has-cursor { cursor: auto !important; }
}

/* ============================================================
   WOW LAYER - kinetic headline · scroll progress · coverflow · cursor
   ============================================================ */

/* --- scroll progress bar --- */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 101; box-shadow: 0 0 12px var(--red-glow); }

/* --- kinetic headline (masked line reveal) --- */
.hero__title .ln { display: block; overflow: hidden; padding-top: .14em; margin-top: -.12em; }
.hero__title .ln__i { display: inline-block; will-change: transform; }
.hero__title .ln__i.em { color: var(--red); }
body.intro-out .hero__title .ln__i { animation: lineUp .9s cubic-bezier(.22,1,.36,1) both; }
body.intro-out .hero__title .ln:nth-child(1) .ln__i { animation-delay: .12s; }
body.intro-out .hero__title .ln:nth-child(2) .ln__i { animation-delay: .24s; }
body.intro-out .hero__title .ln:nth-child(3) .ln__i { animation-delay: .36s; }
@keyframes lineUp { from { transform: translateY(115%); } to { transform: translateY(0); } }

/* --- coverflow (fallback: horizontal scroll-snap row) --- */
.coverflow { margin-top: 1rem; }
.cf__stage { display: flex; gap: 16px; overflow-x: auto; padding: 1rem .4rem 1.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.cf__item { flex: 0 0 min(80%, 440px); aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; scroll-snap-align: center; position: relative; background: var(--ink-2); }
.cf__item img { width: 100%; height: 100%; object-fit: cover; }

/* --- coverflow (JS-upgraded 3D mode) --- */
.cf__stage.is-3d { display: block; position: relative; height: min(62vw, 470px); overflow: visible; padding: 0; perspective: 1600px; scroll-snap-type: none; touch-action: pan-y; outline: none; }
.is-3d .cf__item { position: absolute; top: 50%; left: 50%; width: min(48%, 440px); flex: none; margin: 0; transform: translate(-50%,-50%); transform-style: preserve-3d; transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s var(--ease); will-change: transform, opacity; box-shadow: 0 34px 70px rgba(0,0,0,.55); }
.is-3d .cf__item img { pointer-events: none; }
.is-3d .cf__item::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.06); border-radius: 8px; pointer-events: none; }
.cf__stage.is-drag { cursor: grabbing; }
.cf__nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: .5rem; }
.cf__btn { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); font-size: 1.5rem; line-height: 0; display: grid; place-items: center; transition: background .25s var(--ease), border-color .25s var(--ease); }
.cf__btn:hover { background: var(--red); border-color: var(--red); }
.cf__dots { display: flex; align-items: center; gap: 9px; }
.cf__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; cursor: pointer; }
.cf__dots i.on { background: var(--red); transform: scale(1.35); }

/* --- custom cursor --- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; width: 34px; height: 34px; margin: 0; border: 1.5px solid var(--paper); border-radius: 50%; transform: translate(-50%,-50%); mix-blend-mode: difference; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), opacity .3s ease; }
.cursor.is-ready { opacity: 1; }
.cursor.is-hidden { opacity: 0 !important; }
.cursor__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s ease; }
.cursor.is-hover { width: 58px; height: 58px; background: var(--paper); border-color: var(--paper); }
.cursor.is-view { width: 96px; height: 96px; background: var(--red); border-color: var(--red); mix-blend-mode: normal; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-down { width: 26px; height: 26px; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .cf__item { cursor: none; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* coverflow: larger on phones */
@media (max-width: 640px) {
    .cf__stage.is-3d { height: min(96vw, 460px); perspective: 1050px; }
    .is-3d .cf__item { width: min(76%, 380px); }
    .cf__nav { margin-top: 1rem; gap: 1.1rem; }
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
/* Swup - fade + slide the swapped container (works in every browser incl. Firefox) */
.transition-main { transition: opacity .32s var(--ease), transform .42s var(--ease); will-change: opacity, transform; }
html.is-animating .transition-main { opacity: 0; transform: translateY(14px); }

/* No-JS progressive bonus: native cross-document View Transitions where supported */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .32s var(--ease) both; }
::view-transition-new(root) { animation: vtIn .5s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px) scale(.994); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .transition-main { transition: none; }
    html.is-animating .transition-main { opacity: 1; transform: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 9997; display: flex; align-items: center; justify-content: center; background: rgba(9,8,7,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.lightbox.on { opacity: 1; visibility: visible; }
.lightbox__stage { position: relative; max-width: 92vw; max-height: 84vh; }
.lightbox__img { display: block; max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 110px rgba(0,0,0,.7); transform: scale(.92); opacity: 0; transition: transform .45s var(--ease), opacity .3s ease; }
.lightbox.on .lightbox__img { transform: scale(1); opacity: 1; }
.lightbox__close { position: absolute; top: 1.3rem; right: 1.5rem; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; color: #fff; font-size: 1.3rem; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; font-size: 1.6rem; line-height: 0; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__nav.prev { left: clamp(.6rem, 3vw, 2rem); }
.lightbox__nav.next { right: clamp(.6rem, 3vw, 2rem); }
.lightbox__count { position: absolute; top: 1.5rem; left: 1.6rem; font-family: var(--sans); font-weight: 600; letter-spacing: .1em; color: var(--muted); font-size: .78rem; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: -2.4rem; text-align: center; color: var(--muted); font-size: .85rem; padding: 0 1rem; }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox__nav { width: 44px; height: 44px; } .lightbox__cap { bottom: -2rem; } }

/* ============================================================
   SUBPAGE HEADER (compact hero)
   ============================================================ */
.pagehead { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; z-index: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,17,.72) 0%, rgba(20,19,17,.35) 42%, rgba(20,19,17,.9) 100%); }
.pagehead .wrap { position: relative; z-index: 1; width: 100%; }
.pagehead__title { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 900; letter-spacing: -.03em; line-height: .95; text-transform: uppercase; margin-top: 1rem; }
.pagehead__title .em { color: var(--red); }
.pagehead__sub { margin-top: 1.1rem; color: var(--muted); max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; }
.pagehead__actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   SUBPAGE GALLERY (masonry via columns) + intro text block
   ============================================================ */
.leadtext { max-width: 60ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.7; }
.leadtext strong { color: var(--paper); font-weight: 600; }
.grid-gallery { columns: 3; column-gap: 16px; }
.grid-gallery .lb { display: block; margin: 0 0 16px; break-inside: avoid; border-radius: 8px; overflow: hidden; position: relative; background: var(--ink-2); }
.grid-gallery .lb img { width: 100%; display: block; transition: transform .6s var(--ease); }
.grid-gallery .lb::after { content: ""; position: absolute; inset: 0; background: rgba(228,20,27,0); transition: background .35s; }
.grid-gallery .lb:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .grid-gallery { columns: 2; } }
@media (max-width: 560px) { .grid-gallery { columns: 1; } }

/* ============================================================
   REFERENZEN - project sections
   ============================================================ */
.ref { padding: clamp(3rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.ref__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ref__hero { border-radius: 8px; overflow: hidden; position: relative; }
.ref__hero img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s var(--ease); }
.ref__hero:hover img { transform: scale(1.04); }
.ref__no { font-family: var(--sans); font-weight: 700; letter-spacing: .1em; color: var(--red); font-size: .8rem; }
.ref__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; margin: .6rem 0 1.1rem; }
.ref__desc { color: var(--muted); line-height: 1.75; max-width: 48ch; }
.ref__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 1.6rem; }
.ref__thumbs .lb { border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.ref__thumbs .lb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ref__thumbs .lb:hover img { transform: scale(1.08); }
@media (max-width: 820px) { .ref__grid { grid-template-columns: 1fr; } .ref__media { order: 0 !important; } }

/* ============================================================
   ÜBER UNS - team
   ============================================================ */
.member { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.member:nth-child(even) .member__media { order: 2; }
.member__media { border-radius: 8px; overflow: hidden; }
.member__media img, .member__media video { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.member__role { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-size: .78rem; }
.member__name { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; margin: .5rem 0 1rem; }
.member__text { color: var(--muted); line-height: 1.75; max-width: 46ch; }
@media (max-width: 760px) { .member { grid-template-columns: 1fr; } .member:nth-child(even) .member__media { order: 0; } }

/* ============================================================
   LEGAL / simple text pages
   ============================================================ */
.prose { padding: calc(var(--nav-h) + clamp(3rem,7vw,5rem)) 0 clamp(3rem,7vw,5rem); }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.3rem; font-weight: 800; margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; max-width: 68ch; margin-bottom: 1rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose .meta { font-family: var(--sans); font-weight: 600; letter-spacing: .04em; color: var(--paper); }

/* thank-you / confirmation page */
.thanks { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 2rem) var(--pad) 3rem; }
.thanks__badge { width: 78px; height: 78px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-bottom: 2rem; box-shadow: 0 16px 40px var(--red-glow); }
.thanks__badge svg { width: 38px; height: 38px; fill: #fff; }
.thanks h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; line-height: .98; }
.thanks h1 .em { color: var(--red); }
.thanks p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); margin-top: 1.2rem; max-width: 42ch; line-height: 1.6; }
.thanks__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
