/* =================================================================
   CALENBERG — PROJEKT-DETAILSEITEN
   -----------------------------------------------------------------
   Gemeinsames Stylesheet für alle Case-Seiten unter /projekte/.
   Fonts werden aus ../fonts/ geladen (Pfad relativ zu dieser Datei).
   Design-Tokens & Komponenten spiegeln index.html 1:1 wider —
   hier nur das, was für Detailseiten gebraucht wird.
   ================================================================= */

/* ===== GILMER ===== */
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Thin.otf")    format("opentype"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Light.otf")   format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Medium.otf")  format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Bold.otf")    format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilmer"; src: url("../fonts/Gilmer-Heavy.otf")   format("opentype"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fafafa;
  --bg-elev: #f3f3ed;
  --bg-soft: #eeeee6;
  --line: rgba(10,10,10,0.09);
  --line-strong: rgba(10,10,10,0.18);
  --text: #0d0d0d;
  --text-dim: #4a4a46;
  --text-mute: #8f8f88;
  --accent: #BFE3C0;
  --accent-dim: #8fb490;
  --accent-on: #0a0a0a;
  --cream: #f0f0e4;
  --cream-strong: #e1e1c7;
  --bg-rgb: 250,250,250;
  --text-rgb: 13,13,13;
  --accent-rgb: 191,227,192;
  --grain-opacity: 0.025;
  --grain-blend: multiply;
  --section-border: rgba(10,10,10,0.07);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --font-sans: "Gilmer", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --font-serif: var(--font-sans);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-slick: cubic-bezier(0.24, 0.43, 0.15, 0.97);
}
html { background: var(--bg); color-scheme: light; transition: background 0.4s var(--ease), color 0.4s var(--ease); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--accent); color: var(--accent-on); }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: var(--grain-blend);
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; color: inherit; font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV — Floating Pill (harmonisiert mit index.html) ===== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 6px 6px 6px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(var(--bg-rgb), 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: 0 8px 30px -12px rgba(var(--text-rgb), 0.12);
  transition: top 0.4s var(--ease-slick),
              padding 0.4s var(--ease-slick),
              background 0.4s var(--ease),
              box-shadow 0.4s var(--ease),
              transform 0.4s var(--ease-slick);
  max-width: calc(100vw - 24px);
}
.nav.is-scrolled {
  top: 10px;
  background: rgba(var(--bg-rgb), 0.88);
  box-shadow: 0 14px 40px -14px rgba(var(--text-rgb), 0.22);
}
.nav__brand {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 4px 8px 0;
  color: var(--text);
  flex-shrink: 0;
}
.nav__brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
  animation: nav-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0); }
}
.nav__pill {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.nav__pill-indicator {
  position: absolute;
  top: 4px;
  height: calc(100% - 8px);
  background: var(--bg-elev);
  border-radius: var(--radius-pill);
  transition: left 0.55s var(--ease-slick),
              width 0.55s var(--ease-slick),
              opacity 0.3s var(--ease),
              background 0.4s var(--ease);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav__pill.is-ready .nav__pill-indicator { opacity: 1; }
.nav__links {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 4px;
  position: relative;
  z-index: 1;
}
.nav__links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s var(--ease);
  position: relative;
  padding: 8px 16px;
  display: inline-block;
  border-radius: var(--radius-pill);
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__cta {
  padding: 9px 14px 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--accent-on);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--accent-dim);
  color: var(--accent-on);
  transform: translateY(-1px);
}
.nav__cta-arrow { transition: transform 0.3s var(--ease); }
.nav__cta:hover .nav__cta-arrow { transform: translate(3px, -3px); }

/* ===== HAMBURGER / MOBILE NAV ===== */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  z-index: 60;
  position: relative;
}
.nav__hamburger:hover { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.nav__hamburger svg { width: 20px; height: 20px; overflow: visible; display: block; }
.nav__hamburger .hb-line {
  transform-origin: center;
  transform-box: fill-box;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__hamburger.is-open .hb-top { transform: translateY(4px) rotate(45deg); }
.nav__hamburger.is-open .hb-mid { transform: scaleX(0); opacity: 0; }
.nav__hamburger.is-open .hb-bot { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 45; pointer-events: none; visibility: hidden; }
.mobile-nav.is-open { pointer-events: auto; visibility: visible; }
.mobile-nav__backdrop {
  position: absolute; inset: 0;
  background: rgba(var(--bg-rgb), 0.6);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav__panel {
  position: absolute; top: 0; left: 0; right: 0;
  background: rgba(var(--bg-rgb), 0.96);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  padding: 100px 24px 40px;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateY(0); }
.mobile-nav__links { list-style: none; display: flex; flex-direction: column; gap: 0; padding: 0; margin: 0; }
.mobile-nav__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 6vw, 32px); font-weight: 500;
  letter-spacing: -0.02em; color: var(--text);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-nav__links a:first-child { border-top: 1px solid var(--line); }
.mobile-nav__links a:hover { color: var(--accent); padding-left: 8px; }
.mobile-nav__links a svg { color: var(--text-mute); flex-shrink: 0; }
.mobile-nav__cta { margin-top: 32px; display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.mobile-nav__cta .btn {
  font-size: 15px; padding: 16px 24px;
  background: var(--accent); color: var(--accent-on);
  border: 1px solid var(--accent); border-radius: var(--radius-pill);
  width: 100%; justify-content: center; box-sizing: border-box;
  display: inline-flex; align-items: center; gap: 10px;
}
.mobile-nav__cta .btn:hover { background: var(--accent-dim); border-color: var(--accent-dim); color: var(--accent-on); transform: none; }
.mobile-nav__contact { font-size: 13px; color: var(--text-mute); text-align: center; margin: 0; }
.mobile-nav__contact a { color: var(--text-dim); transition: color 0.3s var(--ease); }
.mobile-nav__contact a:hover { color: var(--accent); }

/* ===== SECTION PRIMITIVES ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.section-label::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.section-title {
  font-size: clamp(36px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 1100px;
  margin-bottom: 24px;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-intro {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.6;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: var(--accent-on);
  border: 1px solid var(--accent);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--accent); transform: translateY(-1px); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =================================================================
   PROJEKT-HERO
   ================================================================= */
.case-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.case-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.case-hero__bg::before, .case-hero__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}
.case-hero__bg::before { width: 540px; height: 540px; background: var(--accent); top: -180px; right: -140px; }
.case-hero__bg::after  { width: 460px; height: 460px; background: #1f4a30; bottom: -200px; left: -140px; }

.case-hero__inner { position: relative; z-index: 1; }

.case-hero__crumbs {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
}
.case-hero__crumbs:hover { color: var(--text); border-color: var(--line-strong); }
.case-hero__crumbs svg { transition: transform 0.3s var(--ease); }
.case-hero__crumbs:hover svg { transform: translateX(-3px); }

/* ===== KUNDEN-NAME als Kicker-Überschrift im Hero ===== */
.case-hero__client {
  display: block;
  margin-bottom: 28px;
}
.case-hero__client-logo {
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.case-hero__client-name {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  line-height: 1.2;
}

/* Logo-Varianten: nur logo--light wird gezeigt (Hell-Modus) */
.logo--dark  { display: none; }
.logo--light { display: block; }

/* Logos die nur als weiße Version existieren: im Hellmodus invertieren */
:root { --logo-white-filter: brightness(0); }
.logo--white-only { filter: var(--logo-white-filter); }

.case-hero__title {
  font-size: clamp(48px, 9vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 32px;
}
.case-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.case-hero__lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  max-width: 820px;
}
.case-hero__lead strong { color: var(--text); font-weight: 500; }

/* =================================================================
   META / FACT-SHEET
   ================================================================= */
.case-meta {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.case-meta__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.case-meta__cell { display: flex; flex-direction: column; gap: 12px; }
.case-meta__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.case-meta__value {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
.case-meta__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-meta__tag {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s var(--ease);
}
.case-meta__tag:hover {
  color: var(--accent);
  border-color: var(--line-strong);
}

/* =================================================================
   VISUAL BLOCKS (abstract placeholder surfaces)
   ================================================================= */
.case-visual {
  padding: 80px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.case-visual--elev { background: var(--bg-elev); }

.case-visual__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.case-visual__frame--tall { aspect-ratio: 4 / 3; }
.case-visual__frame--ultra { aspect-ratio: 21 / 9; }

.case-visual__caption {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

/* Seeded gradient surfaces reused from index.html, kept in sync */
.case-viz {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.case-viz-1 { background: radial-gradient(circle at 30% 40%, #2b5a3a, #0a1812 70%), linear-gradient(135deg, #1a3024, #05110a); background-blend-mode: screen; }
.case-viz-1::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 60%, rgba(191,227,192,0.4), transparent 50%); }

.case-viz-2 { background: linear-gradient(135deg, #1e1a2e, #0a0a14); }
.case-viz-2::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(191,227,192,0.08) 0, rgba(191,227,192,0.08) 1px, transparent 1px, transparent 14px); }
.case-viz-2::after  { content: "✦"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 160px; color: rgba(191,227,192,0.28); }

.case-viz-3 { background: linear-gradient(180deg, #2a2218, #0f0c08); }
.case-viz-3::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(225,225,199,0.3), transparent 60%); }
.case-viz-3::after  { content: ""; position: absolute; top: 30%; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, #e1e1c7, transparent); filter: blur(2px); }

.case-viz-4 { background: #0a0a0a; }
.case-viz-4::before { content: ""; position: absolute; width: 140%; height: 140%; top: -20%; left: -20%; background: conic-gradient(from 180deg at 50% 50%, #0a0a0a, #1a3024, #bfe3c0, #1a3024, #0a0a0a); filter: blur(40px); opacity: 0.7; }
.case-viz-4::after  { content: ""; position: absolute; inset: 20%; border: 1px solid rgba(242,242,236,0.2); border-radius: 50%; }

.case-viz-5 { background: linear-gradient(180deg, #14181a, #050606); }
.case-viz-5::before { content: ""; position: absolute; inset: 10% 15%; background: repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(242,242,236,0.1) 24px, rgba(242,242,236,0.1) 25px); }
.case-viz-5::after  { content: ""; position: absolute; inset: 30% 40%; background: var(--accent); border-radius: 2px; }

.case-viz-6 { background: linear-gradient(135deg, #241a1a, #0a0505); }
.case-viz-6::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(180,90,90,0.35), transparent 50%), radial-gradient(circle at 80% 70%, rgba(191,227,192,0.2), transparent 50%); }

.case-viz__hint {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,242,236,0.5);
  padding: 6px 12px;
  border: 1px solid rgba(242,242,236,0.2);
  border-radius: 100px;
  backdrop-filter: blur(6px);
  background: rgba(var(--bg-rgb),0.4);
}

/* =================================================================
   NARRATIVE CHAPTERS (Herausforderung, Ansatz, Lösung, Ergebnis)
   ================================================================= */
.case-chapter {
  padding: 140px 0;
  border-bottom: 1px solid var(--line);
}
.case-chapter--elev { background: var(--bg-elev); }

.case-chapter__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 120px;
  align-items: start;
}
.case-chapter__head { position: sticky; top: 120px; }
.case-chapter__num {
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}
.case-chapter__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.case-chapter__title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.case-chapter__title em { font-style: italic; color: var(--accent); font-weight: 400; }

.case-chapter__body > p {
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 720px;
}
.case-chapter__body > p.dim { color: var(--text-dim); }
.case-chapter__body > p:last-child { margin-bottom: 0; }

.case-chapter__list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-chapter__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.4s var(--ease);
}
.case-chapter--elev .case-chapter__list li { background: var(--bg-elev); }
.case-chapter__list li::before {
  content: "→";
  color: var(--accent);
  font-style: italic;
  flex-shrink: 0;
}
.case-chapter__list li:hover { padding-left: 36px; color: var(--text); }

/* ===== QUOTE ===== */
.case-quote {
  background: var(--bg);
  padding: 140px 0;
  border-bottom: 1px solid var(--line);
}
.case-quote__text {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 1100px;
  margin-bottom: 40px;
}
.case-quote__text em { font-style: italic; color: var(--accent); font-weight: 400; }
.case-quote__text .dim { color: var(--text-mute); }
.case-quote__attr {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-dim);
}
.case-quote__attr::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

/* ===== STATS ===== */
.case-stats {
  padding: 120px 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}
.case-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-stats__cell {
  padding: 40px 32px;
  background: var(--bg-elev);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
}
.case-stats__cell:hover { background: var(--bg-soft); }
.case-stats__num {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--text);
}
.case-stats__num em { font-style: italic; color: var(--accent); font-weight: 400; }
.case-stats__label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.4;
}

/* ===== DELIVERABLES GRID ===== */
.case-grid {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.case-grid__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.case-grid__tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  transition: transform 0.5s var(--ease), border-color 0.3s var(--ease);
}
.case-grid__tile--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.case-grid__tile--narrow { grid-column: span 4; aspect-ratio: 3 / 4; }
.case-grid__tile--full { grid-column: span 12; aspect-ratio: 21 / 9; }
.case-grid__tile--half { grid-column: span 6; aspect-ratio: 4 / 3; }
.case-grid__tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }

/* =================================================================
   REEL / VERTICAL VIDEO (9:16) — z.B. Toyota Lenkgetriebe
   Hintergrund folgt dem Theme (--bg-elev).
   ================================================================= */
.case-reel {
  position: relative;
  padding: 120px 0 140px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.case-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(var(--accent-rgb), 0.10), transparent 70%),
    radial-gradient(circle at 15% 20%, rgba(var(--accent-rgb), 0.06), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(120, 80, 200, 0.05), transparent 50%);
  pointer-events: none;
}
.case-reel__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.case-reel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.case-reel__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.case-reel__frame {
  position: relative;
  width: min(420px, 84vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow:
    0 40px 100px -20px rgba(var(--text-rgb), 0.28),
    0 0 0 1px rgba(var(--accent-rgb), 0.05),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.case-reel__frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 50px 120px -20px rgba(var(--text-rgb), 0.36),
    0 0 0 1px rgba(var(--accent-rgb), 0.18),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.case-reel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.case-reel__sound {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(242,242,236,0.18);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(242,242,236,0.85);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 2;
}
.case-reel__sound:hover {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
  transform: scale(1.05);
}
.case-reel__sound svg { width: 16px; height: 16px; }
.case-reel__sound .icon-on { display: none; }
.case-reel__frame.is-unmuted .case-reel__sound .icon-off { display: none; }
.case-reel__frame.is-unmuted .case-reel__sound .icon-on { display: block; }

.case-reel__hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,242,236,0.85);
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(242,242,236,0.16);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease) 0.2s;
}
.case-reel__frame.is-unmuted .case-reel__hint { opacity: 0; }

.case-reel__meta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  flex-wrap: wrap;
  justify-content: center;
}
.case-reel__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* =================================================================
   NEXT PROJECT TEASER
   ================================================================= */
.case-next {
  padding: 120px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.case-next__card {
  position: relative;
  display: block;
  padding: 80px 60px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  background: var(--bg-elev);
}
.case-next__card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.case-next__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 50%, rgba(var(--accent-rgb),0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.case-next__card:hover::before { opacity: 1; }
.case-next__inner { position: relative; z-index: 1; }
.case-next__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.case-next__label::before { content: ""; width: 24px; height: 1px; background: var(--accent); }

.case-next__title {
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}
.case-next__title em { font-style: italic; color: var(--accent); font-weight: 400; }
.case-next__card:hover .case-next__title { color: var(--accent); }

.case-next__tag {
  font-size: 16px;
  color: var(--text-dim);
}
.case-next__arrow {
  position: absolute;
  right: 60px;
  top: 60px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--ease);
}
.case-next__card:hover .case-next__arrow {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
  transform: translate(6px, -6px);
}

/* =================================================================
   FOOTER (harmonisiert mit index.html — Wordmark + Pulse-Dot)
   ================================================================= */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.footer__main {
  font-size: clamp(80px, 14vw, 240px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 48px;
  color: var(--text);
  white-space: nowrap;
  display: flex;
  align-items: flex-start;
  gap: 0.15em;
}
.footer__dot {
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05em;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5);
  animation: nav-dot-pulse 2.4s ease-in-out infinite;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy { font-size: 13px; color: var(--text-mute); }
.footer__links { display: flex; gap: 24px; list-style: none; }
.footer__links a { font-size: 13px; color: var(--text-dim); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--accent); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1150px) {
  .nav { gap: 12px; }
  .nav__links a { padding: 8px 12px; font-size: 12px; }
}
@media (max-width: 900px) {
  .nav__hamburger { display: inline-flex; }
  .container { padding: 0 20px; }
  .nav { padding: 6px 6px 6px 14px; gap: 6px; }
  .nav__brand { font-size: 14px; gap: 8px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  /* Riesen-Wordmark: Min-Size runter, damit "Calenberg" + Dot
     auch auf 360–390 px Viewports im Container bleibt
     und keinen horizontalen Overflow erzeugt. */
  .footer__main { font-size: clamp(48px, 14vw, 96px); }

  .case-hero { padding: 140px 0 72px; }
  .case-hero__title { font-size: clamp(40px, 12vw, 72px); }

  .case-meta { padding: 48px 0; }
  .case-meta__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .case-chapter { padding: 80px 0; }
  .case-chapter__grid { grid-template-columns: 1fr; gap: 32px; }
  .case-chapter__head { position: static; }

  .case-quote { padding: 80px 0; }
  .case-stats { padding: 72px 0; }
  .case-stats__grid { grid-template-columns: 1fr 1fr; }

  .case-grid { padding: 72px 0; }
  .case-grid__inner { gap: 16px; }
  .case-grid__tile,
  .case-grid__tile--wide,
  .case-grid__tile--narrow,
  .case-grid__tile--full,
  .case-grid__tile--half { grid-column: span 12; aspect-ratio: 4 / 3; }

  .case-next { padding: 72px 0; }
  .case-next__card { padding: 48px 28px; }
  .case-next__arrow { position: static; margin-top: 24px; }

  .case-reel { padding: 80px 0 96px; }
  .case-reel__frame { width: min(340px, 78vw); }
  .case-reel__meta { font-size: 11px; gap: 10px; }
}
