/* cpm eigene Layout-Schicht — ersetzt Webflows brüchiges Absolut-Layout
   der Projekte-Seite durch ein sauberes, scrollbares Flex-Layout.
   Wird NACH dem Webflow-CSS geladen und überschreibt gezielt. */

html, body {
  width: auto !important;
  height: auto !important;
  position: static !important;
  overflow: visible !important;
}

/* 3-Spalten: Filter | Liste | Detail */
.cpm-projekte {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  padding: 84px 4% 0;       /* oben frei für de/en */
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;          /* kein Seiten-Scroll ins Schwarze */
}

.cpm-projekte .filter-wrapper {
  position: static;
  inset: auto;
  flex: 0 0 220px;
  width: auto;
  min-width: 0;
  align-self: flex-start;
  max-height: 100%;
  overflow-y: auto;
  padding: 24px 20px;
  border-radius: 18px;
}

.cpm-projekte .projects-list {
  flex: 0 0 28%;
  width: auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 4px 16px 130px 0;  /* unten Platz, damit Liste über der fixen Navi endet */
  overflow-y: auto;
  background: transparent;
}

.cpm-projekte .project-details-wrapper {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  padding: 48px 0 130px;    /* Inhalt startet unter dem fixen Top-Verlauf (.logo-inline, 124px) */
  overflow-y: auto;
  display: block;
}

/* Video im Detail: 16:9-Rahmen, iframe füllt ihn */
.cpm-projekte .w-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
}
.cpm-projekte .w-video iframe,
.cpm-projekte .w-video object,
.cpm-projekte .w-video embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Liste: Einträge als Blöcke, aktiver hervorgehoben */
.cpm-projekte .collection-list-2 { display: block; }
.cpm-projekte .project-tab {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff14;
}
.cpm-projekte .project-tab.w--current { opacity: .55; }
.cpm-projekte .project-tab:hover { opacity: .8; }

/* Listen-Eintrag: Thumbnail links, Text rechts */
.cpm-projekte .project-list-item-details {
  margin-left: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 0;
  border-bottom: 0;
}
.cpm-projekte .link-projectimage {
  width: 120px;
  flex: 0 0 120px;
  margin: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

/* Detail-Grid darf normal fließen */
.cpm-projekte .project-details-grid { position: static; }

/* „Zum Erstgespräch"-Tab am rechten Rand (global) */
.cpm-erstgespraech-tab {
  position: fixed; right: 0; top: 50%; z-index: 25;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  border: 1px solid #ff7a18; border-right: 0;
  border-radius: 14px 0 0 14px;
  padding: 1.3rem .55rem; color: #fff; text-decoration: none;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cpm-erstgespraech-tab:hover { background: #ff7a18; }
/* "Zum Erstgespräch"-Tab bleibt auch mobil sichtbar (fix rechts mittig), Größe wie Live */

/* Onepager-Detailseiten (/ausstellung, /web, /app, /marken-erlebniswelt) nutzen
   eine eigene Webflow-Lasche (.side-contact-tap). Webflow positioniert sie rotiert
   (transform: rotate(90deg)) und vom Rand abstehend (right: -52/-63px) -> sie
   "schwebt" und sitzt anders als überall sonst. Hier exakt wie die globale Lasche
   (.cpm-erstgespraech-tab) ausrichten: bündig rechts, mittig, links abgerundet. */
.side-contact-tap {
  position: fixed !important;
  inset: auto 0 auto auto !important;   /* top/right/bottom/left = auto 0 auto auto */
  top: 50% !important;
  transform: translateY(-50%) !important;  /* statt rotate(90deg) */
  writing-mode: vertical-rl;
  display: block !important;
  min-width: 0 !important; width: auto !important; height: auto !important;
  padding: 1.3rem .55rem !important;
  border: 1px solid #ff7a18 !important; border-right: 0 !important;
  border-radius: 14px 0 0 14px !important;
  background: rgba(0,0,0,.35) !important;
  -webkit-backdrop-filter: blur(6px) !important; backdrop-filter: blur(6px) !important;
  color: #fff !important;
  font-size: .72rem; letter-spacing: .12em; line-height: normal !important;
  z-index: 25 !important;
}
.side-contact-tap div { font-size: inherit; letter-spacing: inherit; color: #fff; transform: none; }
.side-contact-tap:hover { background: #ff7a18 !important; }

/* Schrift-Logo oben rechts (Webflow .logo-inline) — Leiste selbst blockiert keine Klicks */
.logo-inline { pointer-events: none; }
.logo-inline a { pointer-events: auto; }
/* Sprachumschalter immer über der Logo-Leiste und klickbar */
.locales-wrapper-2 { z-index: 12; }

/* Rechtstext-Seiten (AGB, Impressum, Datenschutz, Cookie-Richtlinie) */
.cpm-rechtstext { max-width: 820px; }
.cpm-rechtstext .page-heading { font-size: clamp(2rem, 6vw, 3.5rem); text-transform: uppercase; margin-bottom: 2rem; }
.cpm-rechtstext-body { color: #ffffffcc; line-height: 1.65; font-size: 1rem; padding-bottom: 130px; }
.cpm-rechtstext-body h1 { color: #fff; font-size: 1.6rem; margin: 0 0 1rem; }
.cpm-rechtstext-body h2 { color: #fff; font-size: 1.3rem; text-transform: none; margin: 2.2rem 0 .7rem; line-height: 1.3; }
.cpm-rechtstext-body h3 { color: #fff; font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.cpm-rechtstext-body p { margin: 0 0 1rem; }
.cpm-rechtstext-body a { color: #ff7a18; text-decoration: underline; }
.cpm-rechtstext-body ul, .cpm-rechtstext-body ol { margin: 0 0 1.2rem 1.3rem; }
.cpm-rechtstext-body li { margin: .35rem 0; }
.cpm-rechtstext-body strong { color: #fff; }
/* Impressum: zweispaltige Ausrichtung (Label | Wert) */
.cpm-impressum-table { border-collapse: collapse; margin: 1.4rem 0 1.8rem; width: 100%; max-width: 620px; }
.cpm-impressum-table th { text-align: left; vertical-align: top; font-weight: 400; color: #ffffff80; padding: .4rem 1.6rem .4rem 0; white-space: nowrap; width: 1%; }
.cpm-impressum-table td { vertical-align: top; padding: .4rem 0; color: #fff; }
.cpm-impressum-table a { color: #ff7a18; text-decoration: none; }
.cpm-impressum-table a:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .cpm-impressum-table, .cpm-impressum-table tbody, .cpm-impressum-table tr, .cpm-impressum-table th, .cpm-impressum-table td { display: block; width: auto; }
  .cpm-impressum-table th { padding: .5rem 0 0; }
  .cpm-impressum-table td { padding: 0 0 .3rem; }
}

/* Cookie-Tabellen (wie CookieYes-Screenshots im Original) */
.cpm-cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.8rem; font-size: .9rem; }
.cpm-cookie-table th, .cpm-cookie-table td { border: 1px solid #ffffff26; padding: .55rem .7rem; text-align: left; vertical-align: top; }
.cpm-cookie-table th { color: #fff; font-weight: 700; background: #ffffff14; white-space: nowrap; }
.cpm-cookie-table td:first-child { color: #fff; font-family: monospace; white-space: nowrap; }
.cpm-cookie-table td:nth-child(2) { white-space: nowrap; }
@media (max-width: 640px) {
  .cpm-cookie-table, .cpm-cookie-table tbody, .cpm-cookie-table tr, .cpm-cookie-table td { display: block; width: 100%; }
  .cpm-cookie-table thead { display: none; }
  .cpm-cookie-table tr { border: 1px solid #ffffff26; margin-bottom: .8rem; }
  .cpm-cookie-table td { border: none; border-bottom: 1px solid #ffffff14; }
  .cpm-cookie-table td:first-child { font-weight: 700; }
  .cpm-cookie-table td:last-child { border-bottom: none; }
}

/* Aktiver Navi-Punkt: oranger Unterstrich */
.menu_link.is-current .menu_link-text {
  color: #fff;
  text-decoration: underline; text-decoration-color: #ff7a18;
  text-underline-offset: 6px; text-decoration-thickness: 2px;
}

/* Sprachumschalter: aktive Sprache hervorheben */
.link-language.is-current-lang { color: #fff; opacity: 1; font-weight: 500; }
.link-language { text-transform: lowercase; }

/* ---- Inhaltsseiten (Leistungen / Unternehmen / Kontakt) ---- */
.cpm-page {
  max-width: 1472px;
  margin: 0 auto;
  padding: 90px 5% 160px;
}
.cpm-page .page-heading,
.cpm-page .page-heading-wrapper {
  position: static;
  inset: auto;
  transform: none;
}
.cpm-page .page-heading {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin: 0 0 2.5rem;
  color: #fff;
  line-height: 1;
}

/* Accordion */
.cpm-leistungen { border-top: 1px solid #ffffff1f; }
.cpm-acc-item { border-bottom: 1px solid #ffffff1f; }
.cpm-acc-q {
  width: 100%;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
}
.cpm-acc-title h3 { font-size: 1.7rem; font-weight: 500; margin: 0; color: #fff; }
.cpm-acc-title h6 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #ffffff80; margin: .4rem 0 0; font-weight: 400; }
.cpm-acc-icon { position: relative; flex: 0 0 22px; height: 22px; margin-top: .4rem; }
.cpm-acc-icon::before, .cpm-acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #ff7a18;
}
.cpm-acc-icon::before { width: 18px; height: 2px; }
.cpm-acc-icon::after { width: 2px; height: 18px; transition: transform .25s ease; }
.cpm-acc-item.is-open .cpm-acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.cpm-acc-a { display: none; }
.cpm-acc-item.is-open .cpm-acc-a { display: block; }
.cpm-acc-a .service-details { padding: .2rem 0 1.8rem; max-width: 760px; }
.cpm-acc-a .circle_p { color: #ffffffcc; line-height: 1.5; margin: 0 0 1.5rem; }
.cpm-acc-a .divider-line { height: 1px; background: #ffffff1f; margin: 1.2rem 0; }
.cpm-acc-a .service-bullet-points h6,
.cpm-acc-a .cpm-bsp-heading { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #ffffff80; margin: 1.4rem 0 .6rem; font-weight: 400; }
.cpm-acc-a .w-richtext ul { margin: 0; padding-left: 1.1rem; color: #ffffffcc; }
.cpm-acc-a .w-richtext li { margin: .35rem 0; }
.cpm-acc-a .buttons-wrapper { display: flex; flex-wrap: wrap; gap: .8rem; margin: .6rem 0 0; }
.cpm-acc-a .cta-button {
  border: 1px solid #ff7a18; color: #fff; border-radius: 100px;
  padding: .55rem 1.2rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.cpm-acc-a .cta-button:hover { background: #ff7a18; }
.example-projects-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: .8rem;
}
.example-projects-grid a { text-decoration: none; color: #ffffffcc; }
.example-project-thumbnail { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 10px; display: block; }
.example-projects-grid .paragraph-5 { font-size: .85rem; margin: .5rem 0 0; }
@media (max-width: 700px) { .example-projects-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Leistungen mit Rad ---- */
.cpm-leistungen-page { position: relative; min-height: 100vh; padding: 90px 5% 150px 9%; overflow: hidden; }
.cpm-leistungen-page .page-heading { margin: 0 0 2rem; line-height: 1; }
.cpm-svc-stage { max-width: 62%; position: relative; z-index: 2; transition: opacity .22s ease; }
.cpm-svc-stage.is-fading { opacity: 0; }
.cpm-svc { display: none; }
.cpm-svc.is-active { display: block; }
.cpm-svc-head { display: block; width: 100%; text-align: left; background: none; border: 0; color: inherit; padding: 0; cursor: default; }
.cpm-svc-chevron { display: none; }
.cpm-svc-name { font-size: 2rem; font-weight: 400; color: #fff; margin: 0 0 .3rem; text-transform: none; }
.cpm-svc-sub { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #ffffff80; margin: 0 0 1.8rem; }
.cpm-svc-cols { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-areas: "desc komp" "mehr komp"; gap: 0 2.5rem; align-items: start; }
.cpm-svc-desc { grid-area: desc; }
.cpm-svc-komp { grid-area: komp; }
.cpm-svc-mehr { grid-area: mehr; }
.cpm-svc-desc .circle_p { color: #ffffffcc; line-height: 1.55; margin: 0 0 1.6rem; }
.cpm-eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #ffffff80; font-weight: 400; margin: 0 0 .9rem; }
.cpm-svc-mehr .buttons-wrapper { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-bottom: 1rem; }
.cpm-svc .cta-button { border: 1px solid #ff7a18; color: #fff; border-radius: 100px; padding: .5rem .95rem; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.cpm-svc .cta-button:hover { background: #ff7a18; }
.cpm-erstgespraech { display: inline-flex; align-items: center; gap: .5rem; background: #ff7a18; color: #fff; border-radius: 100px; padding: .5rem 1.1rem; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.cpm-erstgespraech .icon-wrapper img { width: 14px; height: 14px; display: block; }
.cpm-svc-komp .w-richtext ul { margin: 0; padding-left: 1.1rem; color: #ffffffcc; }
.cpm-svc-komp .w-richtext li { margin: .4rem 0; }
.cpm-svc-komp { margin-bottom: 1.6rem; }
.cpm-bsp-heading { margin-top: 2.6rem; }

.cpm-wheel { position: fixed; top: 0; right: 40px; height: 100vh; width: 48%; overflow: hidden; pointer-events: none; z-index: 1; }
.cpm-wheel-circle { position: absolute; inset: 0; }
.cpm-wheel-ring { position: absolute; border: 1px solid #ffffff33; border-radius: 50%; pointer-events: none; }
.cpm-wheel-item {
  position: absolute; left: 0; top: 0;
  transform-origin: 0 0;
  transition: transform .6s cubic-bezier(.45,.05,.55,.95), opacity .3s;
  display: flex; align-items: center; justify-content: flex-start; gap: 12px;
  white-space: nowrap; background: none; border: 0; color: #fff; cursor: pointer;
  pointer-events: auto; opacity: .5; font-size: 1.35rem; padding: 0;
}
.cpm-wheel-item:hover { opacity: .85; }
.cpm-wheel-item.is-current { opacity: 1; }
.cpm-wheel-name { text-align: right; }
.cpm-wheel-line { width: 34px; height: 1px; background: #ffffff88; flex: 0 0 34px; }
.cpm-wheel-num { color: #ffffffaa; font-size: 1rem; }
.cpm-wheel-dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; flex: 0 0 20px; }
.cpm-wheel-item.is-current .cpm-wheel-name { color: #ff7a18; }
.cpm-wheel-item.is-current .cpm-wheel-dot { background: #ff7a18; }

@media (max-width: 1100px) {
  .cpm-svc-stage { max-width: 100%; }
  .cpm-wheel { display: none; }
  .cpm-svc-cols { grid-template-columns: 1fr; grid-template-areas: "desc" "komp" "mehr"; }

  /* Mobil: Menü linksbündig (das 9%-Links-Padding zieht sonst alles nach rechts,
     wirkt wie zentriert). Überschrift und Akkordeon-Texte klar links ausrichten. */
  .cpm-leistungen-page { padding: 72px 5% 120px; }
  .cpm-leistungen-page .page-heading,
  .cpm-svc-stage, .cpm-svc-head, .cpm-svc-head-text,
  .cpm-svc-name, .cpm-svc-sub { text-align: left; }

  /* Mobil: Rad ausgeblendet -> alle Leistungen als Akkordeon */
  .cpm-svc { display: block; border-top: 1px solid #ffffff1f; padding: 1.3rem 0; }
  .cpm-svc:last-child { border-bottom: 1px solid #ffffff1f; }
  .cpm-svc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; cursor: pointer; }
  .cpm-svc-head .cpm-svc-sub { margin-bottom: 0; }
  .cpm-svc-chevron { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; margin-top: .5rem; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); transition: transform .2s; }
  .cpm-svc.is-open .cpm-svc-chevron { transform: rotate(-135deg); }
  .cpm-svc-body { display: none; padding-top: 1.4rem; }
  .cpm-svc.is-open .cpm-svc-body { display: block; }
}

/* ---- Unternehmen ---- */
.cpm-unternehmen .page-heading { text-transform: uppercase; font-size: clamp(2rem, 6.5vw, 6rem); white-space: nowrap; }
.cpm-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin: 0 0 4.5rem; }
.cpm-intro-cols p { color: #ffffffcc; line-height: 1.6; margin: 0 0 1.1rem; }
.cpm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 0 0 5rem; }
.cpm-stat-num { display: block; font-size: clamp(5rem, 13vw, 12rem); font-weight: 700; color: #ff7a18; line-height: .85; letter-spacing: -.02em; }
.cpm-stat-label { display: block; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: #fff; margin-top: .3rem; }
.cpm-section-heading { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; text-transform: uppercase; color: #ffffff33; margin: 3.5rem 0 1.8rem; }
.cpm-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; max-width: 1000px; margin-bottom: 2rem; }
.cpm-team-card { display: flex; gap: 1.1rem; align-items: flex-start; }
.cpm-team-body { flex: 1; min-width: 0; padding-top: .2rem; }
.cpm-team-portrait { flex: 0 0 130px; width: 130px; height: 130px; border-radius: 16px; overflow: hidden; background: #ffffff14; }
.cpm-team-portrait img { width: 100%; height: 100%; object-fit: cover; }
.cpm-team-name { color: #fff; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; font-weight: 500; }
.cpm-team-role { color: #ffffff80; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-top: .2rem; }
.cpm-partner-intro { color: #ffffffcc; max-width: 640px; line-height: 1.6; margin: 0 0 2.5rem; }
.cpm-partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 2rem; margin-bottom: 4rem; }
.cpm-partner { display: flex; gap: .9rem; align-items: flex-start; }
.cpm-partner-body { flex: 1; min-width: 0; padding-top: .15rem; }
.cpm-partner-photo { flex: 0 0 92px; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: #ffffff14; }
.cpm-partner-photo img { width: 100%; height: 100%; object-fit: cover; }
.cpm-partner-photo.is-logo { background: #ffffff0a; display: flex; align-items: center; justify-content: center; }
.cpm-partner-photo.is-logo img { width: 80%; height: 80%; object-fit: contain; filter: grayscale(1) brightness(1.6); }

/* Portraits: Einblend-Animation (fade + leicht größer werden) beim Erscheinen */
.cpm-reveal { opacity: 0; transform: scale(.9); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.cpm-reveal.is-inview { opacity: 1; transform: scale(1); }

/* Management Social-Icons */
.cpm-team-social { display: flex; gap: .55rem; margin-top: .8rem; }
.cpm-team-social a { display: inline-flex; }
/* Original-SVGs = weißer Kreis + schwarzes Glyph; Filter dimmt den Kreis auf Mittelgrau */
.cpm-team-social img { width: 34px; height: 34px; filter: brightness(.58); transition: filter .2s; }
.cpm-team-social a:hover img { filter: brightness(.82); }

.cpm-tabs { margin-top: 2rem; }
.cpm-tab-nav { display: flex; gap: 2rem; border-bottom: 1px solid #ffffff1f; margin-bottom: 2rem; }
.cpm-tab-btn { background: none; border: 0; color: #ffffff66; cursor: pointer; padding: 0 0 1rem; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
@media (max-width: 700px) {
  /* Alle Reiter sichtbar: umbrechen statt horizontal scrollen (sonst sieht
     man „Kunden" nicht). Ergibt bei 4 Reitern zwei Zeilen. */
  .cpm-tab-nav { flex-wrap: wrap; gap: .5rem 1.4rem; }
  .cpm-tab-btn { font-size: 1rem; white-space: nowrap; padding-bottom: .6rem; }
}
.cpm-tab-btn.is-active { color: #fff; box-shadow: inset 0 -2px 0 #ff7a18; }
.cpm-tab-panel { display: none; }
.cpm-tab-panel.is-active { display: block; }
.cpm-meilenstein { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid #ffffff14; }
.cpm-meilenstein-jahr { color: #ff7a18; font-weight: 500; }
.cpm-meilenstein-body h4 { margin: 0 0 .4rem; color: #fff; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.cpm-meilenstein-body p { margin: 0; color: #ffffff99; line-height: 1.5; font-size: .9rem; }
.cpm-kunden-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .2rem 2.5rem; }
.cpm-kunde { display: block; text-decoration: none; color: #ffffff; font-size: .9rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; padding: .55rem 0; border-bottom: 1px solid #ffffff0d; transition: color .15s ease; }
.cpm-kunde:hover, .cpm-kunde:focus-visible { color: #ff7a18; }
.cpm-kunden-heading { text-align: center; text-transform: uppercase; letter-spacing: .05em; color: #ffffff99; font-size: 1rem; font-weight: 400; margin: 1rem 0 2.5rem; }
.cpm-kunden-heading-all { margin-top: 4.5rem; }
.cpm-kunden-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2rem; align-items: center; justify-items: center; max-width: 760px; margin: 0 auto; }
.cpm-kunde-logo { display: flex; align-items: center; justify-content: center; height: 90px; }
.cpm-kunde-logo img { max-width: 180px; max-height: 84px; object-fit: contain; filter: grayscale(1) brightness(2); opacity: .8; transition: opacity .15s ease; }
.cpm-kunde-logo:hover img { opacity: 1; }
@media (max-width: 700px) { .cpm-kunden-logos { grid-template-columns: repeat(2, 1fr); } }

/* Meilenstein-Rad: großer Kreis, nur oberer Bogen sichtbar */
.cpm-mwheel-wrap { position: relative; width: 100%; height: 620px; margin: 1.5rem auto 0; overflow: hidden; }
.cpm-mwheel { position: absolute; inset: 0; }
.cpm-mwheel-ring { position: absolute; border: 2px solid #ffffff4d; border-radius: 50%; }
.cpm-mwheel-rotor { position: absolute; inset: 0; }
.cpm-mwheel-item { position: absolute; left: 0; top: 0; background: none; border: 0; cursor: pointer; pointer-events: auto; padding: 0; }
.cpm-mwheel-item span { display: inline-block; color: #ffffff66; font-size: 1.4rem; padding-bottom: 5px; border-bottom: 1px solid #ffffff40; transition: color .3s, border-color .3s; white-space: nowrap; }
.cpm-mwheel-item:hover span { color: #fff; }
.cpm-mwheel-item.is-current span { color: #ff7a18; border-bottom-color: #ff7a18; }

/* Marker: oranger Punkt + Linie zum Text */
.cpm-mwheel-marker { position: absolute; top: 88px; left: 50%; transform: translateX(-50%); width: 1px; height: 78px; background: #ffffff40; }
.cpm-mwheel-marker::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 11px; height: 11px; border-radius: 50%; background: #ff7a18; }

.cpm-mwheel-detail { position: absolute; top: 190px; left: 50%; transform: translateX(-50%); width: 46%; max-width: 560px; text-align: center; transition: opacity .2s ease; }
.cpm-mwheel-detail.is-fading { opacity: 0; }
.cpm-mstone { display: none; }
.cpm-mstone.is-active { display: block; }
.cpm-mstone h4 { color: #ffffff80; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; margin: 0 0 1rem; line-height: 1.4; }
.cpm-mstone p { color: #ffffffb0; line-height: 1.55; font-size: .9rem; margin: 0; }
@media (max-width: 700px) { .cpm-mwheel-wrap { height: 440px; } .cpm-mwheel-item span { font-size: 1.1rem; } .cpm-mwheel-detail { width: 80%; } }

/* ---- Kontakt ---- */
.cpm-kontakt-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; margin: 1rem 0 4rem; }
.cpm-kontakt-info { display: flex; flex-direction: column; }
.cpm-map-link { display: block; margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }
.cpm-map-img { width: 100%; height: auto; display: block; }
.cpm-kontakt-info p { color: #ffffffcc; line-height: 1.6; margin: 0 0 .6rem; }
.cpm-kontakt-info a { color: #fff; }
.cpm-adresse { font-size: 1.05rem; margin-bottom: 2rem !important; }
.cpm-kontakt-form .form-field-label { display: block; color: #ffffff80; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; margin: 1.1rem 0 .4rem; }
.cpm-kontakt-form .form-text-field { width: 100%; background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 8px; color: #fff; padding: .7rem .9rem; font: inherit; box-sizing: border-box; }
.cpm-interesse { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .4rem; }
.cpm-check { display: inline-flex; align-items: center; gap: .4rem; color: #ffffffcc; font-size: .9rem; }
.cpm-submit { margin-top: 1.6rem; cursor: pointer; background: #ff7a18; border: 1px solid #ff7a18; color: #fff; }
.cpm-submit:hover { filter: brightness(1.1); }
.cpm-bank { border-top: 1px solid #ffffff1f; padding-top: 2rem; max-width: 640px; }
.cpm-bank p { color: #ffffffcc; line-height: 1.6; }
.cpm-legal { color: #ffffff66; font-size: .85rem; margin-top: 1.5rem; }

@media (max-width: 1100px) { .cpm-partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .cpm-partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .cpm-intro-cols, .cpm-kontakt-cols { grid-template-columns: 1fr; }
  /* Kontakt mobil: erst Adresse/Email/Tel, dann Karte (wie Live) */
  .cpm-kontakt-info .cpm-map-link { order: 5; margin: 1.6rem 0 0; }
  .cpm-team { grid-template-columns: repeat(2, 1fr); }
  .cpm-partner-grid { grid-template-columns: repeat(2, 1fr); }
  /* Stats: 2+1 linksbündig wie Live (Home + Unternehmen) — große Zahl,
     Label eng darunter (Live: Zahl 17vw, negativer margin zieht Label hoch) */
  .cpm-stats { grid-template-columns: 1fr 1fr; text-align: center; gap: 1rem 1.2rem; }
  .cpm-stats .cpm-stat:last-child { grid-column: 1 / -1; }
  .cpm-stat-num { font-size: clamp(3.6rem, 17vw, 6.5rem); line-height: 1.15; margin-bottom: -0.3em; }
  .cpm-stat-label { font-size: 1.1rem; margin-top: 0; }
  /* Highlights mobil in dunkler Box, EINE Karte bildschirmbreit wie Live */
  .cpm-home .cpm-highlights { background: rgba(25,69,88,0.2); border-radius: 20px; padding: 1rem; margin: 0 3% 1.5rem; }
  .cpm-highlights-track .cpm-hcard { flex: 0 0 100%; }
  /* Section-Überschriften mobil so groß wie Live (Titel ~45px, Subtitle ~34px) */
  .cpm-home-block-title { font-size: clamp(2rem, 8.3vw, 3rem); line-height: 1.03; }
  .cpm-home-block-subtitle { font-size: clamp(1.6rem, 6.2vw, 2.2rem); line-height: 1.05; }
  .cpm-home-block-text { font-size: .95rem; line-height: 1.5; }
}
@media (max-width: 600px) {
  .cpm-team, .cpm-partner-grid { grid-template-columns: 1fr; }
}

/* ---- Startseite ---- */
.cpm-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 5% 40px; box-sizing: border-box; overflow: hidden; }
.cpm-hero-bg { position: absolute; inset: 0; z-index: 0; }
.cpm-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.1s ease; }
.cpm-hero-slide.is-active { opacity: 1; }
.cpm-hero-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cpm-hero-content { position: relative; z-index: 2; text-align: center; }
.h1-home { font-size: clamp(2.4rem, 6.5vw, 5.6rem); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.02; letter-spacing: -.01em; max-width: 15ch; margin: 0 auto 2rem; }
.cpm-hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cpm-home-cta { display: inline-flex; align-items: center; border: 1px solid #ff7a18; color: #ff7a18; border-radius: 100px; padding: .7rem 1.4rem; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.cpm-home-cta:hover { background: #ff7a18; color: #fff; }
.cpm-hero .cpm-erstgespraech { padding: .7rem 1.4rem; font-size: .78rem; }
.cpm-hero-title { position: relative; z-index: 2; margin-top: 2.5rem; min-height: 1.6em; text-align: center; }
.cpm-hero-titleitem { display: none; color: #fff; text-decoration: none; font-size: 1.05rem; opacity: .85; }
.cpm-hero-titleitem:hover { opacity: 1; text-decoration: underline; }
.cpm-hero-titleitem.is-active { display: inline-block; }
.cpm-highlights { padding: 3rem 5% 1rem; }
.cpm-highlights-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.3rem; }
.cpm-highlights-all { color: #ffffff99; text-decoration: underline; font-size: .85rem; display: inline-block; margin-top: .4rem; }
.cpm-highlights-nav { display: flex; gap: .6rem; }
.cpm-highlights-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #ffffff33; background: none; color: #fff; cursor: pointer; font-size: 1rem; }
.cpm-highlights-nav button:hover { background: #ffffff14; }
.cpm-highlights-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: none; }
.cpm-highlights-track::-webkit-scrollbar { display: none; }
.cpm-hcard { position: relative; flex: 0 0 270px; scroll-snap-align: start; text-decoration: none; color: #fff; border-radius: 12px; overflow: hidden; }
.cpm-hcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cpm-hcard-title { position: absolute; left: 14px; right: 14px; top: 12px; font-size: .85rem; line-height: 1.25; text-shadow: 0 1px 5px #000; }
.cpm-hcard-arrow { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; background: #0006; display: flex; align-items: center; justify-content: center; }
.cpm-home-stats { padding: 3rem 5% 2rem; }

/* Home: Content-Sektionen unter den Stats */
.cpm-home-sections { padding: 1rem 5% 8rem; }
.cpm-home-block { max-width: 760px; margin: 0 auto; text-align: center; padding: 2.6rem 0; }
.cpm-home-block + .cpm-home-block { border-top: 1px solid #ffffff12; }
.cpm-home-block-title { font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 1.4rem; }
.cpm-home-block-subtitle { font-size: clamp(1.4rem, 3.4vw, 2.2rem); font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.1; margin: 0 0 1.1rem; }
.cpm-home-block-text { color: #ffffffcc; line-height: 1.65; font-size: 1.05rem; margin: 0 auto 1.8rem; max-width: 620px; }
.cpm-home-block-text:last-child { margin-bottom: 0; }
.cpm-home-clients-text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cpm-home-clients-text a:hover { color: #ff7a18; }
.cpm-home-block-btns { display: flex; gap: 1.2rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.cpm-cta-arrow { margin-left: .15rem; }
.cpm-home-textlink { color: #ffffffcc; text-decoration: underline; text-underline-offset: 3px; font-size: .95rem; }
.cpm-home-textlink:hover { color: #fff; }
/* Dunkle Karten (glass-blue) wie Live */
.cpm-home-card { background: #19455833; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 20px; padding: 2.6rem 2.2rem; }
.cpm-home-clients .cpm-home-card { margin-top: 1.6rem; }
.cpm-home-video { max-width: 900px; }
.cpm-home-video .w-video { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.cpm-home-video .w-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

/* "Aktuelle Highlights" gemischt geschrieben wie Live (nicht uppercase) */
.cpm-highlights .cpm-eyebrow { text-transform: none; letter-spacing: .01em; font-size: .95rem; color: #fff; }

/* Footer: Copyright + rechtliche Links (global) */
.cpm-footer { border-top: 1px solid #ffffff1f; margin: 0 5%; padding: 2.2rem 0 130px; }
.cpm-footer-copy { color: #ffffff99; font-size: .85rem; margin: 0 0 1rem; }
.cpm-footer-legal { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.cpm-footer-legal a { color: #ffffff99; text-decoration: underline; text-underline-offset: 3px; font-size: .85rem; }
.cpm-footer-legal a:hover { color: #fff; }

@media (max-width: 700px) { .cpm-hero-buttons { flex-direction: column; align-items: center; } }

/* Filter-Aufklapper (nur mobil aktiv) */
.cpm-filter-chevron { display: none; }
.cpm-detail-back { display: none; }

@media (max-width: 900px) {
  /* Fixe Logo-Leiste mobil deckend schwarz: sonst scheint beim Scrollen dunkler
     Inhalt durch den transparenten Verlaufsrand hinter dem Schriftzug durch.
     Unteres Padding gekürzt (Leiste war zu dick, ~91px -> ~79px). */
  .logo-inline { background-image: linear-gradient(#000, #000); padding-bottom: 8px; }
  /* WICHTIG: .filter-wrapper ist ein Flex-Item mit z-index:11 (Webflow) — bei
     Flex-Items greift z-index AUCH ohne position! Dadurch lag der Filter beim
     Scrollen ÜBER der fixen Logo-Leiste (z-index:10). Filter unter das Logo. */
  .cpm-projekte .filter-wrapper { z-index: 0; }
  .cpm-projekte { flex-direction: column; height: auto; overflow: visible; padding: 88px 16px 120px; }
  /* Detailseite mobil: nur Detail zeigen, nicht die ganze Liste davor */
  .cpm-projekte.has-detail .filter-wrapper,
  .cpm-projekte.has-detail .projects-list { display: none; }
  /* Index mobil: nur Filter + Liste, KEINE Detail-Vorschau (die ist nur für Desktop) */
  .cpm-projekte:not(.has-detail) .project-details-wrapper { display: none; }
  .cpm-detail-back { display: inline-block; margin-bottom: 1.2rem; color: #ff7a18; text-decoration: none; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
  .cpm-projekte .filter-wrapper,
  .cpm-projekte .projects-list,
  .cpm-projekte .project-details-wrapper {
    flex: 1 1 auto; width: 100%; height: auto; max-height: none; overflow: visible; padding-bottom: 0;
  }
  /* Webflow blendet .filter-wrapper mobil aus (position:fixed;display:none) -> zurücksetzen */
  .cpm-projekte .filter-wrapper {
    display: block; position: static; inset: auto;
    background: #ffffff0a; border-radius: 14px; padding: 16px 18px; margin-bottom: 10px;
  }
  /* Eingeklappt: kein Kasten, "Filtern" als unterstrichener Link oben rechts (wie Live) */
  .cpm-projekte .filter-wrapper:not(.is-open) {
    background: none; padding: 0; margin-bottom: 2px;
  }
  .cpm-projekte .filter-wrapper:not(.is-open) .cpm-filter-toggle {
    justify-content: flex-end; width: 100%; margin: 0;
    text-decoration: underline; text-underline-offset: 4px;
    font-size: 1rem; letter-spacing: .02em;
  }
  .cpm-projekte .filter-wrapper:not(.is-open) .cpm-filter-chevron { display: none; }

  /* "FILTERN" als tappbare Leiste, Felder eingeklappt bis zum Tippen */
  .cpm-filter-toggle {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; margin: 0; width: 100%;
  }
  .cpm-filter-chevron {
    display: inline-block; width: 9px; height: 9px; margin-left: .5rem;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: rotate(45deg); transition: transform .2s;
  }
  .cpm-projekte .filter-wrapper.is-open .cpm-filter-chevron { transform: rotate(-135deg); }
  .cpm-projekte .filter-wrapper .filter-column { display: none; }
  .cpm-projekte .filter-wrapper.is-open .filter-column { display: block; }

  /* Eingeklappt: nur "FILTERN" zeigen (kein Zähler). Reset nur wenn geöffnet
     UND wirklich etwas gefiltert ist — sonst gibt es nichts zurückzusetzen. */
  .cpm-projekte .filter-wrapper:not(.is-open) > .form > p.projects-filter-details { display: none; }
  .cpm-projekte .filter-wrapper .is-resetall { display: none; }
  .cpm-projekte .filter-wrapper.is-open.has-active .is-resetall { display: inline; }
}

/* Projekt-Detail: Hero- und Galerie-Bilder in Lightbox-Links (.w-inline-block)
   schrumpfen sonst auf die intrinsische Breite der (nun kleineren WebP-)Bilder
   -> schmaler als der Container. Link auf volle Breite zwingen. */
.project-details-grid .lightbox-link,
.project-details-grid .lightbox-link-2 {
  display: block;
  width: 100%;
}

/* Leistungen: die .cta-button haben align-self:center (Webflow) -> in der
   untereinander gestapelten Button-Spalte links ausrichten. */
.cpm-svc-mehr .buttons-wrapper .cta-button { align-self: flex-start; }

/* Projekt-Slider (One-Pager): Die .project-image-cover-Overlays dunkeln inaktive
   Slides komplett ab (linear-gradient black + bg-image, opacity 1). Das ist der
   alte Webflow-Fehler -> ausblenden, damit alle Slides ihr Bild zeigen. */
.project-image-cover { display: none !important; }

/* Leistungen-Buttons an Live angleichen: groesser (14px/9px16px/20px statt .68rem)
   und angenehmere Proportion. Erstgespraech-Button: schwarzer Text (nicht weiss). */
.cpm-svc .buttons-wrapper .cta-button { padding: 9px 16px; font-size: 14px; border-radius: 20px; }
.cpm-erstgespraech, .cpm-erstgespraech span { color: #000; -webkit-text-fill-color: #000; }
.cpm-erstgespraech { font-size: 14px; padding: 8px 16px 8px 8px; }
.cpm-hero .cpm-erstgespraech { font-size: 14px; padding: 10px 18px 10px 10px; }

/* P3 (Ivonne): Leistungen-Beispielprojekte — gleich grosse Kacheln (3:2),
   Titel erscheint bei Hover ueber dem Bild; Projekte ohne Bild zeigen den
   Titel in einer gleich grossen Karte (immer sichtbar). */
.cpm-bsp-card { position: relative; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; display: block; text-decoration: none; background: #ffffff12; }
.cpm-bsp-card .example-project-thumbnail { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpm-bsp-title { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: .7rem; color: #fff; -webkit-text-fill-color: #fff; font-size: .82rem; line-height: 1.25; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.15)); opacity: 0; transition: opacity .2s ease; }
.cpm-bsp-card:hover .cpm-bsp-title { opacity: 1; }
.cpm-bsp-card.is-noimg { background: #ffffff16; }
.cpm-bsp-card.is-noimg .cpm-bsp-title { opacity: 1; background: none; align-items: center; }

/* P4 (Ivonne): Slide-in-Erstgespräch-Formular (site-weit). Von rechts, Blur-Hintergrund. */
.cpm-drawer[hidden] { display: none; }
.cpm-drawer { position: fixed; inset: 0; z-index: 60; }
.cpm-drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s ease; }
.cpm-drawer.is-open .cpm-drawer-backdrop { opacity: 1; }
.cpm-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 92vw); background: #0d0d0d; box-shadow: -20px 0 60px rgba(0,0,0,.5); padding: 3.2rem 1.8rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); box-sizing: border-box; }
.cpm-drawer.is-open .cpm-drawer-panel { transform: translateX(0); }
.cpm-drawer-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; -webkit-text-fill-color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.cpm-drawer-title { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 1.4rem; font-weight: 500; }
.cpm-drawer-label { display: block; color: #ffffffb0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin: 1rem 0 .35rem; }
.cpm-drawer-input { width: 100%; background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 8px; color: #fff; -webkit-text-fill-color: #fff; padding: .6rem .7rem; font: inherit; font-size: .9rem; box-sizing: border-box; }
.cpm-drawer-input:focus { outline: none; border-color: #ff7a18; }
.cpm-drawer-radios { display: flex; flex-direction: column; gap: .4rem; margin-top: .3rem; }
.cpm-drawer-radio { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: .9rem; cursor: pointer; }
.cpm-drawer-radio input { accent-color: #ff7a18; }
.cpm-drawer-submit { margin-top: 1.4rem; width: 100%; background: #ff7a18; color: #000; -webkit-text-fill-color: #000; border: 0; border-radius: 100px; padding: .7rem; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
body.cpm-drawer-open { overflow: hidden; }

/* Branche in der Projekt-Infobox: Gruppe/Untergruppe zweizeilig, dezent klickbar */
.cpm-branche-link { color: inherit; text-decoration: none; }
.cpm-branche-ober { display: block; }
.cpm-branche-unter { display: block; opacity: .65; }
.cpm-branche-link:hover .cpm-branche-ober,
.cpm-branche-link:hover .cpm-branche-unter { text-decoration: underline; text-underline-offset: 2px; }

/* Klickbare Infobox-Felder (Kunde, Land, Jahr, Leistungen): dezent, Unterstrich bei Hover */
.cpm-filter-link { color: inherit; text-decoration: none; }
.cpm-filter-link:hover { text-decoration: underline; text-underline-offset: 2px; }

/* PROJEKTDETAILS-Label voll sichtbar (Basisfarbe --white-smoke hat nur 52% Deckkraft) */
.project-details-heading-wrapper .projects-section-heading { color: #eaeaea; }

/* Projekt-Überschrift: nutzt mehr Breite + ausgewogener Zeilenumbruch (kurzes Restwort bricht früher/schöner um) */
.cpm-projekte .project-heading { max-width: 92%; text-wrap: balance; }

/* pjax: dezentes Dimmen der Detailspalte während des Nachladens */
.project-details-wrapper.is-pjax-loading { opacity: .5; transition: opacity .12s ease; }

/* Lectures-Tab: Karten-Raster mit Inline-Aufklappen (Interaktion wie Leistungen-Akkordeon) */
/* Lectures als Liste (wie Projektliste, Bild rechts) — alles sichtbar, kein Aufklappen */
.cpm-lectures-list { border-top: 1px solid #ffffff1f; }
.cpm-lecture { display: flex; align-items: flex-start; gap: 1.4rem; padding: 1.05rem 0; border-bottom: 1px solid #ffffff1f; }
.cpm-lecture-main { flex: 1 1 auto; min-width: 0; }
.cpm-lecture-date { display: block; font-size: .78rem; color: #ffffff80; letter-spacing: .04em; }
.cpm-lecture-title { color: #fff; font-size: 1.15rem; font-weight: 500; line-height: 1.3; margin: .2rem 0 .2rem; }
.cpm-lecture-place { color: #ffffffc0; font-size: .92rem; line-height: 1.35; margin: 0 0 .2rem; }
.cpm-lecture-sub { color: #ffffff90; font-size: .88rem; line-height: 1.5; margin: 0; max-width: 78ch; }
.cpm-lecture-thumb { position: relative; flex: 0 0 132px; width: 132px; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; }
.cpm-lecture-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpm-lecture-credit { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: .25rem .5rem; font-size: .68rem; line-height: 1.2; color: #fff; background: #000000b3; border-top-left-radius: 8px; opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.cpm-lecture-thumb:hover .cpm-lecture-credit { opacity: 1; }
@media (hover: none) { .cpm-lecture-credit { opacity: 1; } }
@media (max-width: 640px) {
  .cpm-lecture-thumb { flex-basis: 96px; width: 96px; }
  .cpm-lecture-title { font-size: 1rem; }
}

/* Bildnachweise (Projekt-Detail) */
.project-data-credits { font-size: .8rem; line-height: 1.5; color: #ffffffa8; }

/* Scrollbalken: kein horizontaler Überlauf + dezente, dunkle Balken
   (verhindert die weißen System-Scrollbalken, wenn „immer anzeigen" aktiv ist) */
.cpm-projekte .filter-wrapper,
.cpm-projekte .projects-list,
.cpm-projekte .project-details-wrapper {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ffffff40 transparent;
}
.cpm-projekte .filter-wrapper::-webkit-scrollbar,
.cpm-projekte .projects-list::-webkit-scrollbar,
.cpm-projekte .project-details-wrapper::-webkit-scrollbar { width: 8px; height: 8px; }
.cpm-projekte .filter-wrapper::-webkit-scrollbar-thumb,
.cpm-projekte .projects-list::-webkit-scrollbar-thumb,
.cpm-projekte .project-details-wrapper::-webkit-scrollbar-thumb { background: #ffffff33; border-radius: 6px; }
.cpm-projekte .filter-wrapper::-webkit-scrollbar-track,
.cpm-projekte .projects-list::-webkit-scrollbar-track,
.cpm-projekte .project-details-wrapper::-webkit-scrollbar-track { background: transparent; }

/* Mobil: Projekt-Detail-Raster (Webflow w-layout-layout) auf eine Spalte im
   normalen Blockfluss zwingen — sonst überlappen Bild- und Text-Zellen, weil
   die Node-ID-Grid-Bereiche nicht auf 1 Spalte kollabieren. */
@media (max-width: 900px) {
  .project-details-grid,
  .project-details-grid .w-layout-layout,
  .project-details-grid .quick-stack-3 { display: block !important; }
  .project-details-grid .w-layout-cell { width: 100%; grid-area: auto !important; margin: 0 0 1.4rem; }
  .project-details-grid img { max-width: 100%; height: auto; }
}

/* Onepager (Leistungen-Detailseiten: /ausstellung, /web, /app, /marken-erlebniswelt):
   Auf schmalen Screens stapelt die Sektion einspaltig, aber der Text bleibt
   „position: sticky" -> die scrollenden Bilder fahren über den klebenden Text.
   Auf Mobil daher Sticky aufheben (Text scrollt normal mit) und die negativen
   Seitenränder der Bild-Wrapper zurücknehmen. */
@media (max-width: 991px) {
  .one-pager_project-textwrapper { position: static !important; top: auto !important; }
  .one-pager_project-imageswrapper { margin-left: 0 !important; margin-right: 0 !important; }
}

/* Kompetenzen-Liste linksbündig zur Überschrift (Webflow .circle_p-list margin-left:-20px aufheben) */
.cpm-svc-komp .circle_p-list { margin-left: 0; }

/* Vertikale Trennlinie zwischen Beschreibung und Kompetenzen (wie Webflow .divider-line), nur Desktop */
@media (min-width: 901px) {
  .cpm-svc-komp { border-left: 1px solid rgba(255,255,255,.5); padding-left: 2.5rem; }
}

/* Große Seitenüberschrift wie Live-Webflow ~34px vor den Content ausrücken (nur Desktop) */
@media (min-width: 901px) {
  .page-heading { margin-left: -34px !important; }
}
/* Subtitle wie Live-Webflow: größer, leichter, mehr Laufweite + Abstand */
.cpm-svc-sub { font-size: 1.1rem; font-weight: 300; letter-spacing: .1em; margin-top: .5rem; }
/* Service-Name + Subtitle markierbar machen (stehen in einem <button>) */
.cpm-svc-head-text, .cpm-svc-name, .cpm-svc-sub { -webkit-user-select: text; user-select: text; }

/* Suchfeld zeigt aktiven Kunde-Filter (readonly, per „Löschen" entfernbar) */
.form-text-field.is-kunde-filter { cursor: pointer; color: #fff; background: transparent; }
