/* ============================================================
   CP Branding — Sektions-Styles (v2)
   Aufbau Stück für Stück. Aktuell: Header + Hero.
   ============================================================ */

/* ===================== Header / Menü ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 4vw, 50px);
}
.brand {
  font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.brand-img {
  display: block;
  height: clamp(40px, 4.2vw, 52px);   /* Startgröße – leicht justierbar */
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  font-size: 15px;
}
.nav a {
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}
.nav a:hover { opacity: 0.55; }

.nav .nav-cta {
  background: #fff;
  color: var(--ink);
  opacity: 1;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.nav .nav-cta:hover { opacity: 0.82; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 6px clamp(20px, 4vw, 50px) 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.45);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 2px; font-size: 18px; opacity: 1; }
  .nav .nav-cta {
    margin-top: 14px;
    padding: 14px 20px;
    text-align: center;
    justify-content: center;
  }
  .nav-toggle { display: flex; }
  /* Hamburger → X */
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

/* Lade-Intro: Portrait & Text bis zum JS-Start verstecken (kein Aufblitzen).
   GSAP slidet sie rein; Fallback (kein GSAP / reduced-motion) macht sie sichtbar. */
.js-ready .hero-portrait,
.js-ready .hero-content { visibility: hidden; }

/* Freigestelltes Portrait: oben verankert, unten vom Viewport beschnitten */
.hero-portrait {
  position: absolute;
  top: clamp(16px, 4.5vh, 40px);
  bottom: auto;
  right: clamp(0px, 5vw, 88px);
  height: 112%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  object-position: top right;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Headline + Sub bilden EINE Gruppe (20px Abstand), unten-links verankert */
.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* Gruppe sitzt unten — Sub bleibt, wo sie ist */
  padding: clamp(40px, 8vh, 96px) clamp(20px, 9vw, 130px) clamp(40px, 7vh, 72px);
}

.hero-title {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 128px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.hero-title span { display: block; }

.hero-sub {
  margin-top: 20px;            /* feste 20px — gehört zur Headline-Gruppe */
  font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 32px);
  line-height: 1.25;
  opacity: 0.8;
}

.hero-note {
  margin-top: 12px;            /* dezenter Zusatz unter der Sub */
  font-weight: 500;
  color: var(--ink);           /* gleiche Farbe wie die Headline */
  font-size: clamp(0.95rem, 1.7vw, 22px);
  line-height: 1.3;
  opacity: 0.6;                /* 60 % Deckkraft */
}

/* ===================== Chat-Intro (Bubbles) ===================== */
/* Chat-Paar als zentrierte Flex-Spalte: fester Gap (immer ≥ 20px, kein Überlappen) */
.chat {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1040px);
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2vw, 30px);
}
.bubble {
  position: relative;
  margin: 0;                       /* <figure>-Default-Margin (40px) zurücksetzen */
  width: clamp(290px, 40vw, 540px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 44px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 36px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.20);
}
.bubble blockquote {
  margin: 0;
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.3;
}
.bubble figcaption {
  font-weight: 300;
  font-size: 14px;
  opacity: 0.65;
}
/* Question = ausgehend (rechtsbündig, Tail unten rechts) */
.bubble--q {
  align-self: flex-end;
  text-align: right;
  border-bottom-right-radius: 0;
  transform-origin: right bottom;
}
/* Reply = eingehend (linksbündig, Tail unten links) */
.bubble--r {
  align-self: flex-start;
  text-align: left;
  border-bottom-left-radius: 0;
  transform-origin: left bottom;
}

/* Kein Flash: solange JS aktiv ist, Bubbles verstecken bis GSAP sie einblendet */
.js-ready .bubble { opacity: 0; visibility: hidden; }

@media (max-width: 760px) {
  .chat { width: 88%; gap: 16px; }
  .bubble { width: 100%; }
  .bubble--q, .bubble--r { align-self: stretch; }
}

/* Mobile: Portrait unten bündig mit der Section, Headline darüber */
@media (max-width: 720px) {
  .hero-portrait {
    left: 0;
    right: 0;
    max-width: none;
    width: 100%;
    height: auto;
    top: auto;
    bottom: 0;
    object-position: bottom center;
    opacity: 1;
  }
  .hero-content { justify-content: flex-end; padding-top: 48px; }
  .hero-sub { margin-top: 20px; }
}

/* ===================== About ===================== */
.about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  padding-block: clamp(80px, 12vh, 140px);
}

/* Portrait bündig am linken Rand, rechte Ecken gerundet */
.about-photo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);   /* Zentrierung (GSAP übernimmt sie + Parallax via y) */
  width: clamp(190px, 25.3vw, 365px);
  aspect-ratio: 365 / 578;
  margin: 0;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
  z-index: 1;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text {
  position: relative;
  z-index: 2;
  margin-left: clamp(230px, 32.3vw, 465px);
  padding-right: var(--pad);
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-h {
  font-weight: 700;
  font-size: clamp(2.3rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.about-sub {
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 32px);
  line-height: 1.25;
  opacity: 0.8;
}
.about-body {
  opacity: 0.6;
  max-width: 590px;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
.about-body p {
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 16px);
  line-height: 1.65;
}

/* CP-Signatur als dezentes Watermark unten rechts (Parallax via GSAP) */
.about-signature {
  position: absolute;
  right: clamp(24px, 5vw, 96px);
  bottom: clamp(40px, 7vh, 96px);
  width: clamp(200px, 26vw, 380px);
  height: auto;
  opacity: 0.6;
  z-index: 1;            /* unter dem Text (z-2), über dem Hintergrund */
  pointer-events: none;
  will-change: transform;
}
@media (max-width: 860px) {
  .about-signature {
    position: static; align-self: center; right: auto; bottom: auto;
    width: 56%; margin-top: 28px; opacity: 0.5;
  }
}

/* Text-Reveal: einzelne Wörter (JS-gesplittet) */
.reveal-text .rw { will-change: opacity; }

/* Mobile: stapeln */
@media (max-width: 860px) {
  .about { flex-direction: column; align-items: stretch; padding-top: clamp(40px, 8vh, 90px); }
  .about-photo {
    position: relative;
    top: auto;
    transform: none !important;   /* schlägt GSAP-Inline-Parallax (yPercent/y) im Mobile-Stapel */
    width: min(300px, 70vw);
    margin-bottom: 36px;
    border-radius: 0 20px 20px 0;
  }
  .about-text {
    margin-left: 0;
    padding-inline: var(--pad);
    max-width: none;
  }
}

/* ===================== Dienstleistungen ===================== */
.services {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(80px, 12vh, 140px);
}
.services-inner {
  width: 100%;
  padding-inline: clamp(20px, 9vw, 130px);   /* gleicher Maßstab wie Hero-Rand */
}
.services-h {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1em;
  padding: 20px 40px;
  text-align: center;
  color: var(--paper);
  font-size: clamp(0.9rem, 1.05vw, 16px);
  line-height: 1.6;
}
.svc-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 2.2vw, 32px) clamp(24px, 2.6vw, 44px);
}
.svc-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;            /* sehr faint Video-Textur */
  z-index: -1;
}
.svc-card h3 {
  font-weight: 700;
  font-size: clamp(1.5rem, 2.1vw, 32px);
  line-height: 1.05;
  color: var(--paper);
  hyphens: auto;
}
.svc-card p {
  font-weight: 400;
  font-size: clamp(0.9rem, 1.05vw, 16px);
  line-height: 1.2;
  color: var(--paper);
  opacity: 0.82;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-intro { text-align: left; padding-inline: 0; min-height: 0; }
}

/* Typewriter-Caret für die Services-Headline */
.sh-caret {
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.04em;
  background: currentColor;
  vertical-align: -0.04em;
  animation: sh-blink 1s steps(1) infinite;
}
@keyframes sh-blink { 50% { opacity: 0; } }
.sh-caret.done { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sh-caret { display: none; } }

/* ===================== Testimonials ===================== */
.testimonials {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 12vh, 140px);
  padding-inline: clamp(20px, 9vw, 130px);
}
.testimonials-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr min(460px, 42%);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.testi-heading {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 565px;
}
.testi-list {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 40px);
}
.testi {
  position: relative;
  display: block;
  text-align: center;
  padding: 20px 40px;
  border-radius: 20px;
  color: var(--paper);
}
.testi-default {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.35s ease;
}
.testi-quote { font-weight: 400; font-size: clamp(0.95rem, 1.05vw, 16px); line-height: 1.45; color: var(--paper); }
.testi-name { font-weight: 700; font-size: 16px; opacity: 0.8; }
.testi-role { font-weight: 400; font-size: 16px; opacity: 0.55; }
.testi-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.testi-hover span { font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 24px); }
.testi:hover .testi-default,
.testi:focus-visible .testi-default { opacity: 0; }
.testi:hover .testi-hover,
.testi:focus-visible .testi-hover { opacity: 1; visibility: visible; }

@media (max-width: 860px) {
  .testimonials-inner { grid-template-columns: 1fr; gap: 40px; }
  .testi-list { max-width: 460px; }
}

/* ===================== Ablauf ===================== */
/* ===================== Partner-Netzwerk ===================== */
.partners {
  background: var(--paper);
  color: var(--ink);
  padding-block: clamp(70px, 10vw, 130px);
  padding-inline: clamp(20px, 9vw, 130px);
}
.partners-inner { max-width: 1200px; margin: 0 auto; }
.partners-h {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.partners-intro {
  margin-top: 18px;
  max-width: 640px;
  font-size: clamp(1rem, 1.3vw, 19px);
  line-height: 1.5;
  opacity: 0.7;
}
.partners-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.partner-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.partner-logo {
  display: grid;
  place-items: center;
  height: 96px;
  border: 1px dashed rgba(0,0,0,0.22);
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  padding: 10px;
}
.partner-logo span { display: block; font-weight: 400; font-size: 12px; opacity: 0.5; margin-top: 4px; }
/* Feste Box-Höhe (= Höhe des größten Logos, Scheffer) → alle Logos sitzen auf
   derselben Linie (horizontal ausgerichtet); Beschreibungen starten gleich.
   margin-bottom + Flex-Gap (18px) = oberes Karten-Padding → gleich viel Luft
   unter dem Logo wie über dem Logo zum Kartenrand. */
.partner-logo:has(img) { border: none; padding: 0; height: 72px; margin-bottom: calc(clamp(22px, 2.6vw, 34px) - 18px); }
/* Reduzierte, einheitliche Breite → mehr Whitespace, edlere Wirkung */
.partner-logo img { width: 100%; max-width: 150px; max-height: 100%; height: auto; object-fit: contain; }
/* Scheffer-Logo (Gold) dunkel einfärben, damit alle Logos einheitlich schwarz wirken */
.partner-logo img.logo-dark { filter: brightness(0); }
.partner-card p { font-size: 15px; line-height: 1.45; opacity: 0.7; }

a.partner-card { text-decoration: none; color: inherit; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
a.partner-card:hover { transform: translateY(-3px); border-color: rgba(0,0,0,0.15); box-shadow: 0 14px 32px rgba(0,0,0,0.09); }
.partner-cta { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; }
.partner-cta svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
a.partner-card:hover .partner-cta svg { transform: translateX(3px); }

@media (max-width: 760px) {
  .partners-grid { grid-template-columns: 1fr; }
}

.process {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 12vh, 140px);
  padding-inline: clamp(20px, 9vw, 130px);
}
.process-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.process-h {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: min(400px, 34vw);   /* schmal wie im Design */
}
.timeline {
  display: flex;
  gap: clamp(28px, 3.5vw, 50px);
  align-items: stretch;
}
.timeline-line {
  flex: none;
  width: 3px;
  background: var(--ink);
  border-radius: 2px;
}
.timeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 75px);
  max-width: 590px;
}
.step { display: flex; flex-direction: column; gap: 10px; }
.step-title {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.3vw, 32px);
  line-height: 1.1;
  opacity: 0.85;
}
.step-desc {
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 16px);
  line-height: 1.5;
  opacity: 0.6;
}

@media (max-width: 860px) {
  .process-inner { grid-template-columns: 1fr; gap: 48px; }
  .process-h { max-width: none; }
}

/* ===================== FAQ ===================== */
.faq {
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 12vh, 140px);
  padding-inline: var(--pad);
}
.faq-inner { width: 100%; max-width: 988px; margin-inline: auto; }
.faq-h {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 clamp(36px, 5vh, 64px);
}
.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 6px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 20px);
  line-height: 1.3;
  color: var(--ink);
  opacity: 0.82;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.faq-q:hover,
.faq-q[aria-expanded="true"] { opacity: 1; }
.faq-icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 15px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 15px; transform: translate(-50%, -50%); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-q[aria-expanded="true"] + .faq-panel { grid-template-rows: 1fr; }
.faq-a-wrap { overflow: hidden; }
.faq-a {
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 16px);
  line-height: 1.55;
  opacity: 0.6;
  padding-top: 10px;
  max-width: 900px;
}

/* ===================== CTA ===================== */
.cta {
  background: var(--ink);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 12vh, 140px);
  padding-inline: clamp(20px, 9vw, 130px);
}
.cta-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.cta-h {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.6vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: min(580px, 44vw);
}
.cta-flow { display: flex; gap: clamp(28px, 3.5vw, 50px); align-items: stretch; }
.cta-line { flex: none; width: 3px; background: var(--paper); border-radius: 2px; }
.cta-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 75px);
  max-width: 452px;
  align-items: flex-start;
}
.cta-step { display: flex; flex-direction: column; gap: 10px; color: var(--paper); }
.cta-step-label { font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 32px); line-height: 1.1; opacity: 0.8; }
.cta-step-title { font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 32px); line-height: 1.1; }
.cta-step-desc { font-weight: 400; font-size: clamp(0.95rem, 1.1vw, 16px); line-height: 1.5; opacity: 0.6; }
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 20px);
  padding: 18px 32px;
  border-radius: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta-button:hover { transform: translateY(-2px); background: #fff; }

@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-h { max-width: none; }
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--bg);
  color: #fff;
  padding-block: clamp(60px, 8vw, 100px) clamp(28px, 3vw, 40px);
}
.footer-inner {
  width: 100%;
  padding-inline: clamp(20px, 9vw, 130px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-logo {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 28px);
  color: #fff;
  margin-bottom: 18px;
}
.footer-logo-img {
  display: block;
  height: clamp(64px, 8vw, 100px);
  width: auto;
}
.footer-brand p {
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 26px;
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.05vw, 16px);
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-cta svg { width: 18px; height: 18px; }
.footer-cta:hover { transform: translateY(-2px); background: #fff; }
.footer-col h4 {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 18px;
}
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { color: var(--muted); font-size: 16px; transition: color 0.2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-contact address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}
.footer-contact a { transition: color 0.2s ease; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--border-soft);
  color: var(--muted-2);
  font-size: 14px;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted-2); transition: color 0.2s ease; }
.footer-legal a:hover { color: #fff; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Dienstleistungen: Intro-Text unter der Überschrift (statt Grid-Zelle) */
.services-h { margin-bottom: clamp(14px, 1.5vw, 20px); }
.services-intro {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
  color: var(--paper);
  opacity: 0.72;
  font-size: clamp(0.95rem, 1.1vw, 16px);
  line-height: 1.6;
}

/* ===================== Projekt-Case-Studies (geteilt) ===================== */
.case-hero {
  background: var(--ink); color: #fff;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-block: clamp(60px, 10vh, 120px); padding-inline: clamp(20px, 9vw, 130px);
}
.case-eyebrow { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); opacity: 0.55; margin-bottom: 20px; font-weight: 500; }
.case-hero h1 { font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 92px); line-height: 1.0; letter-spacing: -0.025em; color: #fff; max-width: 16ch; }
.case-lead { margin-top: clamp(20px, 3vw, 32px); max-width: 660px; font-size: clamp(1.05rem, 1.6vw, 22px); line-height: 1.5; opacity: 0.78; }
.case-meta { margin-top: clamp(28px, 4vw, 40px); display: flex; flex-wrap: wrap; gap: 14px 40px; font-size: 15px; }
.case-meta div span { display: block; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; margin-bottom: 4px; }
.case-meta div strong { font-weight: 600; }

/* Hero mit Testimonial-Video rechts (nur auf Seiten mit --split) */
.case-hero--split { flex-direction: row; align-items: center; gap: clamp(36px, 6vw, 90px); }
.case-hero--split h1 { font-size: clamp(1.9rem, 4vw, 58px); line-height: 1.05; max-width: 20ch; }
.case-hero--split .case-hero-text { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 auto; min-width: 0; }
.case-hero-media { flex: 0 0 clamp(320px, 40vw, 500px); border-radius: 18px; overflow: hidden; background: rgba(255,255,255,0.04); }
.case-hero-media video { width: 100%; display: block; }
@media (max-width: 900px) {
  .case-hero--split { flex-direction: column; align-items: flex-start; gap: 36px; }
  .case-hero-media { flex: none; width: 100%; max-width: 360px; align-self: flex-start; }
}

.case-section { padding-block: clamp(70px, 11vw, 140px); padding-inline: clamp(20px, 9vw, 130px); }
.case-light { background: var(--paper); color: var(--ink); }
.case-dark  { background: var(--ink); color: #fff; }
.case-h2 { font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: clamp(28px, 4vw, 48px); }
.case-text { max-width: 760px; font-size: clamp(1.05rem, 1.5vw, 22px); line-height: 1.55; opacity: 0.85; }
.case-text strong { font-weight: 700; }

.case-result-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.case-stat { font-weight: 700; font-size: clamp(4.5rem, 15vw, 210px); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap; }
.case-stat span { display: block; font-size: clamp(1rem, 1.4vw, 20px); font-weight: 500; letter-spacing: 0; opacity: 0.55; margin-top: 14px; }
.case-quote { margin-top: clamp(40px, 5vw, 64px); max-width: 820px; }
.case-quote blockquote { margin: 0; font-weight: 500; font-size: clamp(1.25rem, 2.4vw, 34px); line-height: 1.35; letter-spacing: -0.01em; }
.case-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 16px; }
.case-quote cite span { opacity: 0.55; }

.case-video-wrap { max-width: 900px; margin-top: clamp(28px, 4vw, 44px); border-radius: 20px; overflow: hidden; }
.case-video-wrap video { width: 100%; display: block; }
.case-media-ph { display: grid; place-items: center; aspect-ratio: 16/9; background: rgba(127,127,127,0.12); border: 1px dashed currentColor; border-radius: 20px; opacity: 0.5; font-size: 14px; text-align: center; padding: 20px; }
.case-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(28px, 4vw, 44px); }
.case-gallery img { width: 100%; display: block; border-radius: 20px; border: 1px solid var(--border-soft); }

.case-cross { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: inherit; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.case-cross svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .case-result-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-gallery { grid-template-columns: 1fr; }
}

/* Dienstleistungen: Video-Hover-Reveal (faint 12% → 80%) */
.svc-video { transition: opacity 0.45s ease; }
.svc-card:hover .svc-video,
.svc-card.is-active .svc-video { opacity: 0.8; }
/* Touch-Geräte (kein Hover): faint wie auf Desktop; volle Opacity erst per Tap
   (JS setzt .is-active, siehe main.js). Keine Dauer-Einblendung mehr. */

/* Case-Study: Daten-Chart */
.case-chart { max-width: 1000px; }
.case-chart svg { width: 100%; height: auto; display: block; }

/* Case-Study: Maßnahmen-Kicker (funktioniert auf hell + dunkel) */
.case-kicker { display: block; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; opacity: 0.5; margin-bottom: 18px; }

/* Case-Study: kompaktes Metrik-Grid (z. B. Newsletter-Zahlen) */
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 48px); max-width: 860px; }
.case-metric strong { display: block; font-weight: 700; font-size: clamp(2.1rem, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.case-metric span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.35; opacity: 0.6; }

/* Case-Study: Ergebnis – zwei Headline-Stats nebeneinander */
.case-stat-row { display: flex; flex-wrap: wrap; gap: clamp(36px, 7vw, 96px); margin-bottom: clamp(40px, 5vw, 64px); }
.case-stat--md { font-size: clamp(3rem, 9vw, 112px); }

@media (max-width: 720px) {
  .case-metrics { grid-template-columns: 1fr 1fr; }
}

/* Case-Study: zweispaltiges Sektions-Layout (Text links, Medien rechts) */
.case-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.case-split-text { min-width: 0; }
.case-split-media { min-width: 0; align-self: center; }
.case-split-media > img,
.case-split-media > video { width: 100%; display: block; border-radius: 18px; }
.case-split-media img.is-small { max-width: 300px; }
.case-split-media img.is-mid { max-width: 480px; }
.case-split--result { grid-template-columns: 1.5fr 1fr; align-items: center; }
.case-split--result .case-chart { max-width: none; }

/* Content-Mix: Reel + 3 Foto-Thumbnails als vertikale Leiste */
.cm-media { display: grid; grid-template-columns: 1fr clamp(56px, 7vw, 88px); gap: 14px; align-items: stretch; max-width: 380px; }
.cm-reel video { width: 100%; display: block; border-radius: 16px; }
.cm-photos { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; min-height: 0; }
.cm-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; min-height: 0; }

@media (max-width: 900px) {
  .case-split,
  .case-split--result { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 44px); }
  .case-split-media { align-self: start; }
  .case-split--flip .case-split-media { order: 2; }
  .case-split-media img.is-small,
  .case-split-media img.is-mid { max-width: 360px; }
  .cm-media { grid-template-columns: 1fr; }
  .cm-photos { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
}
