/* ============ Lenis (weiches Scrollen) ============ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Navigation bekommt beim Scrollen einen Hintergrund */
.nav { transition: background-color 0.3s var(--ease-out); }
.nav.is-scrolled {
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Weicher Übergang vom Hero in den nächsten Abschnitt */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32vh;
  background: linear-gradient(to bottom,
    rgba(7, 8, 10, 0) 0%,
    rgba(7, 8, 10, 0.25) 35%,
    rgba(7, 8, 10, 0.65) 65%,
    rgba(7, 8, 10, 0.9) 85%,
    var(--bg) 100%);
  pointer-events: none;
  z-index: -1;
}

/* ============ Über mich ============ */
.about {
  position: relative;
  background: var(--bg);
}
.chapter-num {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Einstieg: Text links, Foto rechts unten angesetzt (wie Vorlage) */
.about-intro {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(96px, 14vh, 160px) var(--gutter) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(24px, 4vw, 72px);
  overflow-x: clip;
}
.about-intro::after {
  /* feine Bodenlinie, auf der das Foto "steht" */
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: 0;
  height: 1px;
  background: var(--line);
}
.about-intro-copy { align-self: center; padding-bottom: clamp(32px, 8vh, 96px); }

.about-title {
  margin: 0 0 28px;
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  perspective: 800px;
}
.about-title .line { display: block; padding-bottom: 0.06em; }
.about-title .word { display: inline-block; white-space: nowrap; }
.about-title .hi { transform-origin: 70% 90%; }
.about-title .name { color: var(--blue); }
.about-title .ch { display: inline-block; transform-origin: 50% 100%; will-change: transform; cursor: default; }

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}
.about-meta li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.02);
}

/* Was ich mache (kompakt) */
.about-what {
  max-width: 460px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}
.about-what::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 56px; height: 2px;
  background: var(--blue);
}
.about-what .chapter-num { margin-bottom: 10px; }
.about-what-text {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}

/* Foto: frei gestellt, natürlich, unten angesetzt */
.about-person {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.person-light {
  /* weiches, neutrales Licht hinter dir, damit der dunkle Pullover sich abhebt */
  position: absolute;
  left: 50%; bottom: 0;
  width: 120%;
  aspect-ratio: 1;
  translate: -50% 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(214, 222, 232, 0.16), rgba(214, 222, 232, 0.05) 38%, rgba(214, 222, 232, 0) 62%);
  pointer-events: none;
}
.person-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  will-change: transform;
}

/* Geschichte + Lösung */
.story {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) var(--gutter) clamp(96px, 16vh, 180px);
  overflow-x: clip;
}
.story-bg {
  position: absolute;
  left: 50%; bottom: 0;
  width: 1100px; height: 700px;
  translate: -50% 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(33, 156, 236, 0.18), rgba(33, 156, 236, 0) 65%);
  pointer-events: none;
  z-index: 0;
}
.facts { position: relative; z-index: 1; }

/* Fakten */
.facts-title {
  margin: 0 0 clamp(32px, 6vh, 56px);
  max-width: 820px;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.fact {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.fact::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 72px; height: 2px;
  background: var(--blue);
}
.fact-num {
  margin: 0 0 22px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 14px;
  line-height: 1;
}
.fact-count {
  font-size: clamp(72px, 9vw, 140px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.fact-of, .fact-pre {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.fact-pre { flex-basis: 100%; margin-bottom: 8px; color: var(--ink-2); }
.fact-people {
  display: flex;
  gap: clamp(6px, 1vw, 12px);
  margin: 0 0 22px;
}
.pp { flex: 1; max-width: 30px; }
.pp svg { display: block; width: 100%; height: auto; fill: rgba(255, 255, 255, 0.14); transition: fill 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.pp.is-on svg { fill: var(--blue); transform: translateY(-3px); }
.fact-text {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.4;
}
.fact-source { margin: 0; font-size: 12px; color: var(--ink-3); }

/* Produkt-Slide: Text | Box | Wusstest du, darunter Größenvergleich */
.pslide { position: relative; z-index: 1; margin-top: clamp(72px, 12vh, 140px); }
.pslide-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.solution-box { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.solution-box img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)) brightness(0.92); }
.solution-halo {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 156, 236, 0.45), rgba(33, 156, 236, 0) 65%);
  filter: blur(20px);
}
.solution-copy { max-width: 440px; }
.solution-kicker {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
}
.solution-copy h3 {
  margin: 0 0 20px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.solution-hook {
  margin: 0 0 16px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.solution-hook span { display: inline-block; }
.solution-hook .blue { color: var(--blue); }
.solution-text { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; }

/* Größenvergleich */
.compare {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  margin-top: clamp(24px, 4vh, 40px);
  padding: clamp(20px, 2.6vw, 36px) clamp(24px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
}
.compare-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.compare-title .blue { color: var(--blue); }
.compare-text { margin: 0; color: var(--ink-2); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; }
.compare-stage { width: 100%; max-width: 440px; justify-self: end; }
.compare-svg { display: block; width: 100%; height: auto; overflow: visible; }
.cmp-line { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.cmp-thin { stroke: rgba(255, 255, 255, 0.35); stroke-width: 0.6; }
.cmp-ground { stroke: var(--line); stroke-width: 0.5; }
.cmp-shadow { fill: rgba(0, 0, 0, 0.55); }
/* gezeichnete Box (Weizenstroh-Off-White) */
.bx-body { fill: #efebe3; stroke: rgba(0, 0, 0, 0.18); stroke-width: 0.5; }
.bx-panel { fill: #f5f2ec; stroke: rgba(0, 0, 0, 0.12); stroke-width: 0.5; }
.bx-knuckle, .bx-latch, .bx-latch-ear { fill: #e6e1d7; stroke: rgba(0, 0, 0, 0.2); stroke-width: 0.45; }
.bx-pin { stroke: rgba(0, 0, 0, 0.35); stroke-width: 0.5; stroke-linecap: round; }
.bx-ink { fill: none; stroke: #1d1d1f; stroke-width: 0.65; stroke-linecap: round; stroke-linejoin: round; }
.bx-text { stroke: rgba(29, 29, 31, 0.55); stroke-width: 0.9; stroke-linecap: round; }
.cmp-dim { stroke: var(--blue); stroke-width: 0.8; stroke-linecap: round; }
.cmp-dim-label { fill: var(--blue); font-family: "Poppins", sans-serif; font-size: 8px; font-weight: 700; }
.cmp-label { fill: rgba(255, 255, 255, 0.55); font-family: "Poppins", sans-serif; font-size: 7px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }

/* Wusstest du? (kompakte Zeilen rechts) */
.pslide-facts { display: flex; flex-direction: column; gap: 12px; }
.pslide-facts .chapter-num { margin-bottom: 4px; }
.dy-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.dy-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--blue);
}
.dy-row { transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out); }
@media (hover: hover) {
  .dy-row:hover { border-color: rgba(33, 156, 236, 0.35); background: rgba(255, 255, 255, 0.04); }
}
.dy-visual { border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.dy-visual svg { display: block; width: 100%; height: auto; }
.dy-head {
  margin: 0 0 4px;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.dy-count { color: var(--blue); font-variant-numeric: tabular-nums; }
.dy-text { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }

.dy-stroke { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dy-thin { stroke: rgba(255, 255, 255, 0.25); stroke-width: 1; }
.dy-awn { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1; }
.dy-grain { fill: rgba(216, 196, 154, 0); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.4; }
.dy-speck { fill: #c9b28a; opacity: 0; }
.dy-divider { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.dy-item { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; }
.dy-item-line { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.2; stroke-linecap: round; }
.dy-item-pad { fill: rgba(33, 156, 236, 0.25); stroke: var(--blue); stroke-width: 1.2; }
.dy-pill { fill: #f1efe9; stroke: rgba(0, 0, 0, 0.25); stroke-width: 0.6; }

@media (max-width: 860px) {
  .pslide-main { grid-template-columns: 1fr; gap: 24px; }
  .solution-copy { max-width: none; text-align: center; }
  .solution-box { max-width: 280px; order: -1; }
  .compare-stage { justify-self: center; }
  .compare { grid-template-columns: 1fr; text-align: center; padding: 28px 14px; }
  .cmp-label { font-size: 11px; letter-spacing: 0.04em; }
  .cmp-dim-label { font-size: 12px; }
  .about-intro { grid-template-columns: 1fr; padding-top: 88px; }
  .about-intro-copy { padding-bottom: 8px; }
  .about-person { max-width: 360px; }
  .facts-grid { grid-template-columns: 1fr; }
}
