/* Schriften liegen lokal: kein Abruf bei Google, keine IP-Weitergabe an Dritte */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("../fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: italic; font-display: swap; font-weight: 400 700; src: url("../fonts/familjen-grotesk-latin-wght-italic.woff2") format("woff2"); }

/* side by sight — design tokens */
:root {
  --paper: #F4F4F2;
  --ghost: #E2E4E7;
  --tint: #E4E8ED;
  --navy: #17283F;
  --ink: #0F1B2B;
  --muted: #56606D;
  --orange: #E8772E;
  --line: #CDD2D8;

  --display: "Archivo", "Familjen Grotesk", sans-serif;
  --sans: "Familjen Grotesk", "Archivo", sans-serif;

  --gutter: clamp(1.5rem, 0.6rem + 3.9vw, 5.5rem);
  --max: 1600px;
  --r-sm: 5px;
  --r: 8px;

  --t-body: clamp(1.0625rem, 0.98rem + 0.25vw, 1.1875rem);
  --t-h3: clamp(1.375rem, 1.15rem + 0.8vw, 1.875rem);
  --t-h2: clamp(1.875rem, 1.4rem + 1.9vw, 3rem);
  --t-h1: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem);
  --t-mega: clamp(2.75rem, min(0.5rem + 13.5vw, 12.5vh), 10.5rem);

  --section: clamp(5rem, 3rem + 9vw, 11rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.footer :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.4rem;
  background: var(--navy); color: #fff;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border-radius: var(--r-sm);
  transition: background-color .2s;
}
.btn:hover { background: var(--ink); }
.btn--small { min-height: 44px; padding: .5rem 1rem; font-size: .9375rem; }
.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: .3em; text-decoration-color: var(--orange);
}
.link:hover { text-decoration-thickness: 3px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .25s, box-shadow .25s, transform .45s cubic-bezier(.22, 1, .36, 1); }
.nav.is-tucked { transform: translateY(-100%); }
.nav.is-scrolled, .nav.is-open { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.nav__logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav__logo img { width: 112px; }
.nav__links { display: none; align-items: center; gap: clamp(1.25rem, 2vw, 2.25rem); }
.nav__links a:not(.btn) {
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav__links a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .35em; }
.nav__links a[aria-current="true"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.nav__toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.nav__toggle-lines, .nav__toggle-lines::before, .nav__toggle-lines::after {
  display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s, opacity .2s;
}
.nav__toggle-lines { position: relative; }
.nav__toggle-lines::before, .nav__toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav__toggle-lines::before { top: -7px; }
.nav__toggle-lines::after { top: 7px; }
.nav.is-open .nav__toggle-lines { background: transparent; }
.nav.is-open .nav__toggle-lines::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle-lines::after { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { border-top: 1px solid var(--line); height: calc(100dvh - 4.5rem); background: var(--paper); }
.nav__mobile nav { display: flex; flex-direction: column; padding-block: 1.5rem; }
.nav__mobile a {
  font-family: var(--display); font-stretch: 70%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 12vw, 4rem); line-height: 1.05; text-decoration: none; padding-block: .35rem;
  color: var(--navy);
}
.nav__mobile-contact { padding-top: 1.5rem; margin-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.nav__mobile .nav__mobile-contact a { font-family: var(--sans); font-stretch: 100%; font-weight: 500; text-transform: none; font-size: 1.0625rem; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle, .nav__mobile { display: none !important; }
  .nav__logo img { width: 125px; }
}

/* Hero: das Showreel füllt den Bildschirm unter der Navigation, beim Scrollen kommen die Texte dazu */
.hero { height: 170vh; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.hero__film, .hero__tint { position: absolute; inset: 4.5rem 0 0; }
.hero__film img, .hero__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__film video { opacity: 0; transition: opacity .8s ease; }
.hero__film video.is-playing { opacity: 1; }
.hero__tint { background: linear-gradient(to top, var(--ink) 45%, rgba(15, 27, 43, .6)); opacity: 0; }
.hero__end { position: absolute; left: 0; right: 0; bottom: clamp(2rem, 6vh, 4rem); opacity: 0; visibility: hidden; color: #fff; }
.hero__words { font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: var(--t-mega); line-height: .95; }
.hero__words span { display: inline-block; opacity: var(--word, 0); transform: translateY(calc((1 - var(--word, 0)) * .25em)); }
.hero__end-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 1rem; }
.hero__claim { line-height: 1.5; color: #E4E9EF; }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: 1.25rem; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer;
}
.hero__pause[hidden] { display: none; }
.hero__pause::before, .hero__pause::after { content: ""; position: absolute; top: 15px; width: 4px; height: 14px; background: currentColor; }
.hero__pause::before { left: 16px; }
.hero__pause::after { right: 16px; }
.hero__pause[aria-pressed="true"]::before { left: 18px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.hero__pause[aria-pressed="true"]::after { display: none; }
/* Hinweis fürs Scrollen: erscheint nur, wenn nach ein paar Sekunden noch niemand gescrollt hat */
.hero__hint {
  position: absolute; left: 50%; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .4rem .9rem; border: 0; border-radius: var(--r);
  background: rgba(15, 27, 43, .78); color: #fff; font: inherit; font-size: .9375rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.hero__hint[hidden] { display: none; }
.hero__hint.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.hero__hint svg { width: 14px; height: 24px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hero__hint path { animation: hint-fall 1.5s ease-in-out infinite; }
.hero__hint path:nth-child(2) { animation-delay: .15s; }
.hero__hint path:nth-child(3) { animation-delay: .3s; }
@keyframes hint-fall { 0%, 100% { opacity: .2; transform: translateY(-2px); } 45% { opacity: 1; transform: translateY(2px); } }
@media (min-width: 900px) {
  .hero__end-row { flex-direction: row; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 1.5rem; padding-right: 4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__pin { position: relative; }
  .hero__tint { opacity: .7; }
  .hero__end { opacity: 1; visibility: visible; }
  .hero__words span { --word: 1; }
}

/* Clients — a quiet row of names that bridges hero and services */
.clients {
  display: grid; gap: 1rem;
  margin-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}
.clients__title {
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 0;
  color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line);
}
.clients__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem;
}
.clients__list li {
  font-family: var(--display); font-stretch: 75%; font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: -0.01em; white-space: nowrap;
  color: var(--navy); opacity: .62;
}
@media (min-width: 700px) {
  .clients__list { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; }
}
@media (min-width: 1100px) {
  .clients { grid-template-columns: 11rem 1fr; align-items: baseline; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .clients__title { padding-top: 0; border-top: 0; }
  .clients__list { flex-wrap: nowrap; justify-content: space-between; gap: 1.5rem; }
}

/* Services panel */
.services { padding-bottom: var(--section); }
.panel { display: grid; border-radius: var(--r); overflow: hidden; background: var(--tint); }
.panel__media { position: relative; display: grid; background: #E9E9E9; }
.panel__frame { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.panel__img { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.panel__img.is-active { opacity: 1; visibility: visible; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.panel__img video.is-playing { opacity: 1; }
/* Kleine Zeile unten links: was man gerade sieht */
.panel__stat {
  position: absolute; z-index: 1; left: 1rem; bottom: 1rem; display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .45rem .75rem; border-radius: var(--r-sm); background: var(--navy); color: #fff; font-size: .875rem; font-weight: 600;
}
.panel__stat strong { font-family: var(--display); font-stretch: 75%; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--orange); }
/* Social: Hauptreel im iPhone, zwei Kundenreels gedimmt dahinter.
   Alle Maße hängen an der Rahmenhöhe (cqh), so bleibt die Gruppe in jedem Format gleich */
.panel__img--social { container-type: size; overflow: hidden; background: var(--navy); }
.phone {
  --h: 84cqh; --x: 0px; --r: 0deg;
  position: absolute; left: var(--cx, 60%); top: var(--cy, 50%); height: var(--h); aspect-ratio: 71.6 / 147.6;
  padding: calc(var(--h) * .016); border-radius: calc(var(--h) * .082);
  background: linear-gradient(145deg, #50545B, #1C1E22 34%, #2A2D32 68%, #4A4E55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 calc(var(--h) * .05) calc(var(--h) * .09) calc(var(--h) * -.04) rgba(0, 0, 0, .7);
  transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r));
}
/* Seitentasten: rechts Standby, links Lautstärke */
.phone::before, .phone::after { content: ""; position: absolute; width: max(2px, calc(var(--h) * .007)); border-radius: 2px; background: #3C4046; }
.phone::before { right: calc(var(--h) * -.005); top: 27%; height: 11%; }
.phone::after { left: calc(var(--h) * -.005); top: 19%; height: 13%; }
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--h) * .066); background: #000; }
/* Dynamic Island */
.phone__screen::after { content: ""; position: absolute; z-index: 2; top: 1.6%; left: 50%; width: 31%; height: 3.3%; border-radius: 999px; background: #000; transform: translateX(-50%); }
.phone--main { z-index: 2; }
.phone--back { --h: 68cqh; z-index: 1; filter: brightness(.42) saturate(.8); }
.phone--l { --x: -27cqh; --r: -6deg; }
.phone--r { --x: 27cqh; --r: 6deg; }
.phone__ui { display: none; }
/* Wiedergaben als Sticker, der beim Öffnen des Tabs aufploppt */
.views {
  position: absolute; z-index: 3; left: .625rem; bottom: .625rem; display: grid; gap: .1rem;
  padding: .4rem .6rem .45rem; border-radius: var(--r-sm); background: #fff; color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); transform: rotate(-3deg); transform-origin: left bottom;
}
.views__num { display: inline-flex; align-items: center; gap: .35rem; }
.views__num svg { width: .85em; height: .85em; flex-shrink: 0; fill: var(--orange); }
.views strong { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.125rem, .7rem + 1.9vw, 2.625rem); line-height: 1; font-variant-numeric: tabular-nums; }
.views__label { font-size: .6875rem; font-weight: 600; color: var(--muted); }
@media (max-width: 899px) { .phone { --cx: 63%; } }
@media (max-width: 599px) { .panel__stat { font-size: .8125rem; white-space: nowrap; } }
.panel__img--social.is-active .views { animation: sticker .5s cubic-bezier(.2, .9, .3, 1.35) .2s both; }
@keyframes sticker { from { opacity: 0; transform: rotate(-10deg) scale(.7); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
@media (min-width: 900px) {
  .phone { --h: 76cqh; --cx: 50%; --cy: 55%; }
  .phone--back { --h: 62cqh; }
  .phone--l { --x: -25cqh; }
  .phone--r { --x: 25cqh; }
  .views { left: 1.5rem; bottom: 1.5rem; padding: .75rem 1.1rem .85rem; }
  .views__label { font-size: .9375rem; }
  /* Andeutung der Reels-Oberfläche, nur wenn das Handy groß genug ist */
  .phone__ui { position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; color: #fff; }
  .phone__ui b { position: absolute; left: 7%; top: 7.5%; font-size: calc(var(--h) * .027); font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
  .phone__ui svg { position: absolute; right: 5%; width: 9.5%; aspect-ratio: 1; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); }
  .phone__ui svg:nth-of-type(1) { bottom: 31%; }
  .phone__ui svg:nth-of-type(2) { bottom: 23%; }
  .phone__ui svg:nth-of-type(3) { bottom: 15%; }
}
/* Foto: Serie mit Auslöser-Blitz */
.panel__img--series img { position: absolute; inset: 0; opacity: 0; }
.panel__img--series img.is-on { opacity: 1; }
.series__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.series__flash.is-firing { animation: shutter .32s ease-out; }
@keyframes shutter { 0% { opacity: .85; } 100% { opacity: 0; } }
.series__count { font-variant-numeric: tabular-nums; color: #C5CCD5; font-weight: 500; }
.series__count b { color: var(--orange); }
/* Grafik: eine Zeichenfläche wie im Layoutprogramm, auf gepunktetem Arbeitsgrund. In 7 Sekunden:
   Zeiger aufs Café-Logo, Auswahlrahmen, Klick auf Grün in der Palette, Fläche grün und Logo weiß.
   Dann dasselbe für Kingdom Fitness mit Dunkelgrau und Gold. Die Zielpunkte (--x0 … --ys) misst main.js */
.panel__img--studio {
  container-type: size; overflow: hidden;
  background: #E6E9ED radial-gradient(rgba(23, 40, 63, .13) 1px, transparent 1.2px) 0 0 / 16px 16px;
}
.studio__sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.studio__board {
  position: absolute; left: 6cqw; top: 47%; width: min(58cqw, calc(76cqh * 4 / 3)); aspect-ratio: 4 / 3;
  display: grid; place-items: center; background: #fff; border-radius: 2px; transform: translateY(-50%);
  box-shadow: 0 1px 2px rgba(23, 40, 63, .12), 0 18px 36px -20px rgba(23, 40, 63, .45);
}
.studio__board--kf { opacity: 0; }
.studio__name { position: absolute; left: 0; bottom: 100%; margin-bottom: .3rem; font-size: .6875rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.studio__art { position: relative; width: 70%; color: #3D8247; }
.studio__art--kf { width: 34%; color: #4E4E4D; }
.studio__art svg { display: block; width: 100%; height: auto; fill: currentColor; }
/* Auswahlrahmen mit Griffen und Maßen */
.studio__select { position: absolute; inset: -8px; border: 1.5px solid var(--orange); opacity: 0; pointer-events: none; }
.studio__select i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--orange); }
.studio__select i:nth-child(1) { left: -4px; top: -4px; }
.studio__select i:nth-child(2) { right: -4px; top: -4px; }
.studio__select i:nth-child(3) { left: -4px; bottom: -4px; }
.studio__select i:nth-child(4) { right: -4px; bottom: -4px; }
.studio__select b {
  position: absolute; left: 50%; top: 100%; margin-top: 7px; padding: .1rem .35rem; border-radius: 3px; transform: translateX(-50%);
  background: var(--orange); color: var(--navy); font-size: .625rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
/* Palette */
.studio__panel {
  position: absolute; left: 70cqw; top: 47%; width: 22cqw; display: grid; gap: .45rem;
  padding: .55rem .6rem .65rem; background: #fff; border-radius: 6px; transform: translateY(-50%);
  box-shadow: 0 1px 2px rgba(23, 40, 63, .12), 0 14px 30px -18px rgba(23, 40, 63, .45);
}
.studio__label { margin: 0; font-size: .625rem; font-weight: 600; color: var(--muted); }
.studio__swatches { grid-area: 2 / 1; display: flex; gap: clamp(.25rem, 1cqw, .45rem); }
.studio__swatches--kf { opacity: 0; }
.studio__swatches i {
  width: clamp(14px, 3.4cqw, 22px); aspect-ratio: 1; border-radius: 4px; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(23, 40, 63, .16); outline: 2px solid transparent; outline-offset: 2px;
}
.studio__swatches i:first-child { outline-color: var(--orange); }
/* Mauszeiger: fährt per transform, klickt per scale */
.studio__cursor {
  position: absolute; left: 0; top: 0; z-index: 2; width: clamp(14px, 3cqw, 20px); height: auto; transform-origin: 8% 6%;
  fill: var(--navy); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round;
  filter: drop-shadow(0 2px 3px rgba(23, 40, 63, .35)); transform: translate(var(--x0, 80cqw), var(--y0, 85cqh));
}
.studio__caption { display: grid; }
.studio__caption span { grid-area: 1 / 1; }
.studio__caption span:last-child { opacity: 0; }
/* In flachen Rahmen (Handy) steht der Name nur über der Zeichenfläche, unten wäre kein Platz */
@container (max-height: 320px) { .studio__caption { display: none; } }
@media (min-width: 900px) {
  .studio__board, .studio__panel { top: 56%; }
}
.panel__img--studio.is-active .studio__cursor { animation: studio-cursor 7s cubic-bezier(.55, 0, .25, 1) infinite, studio-click 7s linear infinite; }
.panel__img--studio.is-active .studio__board--cafe { animation: studio-cafe 7s linear infinite; }
.panel__img--studio.is-active .studio__board--kf { animation: studio-kf 7s linear infinite; }
.panel__img--studio.is-active .studio__art--cafe { animation: studio-cafe-logo 7s linear infinite; }
.panel__img--studio.is-active .studio__art--kf { animation: studio-kf-logo 7s linear infinite; }
.panel__img--studio.is-active .studio__art--cafe .studio__select { animation: studio-select-cafe 7s linear infinite; }
.panel__img--studio.is-active .studio__art--kf .studio__select { animation: studio-select-kf 7s linear infinite; }
.panel__img--studio.is-active .studio__swatches--cafe,
.panel__img--studio.is-active .studio__caption span:first-child { animation: studio-first 7s linear infinite; }
.panel__img--studio.is-active .studio__swatches--kf,
.panel__img--studio.is-active .studio__caption span:last-child { animation: studio-second 7s linear infinite; }
.panel__img--studio.is-active .studio__swatches--cafe i:nth-child(1) { animation: studio-ring-a 7s steps(1) infinite; }
.panel__img--studio.is-active .studio__swatches--cafe i:nth-child(2) { animation: studio-ring-b 7s steps(1) infinite; }
.panel__img--studio.is-active .studio__swatches--kf i:nth-child(1) { animation: studio-ring-c 7s steps(1) infinite; }
.panel__img--studio.is-active .studio__swatches--kf i:nth-child(2) { animation: studio-ring-d 7s steps(1) infinite; }
@keyframes studio-cursor {
  0%, 4% { transform: translate(var(--x0), var(--y0)); }
  16%, 22% { transform: translate(var(--xb), var(--yb)); }
  32%, 44% { transform: translate(var(--xs), var(--ys)); }
  50%, 54% { transform: translate(var(--x0), var(--y0)); }
  66%, 72% { transform: translate(var(--xb), var(--yb)); }
  82%, 94% { transform: translate(var(--xs), var(--ys)); }
  100% { transform: translate(var(--x0), var(--y0)); }
}
@keyframes studio-click { 0%, 33.5%, 36%, 83.5%, 86%, 100% { scale: 1; } 34.5%, 84.5% { scale: .8; } }
@keyframes studio-cafe {
  0% { opacity: 1; background-color: #fff; }
  34.5% { background-color: #fff; }
  37% { background-color: #3D8247; }
  46% { opacity: 1; background-color: #3D8247; }
  50%, 96% { opacity: 0; background-color: #fff; }
  100% { opacity: 1; background-color: #fff; }
}
@keyframes studio-kf {
  0%, 46% { opacity: 0; background-color: #fff; }
  50% { opacity: 1; }
  84.5% { background-color: #fff; }
  87% { background-color: #4E4E4D; }
  96% { opacity: 1; background-color: #4E4E4D; }
  100% { opacity: 0; background-color: #4E4E4D; }
}
@keyframes studio-cafe-logo { 0%, 34.5% { color: #3D8247; } 37%, 46% { color: #fff; } 50%, 100% { color: #3D8247; } }
@keyframes studio-kf-logo { 0%, 84.5% { color: #4E4E4D; } 87%, 100% { color: #FFCF6E; } }
@keyframes studio-select-cafe { 0%, 17% { opacity: 0; } 19%, 45% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes studio-select-kf { 0%, 67% { opacity: 0; } 69%, 95% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes studio-first { 0%, 46% { opacity: 1; } 50%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes studio-second { 0%, 46% { opacity: 0; } 50%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes studio-ring-a { 0% { outline-color: var(--orange); } 34.5% { outline-color: transparent; } }
@keyframes studio-ring-b { 0% { outline-color: transparent; } 34.5% { outline-color: var(--orange); } }
@keyframes studio-ring-c { 0% { outline-color: var(--orange); } 84.5% { outline-color: transparent; } }
@keyframes studio-ring-d { 0% { outline-color: transparent; } 84.5% { outline-color: var(--orange); } }
/* Fortschritt im aktiven Tab, solange die Leistungen von allein weiterlaufen */
.panel__tabs button { position: relative; overflow: hidden; }
.panel__tabs button::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--orange);
  transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: 0;
}
.panel.is-auto .panel__tabs button[aria-selected="true"]::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .panel__img--studio * { animation: none !important; }
  .studio__cursor { display: none; }
  .studio__art--cafe .studio__select { opacity: 1; }
  .series__flash.is-firing { animation: none; }
  .panel__img--social.is-active .views { animation: none; }
}
/* Phones: the four services as a calm 2 × 2 switch above the image */
.panel__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .375rem;
  padding: .5rem; background: var(--tint);
}
.panel__tabs button {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 48px; padding: .5rem .8rem;
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; text-align: left;
  color: var(--navy); background: rgba(255, 255, 255, .72); border: 0; border-radius: var(--r-sm); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.panel__tabs svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--orange); }
.panel__tabs button:hover { background: rgba(255, 255, 255, .92); }
.panel__tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
@media (min-width: 600px) {
  .panel__tabs { grid-template-columns: repeat(4, auto); justify-content: start; }
}
.panel__body { display: flex; flex-direction: column; padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); }
.panel__pane h3 { font-size: var(--t-h3); max-width: 18ch; color: var(--navy); }
.panel__pane p { margin-top: 1rem; max-width: 34rem; }
.panel__pane ul { margin-top: 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); max-width: 34rem; }
.panel__pane li { padding-block: .7rem; border-bottom: 1px solid var(--line); }
.panel__cta { margin-top: 2rem; align-self: flex-start; }
@media (min-width: 900px) {
  .panel { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .panel__frame { position: absolute; inset: 0; aspect-ratio: auto; }
  .panel__tabs {
    position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; right: 1.5rem;
    display: flex; flex-wrap: wrap; padding: 0; background: none;
  }
  .panel__cta { margin-top: auto; align-self: flex-end; }
  .panel__pane { margin-bottom: 2.5rem; }
}

/* Vorher/Nachher: beide Listen liegen deckungsgleich übereinander, "Nachher" wischt beim Scrollen von rechts darüber.
   Beide Seiten teilen sich über subgrid dieselben Zeilen, so liegen Linien und Texte immer exakt auf einer Höhe. */
.shift { position: relative; height: 340vh; }
.shift__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 4.5rem 1fr repeat(5, auto) 1fr;
}
.shift__side, .shift__inner { display: grid; grid-row: 1 / -1; grid-column: 1; grid-template-rows: subgrid; }
.shift__side { --rule: var(--line); }
.shift__inner > .shift__head { grid-row: 3; }
.shift__inner > .ledger { grid-row: 4 / span 3; display: grid; grid-template-rows: subgrid; }
.shift__inner > .shift__close { grid-row: 7; }
.shift__side--before { color: var(--muted); }
.shift__side--after { background: var(--navy); color: #E4E9EF; --rule: rgba(255, 255, 255, .22); clip-path: inset(0 0 0 calc((1 - var(--wipe, 0)) * 100%)); }
.shift__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin-bottom: clamp(1rem, 3vh, 2rem); font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--navy); }
.shift__side--after .shift__head { color: #fff; }
.shift__tag {
  padding: .3em .6em .28em; border-radius: var(--r-sm); background: var(--ghost); color: var(--navy);
  font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: .8em; line-height: 1; letter-spacing: .03em; text-transform: uppercase;
}
.shift__side--after .shift__tag { background: var(--orange); color: var(--ink); }
.ledger { border-top: 1px solid var(--rule); }
.ledger__row { display: grid; gap: .25rem; padding-block: clamp(.55rem, 1.8vh, 1.2rem); border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger__word {
  justify-self: start; position: relative; text-decoration: none;
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: min((100vw - 2 * var(--gutter)) / 9.5, 9vh, 6.75rem); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; color: var(--navy);
}
.shift__side--after .ledger__word { color: #fff; }
.ledger__word b { font-weight: inherit; color: var(--orange); }
s.ledger__word { color: #7C8591; }
s.ledger__word::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; top: 50%; height: max(4px, .09em); margin-top: -.045em; background: var(--orange);
  transform: scaleX(var(--strike, 0)); transform-origin: 0 50%;
}
.ledger__note { max-width: 32rem; font-size: 1rem; line-height: 1.4; }
.ledger__note--big { font-size: clamp(1.5rem, .9rem + 1.8vw, 3rem); font-weight: 600; letter-spacing: -0.02em; color: var(--orange); line-height: 1.1; }
.shift__close { margin-top: clamp(1rem, 3vh, 2rem); font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; color: var(--navy); }
.shift__side--after .shift__close { color: #fff; }
.shift__divider {
  position: absolute; top: 0; bottom: 0; left: calc((1 - var(--wipe, 0)) * 100%); width: 2px; margin-left: -1px; background: var(--orange);
  opacity: var(--divider, 0); pointer-events: none;
}
@media (min-width: 900px) {
  .ledger__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; }
  .ledger__word { font-size: min(5.2vw, 11vh, 6.75rem); }
  .ledger__note { font-size: var(--t-body); }
}
@media (prefers-reduced-motion: reduce) {
  .shift { height: auto; }
  .shift__stage { position: static; height: auto; display: block; }
  .shift__side, .shift__inner { display: block; }
  .shift__side { padding-block: var(--section); }
  .shift__side--after { clip-path: none; }
  .shift__divider { display: none; }
  s.ledger__word { --strike: 1; }
}

/* Projects: two wide features, then rows of two and three */
.work { padding-bottom: var(--section); }
.work__title {
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 5.25rem); letter-spacing: -0.035em; line-height: 1;
  color: var(--navy);
  margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.work__grid { display: grid; row-gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.work__row { display: grid; row-gap: clamp(2.5rem, 2rem + 2vw, 4rem); }
.work__row[hidden] { display: none; }
.project[hidden] { display: none; }
.project a { display: block; text-decoration: none; }

/* Image + markers */
.project__media {
  --inset: 20px;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r-sm); background: var(--navy); isolation: isolate;
}
.project--wide .project__media { aspect-ratio: 16 / 10; }
.project__media--light img { object-position: 85% 50%; }
.project__media--type { display: grid; place-items: center; background: var(--navy); }
.project__wordmark { font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: clamp(3rem, 1rem + 10vw, 6rem); line-height: .9; text-transform: uppercase; text-align: center; color: #fff; }
.project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1), filter .6s ease;
  /* Eigene Ebene dauerhaft halten: sonst baut der Browser sie nach dem Zoom ab,
     und die mix-blend-Tönung darüber blitzt einen Frame lang als volle Navy-Fläche auf */
  will-change: transform, filter;
  backface-visibility: hidden;
}
.project__tags { position: absolute; z-index: 3; top: var(--inset); left: var(--inset); right: var(--inset); display: flex; flex-wrap: wrap; gap: .375rem; }
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .65rem .35rem .5rem; border-radius: var(--r-sm);
  background: var(--paper); color: var(--navy);
  font-size: .9375rem; font-weight: 600; line-height: 1.2;
  box-shadow: 0 0 0 1px rgba(23, 40, 63, .12), 0 1px 2px rgba(23, 40, 63, .15);
}
.tag svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hover: the picture is toned in company blue, a big label rises, the cursor turns into an arrow */
.project__tint { position: absolute; inset: 0; pointer-events: none; }
.project__tint::before, .project__tint::after { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: 0; transition: opacity .45s ease; will-change: opacity; }
.project__tint::before { mix-blend-mode: color; }
.project__cta {
  position: absolute; z-index: 2; left: var(--inset); right: var(--inset); bottom: calc(var(--inset) - .2em);
  color: #fff; font-size: clamp(1.625rem, 1rem + 2.4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  text-shadow: 0 1px 2px rgba(15, 27, 43, .35), 0 2px 24px rgba(15, 27, 43, .55);
  opacity: 0; transform: translateY(40%); transition: opacity .3s, transform .55s cubic-bezier(.2, .8, .2, 1);
}
.project--wide .project__cta { font-size: clamp(2rem, 1rem + 4vw, 4.5rem); }

.project a:hover .project__tint::before, .project a:focus-visible .project__tint::before { opacity: 1; }
.project a:hover .project__tint::after, .project a:focus-visible .project__tint::after { opacity: .32; }
.project a:hover .project__media img, .project a:focus-visible .project__media img { transform: scale(1.035); filter: grayscale(1) brightness(1.12) contrast(1.05); }
.project a:hover .project__cta, .project a:focus-visible .project__cta { opacity: 1; transform: none; }
.project a:focus-visible { outline: none; }
.project a:focus-visible .project__media { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Site cursor (mouse only): a small orange dot that glides after the pointer.
   It opens into a ring over links and into the arrow circle over projects.
   On dark orange surfaces it turns light. */
.cursor {
  --c: var(--orange);
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  will-change: transform;
}
.cursor__dot {
  position: absolute; left: 0; top: 0;
  width: 12px; height: 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c); color: var(--navy);
  border: 2px solid transparent;
  transform: translate(-50%, -50%);
  transition:
    width .45s cubic-bezier(.22, 1, .36, 1), height .45s cubic-bezier(.22, 1, .36, 1),
    background-color .3s ease, border-color .3s ease, opacity .25s ease, transform .2s ease;
}
.cursor svg {
  width: 30px; height: 30px; opacity: 0; transform: rotate(-45deg) scale(.4);
  transition: opacity .2s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.cursor.is-link .cursor__dot { width: 46px; height: 46px; background: transparent; border-color: var(--c); }
.cursor.is-project .cursor__dot { width: 84px; height: 84px; background: var(--orange); }
.cursor.is-project svg { opacity: 1; transform: none; transition-delay: .08s; }
.cursor.is-down .cursor__dot { transform: translate(-50%, -50%) scale(.82); }
.cursor.is-hidden .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .project a:hover .project__media img { transform: none; }
}

/* Caption */
.project__meta { margin-top: .9rem; }
.project__meta h3 { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem); letter-spacing: -0.01em; color: var(--ink); }
.project__text { margin-top: .3rem; color: var(--muted); max-width: 40rem; font-size: 1.0625rem; line-height: 1.5; }
.project a:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .2em; }

@media (min-width: 700px) {
  /* Rows of neighbours: fixed image height, widths can trade space on hover */
  .work__row--2 { display: flex; gap: 1rem; container-type: inline-size; }
  .work__row--2 > .project { flex: 1 1 0; min-width: 0; transition: flex-grow 1.1s cubic-bezier(.22, 1, .36, 1); }
  .work__row--2 > .project:only-child { flex: 0 0 calc(50% - .5rem); }
  .work__row--2 .project__media { aspect-ratio: auto; height: calc((100cqw - 1rem) / 2 * .75); }
  .work__row--2 .project__wordmark { font-size: min(8cqw, 7rem); }
  .project--wide .project__media { aspect-ratio: 2 / 1; }
  .project__media--light img { object-position: 50% 50%; }
  .project--wide .project__meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .project--wide .project__meta h3 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.875rem); }
  .project--wide .project__text { margin-top: .15rem; }
  .project__media { --inset: 24px; }
  .project--wide .project__media { --inset: 30px; }
}
@media (min-width: 700px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work__grid .work__row--2 > .project:not(:only-child):hover,
  .work__grid .work__row--2 > .project:not(:only-child):has(a:focus-visible) { flex-grow: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  .project a:hover [data-kind="film"] .g-rec { animation: none; }
}

/* Network */
/* Oben derselbe Abstand wie zwischen allen Abschnitten, sonst klebt das Foto an der dunklen Vorher/Nachher-Fläche */
.network { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); padding-block: var(--section); }
.network__photo { display: grid; grid-template-columns: 7.5rem 1fr; align-items: end; gap: 1rem; }
.network__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 54% 50%; border-radius: var(--r); }
.network__photo strong { display: block; font-weight: 600; color: var(--navy); }
.network__photo figcaption { font-size: .9375rem; line-height: 1.4; color: var(--muted); max-width: 14rem; }
.network__text h2 { color: var(--navy); max-width: 22ch; }
.network__text > p { margin-top: 1.25rem; max-width: 36rem; }
@media (min-width: 900px) {
  .network { grid-template-columns: 5fr 1fr 6fr; align-items: center; }
  .network__photo { grid-column: 1; display: block; }
  .network__photo figcaption { margin-top: .75rem; max-width: none; }
  .network__text { grid-column: 3; }
}

/* Process */
.process { display: grid; gap: 2.5rem; padding-bottom: var(--section); }
.process__stage { display: contents; }
.process__head h2 { color: var(--navy); max-width: 12ch; }
.process__head p { margin-top: 1.25rem; max-width: 26rem; color: var(--muted); }
.steps { display: grid; gap: .75rem; }
.step { background: #EBECEC; border-radius: var(--r); padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; min-height: 12rem; }
.step__num { font-size: .875rem; font-weight: 500; color: var(--muted); }
.step h3 { margin-top: .5rem; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); color: var(--navy); }
.step__lead { margin-top: .75rem; font-size: 1.0625rem; line-height: 1.55; }
.step__result { margin-top: auto; padding-top: 1.5rem; font-size: 1rem; font-weight: 600; color: var(--navy); }
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; } .step { min-height: 14rem; } }
@media (min-width: 1000px) {
  .process { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* Process in full screen: the dark window zooms in until it fills the screen,
   then a line icon morphs from step to step. */
.edit { display: none; }
.process.is-timeline { display: block; height: 440vh; padding-bottom: 0; margin-bottom: var(--section); }
.process.is-timeline .process__stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh;
  display: block; padding-top: clamp(6rem, 4rem + 6vh, 8.5rem);
}
.process.is-timeline .steps {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.process.is-timeline .process__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 2rem; }
.process.is-timeline .process__head p { margin-top: 0; }

.process.is-timeline .edit {
  display: block; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw;
  background: var(--navy); color: #fff; overflow: hidden;
  clip-path: inset(var(--t, 40%) var(--r, 5%) var(--b, 5%) var(--l, 5%) round var(--rad, 8px));
}

/* Foreground: text on the left, on the right four flat shapes that rearrange from step to step */
.edit__inner {
  position: absolute; inset: 0; margin-inline: auto; max-width: var(--max);
  padding: clamp(1.25rem, 4vh, 3rem) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(1.25rem, 3vh, 2rem);
  transform-origin: 50% 50%; will-change: transform;
}
.scene { position: relative; width: min(100%, calc(36vh * 4 / 3)); aspect-ratio: 4 / 3; margin-inline: auto; }
.scene__shape { position: absolute; overflow: hidden; will-change: left, top, width, height; }
/* Angedeutete Textzeilen in Sprechblasen und Layout */
.scene__lines { position: absolute; left: 12%; right: 26%; top: 27%; bottom: 27%; background: repeating-linear-gradient(to bottom, rgba(23, 40, 63, .3) 0 5px, transparent 5px 14px); }
.scene__label {
  position: absolute; left: 8px; bottom: 8px; padding: .15rem .4rem; border-radius: 4px;
  background: var(--navy); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.scene__finder { position: absolute; left: 0; top: 0; width: 100%; height: 72%; pointer-events: none; }
.scene__finder i { position: absolute; width: 22px; height: 22px; border: 0 solid #fff; }
.scene__finder i:nth-child(1) { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.scene__finder i:nth-child(2) { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.scene__finder i:nth-child(3) { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.scene__finder i:nth-child(4) { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }
.scene__rec { position: absolute; top: 16px; right: 44px; display: flex; align-items: center; gap: .35rem; color: #fff; font-size: .75rem; font-weight: 600; }
.scene__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.scene__done {
  position: absolute; left: 50%; bottom: 6%; margin-left: -6.5rem; width: 13rem;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: var(--orange); color: var(--navy); font-size: .9375rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none;
}
.scene__done svg { width: 16px; height: 16px; flex-shrink: 0; }

.edit__copy { will-change: opacity, transform; max-width: 32rem; }
/* Alle vier Schritte immer im Blick: der aktuelle hell, darunter füllt sich sein Balken */
.edit__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.edit__steps li { position: relative; display: grid; gap: .1rem; padding-bottom: .6rem; color: rgba(255, 255, 255, .58); font-size: .75rem; font-weight: 600; line-height: 1.25; transition: color .3s; }
.edit__steps li.is-active { color: #fff; }
.edit__num { font-variant-numeric: tabular-nums; }
.edit__steps li.is-active .edit__num { color: var(--orange); }
.edit__steps i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.edit__steps b { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.edit__title { margin-top: 1.5rem; font-size: clamp(2.5rem, 1.4rem + 4.4vw, 6rem); font-weight: 600; letter-spacing: -0.04em; line-height: .95; }
.edit__lead { margin-top: 1rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); color: #fff; line-height: 1.45; }
.edit__result { margin-top: 1.25rem; font-weight: 600; color: #fff; font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem); }
@media (min-width: 900px) {
  .edit__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: clamp(2.5rem, 5vw, 6rem); padding-top: 3rem; padding-bottom: 3rem; }
  .edit__copy { grid-column: 1; grid-row: 1; }
  .edit__steps li { font-size: .875rem; }
  .scene { grid-column: 2; grid-row: 1; width: min(100%, calc(72vh * 4 / 3)); justify-self: end; }
}

/* Voices: one editorial row per reference, the portrait alternates sides.
   Add a reference by copying an <li class="voice">. */
.voices { padding-bottom: var(--section); }
.voices__title { color: var(--navy); margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.voices__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.voice { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.voice figure { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }

/* Portrait: original photo, brand colour at 60 %, then the person in full colour */
.voice__stage {
  --stage: var(--orange);
  position: relative; aspect-ratio: 4 / 5; max-width: 8.5rem; width: 100%;
  border-radius: var(--r); overflow: hidden; background: var(--stage);
}
.voice:nth-child(3n + 2) .voice__stage { --stage: var(--navy); }
.voice:nth-child(3n + 3) .voice__stage { --stage: #8FA4BE; }
.voice__bg, .voice__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice__bg { z-index: 0; }
.voice__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--stage); opacity: .6; }
.voice__stage::before {
  content: attr(data-initials); position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  font-family: var(--display); font-stretch: 62%; font-weight: 800; font-size: 3.5rem;
  color: rgba(255, 255, 255, .25); letter-spacing: -0.02em;
}
.voice__photo { z-index: 3; }

.voice__body { display: flex; flex-direction: column; }
.voice__quote::before {
  content: "\201E"; display: block; height: .42em; margin-bottom: .12em;
  font-family: var(--sans); font-weight: 700; font-size: clamp(5rem, 3.5rem + 4vw, 8rem); line-height: 1; color: var(--orange);
  transform: translateY(-.62em);
}
.voice__quote p { font-size: clamp(1.3125rem, 1rem + 1.2vw, 2.125rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy); max-width: 32ch; text-wrap: pretty; }
.voice__who { display: grid; gap: .15rem; margin-top: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.voice__who strong { font-weight: 600; color: var(--ink); }
.voice__who span { color: var(--muted); font-size: 1rem; }
.voice__project {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: .5rem;
  font-size: 1rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
@media (min-width: 800px) {
  .voice figure { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 6vw, 7rem); }
  .voice__stage { max-width: 420px; }
  .voice__stage::before { font-size: clamp(5rem, 3rem + 8vw, 10rem); }
  .voice:nth-child(even) figure { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .voice:nth-child(even) .voice__stage { order: 2; justify-self: end; }
}

/* Contact: the brief form */
.contact__head { display: grid; gap: 1rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.contact__head h2 { color: var(--navy); max-width: 16ch; }
.contact__head p { max-width: 34rem; color: var(--muted); }
.contact__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }

.brief { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: var(--r); background: var(--tint); }
.brief__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: var(--r-sm);
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--navy); }
.field ::placeholder { color: #8A929D; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: 0 0 0 2px #B3261E; }
.field__error { min-height: 0; font-size: .875rem; color: #B3261E; }
.field__error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .9rem;
  border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line);
  font-size: .9375rem; font-weight: 600; color: var(--navy); transition: background-color .2s, color .2s, box-shadow .2s;
}
.chip svg { width: 16px; height: 16px; }
.chip:hover span { box-shadow: 0 0 0 1px var(--navy); }
.chip input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
.brief__submit { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: .25rem; }
.btn--big { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.brief__direct { font-size: .9375rem; color: var(--muted); }
.brief__direct a { color: var(--navy); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: .25em; }
.brief__status { font-weight: 600; color: var(--navy); }
.brief__status:empty { display: none; }


@media (min-width: 700px) {
  .brief__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .contact__head { max-width: calc(7 / 12 * 100%); }
  .contact__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* Contact: Silas next to the form */
.contact__person { display: none; }
.contact__stage { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--tint); }
.contact__stage img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.contact__name { margin-top: 1rem; display: grid; gap: .15rem; color: var(--muted); font-size: 1rem; }
.contact__name strong { color: var(--navy); font-size: 1.125rem; }
.contact__direct { margin-top: .5rem; display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: .9375rem; color: var(--muted); align-items: center; }
.contact__direct a { color: var(--navy); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: .25em; display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 1000px) {
  .contact__person { display: block; position: sticky; top: 7rem; }
}

/* Footer — navy closing plate with orange as the only accent */
.footer {
  margin-top: var(--section);
  background: var(--navy); color: #fff;
  padding-top: clamp(4rem, 3rem + 6vw, 9rem); padding-bottom: 4.5rem; /* Platz für das Einstellungs-Symbol unten links */
}
.footer a { color: inherit; text-decoration: none; }
.footer__top { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); }
.footer__lead { display: grid; justify-items: start; gap: 2rem; }
.footer__claim {
  position: relative;
  font-family: var(--display); font-weight: 700; font-stretch: 88%;
  font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.015em; max-width: 16ch;
}
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #F08A47; }
.footer :focus-visible { outline-color: var(--orange); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
.footer h2 {
  font-family: var(--sans); font-size: .9375rem; font-weight: 600; letter-spacing: 0;
  color: #9FB0C4; margin-bottom: .5rem;
}
.footer ul, .footer address { font-style: normal; font-size: 1rem; line-height: 1.5; color: #E4E9EF; }
.footer__cols a {
  display: inline-flex; align-items: center; min-height: 44px;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 calc(50% + .8em) / 0% 2px;
  transition: background-size .35s cubic-bezier(.65, 0, .35, 1), color .2s;
}
.footer__cols a:hover, .footer__cols a:focus-visible { background-size: 100% 2px; color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem;
  margin-top: clamp(3.5rem, 2rem + 6vw, 7rem); padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .9375rem; color: #B9C4D1;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-right: auto; }
.footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .3em; }
.footer__top-link { gap: .5rem; }
.footer__top-link::after {
  content: ""; width: .5em; height: .5em; margin-top: .25em;
  border-left: 2px solid var(--orange); border-top: 2px solid var(--orange); transform: rotate(45deg);
}
@media (min-width: 700px) {
  .footer__cols { grid-template-columns: auto auto auto; justify-content: start; gap: clamp(2.5rem, 5vw, 6rem); }
  }

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .statement { height: auto; }
  .statement__sticky { position: static; }
}
.brief[hidden] { display: none; }

/* Sections focused after an in-page jump need no ring */
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

/* Kontaktformular: Spamschutz und Datenschutz-Hinweis */
.brief__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__privacy { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.brief__privacy a, .brief__status a { color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: .25em; }
.brief [type="submit"]:disabled { opacity: .6; cursor: wait; }

/* Rechtstexte */
.legal { padding-top: clamp(6.5rem, 5rem + 5vw, 9rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.legal__inner { max-width: 44rem; }
.legal h1 { font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 2rem + 4vw, 5rem); line-height: 1; color: var(--navy); }
.legal__lede { margin-top: 1.25rem; color: var(--muted); }
.legal h2 { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); line-height: 1.25; color: var(--navy); scroll-margin-top: 6rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.0625rem; color: var(--navy); }
.legal p, .legal ul, .legal address { margin-top: .75rem; font-style: normal; line-height: 1.65; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .25em; overflow-wrap: anywhere; }
.legal__stand { margin-top: 3rem; font-size: .9375rem; color: var(--muted); }
.legal__todo { padding: 0 .25em; background: #FFD9BF; color: var(--ink); font-weight: 600; }
/* Leistungen: Feinschliff der Formate */
.panel__tabs button[aria-selected="true"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

/* Instagram im Footer: Icon und Name sind ein gemeinsamer Link */
.footer__cols .footer__insta { gap: .55rem; white-space: nowrap; margin-top: .25rem; }
.footer__insta svg { flex: none; width: 22px; height: 22px; color: var(--orange); transition: transform .2s; }
.footer__insta:hover svg, .footer__insta:focus-visible svg { transform: scale(1.08); }

/* Einwilligung: Banner, Einstellungen, Symbol. Ablehnen und Akzeptieren sehen bewusst gleich aus. */
.consent {
  position: fixed; z-index: 90; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; max-height: calc(100dvh - 2rem); overflow-y: auto;
  padding: 1.25rem 1.25rem 1rem; border-radius: var(--r);
  background: var(--navy); color: #fff; box-shadow: 0 12px 40px rgba(15, 27, 43, .28);
}
.consent__title { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: 1.375rem; line-height: 1.15; }
.consent__text { margin-top: .5rem; font-size: 1rem; line-height: 1.5; }
.consent .consent__text { color: #E4E9EF; }
.consent__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: .25rem; font-size: .9375rem; }
.consent__links a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--orange); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .5rem; }
.consent__btn {
  min-height: 48px; padding: .6rem .5rem; border: 2px solid #fff; border-radius: var(--r-sm);
  background: #fff; color: var(--navy); font: inherit; font-size: .9375rem; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.consent__btn:hover { background: var(--paper); }
.consent__btn--quiet { grid-column: 1 / -1; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.consent__btn--quiet:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.consent :focus-visible, .consent-fab:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.consent-dialog {
  width: min(40rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: var(--r);
  background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(15, 27, 43, .35);
}
.consent-dialog::backdrop { background: rgba(15, 27, 43, .55); }
.consent-dialog__inner { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.consent-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.consent-dialog h2 { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: var(--t-h3); line-height: 1.1; color: var(--navy); outline: none; }
.consent-dialog__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -.5rem -.5rem 0 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--navy); cursor: pointer; }
.consent-dialog__close:hover { background: var(--ghost); }
.consent-dialog .consent__text { color: var(--muted); }
.consent__signal { margin-top: .75rem; padding: .75rem 1rem; border-left: 3px solid var(--orange); background: var(--paper); font-size: 1rem; line-height: 1.5; }
.consent__purposes { display: grid; margin-top: 1rem; border-top: 1px solid var(--line); }
.consent__purpose { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.consent__purpose > p { margin-top: .25rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.consent__purpose h3 { font-size: 1.125rem; color: var(--navy); }
.consent__label { flex: 1; cursor: pointer; }
.consent__always { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.consent__purpose details { margin-top: .25rem; font-size: 1rem; }
.consent__purpose summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; cursor: pointer; }
.consent__purpose ul { margin: 0 0 .25rem; padding-left: 1.1rem; color: var(--muted); line-height: 1.5; list-style: disc; }
.consent__purpose li + li { margin-top: .25rem; }
.consent__switch { position: relative; flex: none; display: inline-flex; width: 52px; height: 30px; }
.consent__switch input { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.consent__track { width: 100%; height: 100%; border-radius: 15px; background: #9AA3AE; transition: background .2s; }
.consent__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.consent__switch input:checked + .consent__track { background: var(--navy); }
.consent__switch input:checked + .consent__track::after { transform: translateX(22px); }
.consent__switch input:focus-visible + .consent__track { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent-dialog .consent__links a { color: var(--navy); }
.consent-dialog .consent__btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.consent-dialog .consent__btn:hover { background: var(--ink); }
.consent-dialog .consent__btn--quiet { background: transparent; color: var(--navy); border-color: var(--line); }
.consent-dialog .consent__btn--quiet:hover { background: var(--paper); border-color: var(--navy); }
.consent-dialog :focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.consent-fab {
  position: fixed; z-index: 80; left: .75rem; bottom: .75rem;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: var(--navy); color: #fff; cursor: pointer; opacity: .82;
  box-shadow: 0 4px 14px rgba(15, 27, 43, .22); transition: opacity .2s, transform .2s;
}
.consent-fab:hover { opacity: 1; transform: scale(1.06); }
.consent-fab[hidden] { display: none; }

@media (min-width: 700px) {
  .consent { left: 1.5rem; bottom: 1.5rem; padding: 1.5rem 1.5rem 1.25rem; }
  .consent__actions { grid-template-columns: 1fr 1fr auto; }
  .consent__btn { padding-inline: 1rem; font-size: 1rem; }
  .consent__btn--quiet { grid-column: auto; }
  .consent-fab { left: 1.25rem; bottom: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .consent__track, .consent__track::after, .consent-fab { transition: none; }
}
