/* ═══════════════ zeit:raum performance Landingpage ═══════════════ */

/* ── Fonts ── */
@font-face {
  font-family: 'zeitraum head';
  src: url('../fonts/zeitraumhead-BoldWeb.woff2') format('woff2'),
       url('../fonts/zeitraumhead-BoldWeb.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zeitraum Text';
  src: url('../fonts/ZeitraumText-Regular.woff2') format('woff2'),
       url('../fonts/ZeitraumText-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zeitraum Text';
  src: url('../fonts/ZeitraumText-RegularItalic.woff2') format('woff2'),
       url('../fonts/ZeitraumText-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Zeitraum Text';
  src: url('../fonts/ZeitraumText-Bold.woff2') format('woff2'),
       url('../fonts/ZeitraumText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zeitraum Text';
  src: url('../fonts/ZeitraumText-Light.woff2') format('woff2'),
       url('../fonts/ZeitraumText-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --bg: #000;
  --bg-footer: #000;
  --card: #232323;
  --card-dark: #171818;
  --card-prozess: #181818;
  --border: #2b2b2b;
  --border-prozess: #292929;
  --gray: #8c8c8c;
  --gray-light: #bababa;
  --dim: #5f5f5f;
  --accent: #F3EDB2;   /* Eyebrows, Badges, Chart-Linien, Chips */
  --action: #FDF184;   /* nur CTA-Flächen */
  --status: #C1FE00;   /* Verfügbarkeits-Punkt im Hero — fix */
  --head: 'zeitraum head', sans-serif;
  --text: 'Zeitraum Text', sans-serif;
  --pad: 120px;
  --maxw: 1440px;
}

/* ── Reset / Basis ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: #fff;
  font-family: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section, header, footer { position: relative; }

/* Sektionen: zentrierter 1440er-Rahmen */
.nav, .hero__inner, .logowand, .team, .ergebnisse, .creatives__stage,
.prozess, .commerce, .testimonials, .kontakt, .faq,
.footer__closing, .footer__boden, .footer__cities, .footer__legal {
  max-width: var(--maxw);
  margin-inline: auto;
}

/* ── Typo-Bausteine ── */
.eyebrow {
  font-size: 13px;
  color: var(--accent);
}
.eyebrow--gray { color: var(--gray); }
.h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.06;
  color: #fff;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 100px;
  padding: 10px 10px 10px 32px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: box-shadow .3s ease, filter .3s ease;
}
.btn--action { background: var(--action); }
.btn--action .btn__label { color: #000; }
.btn--action:hover { box-shadow: 0 8px 30px rgba(253,241,132,.28); }
.btn__label { font-weight: 700; font-size: 16px; }
.btn__label--head { font-family: var(--head); font-size: 18px; }
.btn__arrow {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn__arrow svg {
  display: block;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .btn__arrow svg { transform: translateX(3px); }
.btn:active .btn__arrow svg { transform: translateX(5px); }
.btn:active { filter: brightness(.94); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn--action .btn__arrow { background: #fff; color: #000; }
.btn--dark { background: #000; padding: 8px 8px 8px 32px; }
.btn--dark:hover { box-shadow: 0 8px 26px rgba(0,0,0,.35); }
.btn--dark:focus-visible { outline-color: #000; }
.btn--dark .btn__label { color: #fff; }
.btn--dark .btn__arrow { background: #fff; color: #000; }
.btn--action-sm { padding: 10px 10px 10px 28px; gap: 14px; }
.btn--action-sm .btn__label { font-family: var(--text); font-size: 16px; color: #000; }
.btn__arrow--black { background: #000; color: #fff; width: 44px; height: 44px; }

/* Media-Slots: img ↔ video 1:1 tauschbar, Format bleibt erhalten */
.media-slot img, .media-slot video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px var(--pad);
}
.nav__logo img { width: 362px; height: 32px; }

/* ═══════════════ HERO ═══════════════ */
.hero__inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px var(--pad);
}
.hero__copy {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.hero__status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--gray-light);
}
.hero__status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--status);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,254,0,.45); }
  55%      { box-shadow: 0 0 0 7px rgba(193,254,0,0); }
}
.hero__title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.06;
}
.hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray-light);
}

/* Bühne — Anordnung von Jens, px-genau (744×662) */
.hero__stage {
  position: relative;
  width: 744px;
  height: 662px;
  flex-shrink: 0;
}
.hero__creative {
  position: absolute;
  left: -1px; top: 96px;
  width: 305px; height: 542px;
  border-radius: 18px;
  overflow: hidden;
}
.panel {
  position: absolute;
  background: var(--card-dark);
  border: 1px solid var(--border);
  border-radius: 18px;
  filter: drop-shadow(0 18px 21px rgba(0,0,0,.62));
}
.panel--umsatz { left: 250px; top: 297px; width: 296px; height: 274px; padding: 21px 23px; }
.panel--roas   { left: 452px; top: 44px;  width: 240px; height: 164px; padding: 19px; }
.panel--kosten { left: 504px; top: 254px; width: 240px; height: 164px; padding: 19px; }
.panel__brand  { font-weight: 700; font-size: 10px; color: var(--gray); }
.panel__metric { font-size: 12px; color: var(--dim); margin-top: 3px; }
.panel--roas .panel__metric, .panel--kosten .panel__metric { font-size: 11px; }
.panel__value  { font-family: var(--head); font-weight: 700; font-size: 34px; margin-top: 4px; }
.panel__value--sm { font-size: 25px; }
.panel__note   { font-size: 11px; color: var(--gray); margin-top: 7px; }
.panel--roas .panel__note, .panel--kosten .panel__note { font-size: 10px; }
.panel__chart  { position: relative; width: 248px; height: 100px; margin-top: 7px; }
.panel__chart svg { width: 100%; height: 100%; }
.panel__marker {
  position: absolute;
  left: 113px; top: 3px;
  font-weight: 700;
  font-size: 9px;
  color: rgba(255,255,255,.75);
  white-space: nowrap;
}
.panel__months {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--dim);
  margin-top: 8px;
}
.panel__delta {
  position: absolute;
  right: 18px; top: 15px;
  background: rgba(243,237,178,.14);
  color: var(--accent);
  font-weight: 700;
  font-size: 10px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.panel__spark { position: absolute; left: 19px; top: 107px; width: 200px; height: 42px; }
.panel__spark svg { width: 100%; height: 100%; }

.chip { position: absolute; }
.chip--branche {
  left: 65px; top: 44px;
  background: #fff;
  color: #000;
  border-radius: 13px;
  padding: 11px 17px 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.chip__title { font-family: var(--head); font-weight: 700; font-size: 15px; }
.chip__sub   { font-weight: 700; font-size: 10px; color: var(--dim); margin-top: 2px; }
.chip--kanaele {
  left: 251px; top: 113px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 17px 10px 15px;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ═══════════════ KUNDEN-LOGOWAND ═══════════════ */
.logowand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 72px var(--pad);
}
.logowand__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  width: 100%;
}
.logowand__tile { width: 184px; height: 100px; }
.logowand__tile img { width: 100%; height: 100%; object-fit: contain; }
.logowand__credentials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.logowand__stat { text-align: center; }
.logowand__stat-value {
  font-family: var(--head);
  font-weight: 700;
  font-size: 48px;
  color: var(--action);
}
.logowand__stat-label { font-size: 15px; color: var(--gray); margin-top: 4px; }
.logowand__badges { display: flex; gap: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1c1c1c;
  border-radius: 100px;
  padding: 10px 20px 10px 18px;
  font-size: 14px;
}
.badge__check { width: 16px; height: 16px; }
.logowand__kanaele {
  width: 100%;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.divider { width: 100%; border: 0; height: 1px; background: #232323; }
.logowand__plattform-label { font-weight: 700; font-size: 16px; color: var(--gray); }
.logowand__plattformen {
  display: flex;
  align-items: center;
  gap: 68px;
  margin-top: -18px;
  padding-top: 18px;
}
.flip-y { transform: scaleY(-1); }

/* ═══════════════ TEAM-BAND ═══════════════ */
.team {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 88px var(--pad);
}
.team__photos {
  flex: 1;
  display: flex;
  gap: 20px;
  height: 300px;
  min-width: 0;
}
.team__photo {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.team__text {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.team__title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.08;
}
.team__body { font-size: 16px; line-height: 1.5; color: var(--gray); }

/* ═══════════════ ERGEBNISSE (INTRO) ═══════════════ */
.ergebnisse {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 104px var(--pad) 156px;
}
.ergebnisse__body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray);
  max-width: 820px;
}
.horizont {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 230px;
  overflow: hidden;
  pointer-events: none;
}
.horizont svg { width: 100%; height: 100%; display: block; }
.horizont__lines path { fill: none; }
/* Punkte als HTML-Elemente statt SVG-Kreise: das SVG wird mit
   preserveAspectRatio="none" gestaucht — HTML-Dots bleiben kreisrund */
.horizont__startdot, .horizont__end, .horizont__halo {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.horizont__startdot {
  left: 34.51%; top: 81.74%;
  width: 8px; height: 8px;
  background: #000;
  border: 1.5px solid var(--accent);
}
.horizont__end {
  left: 99.17%; top: 10.43%;
  width: 10px; height: 10px;
  background: var(--accent);
}
.horizont__halo {
  left: 99.17%; top: 10.43%;
  width: 28px; height: 28px;
  background: var(--accent);
}
.horizont__line--glow1 { filter: blur(9px); opacity: .55; }
.horizont__line--glow2 { filter: blur(26px); opacity: .4; }
.horizont__line--glow3 { filter: blur(52px); opacity: .3; }
.horizont__label {
  position: absolute;
  left: calc(34.52% + 12px);
  font-weight: 700;
  font-size: 10px;
  white-space: nowrap;
}
.horizont__label--start { bottom: 74px; transform: translateY(100%); color: rgba(255,255,255,.55); }
.horizont__label--vorjahr { bottom: 30px; transform: translateY(100%); color: rgba(140,140,140,.75); }

/* ═══════════════ CREATIVES ═══════════════ */
.creatives { overflow: hidden; }
.creatives__stage {
  position: relative;
  height: 1177px;
}
.creatives__text {
  position: absolute;
  left: 97px; top: 399px;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 2;
}
.creatives__body {
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray);
  max-width: 345px;
}
.creatives__card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 190px;
  height: 337px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}

/* ═══════════════ SO ARBEITEN WIR ═══════════════ */
.prozess {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 96px var(--pad);
}
.prozess__bg {
  position: absolute;
  left: 0; right: 0; top: 210px;
  height: 420px;
  pointer-events: none;
}
.prozess__bg img { width: 100%; height: 100%; }
.prozess__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.prozess__sub { font-size: 18px; line-height: 1.5; color: var(--gray); max-width: 760px; }
.prozess__row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
.prozess__step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prozess__badge-row {
  position: relative;
  display: flex;
  justify-content: center;
}
.prozess__badge {
  width: 48px; height: 48px;
  border-radius: 100px;
  background: var(--accent);
  color: #000;
  font-family: var(--head);
  font-weight: 700;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.prozess__badge--action { background: var(--action); }
.prozess__arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 24px;
  color: var(--accent);
}
.prozess__arrow--action { color: var(--action); }
.prozess__card {
  background: var(--card-prozess);
  border: 1px solid var(--border-prozess);
  border-radius: 20px;
  padding: 28px;
  height: 301px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.prozess__card-top { display: flex; flex-direction: column; gap: 14px; }
.prozess__kicker { font-weight: 700; font-size: 12px; color: var(--accent); }
.prozess__kicker--action { color: var(--action); }
.prozess__title { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.1; }
.prozess__body { font-size: 15px; line-height: 1.5; color: var(--gray); }
.prozess__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--border);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 12px;
  color: #b8b8b8;
  white-space: nowrap;
}

/* ── Audit-Banner ── */
.audit {
  background: var(--action);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
}
.audit__left {
  width: 576px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  color: #000;
}
.audit__eyebrow { font-weight: 700; font-size: 13px; }
.audit__title { font-family: var(--head); font-weight: 700; font-size: 34px; line-height: 1.1; }
.audit__body { font-size: 17px; line-height: 1.5; color: rgba(0,0,0,.68); }
.audit .btn--dark { margin-top: 14px; }
.audit__micro { font-size: 13px; color: rgba(0,0,0,.6); }
.audit__card {
  background: #101010;
  border-radius: 20px;
  padding: 28px 30px;
  width: 424px;
  flex-shrink: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.audit__card-label { font-weight: 700; font-size: 11px; color: var(--gray); }
.audit__checks { display: flex; flex-direction: column; gap: 15px; }
.audit__checks li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.audit__checks img { width: 20px; height: 20px; }
.audit__divider { border: 0; height: 1px; background: var(--border); width: 100%; }
.audit__result { font-size: 13px; line-height: 1.45; color: var(--gray); }

/* ═══════════════ SOCIAL COMMERCE ═══════════════ */
.commerce {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 96px var(--pad);
}
.commerce__head { display: flex; flex-direction: column; gap: 16px; }
.commerce__body { font-size: 18px; line-height: 1.5; color: var(--gray); max-width: 820px; }
.commerce__row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.commerce__col { display: flex; flex-direction: column; gap: 16px; }
.commerce__mockup {
  position: relative;
  width: 340px;
  height: 604px;
  border-radius: 20px;
  overflow: hidden;
}
.commerce__tag {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(0,0,0,.5);
  border-radius: 100px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(4px);
}
.commerce__product {
  position: absolute;
  left: 14px; bottom: 14px;
  width: calc(100% - 28px);
  height: 64px;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 14px;
}
.commerce__product-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #1a1a1a;
  font-weight: 700;
}
.commerce__product-info strong { font-size: 13px; }
.commerce__product-info span { font-size: 15px; }
.commerce__buy {
  background: #0d0d0d;
  color: #fff;
  border-radius: 100px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
}
.commerce__label { font-weight: 700; font-size: 17px; }
.commerce__caption { font-size: 14px; color: var(--gray); margin-top: 4px; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 96px var(--pad);
}
.testimonials .h2 { margin-bottom: 36px; }
.testimonials__row {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.testimonial {
  flex: 1;
  min-width: 0;
  background: var(--card);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.testimonial__quote-mark {
  font-family: var(--head);
  font-weight: 700;
  font-size: 56px;
  line-height: .62;
  color: var(--accent);
  margin-bottom: 12px;
}
.testimonial__text { font-size: 18px; line-height: 1.5; }
.testimonial__person { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 100px;
  background: #333;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 700; font-size: 16px; }
.testimonial__role { font-size: 14px; color: var(--gray); margin-top: 2px; }

/* ═══════════════ KONTAKT & TERMIN ═══════════════ */
.kontakt {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 96px var(--pad);
}
.kontakt__head { display: flex; flex-direction: column; gap: 14px; }
.kontakt__body { font-size: 18px; line-height: 1.5; color: var(--gray); max-width: 820px; }
.kontakt__row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.kontakt__people {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 180px;
  flex-shrink: 0;
}
.kontakt__person { width: 180px; flex-shrink: 0; }
.kontakt__portrait {
  width: 180px; height: 216px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.kontakt__name { font-weight: 700; font-size: 17px; }
.kontakt__role { font-size: 14px; color: var(--gray); margin-top: 4px; }
.kontakt__widget {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  padding: 8px;
}

/* ═══════════════ FAQ ═══════════════ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 64px var(--pad) 80px;
}
.faq__title {
  font-family: var(--head);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.15;
  margin-top: -26px;
}
.faq > .eyebrow { margin-bottom: 0; }
.faq__items { display: flex; flex-direction: column; }
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.faq__item:last-child { border-bottom: 0; }
.faq__item summary {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span:first-child {
  flex: 1;
  font-family: var(--head);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
}
.faq__toggle {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__toggle::before, .faq__toggle::after {
  content: '';
  position: absolute;
  background: var(--gray);
  transition: transform .3s ease;
}
.faq__toggle::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__toggle::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__toggle::after { transform: scaleY(0); }
.faq__answer {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray);
  max-width: 1000px;
  padding-top: 16px;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--bg-footer); }
.footer__closing {
  display: flex;
  gap: 60px;
  padding: 72px var(--pad) 0;
}
.footer__cta {
  width: 440px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 130px;
}
.footer__headline {
  font-family: var(--head);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.04;
}
.footer__body { font-size: 16px; line-height: 1.5; color: var(--gray); }
.footer__collage {
  position: relative;
  flex: 1;
  height: 600px;
  min-width: 0;
}
.footer__photo { position: absolute; border-radius: 16px; overflow: hidden; }
.footer__photo--1 { left: 0;     top: 20px;  width: 60%;   height: 280px; }
.footer__photo--2 { left: 62.9%; top: 60px;  width: 37.1%; height: 300px; }
.footer__photo--3 { left: 0;     top: 320px; width: 42.9%; height: 230px; }
.footer__photo--4 { left: 45.7%; top: 340px; width: 42.9%; height: 210px; }

.footer__boden {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding: 44px var(--pad) 0;
}
.footer__brand { display: flex; gap: 69px; align-items: flex-start; }
/* 4px Offset: Marke bündig mit der Cap-Höhe des Wortmarke-Schriftzugs (wie Figma 291:494) */
.footer__mark { width: 44px; height: 101px; flex-shrink: 0; margin-top: 4px; }
.footer__wordmark { font-family: var(--head); font-weight: 700; font-size: 22px; }
.footer__wordmark span { color: var(--action); }
.footer__desc {
  font-size: 18px;
  line-height: 1.5;
  color: #999;
  max-width: 379px;
  margin-top: 3px; /* Figma-Maß — Marke schließt unten bündig auf der Grundlinie */
}
.footer__contact p {
  font-family: var(--head);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.63;
  white-space: nowrap;
}
.footer__contact a { color: var(--action); margin-left: 8px; transition: opacity .25s; }
.footer__contact a:hover { opacity: .75; }

.footer__cities {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px var(--pad) 0;
  font-family: var(--head);
  font-weight: 700;
  font-size: 20px;
}
.footer__city-line { width: 47px; height: 1px; background: #fff; opacity: .6; }

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 90px var(--pad) 44px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 10px;
}
.footer__legal-links { display: flex; gap: 34px; }
.footer__legal a:hover { color: var(--action); }
.footer__legal-note a { color: var(--action); }

/* ═══════════════ ANIMATIONEN ═══════════════ */

/* Scroll-Reveal: Sektionen faden sanft ein */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.65,.25,1), transform .9s cubic-bezier(.2,.65,.25,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* Gestaffelte Kinder (Prozess-Schritte, Mockups, Testimonials, Creatives) */
.prozess__step, .commerce__col, .testimonial, .creatives__card, .logowand__tile {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.65,.25,1), transform .8s cubic-bezier(.2,.65,.25,1);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
.in-view .prozess__step, .in-view .commerce__col, .in-view .testimonial,
.in-view .creatives__card, .in-view .logowand__tile {
  opacity: 1;
  transform: none;
}

/* Hero: Panels/Chips steigen beim Laden auf */
.anim-rise {
  opacity: 0;
  transform: translateY(30px) scale(.98);
  animation: rise .9s cubic-bezier(.2,.65,.25,1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

/* Chart-Linien zeichnen sich ein */
.chart-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.charts-on .chart-line {
  animation: draw 1.6s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: .5s;
}
.chart-area, .chart-dot, .chart-dashed {
  opacity: 0;
  transition: opacity .8s ease;
}
.charts-on .chart-area   { opacity: 1; transition-delay: 1.4s; }
.charts-on .chart-dashed { opacity: 1; transition-delay: 1.6s; }
.charts-on .chart-dot    { opacity: 1; transition-delay: 1.9s; }
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* Horizont-Linie (Ergebnisse) zeichnet sich beim Scrollen */
.horizont__line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in-view .horizont__line {
  animation: draw 2.2s cubic-bezier(.45,0,.2,1) forwards;
  animation-delay: .3s;
}
.horizont__vorjahr, .horizont__end, .horizont__halo { opacity: 0; transition: opacity 1s ease; }
.in-view .horizont__vorjahr { opacity: 1; transition-delay: 1.6s; }
.in-view .horizont__end, .in-view .horizont__halo { opacity: 1; transition-delay: 2.2s; }
.in-view .horizont__halo { animation: halo 3s ease-in-out 2.4s infinite; }
@keyframes halo {
  0%, 100% { opacity: .18; }
  50%      { opacity: .34; }
}

/* Reduced Motion: alles sofort sichtbar */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .anim-rise, .prozess__step, .commerce__col, .testimonial,
  .creatives__card, .logowand__tile {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .chart-line, .horizont__line { stroke-dashoffset: 0 !important; animation: none !important; }
  .chart-area, .chart-dot, .chart-dashed, .horizont__vorjahr, .horizont__end, .horizont__halo {
    opacity: 1 !important;
  }
  .hero__status-dot { animation: none !important; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Zwischengröße: Hero-Bühne + Creatives skalieren */
@media (max-width: 1280px) {
  :root { --pad: 64px; }
  .hero__inner { gap: 40px; }
  .hero__stage { transform: scale(.82); transform-origin: left center; margin-right: -130px; }
  .commerce__row { flex-wrap: wrap; justify-content: center; }
  .footer__contact p { font-size: 20px; }
}

/* Kontakt: Zeile früh umbrechen, damit das zeeg-Widget seine 920px
   Mindestbreite für die Kalender-Ansicht (Desktop-Layout) bekommt */
@media (max-width: 1440px) {
  .kontakt__row { flex-direction: column; }
  /* Beide Ansprechpartner nebeneinander, sobald die Zeile umbricht */
  .kontakt__people { flex-direction: row; gap: 32px; width: auto; }
  /* volle Breite fürs Widget (sonst schrumpft es in der Column auf Inhaltsbreite)
     → zeeg bekommt ≥920px und zeigt die Kalender-Ansicht */
  .kontakt__widget { align-self: stretch; }
}

@media (max-width: 1080px) {
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__stage { transform: scale(.9); transform-origin: left top; margin: 0; }
  .team { flex-direction: column; align-items: flex-start; }
  .team__text { width: auto; }
  .prozess__row { flex-wrap: wrap; }
  .prozess__step { flex: 1 1 40%; }
  .prozess__arrow { display: none; }
  .prozess__card { height: auto; min-height: 260px; }
  .audit { flex-direction: column; align-items: flex-start; }
  .audit__left { width: auto; }
  .audit__card { width: 100%; }
  .testimonials__row { flex-direction: column; }
  .footer__closing { flex-direction: column; }
  .footer__cta { padding-top: 0; width: auto; }
  .footer__boden { flex-direction: column; gap: 40px; }
  .footer__contact p { white-space: normal; }

  /* Creatives: Stage in flexibles 3-Spalten-Raster überführen */
  .creatives__stage {
    height: auto;
    padding: 96px var(--pad);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .creatives__text { position: static; width: auto; flex: 1 1 100%; margin-bottom: 32px; }
  .creatives__card {
    position: static;
    width: calc(33.333% - 11px);
    height: auto;
    aspect-ratio: 190/337;
  }
}

/* ── Mobile (Vorlage: 402-px-Artboard, Rand 24, Inhalt 354) ── */
@media (max-width: 640px) {
  :root { --pad: 24px; }

  .nav { padding: 28px var(--pad); }
  .nav__logo img { width: 280px; height: auto; }

  /* Hero: Collage nach Figma-Mobile-Artboard (Bühne 354×641) */
  .hero__inner { padding: 32px var(--pad) 72px; gap: 22px; }
  .hero__copy { width: 100%; gap: 22px; }
  .hero__title { font-size: 34px; }
  .hero__sub { font-size: 16px; }
  /* Aufsteigen nur als Fade — transform bleibt frei für die Collage-Skalierung */
  .anim-rise { transform: none; animation-name: rise-fade; }
  .hero__stage {
    width: 100%;
    max-width: 354px;
    height: 641px;
    margin: 0;
    transform: none;
  }
  .hero__creative { left: 0; top: 44px; width: 240px; height: 427px; }
  .panel--umsatz {
    left: 147px; top: 357px;
    transform: scale(.665);
    transform-origin: top left;
  }
  .panel--roas, .panel--kosten { width: 119px; height: 146px; padding: 11px; }
  .panel--roas { left: 18px; top: 467px; }
  .panel--kosten { left: 225px; top: 133px; }
  .panel--roas .panel__brand, .panel--kosten .panel__brand { font-size: 7px; }
  .panel--roas .panel__metric, .panel--kosten .panel__metric { font-size: 8px; margin-top: 2px; }
  .panel--roas .panel__value, .panel--kosten .panel__value { font-size: 17px; margin-top: 3px; }
  .panel--roas .panel__note, .panel--kosten .panel__note { display: none; }
  .panel--roas .panel__delta, .panel--kosten .panel__delta {
    left: auto; right: 11px; top: 70px;
    font-size: 8px; padding: 3px 8px 3px 7px;
  }
  .panel--roas .panel__spark, .panel--kosten .panel__spark {
    left: 11px; top: 100px; width: 96px; height: 35px;
  }
  .chip--kanaele { left: 142px; top: 28px; font-size: 10px; padding: 8px 14px 8px 12px; }
  .chip--branche { left: 157px; top: 559px; } /* 20px Abstand zum Umsatz-Panel = wie links zur ROAS-Kachel */
  @keyframes rise-fade { to { opacity: 1; } }

  .eyebrow { font-size: 12px; }
  .h2 { font-size: 28px; }

  /* Logowand: 3×4-Raster, Kacheln 108×60 */
  .logowand { padding: 64px var(--pad) 72px; }
  .logowand__grid {
    display: grid;
    grid-template-columns: repeat(3, 108px);
    justify-content: center;
    gap: 8px;
  }
  .logowand__tile { width: 108px; height: 60px; }
  .logowand__stat-value { font-size: 40px; }
  .logowand__badges { flex-direction: column; align-items: center; gap: 10px; }
  .logowand__plattformen { flex-wrap: wrap; justify-content: center; gap: 24px 28px; }
  .logowand__plattformen img { width: auto !important; height: 24px !important; }

  .team { padding: 64px var(--pad) 72px; gap: 32px; }
  .team__photos { flex-direction: column; height: auto; width: 100%; }
  .team__photo { height: 220px; }
  .team__title { font-size: 28px; }

  .ergebnisse { padding: 64px var(--pad) 222px; }
  .ergebnisse__body { font-size: 16px; }
  .horizont { height: 170px; }

  /* Creatives mobil: 2 Spalten, 6 Motive */
  .creatives__stage { padding: 64px var(--pad) 72px; height: auto; display: flex; flex-direction: column; }
  .creatives__text { position: static; margin-bottom: 40px; width: auto; }
  .creatives__card {
    position: static;
    width: calc(50% - 6px);
    height: auto;
    aspect-ratio: 190/337;
  }
  .creatives__stage { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .creatives__text { flex: 1 1 100%; }
  /* 6 statt 8 Motive — nur die letzten beiden Karten ausblenden
     (nth-of-type zählt .creatives__text mit und würde sonst Sofwave treffen) */
  .creatives__card:nth-last-of-type(-n+2) { display: none; }

  .prozess { padding: 64px var(--pad) 72px; gap: 40px; }
  .prozess__row { flex-direction: column; }
  .prozess__step { flex: 1 1 auto; width: 100%; gap: 0; }
  .prozess__badge-row { display: none; }
  .prozess__card { height: auto; gap: 20px; }
  /* Badge wandert in die Karte, links neben den Kicker */
  .prozess__kicker { display: flex; align-items: center; gap: 12px; }
  .prozess__kicker::before {
    content: attr(data-num);
    width: 36px; height: 36px;
    border-radius: 100px;
    background: var(--accent);
    color: #000;
    font-family: var(--head);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .prozess__kicker--action::before { background: var(--action); }

  .audit { padding: 36px 28px; border-radius: 20px; }
  .audit__title { font-size: 26px; }
  .audit .btn--dark .btn__label { font-size: 14px; }
  /* Button so breit wie die Audit-Karte darunter; Pfeil rutscht an den rechten Rand */
  .audit .btn--dark {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  .audit__micro { width: 100%; text-align: center; }

  .commerce { padding: 64px var(--pad) 72px; }
  .commerce__body { font-size: 16px; }
  /* Versetztes 2-Spalten-Raster nach Figma-Mobile-Artboard:
     TikTok links oben, Instagram rechts (nach unten versetzt), Live Shopping links unten */
  .commerce__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 36px;
    align-items: start;
  }
  .commerce__col { gap: 12px; }
  .commerce__col:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 72%; /* rel. zur Spaltenbreite ≈ 40 % der Kartenhöhe, wie im Layout */
  }
  .commerce__mockup { width: 100%; height: auto; aspect-ratio: 340 / 604; }
  .commerce__tag { left: 10px; top: 10px; font-size: 10px; padding: 5px 9px; }
  .commerce__product {
    left: 10px; bottom: 10px;
    width: calc(100% - 20px);
    height: 50px;
    border-radius: 11px;
    padding: 0 5px 0 9px;
  }
  .commerce__product-info strong { font-size: 10px; }
  .commerce__product-info span { font-size: 12px; }
  .commerce__buy { padding: 8px 11px; font-size: 11px; }
  .commerce__label { font-size: 15px; }
  .commerce__caption { font-size: 13px; }

  .testimonials { padding: 64px var(--pad) 72px; }
  .testimonial { padding: 28px; }
  .testimonial__text { font-size: 16px; }

  .kontakt { padding: 64px var(--pad) 72px; }
  .kontakt__body { font-size: 16px; }
  /* Beide Ansprechpartner als kompakte Zeilen untereinander */
  .kontakt__people { flex-direction: column; gap: 16px; width: 100%; }
  .kontakt__person {
    width: 100%;
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 16px;
    align-items: center;
  }
  .kontakt__portrait {
    width: 72px; height: 86px;
    border-radius: 12px;
    margin: 0;
    grid-row: 1 / 3;
  }
  .kontakt__name { align-self: end; }
  .kontakt__role { align-self: start; margin: 0; }
  /* zeeg über die volle Viewport-Breite (bricht aus dem Sektions-Padding aus);
     align-self nötig, weil .kontakt__row align-items:flex-start sonst auf Inhaltsbreite schrumpft */
  .kontakt__widget {
    align-self: stretch;
    padding: 0;
    margin-inline: calc(-1 * var(--pad));
    border-radius: 0;
  }

  .faq { padding: 56px var(--pad) 72px; }
  .faq__title { font-size: 28px; }
  .faq__item summary span:first-child { font-size: 18px; }

  /* Footer: Collage 2×2, gestapelte Blöcke */
  .footer__closing { padding: 64px var(--pad) 0; }
  .footer__headline { font-size: 36px; }
  .footer__collage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer__photo { position: static; height: 140px; width: auto; }
  .footer__boden { padding: 48px var(--pad) 0; }
  .footer__brand { flex-direction: column; gap: 20px; }
  .footer__mark { width: 34px; height: auto; }
  .footer__desc { font-size: 16px; }
  .footer__contact p { font-size: 20px; line-height: 1.7; }
  .footer__cities {
    padding: 48px var(--pad) 0;
    font-size: 16px;
  }
  .footer__city-line { width: 24px; }
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 56px var(--pad) 48px;
    font-size: 12px;
  }
  .footer__legal-links { flex-wrap: wrap; gap: 20px; }
}

/* Sehr schmale Geräte (≤380 px): Hero-Collage proportional verkleinern */
@media (max-width: 380px) {
  .hero__stage { transform: scale(.88); transform-origin: top left; height: 564px; }
}

/* Reduced Motion + Mobile: Umsatz-Panel behält seine Collage-Skalierung */
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .panel--umsatz { transform: scale(.665) !important; }
}

/* Cookiebot: schwebendes Consent-Widget ausblenden — Einwilligung ist
   jederzeit über den Footer-Link „Cookies verwalten" (Cookiebot.renew) erreichbar */
#CookiebotWidget { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════
   CREATIVE ANALYTICS
   Steht bewusst am Dateiende: die eigenen Media-Queries müssen nach
   denen der Seite greifen. Figma-Vorlage: Artboard 460:3.
   ═══════════════════════════════════════════════════════════════════ */
.ca {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 96px var(--pad);
  overflow: hidden;
}
.ca::before {
  content: '';
  position: absolute;
  left: -300px; top: 172px;
  width: 880px; height: 880px;
  background: var(--accent);
  opacity: .075;
  border-radius: 50%;
  filter: blur(170px);
  pointer-events: none;
  z-index: 0;
}
.ca > * { position: relative; z-index: 1; }

.ca__cols { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 30px; align-items: start; }
.ca .eyebrow { margin-bottom: 19px; }
.ca__title s { text-decoration: line-through; text-decoration-thickness: .06em; }
.ca__title em { font-style: normal; color: var(--accent); }
.ca__desc { margin-top: 28px; max-width: 560px; font-size: 17px; line-height: 27px; color: var(--gray); }

/* ── Creative + Messwerte ── */
.ca__analysis { display: grid; grid-template-columns: 316px minmax(0, 1fr); margin-top: 72px; }
.ca__media { position: relative; aspect-ratio: 316/562; border-radius: 18px; }
.ca__corners { position: absolute; inset: -13px; pointer-events: none; }
.ca__corners i { position: absolute; background: var(--accent); }
.ca__corners i:nth-child(odd) { width: 26px; height: 2px; }
.ca__corners i:nth-child(even) { width: 2px; height: 26px; }
.ca__corners i:nth-child(1), .ca__corners i:nth-child(2) { left: 0; top: 0; }
.ca__corners i:nth-child(3), .ca__corners i:nth-child(4) { right: 0; top: 0; }
.ca__corners i:nth-child(5), .ca__corners i:nth-child(6) { left: 0; bottom: 0; }
.ca__corners i:nth-child(7), .ca__corners i:nth-child(8) { right: 0; bottom: 0; }

.ca__frame {
  position: absolute; inset: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(243, 237, 178, .35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .7);
}
.ca__frame video, .ca__frame img { width: 100%; height: 100%; object-fit: cover; }

.ca__grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease .2s; }
.ca__grid i { position: absolute; background: rgba(243, 237, 178, .13); }
.ca__grid i:nth-child(1) { left: 33.33%; top: 0; width: 1px; height: 100%; }
.ca__grid i:nth-child(2) { left: 66.66%; top: 0; width: 1px; height: 100%; }
.ca__grid i:nth-child(3) { top: 33.33%; left: 0; height: 1px; width: 100%; }
.ca__grid i:nth-child(4) { top: 66.66%; left: 0; height: 1px; width: 100%; }
.ca__ruler { position: absolute; left: 12px; right: 12px; top: 8px; height: 8px; display: flex; justify-content: space-between; pointer-events: none; opacity: 0; transition: opacity .6s ease .3s; }
.ca__ruler i { width: 1px; height: 4px; background: rgba(243, 237, 178, .3); }
.ca__ruler i:nth-child(4n+1) { height: 8px; background: rgba(243, 237, 178, .55); }

.ca__scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.ca__scan i { position: absolute; left: 0; right: 0; top: -110px; height: 108px; background: linear-gradient(to bottom, rgba(243, 237, 178, 0), rgba(243, 237, 178, .22)); }
.ca__scan i::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); box-shadow: 0 0 26px 3px rgba(243, 237, 178, .9); }

.ca__det { position: absolute; pointer-events: none; opacity: 0; transform: scale(1.08); }
.ca__det i { position: absolute; background: rgba(243, 237, 178, .85); }
.ca__det i:nth-child(odd) { width: 14px; height: 1.5px; }
.ca__det i:nth-child(even) { width: 1.5px; height: 14px; }
.ca__det i:nth-child(1), .ca__det i:nth-child(2) { left: 0; top: 0; }
.ca__det i:nth-child(3), .ca__det i:nth-child(4) { right: 0; top: 0; }
.ca__det i:nth-child(5), .ca__det i:nth-child(6) { left: 0; bottom: 0; }
.ca__det i:nth-child(7), .ca__det i:nth-child(8) { right: 0; bottom: 0; }
.ca__det b { position: absolute; left: 0; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .7); border-radius: 4px; padding: 4px 8px 4px 7px; font-size: 9px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.ca__det b::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.ca__det--hook { left: 6%; top: 15.1%; width: 84%; height: 26%; }
.ca__det--hook b { top: 68.5%; }
/* Maße nach den SICHTBAREN Eck-Winkeln in Figma, nicht nach dem Rahmenmaß */
.ca__det--produkt { left: 6%; top: 56%; width: 84%; height: 30.13%; }
.ca__det--produkt b { top: -33px; }

.ca__pill { position: absolute; left: 16px; top: 35px; display: inline-flex; align-items: center; gap: 7px; background: rgba(0, 0, 0, .62); border-radius: 999px; padding: 7px 12px 7px 11px; font-size: 11px; font-weight: 700; }
.ca__pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.ca__plats { position: absolute; right: 16px; top: 35px; display: inline-flex; align-items: center; gap: 9px; background: rgba(0, 0, 0, .62); border-radius: 999px; padding: 7px 11px; }
.ca__plats img { height: 10px; width: auto; }
/* TikTok wirkt bei gleicher Höhe optisch kleiner als Meta — daher größer gesetzt */
.ca__plats img:nth-child(2) { height: 13px; }

.ca__time { position: absolute; left: 20px; right: 20px; bottom: 44px; display: flex; justify-content: space-between; font-size: 10px; }
.ca__time b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ca__time span { color: var(--gray); }
.ca__track { position: absolute; left: 20px; right: 20px; bottom: 31px; height: 3px; background: rgba(255, 255, 255, .28); border-radius: 2px; }
.ca__track i { position: absolute; top: -4px; width: 1.5px; height: 11px; background: rgba(243, 237, 178, .75); }
.ca__track u { position: absolute; left: 0; top: 0; height: 3px; width: 50%; background: var(--accent); border-radius: 2px; }
.ca__track u::after { content: ''; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

.ca__callouts { position: relative; }
.ca__co { position: absolute; left: 0; right: 0; transform: translateY(-50%); padding-left: 104px; }
.ca__co:nth-child(1) { top: 16%; }
.ca__co:nth-child(2) { top: 50%; }
.ca__co:nth-child(3) { top: 84%; }
.ca__co::before { content: ''; position: absolute; left: -10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(243, 237, 178, .6); transform: scale(0); transition: transform .35s cubic-bezier(.2, 1.3, .4, 1); }
.ca__co::after { content: ''; position: absolute; left: -16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1px solid rgba(243, 237, 178, .4); border-radius: 50%; opacity: 0; transition: opacity .35s ease; }
.ca__lead { position: absolute; left: 13px; top: 50%; width: 83px; height: 1px; background: rgba(243, 237, 178, .4); transform: scaleX(0); transform-origin: left center; transition: transform .4s ease; }
.ca__co h3 { font-family: var(--text); font-weight: 700; font-size: 12px; color: var(--gray); margin-bottom: 2px; }
.ca__co strong { display: block; font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 46px; }
.ca__bench { display: inline-flex; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(243, 237, 178, .15); border: 1px solid rgba(243, 237, 178, .45); font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.ca__co h3, .ca__co strong, .ca__bench { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }

/* ── Orbit: Plattformen kreisen um die Hauptaussage ── */
.ca__right { margin-top: -16px; }
.orbit__stage { position: relative; width: 100%; height: 380px; }
.orbit__glow { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; background: var(--accent); opacity: .12; border-radius: 50%; filter: blur(70px); }
.orbit__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; }
.orbit__ring--o { width: 380px; height: 380px; margin: -190px 0 0 -190px; border: 1px solid rgba(255, 255, 255, .07); }
.orbit__ring--i { width: 270px; height: 270px; margin: -135px 0 0 -135px; border: 1px solid rgba(255, 255, 255, .10); }
/* Der Kern trägt die Hauptaussage und dreht sich bewusst NICHT mit.
   Flex statt Grid: Grid-Zeilen würden auf die Kreishöhe gestreckt. */
.orbit__core { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; margin: -62px 0 0 -62px; border-radius: 50%; background: #080909; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--accent); }
.orbit__core b { display: block; font-weight: 700; font-size: 14px; line-height: 17px; }
.orbit__core small { display: block; font-weight: 700; font-size: 10px; line-height: 12px; }

.orbit__spin { position: absolute; inset: 0; }
.orbit__slot { position: absolute; left: 50%; top: 50%; width: 136px; height: 56px; margin: -28px 0 0 -68px; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit__tile { width: 100%; height: 100%; border-radius: 14px; background: var(--card-dark); border: 1px solid var(--border); box-shadow: 0 14px 32px rgba(0, 0, 0, .6); display: grid; place-items: center; position: relative; }
.orbit__tile img { height: 16px; width: auto; }
.orbit__delta { position: absolute; top: -21px; right: -8px; padding: 5px 10px; border-radius: 999px; background: rgba(243, 237, 178, .16); border: 1px solid rgba(243, 237, 178, .5); font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ── Ergebnis-Zeilen ── */
.ca__results { margin-top: 150px; width: 484px; margin-left: 77px; }
.ca__bezug { font-weight: 700; font-size: 12px; color: var(--gray); margin-bottom: 17px; }
.res { display: flex; align-items: center; gap: 20px; background: var(--card-dark); border: 1px solid var(--border); border-radius: 18px; padding: 18px 26px 20px; box-shadow: 0 20px 44px rgba(0, 0, 0, .6); }
.res + .res { margin-top: 18px; }
.res__num { font-family: var(--head); font-weight: 700; font-size: 48px; line-height: 50px; width: 70px; text-align: right; flex: none; }
.res__col { flex: 1; min-width: 0; }
.res__head { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.res__head svg { flex: none; }
.res__head b { font-weight: 700; font-size: 13px; color: var(--accent); }
.res__col p { font-size: 16px; }
.res--dim .res__num, .res--dim .res__head b, .res--dim .res__col p { color: var(--gray); }
.res__thumbs { display: flex; flex: none; }
.res__thumbs span { width: 32px; height: 57px; border-radius: 5px; background: #000 center / cover no-repeat; border: 1px solid var(--border); display: block; }
.res__thumbs span + span { margin-left: -14px; }
.res--dim .res__thumbs span { opacity: .35; }
.res__thumbs--empty span { border: 1px dashed rgba(140, 140, 140, .55); background: none; }

/* ── Abschluss mit Verlaufstext ── */
.ca__claim { margin: 84px auto 0; width: max-content; max-width: 100%; padding: 26px 42px; border-radius: 999px; background: #0b0b0b; border: 1px solid var(--border); }
.ca__claim span {
  font-size: 24px;
  background: linear-gradient(100deg, #5f5f5f 0%, #5f5f5f 22%, var(--accent) 42%, #fff 58%, #5f5f5f 78%, #5f5f5f 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── Animierter Zustand ── */
.ca.in-view .ca__grid, .ca.in-view .ca__ruler { opacity: 1; }
.ca.in-view .ca__scan { opacity: 1; }
.ca.in-view .ca__scan i { animation: ca-scan 8s cubic-bezier(.45, .05, .35, 1) .4s infinite; }
/* Erkennungs-Rahmen rasten flackernd ein, jedes Mal wenn der Scan sie passiert.
   Gleiche Periode wie ca-scan, Verzögerung = Zeitpunkt des Scan-Durchgangs. */
.ca.in-view .ca__det { animation: ca-det-lock 8s linear infinite; }
.ca.in-view .ca__det--hook { animation-delay: .9s; }
.ca.in-view .ca__det--produkt { animation-delay: 1.7s; }
.ca.in-view .ca__co::before { transform: scale(1); }
.ca.in-view .ca__co::after { opacity: 1; }
.ca.in-view .ca__lead { transform: scaleX(1); }
.ca.in-view .ca__co h3, .ca.in-view .ca__co strong, .ca.in-view .ca__bench { opacity: 1; transform: none; }
.ca.in-view .ca__co:nth-child(1)::before, .ca.in-view .ca__co:nth-child(1)::after { transition-delay: .35s; }
.ca.in-view .ca__co:nth-child(1) .ca__lead { transition-delay: .45s; }
.ca.in-view .ca__co:nth-child(1) h3 { transition-delay: .70s; }
.ca.in-view .ca__co:nth-child(1) strong { transition-delay: .76s; }
.ca.in-view .ca__co:nth-child(1) .ca__bench { transition-delay: .86s; }
.ca.in-view .ca__co:nth-child(2)::before, .ca.in-view .ca__co:nth-child(2)::after { transition-delay: .75s; }
.ca.in-view .ca__co:nth-child(2) .ca__lead { transition-delay: .85s; }
.ca.in-view .ca__co:nth-child(2) h3 { transition-delay: 1.10s; }
.ca.in-view .ca__co:nth-child(2) strong { transition-delay: 1.16s; }
.ca.in-view .ca__co:nth-child(2) .ca__bench { transition-delay: 1.26s; }
.ca.in-view .ca__co:nth-child(3)::before, .ca.in-view .ca__co:nth-child(3)::after { transition-delay: 1.15s; }
.ca.in-view .ca__co:nth-child(3) .ca__lead { transition-delay: 1.25s; }
.ca.in-view .ca__co:nth-child(3) h3 { transition-delay: 1.50s; }
.ca.in-view .ca__co:nth-child(3) strong { transition-delay: 1.56s; }
.ca.in-view .ca__co:nth-child(3) .ca__bench { transition-delay: 1.66s; }

/* Dauerläufer — starten sofort, nicht erst beim Scroll-Reveal */
.orbit__spin { animation: orbit-spin 46s linear infinite; }
.orbit__tile { animation: orbit-spin-rev 46s linear infinite; }
.ca__claim span { animation: claim-shimmer 5.5s ease-in-out infinite; }

@keyframes ca-scan {
  0%   { top: -110px; opacity: 0; }
  4%   { opacity: 1; }
  26%  { top: 100%; opacity: 1; }
  31%  { top: 100%; opacity: 0; }
  100% { top: 100%; opacity: 0; }
}
@keyframes ca-det-lock {
  0%   { opacity: 0;   transform: scale(1.08); }
  2%   { opacity: .9;  transform: scale(1); }
  3%   { opacity: .08; }
  4.2% { opacity: 1; }
  5.4% { opacity: .2; }
  6.6% { opacity: 1; }
  8%   { opacity: .55; }
  9%   { opacity: 1; }
  100% { opacity: 1;   transform: scale(1); }
}
@keyframes orbit-spin     { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes orbit-spin-rev { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
@keyframes claim-shimmer  { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

@media (max-width: 1280px) {
  .ca__cols { grid-template-columns: minmax(0, 1fr) 520px; }
  .ca__results { width: 100%; margin-left: 0; }
}
@media (max-width: 1080px) {
  .ca__cols { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  /* Die obere Kachel ragt über die Bühnenkante — oben Luft lassen */
  .ca__right { margin-top: 0; padding-top: 36px; }
  .ca__analysis { margin-top: 48px; }
  .ca__results { margin-top: 64px; max-width: 600px; }
  .orbit__stage { max-width: 600px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .ca { padding: 72px var(--pad); }
  .ca__desc { font-size: 16px; line-height: 25px; }
  .ca__analysis { grid-template-columns: minmax(0, 1fr); }
  /* Video um die Eckbreite (13 px) eingerückt, damit die Viewfinder-Ecken
     bündig auf der Textkante sitzen statt darüber hinauszuragen.
     Breite explizit setzen: mit bloßem margin:auto schrumpft das Grid-Item
     auf fit-content (= 0), weil alle Kinder absolut positioniert sind */
  .ca__media { width: calc(100% - 26px); margin-inline: 13px; }
  .ca__callouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
  /* Messwerte mittig — auch der Text innerhalb der Pille */
  .ca__co { position: static; transform: none; padding-left: 0; text-align: center; }
  .ca__co::before, .ca__co::after, .ca__lead { display: none; }
  .ca__co h3 { font-size: 11px; }
  .ca__co strong { font-size: 26px; line-height: 30px; }
  .ca__bench { font-size: 10px; padding: 4px 8px; white-space: normal; text-align: center; }
  /* Orbit füllt die Breite; Boxhöhe = sichtbare Höhe, damit er mittig
     zwischen den Nachbarelementen sitzt statt oben zu kleben */
  .ca__right { padding-top: 0; }
  .orbit__stage { height: 420px; transform: none; }
  .ca__results { margin-top: 40px; }
  .ca__bezug { text-align: center; }
  .res { gap: 14px; padding: 16px 18px; }
  .res__num { font-size: 34px; line-height: 36px; width: 48px; }
  .res__col p { font-size: 15px; }
  /* Thumbnails bleiben auch mobil — nur kleiner, damit die Textspalte trägt */
  .res__thumbs span { width: 26px; height: 46px; }
  .res__thumbs span + span { margin-left: -11px; }
  .ca__claim { margin-top: 56px; padding: 20px 24px; text-align: center; }
  .ca__claim span { font-size: 17px; }
}
/* Der Orbit ist mit Kacheln rund 510 px breit. Unterhalb davon gestaffelt
   herunterskalieren; die Boxhöhe wandert mit (420 × Faktor), damit er in
   seiner Fläche zentriert bleibt und keine tote Zone entsteht. */
@media (max-width: 560px) { .orbit__stage { height: 370px; transform: scale(.88); } }
@media (max-width: 500px) { .orbit__stage { height: 323px; transform: scale(.77); } }
@media (max-width: 440px) { .orbit__stage { height: 281px; transform: scale(.67); } }
@media (max-width: 390px) { .orbit__stage { height: 239px; transform: scale(.57); } }
@media (max-width: 340px) { .orbit__stage { height: 223px; transform: scale(.53); } }
@media (max-width: 380px) {
  .ca__co strong { font-size: 22px; line-height: 26px; }
  .ca__bench { font-size: 9px; padding: 3px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .ca__grid, .ca__ruler, .ca__det { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ca__scan { opacity: 1 !important; }
  .ca__scan i { animation: none !important; top: 28.1% !important; opacity: .5; }
  .ca__co::before { transform: scale(1) !important; }
  .ca__co::after { opacity: 1 !important; }
  .ca__lead { transform: scaleX(1) !important; }
  .ca__co h3, .ca__co strong, .ca__bench { opacity: 1 !important; transform: none !important; }
  .orbit__spin, .orbit__tile { animation: none !important; }
  .ca__claim span { animation: none !important; background-position: 50% 0 !important; }
}

/* ═══════════════ EU-KI-KENNZEICHNUNG ═══════════════
   Offizielles Label (EU AI Act, Art. 50 – Transparenzpflicht) oben rechts
   in jedem KI-erzeugten Motiv. Bewusst NICHT gekennzeichnet, weil echte
   Aufnahmen: Team-Band, Porträts Jens/Peter, Footer-Collage und das
   LMAISON-Video in der Social-Commerce-Reihe. */
.ai-label {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 4;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .55) url('../assets/img/label-ai.png') center / 15px 15px no-repeat;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

/* Creatives-Wand: kleinere Karten, daher etwas kompakter */
.creatives__card .ai-label {
  top: 8px; right: 8px;
  width: 23px; height: 23px;
  border-radius: 6px;
  background-size: 13px 13px;
}

/* Analyse-Video: sitzt unter der Plattform-Pille, sonst Überlagerung */
.ca__frame .ai-label { top: 66px; right: 16px; }

@media (max-width: 900px) {
  .ai-label { top: 8px; right: 8px; width: 23px; height: 23px; border-radius: 6px; background-size: 13px 13px; }
  .creatives__card .ai-label { top: 7px; right: 7px; width: 20px; height: 20px; background-size: 11px 11px; }
  .ca__frame .ai-label { top: 58px; right: 13px; }
}

/* Positions-Varianten: wenn oben rechts Motiv-Text oder UI im Weg ist */
.ai-label--bl { top: auto; right: auto; bottom: 10px; left: 10px; }
.ai-label--br { top: auto; bottom: 10px; right: 10px; }
.creatives__card .ai-label--bl { top: auto; right: auto; bottom: 8px; left: 8px; }
.creatives__card .ai-label--br { top: auto; bottom: 8px; right: 8px; }

@media (max-width: 900px) {
  .ai-label--bl { top: auto; right: auto; bottom: 8px; left: 8px; }
  .ai-label--br { top: auto; bottom: 8px; right: 8px; }
  .creatives__card .ai-label--bl { top: auto; right: auto; bottom: 7px; left: 7px; }
  .creatives__card .ai-label--br { top: auto; bottom: 7px; right: 7px; }
}

/* oben mittig – z. B. im Analyse-Rahmen zwischen Format- und Plattform-Pille */
.ai-label--tc { top: 10px; right: auto; left: 50%; transform: translateX(-50%); }
.ca__frame .ai-label--tc { top: 35px; }
@media (max-width: 900px) {
  .ai-label--tc { top: 8px; right: auto; left: 50%; transform: translateX(-50%); }
  .ca__frame .ai-label--tc { top: 30px; }
}

/* Mobil wird .creatives__card auf position:static gestellt (Flex-Raster statt
   absoluter Bühne). Damit verliert das absolut positionierte Label seinen
   Bezugsrahmen: Solange die Reveal-Animation noch ein transform anliegen hat,
   bildet die Karte selbst einen Containing Block und das Label sitzt richtig —
   sobald .in-view auf transform:none schaltet, rutscht es heraus und wird von
   .creatives{overflow:hidden} abgeschnitten. relative stellt den Bezug wieder
   her, ohne am Fluss etwas zu ändern. */
@media (max-width: 1080px) {
  /* left/top stammen aus der Desktop-Bühne und würden bei relative als
     Versatz wirken — mit static waren sie wirkungslos, deshalb zurücksetzen. */
  .creatives__card { position: relative; left: auto; top: auto; }
}
