/* ============================================================
   VINCZE FLIESEN — Warm Mineral Editorial
   ============================================================ */

:root {
  --paper: #f1eae0;
  --paper-2: #e9e0d1;
  --ink: #201a13;
  --ink-soft: #4d443a;
  --clay: #b3502a;
  --clay-deep: #93401f;
  --petrol: #1b6e7d;
  --petrol-deep: #14515c;
  --moss: #2f463b;
  --cream: #f8f4ec;
  --line: rgba(32, 26, 19, 0.16);
  --line-strong: rgba(32, 26, 19, 0.3);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fugenraster — subtle tile-joint grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(32,26,19,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(32,26,19,0.028) 1px, transparent 1px);
  background-size: 8.333vw 8.333vw;
}

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-4%); }
  60% { transform: translate(-2%,-3%); }
  80% { transform: translate(4%,2%); }
}

::selection { background: var(--clay); color: var(--cream); }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

main { position: relative; z-index: 3; }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
}
.preloader__grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0;
}
.preloader__tile { background: var(--ink); }
.preloader__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: var(--cream);
}
.preloader__logo {
  width: clamp(200px, 30vw, 320px);
  height: auto;
}
.preloader__counter {
  position: absolute;
  bottom: -18vh;
  font-family: var(--font-mono);
  font-size: 0.8rem; opacity: 0.5;
}
.preloader.is-done { pointer-events: none; }

/* ============ CURSOR ============ */
.cursor {
  position: fixed; z-index: 99; top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--clay);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), opacity 0.3s;
}
.cursor.is-hover { width: 52px; height: 52px; opacity: 0.55; }
.cursor-label {
  position: fixed; z-index: 99; top: 0; left: 0;
  pointer-events: none;
  transform: translate(-50%, -140%);
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 0.35em 0.9em; border-radius: 2em;
  opacity: 0; transition: opacity 0.25s;
  white-space: nowrap;
}
.cursor-label.is-on { opacity: 1; }
@media (hover: none) { .cursor, .cursor-label { display: none; } }

/* ============ NAV ============ */
.nav {
  position: fixed; z-index: 50;
  top: 0; left: 0; right: 0;
  padding: 1rem var(--pad);
  color: var(--cream);
  transition: transform 0.5s var(--ease-out), padding 0.5s var(--ease-out), color 0.4s;
}
.nav__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 0.62rem 0.7rem 0.62rem 1.1rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background 0.45s, border-color 0.45s, box-shadow 0.45s;
}
.nav.is-scrolled { color: var(--ink); padding-top: 0.6rem; }
.nav.is-scrolled .nav__bar {
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-color: var(--line);
  box-shadow: 0 14px 34px -20px rgba(32, 26, 19, 0.4);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav__logo { position: relative; display: block; flex-shrink: 0; }
.nav__logo-img {
  display: block;
  height: clamp(30px, 3vw, 38px); width: auto;
  transition: opacity 0.4s;
}
.nav__logo-img--color {
  position: absolute; left: 0; top: 0;
  height: 100%; width: auto;
  opacity: 0;
}
.nav.is-scrolled .nav__logo-img--white { opacity: 0; }
.nav.is-scrolled .nav__logo-img--color { opacity: 1; }
.nav.menu-open .nav__logo-img--white { opacity: 1 !important; }
.nav.menu-open .nav__logo-img--color { opacity: 0 !important; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: 0.88rem; font-weight: 500;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__cta {
  font-size: 0.82rem; font-weight: 600;
  border: 1px solid currentColor;
  padding: 0.62em 1.4em; border-radius: 2em;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.nav__cta:hover { background: var(--petrol); border-color: var(--petrol); color: var(--cream); }
.nav__burger { display: none; }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0% 0); }
.menu__logo {
  position: absolute; top: 1.6rem; left: var(--pad);
  height: 34px; width: auto;
}
.menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__links a {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.15;
}
.menu__links a:nth-child(odd) { font-style: italic; color: var(--clay); }
.menu__foot {
  margin-top: 3rem; display: flex; flex-direction: column; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.7;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  padding: 0.95em 2.1em; border-radius: 2.5em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s, border-color 0.35s;
}
.btn:hover { transform: translateY(-3px); }
.btn--solid { background: var(--clay); color: var(--cream); }
.btn--solid:hover { background: var(--clay-deep); }
.btn--ghost { border-color: rgba(248,244,236,0.55); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 115%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(18,14,10,0.82) 0%, rgba(18,14,10,0.25) 45%, rgba(18,14,10,0.35) 100%);
}
.hero__content {
  position: relative;
  padding: 0 var(--pad);
  margin-bottom: 3rem;
  max-width: 1200px;
}
.hero__kicker {
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: #e8b48f;
  margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.4rem, 11.5vw, 9.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; transform: translateY(110%); }
.hero__line--accent em { color: var(--clay); font-weight: 400; }
.hero__line--accent { margin-left: clamp(2rem, 12vw, 12rem); }
.hero__sub {
  max-width: 34rem; font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(248,244,236,0.85);
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__bottom {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.3rem var(--pad);
  border-top: 1px solid rgba(248,244,236,0.18);
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(248,244,236,0.65);
}
.hero__scroll { display: flex; align-items: center; gap: 0.8rem; }
.hero__scroll i {
  display: block; width: 1px; height: 2.4rem;
  background: rgba(248,244,236,0.5);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%; background: var(--clay);
  animation: scrolldrip 1.8s var(--ease-out) infinite;
}
@keyframes scrolldrip { to { top: 100%; } }
[data-reveal] { opacity: 0; transform: translateY(28px); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink); color: var(--paper);
  overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.6rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: 1.35rem; white-space: nowrap;
}
.marquee__track i { color: var(--clay); font-style: normal; font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTION FURNITURE ============ */
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.2rem;
}
.section-label .idx {
  color: var(--clay);
  border: 1px solid var(--line-strong);
  padding: 0.35em 0.7em; border-radius: 2em;
  letter-spacing: 0.1em;
}
.section-label--light { color: rgba(248,244,236,0.7); }
.section-label--light .idx { border-color: rgba(248,244,236,0.3); }
.section-label--center { justify-content: center; }
.section-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 1.04; letter-spacing: -0.015em;
}
.section-title em { color: var(--clay); }

/* split-text words */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.w > i { display: inline-block; font-style: inherit; transform: translateY(115%); }

/* ============ MANIFEST ============ */
.manifest {
  padding: clamp(6rem, 14vh, 11rem) var(--pad);
  max-width: 1150px;
}
.manifest__label { margin-bottom: 3rem; }
.manifest__text {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.32; letter-spacing: -0.01em;
}
.manifest__text .mw { opacity: 0.13; transition: opacity 0.5s; }
.manifest__text .mw.is-on { opacity: 1; }
.manifest__sig {
  margin-top: 3rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.2em; color: var(--clay);
}

/* ============ SERVICES ============ */
.services { padding: clamp(4rem, 10vh, 8rem) var(--pad); }
.services__head { margin-bottom: 4rem; max-width: 900px; }
.services__list { border-top: 1px solid var(--line-strong); }
.service {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr 2fr 3rem;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem 0.5rem;
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  transition: padding 0.45s var(--ease-out), background 0.45s;
}
.service:hover { background: var(--paper-2); padding-left: 1.4rem; }
.service__num {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--clay);
}
.service__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1;
  transition: font-style 0.2s;
}
.service:hover .service__name { font-style: italic; color: var(--clay-deep); }
.service__desc { font-size: 0.95rem; color: var(--ink-soft); max-width: 46rem; }
.service__arrow {
  font-size: 1.4rem; justify-self: end;
  transition: transform 0.4s var(--ease-out);
}
.service:hover .service__arrow { transform: translateX(6px) rotate(-45deg); color: var(--clay); }
.service__img {
  position: absolute; z-index: 5;
  right: 8%; top: 50%;
  width: clamp(200px, 22vw, 320px); aspect-ratio: 4/3;
  pointer-events: none;
  transform: translateY(-50%) rotate(4deg) scale(0.85);
  opacity: 0;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(32,26,19,0.45);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.service:hover .service__img {
  opacity: 1;
  transform: translateY(-50%) rotate(-2.5deg) scale(1);
}

/* ============ PROCESS (pinned) ============ */
.process { background: var(--ink); color: var(--cream); }
.process__pin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vh, 6rem) var(--pad);
}
.process__steps { position: relative; }
.process__step {
  opacity: 0.22;
  transition: opacity 0.5s;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(248,244,236,0.12);
}
.process__step.is-active { opacity: 1; }
.process__stepnum {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--clay);
  display: inline-block;
  border: 1px solid rgba(248,244,236,0.25);
  width: 1.9em; height: 1.9em; line-height: 1.8em;
  text-align: center; border-radius: 50%;
  margin-bottom: 0.9rem;
}
.process__step h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}
.process__step.is-active h3 { font-style: italic; color: #e8b48f; }
.process__step p { font-size: 0.95rem; color: rgba(248,244,236,0.72); max-width: 34rem; }
.process__progress {
  margin-top: 2.2rem; height: 2px; background: rgba(248,244,236,0.15);
  border-radius: 2px; overflow: hidden;
}
.process__progress span { display: block; height: 100%; width: 0%; background: var(--clay); }
.process__right { position: relative; }
.process__imgs {
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: 6px; overflow: hidden;
}
.process__img {
  position: absolute; inset: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.85s var(--ease-out);
}
.process__img.is-active { clip-path: inset(0 0 0% 0); z-index: 2; }
.process__img img { transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.process__img.is-active img { transform: scale(1); }
.process__bignum {
  position: absolute; z-index: 3;
  right: -0.08em; bottom: -0.34em;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(7rem, 16vw, 14rem);
  line-height: 1; color: var(--clay);
  text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

/* ============ PROJECTS (horizontal) ============ */
.projects { background: var(--paper-2); }
.projects__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: clamp(4rem, 9vh, 7rem) 0;
}
.projects__head {
  padding: 0 var(--pad);
  margin-bottom: 3rem;
}
.projects__track {
  display: flex; gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0 var(--pad);
  width: max-content;
  will-change: transform;
}
.project {
  width: clamp(300px, 38vw, 560px);
  flex-shrink: 0;
}
.project__imgwrap {
  aspect-ratio: 4/3;
  overflow: hidden; border-radius: 5px;
}
.project__imgwrap img {
  transition: transform 0.9s var(--ease-out), filter 0.9s;
}
.project:hover .project__imgwrap img { transform: scale(1.055); }
.project__info { padding: 1.1rem 0.2rem; display: flex; flex-direction: column; gap: 0.15rem; }
.project__info h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 1.45rem;
}
.project__info p {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft);
}
.project--cta { display: flex; }
.project--cta a {
  flex: 1; aspect-ratio: 4/3;
  border: 1px dashed var(--line-strong); border-radius: 5px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15;
  transition: background 0.4s, border-color 0.4s;
}
.project--cta em { color: var(--clay); }
.project--cta a:hover { background: var(--cream); border-color: var(--clay); }
.project__ctaarrow { align-self: flex-end; font-size: 2rem; color: var(--clay); }

/* ============ VIDEO BREAK ============ */
.videobreak {
  position: relative; height: 115vh;
  overflow: hidden;
  display: grid; place-items: center;
}
.videobreak__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.videobreak__scrim { position: absolute; inset: 0; background: rgba(18,14,10,0.45); }
.videobreak__quote {
  position: relative; z-index: 2;
  text-align: center; color: var(--cream);
  padding: 0 var(--pad);
}
.videobreak__quote p {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.15;
}
.videobreak__quote em { color: #e8b48f; }

/* ============ WERKSCHAU ============ */
.werkschau { padding: clamp(4rem, 10vh, 8rem) var(--pad); }
.werkschau__head { max-width: 900px; margin-bottom: 3.5rem; }
.werkschau__sub { color: var(--ink-soft); margin-top: 1.3rem; max-width: 36rem; }
.werkschau__grid {
  columns: 4 240px;
  column-gap: 8px;
}
.werk {
  position: relative;
  break-inside: avoid;
  margin: 0 0 8px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(28px);
}
.werk img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s var(--ease-out);
}
.werk::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(32,26,19,0.4), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.werk:hover::after { opacity: 1; }
.werk:hover img { transform: scale(1.045); }
.werk__num {
  position: absolute; left: 0.7rem; bottom: 0.6rem; z-index: 2;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.werk:hover .werk__num { opacity: 1; transform: translateY(0); }
.werkschau__more { text-align: center; margin-top: 2.8rem; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  background: rgba(18, 14, 10, 0.94);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: min(92vw, 1400px); max-height: 84vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8);
}
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  background: none; border: 1px solid rgba(248,244,236,0.3);
  color: var(--cream);
  width: 3rem; height: 3rem; border-radius: 50%;
  font-size: 1.25rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: var(--clay); border-color: var(--clay);
  transform: scale(1.08);
}
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__count {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(248,244,236,0.7);
}
@media (max-width: 700px) {
  .werkschau__grid { columns: 2 150px; column-gap: 6px; }
  .werk { margin-bottom: 6px; }
  .lightbox__nav { width: 2.5rem; height: 2.5rem; }
  .lightbox__img { max-height: 74vh; }
}

/* ============ ABOUT ============ */
.about { padding: clamp(5rem, 12vh, 10rem) var(--pad); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about__imgcol { position: relative; }
.about__portrait {
  position: relative;
  aspect-ratio: 3/4; overflow: hidden; border-radius: 5px;
  width: 82%;
}
.about__caption {
  position: absolute; left: 0.9rem; bottom: 0.9rem;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  color: var(--cream);
  padding: 0.55em 1em; border-radius: 2em;
  backdrop-filter: blur(6px);
}
.about__small {
  position: absolute; right: 0; bottom: -3.2rem;
  width: 52%; aspect-ratio: 3/2;
  overflow: hidden; border-radius: 5px;
  box-shadow: 0 30px 60px -20px rgba(32,26,19,0.4);
  border: 6px solid var(--paper);
}
.about__text { color: var(--ink-soft); margin-top: 1.4rem; max-width: 36rem; }
.about__stats {
  margin-top: 3rem;
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-strong);
  padding-top: 2rem;
}
.stat { display: flex; flex-direction: column; }
.stat__num, .stat__plus {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1;
  display: inline;
}
.stat__num { color: var(--ink); }
.stat > .stat__num { display: inline-block; }
.stat__plus { color: var(--clay); display: inline-block; }
.stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 0.1em; }
.stat__label {
  width: 100%;
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 0.7rem;
}

/* ============ VOICES ============ */
.voices { padding: clamp(4rem, 10vh, 8rem) var(--pad); background: var(--paper-2); }
.voices__row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  max-width: 1400px; margin: 0 auto;
}
.voice {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.2rem 1.9rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.voice:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -22px rgba(32,26,19,0.3);
}
.voice blockquote {
  font-family: var(--font-display); font-weight: 300;
  font-size: 1.18rem; line-height: 1.45;
}
.voice figcaption {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay);
  margin-top: auto;
}

/* ============ FLIESENRECHNER ============ */
.rechner { padding: clamp(4rem, 10vh, 8rem) var(--pad); }
.rechner__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 1300px; margin: 0 auto;
  align-items: start;
}
.rechner__sub { color: var(--ink-soft); margin: 1.3rem 0 2.5rem; max-width: 32rem; }
.rechner__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.rfield--wide { grid-column: 1 / -1; }
.rfield label, .rfield__legend {
  display: block;
  font-family: var(--font-mono); font-size: 0.64rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
}
.rfield__input {
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--cream);
  padding: 0.85rem 1.05rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rfield__input:focus-within {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 15%, transparent);
}
.rfield__input input, .rfield__input select {
  border: none; background: transparent; outline: none;
  font-family: var(--font-body); font-size: 1.05rem;
  width: 100%; color: var(--ink);
}
.rfield__input > span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-soft); }
.rechner__muster { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.muster {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid var(--line-strong); border-radius: 2em;
  background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 0.86rem; font-weight: 500;
  padding: 0.5em 1.1em 0.5em 0.55em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.muster:hover { transform: translateY(-2px); border-color: var(--clay); }
.muster i {
  width: 26px; height: 26px; border-radius: 50%;
  background-color: var(--paper);
  border: 1px solid var(--line);
}
.muster--kreuz i {
  background-image:
    repeating-linear-gradient(0deg, var(--line-strong) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 7px);
}
.muster--halb i {
  background-image:
    repeating-linear-gradient(0deg, var(--line-strong) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 13px);
}
.muster--diag i {
  background-image:
    repeating-linear-gradient(45deg, var(--line-strong) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(135deg, var(--line-strong) 0 1px, transparent 1px 7px);
}
.muster--fisch i {
  background-image:
    repeating-linear-gradient(45deg, var(--line-strong) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(-45deg, var(--line-strong) 0 1px, transparent 1px 10px);
}
.muster.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.muster.is-active i { background-color: var(--paper-2); }

.rechner__result {
  position: sticky; top: 6.5rem;
  background: var(--ink); color: var(--cream);
  border-radius: 10px;
  padding: 2.3rem 2.1rem;
  overflow: hidden;
}
.rechner__result::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(248,244,236,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248,244,236,0.05) 1px, transparent 1px);
  background-size: 2.4rem 2.4rem;
  pointer-events: none;
}
.rechner__result > * { position: relative; }
.rechner__rlabel {
  font-family: var(--font-mono); font-size: 0.66rem;
  letter-spacing: 0.35em; text-transform: uppercase;
  color: #e8b48f;
  margin-bottom: 1.4rem;
}
.rechner__rows div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(248,244,236,0.2);
  font-size: 0.92rem;
}
.rechner__rows dt { color: rgba(248,244,236,0.72); }
.rechner__rows dd { font-family: var(--font-mono); font-size: 0.8rem; }
.rechner__big { margin: 1.7rem 0 0.2rem; }
.rechner__big span {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1;
  color: #e8b48f;
}
.rechner__big em {
  display: block;
  font-family: var(--font-mono); font-style: normal; font-size: 0.66rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(248,244,236,0.6);
  margin-top: 0.5rem;
}
.rechner__stueck {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: rgba(248,244,236,0.6);
  margin: 0.7rem 0 1.6rem;
  min-height: 1.1em;
}
.rechner__note { font-size: 0.75rem; color: rgba(248,244,236,0.5); margin-top: 1.1rem; max-width: 26rem; }

/* ============ WHATSAPP ============ */
.wa {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(18px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.45s, transform 0.45s var(--ease-out), background 0.3s;
}
.wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { transform: translateY(-3px) scale(1.05); background: #1fbf5b; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ============ COOKIE-HINWEIS ============ */
.cnote {
  position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 90;
  max-width: 350px;
  background: var(--ink); color: var(--cream);
  border-radius: 10px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 22px 50px -18px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.cnote.is-on { opacity: 1; transform: none; }
.cnote p { font-size: 0.86rem; line-height: 1.55; color: rgba(248,244,236,0.82); margin-bottom: 0.9rem; }
.cnote strong { color: #e8b48f; font-weight: 600; }
.cnote a { border-bottom: 1px solid rgba(248,244,236,0.35); }
.cnote a:hover { color: #e8b48f; border-color: #e8b48f; }
.cnote__btn {
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  background: var(--clay); color: var(--cream);
  border: none; border-radius: 2em;
  padding: 0.6em 1.5em;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.cnote__btn:hover { background: var(--clay-deep); transform: translateY(-2px); }
@media (max-width: 600px) {
  .cnote { left: 1rem; right: 5.4rem; bottom: 1rem; max-width: none; }
}

/* ============ CONTACT ============ */
.contact {
  background: var(--moss); color: var(--cream);
  padding: clamp(5rem, 13vh, 11rem) var(--pad);
  position: relative; overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(248,244,236,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248,244,236,0.045) 1px, transparent 1px);
  background-size: 8.333vw 8.333vw;
}
.contact__inner { position: relative; max-width: 880px; margin: 0 auto; }
.contact__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 1.02;
  margin-bottom: 1.6rem;
}
.contact__title em { color: #e8b48f; }
.contact__sub { color: rgba(248,244,236,0.75); max-width: 34rem; margin-bottom: 3rem; }
.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.field { position: relative; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid rgba(248,244,236,0.35);
  color: var(--cream);
  font-family: var(--font-body); font-size: 1rem;
  padding: 1.1rem 0 0.7rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus { border-color: #e8b48f; }
.field label {
  position: absolute; left: 0; top: 1.1rem;
  font-size: 0.95rem; color: rgba(248,244,236,0.55);
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -0.35rem; font-size: 0.66rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #e8b48f;
}
.contact__form .btn--big {
  grid-column: 1 / -1; justify-self: start;
  font-size: 1rem; padding: 1.1em 2.6em;
  margin-top: 0.8rem;
  position: relative;
}
.btn__sent, .btn__sending { display: none; }
.contact__form.is-sending .btn__default { display: none; }
.contact__form.is-sending .btn__sending { display: inline; }
.contact__form.is-sending .btn--big { opacity: 0.65; pointer-events: none; }
.contact__form.is-sent .btn__default { display: none; }
.contact__form.is-sent .btn__sent { display: inline; }
.contact__form.is-sent .btn--big { background: #5b7d6b; pointer-events: none; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.contact__err {
  display: none;
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: #f0b9a6;
  margin-top: 0.4rem;
}
.contact__form.is-error .contact__err { display: block; }
.contact__err a { border-bottom: 1px solid currentColor; }
.contact__direct {
  margin-top: 3.2rem; display: flex; gap: 2.5rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.85rem;
}
.contact__addr { color: rgba(248,244,236,0.65); }
.contact__direct a { border-bottom: 1px solid rgba(248,244,236,0.3); padding-bottom: 2px; }
.contact__direct a:hover { color: #e8b48f; border-color: #e8b48f; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink); color: rgba(248,244,236,0.6);
  padding: 3rem var(--pad) 2rem;
  overflow: hidden;
}
.footer__big {
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: clamp(6rem, 22vw, 22rem);
  line-height: 0.8;
  color: rgba(248,244,236,0.06);
  text-align: center;
  user-select: none;
  pointer-events: none;
  margin-bottom: 2rem;
  transform: translateY(0.12em);
}
.footer__row, .footer__credit { position: relative; z-index: 2; }
.footer__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(248,244,236,0.12);
  padding-top: 1.6rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.footer__row nav { display: flex; gap: 1.8rem; }
.footer__row a:hover { color: var(--clay); }
.footer__brand { display: inline-flex; align-items: center; gap: 0.9rem; }
.footer__logo { height: 26px; width: auto; opacity: 0.85; }
.footer__credit {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(248,244,236,0.08);
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(248,244,236,0.45);
  transition: color 0.35s;
}
.footer__credit img {
  height: 36px; width: auto;
  opacity: 0.75;
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
}
.footer__credit:hover { color: rgba(248,244,236,0.85); }
.footer__credit:hover img { opacity: 1; transform: translateY(-2px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: none; cursor: pointer; padding: 0.4rem;
  }
  .nav__burger span {
    width: 30px; height: 2px; background: currentColor;
    transition: transform 0.4s var(--ease-out);
  }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .nav.menu-open { color: var(--cream); }

  /* Leistungen: Bilder sichtbar als Karten-Header statt Hover-Effekt */
  .service {
    grid-template-columns: 2.4rem 1fr;
    grid-template-rows: auto;
    row-gap: 0.7rem;
    padding: 1.7rem 0 2rem;
  }
  .service:hover { padding-left: 0; }
  .service__desc { grid-column: 2; }
  .service__arrow { display: none; }
  .service__img,
  .service:hover .service__img {
    display: block;
    position: static;
    opacity: 1;
    transform: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 18px 36px -20px rgba(32, 26, 19, 0.35);
    pointer-events: none;
  }

  /* Handwerk: Bild zuerst und immer im sichtbaren Bereich */
  .process__pin {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-content: center;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }
  .process__right { order: -1; }
  .process__imgs { aspect-ratio: auto; height: 38svh; }
  .process__bignum { font-size: clamp(4.5rem, 18vw, 7rem); right: 0.05em; bottom: -0.25em; }
  .process__left .section-label { margin-bottom: 1rem; }
  .process__steps { border-top: 1px solid rgba(248,244,236,0.12); }
  .process__step { padding: 0.95rem 0; }
  .process__stepnum { margin-bottom: 0.45rem; }
  .process__step h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
  .process__step p { display: none; font-size: 0.9rem; }
  .process__step.is-active p { display: block; }
  .process__progress { margin-top: 1.4rem; }

  .videobreak { height: 100svh; }

  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { width: 100%; }
  .about__small { bottom: -2rem; }
  .about__imgcol { margin-bottom: 3.5rem; }
  .voices__row { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }

  .rechner__inner { grid-template-columns: 1fr; }
  .rechner__result { position: static; }
  .rechner__form { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}
@media (max-width: 600px) {
  .hero__line--accent { margin-left: 1.5rem; }
  .hero__meta { display: none; }
  .hero__content { margin-bottom: 2.2rem; }
  .project { width: 82vw; }
  .projects__head { margin-bottom: 2rem; }
  .manifest__text { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
  .stat__num, .stat__plus { font-size: 2.2rem; }
  .about__stats { gap: 1.2rem; flex-wrap: wrap; }
}

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