/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --c-bg:      #f5f2ee;
  --c-bg2:     #ece8e3;
  --c-bg3:     #e4dfd9;
  --c-ink:     #1a1714;
  --c-ink2:    #3a3530;
  --c-muted:   #7d7670;
  --c-muted2:  #aaa49e;
  --c-red:     #c8102e;
  --c-border:  rgba(26,23,20,.09);
  --c-border2: rgba(26,23,20,.05);
  --nav-h:     64px;
  --max:       1380px;
  --pad:       2.5rem;
  --e1:        cubic-bezier(.25,.46,.45,.94);
  --e2:        cubic-bezier(.16,1,.3,1);
  --f:         'Inter', system-ui, sans-serif;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100% }

/* ─── NAV ────────────────────────────────────────────── */
#nav {
  position: fixed; inset: 0 0 auto; z-index: 500;
  height: var(--nav-h);
  background: rgba(245,242,238,.95);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--c-border);
}
.nav-wrap {
  max-width: var(--max); height: 100%; margin: 0 auto;
  padding: 0 var(--pad); display: flex; align-items: center; gap: 2.5rem;
}
.nav-logo { flex-shrink: 0; text-decoration: none; display: flex; align-items: center }
.nav-logo svg { height: 18px; fill: var(--c-ink) }

#nav ul { display: flex; align-items: stretch; list-style: none; flex: 1 }
#nav li > a {
  display: flex; align-items: center; gap: .3rem; padding: 0 1rem;
  height: var(--nav-h);
  font-size: .67rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
#nav li:hover > a { color: var(--c-ink); border-bottom-color: var(--c-red) }
.chev {
  width: 7px; height: 7px;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-1px); display: inline-block;
}

.nav-end { display: flex; align-items: center; gap: 1.5rem; margin-left: auto }

/* Language switcher */
.nav-langs { display: flex; align-items: center; gap: .1rem }
.nav-lang {
  font-size: .58rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted2); text-decoration: none; transition: color .18s; padding: .2rem .22rem;
}
.nav-lang:hover { color: var(--c-ink) }
.nav-lang--active { color: var(--c-ink); pointer-events: none; font-weight: 700 }
.nav-lang--pending { opacity: .4 }
.nav-lang--pending:hover { opacity: .65 }
.nav-lang-sep { font-size: .45rem; color: var(--c-border); line-height: 1 }
.nav-btn {
  font-size: .64rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-red); border: 1px solid var(--c-red);
  padding: .48rem 1.3rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-btn:hover { background: var(--c-red); color: #fff }

/* ─── MEGA ───────────────────────────────────────────── */
.mega {
  position: fixed; top: var(--nav-h); inset-inline: 0; z-index: 490;
  background: rgba(245,242,238,.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
  transition: max-height .34s var(--e2), opacity .24s ease;
}
.mega.is-open { max-height: 440px; opacity: 1; pointer-events: auto }
.mega-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 2.5rem var(--pad);
  display: grid; gap: 0;
}
.mc { padding: 0 2rem 0 0 }
.mc + .mc { border-left: 1px solid var(--c-border); padding-left: 2rem }
.mc-label {
  font-size: .54rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 1rem;
}
.ml { display: block; padding: .48rem 0; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s }
.ml:hover { border-bottom-color: var(--c-border) }
.ml b { display: block; font-size: .83rem; font-weight: 600; color: var(--c-ink); margin-bottom: .14rem; transition: color .2s }
.ml:hover b { color: var(--c-red) }
.ml span { font-size: .7rem; line-height: 1.5; color: var(--c-muted) }
.mc-feat { padding-left: 2rem; border-left: 1px solid var(--c-border) }
.mc-feat-label { font-size: .54rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--c-muted2); margin-bottom: .7rem }
.mc-feat-card { background: var(--c-bg2); padding: 1.4rem; display: block; text-decoration: none; position: relative; overflow: hidden }
.mc-feat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,16,46,.06), transparent 55%) }
.mc-feat-tag { font-size: .54rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-red); margin-bottom: .35rem; position: relative }
.mc-feat-title { font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--c-ink); position: relative }

/* ─── HERO ───────────────────────────────────────────── */
.hero { border-bottom: 1px solid var(--c-border) }

/* The visual is now the full hero — text lives inside it */
.hero-visual {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}

/* Image layer */
.hero-visual picture,
.hero-visual .hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  animation: kenburns 16s ease forwards;
}
@keyframes kenburns {
  from { transform: scale(1.05) }
  to   { transform: scale(1) }
}


/* Text over the overlay */
.hero-body {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: calc(var(--nav-h) + 5rem) var(--pad) 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end;
}

/* Placeholder — shown when no image available */
.hero-placeholder {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, var(--c-bg2) 0%, var(--c-bg3) 60%, var(--c-bg2) 100%);
}
.hero-placeholder p {
  position: absolute; bottom: 2rem; left: var(--pad);
  font-size: .62rem; color: var(--c-muted);
  border-left: 2px solid var(--c-red); padding-left: .8rem; line-height: 1.6;
  max-width: 52ch;
}

/* TYPOGRAPHY — feines Gewicht, souverän */
.hero-claim {
  font-size: clamp(2.2rem, 4.5vw, 5.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--c-ink);
}
.hero-claim .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em }
.hero-claim .ln span {
  display: block; transform: translateY(105%);
  animation: riseUp .82s var(--e2) forwards;
}
.hero-claim .ln:nth-child(1) span { animation-delay: .35s }
.hero-claim .ln:nth-child(2) span { animation-delay: .47s }
.hero-claim .ln:nth-child(3) span { animation-delay: .59s }

.hero-text { opacity: 0; animation: fadeUp .7s ease .85s forwards }
.hero-lead {
  font-size: .97rem; font-weight: 300; line-height: 1.88;
  color: var(--c-ink2); margin-bottom: 1rem; max-width: 46ch;
}
.hero-lead strong { font-weight: 600; color: var(--c-ink) }

.hero-note {
  font-size: .78rem; line-height: 1.75; color: var(--c-muted); max-width: 44ch;
  margin-bottom: 2rem;
}
.hero-note a { color: var(--c-red); text-decoration: none }
.hero-note a:hover { text-decoration: underline }
.hero-lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.hero-lead a:hover { color: var(--c-red) }

.acts { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap }
.btn-fill {
  font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--c-red); padding: .78rem 1.9rem;
  text-decoration: none; transition: opacity .2s;
}
.btn-fill:hover { opacity: .85 }
.btn-text {
  font-size: .63rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted); text-decoration: none; display: flex; align-items: center; gap: .55rem;
  transition: color .2s;
}
.btn-text::after {
  content: ''; display: block; width: 28px; height: 1px; background: currentColor;
  transition: width .3s var(--e2);
}
.btn-text:hover { color: var(--c-ink) }
.btn-text:hover::after { width: 44px }

/* ─── SECTOR LINE ────────────────────────────────────── */
.sectors {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
  padding: .9rem var(--pad);
}
.sectors-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center;
}
.sectors-inner span {
  font-size: .62rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted2);
}
.sectors-inner span[aria-hidden] { color: var(--c-border); font-weight: 400 }

/* ─── SECTIONS ───────────────────────────────────────── */
.s { border-top: 1px solid var(--c-border) }
.s-inner { max-width: var(--max); margin: 0 auto; padding: 6rem var(--pad) }
.s-label {
  font-size: .55rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 3rem;
}
/* H2: feiner, editorial */
.s-h {
  font-size: clamp(1.55rem, 3vw, 2.8rem);
  font-weight: 550;
  line-height: 1.18; letter-spacing: -.008em;
}

/* ─── LEISTUNGEN ─────────────────────────────────────── */
.lst-head { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 4rem }
.lst-head p { font-size: .92rem; font-weight: 300; line-height: 1.88; color: var(--c-ink2); max-width: 46ch }
.lst-head p a { color: var(--c-red); text-decoration: none }
.lst-head p a:hover { text-decoration: underline }

.lst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px }
.lst-card {
  background: var(--c-bg2); padding: 2.2rem; text-decoration: none;
  display: flex; flex-direction: column; min-height: 220px;
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease, background .2s;
}
.lst-card.on { opacity: 1; transform: none }
.lst-card:hover { background: var(--c-bg3) }
.lst-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--c-red); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--e2);
}
.lst-card:hover::before { transform: scaleY(1) }
.lst-n { font-size: .55rem; font-weight: 600; letter-spacing: .12em; color: var(--c-red) }
.lst-card h3 {
  font-size: .95rem; font-weight: 600; line-height: 1.32;
  letter-spacing: -.005em; color: var(--c-ink);
  margin: auto 0 .55rem;
}
.lst-card p { font-size: .77rem; line-height: 1.72; color: var(--c-muted) }
.lst-arr {
  margin-top: 1.4rem; font-size: .85rem; color: var(--c-red);
  opacity: 0; transform: translateX(-5px);
  transition: opacity .2s, transform .2s;
}
.lst-card:hover .lst-arr { opacity: 1; transform: none }

/* ─── FEATURED CASE ──────────────────────────────────── */
.feat { border-top: 1px solid var(--c-border) }
.feat-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
}

/* Featured image
   Eleventy: {% heroImage "src/img/hella-hero.jpg", "...", "50vw", "feat-img" %}
   IMAGE BRIEF: Automotive-Sensorik oder Scheinwerfer-Makro.
   Dunkel, technisch, still. Keine Person. Hochformat 3:4 oder 4:5.
   Pexels: „automotive sensor macro dark" oder „car headlight technology close-up"
*/
.feat-visual {
  overflow: hidden; background: var(--c-bg2);
  min-height: 520px; position: relative;
}
.feat-visual picture, .feat-visual .feat-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--e1);
}
.feat:hover .feat-img { transform: scale(1.03) }
.feat-ph {
  width: 100%; height: 100%; min-height: 520px;
  background: var(--c-bg3);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 2rem;
}
.feat-ph em {
  font-size: .62rem; color: var(--c-muted); font-style: normal;
  border-left: 2px solid var(--c-red); padding-left: .8rem; line-height: 1.65;
}

.feat-content {
  padding: 5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--c-bg2);
}
.feat-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem }
.feat-tag {
  font-size: .54rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-muted); border: 1px solid var(--c-border); padding: .3rem .8rem;
}
.feat-content h2 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 550; line-height: 1.22; letter-spacing: -.01em; margin-bottom: 1.5rem;
}
.feat-sub {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted2); margin-bottom: .4rem;
}
.feat-content p {
  font-size: .86rem; font-weight: 300; line-height: 1.9;
  color: var(--c-ink2); margin-bottom: 1rem; max-width: 46ch;
}
.feat-link {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.8rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-red); text-decoration: none;
  border-bottom: 1px solid var(--c-red); padding-bottom: .28rem;
  transition: opacity .2s;
}
.feat-link:hover { opacity: .7 }

/* ─── CASES GRID ─────────────────────────────────────── */
.cases-bg { background: var(--c-bg2); border-top: 1px solid var(--c-border) }
.cases-inner { max-width: var(--max); margin: 0 auto; padding: 5rem var(--pad) }
.cases-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 3.5rem }
.cases-all {
  font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-red); text-decoration: none; border-bottom: 1px solid var(--c-red);
  padding-bottom: .2rem; transition: opacity .2s;
}
.cases-all:hover { opacity: .7 }

.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px }
.c-card {
  background: var(--c-bg); text-decoration: none;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.c-card.on { opacity: 1; transform: none }
.c-card:hover .c-visual picture,
.c-card:hover .c-img { transform: scale(1.04) }

/* Card image
   Eleventy: {% image "src/img/[case]-card.jpg", "...", "(max-width:768px)100vw,33vw", "c-img" %}
*/
.c-visual {
  overflow: hidden; background: var(--c-bg2);
  aspect-ratio: 4/3;
}
.c-visual picture, .c-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--e1);
}
.c-ph { width: 100%; height: 100%; background: var(--c-bg3); display: flex; align-items: flex-end; padding: 1.2rem }
.c-ph small { font-size: .57rem; color: var(--c-muted); font-style: italic; line-height: 1.5 }

.c-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column }
.c-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .9rem }
.c-tag {
  font-size: .52rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-muted); border: 1px solid var(--c-border); padding: .26rem .68rem;
}
.c-card h3 {
  font-size: .92rem; font-weight: 600; line-height: 1.32;
  letter-spacing: -.005em; color: var(--c-ink); margin-bottom: .55rem;
}
.c-card p { font-size: .76rem; line-height: 1.72; color: var(--c-muted); flex: 1 }
.c-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--c-border);
}
.c-industry { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted2) }
.c-arr {
  font-size: .8rem; color: var(--c-red);
  opacity: 0; transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
}
.c-card:hover .c-arr { opacity: 1; transform: none }

/* ─── UNTERSCHIED ────────────────────────────────────── */
.diff-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 7rem; align-items: start }
.diff-l .s-h { margin-bottom: 1.4rem }
.diff-l p { font-size: .88rem; font-weight: 300; line-height: 1.9; color: var(--c-ink2); max-width: 44ch }
.diff-r { display: grid; grid-template-columns: 1fr 1fr; gap: 1px }
.diff-item {
  background: var(--c-bg2); padding: 1.8rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.diff-item.on { opacity: 1; transform: none }
.diff-num { font-size: .54rem; font-weight: 600; letter-spacing: .15em; color: var(--c-red); margin-bottom: .7rem }
.diff-item h3 { font-size: .87rem; font-weight: 600; letter-spacing: -.005em; margin-bottom: .4rem }
.diff-item p { font-size: .74rem; line-height: 1.7; color: var(--c-muted) }

/* ─── KONTAKT ────────────────────────────────────────── */
.contact { border-top: 1px solid var(--c-border) }
.contact-inner {
  max-width: var(--max); margin: 0 auto; padding: 6rem var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: end;
}
.contact-inner h2 {
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.015em; max-width: 15ch;
}
.contact-r p { font-size: .88rem; font-weight: 300; line-height: 1.9; color: var(--c-ink2); margin-bottom: 1.8rem; max-width: 44ch }
.contact-mail {
  font-size: clamp(.88rem, 1.7vw, 1.3rem); font-weight: 400; letter-spacing: -.01em;
  color: var(--c-ink); text-decoration: none; display: inline-block; position: relative;
}
.contact-mail::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
  background: var(--c-red); transition: width .35s var(--e2);
}
.contact-mail:hover::after { width: 100% }
.contact-note { font-size: .68rem; color: var(--c-muted); margin-top: .7rem; line-height: 1.65 }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--c-ink); color: rgba(245,242,238,.8);
  padding: 4rem var(--pad) 2.5rem;
}
.ft-w { max-width: var(--max); margin: 0 auto }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem }
.ft-logo { margin-bottom: .9rem }
.ft-logo svg { height: 15px; fill: rgba(245,242,238,.8) }
.ft-tagline {
  font-size: .77rem; line-height: 1.7;
  color: rgba(245,242,238,.8);
  margin-bottom: 1.1rem;
}
.ft-brand p { font-size: .74rem; line-height: 1.7; color: rgba(245,242,238,.4); max-width: 24ch }
.ft-extra-links { display: flex; flex-direction: column; gap: .45rem }
.ft-extra-links a {
  font-size: .72rem; color: rgba(245,242,238,.38); text-decoration: none;
  transition: color .2s;
}
.ft-extra-links a:hover { color: rgba(245,242,238,.75) }
.ft-col h4 {
  font-size: .56rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(245,242,238,.3); margin-bottom: 1.1rem;
}
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem }
.ft-col a { font-size: .76rem; color: rgba(245,242,238,.5); text-decoration: none; transition: color .2s }
.ft-col a:hover { color: rgba(245,242,238,.9) }
.ft-bottom {
  padding-top: 1.8rem; border-top: 1px solid rgba(245,242,238,.07);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.ft-bottom p, .ft-bottom a { font-size: .66rem; color: rgba(245,242,238,.3); text-decoration: none }
.ft-bottom a:hover { color: rgba(245,242,238,.65) }
.ft-seo { display: flex; gap: 1.4rem; flex-wrap: wrap }

/* ─── REVEALS ────────────────────────────────────────── */
.rev { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s var(--e2) }
.rev.on { opacity: 1; transform: none }
.rev.d1 { transition-delay: .07s } .rev.d2 { transition-delay: .14s } .rev.d3 { transition-delay: .21s }

/* ─── KEYFRAMES ──────────────────────────────────────── */
@keyframes riseUp { from { transform: translateY(105%) } to { transform: translateY(0) } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  #nav ul, .nav-btn { display: none }
  .hero-body { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem }
  .strip { grid-template-columns: 1fr 1fr }
  .strip-item { border-right: none; border-bottom: 1px solid var(--c-border) }
  .lst-head { grid-template-columns: 1fr; gap: 1.5rem }
  .lst-grid { grid-template-columns: 1fr 1fr }
  .feat-inner { grid-template-columns: 1fr }
  .feat-content { padding: 3rem 2rem }
  .cases-grid { grid-template-columns: 1fr 1fr }
  .diff-inner { grid-template-columns: 1fr; gap: 3rem }
  .diff-r { grid-template-columns: 1fr }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem }
  .mega { display: none }
  .nav-wrap { padding: 0 1.5rem }
  .s-inner { padding: 4.5rem 1.5rem }
  /* Scope: nebeneinander stehende Blöcke untereinander */
  .scope-limits { grid-template-columns: 1fr !important; gap: 3rem !important }
  /* Contact-Block innerhalb von Scope/anderen Seiten */
  .contact-inner { padding: 4rem 1.5rem }
}
@media (max-width: 640px) {
  .lst-grid, .cases-grid { grid-template-columns: 1fr }
  .ft-grid { grid-template-columns: 1fr }
  footer { padding: 3.5rem 1.5rem 2rem }
  .contact-inner { padding: 3.5rem 1.5rem }
}

/* ── HAMBURGER BUTTON ───────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: .5rem;
  width: 36px; height: 36px;
}
@media (max-width: 1024px) { .nav-hamburger { display: flex } }
.ham-bar {
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  display: block;
  transform-origin: center;
  transition: transform .38s var(--e2), opacity .25s ease, width .3s ease;
}
.nav-hamburger[aria-expanded="true"] .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .ham-bar:nth-child(2) {
  opacity: 0; width: 0;
}
.nav-hamburger[aria-expanded="true"] .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU OVERLAY ──────────────────────────────────── */
.mob-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 480;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  padding: 3rem 1.5rem 3.5rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .4s var(--e2);
  overflow-y: auto;
}
.mob-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media (min-width: 1025px) { .mob-menu { display: none } }

/* Nav-Items: subtiles Einschweben von unten, mit Opacity */
.mob-nav-list { list-style: none; flex: 1 }
.mob-item {
  border-bottom: 1px solid rgba(26,23,20,.06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .55s var(--e2);
}
.mob-menu.is-open .mob-item { opacity: 1; transform: none }
.mob-menu.is-open .mob-item:nth-child(1) { transition-delay: .10s }
.mob-menu.is-open .mob-item:nth-child(2) { transition-delay: .18s }
.mob-menu.is-open .mob-item:nth-child(3) { transition-delay: .26s }
.mob-menu.is-open .mob-item:nth-child(4) { transition-delay: .34s }

/* Elegant: leichtes Gewicht, gedämpfte Ausgangsfarbe */
.mob-nav-list a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 0;
  font-size: clamp(1.3rem, 5vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--c-muted);
  text-decoration: none;
  transition: color .4s ease;
}
/* Kleines rotes Quadrat als permanenter Indikator — kein Hover nötig */
.mob-nav-list a::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--c-red);
  flex-shrink: 0;
  opacity: .75;
  transition: opacity .4s ease;
}
.mob-nav-list a:hover,
.mob-nav-list a:active { color: var(--c-ink) }
.mob-nav-list a:hover::before,
.mob-nav-list a:active::before { opacity: 1 }

/* CTA am unteren Ende, kein Footer-Wrapper */
.mob-cta-wrap {
  margin-top: auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26,23,20,.06);
  opacity: 0;
  transition: opacity .4s ease .42s;
}
.mob-menu.is-open .mob-cta-wrap { opacity: 1 }
.mob-cta {
  display: inline-block;
  font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-red); border: 1px solid var(--c-red);
  padding: .65rem 1.8rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.mob-cta:hover { background: var(--c-red); color: #fff }

/* ── HOVER-SPOTLIGHT ───────────────────────────────────────────────────
   Gehoverte Card: farbig. Alle anderen Cards: Graustufe + leicht gedimmt.
   Hero und Featured Case bleiben unberührt.
   CSS :has() – Chrome 105+, Safari 15.4+, Firefox 121+. Kein JS.
──────────────────────────────────────────────────────────────────────── */

.cases-grid:has(.c-card:hover) .c-visual picture img,
.cases-grid:has(.c-card:hover) .c-visual img {
  filter: grayscale(1);
  transition: filter .4s ease;
}

.cases-grid .c-card:hover .c-visual picture img,
.cases-grid .c-card:hover .c-visual img {
  filter: grayscale(0);
  transition: filter .15s ease;
}

.cases-grid:has(.c-card:hover) .c-card {
  opacity: .65;
  transition: opacity .4s ease;
}

.cases-grid .c-card:hover {
  opacity: 1 !important;
  transition: opacity .15s ease;
}

/* Touch-Geräte: kein Hover-State, also auch kein Spotlight */
@media (hover: none) {
  .cases-grid:has(.c-card:hover) .c-visual picture img,
  .cases-grid:has(.c-card:hover) .c-visual img {
    filter: grayscale(0);
  }
  .cases-grid:has(.c-card:hover) .c-card {
    opacity: 1;
  }
}

/* ── CASE STUDY PAGES ────────────────────────────────────────────────── */

.cs-hero {
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--c-border);
}
.cs-hero-visual {
  position: relative;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--c-bg2);
}
.cs-hero-visual picture,
.cs-hero-visual .cs-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  animation: kenburns 14s ease forwards;
}
.cs-hero-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(245,242,238,.75) 0%,
    rgba(245,242,238,.65) 40%,
    rgba(245,242,238,.9) 100%);
}

/* Grain auf Case-Study-Hero (gleiche Textur wie Homepage) */
.cs-hero-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}
.cs-hero-placeholder {
  position: absolute; inset: 0;
  background: var(--c-bg3);
  display: flex; align-items: flex-end; padding: 2rem;
}
.cs-hero-placeholder p {
  font-size: .62rem; color: var(--c-muted);
  border-left: 2px solid var(--c-red); padding-left: .8rem; line-height: 1.6;
}
.cs-hero-body {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 3rem var(--pad) 4rem;
}
.cs-hero-tags {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.cs-tag {
  font-size: .55rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-muted); border: 1px solid var(--c-border); padding: .3rem .8rem;
}
.cs-hero-title {
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 500; line-height: 1.08; letter-spacing: -.015em;
  color: var(--c-ink); max-width: 22ch;
}

.cs-content { border-bottom: 1px solid var(--c-border) }
.cs-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 5rem var(--pad);
}

.cs-section-label {
  font-size: .56rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 1.2rem;
}
.cs-intro-text p {
  font-size: .92rem; font-weight: 300; line-height: 1.9;
  color: var(--c-ink2); margin-bottom: 1rem;
}
.cs-intro-text strong { font-weight: 600; color: var(--c-ink) }

.cs-leistungen-list li {
  font-size: .86rem; line-height: 1.6; color: var(--c-ink2);
  padding: .7rem 0; border-bottom: 1px solid var(--c-border);
  display: flex; gap: .6rem;
}
.cs-leistungen-list li::before {
  content: '→'; color: var(--c-red); flex-shrink: 0; font-size: .8rem;
}
.cs-leistungen-list li:first-child { border-top: 1px solid var(--c-border) }

.cs-body-text p {
  font-size: .9rem; font-weight: 300; line-height: 1.9;
  color: var(--c-ink2); margin-bottom: 1rem; max-width: 70ch;
}

.cs-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 3rem;
  border-top: 1px solid var(--c-border);
  padding-top: 3rem;
}
.cs-fact { padding: 1.5rem 0 }
.cs-fact-n {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1;
  color: var(--c-ink); margin-bottom: .4rem;
}
.cs-fact-l { font-size: .76rem; color: var(--c-muted); line-height: 1.5 }

.cs-nav {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
}
.cs-nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 2rem var(--pad);
  display: flex; justify-content: space-between; align-items: center;
}
.cs-nav-back {
  font-size: .65rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted); text-decoration: none; transition: color .2s;
}
.cs-nav-back:hover { color: var(--c-ink) }
.cs-nav-next {
  text-align: right; text-decoration: none;
  display: flex; flex-direction: column; gap: .2rem;
}
.cs-nav-next span {
  font-size: .58rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-muted2);
}
.cs-nav-next strong {
  font-size: .88rem; font-weight: 600; color: var(--c-ink); transition: color .2s;
}
.cs-nav-next:hover strong { color: var(--c-red) }

@media (max-width: 1024px) {
  .cs-intro-grid { grid-template-columns: 1fr; gap: 3rem }
  .cs-facts { grid-template-columns: 1fr 1fr }
  .cs-hero-body { padding: 2rem 1.5rem 3rem }
  .cs-inner { padding: 4rem 1.5rem }
}

/* ── PAGE HEADER (shared) ──────────────────────────────────────────────── */
.pg-header {
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg2);
}
.pg-header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 5rem var(--pad) 4rem;
}
.pg-header-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 500; line-height: 1.05; letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.pg-header-lead {
  font-size: .96rem; font-weight: 300; line-height: 1.85;
  color: var(--c-ink2); max-width: 54ch;
}

/* ── CASE STUDIES LISTING PAGE ───────────────────────────────────────── */
.cs-listing { border-top: 1px solid var(--c-border) }
.cs-listing-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 6rem;
}

/* Featured case – großes 2-Spalten-Layout */
.csl-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; text-decoration: none;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2px;
}
.csl-featured-visual { overflow: hidden; background: var(--c-bg2); min-height: 480px }
.csl-featured-visual picture,
.csl-featured-visual .csl-featured-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--e1);
}
.csl-featured:hover .csl-featured-img { transform: scale(1.03) }
.csl-featured-body {
  padding: 4rem 3.5rem;
  background: var(--c-bg2);
  display: flex; flex-direction: column; justify-content: center;
}
.csl-featured-title {
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 550; line-height: 1.2; letter-spacing: -.012em;
  color: var(--c-ink); margin: 1.2rem 0 1rem;
}
.csl-featured-text {
  font-size: .85rem; font-weight: 300; line-height: 1.82;
  color: var(--c-ink2); margin-bottom: 1.5rem;
}

/* Restliche Cases – 3-Spalten-Grid */
.csl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.csl-card {
  background: var(--c-bg2); text-decoration: none;
  display: flex; flex-direction: column;
  transition: background .2s;
}
.csl-card:hover { background: var(--c-bg3) }
.csl-visual { overflow: hidden; aspect-ratio: 4/3; background: var(--c-bg3) }
.csl-visual picture, .csl-visual .csl-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--e1);
}
.csl-card:hover .csl-img { transform: scale(1.04) }
.csl-body {
  padding: 1.8rem; flex: 1; display: flex; flex-direction: column;
}
.csl-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem }
.csl-title {
  font-size: .95rem; font-weight: 600; line-height: 1.3;
  letter-spacing: -.005em; color: var(--c-ink); margin-bottom: .6rem;
}
.csl-text { font-size: .78rem; line-height: 1.72; color: var(--c-muted); flex: 1 }
.csl-link {
  display: block; margin-top: 1.2rem;
  font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-red); transition: opacity .2s;
}
.csl-card:hover .csl-link { opacity: .7 }
.csl-featured .csl-link { color: var(--c-red) }

/* ── CONTACT PAGE ─────────────────────────────────────────────────── */
.contact-pg { border-top: 1px solid var(--c-border) }
.contact-pg-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 6rem var(--pad);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start;
}
.contact-pg-intro {
  font-size: 1rem; font-weight: 300; line-height: 1.88;
  color: var(--c-ink2); margin-bottom: 2.5rem; max-width: 44ch;
}
.contact-pg-email { margin-bottom: 2rem }
.contact-mail-lg {
  font-size: clamp(1.1rem, 2.2vw, 1.8rem); font-weight: 400; letter-spacing: -.01em;
  color: var(--c-ink); text-decoration: none; display: inline-block; position: relative;
}
.contact-mail-lg::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--c-red); transition: width .35s var(--e2);
}
.contact-mail-lg:hover::after { width: 100% }
.contact-pg-hint {
  padding-top: 1.5rem; border-top: 1px solid var(--c-border);
}
.contact-pg-hint p {
  font-size: .78rem; line-height: 1.7; color: var(--c-muted);
}
.contact-pg-hint a { color: var(--c-red); text-decoration: none }
.contact-pg-hint a:hover { text-decoration: underline }

.contact-pg-block { margin-bottom: 2.5rem }
.contact-pg-block-label {
  font-size: .56rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 1rem;
}
.contact-pg-list {
  list-style: none; display: flex; flex-direction: column; gap: 0;
}
.contact-pg-list li {
  font-size: .84rem; color: var(--c-ink2); line-height: 1.55;
  padding: .55rem 0; border-bottom: 1px solid var(--c-border);
}
.contact-pg-list li:first-child { border-top: 1px solid var(--c-border) }
.contact-pg-address {
  font-style: normal; font-size: .82rem; line-height: 1.85; color: var(--c-ink2);
}

@media (max-width: 1024px) {
  .csl-featured { grid-template-columns: 1fr }
  .csl-featured-visual { min-height: 280px }
  .csl-featured-body { padding: 2.5rem 1.5rem }
  .csl-grid { grid-template-columns: 1fr 1fr }
  .contact-pg-inner { grid-template-columns: 1fr; gap: 4rem }
  .pg-header-inner { padding: 4rem 1.5rem 3rem }
  .cs-listing-inner { padding: 0 1.5rem 4rem }
}
@media (max-width: 640px) {
  .csl-grid { grid-template-columns: 1fr }
}
/* Dark hero overlay — leicht aufgehellt vs. Original */
.hero-visual::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg,
    rgba(10,8,6,.42) 0%,
    rgba(10,8,6,.28) 35%,
    rgba(10,8,6,.72) 100%);
}

/* Grain-Textur — subtiles Film-Korn, kein JS, kein externes Bild */
.hero-visual::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: .048;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
}

/* Scroll-Indikator — animierte 1px-Linie, erscheint nach Hero-Einzug */
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: var(--pad);
  z-index: 4; display: flex; flex-direction: column;
  align-items: center; gap: .55rem;
  opacity: 0; animation: fadeIn .5s ease 1.6s forwards;
}
.hero-scroll-label {
  font-size: .5rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(245,242,238,.38);
  writing-mode: vertical-lr; transform: rotate(180deg);
}
.hero-scroll-track {
  width: 1px; height: 52px;
  background: rgba(245,242,238,.14);
  position: relative; overflow: hidden;
}
.hero-scroll-track::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--c-red);
  animation: scrollPulse 2.2s cubic-bezier(.4,0,.6,1) 1.8s infinite;
}
@keyframes scrollPulse {
  0%   { top: -50% }
  100% { top: 110% }
}
@media (hover: none) { .hero-scroll { display: none } }
@media (max-width: 1024px) { .hero-scroll { display: none } }
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-track::after { animation: none; top: 30%; background: rgba(200,16,46,.4) }
}
.hero-eyebrow{font-size:.62rem;font-weight:500;letter-spacing:.25em;
  text-transform:uppercase;color:rgba(245,242,238,.6);margin-bottom:2.5rem;
  opacity:0;animation:fadeIn .6s ease .4s forwards}
.hero-claim{color:#f5f2ee;
  text-shadow:0 2px 28px rgba(0,0,0,.45),0 1px 4px rgba(0,0,0,.2)}
.hero-lead{color:rgba(245,242,238,.85)}
.hero-lead strong{color:#f5f2ee}
.hero-note{color:rgba(245,242,238,.62)}
/* Q&A */
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:3rem}
.qa-item{padding:2rem;background:var(--c-bg2)}
.qa-item h3{font-size:.92rem;font-weight:600;margin-bottom:.6rem}
.qa-item p{font-size:.8rem;line-height:1.75;color:var(--c-muted)}
/* References card */
.c-card--refs{background:var(--c-bg3);cursor:default}
.c-refs-text{font-size:.76rem;line-height:1.85;color:var(--c-muted)}
/* Footer brand col */
.ft-brand-col{display:flex;flex-direction:column}
@media(max-width:768px){.qa-grid{grid-template-columns:1fr}}