/* ============================================================
   That's it. Marketing – Scroll-Landingpage
   Gliederung:
   1. Variablen & Basis
   2. Header, Progressbar, Footer, Content-Sektionen
   3. Hero-Bühne, Szene, Partikel
   4. Handy-Mockup + Instagram-Profil (Phasen 1–4)
   5. Dashboard-Screen + Plattform-Karten (Phase 5)
   6. Captions & CTA (alle Phasen)
   7. Reduced Motion (statische Variante)
   8. Responsive (Mobile-Vereinfachung)
   ============================================================ */

/* ---------- 1. Variablen & Basis ---------- */
:root {
  /* Farbwerte 1:1 aus dem offiziellen That's it. Branding-Guide */
  --bg: #0E0E0E;            /* Black */
  --surface: #1A1A1A;       /* Ink / Flächen etwas heller */
  --gold: #DC9832;          /* Brand Orange – das eine Orange, keine Tints */
  --gold-light: #DC9832;    /* Alias: Marke nutzt nur ein Orange (nur für Glow) */
  --text: #FAFAF8;          /* Off-White */
  --text-dim: #9A9A9A;      /* Neutral 400 */
  --green: #2F8F5F;         /* Success (positive Kennzahlen) */

  /* Drei Marken-Fonts mit klaren Rollen (Brand-Guide Kap. 05) */
  --font-head: 'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-label: 'Barlow Condensed', 'Montserrat', sans-serif;

  /* Handy-Maße – hier zentral anpassen (Mobile-Override in Abschnitt 8) */
  --phone-w: 300px;
  --phone-h: 620px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* League Spartan wirkt erst im schweren Schnitt wie im Brand-Guide */
h1, h2, h3 { font-family: var(--font-head); font-weight: 900; line-height: 1.05; letter-spacing: -0.01em; }

/* Signature-Motiv: oranges QUADRAT (kein runder Punkt!), sitzt wie ein
   Satzzeichen auf der Grundlinie. Das "."-Zeichen im Markup wird versteckt. */
.dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  background: var(--gold);
  margin-left: 0.08em;
  vertical-align: baseline;
  text-indent: -9999px;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Brand-Button: solides Orange (ein Orange, kein Verlauf), eckig (2px),
   auf Dunkel mit weichem Orange-Glow. Label gesperrt in Barlow Condensed. */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 2px;
  background: var(--gold);
  color: #0E0E0E;
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(220, 152, 50, 0.32);
  transition: transform 0.2s cubic-bezier(.2,.7,.2,1), box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(220, 152, 50, 0.5); }
.btn:active { background: rgba(220, 152, 50, 0.88); }
.btn--small { padding: 10px 18px; font-size: 13px; letter-spacing: 0.1em; white-space: nowrap; }

/* ---------- 2. Header, Progressbar, Footer, Content ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: rgba(255, 255, 255, 0.05);
}
.progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left center;
  transform: scaleX(0);
}

.siteheader {
  position: fixed;
  inset: 3px 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.85), rgba(14, 14, 16, 0));
}
/* Logo im Lookbook-Stil: "That's it." fett weiß + MARKETING gesperrt darunter */
.siteheader__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.siteheader__word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.siteheader__sub {
  font-family: var(--font-label);
  font-size: 9.5px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 1px;
}

.content {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 48px);
}
/* Eyebrow/Label: Barlow Condensed 300, tracking 0.4em (Brand-Guide) */
.content__kicker,
.caption__kicker {
  display: block;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
/* Kurze Linie vor dem Kicker */
.content__kicker::before,
.caption__kicker::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}
.content h2 { font-size: clamp(28px, 4vw, 44px); max-width: 700px; }
.content__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.content__grid article {
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 16px;
  padding: 28px;
}
.content__grid h3 { font-size: 19px; margin-bottom: 10px; color: var(--gold-light); }
.content__grid p { color: var(--text-dim); font-size: 15px; }

.content--cta { text-align: center; }
.content--cta h2 { margin: 0 auto 16px; }
.content--cta p { color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; }

.sitefooter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px clamp(20px, 5vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- 3. Hero-Bühne, Szene, Partikel ---------- */
.hero { position: relative; }

.hero__stage {
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;
  /* Perspektive für den 3D-Kippeffekt (Phase 5). Weit entfernt = sanft,
     damit die schwebenden Karten nicht perspektivisch gestaucht/verzerrt
     wirken (nur der Boden kippt spürbar, die Karten bleiben rechteckig). */
  perspective: 4200px;
  /* sanftes cinematisches Licht */
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(212, 175, 55, 0.07), transparent 70%),
    radial-gradient(ellipse 90% 70% at 50% 110%, rgba(232, 199, 101, 0.05), transparent 70%),
    var(--bg);
}

.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

/* aufsteigende Lichtpartikel */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particles span {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: rise 11s linear infinite;
}
.particles span:nth-child(1)  { left: 6%;  animation-delay: 0s;    scale: 0.7; }
.particles span:nth-child(2)  { left: 14%; animation-delay: 2.2s;  scale: 1.1; }
.particles span:nth-child(3)  { left: 22%; animation-delay: 5.4s;  scale: 0.5; }
.particles span:nth-child(4)  { left: 29%; animation-delay: 8.1s;  scale: 0.9; }
.particles span:nth-child(5)  { left: 37%; animation-delay: 3.6s;  scale: 0.6; }
.particles span:nth-child(6)  { left: 45%; animation-delay: 7.2s;  scale: 1.2; }
.particles span:nth-child(7)  { left: 52%; animation-delay: 1.4s;  scale: 0.8; }
.particles span:nth-child(8)  { left: 60%; animation-delay: 9.5s;  scale: 0.5; }
.particles span:nth-child(9)  { left: 67%; animation-delay: 4.8s;  scale: 1.0; }
.particles span:nth-child(10) { left: 74%; animation-delay: 6.6s;  scale: 0.7; }
.particles span:nth-child(11) { left: 81%; animation-delay: 0.9s;  scale: 0.9; }
.particles span:nth-child(12) { left: 88%; animation-delay: 5.0s;  scale: 0.6; }
.particles span:nth-child(13) { left: 94%; animation-delay: 2.9s;  scale: 1.1; }
.particles span:nth-child(14) { left: 50%; animation-delay: 10.3s; scale: 0.5; }

@keyframes rise {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 0.55; }
  85%  { opacity: 0.25; }
  100% { transform: translateY(-105vh); opacity: 0; }
}

.scrollhint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scrollhint span { animation: hintbounce 1.6s ease-in-out infinite; color: var(--gold); font-size: 16px; }
@keyframes hintbounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- 4. Handy-Mockup + Instagram-Profil ---------- */
.phone-wrap {
  transform-style: preserve-3d;
  will-change: transform;
  /* Handy anheben, damit unten mehr Abstand zu den Captions entsteht */
  translate: 0 -52px;
}

.phone {
  position: relative;
  width: var(--phone-w);
  height: var(--phone-h);
}

/* goldener Glow ums Handy – wird in Phase 3 eingeblendet */
.phone__glow {
  position: absolute;
  inset: -40px;
  border-radius: 80px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.32), transparent 68%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.phone__frame {
  position: absolute;
  inset: 0;
  border-radius: 46px;
  background: linear-gradient(160deg, #3a3a40, #17171b 42%, #26262c);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.09),
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.5);
}
/* Seitentasten */
.phone__frame::before {
  content: '';
  position: absolute;
  right: -3px;
  top: 130px;
  width: 3px;
  height: 64px;
  border-radius: 2px;
  background: #303036;
}
.phone__frame::after {
  content: '';
  position: absolute;
  left: -3px;
  top: 110px;
  width: 3px;
  height: 96px;
  border-radius: 2px;
  background: #303036;
}

.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 12px;
  background: #060607;
  z-index: 3;
}

.phone__screen {
  position: absolute;
  inset: 9px;
  border-radius: 38px;
  overflow: hidden;
  background: #101014;
  /* Vorher-Zustand: entsättigt & etwas dunkler (Phase 2 blendet auf) */
  filter: saturate(0.35) brightness(0.82) contrast(0.94);
  will-change: filter;
}

/* kühler Farbstich im Vorher-Zustand */
.screen-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(92, 118, 176, 0.20), rgba(60, 80, 130, 0.14));
  pointer-events: none;
  z-index: 2;
}

/* --- Instagram-Profil (dunkles UI) --- */
.ig {
  position: absolute;
  inset: 0;
  padding: 14px 14px 0;
  font-size: 12px;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.ig__statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  padding: 26px 6px 8px;
  color: #d8d8d8;
}
.ig__statusicons { letter-spacing: 1px; font-size: 8px; }

.ig__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 2px 10px;
}
.ig__user { font-weight: 600; font-size: 15px; }
.ig__burger { color: #bbb; }

.ig__head { display: flex; align-items: center; gap: 14px; padding: 4px 2px 10px; }

.ig__avatar { position: relative; width: 72px; height: 72px; flex: 0 0 auto; }
.ig__avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--gold), var(--gold-light), #f3e3ab, var(--gold));
  opacity: 0;
  visibility: hidden;
}
.ig__avatar-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #101014;
}
.ig__avatar-img {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}
.ig__avatar-img--before { background: linear-gradient(140deg, #3c3c42, #2a2a30); color: #77777d; }
/* Nachher: echtes generiertes Markenlogo (SB-Monogramm), Text ausgeblendet */
.ig__avatar-img--after {
  background: #14141a url(../img/avatar.jpg) center/cover no-repeat;
  color: transparent;
  opacity: 0;
  visibility: hidden;
}

.ig__stats { display: flex; flex: 1; justify-content: space-around; text-align: center; }
.ig__stats strong { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ig__stats span { font-size: 10.5px; color: var(--text-dim); }

.ig__bio { padding: 0 2px 8px; }
.ig__name { display: block; font-size: 12.5px; margin-bottom: 3px; }
.ig__bio-inner { position: relative; min-height: 56px; }
.ig__bio-text { font-size: 11px; line-height: 1.45; position: absolute; inset: 0; }
.ig__bio-text--before { color: #86868c; }
.ig__bio-text--after { color: #d9d9d2; opacity: 0; visibility: hidden; }

.ig__insights {
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
}
.ig__insights li {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 4px 2px;
  text-align: center;
  font-size: 8.5px;
  color: var(--text-dim);
  white-space: nowrap;
}
.ig__insights strong { color: var(--text); font-size: 10px; font-variant-numeric: tabular-nums; }

.ig__buttons { display: flex; gap: 6px; padding-bottom: 10px; }
.ig__btn {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px;
  background: #2a2a31;
  font-weight: 600;
  font-size: 11px;
}
.ig__btn--primary { background: var(--gold); color: #0E0E0E; }

.ig__highlights {
  display: flex;
  gap: 14px;
  padding: 0 2px 10px;
  opacity: 0;
  visibility: hidden;
}
.ig__highlights li { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; color: var(--text-dim); }
.hl {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(220, 152, 50, 0.65);
  padding: 2px;
  display: block;
  background-clip: content-box;
  background-size: cover;
  background-position: center;
}
/* Echte Highlight-Cover (Higgsfield), Gradient bleibt als Fallback */
.hl--1 { background-image: url(../img/hl-1.jpg), linear-gradient(140deg, #7a5c22, #d4af37); }
.hl--2 { background-image: url(../img/hl-2.jpg), linear-gradient(140deg, #2f4858, #33658a); }
.hl--3 { background-image: url(../img/hl-3.jpg), linear-gradient(140deg, #55423d, #a26769); }
.hl--4 { background-image: url(../img/hl-4.jpg), linear-gradient(140deg, #3c3c42, #6d6d75); }

/* --- Grid --- */
.ig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0 -14px;
  flex: 1;
}
.tile { position: relative; aspect-ratio: 1; overflow: hidden; }
.tile__before, .tile__after { position: absolute; inset: 0; }

/* Vorher: 3 langweilige echte Fotos (Higgsfield) + graue Platzhalter */
.tile__before--dull1,
.tile__before--dull2,
.tile__before--dull3 {
  background-size: cover;
  background-position: center;
  filter: grayscale(0.55) brightness(0.85);
}
.tile__before--dull1 { background-image: url(../img/before-1.jpg), linear-gradient(150deg, #46464c, #313137); }
.tile__before--dull2 { background-image: url(../img/before-2.jpg), linear-gradient(150deg, #3d4046, #2c2e33); }
.tile__before--dull3 { background-image: url(../img/before-3.jpg), linear-gradient(150deg, #414146, #35353a); }
.tile__before--ph {
  background: #1c1c21;
  border: 1px dashed rgba(255, 255, 255, 0.09);
}
.tile__before--ph::after {
  content: '＋';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.12);
  font-size: 18px;
}

/* Nachher: echte Premium-Postings (Higgsfield Nano Banana Pro, 2K),
   Farbverlauf bleibt als Fallback, falls ein Bild fehlt */
.tile__after {
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
}
.tile__after--1 { background-image: url(../img/tile-1.jpg), linear-gradient(150deg, #d99a32, #7a5c22); }
.tile__after--2 { background-image: url(../img/tile-2.jpg), linear-gradient(150deg, #a26769, #582c4d); }
.tile__after--3 { background-image: url(../img/tile-3.jpg), linear-gradient(150deg, #33658a, #1c3a52); }
.tile__after--4 { background-image: url(../img/tile-4.jpg), linear-gradient(150deg, #86bbd8, #33658a); }
.tile__after--5 { background-image: url(../img/tile-5.jpg), linear-gradient(150deg, #f0b054, #b0872a); }
.tile__after--6 { background-image: url(../img/tile-6.jpg), linear-gradient(150deg, #6d597a, #355070); }
.tile__after--7 { background-image: url(../img/tile-7.jpg), linear-gradient(150deg, #b56576, #6d597a); }
.tile__after--8 { background-image: url(../img/tile-8.jpg), linear-gradient(150deg, #2f6d5f, #1b4438); }
.tile__after--9 { background-image: url(../img/tile-9.jpg), linear-gradient(150deg, #eaac8b, #b56576); }

/* --- Nachrichten-Bubbles (Phase 4) --- */
.bubble {
  position: absolute;
  left: calc(50% + var(--phone-w) / 2 + 18px);
  top: calc(50% - 140px);
  background: var(--surface);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px 14px 14px 4px;
  padding: 9px 14px;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
}
.bubble strong { color: var(--gold-light); }
.bubble--2 { top: calc(50% - 84px); }
.bubble--3 { top: calc(50% - 28px); }

/* ---------- 5. Dashboard-Screen + Plattform-Karten (Phase 5) ---------- */

/* 3D-Boden: glühende Plattform + Holo-Grid unter dem flachen Handy.
   Liegt in der Boden-Ebene (kippt mit der Szene) → echte räumliche Tiefe. */
.stage-floor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  translate: -50% -50%;
  transform: translateZ(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.stage-floor__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 42% 42% at 50% 50%, rgba(220, 152, 50, 0.4), rgba(220, 152, 50, 0.08) 45%, transparent 68%);
  filter: blur(24px);
}
.stage-floor__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 152, 50, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 152, 50, 0.22) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  -webkit-mask: radial-gradient(ellipse 48% 48% at 50% 50%, #000 30%, transparent 70%);
  mask: radial-gradient(ellipse 48% 48% at 50% 50%, #000 30%, transparent 70%);
}
.stage-floor__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1.5px solid rgba(220, 152, 50, 0.4);
  box-shadow: 0 0 40px rgba(220, 152, 50, 0.25), inset 0 0 60px rgba(220, 152, 50, 0.12);
}

/* Dashboard-Screen: um 90° gedreht eingebaut, damit er lesbar ist,
   sobald das Handy in Querlage liegt (rotationZ: -90 der phone-wrap) */
.phone__dash {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--phone-h) - 54px);
  height: calc(var(--phone-w) - 46px);
  transform: translate(-50%, -50%) rotate(90deg);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 90% 90% at 20% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    #121216;
  border: 1px solid rgba(212, 175, 55, 0.22);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
}
.dash__head { display: flex; justify-content: space-between; align-items: baseline; }
.dash__title { font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; }
.dash__live { font-size: 10px; color: #6fcf97; letter-spacing: 0.12em; text-transform: uppercase; }
.dash__big { display: flex; align-items: baseline; gap: 10px; }
.dash__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 32px;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(220, 152, 50, 0.45);
  font-variant-numeric: tabular-nums;
}
.dash__label { font-size: 10.5px; color: var(--text-dim); }
.dash__bars { display: flex; flex-direction: column; gap: 7px; }
.dash__bars li { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--text-dim); }
.dash__bars span { width: 64px; flex: 0 0 auto; }
.dash__bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); display: block; }
.dash__bar b {
  display: block;
  height: 100%;
  width: calc(var(--w) * 100%);
  border-radius: 3px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(220, 152, 50, 0.5);
}

/* --- Plattform-Karten: schweben als leuchtende Holo-Panels über dem Boden --- */
.pcard {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  translate: -50% -50%;      /* Zentrierung getrennt vom GSAP-Transform */
  width: 288px;
  padding: 16px 20px 13px;
  border-radius: 4px;        /* Marke ist eckig */
  background: rgba(18, 18, 20, 0.92);
  border: 1px solid rgba(220, 152, 50, 0.45);
  /* mehrlagiger Schatten + Orange-Glow = Tiefe & Flash */
  box-shadow:
    0 40px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(220, 152, 50, 0.1),
    0 0 44px rgba(220, 152, 50, 0.22);
  backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  opacity: 0;
  visibility: hidden;
}
/* Extrudierte Rückseite → sichtbare Materialstärke im Raum */
.pcard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #0a0a0c;
  border: 1px solid rgba(220, 152, 50, 0.16);
  transform: translateZ(-16px);
}
/* Lichtkante oben */
.pcard::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.08), transparent 42%);
  pointer-events: none;
}
.pcard > * { position: relative; z-index: 1; }
/* Positionen rund ums flach liegende Handy – hier anpassen.
   Weiter außen gespreizt, damit die Karten frei stehen und sich nicht
   überlappen. --z steuert die Schwebehöhe (Parallax-Tiefe) je Karte;
   enger Bereich = gleichmäßige Größe, keine perspektivische Stauchung. */
.pcard--ig { --x: -545px; --y: -235px; --z: 130px; }
.pcard--tt { --x: 545px;  --y: -235px; --z: 115px; }
.pcard--yt { --x: -545px; --y: 250px;  --z: 105px; }
.pcard--fb { --x: 545px;  --y: 250px;  --z: 125px; }

.pcard__head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.pcard__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 18px rgba(220, 152, 50, 0.25);
}
.pcard__icon svg { width: 24px; height: 24px; display: block; }
.pcard__icon--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.pcard__icon--tt { background: #101010; box-shadow: inset 0 0 0 1px #2af0ea, 2px 2px 0 -1px rgba(254, 44, 85, 0.75), 0 0 18px rgba(42, 240, 234, 0.3); }
.pcard__icon--yt { background: #ff0033; }
.pcard__icon--fb { background: #1877f2; }
.pcard__name { font-weight: 600; font-size: 15px; }
.pcard__delta {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green);
  background: rgba(47, 143, 95, 0.16);
  border: 1px solid rgba(47, 143, 95, 0.4);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Live-Kennzahl: zählt in Phase 5 sichtbar ins Positive */
.pcard__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.pcard__stat strong {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 29px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
  text-shadow: 0 0 20px rgba(47, 143, 95, 0.4);
}
.pcard__stat span { font-size: 11px; color: var(--text-dim); }

.pcard__chart { width: 100%; height: auto; display: block; }
.pcard__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;          /* zeichnet sich per GSAP auf 0 */
  filter: drop-shadow(0 0 7px rgba(220, 152, 50, 0.7));
}
.pcard__dot { fill: var(--gold); opacity: 0; filter: drop-shadow(0 0 6px rgba(220, 152, 50, 0.9)); }

/* --- Engagement-Chips: kleine Pillen, die spielerisch reinploppen --- */
.chip {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(50% + var(--y));
  translate: -50% -50%;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}
.chip__in {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid rgba(220, 152, 50, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55), 0 0 22px rgba(220, 152, 50, 0.2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  /* sanftes Schweben – liegt auf dem Inner-Element, damit es GSAP
     (Transform am äußeren .chip) nicht in die Quere kommt */
  animation: chipfloat 3.4s ease-in-out infinite;
}
.chip__in b { color: var(--gold); font-weight: 600; }
.chip__ic {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip--1 { --x: -250px; --y: -235px; }
.chip--2 { --x: 265px;  --y: 205px; }
.chip--3 { --x: -265px; --y: 215px; }
.chip--4 { --x: 255px;  --y: -230px; }
.chip--5 { --x: 0px;    --y: 235px; }
.chip--6 { --x: 0px;    --y: -245px; }
.chip--2 .chip__in { animation-delay: 0.6s; }
.chip--3 .chip__in { animation-delay: 1.1s; }
.chip--4 .chip__in { animation-delay: 1.7s; }
.chip--5 .chip__in { animation-delay: 0.3s; }
.chip--6 .chip__in { animation-delay: 1.4s; }

@keyframes chipfloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- 6. Captions & CTA ---------- */
.captions { position: absolute; inset: 0; pointer-events: none; }

.caption {
  position: absolute;
  left: 50%;
  bottom: 5.5vh;             /* tiefer positioniert → mehr Abstand zum Handy */
  transform: translateX(-50%);
  width: min(92vw, 760px);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(24px, 3.6vw, 38px);
  opacity: 0;
  visibility: hidden;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.caption h1, .caption h2 { font-size: clamp(32px, 4.8vw, 56px); }
.caption__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--text-dim);
  margin-top: 12px;
  text-shadow: none;
}
.caption__kicker { margin-bottom: 10px; }

/* Phase 1: Intro-Text ist ab Seitenaufruf sichtbar, die Timeline blendet ihn
   beim Scrollen nur wieder aus. Die sanfte Einblendung liegt auf den Kindern,
   damit GSAP am Container korrekte Startwerte (opacity 1) vorfindet. */
.caption--1 {
  opacity: 1;
  visibility: visible;
}
.caption--1 > * { animation: softfade 1.2s ease both; }

/* Leistungs-Captions (Phasen 2–4): auf Desktop rechts neben dem Handy,
   linksbündig mit Kicker, Headline und kurzer Subheadline. Das Handy rückt
   per GSAP smooth nach links (scene x), sodass alles nebeneinander passt.
   Mobile-Override (mittig unten) steht in der Media-Query am Dateiende. */
.caption--2,
.caption--3,
.caption--4 {
  left: auto;
  right: 6vw;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  width: min(38vw, 430px);
  text-align: left;
}
.caption--2 h2,
.caption--3 h2,
.caption--4 h2 { font-size: clamp(28px, 3.6vw, 46px); }
.caption--2 .caption__sub,
.caption--3 .caption__sub,
.caption--4 .caption__sub { max-width: 400px; }

/* Phase 5: große zentrale Caption ganz oben, damit die schwebenden
   Karten darunter frei stehen */
.caption--5 { bottom: auto; top: 5vh; }

/* Phase 6: CTA mittig-oben, Szene rückt darunter */
.caption--cta { bottom: auto; top: 16vh; pointer-events: auto; }
.caption--cta .btn { margin-top: 26px; }

/* ---------- 7. Reduced Motion: statische, sanft eingeblendete Variante ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .particles span, .scrollhint span { animation: none; }
}

body.is-reduced .hero__stage {
  height: auto;
  perspective: none;
  padding: 140px 20px 60px;
  overflow: visible;
}
body.is-reduced .scene {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
body.is-reduced .phone { margin-bottom: 8px; }
body.is-reduced .captions { position: static; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 44px 0 10px; }
body.is-reduced .caption,
body.is-reduced .pcard {
  position: static;
  transform: none;
  translate: none;
  opacity: 1;
  visibility: visible;
  animation: softfade 1.2s ease both;
}
body.is-reduced .caption--1 { display: none; }   /* h1 kommt stattdessen ganz oben */
body.is-reduced .hero__stage::before {
  content: 'Dein Auftritt verdient mehr.';
  display: block;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 52px);
  margin-bottom: 48px;
}
body.is-reduced .phone__screen { filter: none; }
body.is-reduced .screen-tint { display: none; }
body.is-reduced .tile__after,
body.is-reduced .ig__avatar-ring,
body.is-reduced .ig__avatar-img--after,
body.is-reduced .ig__bio-text--after,
body.is-reduced .ig__highlights { opacity: 1; visibility: visible; }
body.is-reduced .ig__bio-text--before { opacity: 0; }
body.is-reduced .pcard__line { stroke-dashoffset: 0; }
body.is-reduced .pcard__dot { opacity: 1; }
body.is-reduced .bubble, body.is-reduced .scrollhint, body.is-reduced .phone__dash,
body.is-reduced .chip, body.is-reduced .stage-floor { display: none; }
body.is-reduced .pcard::before { display: none; }
body.is-reduced .tile__before--dull1,
body.is-reduced .tile__before--dull2,
body.is-reduced .tile__before--dull3 { filter: none; }

@keyframes softfade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 8. Responsive: Mobile-Vereinfachung ---------- */
@media (max-width: 768px) {
  :root {
    --phone-w: 234px;
    --phone-h: 484px;
  }

  .siteheader { padding: 12px 16px; }
  .siteheader__logo { font-size: 16px; }
  .btn--small { padding: 7px 12px; font-size: 11.5px; }

  .phone__frame { border-radius: 38px; }
  .phone__screen { border-radius: 31px; inset: 7px; }
  .phone__notch { width: 68px; height: 18px; top: 12px; }

  .ig { font-size: 11px; padding: 10px 10px 0; }
  .ig__statusbar { padding-top: 18px; }
  .ig__avatar { width: 56px; height: 56px; }
  .ig__avatar-img { font-size: 17px; }
  .ig__head { gap: 10px; }
  .ig__stats strong { font-size: 13px; }
  .ig__stats span { font-size: 9px; }
  .ig__grid { margin: 0 -10px; }
  /* mehr Höhe für die dreizeilige „Nachher"-Bio → kein Überlappen der Buttons */
  .ig__bio-inner { min-height: 52px; }
  .ig__bio-text { font-size: 10px; line-height: 1.4; }
  .ig__insights { gap: 5px; padding-bottom: 9px; }
  .ig__insights li { font-size: 7.5px; }
  .ig__buttons { padding-bottom: 9px; }
  .hl { width: 28px; height: 28px; }

  .phone__dash {
    width: calc(var(--phone-h) - 42px);
    height: calc(var(--phone-w) - 36px);
    padding: 12px 16px;
    border-radius: 22px;
    gap: 6px;
  }
  .dash__num { font-size: 22px; }
  .dash__title { font-size: 12px; }
  .dash__bars { gap: 5px; }

  /* Karten kompakter und näher am Handy (Szene wird stärker gezoomt) */
  .pcard { width: 190px; padding: 11px 13px 8px; }
  .pcard__name { font-size: 12px; }
  .pcard__stat strong { font-size: 19px; }
  .pcard__icon { width: 27px; height: 27px; }
  .pcard__icon svg { width: 16px; height: 16px; }
  .pcard--ig { --x: -235px; --y: -250px; }
  .pcard--tt { --x: 235px;  --y: -250px; }
  .pcard--yt { --x: -235px; --y: 250px; }
  .pcard--fb { --x: 235px;  --y: 250px; }

  /* Chips näher ans Zentrum, kleinere Schrift */
  .chip__in { font-size: 11px; padding: 6px 11px; }
  .chip--1 { --x: -180px; --y: -120px; }
  .chip--2 { --x: 185px;  --y: 110px; }
  .chip--3 { --x: -185px; --y: 120px; }
  .chip--4 { --x: 180px;  --y: -115px; }
  .chip--5 { --x: 0px;    --y: 150px; }
  .chip--6 { --x: 0px;    --y: -155px; }

  .bubble {
    left: auto;
    right: 8px;
    font-size: 11px;
    padding: 7px 10px;
  }

  /* Leistungen auf Mobile wieder mittig unten (kein Platz rechts) */
  .caption--2,
  .caption--3,
  .caption--4 {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 5.5vh;
    transform: translateX(-50%);
    width: min(92vw, 620px);
    text-align: center;
  }
  .caption--2 .caption__sub,
  .caption--3 .caption__sub,
  .caption--4 .caption__sub { max-width: none; }

  .caption--5 { top: 7vh; }
  .caption--cta { top: 12vh; }
}
