/* =================================================================
   LinkedTree – LinkedIn-natives Design-System
   Einmal definierte Tokens + wiederverwendbare Komponenten ("LI-Kit").
   Kundenwechsel erfolgt über config/client.js, nicht hier.
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Marke / LinkedIn-Designsprache */
  --li-blue: #0a66c2;
  --li-blue-hover: #004182;
  --li-blue-press: #09223b;

  /* Flächen */
  --li-bg: #f4f2ee;
  --li-surface: #ffffff;
  --li-surface-hover: #f3f2ef;

  /* Text */
  --li-text: rgba(0, 0, 0, 0.9);
  --li-text-secondary: rgba(0, 0, 0, 0.6);
  --li-text-tertiary: rgba(0, 0, 0, 0.45);

  /* Linien */
  --li-border: rgba(0, 0, 0, 0.08);
  --li-border-strong: rgba(0, 0, 0, 0.15);

  /* Form */
  --li-radius-card: 8px;
  --li-radius-pill: 999px;
  --li-radius-img: 8px;

  /* Schatten */
  --li-shadow: 0 0 0 1px var(--li-border), 0 2px 4px rgba(0, 0, 0, 0.06);
  --li-shadow-hover: 0 0 0 1px var(--li-border), 0 4px 12px rgba(0, 0, 0, 0.1);

  /* Maße */
  --li-container: 680px;
  --li-gap: 12px;
  --li-pad: 20px;

  /* Type */
  --li-font: "Source Sans 3", -apple-system, system-ui, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--li-bg);
  color: var(--li-text);
  font-family: var(--li-font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--li-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.li-page {
  max-width: var(--li-container);
  margin: 0 auto;
  padding: 16px 16px 96px;
  display: flex;
  flex-direction: column;
  gap: var(--li-gap);
}
@media (min-width: 720px) {
  .li-page {
    padding: 24px 16px 48px;
    gap: 14px;
  }
}

/* ---------- Block-Katalog / Gallery (catalog/, C.galleryMode) ----------
   Nur aktiv, wenn der Renderer .li-page--gallery setzt. Jeder Block sitzt
   in einem .li-gallery-item (Label + Block), die Items bilden ein Grid:
   mobil 1-spaltig, ab 720px 3-spaltig. Produktive Seiten sind nicht betroffen. */
.li-page--gallery {
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.li-gallery-item {
  min-width: 0; /* erlaubt den Blöcken, in schmale Grid-Spalten zu schrumpfen */
  display: flex;
  flex-direction: column;
  gap: var(--li-gap);
}
.li-gallery-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--li-blue);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--li-border-strong);
}
@media (min-width: 720px) {
  .li-page--gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Card (Basis aller Sektionen) ---------- */
.li-card {
  background: var(--li-surface);
  border-radius: var(--li-radius-card);
  box-shadow: var(--li-shadow);
  overflow: hidden;
}
.li-card__body {
  padding: var(--li-pad);
}
.li-card__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.li-card__intro {
  margin: -4px 0 12px;
  font-size: 14.5px;
  color: var(--li-text-secondary);
  line-height: 1.5;
}

/* ---------- Hero (abgeschnittenes Titelbild + weißer CTA-Fuß) ---------- */
.li-hero {
  border-radius: var(--li-radius-card);
  overflow: hidden;
  box-shadow: var(--li-shadow);
  background: var(--li-surface);
}
/* Bild-Band mit Overlay – Person, Headline & Text liegen darauf */
.li-hero__media {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--li-blue) center / cover no-repeat;
  min-height: 300px;
  display: flex;
}
.li-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    165deg,
    rgba(8, 74, 140, 0.72) 0%,
    rgba(2, 22, 40, 0.92) 100%
  );
}
/* Dekorative, weiche Blobs (3D-Optik) – sauber auslaufend, ohne Blur-Clipping */
.li-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      60% 55% at 90% 8%,
      rgba(150, 200, 255, 0.42),
      transparent 72%
    ),
    radial-gradient(55% 50% at 78% 92%, rgba(70, 140, 225, 0.4), transparent 72%),
    radial-gradient(50% 50% at 4% 98%, rgba(160, 205, 255, 0.28), transparent 72%);
  pointer-events: none;
}
.li-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
}
.li-hero__person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.li-hero__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15) center / cover no-repeat;
}
.li-hero__id {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.li-hero__name {
  font-weight: 600;
  font-size: 16px;
}
.li-hero__loc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}
.li-hero__title {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.li-hero__subtitle {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
/* Knappe Wertversprechen-Bullets über dem Hero-Bild (statt Fließtext) */
.li-hero__points {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.li-hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}
.li-hero__points svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  color: #fff;
}
.li-hero__points strong {
  font-weight: 700;
  color: #fff;
}
/* Weißer Fuß mit klassischem blauem CTA + Trust-Punkte */
.li-hero__foot {
  padding: 16px 20px 18px;
  background: var(--li-surface);
}
.li-hero__foot .li-btn {
  --_h: 50px;
  font-size: 16px;
}
.li-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 12px;
}
.li-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--li-text-secondary);
}
.li-hero__trust svg {
  width: 15px;
  height: 15px;
  color: var(--li-blue);
}
@media (min-width: 720px) {
  .li-hero__media {
    min-height: 340px;
  }
  .li-hero__inner {
    padding: 28px 32px 30px;
  }
  .li-hero__title {
    font-size: 40px;
  }
  .li-hero__subtitle {
    font-size: 17px;
  }
}

/* ---------- Buttons ---------- */
.li-btn {
  --_h: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--_h);
  padding: 0 20px;
  border-radius: var(--li-radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, box-shadow 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
  text-align: center;
}
.li-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.li-btn--primary {
  background: var(--li-blue);
  color: #fff;
}
.li-btn--primary:hover {
  background: var(--li-blue-hover);
}
.li-btn--primary:active {
  background: var(--li-blue-press);
}
.li-btn--secondary {
  background: transparent;
  color: var(--li-blue);
  border-color: var(--li-blue);
}
.li-btn--secondary:hover {
  background: rgba(10, 102, 194, 0.08);
  box-shadow: inset 0 0 0 1px var(--li-blue);
}
.li-btn--block {
  width: 100%;
}

/* ---------- About / Highlights ---------- */
.li-about__text {
  font-size: 15px;
  color: var(--li-text);
  white-space: pre-line;
}
.li-highlights {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.li-highlight {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}
.li-highlight__icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--li-blue);
  margin-top: 1px;
}

/* ---------- Empfehlungen (LinkedIn-Recommendations, ausklappbar) ---------- */
.li-recs[data-collapsed="true"] .li-rec--extra {
  display: none;
}
.li-rec {
  padding: 16px var(--li-pad);
  border-top: 1px solid var(--li-border);
}
.li-rec:first-child {
  border-top: 0;
  padding-top: 4px;
}
.li-rec__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.li-rec__avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e9eef3 center / cover no-repeat;
}
.li-rec__avatar--initials {
  display: grid;
  place-items: center;
  background: rgba(10, 102, 194, 0.12);
  color: var(--li-blue);
  font-weight: 700;
  font-size: 17px;
}
.li-rec__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.li-rec__name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.li-rec__role {
  font-size: 14px;
  color: var(--li-text-secondary);
  margin-top: 1px;
}
.li-rec__meta {
  font-size: 12.5px;
  color: var(--li-text-tertiary);
  margin-top: 4px;
}
.li-rec__text {
  font-size: 14px;
  color: var(--li-text);
  margin-top: 12px;
  white-space: pre-line;
}
.li-rec__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  border: 0;
  border-top: 1px solid var(--li-border);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--li-text-secondary);
  cursor: pointer;
}
.li-rec__toggle:hover {
  background: var(--li-surface-hover);
  color: var(--li-text);
}
.li-rec__toggle svg {
  transition: transform 0.15s ease;
}
.li-rec__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ---------- Service-Cards ---------- */
.li-service + .li-service {
  margin-top: 0;
}
.li-service__media {
  aspect-ratio: 16 / 7;
  background: #e9eef3 center / cover no-repeat;
}
.li-service__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.li-service__bullets {
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.li-service__bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--li-text);
}
.li-service__bullet svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--li-blue);
  margin-top: 2px;
}

/* ---------- Lead-Magnet-Stack (Linktree-Optik) ---------- */
.li-links {
  display: flex;
  flex-direction: column;
}
.li-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px var(--li-pad);
  min-height: 64px;
  border-top: 1px solid var(--li-border);
  transition: background-color 0.12s ease;
}
.li-link:first-child {
  border-top: 0;
}
.li-link:hover {
  background: var(--li-surface-hover);
}
.li-link__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(10, 102, 194, 0.1);
  color: var(--li-blue);
  font-size: 22px;
}
.li-link__icon svg {
  width: 22px;
  height: 22px;
}
.li-link__text {
  flex: 1 1 auto;
  min-width: 0;
}
.li-link__title {
  font-size: 15px;
  font-weight: 600;
}
/* Subtitle = die eigentliche Handlungsaufforderung. Rechts ans Pfeil-Ende
   gerückt und vom beschreibenden Titel links klar abgesetzt. */
.li-link__cta {
  flex: 0 1 auto;
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--li-text-secondary);
}
.li-link__arrow {
  flex: none;
  margin-left: -6px;
  color: var(--li-text-tertiary);
  transition: transform 0.12s ease, color 0.12s ease;
}
.li-link:hover .li-link__cta {
  color: var(--li-blue);
}
.li-link:hover .li-link__arrow {
  color: var(--li-blue);
  transform: translateX(2px);
}

/* ---------- Unternehmens-Block ---------- */
.li-company__cover {
  aspect-ratio: 16 / 5;
  /* Fokus nach oben: Bild "nach unten gezogen", damit die Gesichter
     (oberes Bilddrittel) komplett sichtbar sind statt angeschnitten. */
  background: #e9eef3 center 18% / cover no-repeat;
}
.li-company {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.li-company__logo {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  border: 1px solid var(--li-border);
  /* contain + Innenabstand: ganzes Logo sichtbar (auch breite Wortmarken),
     nichts angeschnitten. background-origin: content-box, damit das Logo
     innerhalb des Paddings skaliert. */
  padding: 10px;
  background: var(--li-surface) center / contain no-repeat;
  background-origin: content-box;
}
.li-company__name {
  font-size: 17px;
  font-weight: 600;
}
.li-company__meta {
  font-size: 13px;
  color: var(--li-text-secondary);
  margin-top: 2px;
}
.li-company__desc {
  font-size: 15px;
  color: var(--li-text);
  margin-top: 14px;
}
.li-company__cta {
  margin-top: 16px;
}

/* ---------- Section-Label (kleine Überzeile) ---------- */
.li-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--li-text-tertiary);
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.li-footer {
  text-align: center;
  color: var(--li-text-secondary);
  font-size: 13px;
  padding: 8px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.li-footer__links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.li-footer__links a:hover {
  color: var(--li-blue);
  text-decoration: underline;
}
.li-footer__disclaimer {
  font-size: 12px;
  color: var(--li-text-tertiary);
  max-width: 46ch;
  margin: 0 auto;
}

/* ---------- Sticky Mobil-CTA (Conversion-Booster) ---------- */
.li-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--li-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  /* Standardmäßig versteckt – erscheint erst nach ~1 Screen Scrolltiefe (JS) */
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.li-sticky-cta.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.li-sticky-cta .li-btn {
  width: 100%;
  --_h: 48px;
}
@media (min-width: 720px) {
  .li-sticky-cta {
    display: none;
  }
}

/* ---------- FAQ (Accordion, LinkedIn-Optik) ---------- */
.li-faq__intro {
  font-size: 14px;
  color: var(--li-text-secondary);
  line-height: 1.5;
  margin-top: -4px;
}
.li-faq__item {
  border-top: 1px solid var(--li-border);
}
.li-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--li-pad);
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--li-text);
  text-align: left;
  cursor: pointer;
}
.li-faq__q:hover {
  background: var(--li-surface-hover);
}
.li-faq__q svg {
  flex: none;
  color: var(--li-text-tertiary);
  transition: transform 0.18s ease;
}
.li-faq__item[data-open="true"] .li-faq__q svg {
  transform: rotate(180deg);
}
/* Sanftes Auf-/Zuklappen ohne feste Höhe (grid-rows 0fr -> 1fr) */
.li-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}
.li-faq__item[data-open="true"] .li-faq__panel {
  grid-template-rows: 1fr;
}
.li-faq__panel-inner {
  overflow: hidden;
  min-height: 0;
}
.li-faq__answer {
  font-size: 15px;
  line-height: 1.55;
  color: var(--li-text-secondary);
  padding: 0 var(--li-pad) 4px;
}
/* Sonderfunktion: Frage direkt per LinkedIn stellen (hervorgehoben) */
.li-faq__ask {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 12px var(--li-pad) 18px;
  padding: 14px;
  background: rgba(10, 102, 194, 0.06);
  border: 1px solid rgba(10, 102, 194, 0.18);
  border-radius: var(--li-radius-card);
}
.li-faq__ask-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--li-blue);
  color: #fff;
}
.li-faq__ask-icon svg {
  width: 20px;
  height: 20px;
}
.li-faq__ask-main {
  min-width: 0;
}
.li-faq__ask-label {
  font-size: 13px;
  color: var(--li-text-secondary);
  margin-bottom: 4px;
}
.li-faq__ask-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--li-blue);
}
.li-faq__ask-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.12s ease;
}
.li-faq__ask-link:hover {
  color: var(--li-blue-hover);
  text-decoration: underline;
}
.li-faq__ask-link:hover svg {
  transform: translateX(2px);
}

/* ---------- Toast (Copy-Feedback) ---------- */
.li-toast[hidden] {
  display: none;
}
.li-toast {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  animation: li-toast-in 0.2s ease;
}
.li-toast svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #6fd58f;
}
@media (min-width: 720px) {
  .li-toast {
    bottom: 24px;
  }
}
@keyframes li-toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

/* ---------- Booking-Popup (Modal, LinkedIn-Optik) ---------- */
.li-modal[hidden] {
  display: none;
}
.li-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.li-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  animation: li-fade 0.16s ease;
}
.li-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  background: var(--li-surface);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  animation: li-modal-in 0.18s ease;
}
.li-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--li-text-secondary);
  transition: background-color 0.12s ease, color 0.12s ease;
}
.li-modal__close:hover {
  background: var(--li-surface-hover);
  color: var(--li-text);
}
.li-modal__body {
  padding: 32px 26px 28px;
  text-align: center;
  overflow-y: auto;
}
.li-modal__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 102, 194, 0.1);
  color: var(--li-blue);
  margin-bottom: 14px;
}
.li-modal__icon svg {
  width: 28px;
  height: 28px;
}
.li-modal__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.li-modal__text {
  font-size: 15px;
  color: var(--li-text-secondary);
  margin: 8px 0 20px;
}
.li-modal__cta {
  --_h: 48px;
}
/* Chat-Auswahl: kurze Frage-Optionen als antippbare Zeilen */
.li-chat__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  text-align: left;
}
.li-chat__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--li-border-strong);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--li-text);
  transition: border-color 0.12s ease, background-color 0.12s ease,
    color 0.12s ease;
}
.li-chat__option:hover {
  border-color: var(--li-blue);
  background: rgba(10, 102, 194, 0.06);
  color: var(--li-blue);
}
.li-chat__option-text {
  flex: 1 1 auto;
  min-width: 0;
}
.li-chat__option svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--li-blue);
}

/* ---------- Lead-Formular-Popup (LinkedIn-Lead-Gen-Optik) ---------- */
.li-modal--form .li-modal__dialog {
  max-width: 420px;
}
/* Kopfbild oben (statt blauem LinkedIn-Header) – visuelle Konsistenz zur Seite */
.li-leadform__cover {
  flex: none;
  height: 132px;
  background: var(--li-blue) center / cover no-repeat;
}
.li-leadform__cover[hidden] {
  display: none;
}
/* Schließen-Button muss über dem Bild lesbar bleiben */
.li-leadform__close {
  background: rgba(255, 255, 255, 0.92);
  color: var(--li-text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.li-leadform__close:hover {
  background: #fff;
  color: var(--li-text);
}
/* Formular-Inhalt linksbündig (anders als zentriertes Standard-Modal) */
.li-leadform__body {
  text-align: left;
  padding: 20px 24px 24px;
}
.li-leadform__title {
  font-size: 21px;
}
.li-leadform__text {
  font-size: 14.5px;
  color: var(--li-text-secondary);
  margin: 6px 0 16px;
}
.li-leadform__text[hidden] {
  display: none;
}
/* Mehrwert-Bullets in der Buchungs-Variante (statt Beschreibungstext) */
.li-leadform__bullets {
  margin: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.li-leadform__bullets[hidden] {
  display: none;
}
.li-leadform__bullets li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--li-text);
}
.li-leadform__bullets svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--li-blue);
  margin-top: 2px;
}

/* Felder im LinkedIn-Lead-Gen-Stil */
.li-field {
  display: block;
  margin-bottom: 12px;
}
.li-field__label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--li-text-secondary);
  margin-bottom: 5px;
}
.li-field__input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--li-text);
  background: var(--li-surface);
  border: 1.5px solid var(--li-border-strong);
  border-radius: 6px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.li-field__input:focus {
  outline: none;
  border-color: var(--li-blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}
/* Vorname + Nachname schmal nebeneinander */
.li-field-row {
  display: flex;
  gap: 10px;
}
.li-field-row .li-field {
  flex: 1 1 0;
  min-width: 0;
}
.li-consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 2px 0 6px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--li-text-secondary);
  cursor: pointer;
}
.li-consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--li-blue);
}
.li-leadform__submit {
  --_h: 48px;
  margin-top: 4px;
}

/* Schritt-Indikator direkt über dem Button (2 Knoten + Pfeil) */
.li-steps {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 16px 0 14px;
}
.li-steps--done {
  margin: 0 0 16px;
}
.li-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--li-surface-hover);
}
.li-step__num {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--li-border-strong);
  color: #fff;
}
.li-step__num svg {
  width: 13px;
  height: 13px;
}
.li-step__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--li-text-secondary);
}
.li-step--active {
  background: rgba(10, 102, 194, 0.1);
}
.li-step--active .li-step__num,
.li-step--done .li-step__num {
  background: var(--li-blue);
}
.li-step--active .li-step__label {
  color: var(--li-blue);
}
.li-step--idle {
  opacity: 0.75;
}
.li-step__sep {
  flex: none;
  display: flex;
  align-items: center;
  color: var(--li-text-tertiary);
}
.li-step__sep svg {
  width: 16px;
  height: 16px;
}

/* Schritt 2 – Bestätigung / Kalender */
.li-leadform__done {
  text-align: center;
}
.li-modal__icon--ok {
  background: rgba(45, 164, 78, 0.12);
  color: #2da44e;
}
.li-cal {
  margin-top: 16px;
  padding: 22px;
  border: 1.5px dashed var(--li-border-strong);
  border-radius: 10px;
  background: var(--li-surface-hover);
}
.li-cal__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 102, 194, 0.1);
  color: var(--li-blue);
  margin-bottom: 8px;
}
.li-cal__icon svg {
  width: 24px;
  height: 24px;
}
.li-cal__title {
  font-size: 15px;
  font-weight: 600;
}
.li-cal__note {
  font-size: 13px;
  color: var(--li-text-tertiary);
  margin-top: 2px;
}
@media (min-width: 720px) {
  .li-leadform__cover {
    height: 150px;
  }
}

body.li-modal-open {
  overflow: hidden;
}
@keyframes li-fade {
  from {
    opacity: 0;
  }
}
@keyframes li-modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

/* ---------- Slider (Leistungen & Erfolge, LinkedIn-„Im Fokus"-Optik) ----------
   Horizontaler scroll-snap-Track. Touch + Trackpad bedienen ihn nativ;
   Pfeil-Buttons sind nur auf Hover-fähigen Geräten sichtbar. */
.li-slider {
  position: relative;
  padding: 0 16px 16px;
}
.li-slider__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  /* proximity statt mandatory: mandatory verhakt sich auf iOS/mobil bei
     breiten Slides (kein Weiterscrollen nach Slide 2). proximity snappt
     weich und lässt freies Durchscrollen über alle Slides zu. */
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.li-slider__track::-webkit-scrollbar {
  display: none;
}
.li-slider__slide {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: flex;
}
.li-slider__slide > a,
.li-slider__slide > div {
  /* Die Card im Slide nimmt die volle Slide-Breite ein. */
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--li-surface);
  border: 1px solid var(--li-border);
  border-radius: var(--li-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.li-slider__slide > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.li-slider__nav {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--li-border-strong);
  background: var(--li-surface);
  color: var(--li-text);
  display: none; /* Default unsichtbar – nur hover-fähige Geräte aktivieren */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.li-slider__nav--prev {
  left: 4px;
}
.li-slider__nav--next {
  right: 4px;
}
.li-slider__nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.li-slider__nav:hover:not(:disabled) {
  background: var(--li-surface-hover);
}
@media (hover: hover) and (pointer: fine) {
  .li-slider__nav {
    display: inline-flex;
  }
}
.li-slider__dots {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.li-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--li-border-strong);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.li-slider__dot[aria-current="true"] {
  background: var(--li-blue);
  transform: scale(1.2);
}
@media (min-width: 720px) {
  .li-slider__slide {
    flex: 0 0 calc((100% - 24px) / 3);
  }
}

/* ---------- Karten-Pill (kleiner Top-Tag „Leistung", „Case Study") ---------- */
.li-card-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--li-radius-pill);
  background: var(--li-surface-hover);
  color: var(--li-text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.li-card-pill--ondark {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--li-text);
}

/* ---------- Core Services Card ---------- */
.li-coreservice__media {
  aspect-ratio: 16 / 9;
  background: #e9eef3 center / cover no-repeat;
}
.li-coreservice__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}
.li-coreservice__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.li-coreservice__desc {
  font-size: 13.5px;
  color: var(--li-text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.li-coreservice__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--li-blue);
}
.li-coreservice__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.12s ease;
}
.li-slider__slide > a:hover .li-coreservice__more svg {
  transform: translateX(2px);
}

/* ---------- Case Studies Card ---------- */
.li-case__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e9eef3 center / cover no-repeat;
}
.li-case__body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}
.li-case__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.li-case__desc {
  font-size: 13px;
  color: var(--li-text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.li-case__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--li-blue);
}
.li-case__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.12s ease;
}
.li-slider__slide > a:hover .li-case__more svg {
  transform: translateX(2px);
}

/* ---------- Media-Block (Im Fokus / Podcasts & Videos) ---------- */
.li-media__list {
  display: flex;
  flex-direction: column;
}
.li-media {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--li-pad);
  border-top: 1px solid var(--li-border);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.12s ease;
}
.li-media:first-child {
  border-top: 0;
}
.li-media:hover {
  background: var(--li-surface-hover);
}
.li-media__tile {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(10, 102, 194, 0.1);
  color: var(--li-blue);
}
.li-media__tile svg {
  width: 26px;
  height: 26px;
}
.li-media__tile-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: center / contain no-repeat;
}
.li-media__tile--spotify {
  background: #1db954;
  color: #fff;
}
.li-media__tile--youtube {
  background: #ff0000;
  color: #fff;
}
.li-media__tile--apple,
.li-media__tile--applepodcasts {
  background: #fa243c;
  color: #fff;
}
.li-media__tile--tidal {
  background: #000;
  color: #fff;
}
.li-media__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.li-media__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--li-text);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.li-media__subtitle {
  font-size: 13px;
  color: var(--li-text-secondary);
  line-height: 1.3;
}
.li-media__thumb {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #e9eef3 center / cover no-repeat;
}

/* ---------- Projects (Logo-Header + Titel + Beschreibung) ---------- */
.li-projects {
  display: flex;
  flex-direction: column;
}
.li-project {
  padding: 16px var(--li-pad);
  border-top: 1px solid var(--li-border);
}
.li-project:first-child {
  border-top: 0;
}
.li-project__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.li-project__logo {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  /* contain statt cover: echte Marken-/Wortmarken-Logos werden vollständig
     gezeigt (nicht beschnitten); weißer Grund + feiner Rahmen wie ein
     Firmen-Badge. Greift nur für Items mit item.logo. */
  background: #fff center / contain no-repeat;
  border: 1px solid var(--li-border);
}
.li-project__logo--initials {
  display: grid;
  place-items: center;
  background: rgba(10, 102, 194, 0.12);
  color: var(--li-blue);
  font-weight: 700;
  font-size: 15px;
}
.li-project__brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.li-project__title {
  font-size: 16px;
  font-weight: 600;
}
.li-project__desc {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--li-text-secondary);
  line-height: 1.45;
}

/* Featured-Block: großer Download-/Report-CTA (z. B. White-Paper) */
.li-featured__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.li-featured__cover {
  display: block;
  width: 100%;
  max-width: 232px;
  /* etwas Luft zur oberen Kartenkante (.li-card hat kein eigenes Padding) */
  margin: 16px auto 16px;
  border: 1px solid var(--li-border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
/* Cover bringt eigene Tiefe/Transparenz mit (z. B. aufgefächertes Creative):
   ohne Rahmen, Radius und Schatten rendern und etwas größer zeigen. */
.li-featured__cover--plain {
  max-width: 300px;
  margin-top: 4px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.li-featured__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.li-featured__text {
  margin: 8px 0 18px;
  font-size: 15px;
  color: var(--li-text-secondary);
  line-height: 1.5;
}

/* Kompakte Logo-Leiste (zurückhaltender Kunden-/Referenz-Beleg) */
.li-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
  padding: 0 var(--li-pad) 18px;
}
.li-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  background: #fff;
  border: 1px solid var(--li-border);
  border-radius: 8px;
}
.li-logo__img {
  display: block;
  width: 76%;
  height: 58%;
  background: center / contain no-repeat;
}

/* ---------- Stats (Big-Number-Stack) ---------- */
.li-stats {
  display: flex;
  flex-direction: column;
  gap: var(--li-gap);
  padding: 0 var(--li-pad) var(--li-pad);
}
.li-stat {
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--li-radius-card);
  border: 1px solid var(--li-border);
  background: var(--li-surface);
}
.li-stat__num {
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--li-text);
  line-height: 1.05;
}
.li-stat__affix {
  font-size: 22px;
  font-weight: 700;
  color: var(--li-text-secondary);
  vertical-align: super;
}
.li-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--li-text-secondary);
}
@media (min-width: 540px) {
  .li-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Werdegang (LinkedIn-Experience-Stil) ----------
   Logo links, Text-Spalte rechts. Kein Timeline-Strich – analog zur
   „Berufserfahrung"-Sektion auf LinkedIn. */
.li-resume {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.li-resume__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.li-resume__logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #e9eef3 center / cover no-repeat;
}
.li-resume__logo--initials {
  display: grid;
  place-items: center;
  background: rgba(10, 102, 194, 0.12);
  color: var(--li-blue);
  font-weight: 700;
  font-size: 15px;
}
.li-resume__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.li-resume__role {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.li-resume__org {
  font-size: 14.5px;
  color: var(--li-text-secondary);
}

/* ---------- Pill (wiederverwendbar: Datum, Tag, kleine Labels) ---------- */
.li-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: var(--li-radius-pill);
  background: var(--li-surface-hover);
  color: var(--li-text-secondary);
  font-size: 13px;
  font-weight: 600;
}
.li-pill svg {
  width: 14px;
  height: 14px;
}

/* ---------- Service-Detail-Modal (Leistungen-Popup) ----------
   Cover-Bild oben, dann Titel + 3 Bullets, Testimonial in abgesetzter
   Box, zwei full-width Buttons. Reuse von .li-modal*-Hülle. */
.li-modal--service .li-modal__dialog {
  max-width: 480px;
}
.li-service-detail {
  display: flex;
  flex-direction: column;
}
.li-service-detail__cover {
  aspect-ratio: 16 / 9;
  background: #e9eef3 center / cover no-repeat;
}
.li-service-detail__cover[hidden] {
  display: none;
}
.li-service-detail__close {
  /* Über dem Cover, mit weißem Tile damit das Icon vor Foto lesbar bleibt */
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.li-service-detail__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Leistungs-Popup bewusst linksbündig (überschreibt das zentrierte
     .li-modal__body): Headline, Bullets und Referenz alle links. */
  text-align: left;
}
.li-service-detail__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
.li-service-detail__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.li-service-detail__bullets[hidden] {
  display: none;
}
.li-service-detail__bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--li-text);
  line-height: 1.4;
}
.li-service-detail__bullet svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--li-blue);
  margin-top: 2px;
}
.li-service-detail__testimonial {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--li-surface-hover);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.li-service-detail__testimonial[hidden] {
  display: none;
}
.li-stars {
  color: #f5b400;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}
.li-service-detail__quote {
  margin: 0;
  font-size: 14.5px;
  font-style: italic;
  color: var(--li-text);
  line-height: 1.5;
}
.li-service-detail__attrib {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
/* Optionales Foto der Person, die die Referenz gibt (sonst hidden) */
.li-service-detail__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--li-surface) center / cover no-repeat;
}
.li-service-detail__avatar[hidden] {
  display: none;
}
.li-service-detail__attrib-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.li-service-detail__author {
  font-weight: 600;
  color: var(--li-text);
}
.li-service-detail__role {
  color: var(--li-text-secondary);
}
.li-service-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* Ghost-Button: transparent mit blauem Border/Text (sekundärer CTA) */
.li-btn--ghost {
  background: transparent;
  color: var(--li-blue);
  border-color: var(--li-border-strong);
}
.li-btn--ghost:hover {
  background: rgba(10, 102, 194, 0.06);
  border-color: var(--li-blue);
}

/* ---------- Bianca-Variante: dunklerer Hero-Overlay ----------------
   Setzt nur den ::before-Gradient auf nahe-schwarz und blendet die
   dekorativen blauen Blobs (::after) aus, damit die Black-Label-
   Premium-Optik trägt. Greift NUR, wenn body.bianca-page gesetzt ist –
   showcase.html und index.html bleiben unverändert. */
body.bianca-page .li-hero__media::before {
  background: linear-gradient(
    165deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
}
body.bianca-page .li-hero__media::after {
  background:
    radial-gradient(60% 55% at 90% 8%, rgba(255, 255, 255, 0.06), transparent 72%),
    radial-gradient(55% 50% at 78% 92%, rgba(255, 255, 255, 0.04), transparent 72%);
}

/* ---------- Case-Study Tile: Play-Badge auf dem Bild --------------- */
.li-case__media {
  position: relative;
}
.li-case__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.li-case__play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px; /* optisches Re-Zentrieren des Play-Dreiecks */
}
.li-card-pill--accent {
  background: var(--li-blue);
  color: #fff;
}

/* ---------- Case-Study-Video-Modal -------------------------------
   Reuse von .li-modal*-Hülle, eigene Body-Komposition: Wistia-Iframe
   im 16:9-Container oben, darunter Pill + Headline + Beschreibung +
   zwei full-width Buttons. */
.li-modal--case .li-modal__dialog {
  max-width: 720px;
}
.li-case-detail {
  display: flex;
  flex-direction: column;
}
.li-case-detail__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  width: 100%;
}
.li-case-detail__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.li-case-detail__close {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.li-case-detail__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.li-case-detail__body .li-card-pill[hidden] {
  display: none;
}
.li-case-detail__body .li-card-pill {
  /* Standard-Popup: Tag mittig über der Headline (Body erbt
     text-align:center aus .li-modal__body). */
  align-self: center;
}
.li-case-detail__headline {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.li-case-detail__desc {
  margin: 0;
  font-size: 15px;
  color: var(--li-text);
  line-height: 1.55;
}
.li-case-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* ---------- Video-Feature (großes YouTube-Thumbnail im Hero-Stil) -
   Card mit 16:9-Cover unter dem Heading-Block. Klick swap't das
   Thumbnail gegen einen autoplay-iframe (.li-video-feature__player). */
.li-video-feature {
  overflow: hidden;
}
.li-video-feature__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
}
.li-video-feature__kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--li-blue);
}
.li-video-feature__title {
  margin: 0;
}
.li-video-feature__teaser {
  margin: 0;
  color: var(--li-text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}
.li-video-feature__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0d10 center / cover no-repeat;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
  color: #fff;
  transition: filter 0.18s ease;
}
.li-video-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.li-video-feature__media:hover {
  filter: brightness(1.05);
}
.li-video-feature__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}
.li-video-feature__media:hover .li-video-feature__play {
  background: var(--li-blue);
  transform: translate(-50%, -50%) scale(1.05);
}
.li-video-feature__play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.li-video-feature__duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  border-radius: 4px;
  z-index: 1;
}
.li-video-feature__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.li-video-feature__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Calendly-Modus: Lead-Modal etwas breiter ziehen, damit der Inline-
   Widget nicht zu eng wird (Wochenkalender braucht Platz) */
.li-modal--calendly.li-modal--form .li-modal__dialog {
  max-width: 560px;
}

/* ---------- Calendly-Embed im Lead-Popup -------------------------
   Volle Modal-Breite, sauberer Rahmen, Höhe folgt dem iframe-Inhalt
   (Calendly bringt scroll-bare Höhe selbst mit). */
.li-leadform__calendly {
  margin-top: 4px;
  border-radius: var(--li-radius-card);
  overflow: hidden;
  border: 1px solid var(--li-border);
  background: var(--li-surface);
  min-height: 680px;
}
.li-leadform__calendly[hidden] {
  display: none;
}
.li-leadform__calendly .calendly-inline-widget {
  width: 100%;
  min-height: 680px;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
