/* =========================================================
   FOUND STUDIOS — Stylesheet
   Struktur: Tokens -> Base -> Type -> Layout -> Components -> Sections -> Responsive
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Underrated";
  src: url("../assets/fonts/Underrated-UltraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blugie";
  src: url("../assets/fonts/Blugie.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Space Grotesk — selbst gehostet (DSGVO: keine Verbindung zu Google).
   Variable Schrift (Stärke 300–700), auf lateinischen Zeichensatz reduziert. OFL-lizenziert. */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/SpaceGrotesk-latin.woff") format("woff");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --shadow-xs: 0 1px 2px rgba(21, 17, 13, 0.05), 0 4px 12px -6px rgba(21, 17, 13, 0.18);
  --shadow-sm: 0 2px 4px rgba(21, 17, 13, 0.04), 0 14px 30px -16px rgba(21, 17, 13, 0.3);
  --shadow-md: 0 4px 10px -4px rgba(21, 17, 13, 0.08), 0 26px 54px -26px rgba(21, 17, 13, 0.38);
  --shadow-lg: 0 6px 16px -8px rgba(21, 17, 13, 0.08), 0 48px 96px -40px rgba(21, 17, 13, 0.36);
  --shadow-hover: 0 8px 20px -8px rgba(21, 17, 13, 0.12), 0 40px 80px -30px rgba(21, 17, 13, 0.45);
  /* Farben */
  --ink: #15110d;              /* dunkler Rahmen: Hero & Footer */
  --ink-soft: #201a15;         /* Panels auf dunklem Grund */
  --paper: #f8f7f5;            /* heller Content-Grund */
  --paper-soft: #ecebe8;       /* Panels auf hellem Grund */
  --ink-text: #1b1512;         /* Fließtext auf hell */
  --paper-text: #f4ece2;       /* Fließtext auf dunkel */
  --stone: #6e655b;            /* gedämpfter Text auf hell */
  --stone-on-dark: #a89c8f;    /* gedämpfter Text auf dunkel */
  --rust: #db4a2b;             /* Studiofarbe (exakt aus Logo) */
  --line: #e0d6c4;             /* Trennlinie auf hell */
  --line-dark: #2c241d;        /* Trennlinie auf dunkel */

  /* Typografie */
  --font-display: "Underrated", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  /* Bewegung */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1.1s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--paper-soft);
  color: var(--ink-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

/* ---------- Typography scale ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.75rem, 8vw, 6.4rem); }
h2, .h2 { font-size: clamp(2rem, 5vw, 3.75rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }

p.lead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  max-width: 42ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--rust);
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.eyebrow-pill--white { background: #fff; color: var(--ink-text); box-shadow: var(--shadow-xs); }
.eyebrow-pill--grey { background: var(--paper-soft); }
.eyebrow-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}

.max-prose { max-width: 62ch; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 46rem;
}

.on-dark { background: var(--ink); color: var(--paper-text); }
.on-light { background: var(--paper); color: var(--ink-text); }

.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}
.btn-primary:hover { background: var(--rust); border-color: var(--rust); }
.btn-ghost.on-dark-ctx { color: var(--paper-text); border-color: rgba(244,236,226,0.35); }
.btn-ghost.on-dark-ctx:hover { border-color: var(--paper-text); }
.btn-ghost.on-light-ctx { color: var(--ink-text); border-color: rgba(27,21,18,0.3); }
.btn-ghost.on-light-ctx:hover { border-color: var(--ink-text); }

/* ---------- Logo (echtes Vektor-SVG) ---------- */
.brand-logo {
  display: inline-block;
  width: 168px;
  height: 57.5px;
  fill: currentColor;
  color: var(--rust);
  transition: color var(--dur-fast) var(--ease);
}
.brand-logo.is-light { color: var(--paper-text); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rust);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem var(--gutter);
}
.nav a[href] { display: inline-flex; }
.nav-pill { grid-column: 2; }
.nav-cta { grid-column: 3; }

/* ---------- Logo: scrollt normal mit der Seite statt fixiert zu sein ---------- */
.page-logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 40;
  padding: 1.5rem var(--gutter) 0;
}
.page-logo .brand-logo { width: 122px; height: 42px; }

/* ---------- Schwebende Pille: Menü + Scroll-Fortschritt ---------- */
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: clamp(180px, 22vw, 300px);
  height: 3.2rem;
  background: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 0.4rem;
  box-shadow: var(--shadow-md);
}
.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--paper-text);
  background: rgba(244, 236, 226, 0.08);
  flex-shrink: 0;
}
.nav-menu-btn .bars {
  display: grid;
  gap: 4px;
}
.nav-menu-btn .bars span {
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] .bars span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-progress {
  --pct: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--ink) 84%, transparent 85%),
    conic-gradient(var(--rust) calc(var(--pct) * 1%), rgba(244, 236, 226, 0.18) 0);
  color: var(--stone-on-dark);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  flex-shrink: 0;
  transition: background 0.2s linear;
}

/* ---------- CTA-Pille rechts: Avatare + Erstgespräch ---------- */
.nav-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: var(--rust);
  border-radius: 999px;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  transition: background var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: var(--rust); }
.nav-cta-avatars { display: flex; margin-right: 0.7rem; }
.nav-cta-avatars .avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--rust);
  margin-left: -12px;
  background: var(--ink);
  color: var(--paper-text);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  overflow: hidden;
}
.nav-cta:hover .avatar-sm { border-color: var(--rust); }
.nav-cta-avatars .avatar-sm:first-child { margin-left: 0; }
.nav-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
}
.nav-cta-text strong { font-size: 0.9rem; font-weight: 700; }
.nav-cta-text small { font-size: 0.72rem; color: rgba(255,255,255,0.75); }

@media (max-width: 720px) {
  .nav { padding: 1rem 1.1rem; }
  .nav-pill { min-width: 0; }
  .nav-cta-text { display: none; }
  .nav-cta { padding: 0.3rem; }
  .nav-cta-avatars { margin-right: 0; }
}

.nav-pill,
.nav-cta {
  transition: none;
}
.nav.menu-is-open {
  pointer-events: none;
}
.nav.menu-is-open .nav-pill,
.nav.menu-is-open .nav-cta {
  opacity: 0;
}
.nav-logo {
  pointer-events: auto;
}
.nav-logo-standalone {
  position: absolute;
  top: 1.4rem;
  left: var(--gutter);
  z-index: 2;
  pointer-events: auto;
}
.nav-cta-standalone {
  position: absolute;
  top: 1.4rem;
  right: var(--gutter);
  z-index: 45;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  background: var(--rust);
  border-radius: 999px;
  padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  transition: background var(--dur-fast) var(--ease);
}
.nav-cta-standalone:hover { background: var(--rust); }
.hero-est {
  position: absolute;
  left: 1.4rem;
  bottom: 8rem;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone-on-dark);
}
@media (max-width: 720px) { .hero-est { display: none; } }

/* ---------- Menü: starrer Kopf, graue Karte dahinter animiert ---------- */
.menu-overlay {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  z-index: 55;
  transform: translateX(-50%);
  visibility: hidden;
  transition: visibility 0s var(--dur-med);
}
.menu-overlay.is-open {
  visibility: visible;
  transition: visibility 0s;
}

/* Kopf: unverändert, keine Transition, erscheint/verschwindet nur mit dem Elternteil */
.menu-head {
  position: relative;
  z-index: 2;
  background: var(--ink);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.4rem;
  width: 100%;
}
.menu-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 236, 226, 0.08);
  color: var(--paper-text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.x-lines { position: relative; width: 16px; height: 12px; }
.x-lines span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-med) var(--ease);
}
.x-lines span:nth-child(1) { transform: translateY(-4px); }
.x-lines span:nth-child(2) { transform: translateY(4px); }
.menu-overlay.is-open .x-lines span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.menu-overlay.is-open .x-lines span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* Backing: die animierte graue Karte, liegt hinter dem Kopf und lugt oben/seitlich hervor */
.menu-backing {
  position: relative;
  z-index: 1;
  margin-top: -68px;
  margin-inline: -14px;
  padding: 82px 14px 18px;
  background: var(--paper);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  transform-origin: top center;
  transform: scale(0.92) translateY(-10px);
  opacity: 0;
  filter: blur(12px);
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease), filter var(--dur-med) var(--ease);
}
.menu-overlay.is-open .menu-backing {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: blur(0);
}
.menu-body {
  color: var(--ink-text);
  padding-inline: 1.1rem;
  overflow-y: auto;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease), padding-block var(--dur-slow) var(--ease);
}
.menu-overlay.is-open .menu-body {
  max-height: min(500px, calc(100vh - 12rem));
  padding-block: 0 0.5rem;
}
.menu-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.9rem;
}
.menu-list {
  display: flex;
  flex-direction: column;
}
.menu-list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.menu-overlay.is-open .menu-list li {
  opacity: 1;
  transform: translateY(0);
}
.menu-overlay.is-open .menu-list li:nth-child(1) { transition-delay: 0.08s; }
.menu-overlay.is-open .menu-list li:nth-child(2) { transition-delay: 0.13s; }
.menu-overlay.is-open .menu-list li:nth-child(3) { transition-delay: 0.18s; }
.menu-overlay.is-open .menu-list li:nth-child(4) { transition-delay: 0.23s; }
.menu-list a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.7rem;
  padding-block: 0.18rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--ink-text);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.menu-list a:hover,
.menu-list a:focus-visible {
  color: var(--rust);
  transform: translateX(0.4rem);
}
.menu-list a sup {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--stone);
}
.menu-social { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.menu-social-icons { display: flex; gap: 0.6rem; }
.menu-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--stone);
  transition: border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.menu-social-icons a:hover { border-color: var(--rust); color: var(--rust); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  color: var(--paper-text);
  overflow: hidden;
  margin: 14px;
  margin-top: 6rem;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) {
  .hero { margin: 8px; margin-top: 3.5rem; border-radius: 30px; }
}
@media (min-width: 900px) {
  .hero { min-height: 78vh; }
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-placeholder {
  position: absolute;
  inset: 0;
  background: var(--ink);
  background-size: 260% 260%;
  animation: driftGradient 16s ease-in-out infinite;
}
@keyframes driftGradient {
  0%   { background-position: 12% 22%; }
  50%  { background-position: 88% 78%; }
  100% { background-position: 12% 22%; }
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,17,13,0.15) 0%, rgba(21,17,13,0.55) 68%, rgba(21,17,13,0.92) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(7rem, 14vw, 9rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}
.hero-headline {
  font-size: clamp(3.2rem, 9.5vw, 8rem);
  letter-spacing: -0.03em;
  line-height: 0.85;
}
.hero-headline .line {
  overflow: hidden;
}
.hero.is-ready .hero-headline .line {
  transition: overflow 0s 0.9s;
  overflow: visible;
}
.hero-headline span {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
}
.hero.is-ready .hero-headline span { transform: translateY(0); }
.hero-headline .line:nth-child(2) span { transition-delay: 0.08s; }

.word-glow {
  transition: color 1.6s var(--ease), text-shadow 1.6s var(--ease);
}
.word-glow.is-active {
  color: var(--rust);
  text-shadow: none;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}
.hero.is-ready .hero-foot { opacity: 1; transform: translateY(0); }

.hero-foot .cta-group {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-foot p {
  max-width: 34ch;
  color: var(--stone-on-dark);
  font-size: 0.98rem;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  top: 1.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--stone-on-dark);
  font-size: 0.82rem;
  writing-mode: vertical-rl;
  opacity: 0;
  transition: opacity 0.8s var(--ease) 0.9s;
}
.hero.is-ready .scroll-cue { opacity: 1; }
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 46px;
  background: var(--stone-on-dark);
}

/* =========================================================
   MANIFEST / INTRO
   ========================================================= */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.manifesto .kicker {
  color: var(--rust);
  font-weight: 700;
  font-size: 1.05rem;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  text-transform: uppercase;
}
.manifesto .details {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.manifesto .details p { color: var(--stone); }
.manifesto .tagline {
  font-style: normal;
  color: var(--ink-text);
  font-weight: 600;
}

/* reveal-on-scroll: single deliberate entrance, not per element */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   LEISTUNGEN — editorial list
   ========================================================= */
.service-row {
  border-top: 1px solid var(--line);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  cursor: pointer;
}
.service-row .num {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--stone);
  min-width: 2ch;
}
.service-row h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.6vw, 3.1rem);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.service-row:hover h3, .service-row[aria-expanded="true"] h3 { color: var(--rust); }
.service-row .indicator {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}
.service-row .indicator::before,
.service-row .indicator::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.service-row .indicator::before { width: 12px; height: 1.5px; }
.service-row .indicator::after { width: 1.5px; height: 12px; transition: transform var(--dur-fast) var(--ease); }
.service-row[aria-expanded="true"] .indicator::after { transform: scaleY(0); }

.service-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-med) var(--ease);
}
.service-row[aria-expanded="true"] + .service-panel { max-height: 220px; }
.service-panel-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 2rem;
  align-items: center;
  padding-block: 0.5rem 1.75rem;
}
.service-panel p { max-width: 52ch; color: var(--stone); }
.service-panel .tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rust);
  border: 1px solid var(--rust);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  align-self: start;
}

.services-close {
  padding-top: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.services-close p { max-width: 40ch; color: var(--stone); }

/* =========================================================
   PROJEKT-GALERIE — überlappender Kartenfächer (Maus-Parallax)
   ========================================================= */
.gallery-section { position: relative; }
.gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 7vw, 5rem);
}
.gallery-tile {
  --rot: 0deg;
  --px: 0;
  --py: 0;
  position: relative;
  width: clamp(128px, 14vw, 190px);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  margin-left: -2.6rem;
  box-shadow: var(--shadow-md);
  transform: rotate(var(--rot)) translate3d(calc(var(--px) * 1px), calc(var(--py) * 1px), 0);
  transition: transform 0.3s var(--ease), margin 0.3s var(--ease), z-index 0.1s;
}
.gallery-tile:first-child { margin-left: 0; }
.gallery-tile:nth-child(1) { --rot: -6deg; }
.gallery-tile:nth-child(2) { --rot: 4deg; z-index: 2; }
.gallery-tile:nth-child(3) { --rot: -2deg; z-index: 3; }
.gallery-tile:nth-child(4) { --rot: 5deg; z-index: 2; }
.gallery-tile:nth-child(5) { --rot: -4deg; }
.gallery-tile:hover {
  transform: rotate(0deg) translateY(-1.1rem) scale(1.05);
  z-index: 9;
  margin-inline: 0.5rem;
}
.gallery-tile .media-placeholder {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  background: var(--rust);
}
.gallery-tile .tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.gallery-tile:hover .tag { opacity: 0.9; }
.gallery-tile.wide {
  aspect-ratio: 3 / 4;
  width: clamp(160px, 18vw, 240px);
  z-index: 4;
}

@media (max-width: 720px) {
  .gallery-stage { display: none; }
  .gallery-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
  }
  .gallery-grid-mobile .gallery-tile {
    position: static;
    width: 100%;
    margin-left: 0;
    transform: none;
  }
  .gallery-grid-mobile .gallery-tile .tag { opacity: 0.9; }
}
@media (min-width: 721px) {
  .gallery-grid-mobile { display: none; }
}

/* =========================================================
   LEISTUNGEN-VORSCHAU (kompakt, Startseite)
   ========================================================= */
.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.service-preview-grid a {
  background: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 190px;
  transition: background var(--dur-fast) var(--ease);
}
.service-preview-grid a:hover { background: var(--ink-soft); }
.service-preview-grid h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--paper-text);
}
.service-preview-grid a:hover h3 { color: var(--rust); }
.service-preview-grid .arrow {
  color: var(--stone-on-dark);
  font-size: 1.4rem;
  align-self: flex-end;
}

/* =========================================================
   TEAM-TEASER (Startseite)
   ========================================================= */
.team-teaser {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  justify-content: space-between;
}
.avatar-stack { display: flex; }
.avatar-stack .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  margin-left: -16px;
  background: var(--rust);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  overflow: hidden;
}
.avatar-stack .avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-stack .avatar:first-child { margin-left: 0; }

/* =========================================================
   ZAHLEN / STATS
   ========================================================= */
.stats-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.stats-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(2rem, 6vw, 4rem);
  border-top: 1px solid rgba(21, 17, 13, 0.12);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.stat .num {
  display: flex;
  align-items: flex-end;
  gap: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.5rem);
  color: var(--ink-text);
  line-height: 1;
}
.num-accent {
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--rust);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.9em;
  line-height: 0.7;
}
.stat p { margin-top: 0.75rem; color: var(--stone); max-width: 26ch; }
@media (max-width: 780px) {
  .stats { grid-template-columns: 1fr; }
}

/* =========================================================
   TEAM
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.team-card figure {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--rust);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team-card figure img { width: 100%; height: 100%; object-fit: cover; }
.team-card figure .initials {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: rgba(255,255,255,0.9);
}
.team-card h3 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 0.9rem;
}
.team-card p { color: var(--stone); font-size: 0.9rem; }

/* =========================================================
   ABLAUF / PROZESS (echte Sequenz -> Nummerierung ok)
   ========================================================= */
.process-list {
  display: grid;
  gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0,1fr) minmax(0,1.4fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  border-top: 1px solid var(--line-dark);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}
.process-item .num {
  font-family: var(--font-display);
  color: var(--rust);
  font-size: 1.1rem;
}
.process-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--paper-text);
}
.process-item p { color: var(--stone-on-dark); max-width: 48ch; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact-direct {
  display: grid;
  gap: 1.75rem;
  align-content: start;
}
.contact-direct a.big-link {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.contact-direct a.big-link:hover { color: var(--rust); }
.contact-direct .locations { color: var(--stone); }

.form-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stone);
}
.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--rust);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-note {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 0.75rem;
}
.form-status {
  margin-top: 1rem;
  font-weight: 600;
}
.form-status[data-state="ok"] { color: #3d7a4c; }
.form-status[data-state="error"] { color: var(--rust); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer-new {
  padding: 0 14px 0;
}
.footer-box {
  position: relative;
  border-radius: 44px 44px 0 0;
  background: var(--ink);
  color: var(--paper-text);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) 0;
}
.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.footer-intro { max-width: 480px; }
.footer-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.footer-heading-accent {
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  background: var(--rust);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15em;
}
.footer-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-on-dark);
}
.footer-email {
  display: block;
  margin-top: 0.4rem;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer-email:hover { color: var(--rust); }
.footer-copyright {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  color: var(--stone-on-dark);
  font-size: 0.82rem;
}
.footer-copyright a { color: var(--stone-on-dark); text-decoration: underline; }
.footer-copyright a:hover { color: #fff; }

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}
.footer-link-col a,
.footer-address {
  display: block;
  margin-top: 0.6rem;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}
.footer-link-col a:hover { color: var(--rust); }
.footer-social {
  display: flex;
  gap: 0.9rem;
  margin-top: 0.7rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.footer-social a:hover { border-color: var(--rust); color: var(--rust); }

@media (max-width: 700px) {
  .footer-top-row { flex-direction: column; }
  .footer-wordmark { font-size: 18vw; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .manifesto, .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: auto 1fr auto; }
  .service-panel-inner { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 2.2rem 1fr; }
  .process-item p { grid-column: 2 / -1; }
}

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  transform: translateY(0);
  will-change: transform;      /* von Anfang an eigene Ebene: kein Neuaufbau beim Wegrutschen */
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
/* Schwarze Fläche als eigene Ebene neben dem Video: runde Ecken beim Wegrutschen,
   ohne das Video zu beschneiden (Safari baut beschnittene Videos sonst neu auf). */
.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;            /* tiefschwarz = exakt der Video-Hintergrund */
  transition: border-radius 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}
/* Folgebesuch in derselben Sitzung: kein Intro */
.intro-seen .preloader { display: none; }
/* Bühne der Animation (1000×1000); das Logo belegt am Ende ~51 % der Breite */
.preloader-stage {
  position: absolute;          /* auch mittig, wenn breiter als der Bildschirm */
  top: 50%;
  left: 50%;
  width: min(86vw, 460px, 100vh);
  aspect-ratio: 1 / 1;
  transform: translate(-47.6%, -50%);   /* optisch zentriert: Logo sitzt in der Komposition leicht links */
}
.preloader-stage canvas,
.preloader-video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Ausgang: die dunkle Fläche rutscht nach oben weg, Homepage als Eingang */
.preloader.is-leaving {
  transform: translateY(-100%);
  pointer-events: none;
}
.preloader.is-leaving::before { border-radius: 0 0 48px 48px; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, .service-row, .gallery-tile, input, textarea { cursor: none; }
  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 150;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-dot { width: 7px; height: 7px; background: var(--rust); }
  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid var(--rust);
    opacity: 0.55;
    transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s var(--ease), border-color 0.25s var(--ease);
  }
  .cursor-ring.is-active { width: 66px; height: 66px; opacity: 1; }
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* =========================================================
   HERO-LAUFBAND
   ========================================================= */
.hero-marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid rgba(244, 236, 226, 0.15);
  border-bottom: 1px solid rgba(244, 236, 226, 0.15);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marqueeScroll 22s linear infinite;
  animation-play-state: paused;
}
.marquee-track.is-ready { animation-play-state: running; }
.marquee-group {
  display: flex;
  gap: 3.5rem;
  padding-block: 1.4rem;
  align-items: center;
  padding-right: 3.5rem;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--stone-on-dark);
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.marquee-track span img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-distance, -50%)); }
}

/* =========================================================
   STICKY BLOCK-STACK (Blockübergänge)
   ========================================================= */
@media (min-width: 900px) {
  .stack-section.section {
    display: flex;
    align-items: center;
    padding-block: clamp(2.5rem, 5vh, 4rem);
  }
}

/* =========================================================
   WIPE-REVEAL (Überschriften)
   ========================================================= */
.reveal-wipe {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.reveal-wipe::after {
  content: "";
  position: absolute;
  inset: -4% -2%;
  background: var(--rust);
  transform: scaleX(1);
  transform-origin: right;
}
.reveal-wipe.is-visible::after {
  animation: wipeReveal 0.85s var(--ease) forwards;
  animation-delay: 0.1s;
}
@keyframes wipeReveal {
  to { transform: scaleX(0); }
}

/* =========================================================
   RIESEN-WORTMARKE (Blockübergang Hero -> Manifest)
   ========================================================= */
.manifesto-wrap { position: relative; overflow: hidden; }
.giant-word {
  position: absolute;
  left: -2vw;
  bottom: -6vw;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 24vw, 20rem);
  line-height: 0.8;
  color: var(--rust);
  opacity: 0.1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.manifesto { position: relative; z-index: 1; }

/* =========================================================
   KUNDEN-KARUSSELL
   ========================================================= */
.clients-track-wrap {
  overflow: hidden;
  min-width: 0;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}
.clients-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: clientsScroll 60s linear infinite;
}
.clients-track:hover { animation-play-state: running; }
.clients-track-reverse { animation-direction: reverse; }
.client-card {
  position: relative;
  width: clamp(150px, 16vw, 210px);
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--stone);
  flex-shrink: 0;
}
.client-card .idx {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--stone);
  opacity: 0.6;
}
.client-card img {
  max-width: 60%;
  max-height: 42%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   HERO-ALTERNATIVE: helle Version mit Foto-Collage
   ========================================================= */
.hero-alt {
  position: relative;
  color: var(--ink-text);
  overflow: visible;
  height: 100vh;
  isolation: isolate;
}
.hero-alt-top {
  position: absolute;
  top: 38vh;
  right: 0;
  z-index: 5;
  max-width: 640px;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1.25rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--stone-on-dark);
  margin-bottom: 0.5rem;
}
.hero-alt-eyebrow {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--stone);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px var(--paper), 0 0 20px var(--paper);
}
.hero-alt-headline {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-shadow: 0 0 6px var(--paper), 0 0 6px var(--paper), 0 0 10px var(--paper);
}
.hero-alt-headline span {
  display: block;
  white-space: nowrap;
}
.hero-alt-tags {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.hero-alt-tags span {
  background: var(--paper-soft);
  color: var(--stone);
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-alt-est {
  position: absolute;
  left: 1.4rem;
  top: 26rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.hero-alt-collage {
  position: relative;
  height: clamp(1200px, 75vw, 1750px);
  margin: 20rem 0 0;
  width: 100%;
  perspective: 1450px;
  overflow: visible;
  transition: filter 0.35s ease-out;
}
.collage-3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-46deg) scale(1.5);
  transform-origin: 50% 75%;
}
.collage-card {
  position: absolute;
  bottom: 8%;
  width: clamp(185px, 18vw, 300px);
  aspect-ratio: 10 / 16;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  transform-origin: center center;
  will-change: left, transform;
  translate: 0 0;
  transition: translate 0.35s var(--ease);
}
.collage-card.is-lifted {
  translate: 0 -26px;
}
.collage-card .media-placeholder {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1b1512;
}
.collage-card.t2 .media-placeholder { background: #1b1512; }
.collage-card.t3 .media-placeholder { background: #201a16; }
.collage-card.t4 .media-placeholder { background: #17130f; }
.collage-card.t5 .media-placeholder { background: #1c1713; }
.collage-card .tag {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .hero-alt-top { flex-direction: column; }
  .hero-alt-tags { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .hero-alt-est { display: none; }
  .hero-alt-collage { perspective: 1000px; }
}

.hero-alt-wordmark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 15rem);
  line-height: 0.78;
  padding-inline: var(--gutter);
  margin-top: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--ink-text) 55%, rgba(27,21,18,0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hero-alt-wordmark .tm {
  font-family: var(--font-body);
  font-size: 0.28em;
  vertical-align: top;
  color: var(--stone);
  -webkit-text-fill-color: var(--stone);
}

.hero-alt-scroll-cue {
  position: absolute;
  right: var(--gutter);
  top: calc(38vh + 13rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--stone);
  font-size: 0.82rem;
  writing-mode: vertical-rl;
}
.hero-alt-scroll-cue::after {
  content: "";
  width: 1px;
  height: 40px;
  background: var(--stone);
}

.bottom-blur-fade {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  z-index: 30;            /* über allen Inhalts-Blöcken, unter Logo (40), Nav (60), Menü, Preloader, Cursor */
  pointer-events: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

/* =========================================================
   SCROLL-TRIGGER-TEXT — gerahmter Block, feste Größe
   ========================================================= */
.manifesto-alt {
  position: relative;
  margin: 14px;
  border-radius: 44px;
  background: var(--ink);
  color: var(--paper-text);
  min-height: clamp(30vh, 42vh, 50vh);
  max-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.scroll-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-indent: 2em;
}
.scroll-text .sw {
  color: var(--stone-on-dark);
  opacity: 0.3;
  transition: color 0.5s var(--ease), opacity 0.5s var(--ease);
}
.scroll-text .sw.is-lit {
  color: var(--paper-text);
  opacity: 1;
}
.scroll-text .sw-accent.is-lit {
  color: var(--rust);
}
@media (max-width: 720px) {
  .manifesto-alt { margin: 8px; border-radius: 24px; height: 200vh; }
}

/* =========================================================
   CREDITS-LISTE — läuft wie ein Kino-Abspann von unten nach oben
   ========================================================= */
.hero-alt-credits {
  position: absolute;
  top: 4.6rem;
  right: var(--gutter);
  z-index: 4;
  width: 270px;
  max-width: 100%;
  height: 240px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.credits-track {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  animation: creditsScroll 16s linear infinite;
}
.credit-pill {
  background: #ffffff;
  color: var(--stone);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  text-align: left;
  white-space: nowrap;
}
@keyframes creditsScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 900px) {
  .hero-alt-credits { display: none; }
}

/* =========================================================
   CLIENTS-BOX (Alternative) — weiße Box über der schwarzen Box
   ========================================================= */
.clients-alt {
  position: relative;
  z-index: 10;
  margin: -20vh 14px 14px;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding-block: clamp(5.5rem, 10vw, 9rem) clamp(7.5rem, 15vw, 13rem);
}
.clients-alt--flat { margin-top: 0; }
.clients-alt-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
@media (max-width: 780px) {
  .clients-alt-inner { width: 92%; }
  .clients-alt-head-row { flex-direction: column; align-items: flex-start; }
}
.clients-alt-inner .clients-track-wrap + .clients-track-wrap { margin-top: 1px; }
.clients-alt-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.clients-alt-sub {
  max-width: 34ch;
  color: var(--stone);
  font-size: 0.98rem;
  flex: 1;
  min-width: 220px;
}
.clients-alt-heading {
  position: relative;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  text-align: left;
  flex-shrink: 0;
}
.line2-group {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.25em;
  margin-top: -1.3em;
}
.clients-alt-heading-accent {
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  font-size: 1.7em;
  line-height: 1;
  background: var(--rust);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
@media (max-width: 720px) {
  .clients-alt { margin: -8vh 8px 8px; border-radius: 24px; }
  .clients-alt--flat { margin-top: 0; }
}

/* =========================================================
   PROBLEM / LÖSUNG — Text fix mittig, Boxen fliegen von unten in der Z-Ebene
   ========================================================= */
.problem-alt {
  position: relative;
  height: 220vh;
}
.problem-alt-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: var(--gutter);
  perspective: 1200px;
  transition: opacity 0.2s ease;
}
.problem-alt-sticky.is-past { position: absolute; top: auto; bottom: 0; }
.problem-alt-eyebrow {
  font-family: "Blugie", var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: -0.5em;
  position: relative;
  z-index: 1;
  background: var(--rust);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.problem-alt-headline {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  max-width: 18ch;
  position: relative;
  z-index: 2;
}
.problem-alt-sub {
  margin-top: 1.25rem;
  max-width: 46ch;
  color: var(--stone);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.5;
}
.problem-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  max-width: 340px;
  padding: 1.3rem 1.5rem;
  border-radius: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  line-height: 1.4;
  will-change: transform;
  transition: background 0.35s ease, color 0.35s ease;
}
.problem-card[data-kind="problem"] {
  background: var(--ink);
  color: var(--paper-text);
}
.problem-card[data-kind="solution"] {
  background: var(--rust);
  color: #fff;
}
.problem-card-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  line-height: 1;
}
.problem-card-icon.is-x { background: rgba(255, 255, 255, 0.15); color: #fff; }
.problem-card-icon.is-check { background: rgba(255, 255, 255, 0.2); color: #fff; }
@media (max-width: 900px) {
  .problem-card { max-width: 220px; font-size: 0.85rem; padding: 0.85rem 1rem; }
}

/* =========================================================
   FADE-IN-BLUR — Wort fliegt weich mit Unschärfe herein
   ========================================================= */
.fade-blur-in {
  display: inline-block;
}
.fade-blur-in .letter {
  display: inline-block;
  opacity: 0;
  filter: blur(16px);
  transform: translateY(0.35em);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--letter-delay, 0s);
}
.fade-blur-in.is-in .letter {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.clients-alt-heading-accent .letter {
  background: var(--rust);
  background-size: var(--letter-bg-w, 100%) 100%;
  background-position-x: var(--letter-bg-x, 0px);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   3D-FÄCHER-KARUSSELL — Karten teilen sich einen Drehpunkt, die
   ganze Gruppe ist zusätzlich schräg im Raum geneigt (rotateX),
   sodass von oben ein strahlenförmiges Muster entsteht.
   ========================================================= */
.card-carousel-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  perspective: 1800px;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.card-carousel-group {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(52deg);
}
.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 10 / 16;
  border-radius: 14px;
  overflow: hidden;
  /* Gleicher Abstand zur Mittelachse für alle Karten (--offset), plus eine
     eigene, inkrementelle Rotation um die eigene Z-Achse (--angle). Die
     schräge Wirkung kommt ausschließlich von der rotateX-Neigung der Gruppe. */
  transform: translate(-50%, -50%) translateX(calc(var(--offset, 0) * clamp(90px, 9vw, 140px))) rotateZ(var(--angle, 0deg));
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease);
}
.carousel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .card-carousel-stage { height: clamp(280px, 70vw, 420px); }
  .carousel-card { width: clamp(110px, 26vw, 160px); }
}

/* =========================================================
   LEISTUNGEN — fixierte Box mit Rahmen/Schatten, Inhalte
   wechseln per Crossfade während die Box stehenbleibt
   ========================================================= */
/* =========================================================
   LEISTUNGEN — einfacher Block, Karten rutschen beim
   Scrollen hoch (kein Pinnen)
   ========================================================= */
.leistung-stack {
  position: relative;
  padding-top: clamp(5rem, 11vw, 8rem);
}
.leistung-stack-head {
  padding-bottom: 0;
}
.leistung-stack-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  text-align: left;
}
.leistung-stack-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.leistung-stack-sub-head {
  max-width: 34ch;
  color: var(--stone);
  font-size: 0.98rem;
  flex: 1;
  min-width: 220px;
}
.leistung-stack-heading-accent {
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
  font-size: 1.15em;
}
.leistung-stack-item {
  position: relative;
  height: 78vh;
}
.leistung-stack-item:last-child {
  height: 105vh;
}
.leistung-stack-card {
  position: fixed;
  left: 50%;
  top: 0;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: 60vh;
  overflow: hidden;
  transform: translate(-50%, var(--y, -200vh));
  background: var(--paper);
  border: 0.5px solid rgba(21, 17, 13, 0.06);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
  padding: clamp(0.6rem, 1.2vw, 1rem);
  gap: clamp(0.6rem, 1.2vw, 1rem);
}
.leistung-stack-item:last-child .leistung-stack-card { height: 68vh; }
.leistung-stack-item:nth-child(1) .leistung-stack-card { z-index: 1; }
.leistung-stack-item:nth-child(2) .leistung-stack-card { z-index: 2; }
.leistung-stack-item:nth-child(3) .leistung-stack-card { z-index: 3; }
.leistung-stack-item:nth-child(4) .leistung-stack-card { z-index: 4; }
.leistung-stack-item:nth-child(5) .leistung-stack-card { z-index: 5; }
.leistung-stack-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
}
.leistung-stack-media video,
.leistung-stack-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leistung-stack-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.75rem) 0;
}
.leistung-stack-content h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--ink-text);
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
}
.leistung-stack-sub {
  color: var(--stone);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  max-width: 34ch;
}
.leistung-stack-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease);
}
.leistung-stack-btn:hover { transform: translateY(-2px); }
.leistung-stack-tags {
  margin-top: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.leistung-stack-tags-track {
  display: flex;
  width: max-content;
  gap: 0.6rem;
  animation: marqueeScroll 26s linear infinite;
}
.tag-pill {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .leistung-stack-card { grid-template-columns: 1fr; height: auto !important; max-height: 88vh; }
  .leistung-stack-media { height: 34vh; }
  .leistung-stack-content { padding: 1.5rem; }
}

/* Fortschritts-Indikator links neben dem Karten-Stapel */
.leistung-progress {
  position: fixed;
  left: calc(50% - min(660px, 50% - var(--gutter)) - 3rem);
  top: 0;
  transform: translateY(calc(var(--progress-y, 20vh) - 50%));
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.leistung-progress.is-visible { opacity: 1; }
.leistung-progress-line {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(21, 17, 13, 0.15);
  z-index: -1;
}
.leistung-progress-line-fill {
  width: 100%;
  height: 0%;
  background: var(--rust);
  transition: height 0.3s var(--ease);
}
.leistung-progress-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(21, 17, 13, 0.18);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.leistung-progress-dot.is-active {
  background: var(--rust);
  border-color: var(--rust);
  transform: scale(1.15);
}
@media (max-width: 1100px) {
  .leistung-progress { display: none; }
}

/* =========================================================
   PROJEKT-RASTER — 6 Kacheln, 2 Spalten, weißer Kopf + Medium
   ========================================================= */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}
.project-card-head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-body);
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.project-card-dots {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.35rem;
}
.project-card-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.project-card-dots span:nth-child(1) { background: #ec6a5e; }
.project-card-dots span:nth-child(2) { background: #f4bf4f; }
.project-card-dots span:nth-child(3) { background: #61c554; }
.project-card-head strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-text);
}
.project-card-head span:not(.project-dots) {
  color: var(--stone);
  font-size: 0.9rem;
}
.project-dots {
  margin-left: auto;
  color: var(--stone);
  letter-spacing: 0.1em;
}
.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-md);
}
.project-card-media video,
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-media--all {
  display: grid;
  place-items: center;
  background: var(--ink);
}
.project-card-all-arrow {
  font-size: 2.4rem;
  color: var(--paper);
  transition: transform var(--dur-fast) var(--ease);
}
.project-card--all:hover .project-card-all-arrow { transform: translateX(6px); }
@media (max-width: 780px) {
  .project-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   UNSER TEAM — Überschrift + weiße Bild-Box (80% Breite)
   ========================================================= */
.team-heading {
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  padding-top: 0.5em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.team-photo-box {
  width: 100%;
  margin-inline: auto;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  aspect-ratio: 2 / 1;          /* = Teamfoto, niemand wird abgeschnitten */
  border-radius: 32px;
  overflow: hidden;
  border: 8px solid var(--paper);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.team-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 780px) {
  .team-photo-box { width: 92%; aspect-ratio: 3 / 2; border-radius: 20px; }   /* alle 7 Personen bleiben im Bild */
}

/* =========================================================
   4 SCHRITTE ZUR ZUSAMMENARBEIT — orangener Akkordeon-Block,
   ein Panel expandiert (automatisch alle 5s oder per Klick)
   ========================================================= */
.steps-section {
  margin: 14px;
  border-radius: 44px;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--rust);
}
.steps-eyebrow { color: rgba(255, 255, 255, 0.85); }
.steps-eyebrow.eyebrow-pill--white { color: var(--ink-text); }
.steps-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}
.steps-sub-head {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  flex: 1;
  min-width: 220px;
}
.steps-heading { color: #fff; }
.steps-box {
  display: flex;
  gap: 2px;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  margin-top: clamp(2rem, 5vw, 3rem);
  height: clamp(420px, 62vw, 620px);
  border-radius: 44px;
  overflow: hidden;
  background: var(--rust);
}
.steps-panel {
  position: relative;
  flex: 0 0 90px;
  background: var(--ink);
  transition: flex-grow 0.6s var(--ease);
  overflow: hidden;
}
.steps-panel.is-active {
  flex-grow: 999;
}
.steps-num {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: "Blugie", var(--font-display);
  font-size: 2.1rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 2;
}
.steps-panel.is-active .steps-num { color: #fff; }
.steps-panel-inner {
  position: absolute;
  inset: 0;
  padding: clamp(2rem, 3.5vw, 3rem);
  opacity: 0;
  transition: opacity 0.3s var(--ease) 0.15s;
  display: flex;
  flex-direction: column;
}
.steps-panel.is-active .steps-panel-inner { opacity: 1; }
.steps-panel-inner h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: #fff;
  max-width: 10ch;
}
.steps-desc {
  margin-top: 1rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.5;
}
.steps-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.steps-timeline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.steps-wave {
  display: inline-block;
  width: 40px;
  height: 8px;
  background-image: repeating-linear-gradient(135deg, var(--rust) 0 2px, transparent 2px 6px);
}
.steps-toggle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  --pct: 0;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background:
    radial-gradient(closest-side, var(--ink) 84%, transparent 85%),
    conic-gradient(#fff calc(var(--pct) * 1%), rgba(255, 255, 255, 0.18) 0);
  cursor: pointer;
  z-index: 2;
}
.steps-toggle-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.steps-toggle-icon::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-2px, 2px);
}
@media (max-width: 900px) {
  .steps-box { flex-direction: column; height: auto; }
  .steps-panel { flex: 0 0 64px; }
  .steps-panel.is-active { flex-grow: 999; }
}

/* =========================================================
   FAQ — zweispaltig, links Intro + CTA, rechts Akkordeon
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq-left .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.faq-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.faq-heading-accent {
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
  font-size: 1.15em;
}
.faq-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.faq-cta > span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
}
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--rust);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease);
}
.faq-cta-btn:hover { transform: translateY(-2px); }

.faq-right { border-top: 1px solid rgba(21, 17, 13, 0.12); }
.faq-item { border-bottom: 1px solid rgba(21, 17, 13, 0.12); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  padding-block: clamp(1.3rem, 2.6vw, 1.8rem);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--rust);
  border-radius: 50%;
  color: var(--rust);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
}
.faq-title {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink-text);
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--rust);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  margin: 0 0 clamp(1.3rem, 2.6vw, 1.8rem);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
  max-width: 60ch;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.6;
}
.faq-item.is-open .faq-answer { max-height: 280px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   INSIGHTS — Blog-/Newsletter-Beiträge, 3 Karten
   ========================================================= */
.insights-section {
  margin: 14px;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.insights-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.insights-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.btn-pill-outline {
  flex-shrink: 0;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn-pill-outline:hover { background: var(--ink); color: #fff; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.insight-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.insight-media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.insight-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}
.insight-tag--pink { background: #f4a6c8; }
.insight-tag--violet { background: #b3a6f4; }
.insight-tag--orange { background: var(--rust); color: #fff; }
.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--stone);
}
.insight-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rust);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.insight-meta strong { color: var(--ink-text); }
.insight-date { margin-left: auto; }
.insight-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink-text);
  margin-bottom: 0.5rem;
}
.insight-card p { color: var(--stone); font-size: 0.95rem; line-height: 1.5; }
@media (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   POLISH-PASS v267 — ein System statt Einzel-Fixes
   ========================================================= */
:root {
  --pill-gap: clamp(1.1rem, 1.8vw, 1.5rem);   /* Abstand Pille → Titel, überall gleich */
  --head-gap: clamp(2.5rem, 5.5vw, 4rem);     /* Abstand Kopfzeile → Inhalt */
}

/* ---------- Eyebrow-Pillen: identisch in jeder Sektion ---------- */
p.eyebrow.eyebrow-pill {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 var(--pill-gap);
  padding: 0.55rem 1.05rem 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink-text);
}
p.eyebrow.eyebrow-pill--grey {
  background: var(--paper-soft);
  box-shadow: inset 0 0 0 1px rgba(21, 17, 13, 0.06);
}
p.eyebrow.eyebrow-pill--white {
  background: #fff;
  box-shadow: var(--shadow-xs);
}
p.eyebrow.eyebrow-pill--center { margin-inline: auto; }
.team-heading { padding-top: 0; }

/* Punkt mit sanftem Puls-Ring */
.eyebrow-pill-dot { position: relative; }
.eyebrow-pill-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rust);
  animation: pillPing 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pillPing {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

/* ---------- Kopfzeilen: Titelblock + Untertitel, unten bündig ---------- */
.clients-alt-head-row,
.steps-head-row,
.leistung-stack-head-row,
.insights-head {
  align-items: flex-end;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.clients-alt-sub,
.steps-sub-head,
.leistung-stack-sub-head {
  flex: 0 1 34ch;
  min-width: 0;
  margin: 0;
  padding-bottom: 0.35em;           /* optisch auf Grundlinie der letzten Titelzeile */
  font-size: 1rem;
  line-height: 1.55;
}
.steps-section .section-head.steps-head-row {
  flex-direction: row;
  justify-content: space-between;
  max-width: none;
  margin-bottom: 0;
}
.steps-box { margin-top: var(--head-gap); }
.insights-head { margin-bottom: var(--head-gap); }

/* ---------- FAQ ---------- */
.faq-heading { line-height: 1; }
.leistung-stack-heading .hl-line + .hl-line { margin-top: 0.12em; }
.leistung-stack-heading-accent { line-height: 1; }
.faq-heading-accent {
  display: inline-block;             /* Blugie-Metriken dürfen die Zeilenhöhe nicht aufblähen */
  line-height: 0;
  vertical-align: baseline;
}
.faq-answer p { background: #fff; box-shadow: var(--shadow-sm); }
.faq-item.is-open .faq-answer { max-height: 320px; }

/* ---------- Ablauf: größere Nummern ---------- */
.steps-num {
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  line-height: 1;
  transition: color 0.5s var(--ease), right 0.7s var(--ease), transform 0.7s var(--ease);
}
.steps-panel:not(.is-active) .steps-num {
  right: 50%;
  transform: translateX(50%);
}
.steps-section { box-shadow: var(--shadow-lg); }

/* ---------- Karten: einheitlicher Hover ---------- */
.project-card,
.insight-card { transition: transform 0.6s var(--ease); }
.project-card-media,
.insight-media {
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.6s var(--ease);
}
.project-card-media img,
.insight-media img {
  transition: transform 1.1s var(--ease);
}
@media (hover: hover) {
  .project-card:hover,
  .insight-card:hover { transform: translateY(-6px); }
  .project-card:hover .project-card-media,
  .insight-card:hover .insight-media { box-shadow: var(--shadow-hover); }
  .project-card:hover .project-card-media img,
  .insight-card:hover .insight-media img { transform: scale(1.045); }
}

/* ---------- Buttons: Schatten + Glanz-Sweep ---------- */
.faq-cta-btn,
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background var(--dur-fast) var(--ease);
}

@media (hover: hover) {
  .faq-cta-btn:hover,
  .btn-primary:hover { box-shadow: var(--shadow-md); }
}
.btn-pill-outline { transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
[data-magnetic] { will-change: transform; }

/* ---------- Headlines: Zeilen gleiten nacheinander herein ---------- */
.hl-line { display: block; }
.js-lines .hl-line {
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(8px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.js-lines.is-in .hl-line { opacity: 1; transform: none; filter: none; }
.js-lines-pill {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-lines-pill.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .eyebrow-pill-dot::after { animation: none; display: none; }
  .js-lines .hl-line, .js-lines-pill { opacity: 1; transform: none; filter: none; transition: none; }
  [data-magnetic] { transform: none !important; }
}
.steps-head-row > div,
.insights-head > div,
.head-title-block {
  flex: 1 1 0;
  min-width: min(100%, 420px);
}

/* Einheitlicher Innenabstand oben für alle Box-Sektionen */
:root { --box-pad-top: clamp(3.5rem, 8vw, 6rem); }
.clients-alt { padding-top: var(--box-pad-top); }
.insights-section { padding-top: var(--box-pad-top); }
.steps-section { padding-top: var(--box-pad-top); }
.clients-alt-inner { gap: var(--head-gap); }
.clients-alt-inner > .project-grid { margin-top: 0; }

/* ---------- Mobil: Kopfzeilen & Ablauf-Akkordeon ---------- */
@media (max-width: 780px) {
  .clients-alt-sub { flex: none; padding: 0; margin: 0; }
  .clients-alt-head-row { gap: 1.25rem; }
}
@media (max-width: 900px) {
  .steps-section { padding-inline: 1rem; }
  .steps-section .container { padding-inline: 0.5rem; }
  .steps-section .section-head.steps-head-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .steps-sub-head { flex: none; padding: 0; }
  .steps-heading { font-size: clamp(1.35rem, 5.6vw, 2.4rem); }

  .steps-box { width: 100%; border-radius: 28px; height: auto; }
  .steps-panel,
  .steps-panel.is-active { flex: none; cursor: pointer; }
  .steps-num,
  .steps-panel:not(.is-active) .steps-num {
    top: 1.3rem;
    left: 1.4rem;
    right: auto;
    transform: none;
    font-size: 1.9rem;
  }
  .steps-panel-inner {
    position: relative;
    inset: auto;
    opacity: 1;
    min-height: 78px;
    justify-content: center;
    padding: 1.4rem 4.4rem 1.4rem 4.6rem;
  }
  .steps-panel-inner h3 { font-size: 1.2rem; max-width: none; }
  .steps-panel:not(.is-active) .steps-panel-inner h3 { color: rgba(255, 255, 255, 0.5); }
  .steps-panel:not(.is-active) .steps-desc,
  .steps-panel:not(.is-active) .steps-footer { display: none; }
  .steps-panel.is-active .steps-panel-inner { padding-bottom: 1.8rem; }
  .steps-panel.is-active .steps-panel-inner h3 { font-size: 1.45rem; }
  .steps-toggle {
    top: 1.15rem;
    right: 1rem;
    left: auto;
    bottom: auto;
    transform: none;
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 900px) {
  .steps-panel.is-active .steps-panel-inner { padding: 4.6rem 1.4rem 1.8rem; }
}
@media (max-width: 780px) {
  .clients-alt-head-row,
  .leistung-stack-head-row,
  .insights-head { align-items: flex-start; }
}
@media (max-width: 600px) {
  .insights-heading { font-size: clamp(1.35rem, 6vw, 2.4rem); }
}

/* =========================================================
   POLISH v268 — dezentere Pillen, einheitliche Blugie-Akzente
   ========================================================= */
p.eyebrow.eyebrow-pill {
  gap: 0.45rem;
  padding: 0.42rem 0.8rem 0.42rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(21, 17, 13, 0.7);
}
p.eyebrow.eyebrow-pill--white {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(21, 17, 13, 0.06);
}
p.eyebrow.eyebrow-pill--grey {
  background: rgba(21, 17, 13, 0.04);
  box-shadow: inset 0 0 0 1px rgba(21, 17, 13, 0.05);
}
.eyebrow-pill-dot { width: 6px; height: 6px; }
.eyebrow-pill-dot::after { display: none; }
/* auf Orange: gläsern statt weiß */
p.eyebrow.steps-eyebrow.eyebrow-pill--white {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
}
.steps-eyebrow .eyebrow-pill-dot { background: #fff; }

/* Blugie-Akzentwörter: überall gleiche Größe wie "found." bei Projekte */
.faq-heading-accent,
.leistung-stack-heading-accent,
.footer-heading-accent,
.team-heading-accent {
  display: inline-block;
  font-size: 1.7em;
  line-height: 0.8;
  vertical-align: baseline;
  /* Blugie-Glyphen ragen links über ihren Rahmen (S: −3,4 % em) → Rahmen erweitern,
     Position per negativem Außenabstand unverändert → nichts wird abgeschnitten */
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}
.team-heading-accent {
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
}
.hl-line--accent { margin-top: -0.1em; }
/* Mehr Luft vor dem großen Blugie-Wort (optisch sonst zu eng) */
.leistung-stack-heading .hl-line + .hl-line,
.team-heading .hl-line + .hl-line { margin-top: 0.12em; }

.footer-heading-accent { font-size: 2em; }
/* Footer mobil: nichts ragt über den Rand */
.footer-top-row > *,
.footer-intro { min-width: 0; max-width: 100%; }
@media (max-width: 700px) {
  .footer-links-row { gap: 2rem 2.5rem; }
}
/* Hero mobil: Headline skaliert mit, damit "GEFUNDEN" nicht abgeschnitten wird */
.hero-inner > * { min-width: 0; }
@media (max-width: 600px) {
  .hero-headline { font-size: clamp(2rem, 10.2vw, 3.2rem); }
}

/* Smooth Scroll: CSS-Smooth darf die Frame-Positionierung nicht zusätzlich animieren */
html.has-smooth-scroll { scroll-behavior: auto !important; }

/* =========================================================
   PROJEKTE — Ordner-Hover: Deckel klappt auf, Blätter fahren heraus
   Linke Spalte öffnet nach links, rechte nach rechts (in den freien Rand,
   nie über die Nachbarkarte).
   ========================================================= */
.project-folder {
  --dir: 1;                 /* 1 = öffnet nach rechts, -1 = nach links */
  --tab-shift: clamp(18px, 2vw, 30px);
  position: relative;
  perspective: 1800px;
}
.project-grid > .project-card:nth-child(odd) .project-folder { --dir: -1; }

.project-folder .project-card-media {
  z-index: 2;
  transform-origin: calc(50% - var(--dir) * 50%) 50%;   /* Scharnier auf der Innenseite */
  transition: transform 0.9s var(--ease), box-shadow 0.6s var(--ease);
}
.folder-sheet {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  border-radius: 16px;
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.3s linear;
  pointer-events: none;
}
.folder-sheet--back {
  top: 4%;
  bottom: 14%;
  background: #dcd8d1;
  box-shadow: var(--shadow-sm);
}
.folder-sheet--tab {
  top: 15%;
  bottom: 3%;
  background: var(--rust);
  box-shadow: var(--shadow-md);
}
.folder-tab-label {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(var(--tab-shift) + 14px);
  display: grid;
  place-items: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.project-grid > .project-card:nth-child(odd) .folder-tab-label { right: auto; left: 0; }

@media (hover: hover) and (min-width: 781px) {
  .project-card:hover .project-folder .project-card-media {
    transform: rotateY(calc(var(--dir) * -10deg)) scale(0.94);
  }
  .project-card:hover .folder-sheet { opacity: 1; }
  .project-card:hover .folder-sheet--back {
    transform: translateX(calc(var(--dir) * 12px)) translateY(-4px) rotate(calc(var(--dir) * 1deg));
    transition-delay: 0.03s;
  }
  .project-card:hover .folder-sheet--tab {
    transform: translateX(calc(var(--dir) * var(--tab-shift))) rotate(calc(var(--dir) * 2.5deg));
    transition-delay: 0.07s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .folder-sheet { display: none; }
  .project-card:hover .project-folder .project-card-media { transform: none; }
}

/* =========================================================
   PROBLEM — Dolly-In + Scroll-Trigger für Zeile 2
   ========================================================= */
.problem-alt-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 50%;
}
.problem-line2 {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.6em);
  transition:
    opacity 1s var(--ease),
    filter 1.1s var(--ease),
    transform 1.2s var(--ease);
}
.problem-line2.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}
/* "gefunden." setzt Buchstabe für Buchstabe nach, wenn die Zeile schon steht */
.problem-line2 .fade-blur-in .letter {
  transition-delay: calc(var(--letter-delay, 0s) + 0.35s);
}
@media (prefers-reduced-motion: reduce) {
  .problem-line2 { opacity: 1; filter: none; transform: none; transition: none; }
}

/* =========================================================
   MARKENFARBE — überall exakt das Logo-Orange #DB4A2B, keine Verläufe.
   Texte direkt einfärben statt Hintergrund in die Schrift zu stanzen
   (bei Vollfarbe unnötig und in Safari unzuverlässig).
   ========================================================= */
.num-accent,
.footer-heading-accent,
.clients-alt-heading-accent,
.clients-alt-heading-accent .letter,
.problem-alt-eyebrow {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: var(--rust) !important;
  -webkit-text-fill-color: var(--rust);
}
/* Hover-Rückmeldung ohne Farbwechsel (früher: dunkleres Orange) */
.btn-primary:hover,
.nav-cta:hover,
.nav-cta-standalone:hover { box-shadow: var(--shadow-md); }

/* Problem: Ebene bleibt fixiert, der Projekte-Block schiebt sich darüber.
   Erst wenn er den Bildschirm komplett bedeckt, wird sie weich ausgeblendet. */
.problem-alt-sticky { transition: opacity 0.25s ease, visibility 0s linear 0s; }
.problem-alt-sticky.is-covered {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

/* =========================================================
   PROJEKTE — ab 1100 px zwei Dreierreihen
   Ordner öffnen: linke Spalte nach links, mittlere und rechte nach rechts
   (mittlere in den vergrößerten Zwischenraum, nie über die Nachbarkarte)
   ========================================================= */
@media (min-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 2.5rem;
    row-gap: 2rem;
  }
  .project-grid > .project-card:nth-child(n) .project-folder { --dir: 1; --tab-shift: clamp(18px, 1.6vw, 26px); }
  .project-grid > .project-card:nth-child(3n+1) .project-folder { --dir: -1; }
  .project-grid > .project-card:nth-child(n) .folder-tab-label { left: auto; right: 0; }
  .project-grid > .project-card:nth-child(3n+1) .folder-tab-label { right: auto; left: 0; }
  /* Titelleiste einzeilig: Firmenname bleibt ganz, Untertitel wird ggf. mit „…" gekürzt
     (vollständig auf dem Ordner-Reiter beim Hover) → alle Bilder einer Reihe auf gleicher Höhe */
  .project-card-head { white-space: nowrap; padding-right: 3.6rem; }
  .project-card-head strong { flex-shrink: 0; font-size: 0.95rem; }
  .project-card-head > span:not(.project-card-dots) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
  }
}

/* =========================================================
   WELLIGE KANTEN (Ablauf, Insights, Footer; Projekte bewusst ohne)
   SVG aus Unbenannt-1_Kopie.svg, gespiegelt (Buckel links), sitzt exakt auf der
   Oberkante, Box-Farbe. Enthält die Rundung oben links → diese Ecke
   der Box ist eckig. Unterkante: dieselbe Welle vertikal gespiegelt,
   Buckel unten rechts → Ecke unten rechts eckig. Übrige Ecken unverändert.
   ========================================================= */
.box-wave {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 82;
  pointer-events: none;
}
.box-wave path { fill: var(--wave-color, var(--paper)); }
.box-wave--top { bottom: calc(100% - 1px); }      /* 1 px Überlappung → keine Haarlinie */
.box-wave--bottom { top: calc(100% - 1px); }      /* Unterkante: Buckel unten rechts */

/* ---------- Wellen auf allen Boxen, jeweils in Box-Farbe ---------- */
.steps-section,
.insights-section {
  position: relative;
  overflow: visible;
  border-top-left-radius: 0;                       /* Rundung steckt in der oberen Welle */
  border-bottom-right-radius: 0;                   /* Rundung steckt in der unteren Welle */
}
.steps-section { --wave-color: var(--rust); }
.insights-section { --wave-color: var(--paper); }
/* Footer: nur obere Welle (unten reicht er bis zum Seitenende). Die Box selbst
   schneidet das Riesen-Logo ab, deshalb sitzt die Welle außerhalb, bündig darüber. */
.site-footer-new { position: relative; --wave-color: var(--ink); }
.footer-wave { left: 14px; width: calc(100% - 28px); }
.footer-box { border-top-left-radius: 0; }
/* Insights → Footer: untere und obere Welle treffen aufeinander. Beide zusammen
   brauchen an der engsten Stelle 4,23 % der Box-Breite → Abstand wächst mit. */
.insights-section { margin-bottom: calc((100% - 28px) * 0.0423 + 24px); }

/* „Alle Projekte": Bild als Fläche, Pfeil als runder Button mittig darauf */
.project-card-media--all img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-media--all .project-card-all-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-text);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
}

/* ---------- Abstände: Projekte & Ablauf ---------- */
.clients-alt {
  padding-top: clamp(2.5rem, 4.5vw, 4rem);         /* vorher 96 px */
  padding-bottom: clamp(3rem, 6vw, 5.5rem);        /* vorher 208 px */
}
.steps-section {
  padding-top: clamp(2.5rem, 4.5vw, 4rem);         /* vorher 96 px */
  padding-bottom: clamp(4rem, 8vw, 6.5rem);        /* vorher 80 px */
}
/* ---------- Footer ohne Logo: Seite endet nach dem Copyright ---------- */
.footer-box { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Leistungskarten: Bild im Format 4:3 ----------
   Bildspalte = (Kartenhöhe − Innenabstand) × 4/3, Text bekommt den Rest.
   Reicht die Breite nicht (Bild > 62 %), wird die Karte niedriger statt
   das Bild zu verzerren → auf jedem Bildschirm exakt 4:3. */
.leistung-stack-card {
  --card-w: min(var(--container), calc(100vw - var(--gutter) * 2));
  --card-pad: clamp(0.6rem, 1.2vw, 1rem);
  /* höchste Karte, bei der ein 4:3-Bild noch in 62 % der Breite passt */
  --card-h-max: calc((var(--card-w) - var(--card-pad) * 3) * 0.62 * 0.75 + var(--card-pad) * 2);
  --card-h: min(60vh, var(--card-h-max));
  height: var(--card-h);
  grid-template-columns: calc((var(--card-h) - var(--card-pad) * 2) * 4 / 3) minmax(0, 1fr);
}
.leistung-stack-item:last-child .leistung-stack-card { --card-h: min(68vh, var(--card-h-max)); height: var(--card-h); }
@media (max-width: 780px) {
  .leistung-stack-card { grid-template-columns: 1fr; }
  .leistung-stack-media { height: auto; aspect-ratio: 4 / 3; }
}

/* =========================================================
   INSIGHTS — wie die Projektkarten: Bild mit weißem Rahmen,
   darunter Datum + Titel in eigener weißer Box, beide mit Schatten
   ========================================================= */
.insight-card { display: flex; flex-direction: column; gap: 0.75rem; }
.insight-media {
  margin-bottom: 0;
  border: 6px solid var(--paper);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.insight-box {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.insight-box .insight-date {
  margin-left: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--stone);
}
.insight-box h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; text-transform: none; letter-spacing: 0; }   /* wie die Projekttitel */

/* „Insights" in der Überschrift: Blugie, Orange, in der ersten Zeile */
.insights-heading-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
  font-size: 1.5em;
  line-height: 0;                 /* bläht die Zeile nicht auf */
  vertical-align: baseline;
  padding-inline: 0.08em;         /* Blugie ragt links über den Rahmen */
  margin-inline: -0.08em;
}
.insights-heading .hl-line--accent { margin-top: 0; }

/* Footer-Adresse als <address>: ohne Kursivschrift */
address.footer-address { font-style: normal; }


/* Footer-Titel: „found" größer, enger an „LET'S GET" */
.footer-heading-accent { font-size: 2.5em; }
.footer-heading .hl-line--accent { margin-top: -0.40em; }

/* =========================================================
   UNTERSEITEN — Grundlage (zuerst: /leistungen/)
   ========================================================= */

/* Box „Im Detail": wie Insights (Paper, Wellen oben links / unten rechts) */
.services-detail {
  position: relative;
  margin: 14px;
  border-radius: 44px;
  border-bottom-right-radius: 0;                    /* Rundung steckt in der unteren Welle */
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(3rem, 6vw, 5.5rem);
  --wave-color: var(--paper);
  /* untere Welle trifft auf die obere Welle des Ablaufs → Abstand wächst mit */
  margin-bottom: calc((100% - 28px) * 0.0423 + 24px);
}
.services-heading-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  vertical-align: baseline;
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}
.services-heading .hl-line + .hl-line { margin-top: 0.12em; }

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: 90px;                          /* Platz für die Navigation beim Ansprung */
}
.service-row + .service-row { border-top: 1px solid rgba(21, 17, 13, 0.08); }
.service-row:nth-child(even) .service-media { order: 2; }   /* Bild im Wechsel links / rechts */
.service-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--paper);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.service-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-title {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1;
}
.service-lead {
  max-width: 46ch;
  margin: 0 0 1.25rem;
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.6;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.service-text { min-width: 0; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: minmax(0, 1fr); }   /* Spalte darf schrumpfen */
  .service-row:nth-child(even) .service-media { order: 0; }
  .service-title { font-size: clamp(1.5rem, 7vw, 2.2rem); }
}


/* Mehrere Absätze in einem Leistungs-Abschnitt: etwas engerer Absatzabstand */
.service-lead + .service-lead { margin-top: -0.35rem; }

/* =========================================================
   UNTERSEITEN-KOPF: links Titel, rechts Video (nicht über die ganze Breite)
   ========================================================= */
.page-hero { padding-block: clamp(7rem, 11vw, 9.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero-title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4rem);            /* „WAS MACHEN" bleibt einzeilig (Wortbreite = 10,13 × Schriftgröße) */
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.page-hero-title .hl-line + .hl-line { margin-top: 0.12em; }
.page-hero-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  vertical-align: baseline;
  padding-inline: 0.08em;                         /* Blugie ragt links über den Rahmen */
  margin-inline: -0.08em;
}
.page-hero-lead {
  max-width: 46ch;
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.6;
}
.page-hero-text .cta-group { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.page-hero-media {
  aspect-ratio: 4 / 3;
  border: 8px solid var(--paper);
  border-radius: 32px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.page-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero-title { font-size: clamp(2rem, 8.4vw, 3.4rem); }
  .page-hero-media { border-radius: 20px; }
}

/* ---------- Ablauf: keine Überlappungen bei 901–1460 px (v305) ---------- */
/* „ZUSAMMENARBEIT“ passt erst ab ~1460 px neben den Untertitel → darunter stapeln */
@media (min-width: 901px) and (max-width: 1460px) {
  .steps-section .section-head.steps-head-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .steps-sub-head { flex: none; padding: 0; }
}

/* ---------- Problem: alle Texte per Scroll-Trigger, Übertitel mit Abstand (v306) ---------- */
/* Übertitel, „Viele posten.“ und Einleitung blenden wie Zeile 2 ein (JS setzt .is-in) */
.problem-line1 { display: inline-block; }
.problem-reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.6em);
  transition:
    opacity 1s var(--ease),
    filter 1.1s var(--ease),
    transform 1.2s var(--ease);
}
.problem-alt-eyebrow.problem-reveal,
.problem-alt-sub.problem-reveal { transform: translateY(24px); }
.problem-reveal.is-in { opacity: 1; filter: blur(0); transform: none; }
.problem-alt-eyebrow { margin-bottom: 0.05em; }
@media (prefers-reduced-motion: reduce) {
  .problem-reveal,
  .problem-alt-eyebrow.problem-reveal,
  .problem-alt-sub.problem-reveal { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------- Problem: Übertitel + Headline wortweise, Buchstabe für Buchstabe (v307) ---------- */
/* Zeilen selbst nicht mehr als Block einblenden – nur ihre Buchstaben (wie „gefunden.“) */
.problem-words.problem-reveal,
.problem-line2.problem-words {
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
}
.problem-words .fade-blur-in .letter {
  transition-delay: calc(var(--word-delay, 0s) + var(--letter-delay, 0s));
}
@media (prefers-reduced-motion: reduce) {
  .problem-words .fade-blur-in .letter { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------- Team-Headline: Zeilenabstand wie „Got found / with found.“ (v310) ---------- */
.team-heading .hl-line + .hl-line { margin-top: -0.54em; }

/* ---------- „Was machen / Sachen?“: Zeilenabstand wie „Got found / with found.“ (v311) ---------- */
.page-hero-title .hl-line + .hl-line { margin-top: -0.54em; }

/* ---------- „Was hinter jeder / Leistung steckt.“: Zeilenabstand wie „Got found“ (v312) ---------- */
/* Zeile 2 enthält auch normale Schrift → Abstand der Versalzeilen wie „GOT FOUND / WITH“,
   „Leistung“ sitzt relativ zu seiner Zeile so tief wie „found.“ (per Pixelmessung abgeglichen) */
.services-heading .hl-line + .hl-line { margin-top: -0.62em; }
.services-heading-accent { position: relative; top: 0.11em; }

/* ---------- Kopfzeile Handy: Logo, Menü-Pille und Erstgespräch überlappen nicht (v312) ---------- */
/* Pille (mittig) war 120 px, Logo 122 px breit → ab ~414 px Überlappung */
@media (max-width: 720px) {
  .page-logo { padding-top: 1.65rem; }                 /* optisch mittig zur Pille */
  .page-logo .brand-logo { width: 88px; height: 30px; }
  .nav-pill { gap: 0.5rem; }
}
@media (max-width: 359px) {
  .page-logo .brand-logo { width: 80px; height: 28px; }
}

/* ---------- „Sachen?“ einen Hauch nach rechts (v313): S steht knapp rechts vom W statt davor ---------- */
.page-hero-accent { margin-left: 0; }
/* und ragt sichtbar in „WAS MACHEN“ hinein (v314) */
.page-hero-title .hl-line + .hl-line { margin-top: -0.66em; }

/* ---------- Startseite Leistungen-Stapel „Was machen / Sachen?“ wie auf /leistungen/ (v315) ---------- */
.leistung-stack-heading .hl-line + .hl-line { margin-top: -0.66em; }
.leistung-stack-heading-accent { margin-left: 0; }

/* =========================================================
   UNTERSEITEN-KOPF .subpage-hero (v316) — erster Block jeder Unterseite:
   Video über die ganze Breite (Box-in-Box wie der Startseiten-Hero),
   darauf der Seitentitel als <h1>. Darunter .page-hero--intro.
   ========================================================= */
.subpage-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 62vh, 640px);
  margin: 6rem 14px 14px;
  border-radius: 44px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.subpage-hero-media { position: absolute; inset: 0; z-index: -1; }
.subpage-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* dunkler Verlauf unten, damit der weiße Titel auf jedem Videobild lesbar bleibt (wie Startseiten-Hero) */
.subpage-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,17,13,0.1) 0%, rgba(21,17,13,0.35) 55%, rgba(21,17,13,0.85) 100%);
}
.subpage-hero-inner {
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
}
.subpage-hero-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7.6vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}
@media (max-width: 720px) {
  /* flacher als am Desktop: das Breitformat-Video (1440×560) wird sonst stark vergrößert */
  .subpage-hero { margin: 5.25rem 8px 8px; border-radius: 30px; min-height: clamp(300px, 46svh, 420px); }
  /* „LEISTUNGEN“ ≈ 9 × Schriftgröße breit → passt ab 320 px in die Box */
  .subpage-hero-title { font-size: clamp(1.8rem, 8.8vw, 3.4rem); }
}

/* Einstieg unter dem Video-Kopf: links Titel, rechts Einleitung + Buttons, unten bündig */
.page-hero--intro { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
/* linke Spalte genau so breit wie „WAS MACHEN“ (bleibt einzeilig), rechts der Rest */
.page-hero--intro .page-hero-grid { grid-template-columns: max-content minmax(0, 1fr); align-items: end; }
.page-hero--intro .page-hero-aside { justify-self: end; max-width: 46ch; }
.page-hero--intro .page-hero-lead { margin-top: 0; }
.page-hero-aside .cta-group { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 900px) {
  .page-hero--intro .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .page-hero--intro .page-hero-aside { justify-self: start; }
  /* „WAS MACHEN“ ≈ 10,1 × Schriftgröße → bei 360 px war 2rem zu groß (Umbruch) */
  .page-hero-title { font-size: clamp(1.75rem, 8.4vw, 3.4rem); }
}

/* ---------- Hero-Untertitel: längerer Text (2 Sätze) → breitere Zeile (v318) ---------- */
.hero-foot p { max-width: 46ch; text-wrap: pretty; }

/* ---------- Scroll-Zitat: „Von TikTok bis zur Kinoleinwand.“ leuchtet leicht, sobald orange (v320) ---------- */
.scroll-text .sw-accent { transition: color 0.5s var(--ease), opacity 0.5s var(--ease), text-shadow 0.8s var(--ease); }
.scroll-text .sw-accent.is-lit { text-shadow: 0 0 0.35em rgba(219, 74, 43, 0.55), 0 0 1.1em rgba(219, 74, 43, 0.3); }

/* ---------- Ablauf ohne Bilder (v320): Karten flacher, sonst viel leere Fläche ---------- */
@media (min-width: 901px) {
  .steps-box { height: clamp(340px, 30vw, 420px); }
}

/* ---------- FAQ: keine Trennlinien zwischen den Fragen (v321) ---------- */
.faq-right { border-top: none; }
.faq-item { border-bottom: none; }

/* ---------- Grain: leichte Filmkorn-Textur über der ganzen Seite (v321) ----------
   Liegt über allen Inhaltsblöcken (auch dunklen Boxen, Videos), aber unter der
   Unschärfe am unteren Rand (.bottom-blur-fade, 30), Logo, Nav und Menü; fängt keine Klicks ab.
   Normaler Mischmodus mit hellen+dunklen Körnern (overlay war auf Weiß kaum sichtbar,
   auf Orange zu stark). PNG statt SVG-Filter (den zeichnen
   nicht alle Browser zuverlässig). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 29;
  pointer-events: none;
  opacity: 0.08;
  /* Vignette: Mitte des Bildschirms ~30 %, Ränder volle Stärke (Maske hängt am Bildschirm) */
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.45) 45%, #000 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.45) 45%, #000 100%);
  mix-blend-mode: normal;                         /* gleichmäßig auf hellen, dunklen und bunten Flächen */
  background-image: url("../assets/img/grain-hell-dunkel.png");   /* 160 px Kachel: helle + dunkle Körner mit Transparenz */
  background-size: 160px 160px;
}
@media print { body::after { display: none; } }
/* FAQ: neue, längere Antworten brauchen am Handy bis ~400 px → Platz für aufgeklappte Antwort */
.faq-item.is-open .faq-answer { max-height: 560px; }

/* ---------- Unterseiten-Kopf: Akzentwort in Blugie/Orange, groß, ragt leicht in die Zeile darüber (v324) ---------- */
.subpage-hero-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  padding-inline: 0.08em;                         /* Blugie ragt links über den Rahmen */
  margin-inline: -0.08em;
}
.subpage-hero-title .hl-line + .hl-line { margin-top: -0.51em; }
/* Wimpertext über dem Seitentitel – wie „Videoproduktion · …“ im Startseiten-Hero (v324) */
.subpage-hero-eyebrow {
  margin: 0 0 clamp(0.6rem, 1.4vw, 1rem);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--stone-on-dark);
}
/* Handy: erste Zeile ist jetzt ein kurzes Versalwort („UNSERE“ ≈ 5,8 × Schriftgröße) → größer */
@media (max-width: 720px) {
  .subpage-hero-title { font-size: clamp(1.8rem, 13vw, 3.4rem); }
}

/* =========================================================
   /leistungen/: Leistungen im Wechsel – 01/03/05 in weißer Box über die ganze Breite
   (Box-in-Box wie die Startseiten-Sektionen), 02/04/06 direkt auf dem Hintergrund.
   Inhalt je Abschnitt in .container.service-row-inner (Bild links, Text rechts). (v327)
   ========================================================= */
.services-detail--cards {
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0 0 clamp(3rem, 6vw, 5rem);               /* erste Box direkt unter dem Video-Kopf (14 px Abstand) */
  padding-block: 0;
}
.services-detail--cards .services-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.services-detail--cards .service-row {
  display: block;
  margin: 0 14px;
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  border-radius: 44px;
}
.services-detail--cards .service-row + .service-row { border-top: 0; }
.services-detail--cards .service-row:nth-child(odd) {
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.service-row-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.services-detail--cards .service-row:nth-child(even) .service-media { order: 2; }   /* 02/04/06: Bild rechts, Text links */
/* Bild füllt die Abschnittshöhe (lange Texte), mindestens aber 4:3 */
.services-detail--cards .service-media {
  position: relative;
  align-self: stretch;
  width: 100%;
  aspect-ratio: auto;
  border: 6px solid var(--paper);                   /* weißer Rahmen wie überall auf der Seite */
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.services-detail--cards .service-media::before { content: ""; display: block; padding-top: 75%; }
.services-detail--cards .service-media img { position: absolute; inset: 0; }
.services-detail--cards .service-text { align-self: center; }
@media (max-width: 860px) {
  .services-detail--cards .service-row { padding: 2.25rem 0; }
  .service-row-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .services-detail--cards .service-media { border-radius: 18px; border-width: 5px; }
}
@media (max-width: 720px) {
  .services-detail--cards .service-row { margin-inline: 8px; border-radius: 30px; }
}
/* Abschnitte auf dem Hintergrund (02/04/06): Pillen heben sich sonst nicht ab */
.services-detail--cards .service-row:nth-child(even) .tag-pill { background: var(--paper); box-shadow: var(--shadow-xs); }
.services-detail--cards .service-media img { border-radius: 16px; }

/* =========================================================
   STARTSEITE LEISTUNGEN — horizontal statt gestapelt (v334)
   #leistungHscroll ist so hoch wie Bildschirm + Seitweg der Leiste; der Pin wird per JS
   fixiert (.is-pinned), die Leiste per transform nach links geschoben.
   ========================================================= */
.leistung-hscroll { position: relative; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.leistung-hscroll-pin {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.25rem, 3vh, 2.25rem);
  overflow: hidden;
}
.leistung-hscroll-pin.is-pinned { position: fixed; z-index: 3; }
.leistung-hscroll-pin.is-after { top: auto; bottom: 0; }
.leistung-hscroll-track {
  --hcard-w: min(1100px, calc(100vw - var(--gutter) * 2));
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  width: max-content;
  padding-inline: calc((100vw - var(--hcard-w)) / 2);   /* erste/letzte Karte mittig */
  will-change: transform;
}
.leistung-hscroll .leistung-stack-item,
.leistung-hscroll .leistung-stack-item:last-child { position: static; height: auto; flex: 0 0 auto; }
.leistung-hscroll .leistung-stack-card,
.leistung-hscroll .leistung-stack-item:last-child .leistung-stack-card {
  --card-w: var(--hcard-w);
  --card-h: min(62vh, var(--card-h-max));
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: var(--hcard-w);
  height: var(--card-h);
  z-index: auto;
  box-shadow: var(--shadow-md);
}
/* Fortschritt: waagerecht unter den Karten statt senkrecht links */
.leistung-hscroll .leistung-progress {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: row;
  align-self: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  opacity: 1;
}
.leistung-hscroll .leistung-progress-line {
  top: 50%;
  bottom: auto;
  left: 7px;
  right: 7px;
  width: auto;
  height: 2px;
  transform: translateY(-50%);
}
.leistung-hscroll .leistung-progress-line-fill { width: 0%; height: 100%; transition: none; }
@media (max-width: 780px) {
  .leistung-hscroll-track { --hcard-w: calc(100vw - 2.5rem); gap: 0.75rem; }
  .leistung-hscroll .leistung-stack-card,
  .leistung-hscroll .leistung-stack-item:last-child .leistung-stack-card { height: auto; max-height: none; grid-template-rows: auto auto; }
}
/* Karten sind schmaler als früher → Titel etwas kleiner, „WERBEANZEIGEN“ passt sonst nicht */
.leistung-hscroll .leistung-stack-content h3 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); }
/* Handy: alle Karten so hoch wie die höchste (Leiste streckt die Einträge) */
@media (max-width: 780px) {
  .leistung-hscroll .leistung-stack-item { display: flex; }
  .leistung-hscroll .leistung-stack-card { flex: 1; }
}

/* =========================================================
   RECHTSSEITEN (/impressum/, /datenschutz/, /agb/) (v337)
   Kopf: nur der Titel in Blugie/Orange, gleiche Größe wie „Leistungen“ im
   Unterseiten-Kopf (.subpage-hero-title + .subpage-hero-accent). Darunter weiße Box.
   ========================================================= */
.legal-hero { padding: clamp(7.5rem, 13vw, 10rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.legal-title { color: var(--ink-text); }
.legal-title .subpage-hero-accent { line-height: 0.85; }
.legal-box {
  margin: 0 14px clamp(3rem, 6vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.legal-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.25rem) clamp(2rem, 6vw, 5rem);
}
.legal-block h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.legal-block p {
  margin: 0;
  color: var(--ink-text);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}
.legal-block a { color: inherit; text-decoration: underline; text-decoration-color: rgba(21, 17, 13, 0.25); text-underline-offset: 0.2em; }
.legal-block a:hover { color: var(--rust); text-decoration-color: currentColor; }
@media (max-width: 720px) {
  .legal-box { margin-inline: 8px; border-radius: 30px; }
  .legal-body { grid-template-columns: minmax(0, 1fr); }
  .legal-hero { padding-top: 7rem; }
}
/* Rechtsseiten: untere Welle wie Insights → greift in die Footer-Welle (Abstand wie dort) */
.legal-box {
  position: relative;
  --wave-color: var(--paper);
  border-bottom-right-radius: 0;                   /* Rundung steckt in der unteren Welle */
  margin-bottom: calc((100% - 28px) * 0.0423 + 24px);
}
@media (max-width: 720px) { .legal-box { margin-bottom: calc((100% - 16px) * 0.0423 + 24px); } }

/* ---------- Footer: „Let's get found:“ + zwei Buttons (Telefon / Mail) (v339) ---------- */
.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: clamp(1.5rem, 3vw, 2rem) 0 clamp(2rem, 4vw, 2.75rem);
}
.btn-icon { flex-shrink: 0; }
@media (max-width: 420px) {
  .footer-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Rechtsseiten mit Fließtext (/datenschutz/, /agb/): eine Lesespalte (v341) ---------- */
/* linksbündig unter dem Titel, Zeilenlänge begrenzt */
.legal-body--text { grid-template-columns: minmax(0, 1fr); }
.legal-body--text > .legal-block { max-width: 72ch; }
.legal-body--text .legal-block p { font-size: 1.05rem; color: var(--stone); }
.legal-body--text .legal-block p + p,
.legal-body--text .legal-block p + ul,
.legal-body--text .legal-block ul + p { margin-top: 0.9rem; }
.legal-block ul { list-style: disc; margin: 0.9rem 0 0; padding-left: 1.2rem; color: var(--stone); font-size: 1.05rem; line-height: 1.6; }
.legal-block li + li { margin-top: 0.35rem; }
.legal-block li::marker { color: var(--rust); }
.legal-block code { font-size: 0.92em; padding: 0.1em 0.35em; border-radius: 6px; background: var(--paper-soft); }

/* ---------- Logo oben links klickbar (v343) ----------
   Die unsichtbare Kopfleiste .nav geht über die ganze Breite und lag über dem Logo
   (.page-logo, z-index 40) → Klicks kamen nicht an. Leiste selbst klick-durchlässig,
   nur ihre Bedienelemente fangen Klicks. */
.nav { pointer-events: none; }
.nav-pill, .nav a[href], .nav button { pointer-events: auto; }
.nav.menu-is-open .nav-pill { pointer-events: none; }
/* /leistungen/: ohne Ablauf folgt das FAQ direkt auf 06 (beide auf dem Hintergrund) → Lücke kleiner (v344) */
.services-detail--cards + .faq-section { padding-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 860px) {
  .services-detail--cards .service-row:nth-child(even) .service-media { order: 0; }   /* Handy: Bild immer oben */
}

/* ---------- Unterseiten-Kopf mit Foto statt Video (/about/) (v346) ---------- */
.subpage-hero-media--image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Wimpertext: mehr Luft, sonst stoßen Umlautpunkte (z. B. „ÜBER“) an (v346) */
.subpage-hero-eyebrow { margin-bottom: clamp(1rem, 2vw, 1.6rem); }

/* =========================================================
   /about/ „Unsere Geschichte“: ohne Box, Titel wie die übrigen Sektionen,
   darunter 3 weiße Karten nebeneinander (Handy untereinander) (v347)
   ========================================================= */
.about-story { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.about-story-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.about-heading {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.about-heading-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}
.about-heading .hl-line + .hl-line { margin-top: -0.54em; }   /* wie „Got found / with found.“ */
.about-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.about-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 32px;
  background: var(--paper);
  border: 0.5px solid rgba(21, 17, 13, 0.06);
  box-shadow: var(--shadow-md);
}
.about-card-num {
  font-family: "Blugie", var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rust);
}
.about-card h3 {
  margin: 1.25rem 0 0.9rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.about-card p { margin: 0; color: var(--stone); font-size: 1.02rem; line-height: 1.6; }
@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: minmax(0, 1fr); }
  .about-card { border-radius: 26px; }
}

/* =========================================================
   /about/ DURCHGESTRICHEN — Grundstil der Sätze (Box: siehe v353 weiter unten)
   Strich = animierter Hintergrund-Verlauf (funktioniert auch bei Zeilenumbruch).
   ========================================================= */
.strike-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5.2vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.strike-line span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 52% / 0% 0.09em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 0.6s var(--ease), color 0.6s var(--ease);
}
.strike-line.is-struck span { background-size: 100% 0.09em; color: rgba(21, 17, 13, 0.35); }
@media (prefers-reduced-motion: reduce) {
  .strike-line span { transition: none; }
}
/* Desktop: jeder Satz einzeilig (längster ≈ 23,2 × Schriftgröße, Container max. 1320 px);
   Inhalt etwas über der Mitte, damit der letzte Satz nicht in die Unschärfe am unteren Rand rutscht */
.strike-list { font-size: clamp(1.7rem, 3.4vw, 3.5rem); }
@media (max-width: 900px) {
  .strike-list { font-size: clamp(1.5rem, 7vw, 2.4rem); line-height: 1.08; }
  .strike-line + .strike-line { margin-top: 0.35em; }
}
.strike-list { font-size: clamp(1.7rem, 3.4vw, 3.2rem); }   /* 1920 px: Container-Inhalt 1224 px → max. 52 px */
@media (max-width: 900px) { .strike-list { font-size: clamp(1.5rem, 7vw, 2.4rem); } }

/* ---------- /about/ Durchgestrichen: ohne Box, direkt auf dem Hintergrund (v350) ---------- */

/* =========================================================
   /about/ UNSER TEAM — Titel wie Startseite (.team-heading), darunter Crew-Karten:
   Foto 4:5 mit weißem Rahmen + weiße Box mit Name/Rolle (wie Insight-Karten) (v350)
   ========================================================= */
.crew-section { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem); }
.crew-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.crew-card { display: flex; flex-direction: column; gap: 10px; }
.crew-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.crew-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crew-photo--placeholder {
  display: grid;
  place-items: center;
  background: var(--paper-soft);
}
.crew-photo--placeholder span {
  font-family: "Blugie", var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(21, 17, 13, 0.18);
}
.crew-info {
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.crew-info h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-text);
}
.crew-info p { margin: 0; color: var(--stone); font-size: 0.9rem; }
@media (max-width: 1024px) { .crew-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } .crew-info { padding: 0.8rem 0.9rem; } }
.crew-info h3 { text-transform: none; letter-spacing: 0; }
/* Crew: 7 Karten → auf dem Desktop letzte Reihe (3) mittig statt linksbündig (v352) */
@media (min-width: 1025px) {
  .crew-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .crew-card { grid-column: span 2; }
  .crew-card:nth-child(5) { grid-column: 2 / span 2; }
}

/* =========================================================
   /about/ DURCHGESTRICHEN v2 (v353): schwarze Box wie .manifesto-alt, nicht fixiert.
   Letzter Satz ohne Blugie, leuchtet als Ganzes orange.
   ========================================================= */
.strike-section { height: auto; margin: 14px; }
.strike-section .strike-box {
  display: flex;
  align-items: center;
  min-height: clamp(360px, 55vh, 560px);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.strike-section .strike-list { color: var(--paper-text); }
.strike-section .strike-line.is-struck span { color: rgba(244, 236, 226, 0.3); }
.strike-section .strike-line--final span { transition: color 0.6s var(--ease), text-shadow 0.9s var(--ease); }
.strike-section .strike-line--final.is-lit span {
  color: var(--rust);
  text-shadow: 0 0 0.35em rgba(219, 74, 43, 0.55), 0 0 1.1em rgba(219, 74, 43, 0.3);
}
.strike-section .strike-line--final { margin-top: 0.15em; }
@media (max-width: 720px) {
  .strike-section { margin: 8px; }
  .strike-section .strike-box { border-radius: 30px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .strike-section .strike-line--final span { transition: none; }
}

/* ---------- /about/ Crew: Co-Founder in eigener Zeile, mehr Abstand zum Footer (v354) ----------
   Raster mit doppelter Spaltenzahl, jede Karte span 2 → Reihen lassen sich mittig setzen.
   Reihenfolge im HTML: 1 Markus, 2 Teves, 3–7 Team. */
.crew-section { padding-bottom: clamp(6rem, 12vw, 10rem); }
.crew-grid .crew-card { grid-column: auto / span 2; }
@media (min-width: 1025px) {
  .crew-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .crew-grid .crew-card:nth-child(1) { grid-column: 4 / span 2; }
  .crew-grid .crew-card:nth-child(2) { grid-column: 6 / span 2; }
  .crew-grid .crew-card:nth-child(3) { grid-column: 1 / span 2; }
  .crew-grid .crew-card:nth-child(5) { grid-column: auto / span 2; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .crew-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .crew-grid .crew-card:nth-child(1) { grid-column: 2 / span 2; }
  .crew-grid .crew-card:nth-child(2) { grid-column: 4 / span 2; }
  .crew-grid .crew-card:nth-child(3) { grid-column: 1 / span 2; }
  .crew-grid .crew-card:nth-child(6) { grid-column: 2 / span 2; }
}
@media (max-width: 720px) {
  .crew-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crew-grid .crew-card:nth-child(7) { grid-column: 2 / span 2; }
}

/* =========================================================
   HANDY: Kopfzeile + Menü (v355)
   ========================================================= */
@media (max-width: 720px) {
  /* Erstgespräch-Pille (47 px) mittig zur Menü-Pille (51 px, top 16 px) */
  .nav-cta-standalone { top: 18px; }
  /* Erste Box mit gleichem Abstand (~24 px) unter der Kopfzeile – Startseite lag vorher darunter */
  .hero,
  .subpage-hero { margin-top: 5.75rem; }
  /* Offenes Menü: nicht nur so breit wie die Pille (≈105 px), sondern fast volle Breite */
  .menu-backing { margin-inline: -8px; padding-inline: 8px; }
  .menu-list a { font-size: 1.6rem; }
}
.menu-overlay.is-open .menu-list li:nth-child(5) { transition-delay: 0.28s; }
/* Erstgespräch-Pille: Gesichter von Markus & Teves statt Initialen (v356) */
.nav-cta-avatars .avatar-sm img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Startseite: Wimpertext ist jetzt erste Zeile der H1 (SEO), sieht aus wie vorher (v357) ---------- */
.hero-headline .hero-kicker {
  display: block;
  transform: none;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--stone-on-dark);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero.is-ready .hero-headline .hero-kicker { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero-headline .hero-kicker { opacity: 1; transition: none; } }

/* =========================================================
   PROJEKTSEITEN (/projekte/…/) (v358)
   Kopf = weiße Box (Box-in-Box): links Pille + H1 (Kunde) + Beschreibung + Leistungs-Pillen,
   rechts Foto 4:3 mit weißem Rahmen. Darunter Link zum Kunden.
   ========================================================= */
.project-hero {
  margin: 6rem 14px 0;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.project-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.project-title-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}
.project-title .hl-line + .hl-line { margin-top: -0.54em; }
.project-lead {
  max-width: 46ch;
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  color: var(--stone);
  font-size: 1.05rem;
  line-height: 1.6;
}
.project-services { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.project-services .tag-pill { display: inline-block; text-decoration: none; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.project-services .tag-pill:hover { background: var(--rust); color: #fff; }
.project-hero-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--paper);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.project-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-links {
  display: flex;
  justify-content: center;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(5rem, 10vw, 8rem);
}
@media (max-width: 900px) {
  .project-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .project-hero-media { order: -1; }
}
@media (max-width: 720px) {
  .project-hero { margin: 5.75rem 8px 0; border-radius: 30px; }
  .project-hero-media { border-radius: 18px; border-width: 5px; }
}

/* Startseite: verlinkte Projektkarte sieht aus wie die übrigen */
a.project-card { color: inherit; text-decoration: none; }
/* Projekt-Titel: längstes Wort „STADTWERKE“ ≈ 10,1 × Schriftgröße muss in die Textspalte passen */
.project-title { font-size: clamp(1.9rem, 3.4vw, 3.3rem); }
@media (max-width: 900px) { .project-title { font-size: clamp(1.4rem, 8vw, 3.3rem); } }

/* ---------- Projektseite: Button links unter dem Text, darunter Aufgabe & Lösung (v360) ---------- */
.project-cta { margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.project-story { padding: clamp(3rem, 6vw, 5rem) 0 clamp(6rem, 12vw, 10rem); }
.project-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.project-story .about-card h2 {
  margin: 1.25rem 0 0.9rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.project-story .about-card p + p { margin-top: 0.9rem; }
@media (max-width: 900px) { .project-story-grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   KONTAKT /kontakt/ (v361): Kopf wie Rechtsseiten, weiße Box mit Welle;
   links Einleitung + direkte Kontaktwege, rechts Formular (→ kontakt/senden.php)
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-heading {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.contact-lead { margin: 1.1rem 0 0; max-width: 42ch; color: var(--stone); font-size: 1.05rem; line-height: 1.6; }
.contact-direct { margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.contact-direct span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.contact-direct a, .contact-direct address { font-style: normal; color: var(--ink-text); font-size: 1.1rem; text-decoration: none; }
.contact-direct a:hover { color: var(--rust); }

.contact-form { display: grid; gap: 1rem; }
.form-row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; }
.form-field > span { font-size: 0.85rem; font-weight: 600; color: var(--ink-text); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(21, 17, 13, 0.12);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-text);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-field textarea { resize: vertical; min-height: 9rem; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--stone) 50%), linear-gradient(135deg, var(--stone) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 55%, calc(100% - 0.95rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(219, 74, 43, 0.15); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; color: var(--stone); font-size: 0.85rem; line-height: 1.5; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions .btn:disabled { opacity: 0.6; cursor: wait; }
.form-status { margin: 0; font-size: 0.95rem; color: var(--stone); }
.form-status[data-state="ok"] { color: #2f7a3e; font-weight: 600; }
.form-status[data-state="error"] { color: var(--rust); font-weight: 600; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .form-row--2 { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; justify-content: center; }
}
/* Handy: Überschrift + Einleitung → Formular → direkte Kontaktwege (Formular nicht erst ganz unten) */
@media (max-width: 900px) {
  .contact-grid { gap: 2rem; }
  .contact-intro { display: contents; }
  .contact-heading, .contact-lead { order: 1; }
  .contact-lead { margin-top: -1rem; }
  .contact-form { order: 2; }
  .contact-direct { order: 3; margin-top: 0; }
}

/* =========================================================
   PROJEKTSEITE v2 (v363): „Die Challenge“ ohne Box, darunter orangene Box
   „Unsere Lösung“ (Box-in-Box wie der Ablauf) mit 3 Hochkant-Videos 9:16
   ========================================================= */
.project-section-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.project-section-accent {
  display: inline-block;
  font-family: "Blugie", var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--rust);
  font-size: 1.7em;
  line-height: 0.8;
  padding-inline: 0.08em;
  margin-inline: -0.08em;
}
.project-section-title .hl-line + .hl-line { margin-top: -0.54em; }
.project-section-text,
.project-solution-text p {
  max-width: 60ch;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--stone);
}
.project-challenge { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }

.project-solution {
  margin: 0 14px clamp(3rem, 6vw, 5rem);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-radius: 44px;
  background: var(--rust);
  box-shadow: var(--shadow-lg);
}
.project-section-title--light { color: #fff; }
.project-section-title--light .project-section-accent { color: var(--ink); }
.project-solution-text p { color: rgba(255, 255, 255, 0.9); }
.project-solution-text p + p { margin-top: 0.9rem; }

.solution-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1000px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.solution-video {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 26px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.solution-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Platzhalter, solange kein Video hinterlegt ist (Video mit src blendet ihn aus) */
.solution-video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: "Blugie", var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: rgba(244, 236, 226, 0.35);
}
.solution-video-placeholder small { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.solution-video video[src] + .solution-video-placeholder,
.solution-video video:has(source) + .solution-video-placeholder { display: none; }
@media (max-width: 720px) {
  .project-solution { margin-inline: 8px; border-radius: 30px; }
  /* Handy: Videos wischbar nebeneinander statt winzig */
  .solution-videos {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 68%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 0.5rem;
    scrollbar-width: none;
  }
  .solution-videos::-webkit-scrollbar { display: none; }
  .solution-video { scroll-snap-align: center; border-radius: 20px; border-width: 5px; }
}
.menu-overlay.is-open .menu-list li:nth-child(6) { transition-delay: 0.33s; }

/* ---------- Projektseite: Challenge (v366) ----------
   Liegt im normalen Fluss direkt unter dem Kopf, aber darunter (z 1 < 5). JS verschiebt
   sie nach oben in die Bildschirmmitte, solange der Kopf sie noch verdeckt – danach
   scrollt sie normal mit. Die Lösungs-Box folgt ganz normal (keine Überlappung). */
.project-hero { position: relative; z-index: 5; }
.project-challenge { position: relative; z-index: 1; padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.challenge-copy { will-change: transform; }
.challenge-title .ch-row { display: block; }
.challenge-title .ch-row + .ch-row { margin-top: -0.54em; }   /* wie „Got found / with found.“ */
.challenge-line {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.6em);
  transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1.2s var(--ease);
}
p.challenge-line { transform: translateY(24px); }
.challenge-line.is-in { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .challenge-line { opacity: 1; filter: none; transform: none; transition: none; }
}
}

/* Challenge: mehr Luft über dem Titel und unter der Beschreibung (v370) */
.project-challenge { padding: clamp(6rem, 12vw, 10rem) 0 clamp(7rem, 14vw, 12rem); }

/* ---------- Projektseite: „Unsere Lösung“ in weißer Box statt Orange, alles linksbündig (v371) ---------- */
.project-solution { background: var(--paper); }
.project-solution-text p { color: var(--stone); }

/* ---------- Projektseite: 4 Filme über die volle Inhaltsbreite (v372) ---------- */
.solution-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 720px) { .solution-videos { grid-template-columns: none; } }   /* Handy: wieder wischbar (68 % je Film) */

/* /leistungen/ ohne FAQ (v375): letzte Leistung → Footer, Abstand wie bei Insights → Footer-Welle */
.services-detail--cards { margin-bottom: calc((100% - 28px) * 0.0423 + 48px); }

/* ---------- Insights-Überschrift „NEWS UND / Updates“ (v376): Akzent wie die übrigen Blugie-Wörter ---------- */
.insights-heading-accent { font-size: 1.7em; line-height: 0.8; }
.insights-heading .hl-line + .hl-line { margin-top: -0.54em; }

/* =========================================================
   INSIGHTS: Übersicht /insights/ + Beitragsvorlage insights/_vorlage/ (v376)
   ========================================================= */
.insights-page-title .subpage-hero-accent { font-size: 1.7em; }
.insights-page-title .hl-line + .hl-line { margin-top: -0.54em; }
.insights-page-title { margin-top: 1.5rem; }
.insights-page-lead { max-width: 52ch; margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; color: var(--stone); font-size: 1.1rem; line-height: 1.6; }
.insights-list { padding: clamp(1rem, 3vw, 2rem) 0 clamp(6rem, 12vw, 10rem); }
/* Platzhalter-Karten (noch kein Beitrag): kein Link, kein Hover */
.insight-card--soon { cursor: default; }
@media (hover: hover) { .insight-card--soon:hover { transform: none; } .insight-card--soon:hover .insight-media img { transform: none; } }

/* Beitrag */
.post-head { padding-top: clamp(7.5rem, 13vw, 10rem); max-width: 900px; }
.post-back { display: inline-block; margin-bottom: 1.5rem; color: var(--stone); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.post-back:hover { color: var(--rust); }
.post-title {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  text-wrap: balance;
}
.post-meta { margin: 1.25rem 0 0; color: var(--stone); font-size: 0.95rem; }
.post-cover { margin: clamp(2rem, 4vw, 3rem) auto clamp(-4rem, -6vw, -3rem); position: relative; z-index: 2; }
.post-cover img {
  display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border: 6px solid var(--paper); border-radius: 26px; box-shadow: var(--shadow-lg); background: var(--paper);
}
.post-box { padding-top: clamp(5.5rem, 10vw, 8rem); }
.post-box .container { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.post-body { max-width: 68ch; color: var(--stone); font-size: 1.08rem; line-height: 1.7; }
.post-body > * + * { margin-top: 1.1rem; }
.post-body .post-intro { color: var(--ink-text); font-size: 1.25rem; line-height: 1.55; }
.post-body h2 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.post-body ul { list-style: disc; padding-left: 1.2rem; }
.post-body li + li { margin-top: 0.35rem; }
.post-body li::marker { color: var(--rust); }
.post-body a { color: var(--ink-text); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 0.2em; }
.post-body blockquote {
  margin: 2rem 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--rust);
  font-family: "Blugie", var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; color: var(--rust);
}
.post-cta {
  position: sticky; top: 7rem;   /* hier greift sticky (eigener Container ohne overflow) – Fallback: steht einfach oben */
  padding: 1.75rem; border-radius: 24px; background: #fff; box-shadow: var(--shadow-md);
}
.post-cta-title { margin: 0 0 0.5rem; font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; color: var(--ink-text); }
.post-cta p { color: var(--stone); font-size: 0.95rem; line-height: 1.5; }
.post-cta .btn { margin-top: 1.25rem; }
@media (max-width: 900px) {
  .post-box .container { grid-template-columns: minmax(0, 1fr); }
  .post-cta { position: static; }
}
@media (max-width: 720px) { .post-cover img { border-radius: 18px; border-width: 5px; } }
/* Beitragskopf bündig mit dem Text darunter (nicht eigens zentriert) */
.post-head { max-width: var(--container); }
.post-title { max-width: 20ch; }
.post-cover { max-width: var(--container); }
/* News & Updates ohne Box direkt auf dem grauen Hintergrund (Projektseiten) (v380) */
.insights-section--plain {
  margin: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

/* =========================================================
   /projekte/ ÜBERSICHT (v381): Kopf links, Karten wie Startseite, immer 2 je Reihe
   ========================================================= */
.projects-title .subpage-hero-accent { font-size: 1.7em; }
.projects-title .hl-line + .hl-line { margin-top: -0.54em; }
.projects-title { margin-top: 1.5rem; }
.projects-list { padding: clamp(1rem, 3vw, 2rem) 0 clamp(6rem, 12vw, 10rem); }
.project-grid--2 { margin-top: 0; column-gap: clamp(1.5rem, 3vw, 2.5rem); row-gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 1100px) {
  .project-grid.project-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Ordner öffnen: linke Spalte nach links, rechte nach rechts */
  .project-grid--2 > .project-card:nth-child(n) .project-folder { --dir: 1; }
  .project-grid--2 > .project-card:nth-child(odd) .project-folder { --dir: -1; }
  .project-grid--2 > .project-card:nth-child(n) .folder-tab-label { left: auto; right: 0; }
  .project-grid--2 > .project-card:nth-child(odd) .folder-tab-label { right: auto; left: 0; }
  .project-grid--2 .project-card-head { white-space: normal; padding-right: 3.6rem; }
}
/* /projekte/: Kopf in weißer Box (wie Projektseiten-Kopf) mit Beschreibung (v382) */
.projects-hero {
  margin: 6rem 14px clamp(2.5rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.projects-lead { max-width: 56ch; margin: clamp(1.5rem, 3vw, 2rem) 0 0; color: var(--stone); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; }
.projects-list { padding-top: 0; }
@media (max-width: 720px) { .projects-hero { margin: 5.75rem 8px 2rem; border-radius: 30px; } }

/* =========================================================
   PROJEKTSEITE: „Die Geschichte“ mit Fließtext + Kennzahlen (Linde) (v383)
   ========================================================= */
.project-story-text { max-width: 64ch; margin-top: clamp(1.5rem, 3vw, 2rem); }
.project-story-text p { margin: 0; color: var(--stone); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; }
.project-story-text p + p { margin-top: 1rem; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 900px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.project-fact { padding: 1.5rem 1.6rem; border-radius: 24px; background: var(--paper); box-shadow: var(--shadow-md); }
.project-fact-num {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rust);
}
.project-fact p:last-child { margin: 0; color: var(--stone); font-size: 0.95rem; line-height: 1.45; }
@media (max-width: 720px) { .project-facts { grid-template-columns: minmax(0, 1fr); } }
/* Projekt-Kopf: zwei Buttons nebeneinander */
.project-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.project-fact-num { font-size: clamp(1.6rem, 2.6vw, 2.3rem); white-space: nowrap; }

/* =========================================================
   PROJEKTSEITE: animierte Entwicklungs-Grafik #growth (Linde) (v386)
   ========================================================= */
.growth { padding: clamp(2rem, 5vw, 4rem) 0 clamp(5rem, 10vw, 8rem); }
.growth-timeline {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 2.4rem 0 0;
  list-style: none;
}
/* Linie grau + orangene Füllung nach Scrollfortschritt */
.growth-timeline::before,
.growth-timeline::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  right: 0.55rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(21, 17, 13, 0.12);
}
.growth-timeline::after { background: var(--rust); transform-origin: left; transform: scaleX(var(--p)); }
.growth-step { position: relative; }
.growth-step::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--paper-soft);
  border: 3px solid rgba(21, 17, 13, 0.18);
  z-index: 1;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.growth-step.is-on::before { background: var(--rust); border-color: var(--rust); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(219, 74, 43, 0.15); }
.growth-year {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1;
  color: rgba(21, 17, 13, 0.25);
  transition: color 0.4s var(--ease);
}
.growth-step.is-on .growth-year { color: var(--ink-text); }
.growth-step p { margin: 0.7rem 0 0; color: var(--stone); font-size: 0.95rem; line-height: 1.5; opacity: 0.45; transition: opacity 0.5s var(--ease); }
.growth-step.is-on p { opacity: 1; }

.growth-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.growth-big, .growth-bars {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.growth-big.is-in, .growth-bars.is-in { opacity: 1; transform: none; }
.growth-bars { transition-delay: 0.15s; }
.growth-big { display: flex; flex-direction: column; justify-content: space-between; }
.growth-num {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rust);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.growth-num small { font-size: 0.45em; letter-spacing: 0; color: var(--ink-text); }
.growth-label { margin: 1.25rem 0 0; color: var(--stone); font-size: 0.95rem; }
.growth-bars { display: grid; gap: 1.1rem; }
.growth-bar-head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--ink-text); font-variant-numeric: tabular-nums; }
.growth-bar-track { height: 12px; margin-top: 0.5rem; border-radius: 999px; background: rgba(21, 17, 13, 0.08); overflow: hidden; }
.growth-bar-fill {
  height: 100%;
  width: calc(var(--v) / 54.6 * 100%);   /* TikTok = 100 % */
  border-radius: inherit;
  background: var(--rust);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease);
}
.growth-bars.is-in .growth-bar-fill { transform: scaleX(1); }
.growth-bar:nth-child(2) .growth-bar-fill { transition-delay: 0.15s; }
.growth-bar:nth-child(3) .growth-bar-fill { transition-delay: 0.3s; }
.growth-bar-sub { margin: 0.35rem 0 0; color: var(--stone); font-size: 0.85rem; }
.growth-source { margin: 1.5rem 0 0; color: var(--stone); font-size: 0.8rem; }
.growth-source a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }

@media (max-width: 1024px) {
  .growth-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-bars { grid-column: 1 / -1; }
}
/* Handy: Zeitstrahl senkrecht */
@media (max-width: 720px) {
  .growth-timeline { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 0 0 0 2.4rem; }
  .growth-timeline::before, .growth-timeline::after { top: 0.55rem; bottom: 0.55rem; left: 0.5rem; right: auto; width: 3px; height: auto; }
  .growth-timeline::after { transform-origin: top; transform: scaleY(var(--p)); }
  .growth-step::before { top: 0.1rem; left: -2.4rem; }
  .growth-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .growth-big, .growth-bars { opacity: 1; transform: none; transition: none; }
  .growth-bar-fill { transform: none; transition: none; }
}
.growth-num { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.growth-timeline { margin-top: 0; }
.growth { padding-top: 0; }

/* ---------- Linde „Unsere Arbeit“: Text links, 3 leicht überlappende Hochkant-Clips rechts (v389) ---------- */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.work-clips {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 2rem;
}
.work-clips .work-clip {
  position: relative;
  flex: 0 0 auto;
  width: clamp(130px, 13vw, 200px);
  margin-inline: calc(clamp(130px, 13vw, 200px) * -0.14);   /* leichte Überlappung */
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease);
}
.work-clip--1 { transform: rotate(-5deg) translateY(1.25rem); z-index: 1; }
.work-clip--2 { transform: translateY(-0.75rem) scale(1.08); z-index: 2; }
.work-clip--3 { transform: rotate(5deg) translateY(1.25rem); z-index: 1; }
@media (hover: hover) {
  .work-clips:hover .work-clip--1 { transform: rotate(-7deg) translate(-0.6rem, 1.25rem); }
  .work-clips:hover .work-clip--3 { transform: rotate(7deg) translate(0.6rem, 1.25rem); }
}
@media (max-width: 900px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-clips .work-clip { width: clamp(100px, 28vw, 170px); margin-inline: calc(clamp(100px, 28vw, 170px) * -0.14); }
}

/* =========================================================
   PROJEKTSEITE: Wert-Grafik #value (Forbes) (v390)
   Große Zahl zählt hoch, daneben 38 Häuser, die sich nacheinander orange füllen.
   ========================================================= */
.value { padding: 0 0 clamp(5rem, 10vw, 8rem); }
.value-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.value-card.is-in { opacity: 1; transform: none; }
.value-kicker { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone); }
.value-num {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--rust);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.value-num small { font-size: 0.38em; letter-spacing: 0; color: var(--ink-text); }
.value-label { max-width: 34ch; margin: 1rem 0 0; color: var(--stone); font-size: 1rem; line-height: 1.5; }
.value-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: 1.25rem; border-top: 1px solid rgba(21, 17, 13, 0.08); }
.value-fact-num { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1; color: var(--ink-text); font-variant-numeric: tabular-nums; }
.value-facts p:last-child { margin: 0.35rem 0 0; color: var(--stone); font-size: 0.9rem; }
@media (max-width: 900px) {
  .value-card { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .value-card { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .value-card { opacity: 1; transform: none; transition: none; }
}
/* Projekt-Titel mit langer erster Zeile („FORBES GLOBAL“ ≈ 13 Zeichen) */
.project-title--long { font-size: clamp(1.6rem, 2.7vw, 2.6rem); }
@media (max-width: 900px) { .project-title--long { font-size: clamp(1.25rem, 6.2vw, 2.6rem); } }

/* Zwei Clips (JUMAX): beide leicht gedreht, fächern gegeneinander (v395) */
.work-clips--2 .work-clip--1 { transform: rotate(-4deg) translateY(0.5rem); z-index: 1; }
.work-clips--2 .work-clip--3 { transform: rotate(4deg) translateY(-0.5rem); z-index: 2; }
@media (hover: hover) {
  .work-clips--2:hover .work-clip--1 { transform: rotate(-6deg) translate(-0.6rem, 0.5rem); }
  .work-clips--2:hover .work-clip--3 { transform: rotate(6deg) translate(0.6rem, -0.5rem); }
}

/* ---------- Clip-Rahmen dünner, Schlagschatten größer; Clip 1 immer vorne (v396) ---------- */
.solution-video { border-width: 3px; box-shadow: 0 28px 60px -18px rgba(21, 17, 13, 0.45), 0 10px 22px -8px rgba(21, 17, 13, 0.25); }
.work-clips .work-clip { box-shadow: 0 30px 64px -18px rgba(21, 17, 13, 0.5), 0 12px 24px -10px rgba(21, 17, 13, 0.28); }
@media (max-width: 720px) { .solution-video { border-width: 3px; } }
/* 3 Clips: Clip 1 steht in der Mitte (work-clip--2, vorne). 2 Clips: Clip 1 links vorne */
.work-clips--2 .work-clip--1 { z-index: 2; }
.work-clips--2 .work-clip--3 { z-index: 1; }

/* Seitenübergänge (View Transitions, v397–v398) in v419 entfernt – ruckelten */

/* ---------- Menü in zwei Schritten (v399): .is-shown = Pille sichtbar und verbreitert
   sich (Breite per JS), .is-open = Inhalt klappt auf ---------- */
.menu-overlay { transition: width 0.32s var(--ease), visibility 0s var(--dur-med); }
.menu-overlay.is-shown { visibility: visible; transition: width 0.32s var(--ease), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .menu-overlay, .menu-overlay.is-shown { transition: none; } }

/* ---------- Startseite: Wimpertext mit mehr Abstand zum Titel (v399) ---------- */
.hero-headline .hero-kicker { margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.hero-foot p { max-width: 52ch; }
/* Bei offenem Menü fängt die Kopfzeile (Menü-Knopf liegt genau unter dem X) keine Klicks ab (v399) */
.nav.menu-is-open, .nav.menu-is-open * { pointer-events: none !important; }
.hero-foot p { max-width: 64ch; }   /* beide Sätze je eine Zeile am Desktop */
.hero-headline .hero-kicker { margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
/* Menü-Kopf exakt wie die Menü-Pille (gleiche Höhe/Innenabstand) → kein Springen beim Öffnen (v401) */
.menu-head { height: 3.2rem; padding: 0.4rem; box-sizing: border-box; align-items: center; }
.menu-backing { margin-top: calc(-3.2rem - 13px); padding-top: calc(3.2rem + 27px); }   /* graue Karte lugt wie bisher 13 px über dem Kopf hervor */

/* ---------- Menü: weicher und ohne herausspringende Kreise (v403) ----------
   Kopf nutzt denselben Abstand wie die Pille (sonst ist sein Inhalt breiter als die Pille
   und X/Prozent ragen beim Zu-/Aufklappen heraus). Weiche Ein-Aus-Kurve für alles. */
:root { --menu-ease: cubic-bezier(0.76, 0, 0.24, 1); --menu-dur: 0.6s; }
.menu-head { gap: 1.5rem; min-width: 0; overflow: hidden; }
@media (max-width: 720px) { .menu-head { gap: 0.5rem; } }
.menu-overlay,
.menu-overlay.is-shown { transition: width var(--menu-dur) var(--menu-ease), visibility 0s; }
.menu-backing { transition: transform var(--menu-dur) var(--menu-ease), opacity 0.45s var(--menu-ease), filter var(--menu-dur) var(--menu-ease); }
.menu-body { transition: max-height 0.8s var(--menu-ease), padding-block 0.8s var(--menu-ease); }
.menu-list li { transition: opacity 0.45s var(--menu-ease), transform 0.6s var(--menu-ease); }
@media (prefers-reduced-motion: reduce) {
  .menu-overlay, .menu-overlay.is-shown, .menu-backing, .menu-body, .menu-list li { transition: none; }
}

/* ---------- /projekte/: 3 je Reihe (Standard-Projektraster) + Platzhalter „Bild folgt“ (v404) ---------- */
.project-grid--list { margin-top: 0; }
.project-media-soon {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: var(--paper-soft);
  text-align: center;
}
.project-media-soon span {
  font-family: "Blugie", var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1;
  color: rgba(21, 17, 13, 0.25);
}
.project-media-soon small { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.project-card--soon { cursor: default; }
.project-lead--todo { color: var(--stone); font-style: italic; opacity: 0.7; }

/* =========================================================
   /projekte/: Rhythmus 60/40 – 40/60 (v405)
   2 Karten je Reihe im 10er-Raster: 6+4, dann 4+6 usw. Beide Bilder einer Reihe gleich
   hoch (Höhe = 40-%-Spalte im Format 4:3), das breite Bild wird dafür breiter beschnitten.
   Eine einzelne letzte Karte steht mittig mit 60 %. Unter 1100 px: 1 Karte je Reihe.
   ========================================================= */
@media (min-width: 1100px) {
  .project-grid.project-grid--list {
    --pg-gap: clamp(1.5rem, 2.4vw, 2.25rem);
    --pg-w: calc(min(var(--container), 100vw) - var(--gutter) * 2);
    --pg-h: calc((var(--pg-w) - var(--pg-gap)) * 0.4 * 0.75);
    grid-template-columns: repeat(10, minmax(0, 1fr));
    column-gap: var(--pg-gap);
    row-gap: clamp(2rem, 3.5vw, 3rem);
  }
  .project-grid--list > .project-card:nth-child(4n+1),
  .project-grid--list > .project-card:nth-child(4n+4) { grid-column: span 6; }
  .project-grid--list > .project-card:nth-child(4n+2),
  .project-grid--list > .project-card:nth-child(4n+3) { grid-column: span 4; }
  .project-grid--list > .project-card:last-child:nth-child(odd) { grid-column: 3 / span 6; }
  .project-grid--list .project-card-media,
  .project-grid--list .project-media-soon { aspect-ratio: auto; height: var(--pg-h); }
  /* Ordner öffnen nach außen: linke Karte nach links, rechte nach rechts */
  .project-grid--list > .project-card:nth-child(n) .project-folder { --dir: 1; }
  .project-grid--list > .project-card:nth-child(odd) .project-folder { --dir: -1; }
  .project-grid--list > .project-card:nth-child(n) .folder-tab-label { left: auto; right: 0; }
  .project-grid--list > .project-card:nth-child(odd) .folder-tab-label { right: auto; left: 0; }
  .project-grid--list .project-card-head { white-space: nowrap; }
}
@media (min-width: 721px) and (max-width: 1099px) {
  .project-grid.project-grid--list { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
}

/* ---------- Wert-Grafik: Wochen-Diagramm statt Häuser (v406) ---------- */
.value-chart { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.value-weeks {
  display: grid;
  grid-template-columns: repeat(var(--n, 52), minmax(0, 1fr));
  align-items: end;
  gap: clamp(2px, 0.35vw, 5px);
  height: clamp(180px, 20vw, 260px);
}
.value-week {
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: rgba(21, 17, 13, 0.08);
  transform: scaleY(0.04);
  transform-origin: bottom;
  transition: transform 0.7s var(--ease), background 0.4s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
}
.value-card.is-in .value-week { transform: none; }
.value-card.is-in .value-week.is-done { background: var(--rust); }
.value-axis { position: relative; display: flex; justify-content: space-between; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid rgba(21, 17, 13, 0.1); font-size: 0.8rem; color: var(--stone); }
.value-axis-now {
  position: absolute;
  top: 0.6rem;
  transform: translateX(-50%);
  font-weight: 600;
  color: var(--rust);
  white-space: nowrap;
}
.value-axis-now::before { content: ""; position: absolute; left: 50%; top: -0.95rem; width: 1px; height: 0.6rem; background: var(--rust); }
@media (prefers-reduced-motion: reduce) {
  .value-week { transform: none; transition: none; }
  .value-week.is-done { background: var(--rust); }
}

/* ---------- Querformat-Ausschnitte (16:9) statt Handy-Clips (Spitzer & Kasper) (v407) ----------
   Zwei Videos leicht versetzt übereinander; Clip 1 vorne oben links, Clip 2 hinten unten rechts. */
.work-clips--wide { display: block; position: relative; padding: 1rem 0 3.5rem; }
.work-clips--wide .work-clip {
  aspect-ratio: 16 / 9;
  width: 82%;
  margin: 0;
  border-radius: 16px;
}
.work-clips--wide .work-clip--1 { position: relative; z-index: 2; transform: rotate(-2deg); }
.work-clips--wide .work-clip--3 { position: absolute; z-index: 1; right: 0; bottom: 0; transform: rotate(2.5deg); }
@media (hover: hover) {
  .work-clips--wide:hover .work-clip--1 { transform: rotate(-3deg) translate(-0.5rem, -0.3rem); }
  .work-clips--wide:hover .work-clip--3 { transform: rotate(3.5deg) translate(0.5rem, 0.3rem); }
}
@media (max-width: 900px) {
  .work-clips--wide .work-clip { width: 86%; margin: 0; }
  .work-clips--wide { padding-bottom: 4rem; }
}

/* ---------- /projekte/: Bild abgedunkelt + weißes Kundenlogo davor; beim Hover verschwinden
   Logo und Abdunklung, man sieht das Bild (v408). Touch-Geräte: Logo bleibt stehen. ---------- */
.project-card.has-logo .project-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(21, 17, 13, 0.55);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.project-card.has-logo .project-card-media .project-logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(62%, 340px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
@media (hover: hover) {
  .project-card.has-logo:hover .project-card-media::after,
  .project-card.has-logo:focus-visible .project-card-media::after { opacity: 0; }
  .project-card.has-logo:hover .project-logo,
  .project-card.has-logo:focus-visible .project-logo { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .project-card.has-logo .project-card-media::after, .project-card.has-logo .project-logo { transition: none; }
}

/* ---------- /projekte/: Logo-Wand „Und noch viele weitere“ (v410) ----------
   Alle Logos einheitlich dunkel (per Filter, egal ob Original weiß oder farbig), Hover = volle Deckkraft */
.projects-list { padding-bottom: clamp(3rem, 6vw, 5rem); }
.client-wall { padding: 0 0 clamp(6rem, 12vw, 10rem); }
.client-wall-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.client-wall-grid li {
  display: grid;
  place-items: center;
  aspect-ratio: 2 / 1;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.client-wall-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
.client-wall-grid li:hover img { opacity: 0.9; }
@media (max-width: 1024px) { .client-wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .client-wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .client-wall-grid li { border-radius: 14px; padding: 0.3rem 0.5rem; } }
/* Logo-Wand: 25 Logos → 5 je Reihe (Desktop/Tablet), Handy 3 je Reihe, letztes mittig (v411) */
.client-wall-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .client-wall-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .client-wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-wall-grid li:last-child:nth-child(3n+1) { grid-column: 2; }
}

/* ---------- Logo-Wand als 3 laufende Reihen (Karussell) + kleinere Logos (v412) ---------- */
.client-wall-rows {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.client-row { overflow: hidden; }
.client-row-track {
  display: flex;
  width: max-content;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  animation: clientScroll 55s linear infinite;
}
.client-row--reverse .client-row-track { animation-direction: reverse; animation-duration: 62s; }
.client-row:nth-child(3) .client-row-track { animation-duration: 58s; }
.client-row:hover .client-row-track { animation-play-state: paused; }
@keyframes clientScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - clamp(0.75rem, 1.5vw, 1.25rem) / 2)); }
}
.client-row-track li {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(150px, 16vw, 220px);
  aspect-ratio: 2 / 1;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.client-row-track img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease);
}
.client-row-track li:hover img { opacity: 0.9; }
@media (max-width: 720px) { .client-row-track li { width: 130px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .client-row { overflow-x: auto; }
  .client-row-track { animation: none; }
}
/* Logos auf den Projektkarten deutlich kleiner */
.project-card.has-logo .project-card-media .project-logo { width: min(36%, 190px); }
.client-row-track img { width: 46%; height: 46%; }   /* Logos in den Kacheln kleiner (v412) */
/* 5 laufende Reihen: unterschiedliche Tempi, abwechselnde Richtung (v413) */
.client-row:nth-child(1) .client-row-track { animation-duration: 48s; }
.client-row:nth-child(2) .client-row-track { animation-duration: 56s; }
.client-row:nth-child(3) .client-row-track { animation-duration: 44s; }
.client-row:nth-child(4) .client-row-track { animation-duration: 60s; }
.client-row:nth-child(5) .client-row-track { animation-duration: 52s; }
.client-row-track li { width: clamp(140px, 14vw, 200px); }

/* /projekte/: Rhythmus 55/45 – 45/55 statt 60/40 (v414) – 20er-Raster: 11 + 9 */
@media (min-width: 1100px) {
  .project-grid.project-grid--list {
    grid-template-columns: repeat(20, minmax(0, 1fr));
    --pg-h: calc((var(--pg-w) - var(--pg-gap)) * 0.45 * 0.75);
  }
  .project-grid--list > .project-card:nth-child(4n+1),
  .project-grid--list > .project-card:nth-child(4n+4) { grid-column: span 11; }
  .project-grid--list > .project-card:nth-child(4n+2),
  .project-grid--list > .project-card:nth-child(4n+3) { grid-column: span 9; }
  .project-grid--list > .project-card:last-child:nth-child(odd) { grid-column: 5 / span 12; }
}
/* Projektseiten: „Alle Projekte“ neben dem Kundenlink (v415) */
.project-back::before { content: "←"; margin-right: 0.1rem; }

/* ---------- Logos optisch gleich groß (v416) ----------
   Enge viewBox je Logo + Breite je Seitenverhältnis (--logo-w, gleiche Fläche) statt fester Breite */
.project-card.has-logo .project-card-media .project-logo { width: var(--logo-w, 32%); max-height: 42%; }
.client-row-track img { width: var(--logo-w, 50%); height: auto; max-height: 62%; }
/* Bild hinter dem Logo stärker abgedunkelt */
.project-card.has-logo .project-card-media::after { background: rgba(21, 17, 13, 0.7); }

/* /projekte/: Rhythmus 52/48 – 48/52 (25er-Raster: 13 + 12) */
@media (min-width: 1100px) {
  .project-grid.project-grid--list {
    grid-template-columns: repeat(25, minmax(0, 1fr));
    --pg-h: calc((var(--pg-w) - var(--pg-gap)) * 0.48 * 0.75);
  }
  .project-grid--list > .project-card:nth-child(4n+1),
  .project-grid--list > .project-card:nth-child(4n+4) { grid-column: span 13; }
  .project-grid--list > .project-card:nth-child(4n+2),
  .project-grid--list > .project-card:nth-child(4n+3) { grid-column: span 12; }
  .project-grid--list > .project-card:last-child:nth-child(odd) { grid-column: 7 / span 13; }
}

/* ---------- Unterseiten: Kopf gleitet über den haltenden Abschnitt [data-hold] (v417) ---------- */
.subpage-hero, .projects-hero { position: relative; z-index: 5; }
[data-hold] { position: relative; z-index: 1; }
/* /kontakt/: Titel in weißer Box (.projects-hero), Einleitung + Formular auf dem Hintergrund */
.contact-title .subpage-hero-accent { font-size: 1.7em; }
.contact-title { margin-top: 1.5rem; }
.contact-section { padding: 0 0 clamp(6rem, 12vw, 10rem); }

/* ---------- Titelblöcke: leichtes orange-weißes Grain (v418) ----------
   Kachel assets/img/grain-orange-weiss.png (Orange #db4a2b + Weiß, transparent); Stärke = opacity */
.hero::after,
.subpage-hero::after,
.projects-hero::after,
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: url("../assets/img/grain-orange-weiss.png") repeat;
  background-size: 256px 256px;
  opacity: 0.14;
  pointer-events: none;
}

/* ---------- Titelblöcke: orange Verlauf mit feinem Grain (v419, ersetzt v418) ----------
   Ausnahme von „keine Farbverläufe“ auf Wunsch des Kunden – nur hier, nur Orange #db4a2b.
   ::after = weicher oranger Schein aus der Ecke unten rechts + feines orange-weißes Korn
   (Kachel grain-fein.png, 1 Korn = 1 Gerätepixel). Stärke: Alpha im Verlauf / opacity. */
.hero::after,
.subpage-hero::after,
.projects-hero::after,
.project-hero::after {
  background:
    url("../assets/img/grain-fein.png") 0 0 / 128px 128px repeat,
    radial-gradient(120% 110% at 100% 100%, rgba(219, 74, 43, 0.32) 0%, rgba(219, 74, 43, 0.12) 38%, rgba(219, 74, 43, 0) 70%);
  opacity: 0.6;
}
/* v420: Grain viel dezenter und verlaufsartig – kräftiger in der orangen Ecke, zur
   gegenüberliegenden Seite fast weg (Maske); Schein etwas stärker, damit er trotz
   geringerer Deckkraft sichtbar bleibt */
.hero::after,
.subpage-hero::after,
.projects-hero::after,
.project-hero::after {
  background:
    url("../assets/img/grain-fein.png") 0 0 / 128px 128px repeat,
    radial-gradient(120% 110% at 100% 100%, rgba(219, 74, 43, 0.55) 0%, rgba(219, 74, 43, 0.2) 38%, rgba(219, 74, 43, 0) 70%);
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(140% 130% at 100% 100%, #000 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.08) 100%);
  mask-image: radial-gradient(140% 130% at 100% 100%, #000 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.08) 100%);
}

/* ---------- Startseiten-Feinschliff (v421) ---------- */
/* Erstgespräch-Button: Gesichter ohne orangen Rahmen (Ausschnitt weiter gefasst: avatar-*-weit.jpg) */
.nav-cta-avatars .avatar-sm,
.nav-cta:hover .avatar-sm { border: 0; }
.nav-cta-avatars .avatar-sm { margin-left: -8px; }
.nav-cta-avatars .avatar-sm:first-child { margin-left: 0; }

/* Unser Team: Überschrift links neben dem (kleineren) Foto; Trennlinie über den Zahlen weg */
.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.team-intro .team-heading { text-align: left; margin-bottom: 0; padding-top: 0; }
.team-intro .eyebrow-pill { margin-inline: 0; }
.team-intro .team-photo-box { margin-top: 0; width: 100%; }
#team .stats { border-top: 0; padding-top: 0; }
@media (max-width: 900px) {
  .team-intro { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 2.5rem); }
  .team-intro .team-photo-box { width: 100%; }
}

/* „Alle Projekte“-Karte: Bild abgedunkelt wie die Logo-Karten, Hover hellt auf */
.project-card-media--all::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(21, 17, 13, 0.7);
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.project-card-media--all .project-card-all-arrow { z-index: 2; }
@media (hover: hover) {
  .project-card--all:hover .project-card-media--all::after { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .project-card-media--all::after { transition: none; } }

/* ---------- Scroll-Aufforderung „Scrollen“ im ersten Block jeder Seite (v423) ----------
   wie im Startseiten-Hero (.scroll-cue oben rechts, senkrecht); auf weißen Boxen dunkel */
.subpage-hero .scroll-cue,
.projects-hero .scroll-cue,
.project-hero .scroll-cue,
.legal-box .scroll-cue {
  z-index: 4;
  opacity: 0;
  animation: scrollCueIn 0.8s var(--ease) 0.9s both;
}
.projects-hero .scroll-cue,
.project-hero .scroll-cue,
.legal-box .scroll-cue { color: var(--stone); }
.projects-hero .scroll-cue::after,
.project-hero .scroll-cue::after,
.legal-box .scroll-cue::after { background: var(--stone); }
@keyframes scrollCueIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .subpage-hero .scroll-cue, .projects-hero .scroll-cue, .project-hero .scroll-cue, .legal-box .scroll-cue { animation: none; opacity: 1; }
}

/* Menü: ganze Pille bzw. Menükopf klickbar (v424) */
.nav-pill, .menu-head { cursor: pointer; }

/* Links im Leistungstext (z. B. HEXBEE bei Drohnenaufnahmen) als Link erkennbar (v425) */
.service-lead a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.service-lead a:hover { color: var(--rust); }

/* ---------- /about/ Crew in zwei Gruppen (v426) ----------
   Kernteam (Markus, Teves, Leni): groß in einer Reihe, Rolle in Orange.
   Support (freie Profis): eigene Pille + Zeile, kleiner, Name/Rolle ohne weiße Box. */
.crew-group + .crew-group { margin-top: clamp(3.5rem, 8vw, 6rem); }
.crew-grid.crew-grid--core,
.crew-grid.crew-grid--support { display: grid; margin-inline: auto; }
.crew-grid--core .crew-card,
.crew-grid--support .crew-card { grid-column: auto !important; }
.crew-grid.crew-grid--core {
  max-width: 1080px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}
.crew-grid--core .crew-info { padding: 1.1rem 1.4rem; }
.crew-grid--core .crew-info h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.crew-grid--core .crew-info p { color: var(--rust); font-weight: 600; }

.crew-group-head { text-align: center; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.crew-group-head .eyebrow-pill { margin-inline: auto; margin-bottom: 0.9rem; }
.crew-group-lead { margin: 0; color: var(--stone); font-size: 1.05rem; }
.crew-grid.crew-grid--support {
  max-width: 880px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.25rem);
}
.crew-grid--support .crew-photo { border-width: 4px; border-radius: 18px; box-shadow: var(--shadow-sm); }
.crew-grid--support .crew-info { padding: 0.35rem 0.25rem 0; background: none; box-shadow: none; text-align: center; }
.crew-grid--support .crew-info h3 { font-size: 0.98rem; }
.crew-grid--support .crew-info p { font-size: 0.85rem; }

@media (max-width: 720px) {
  .crew-grid.crew-grid--core { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
  .crew-grid--core .crew-card { grid-column: span 2 !important; }
  .crew-grid--core .crew-card:nth-child(3) { grid-column: 2 / span 2 !important; }
  .crew-grid--core .crew-info { padding: 0.8rem 0.9rem; }
  .crew-grid.crew-grid--support { max-width: 300px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- /about/ Crew: Blugie-Stempel „found“ (Kernteam) / „support“ unten rechts
   überlappend auf der Fotoecke; heller Rand, damit Orange auch auf orangen Shirts lesbar ist (v427) ---------- */
.crew-photo-wrap { position: relative; }
.crew-tag {
  position: absolute;
  right: -0.18em;
  bottom: -0.32em;
  z-index: 2;
  font-family: "Blugie", var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
  color: var(--rust);
  transform: rotate(-7deg);
  -webkit-text-stroke: 0.14em var(--paper);
  paint-order: stroke fill;
  text-shadow: 0 6px 16px rgba(21, 17, 13, 0.18);
  pointer-events: none;
}
.crew-grid--support .crew-tag { font-size: clamp(1.5rem, 2.2vw, 2rem); right: -0.22em; bottom: -0.36em; }
/* Handy: Kernteam trotzdem in einer Reihe */
@media (max-width: 720px) {
  .crew-grid.crew-grid--core { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
  .crew-grid--core .crew-card,
  .crew-grid--core .crew-card:nth-child(3) { grid-column: auto !important; }
  .crew-grid--core .crew-photo { border-width: 4px; border-radius: 16px; }
  .crew-grid--core .crew-info { padding: 0.55rem 0.6rem; border-radius: 14px; }
  .crew-grid--core .crew-info h3 { font-size: 0.92rem; }
  .crew-grid--core .crew-info p { font-size: 0.72rem; line-height: 1.3; }
  .crew-tag { font-size: 1.6rem; }
  .crew-grid--support .crew-tag { font-size: 1.4rem; }
}

/* ---------- /about/ Crew: alle Fotos gleich groß (v428) ----------
   Beide Gruppen als mittig umbrechende Reihe mit derselben Kartenbreite:
   Desktop/Tablet = Viertel der Breite (max. 250 px), Handy = Drittel. Unterschied nur über
   Stempel (found/support), Rolle orange vs. grau und Info-Box. */
.crew-grid.crew-grid--core,
.crew-grid.crew-grid--support {
  --crew-gap: clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--crew-gap);
  max-width: calc(4 * 250px + 3 * var(--crew-gap));
}
.crew-grid--core .crew-card,
.crew-grid--support .crew-card { width: calc((100% - 3 * var(--crew-gap)) / 4); }
.crew-grid--support .crew-photo { border-width: 6px; border-radius: 22px; box-shadow: var(--shadow-md); }
.crew-grid--support .crew-tag { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
@media (max-width: 720px) {
  .crew-grid.crew-grid--core,
  .crew-grid.crew-grid--support { --crew-gap: 0.5rem; max-width: none; }
  .crew-grid--core .crew-card,
  .crew-grid--support .crew-card { width: calc((100% - 2 * var(--crew-gap)) / 3); }
  .crew-grid--support .crew-photo { border-width: 4px; border-radius: 16px; }
  .crew-tag, .crew-grid--support .crew-tag { font-size: 1.5rem; }
  .crew-grid--support .crew-info h3 { font-size: 0.92rem; }
  .crew-grid--support .crew-info p { font-size: 0.72rem; }
}
/* v429: Support ohne Pille/Zeile → geringerer Abstand zwischen den Gruppen */
.crew-group + .crew-group { margin-top: clamp(2.5rem, 5vw, 4rem); }
/* v430: /about/ – unter dem Team folgen News & Updates → weniger Abstand nach unten */
.crew-section { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* v431: /projekte/ – unter der Logo-Wand folgen News & Updates → weniger Abstand nach unten */
.client-wall { padding-bottom: clamp(2rem, 4vw, 3rem); }
/* v432: News & Updates als weiße Box nur mit Welle unten (/projekte/) → oben links normal rund */
.insights-section--wave-bottom { border-top-left-radius: 44px; }

/* ---------- Insights-Beitrag: Kopf wie Projektseiten (.project-hero.post-hero), darunter
   Text in weißer Box (.post-box) – ohne überlappendes Titelbild (v433) ---------- */
.post-hero .post-meta { margin: 0.9rem 0 0; }
.post-hero + .post-box { margin-top: 14px; padding-top: clamp(3rem, 6vw, 5rem); }
.post-hero .project-hero-media img { object-position: 50% 35%; }

/* ---------- Insights-Beitrag: rechte Spalte mit Hochkant-Video + CTA (v434) ---------- */
.post-aside { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); align-content: start; }
.post-aside .post-cta { position: static; }
.post-video {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.post-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .post-aside { max-width: 340px; width: 100%; margin-inline: auto; }
}
/* v436: Titel mit mehreren normalen Zeilen (z. B. Insights-Beitrag) – enger Zeilenabstand
   nur vor der Blugie-Zeile, normale Zeilen untereinander nicht überlappen lassen */
.project-title .hl-line + .hl-line:not(:has(.project-title-accent)) { margin-top: 0; }

/* ---------- Insights-Beitrag: Text über die ganze Breite, CTA darunter (.post-box--wide, v438) ---------- */
.post-box--wide .container { grid-template-columns: minmax(0, 1fr); }
.post-box--wide .post-body { max-width: none; }
.post-box--wide .post-cta {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: clamp(1rem, 3vw, 2rem);
}
.post-box--wide .post-cta-title { margin: 0; }
.post-box--wide .post-cta p { margin: 0; flex: 1 1 18rem; }
.post-box--wide .post-cta .btn { margin-top: 0; }

/* ---------- Insights-Beitrag „Umzug“: Adress-Kasten rechts (v439) ---------- */
.post-address address { font-style: normal; color: var(--ink-text); font-size: 1.05rem; line-height: 1.55; }
.post-address .btn { display: flex; justify-content: center; width: 100%; margin-top: 0.75rem; }
.post-address .btn-primary { margin-top: 1.25rem; }

/* v440: Projekt-/Beitragskopf gestapelt (Bild oben) → „Scrollen“ waagerecht oben rechts über dem Bild,
   statt senkrecht auf der Bildecke */
@media (max-width: 900px) {
  .project-hero .scroll-cue {
    writing-mode: horizontal-tb;
    top: 0.85rem;
    right: 1.5rem;
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  .project-hero .scroll-cue::after { width: 28px; height: 1px; }
}

/* =========================================================
   /karriere/ (v441): Kopf wie /projekte/ (.projects-hero), darunter Stellenanzeige als
   weiße Karte auf dem Hintergrund: Kopf mit Eckdaten-Pillen, 3 Spalten, Bewerbungsleiste
   ========================================================= */
.job-section { padding: 0 0 clamp(6rem, 12vw, 10rem); }
.job-card {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 44px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.job-title {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.job-title-note { font-size: 0.45em; letter-spacing: 0; vertical-align: middle; color: var(--stone); }
.job-facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.job-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(21, 17, 13, 0.1);
}
.job-col h3,
.job-apply h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink-text);
}
.job-col ul { margin: 0; padding-left: 1.1rem; list-style: disc; color: var(--stone); font-size: 1rem; line-height: 1.6; }
.job-col li + li { margin-top: 0.55rem; }
.job-col li::marker { color: var(--rust); }
.job-card a:not(.btn) { color: var(--ink-text); text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: 0.2em; }
.job-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.job-apply p { margin: 0; max-width: 60ch; color: var(--stone); line-height: 1.6; }
.job-apply p + p { margin-top: 0.6rem; }
.job-apply .job-note { font-size: 0.88rem; }
.job-apply .btn { flex-shrink: 0; }
@media (max-width: 900px) {
  .job-cols { grid-template-columns: minmax(0, 1fr); }
  .job-apply { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .job-card { border-radius: 30px; }
  .job-apply { border-radius: 22px; }
}
/* v442: /karriere/ – „WERDE TEIL“ bleibt am Handy in einer Zeile (sonst legt sich „der Crew“ darüber);
   Textbreite ≈ 8,5 × Schriftgröße, Inhaltsbreite = 100vw − 56 px */
@media (max-width: 720px) {
  .karriere-hero .projects-title { font-size: calc((100vw - 56px) / 10.2); }
  .karriere-hero .projects-title .hl-line:first-child { white-space: nowrap; }
}
/* v443: /about/ – Button „Werde Teil des Teams“ unter den Team-Bildern → /karriere/ */
.crew-join { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
