/* ============================================================
   POINT NEMO — Design System
   Marketing, das bewegt.
   ============================================================ */

:root {
  /* Farben (Briefing) */
  --c-primary: #445A7A;      /* Graublau — Buttons, primäre Aktionen */
  --c-secondary: #1E7F5C;    /* Grün — Links, Tags, Highlights */
  --c-bg: #FCFBF8;           /* Warmweiß, hell */
  --c-text: #181B22;         /* Dunkles Anthrazit */
  --c-tint-blue: #DCE2EA;    /* Graublau-Tint */
  --c-tint-green: #DCEEE6;   /* Grün-Tint */
  --c-border: #E4DFD6;       /* Border/Trennlinien */

  --c-primary-dark: #364862;
  --c-secondary-dark: #166448;

  /* Typografie */
  --f-head: 'Archivo Black', sans-serif;
  --f-body: 'Inter', sans-serif;

  /* Layout */
  --w-max: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 20px;
  --radius-sm: 12px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

::selection { background: var(--c-tint-green); color: var(--c-text); }

/* ---------- Typo-Skala ---------- */
h1, h2, h3, .h-style {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.display  { font-size: clamp(2.6rem, 7.4vw, 6.2rem); }
.h2       { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h3       { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.lead     { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; font-weight: 500; }
.small    { font-size: .85rem; }

/* ---------- Buttons & Tags ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1em 1.8em;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform .35s var(--ease-out), background .25s, color .25s, box-shadow .35s;
  will-change: transform;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(68, 90, 122, .55);
}
.btn-ghost {
  border: 1.5px solid var(--c-text);
  color: var(--c-text);
}
.btn-ghost:hover { background: var(--c-text); color: var(--c-bg); transform: translateY(-2px); }
.btn .arr { transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .35em .95em;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tag-green { background: var(--c-tint-green); color: var(--c-secondary-dark); }
.tag-blue  { background: var(--c-tint-blue);  color: var(--c-primary-dark); }

.link-underline {
  position: relative;
  font-weight: 500;
  color: var(--c-secondary);
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Layout-Helfer ---------- */
.wrap { max-width: var(--w-max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(70px, 11vw, 140px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.kicker {
  display: flex;
  align-items: center;
  gap: .7em;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--c-secondary);
  border-radius: 2px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s, transform .45s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(252, 251, 248, .94);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 1px 0 var(--c-border);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-link img { height: 26px; width: auto; }
.logo-link .logo-svg { height: 26px; width: auto; display: block; fill: var(--c-text); }

/* Logo-Lockup nach Markus' Referenz-Animation:
   Wortmarke in zwei Ebenen, das O von NEMO dreht sich nach dem Laden dreimal
   um die eigene Achse (echtes 3D), die Subline spreizt auf die Logobreite auf.
   Die Prozentwerte beschreiben die Lage des O in der Wortmarke. */
.pn-mark {
  position: relative;
  display: block;
  animation: pnAppear 1s ease-out .1s both;
}
.pn-mark img { display: block; }
.pn-base { display: block; clip-path: inset(0 10.55% 0 0); }
.pn-o {
  position: absolute;
  inset: 0;
  display: block;
  transform-origin: 94.78% 50%;
  animation: pnOSpin 16s linear 1.6s both;
}
.pn-o img { clip-path: inset(0 0 0 89.45%); }
@keyframes pnAppear { from { opacity: 0; } to { opacity: 1; } }
/* 16s: drei langsame 360°-Drehungen mit Pausen dazwischen */
@keyframes pnOSpin {
  0%     { transform: perspective(900px) rotateY(0deg);    animation-timing-function: linear; }
  11.9%  { transform: perspective(900px) rotateY(0deg);    animation-timing-function: cubic-bezier(.65,0,.35,1); }
  25.6%  { transform: perspective(900px) rotateY(360deg);  animation-timing-function: linear; }
  43.1%  { transform: perspective(900px) rotateY(360deg);  animation-timing-function: cubic-bezier(.65,0,.35,1); }
  56.9%  { transform: perspective(900px) rotateY(720deg);  animation-timing-function: linear; }
  74.4%  { transform: perspective(900px) rotateY(720deg);  animation-timing-function: cubic-bezier(.65,0,.35,1); }
  88.1%  { transform: perspective(900px) rotateY(1080deg); animation-timing-function: linear; }
  100%   { transform: perspective(900px) rotateY(1080deg); }
}
.noanim .pn-mark, .noanim .pn-o, .noanim .logo-link .logo-sub { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pn-mark, .pn-o, .logo-link .logo-sub { animation: none; }
}
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.main-nav a:not(.btn) {
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav .btn { padding: .65em 1.4em; font-size: .9rem; }

/* Mobile Nav */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a:not(.btn) { font-size: 1.5rem; font-family: var(--f-head); text-transform: uppercase; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
    padding: 8px;
  }
  .nav-toggle span {
    width: 26px; height: 2px;
    background: var(--c-text);
    transition: transform .3s var(--ease-out), opacity .2s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 110px;
  padding-bottom: 40px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.6rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .word { display: inline-block; }
.hero h1 em {
  font-style: normal;
  color: var(--c-primary);
  position: relative;
}
.hero-sub {
  max-width: 34ch;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(24, 27, 34, .75);
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

/* Desktop: Showreel läuft randlos bis zur Bildschirmkante und
   nimmt fast die volle Hero-Höhe ein. Der Text bekommt links Ruhe. */
@media (min-width: 1000px) {
  /* Weniger Leerraum zwischen Header und Headline: Hero sitzt oben,
     statt in der vollen Fensterhöhe zu schweben. */
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(150px, 19vh, 215px);
    padding-bottom: clamp(7rem, 17vh, 12rem);
  }
  /* Scroll-Hinweis sitzt in der Luft zwischen Hero-Inhalt und Marquee */
  .hero .scroll-hint { bottom: clamp(28px, 4.5vh, 44px); }
  .hero-grid {
    grid-template-columns: 1fr min(42vw, 620px);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
  }
  .hero .display { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  /* Das 16:9-Reel vollständig sichtbar, innerhalb des Rasters */
  .hero .reel-card {
    aspect-ratio: 16 / 9;
    max-height: 70vh;
    border-radius: var(--radius);
  }
  .hero .reel-card:hover { transform: translateY(-6px); }
}

/* Showreel-Karte — Desktop quer (16:9-Video), Mobile hochformat (9:16-Video) */
.reel-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: var(--c-text);
  box-shadow: 0 30px 60px -30px rgba(24, 27, 34, .45);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.reel-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 45px 80px -35px rgba(24, 27, 34, .55); }
.reel-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
  /* Ruhezustand s/w — beim Hover kommt die Farbe (und damit die Bewegung) */
  filter: grayscale(1);
  transition: transform .8s var(--ease-out), opacity .4s, filter .6s var(--ease-out);
}
.reel-card:hover img { transform: scale(1.05); opacity: 1; filter: grayscale(0); }
.reel-card .reel-inline {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .6s var(--ease-out);
}
.reel-card:hover .reel-inline { filter: grayscale(0); }
.reel-card .reel-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(250, 248, 245, .92);
  color: var(--c-text);
}
/* Cursor-folgendes Play-Zeichen: erscheint nur beim Hover, verdeckt nichts */
.reel-cursor {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  opacity: 0;
  scale: .5;
  transition: opacity .25s, scale .35s var(--ease-out);
  will-change: transform;
  z-index: 3;
}
.reel-cursor svg {
  width: 52px; height: 52px;
  fill: #fff;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .55));
  display: block;
}
.reel-card:hover .reel-cursor { opacity: 1; scale: 1; }
/* Mobile/Touch: dezente Ecken-Schaltfläche zum Vergrößern */
.reel-fab {
  position: absolute;
  right: 14px; top: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(24, 27, 34, .55);
  color: #fff;
  display: none;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
}
.reel-fab svg { width: 17px; height: 17px; }
@media (hover: none) {
  .reel-cursor { display: none; }
  .reel-fab { display: grid; }
}
.reel-label {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  z-index: 2;
}
/* Verlauf sichert die Lesbarkeit über hellen Bildstellen */
.reel-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(13, 15, 19, .78), transparent);
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 1000px) {
  .hero .reel-label { left: 26px; right: 26px; bottom: 24px; font-size: .92rem; }
  .hero .reel-tag { top: 26px; left: 26px; }
}
.reel-label .dur {
  background: rgba(24, 27, 34, .55);
  backdrop-filter: blur(6px);
  padding: .3em .8em;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  /* Mobil: Hochformat-Karte fürs 9:16-Reel */
  .reel-card { aspect-ratio: 4 / 5; max-width: 420px; }
}

/* Scroll-Hinweis */
.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(24, 27, 34, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: '';
  width: 1.5px; height: 34px;
  background: linear-gradient(to bottom, var(--c-secondary), transparent);
  animation: hintDrop 1.8s var(--ease-out) infinite;
}
@keyframes hintDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   Logo-Marquee (Kunden)
   ============================================================ */
.clients {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-block: 34px;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(24, 27, 34, .45);
  margin-bottom: 22px;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 72s linear infinite;
}
.marquee:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  padding-right: clamp(3rem, 6vw, 5.5rem);
}
.marquee img {
  height: 30px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  /* Die norm_*.png sind reines Schwarz auf Alpha: kein Filter, kein
     Blend-Mode nötig. Beides kostete auf 26 animierten Elementen jeden Frame. */
  opacity: 1;
  transition: opacity .3s;
}
/* Optisch gleiche Logogröße: alle Marken auf gleiche Fläche normiert
   (beschnittene norm_*.png, Höhe je nach Logoproportion). */
.marquee img[src*="norm_puma"]         { height: 29px; }
.marquee img[src*="norm_ikea"]         { height: 35px; }
.marquee img[src*="norm_afro"]         { height: 42px; }
.marquee img[src*="norm_supernatural"] { height: 42px; }
.marquee img[src*="norm_uber"]         { height: 35px; }
.marquee img[src*="norm_hilton"]       { height: 42px; }
.marquee img[src*="norm_nivea"]        { height: 42px; }
.marquee img[src*="norm_mercedes"]     { height: 42px; }
.marquee img[src*="norm_adidas"]       { height: 42px; }
.marquee img[src*="norm_audi"]         { height: 35px; }
.marquee img[src*="norm_xiaomi"]       { height: 42px; }
.marquee img[src*="norm_wasa"]         { height: 32px; }
.marquee img[src*="norm_martinauer"]   { height: 42px; }
.marquee img:hover { opacity: .7; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Leistungen
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.service-card {
  position: relative;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  min-height: clamp(200px, 24vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
/* BTS-Foto als Kachel-Hintergrund */
.service-card .service-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.service-card .service-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .6s var(--ease-out);
  filter: grayscale(.55) contrast(.94) brightness(.98);
}
.service-card:hover .service-photo img { transform: scale(1.04); filter: grayscale(.12) contrast(.96); }
/* Bildausschnitte so setzen, dass Personen in jedem Format sichtbar bleiben */
.services-grid .service-card:nth-child(1) .service-photo img { object-position: center 38%; }
.services-grid .service-card:nth-child(2) .service-photo img { object-position: 22% center; }
.services-grid .service-card:nth-child(3) .service-photo img { object-position: center 42%; }
.services-grid .service-card:nth-child(4) .service-photo img { object-position: center center; }
@media (max-width: 760px) {
  /* Hochformat: Kacheln höher, damit die Motive Luft haben */
  .services-grid .service-card { min-height: 300px; }
}
.service-card .service-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(24, 27, 34, .88) 0%, rgba(24, 27, 34, .55) 42%, rgba(24, 27, 34, .42) 100%),
    rgba(24, 27, 34, .12);
  transition: background .4s;
}
.service-card { color: #fff; border: none; background: var(--c-text); }
.service-card .service-sub { color: rgba(250, 248, 245, .75); }
.service-card .service-num { color: var(--c-tint-green); }
.service-card:nth-child(odd) .service-num { color: var(--c-tint-blue); }
.service-card .service-arrow { border-color: rgba(250, 248, 245, .8); color: #fff; }
.service-card:hover .service-arrow { background: var(--c-secondary); border-color: var(--c-secondary); color: #fff; }
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -24px rgba(24, 27, 34, .45);
}
.service-card > * { position: relative; z-index: 1; }
.service-num {
  font-family: var(--f-head);
  font-size: .95rem;
  color: var(--c-secondary);
}
.service-card:nth-child(odd) .service-num { color: var(--c-primary); }
.service-title { margin-top: auto; }
.service-title .h3 { margin-bottom: .4rem; }
.service-sub { font-size: .92rem; color: rgba(24, 27, 34, .65); }
.service-arrow {
  position: absolute;
  top: clamp(1.6rem, 3vw, 2.6rem);
  right: clamp(1.6rem, 3vw, 2.6rem);
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--c-text);
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease-out), background .3s, border-color .3s;
  z-index: 1;
}
.service-arrow svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .45s var(--ease-out); }
.service-card:hover .service-arrow {
  background: var(--c-text);
  color: var(--c-bg);
  transform: rotate(45deg);
}
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 170px; }
}

/* ============================================================
   Arbeiten / Cases
   ============================================================ */
.case-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.6rem, 3.5vw, 3.4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.case-feature-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.8rem, 1.6vw, 1.2rem);
}
.case-feature-media .ph {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.case-feature-media .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.case-feature-media .ph:hover img { transform: scale(1.04); }
.case-feature-media .ph:nth-child(2) { transform: translateY(clamp(1.4rem, 3vw, 2.6rem)); }
.case-feature-media .ph video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* iPhone-Mockup fürs 9:16-Reel — macht den Social-Einsatz sofort lesbar */
.case-feature-media { position: relative; display: block; }
.case-feature-media .ph:first-child {
  width: 82%;
  aspect-ratio: 4 / 5;
}
.case-feature-media .ph:first-child img { width: 100%; height: 100%; object-fit: cover; }
.case-feature-media .ph-video {
  position: absolute;
  right: 0; bottom: -8%;
  width: 38%;
  z-index: 2;
  aspect-ratio: 9 / 18.5;
  border: 9px solid #0D0F13;
  border-radius: clamp(30px, 3.4vw, 44px);
  background: #0D0F13;
  box-shadow: 0 30px 70px -30px rgba(24, 27, 34, .55), inset 0 0 0 2px #2A2E38;
  overflow: hidden;
  max-width: 300px;
}
@media (max-width: 900px) {
  /* Mobil: iPhone unter dem Foto, leicht überlappend rechts */
  .case-feature-media .ph-video {
    position: relative;
    right: auto; bottom: auto;
    width: 55%;
    margin: -18% 0 0 auto;
  }
}
.case-feature-media .ph-video video { border-radius: clamp(21px, 2.6vw, 34px); }
/* Dynamic Island */
.case-feature-media .ph-video::after {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 15px;
  background: #0D0F13;
  border-radius: 100px;
  z-index: 2;
}

.case-feature-text .tag { margin-bottom: 1.2rem; }
.case-feature-text h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); margin-bottom: 1.1rem; }
.case-feature-text p { color: rgba(24, 27, 34, .72); max-width: 46ch; }

/* Stat-Block */
.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--c-border);
  width: fit-content;
}
.stat .stat-num {
  font-family: var(--f-head);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: var(--c-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .stat-num .suffix { color: var(--c-secondary); }
.stat .stat-label {
  font-size: .8rem;
  color: rgba(24, 27, 34, .6);
  margin-top: .35rem;
}

@media (max-width: 900px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-feature-media { max-width: 560px; }
}

/* Case-Kacheln */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(24, 27, 34, .3);
}
.case-card.tint-blue  { background: var(--c-tint-blue); }
.case-card.tint-green { background: var(--c-tint-green); }
.case-card.tint-warm  { background: #EDE7DC; }
.case-card .client-logo {
  position: absolute;
  top: clamp(1.3rem, 2.4vw, 2rem);
  left: clamp(1.3rem, 2.4vw, 2rem);
  height: 30px;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  opacity: .85;
}
.case-card .case-media {
  position: absolute;
  inset: 0;
}
.case-card .case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.case-card:hover .case-media img { transform: scale(1.05); }
.case-card .case-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 27, 34, .72) 0%, transparent 55%);
}
.case-card .case-info { position: relative; z-index: 1; }
.case-card .case-info .tag { margin-bottom: .7rem; }
.case-card .case-title {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.1;
}
.case-card.has-media .case-title { color: #fff; }
.case-card .case-hint {
  font-size: .85rem;
  margin-top: .4rem;
  color: rgba(24, 27, 34, .6);
}
.case-card.has-media .case-hint { color: rgba(255, 255, 255, .75); }
/* Platzhalter-Muster für Cases ohne Assets */
.case-card.placeholder .case-pattern {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(24, 27, 34, .12) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { aspect-ratio: 16 / 10; }
  /* Hochformat-Karten stehen zu zweit nebeneinander */
  .cases-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   About-Teaser
   ============================================================ */
.about {
  background: var(--c-text);
  color: var(--c-bg);
  border-radius: calc(var(--radius) * 2);
  margin-inline: clamp(10px, 1.6vw, 24px);
  overflow: hidden;
  position: relative;
}
.about .kicker { color: var(--c-tint-green); }
.about .kicker::before { background: var(--c-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.about h2 { color: #fff; }
.about p { color: rgba(250, 248, 245, .72); max-width: 52ch; margin-top: 1.4rem; }
.team-list { display: flex; flex-direction: column; }
.team-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid rgba(250, 248, 245, .14);
  transition: padding-left .35s var(--ease-out);
}
.team-row:first-child { border-top: 1px solid rgba(250, 248, 245, .14); }
.team-row:hover { padding-left: .6rem; }
.team-name {
  font-family: var(--f-head);
  text-transform: uppercase;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  color: #fff;
}
.team-role { font-size: .85rem; color: rgba(250, 248, 245, .55); text-align: right; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact { text-align: center; }
.contact .display { margin-bottom: 1rem; }
.contact .display em { font-style: normal; color: var(--c-secondary); }
.contact-sub { max-width: 44ch; margin: 0 auto 2.4rem; color: rgba(24, 27, 34, .7); }
.contact-mail {
  font-family: var(--f-head);
  font-size: clamp(1.2rem, 3.4vw, 2.2rem);
  text-transform: none;
  color: var(--c-primary);
  display: inline-block;
  margin-top: 2.6rem;
  position: relative;
}
.contact-mail::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2.5px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.contact-mail:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding-block: 44px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-inner img { height: 40px; width: auto; }
.footer-meta {
  font-size: .82rem;
  color: rgba(24, 27, 34, .55);
  line-height: 1.7;
}
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.6rem; font-size: .88rem; font-weight: 500; }
@media (max-width: 760px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .footer-nav { gap: .6rem 1.2rem; }
}
.footer-nav a:hover { color: var(--c-secondary); }

/* ============================================================
   Showreel-Modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 60px);
  background: rgba(24, 27, 34, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal video {
  /* Feste Aspect-Box: Querformat sauber, dunkle Letterbox statt Leerflächen */
  width: min(1080px, 100%);
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  object-fit: contain;
  background: #181B22;
  border-radius: var(--radius-sm);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8);
  transform: scale(.94);
  transition: transform .45s var(--ease-out);
}
@media (max-width: 900px) {
  /* Mobil läuft das 9:16-Reel */
  .modal video {
    width: min(420px, 100%);
    aspect-ratio: 9 / 16;
    max-height: 86vh;
  }
}
.modal.open video { transform: scale(1); }
.modal-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(250, 248, 245, .12);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  transition: background .25s, transform .3s var(--ease-out);
}
.modal-close:hover { background: var(--c-secondary); transform: rotate(90deg); }

/* ============================================================
   Reveal-Basiszustände (GSAP übernimmt)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); }
.reveal.revealed { opacity: 1; transform: none; } /* nach dem Reveal: kein Inline-Transform mehr, CSS-Hover greift */
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

/* ============================================================
   Case-Karten: Video-Hover & Bild-Crossfade
   ============================================================ */
.case-card .case-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s;
}
.case-card:hover .case-media video { opacity: 1; }
/* Hochformat-Karten: Video und Karte haben dasselbe Format,
   dadurch füllt es die Fläche randlos und ohne Beschnitt. */
.case-card .case-media video.autoplay-video {
  opacity: 1;
  object-fit: cover;
  background: #0D0F13;
}
.case-card-portrait { aspect-ratio: 9 / 15; }

/* Dritte Kachel der Reihe: CTA statt Leerstelle */
.case-cta-tile {
  aspect-ratio: 9 / 15;
  border-radius: var(--radius);
  background: var(--c-tint-blue);
  padding: clamp(1.3rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .5s var(--ease-out), background .35s;
}
.case-cta-tile:hover { transform: translateY(-5px); background: var(--c-tint-green); }
.cct-kicker {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.cct-title {
  font-family: var(--f-head);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-text);
  margin-top: auto;
}
.cct-link {
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-secondary);
}
.case-card .case-media .img-alt {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.case-card:hover .case-media .img-alt { opacity: 1; }
.case-card.has-media .client-logo {
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
  opacity: .95;
  z-index: 1;
}

/* ============================================================
   Zapfbeton: Website-&-CD-Case (Design-Disziplin, volle Breite)
   ============================================================ */
.tag-solid {
  background: var(--c-primary);
  color: #fff;
}
.case-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  min-height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-text);
  margin-top: clamp(1rem, 2vw, 1.6rem);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.case-card-wide:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -28px rgba(24, 27, 34, .5);
}
.ccw-info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  isolation: isolate;
}
/* Isometrisches Zapfbeton-Muster als Layer */
.ccw-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/zapfbeton/zapf_muster.8b0367ff.png') center / 130% auto no-repeat;
  opacity: .16;
  z-index: -1;
  transition: opacity .5s, transform .8s var(--ease-out);
}
.case-card-wide:hover .ccw-info::before { opacity: .26; transform: scale(1.04); }
.ccw-logo { width: min(220px, 70%); height: auto; }
.ccw-sub {
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(250, 248, 245, .72);
  max-width: 34ch;
}
.case-card-wide .case-hint { color: var(--c-tint-green); font-size: .9rem; font-weight: 500; }
.ccw-sketch { position: relative; }
.ccw-sketch img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.case-card-wide:hover .ccw-sketch img { transform: scale(1.04); }
.ccw-caption {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  font-size: .78rem;
  font-weight: 500;
  color: #fff;
  background: rgba(24, 27, 34, .72);
  padding: .32em .8em;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ccw-site {
  position: relative;
  padding: clamp(1.2rem, 2.2vw, 2rem);
  display: flex;
  align-items: center;
}
/* Video-Variante (Comedes-Logoanimation) */
.ccw-video video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
}
/* Zwischenheadline vor der Projektübersicht */
.projects-head { margin-top: clamp(3rem, 6vw, 5rem); }
.h2-small { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.browser-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #2A2E38;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
}
.bf-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
}
.bf-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(250, 248, 245, .28); }
.bf-url {
  margin-left: 10px;
  font-size: .72rem;
  color: rgba(250, 248, 245, .6);
  background: rgba(250, 248, 245, .1);
  padding: .25em 1em;
  border-radius: 100px;
}
.bf-viewport {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #fff;
}
/* Live-Site verkleinert eingebettet; Klicks gehen an die Karte */
.bf-viewport iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1280px;
  height: 840px;
  border: 0;
  transform-origin: 0 0;
  transform: scale(var(--bf-scale, .32));
  pointer-events: none;
}
@media (max-width: 1100px) {
  .case-card-wide { grid-template-columns: 1fr 1fr; }
  .ccw-sketch { display: none; }
}
@media (max-width: 760px) {
  .case-card-wide { grid-template-columns: 1fr; min-height: 0; }
  .ccw-info { padding: 1.6rem; }
  .ccw-sketch { display: block; aspect-ratio: 3 / 2; }
  .ccw-site { padding: 1.2rem; }
}

/* ============================================================
   Comedes: 4-Schritte-Prozess-Karte
   ============================================================ */
.case-card-process {
  grid-column: 1 / -1;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-text);
  color: #fff;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: clamp(1rem, 2vw, 1.6rem);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.case-card-process:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -28px rgba(24, 27, 34, .5);
}
.ccp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
}
.ccp-head > div { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ccp-title {
  font-family: var(--f-head);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.case-card-process .case-hint { color: var(--c-tint-green); font-size: .9rem; font-weight: 500; }
.ccp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.4rem);
}
.ccp-step { position: relative; }
.ccp-num {
  font-family: var(--f-head);
  font-size: .85rem;
  color: var(--c-tint-green);
  display: block;
  margin-bottom: .5rem;
}
/* Verbindungslinie zwischen den Schritten */
.ccp-step:not(:last-child) .ccp-num::after {
  content: '';
  position: absolute;
  top: .5em;
  left: 2.4em; right: -.7em;
  height: 1px;
  background: rgba(250, 248, 245, .22);
}
.ccp-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0D0F13;
}
.ccp-visual img, .ccp-visual video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-out);
}
.case-card-process:hover .ccp-visual img { transform: scale(1.04); }
.ccp-label {
  display: block;
  margin-top: .6rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(250, 248, 245, .75);
}
@media (max-width: 760px) {
  .ccp-steps { grid-template-columns: 1fr 1fr; }
  .ccp-step:nth-child(even) .ccp-num::after { display: none; }
}

/* ============================================================
   Eventvideo-Karte (Mazda Mirai Gala)
   ============================================================ */
.ccw-eventcard { grid-template-columns: 1.35fr 1fr; align-items: center; }
/* Video ungeschnitten in 16:9 zeigen, dunkle Fläche statt Crop */
.ccw-eventmedia {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  background: #0D0F13;
}
.ccw-eventmedia video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
}
.event-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(1rem, 2vw, 1.8rem);
  justify-content: start;
}
.event-stats strong {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--c-tint-green);
  line-height: 1;
}
.event-stats span {
  font-size: .78rem;
  color: rgba(250, 248, 245, .6);
}
@media (max-width: 860px) {
  .ccw-eventcard { grid-template-columns: 1fr; }
  .ccw-eventmedia { aspect-ratio: 16 / 9; }
  .ccw-eventmedia video { position: absolute; }
  .event-stats { grid-template-columns: repeat(4, auto); }
}

/* ============================================================
   Kompakte Karten-Reihe (Mazda + Puma Training)
   ============================================================ */
.case-row-2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(1rem, 2vw, 1.6rem);
}
.case-card-half {
  background: var(--c-text);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.case-card-half:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -28px rgba(24, 27, 34, .5);
}
.cch-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0D0F13;
  overflow: hidden;
}
.cch-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.cch-info {
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
}
.cch-line { font-size: .9rem; color: rgba(250, 248, 245, .68); }
.case-card-half .case-hint { color: var(--c-tint-green); font-size: .9rem; font-weight: 500; }
@media (max-width: 860px) {
  .case-row-2 { grid-template-columns: 1fr; }
}

/* Offizielles Kundenlogo im Feature */
.case-feature-text .cf-brand {
  height: 42px;
  width: auto;
  margin-bottom: .9rem;
  display: block;
}

/* ============================================================
   About: Team-Porträts
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.team-card { text-align: left; }
.team-card .team-photo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
}
.team-card .team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform .7s var(--ease-out), filter .5s;
}
.team-card:hover .team-photo img { transform: scale(1.04); filter: grayscale(0); }
.team-card .team-name { display: block; }
.team-card .team-role {
  font-size: .85rem;
  color: rgba(250, 248, 245, .55);
  margin-top: .2rem;
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* ============================================================
   Leistungs-Unterseiten
   ============================================================ */
/* Schlanke Unterseiten-Nav: keine Burger-Logik nötig */
.subnav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); }
.subnav a:not(.btn) {
  font-weight: 500;
  font-size: .95rem;
  position: relative;
}
.subnav a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 2px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.subnav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.subnav .btn { padding: .65em 1.4em; font-size: .9rem; }
@media (max-width: 760px) {
  .subnav a:not(.btn) { display: none; }
  .subnav .btn { white-space: nowrap; padding: .6em 1.1em; font-size: .85rem; }
  .site-header .logo-link img { height: 20px; }
}
.btn { white-space: nowrap; }

.subpage-main { padding-top: 140px; }
.subpage-hero { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.subpage-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); margin-top: .6rem; max-width: 16ch; }
.subpage-lead { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(24, 27, 34, .75); }
.subpage-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.subpage-grid .sp-photo {
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 110px;
}
.subpage-grid .sp-photo img { width: 100%; height: auto; }
.sp-list { display: flex; flex-direction: column; }
.sp-item {
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: baseline;
}
.sp-item:first-child { border-top: 1px solid var(--c-border); }
.sp-item .sp-num {
  font-family: var(--f-head);
  font-size: .8rem;
  color: var(--c-secondary);
  background: var(--c-tint-green);
  width: 2.4em; height: 2.4em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translateY(.2em);
}
.sp-item:nth-child(even) .sp-num {
  color: var(--c-primary);
  background: var(--c-tint-blue);
}
.sp-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.sp-item p { font-size: .95rem; color: rgba(24, 27, 34, .68); }
.sp-partner {
  margin-top: 1.6rem;
  font-size: .9rem;
  color: rgba(24, 27, 34, .6);
}
/* Case-Unterseiten: Medienreihe + Textblock */
.case-page-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.4rem);
  align-items: stretch;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.cpm-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-tint-blue);
  min-height: 260px;
}
.cpm-item img, .cpm-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cpm-item.cpm-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; min-height: 0; }
.event-page-stats { margin-bottom: clamp(2rem, 4vw, 3rem); }
/* Comedes-Unterseite: Journey in 4 Schritten */
.comedes-journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.comedes-journey .cj-num {
  font-family: var(--f-head);
  font-size: .9rem;
  color: var(--c-secondary);
  display: block;
  margin-bottom: .5rem;
}
.comedes-journey .cj-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0D0F13;
  margin-bottom: .8rem;
}
.comedes-journey .cj-visual img, .comedes-journey .cj-visual video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.comedes-journey h3 { font-size: 1rem; margin-bottom: .3rem; }
.comedes-journey p { font-size: .88rem; color: rgba(24, 27, 34, .65); line-height: 1.55; }
@media (max-width: 860px) {
  .comedes-journey { grid-template-columns: 1fr 1fr; }
}

/* „Mit Ton"-Badge auf Case-Videos */
.cpm-item { position: relative; }
.cpm-sound {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .55em 1em;
  border-radius: 100px;
  background: rgba(24, 27, 34, .72);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background .25s, transform .3s var(--ease-out);
  z-index: 2;
}
.cpm-sound:hover { background: var(--c-secondary); transform: translateY(-2px); }
.cpm-sound svg { width: 15px; height: 15px; }
.cpm-item.has-sound-toggle video { cursor: pointer; }

.case-page-body {
  max-width: 62ch;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.case-page-body p { color: rgba(24, 27, 34, .78); line-height: 1.7; }
@media (max-width: 760px) {
  .case-page-media { grid-template-columns: 1fr 1fr; }
  .cpm-item:first-child { grid-column: 1 / -1; }
}

.sp-cta {
  background: var(--c-tint-blue);
  border-radius: var(--radius);
  padding: clamp(2rem, 4.5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.sp-cta .h3 { max-width: 24ch; }
@media (max-width: 860px) {
  .subpage-grid { grid-template-columns: 1fr; }
  .subpage-grid .sp-photo { position: static; order: -1; max-width: 480px; }
}

/* Credits-Zeile auf Case-Seiten: klein & dezent */
.case-page-body .credits {
  font-size: .8rem;
  color: rgba(24, 27, 34, .45);
}
.case-page-body .credits a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.case-page-body .credits a:hover { color: var(--c-secondary); }

/* Instagram-Icon im Footer: Original-Markenverlauf, weißes Glyph */
.footer-nav .ig-link {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  color: #fff;
  background: radial-gradient(circle at 28% 108%, #FDCB5C 0%, #F7913C 22%, #E8483F 42%, #D5289A 62%, #A02BC0 78%, #4E60D3 100%);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.footer-nav .ig-link svg { width: 19px; height: 19px; display: block; }
.footer-nav .ig-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px -8px rgba(213, 40, 154, .55);
}

/* Marquee-Logos sind jetzt Links */
.marquee-group a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-group a:hover img { opacity: .55; }

/* ============================================================
   Kontaktformular
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: clamp(1.6rem, 3vw, 2.6rem) auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.contact-form label { display: flex; flex-direction: column; gap: .4rem; }
.contact-form label span {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(24, 27, 34, .55);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: .85em 1em;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-tint-blue);
}
.contact-form .cf-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: .4rem;
}
.contact-form button { border: none; cursor: pointer; font: inherit; }
@media (max-width: 640px) {
  .contact-form .cf-row { grid-template-columns: 1fr; }
}

/* Impressum */
.legal-body { max-width: 62ch; display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.legal-body h2 { font-size: 1.05rem; margin-top: 1.2rem; }
.legal-body p { color: rgba(24, 27, 34, .75); line-height: 1.7; }

/* Saubere Zeilenumbrüche: keine Silbentrennung, ausgeglichene Zeilen */
h1, h2, h3, .h2, .h3, .sp-cta .h3, .ccp-title {
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

/* Debug/Fallback: ?noanim — keine Motion, kein Smooth-Scroll */
html.noanim { scroll-behavior: auto; }
.noanim .reveal, .noanim .hero .word { opacity: 1 !important; transform: none !important; }
.noanim .marquee { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation-duration: 120s; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* ============================================================
   Mobile-Feinschliff für die Projekt-Kacheln
   (steht am Ende, damit es die Basisregeln überschreibt)
   ============================================================ */
@media (max-width: 900px) {
  .case-card-portrait { aspect-ratio: 9 / 15; }
  .case-cta-tile {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 0;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .case-cta-tile .cct-kicker { display: none; }
  .cct-title { margin-top: 0; font-size: clamp(1.3rem, 5vw, 1.8rem); }
  /* Beschriftung in den schmalen Karten kompakter */
  .case-card-portrait .tag { font-size: .62rem; padding: .35em .7em; }
  .case-card-portrait .case-title { font-size: clamp(.95rem, 3.6vw, 1.2rem); }
  .case-card-portrait .case-hint { font-size: .8rem; }
}

/* Temporärer Build-Stempel für die Abstimmung (vor Launch entfernen) */
.build-stamp { font-size: .7rem; color: rgba(24,27,34,.35); letter-spacing: .04em; }

/* ============================================================
   Foto-Slider: zwei gegenläufige Bänder, farbig
   ============================================================ */
.photo-slider {
  padding-block: clamp(50px, 8vw, 90px);
  overflow: hidden;
}
.photo-slider .kicker { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.slider-viewport {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 18px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.slider-track {
  display: flex;
  width: max-content;
  gap: clamp(10px, 1.4vw, 18px);
}
.slider-track.track-left  { animation: sliderLeft  160s linear infinite; }
.slider-track.track-right { animation: sliderRight 160s linear infinite; }
.slider-track-group {
  display: flex;
  gap: clamp(10px, 1.4vw, 18px);
  flex-shrink: 0;
}
.slide {
  height: clamp(150px, 19vw, 250px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-tint-blue);
}
.slide img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.slider-viewport:hover .slider-track { animation-play-state: paused; }
.slide:hover img { transform: scale(1.05); }
@keyframes sliderLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - clamp(10px, 1.4vw, 18px) / 2)); }
}
@keyframes sliderRight {
  from { transform: translateX(calc(-50% - clamp(10px, 1.4vw, 18px) / 2)); }
  to   { transform: translateX(0); }
}
.noanim .slider-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .slider-track { animation: none; }
}

/* ============================================================
   Logo-Subline
   ============================================================ */
.logo-link { display: inline-flex; flex-direction: column; gap: 4px; }
.logo-sub {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(24, 27, 34, .5);
  padding-left: 2px;
}
/* Header-Subline: gesperrt über die volle Logobreite, spreizt beim Laden auf.
   Absolut positioniert, weil width:100% im shrink-to-fit-Container sonst auf
   die Textbreite kollabiert; der Platz darunter kommt vom padding-bottom. */
.logo-link { position: relative; padding-bottom: 11px; }
.logo-link .logo-sub {
  position: absolute;
  top: 100%;
  margin-top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-left: 0;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  white-space: nowrap;
  font-size: .52rem;
  line-height: 1;
  color: rgba(24, 27, 34, .62);
  animation: pnSub 1.2s cubic-bezier(.77,0,.18,1) 1.1s both;
}
.logo-link .logo-sub i { font-style: normal; }
.logo-link .logo-sub .sp { width: .35em; }
@keyframes pnSub { from { width: 55%; opacity: 0; } to { width: 100%; opacity: 1; } }
/* Footer: Logo mit Subline */
.footer-brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.site-footer .logo-sub { padding-left: 0; letter-spacing: .3em; }

/* About ohne Porträts: Text bekommt Luft */
.about-text { display: flex; flex-direction: column; gap: 1.1rem; }
.about-text p { color: rgba(250, 248, 245, .78); line-height: 1.7; }
/* Übergangslayout ohne Foto: kompakter, Textspalte breiter (Foto kommt später links unter die Headline) */
.section.about { padding-block: clamp(52px, 7vw, 88px); }
.about-grid { grid-template-columns: .85fr 1.35fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.about-text p { max-width: 60ch; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 1.6rem; } .about-text p { max-width: none; } }



/* ============================================================
   Video-Bedienelemente: Play-Zeichen + „Mit Ton"
   ============================================================ */
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  opacity: .82;
  transition: opacity .3s, transform .4s var(--ease-out);
}
.video-play svg {
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  fill: #fff;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .5));
  display: block;
}
.case-card:hover .video-play,
.case-card-half:hover .video-play,
.ph:hover .video-play { opacity: .35; transform: translate(-50%, -50%) scale(.92); }

.video-sound {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .45em .85em;
  border-radius: 100px;
  background: rgba(24, 27, 34, .62);
  color: #fff;
  font-size: .74rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 4;
  transition: background .25s, transform .3s var(--ease-out);
}
.video-sound:hover { background: var(--c-secondary); transform: translateY(-2px); }
.video-sound svg { width: 13px; height: 13px; }
/* Im iPhone-Mockup etwas kompakter */
.ph-video .video-sound { right: 10px; bottom: 16px; font-size: .68rem; padding: .38em .7em; }

/* Gleichmäßige Abstände im Kunden-Band */
.marquee-group a {
  width: clamp(110px, 11vw, 150px);
  justify-content: center;
}
/* max-height entfernt: Die Höhe steuern die norm_*-Regeln oben,
   damit alle Logos optisch gleich groß wirken. */
.marquee-group img { width: auto; object-fit: contain; }

/* Eventvideo-Karte: Hochformat-Video rechts, Text links, kompakter */
.case-card-half.half-portrait {
  flex-direction: row;
  align-items: stretch;
}
.case-card-half.half-portrait .cch-info {
  flex: 1 1 auto;
  justify-content: center;
}
.case-card-half.half-portrait .cch-media {
  flex: 0 0 40%;
  aspect-ratio: auto;
  position: relative;
  background: #0D0F13;
}
.case-card-half.half-portrait .cch-media video { object-fit: cover; }
@media (max-width: 620px) {
  .case-card-half.half-portrait { flex-direction: column-reverse; }
  .case-card-half.half-portrait .cch-media { flex: none; aspect-ratio: 4 / 3; }
}

/* Hochformat-Projektkarten: feste Bildhöhe, Video über dem Standbild */
.case-card-portrait .case-media {
  position: absolute;
  inset: 0;
  background: #0D0F13;
  overflow: hidden;
}
.case-card-portrait .case-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.case-card-portrait .case-media video.autoplay-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s;
}
.case-card-portrait:hover .case-media video.autoplay-video { opacity: 1; }

/* Kicker ohne Strich davor (Feedback 04.08.) */
.kicker::before, .about .kicker::before { display: none; }

/* Foto-Galerie auf Case-Unterseiten: 6-Spalten-Raster, gemischte Formate */
.case-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.4rem);
  margin: clamp(2.4rem, 5vw, 4rem) 0;
}
.case-gallery .cg-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--c-tint-blue);
}
.case-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
}
.case-gallery .cg-item:hover img { transform: scale(1.03); }
.cg-wide { grid-column: span 6; aspect-ratio: 16 / 9; }
.cg-p3   { grid-column: span 2; aspect-ratio: 3 / 4; }
/* Zweier-Reihe: gleiche Bildgröße wie die Dreier-Reihe, mittig gesetzt */
.cg-p2   { grid-column: span 2; aspect-ratio: 3 / 4; }
.cg-offset { grid-column: 2 / span 2; }
@media (max-width: 760px) {
  /* Zwei Bilder pro Reihe, ohne Mittig-Versatz. Der Kurzschreibweise
     grid-column muss auch .cg-offset folgen, sonst geht der span verloren. */
  .cg-p3, .cg-p2, .cg-offset { grid-column: span 3; }
}

/* Projektkarten im Hochformat-Fenster:
   Drei Karten in zwei Spalten hinterlassen sonst eine leere Zelle. Flex statt
   Grid setzt die letzte Karte mittig, ohne ein Motiv anders zu beschneiden. */
@media (max-width: 900px) {
  .cases-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cases-grid .case-card { flex: 0 0 calc(50% - clamp(.5rem, 1vw, .8rem)); }
}
/* Auf Telefonbreite wären zwei Karten nebeneinander nur ~170px breit und die
   Titel brechen um: dort eine Karte pro Reihe, wie ein Reel. */
@media (max-width: 620px) {
  .cases-grid .case-card { flex-basis: 100%; }
}


/* Rechtsseiten: Stand-Zeile */
.legal-body .legal-stand { margin-top: 2.2rem; font-size: .85rem; color: rgba(24, 27, 34, .5); }

/* ============================================================
   Desktop-Hero: Showreel als Vollbild-Bühne, Headline fällt
   darüber ein. Mobil bleibt die Karten-Variante unverändert.
   (Feedback 24.08.)
   ============================================================ */
@media (min-width: 1000px) {
  /* Die Bühne beginnt UNTER dem Header: der Header bleibt auf hellem Grund
     und ist nicht Teil des Videos. */
  .hero {
    min-height: 100svh;
    padding: 76px 0 clamp(4rem, 10vh, 7rem);
    justify-content: flex-end;
  }
  .hero-grid,
  .hero .hero-grid { grid-template-columns: 1fr; }
  /* margin:0 auto hebt im Flex-Container das Stretchen auf, die .wrap würde
     auf Textbreite schrumpfen — deshalb explizit volle Breite. */
  .hero > .wrap { width: 100%; }
  /* Nur der Textblock bekommt eine eigene Ebene. .wrap/.hero-grid dürfen NICHT
     positioniert sein, sonst würde die absolute Reel-Karte an ihnen andocken
     statt am .hero (Containing Block). */
  .hero .hero-text { position: relative; z-index: 2; }

  /* Showreel füllt den Viewport unterhalb des Headers, randlos */
  .hero .reel-card {
    position: absolute;
    inset: 76px 0 0 0;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    z-index: 0;
  }
  .hero .reel-card,
  .hero .reel-card:hover { transform: none; }
  .hero .reel-card .reel-inline {
    width: 100%; height: 100%; object-fit: cover;
    /* Kein Filter auf der Vollbild-Bühne: grayscale über 1440×900 kostet die
       GPU jeden Frame und lässt das Video ruckeln. Das Reel läuft in Farbe. */
    filter: none;
    transition: none;
    will-change: transform;
  }
  /* Nur ein dezenter Fuß-Verlauf hinter der Headline, kein Overlay im Bild.
     height:auto ist Pflicht: die Basis-Regel .reel-card::after bringt
     height:38% mit, das ergäbe ein Band mit harter Kante oben im Video. */
  .hero .reel-card::after {
    content: '';
    position: absolute;
    inset: 0;
    height: auto;
    background: linear-gradient(to top, rgba(24, 27, 34, .48) 0%, rgba(24, 27, 34, 0) 34%);
    pointer-events: none;
  }

  /* Reduziert: nur die Headline liegt auf dem Video — groß und linksbündig */
  .hero .display {
    color: #fff;
    font-size: clamp(3.4rem, 6.5vw, 6.8rem);
    line-height: 1.02;
    text-align: left;
  }
  .hero h1 { margin-bottom: 0; }
  .hero h1 em { color: var(--c-tint-blue); }
  .hero .hero-sub, .hero .hero-cta { display: none; }
  .hero .scroll-hint { color: rgba(255, 255, 255, .7); z-index: 2; }
  .hero .scroll-hint::after { background: linear-gradient(to bottom, #fff, transparent); }

  /* Reel-Beschriftungen an die Bühnenränder */
  .hero .reel-tag { top: 24px; left: clamp(24px, 4vw, 48px); }
  .hero .reel-label { left: auto; right: clamp(24px, 4vw, 48px); bottom: 26px; }
  .hero .reel-fab { right: clamp(24px, 4vw, 48px); top: 24px; left: auto; }
}

/* Footer-Brand: POINT NEMO nebeneinander, Subline gesperrt darunter
   (gleiche Absolut-Technik wie im Header, siehe Kommentar dort) */
.footer-brand { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; padding-bottom: 13px; }
.footer-brand img { height: 22px; width: auto; }
.site-footer .footer-brand .logo-sub {
  position: absolute;
  top: 100%;
  margin-top: -9px;
  left: 0;
  width: 100%;
  padding-left: 0;
  letter-spacing: 0;
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  font-size: .5rem;
  line-height: 1;
  color: rgba(24, 27, 34, .55);
}
.site-footer .footer-brand .logo-sub i { font-style: normal; }
.site-footer .footer-brand .logo-sub .sp { width: .35em; }

/* KI Workflows: Partner-Block mit talient.ai-Teamfoto */
.partner-block {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}
.partner-block img { width: 100%; border-radius: var(--radius-sm); display: block; }
.partner-block .h3 { margin-bottom: .7rem; }
.partner-block p { color: rgba(24, 27, 34, .78); line-height: 1.7; max-width: 56ch; }
@media (max-width: 760px) {
  .partner-block { grid-template-columns: 1fr; }
}

/* Touch-Geräte: Reel ohne Graustufen-Filter (Filter über laufendem Video kostet
   auf Handy-GPUs spürbar, und ohne Hover gäbe es nie den Farbwechsel) */
@media (hover: none) {
  .reel-card .reel-inline { filter: none; }
}

/* ============================================================
   Leistungs-Kacheln: Hover-Choreografie (Tilt, Lichtkegel, Farbe, Text)
   ============================================================ */
.service-card {
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), opacity .5s var(--ease-out);
}
.service-card.is-tilting { transition-duration: .18s, .7s, .5s; transition-timing-function: linear, var(--ease-out), var(--ease-out); }
/* Lichtkegel, folgt dem Cursor */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(30, 127, 92, .55), rgba(30, 127, 92, .12) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.service-card .service-photo img {
  transition: transform 1.4s var(--ease-out), filter 1s var(--ease-out);
  transform: translate(var(--px, 0px), var(--py, 0px)) scale(1);
}
.service-card .service-photo::after { transition: opacity .6s var(--ease-out); }
.service-title { transition: transform .6s var(--ease-out); }
.service-title::before {
  content: '';
  display: block;
  width: 44px; height: 3px;
  margin-bottom: .9rem;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.service-more {
  display: block;
  margin-top: .9rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out);
}
.service-more i { font-style: normal; display: inline-block; transition: transform .45s var(--ease-out); }
.service-sub { transition: transform .55s var(--ease-out), opacity .45s; }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-10px);
    box-shadow: 0 46px 80px -34px rgba(24, 27, 34, .7), 0 0 0 1px rgba(30, 127, 92, .35);
  }
  .service-card:hover::before { opacity: 1; }
  .service-card:hover .service-photo img {
    transform: translate(var(--px, 0px), var(--py, 0px)) scale(1.12);
    filter: grayscale(0) saturate(1.15) contrast(1.02);
  }
  .service-card:hover .service-photo::after { opacity: .78; }
  .service-card:hover .service-title { transform: translateY(-4px); }
  .service-card:hover .service-title::before { transform: scaleX(1); }
  .service-card:hover .service-more { opacity: 1; transform: translateY(0); transition-delay: .08s; }
  .service-card:hover .service-more i { transform: translateX(6px); }
  .service-card:hover .service-arrow { transform: rotate(45deg) scale(1.18); box-shadow: 0 0 0 8px rgba(30, 127, 92, .18); }
  /* Die anderen drei treten zurück */
  .services-grid.has-hover .service-card:not(:hover) { opacity: .55; }
  .services-grid.has-hover .service-card:not(:hover) .service-photo img { filter: grayscale(.9) contrast(.9) brightness(.85); }
}
@media (hover: none) {
  .service-more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
  .service-card::before { display: none; }
  .service-card .service-photo img, .service-card:hover .service-photo img { transform: none; }
}
