/* =========================================================
   BuildByMi – Basis, Navigation, Hero
   ========================================================= */

:root {
  /* Farben */
  --bg: #F7F6FB;
  --surface: #FFFFFF;
  --surface-2: #EFEEF5;
  --ink: #0D0B1E;
  --ink-2: #47445C;
  --muted: #8E8AA3;
  --line: rgba(13, 11, 30, 0.08);

  --brand: #5530F5;
  --brand-strong: #3A10EE;
  --brand-soft: #8B6CFF;
  --brand-tint: #ECE8FF;
  --grad: linear-gradient(135deg, #8B6CFF 0%, #5530F5 50%, #3A10EE 100%);

  /* Typo */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Sacramento", "Segoe Script", "Bradley Hand", cursive;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --header-pad: 14px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 10px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease-out);
}

.btn__icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  transition: transform .4s var(--ease-out), background-color .3s;
}

.btn:hover .btn__icon { transform: translateX(2px) rotate(-45deg); }
.btn:active { transform: scale(.98); }

/* dunkel – Navigation */
.btn--dark {
  padding: 7px 7px 7px 20px;
  background: var(--ink);
  color: #fff;
}
.btn--dark .btn__icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .14);
}
.btn--dark:hover { background: var(--brand); }
.btn--dark:hover .btn__icon { background: #fff; color: var(--brand); }

/* lila – Haupt-CTA */
.btn--primary {
  padding: 7px 7px 7px 24px;
  background: var(--grad);
  background-size: 140% 140%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow:
    0 16px 32px -14px rgba(85, 48, 245, .7),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: background-position .6s var(--ease-out), box-shadow .3s, transform .3s var(--ease-out);
}
.btn--primary .btn__icon {
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--brand);
}
.btn--primary:hover {
  background-position: 100% 50%;
  box-shadow:
    0 20px 40px -14px rgba(85, 48, 245, .8),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--ghost {
  padding: 0 24px;
  height: 54px;
  background: rgba(255, 255, 255, .6);
  border-color: rgba(13, 11, 30, .12);
  color: var(--ink);
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); }

/* hell – auf dunklen Flächen */
.btn--light {
  padding: 7px 7px 7px 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .55);
}
.btn--light .btn__icon {
  width: 40px;
  height: 40px;
  background: var(--grad);
  color: #fff;
}
.btn--light:hover { background: var(--brand-tint); }

/* Glas – zweiter Button auf farbigen Flächen */
.btn--glass {
  padding: 0 24px;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

.btn--lg { font-size: 1rem; min-height: 54px; }
.btn--lg.btn--light .btn__icon { width: 42px; height: 42px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.btn--lg.btn--primary .btn__icon { width: 42px; height: 42px; }
.btn--block { width: 100%; justify-content: space-between; }

/* Sehr schmale Handys: Button-Text darf umbrechen, statt aus dem Button zu laufen */
@media (max-width: 420px) {
  .btn { white-space: normal; line-height: 1.25; text-align: left; }
  .btn:not(:has(.btn__icon)) { text-align: center; }
  .btn--lg { font-size: .95rem; }
  .btn--lg:has(.btn__icon) { padding-left: 18px; }
}

/* Lange deutsche Wörter dürfen Überschriften nie aus dem Bild schieben */
h1, h2, h3 { overflow-wrap: break-word; }

/* =========================================================
   Navigation
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: var(--header-pad);
  transition: padding .4s var(--ease-out);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 10px 0 22px;
  margin-inline: -10px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    height .4s var(--ease-out),
    background-color .4s,
    border-color .4s,
    box-shadow .4s;
}

.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .nav,
.site-header.is-menu-open .nav {
  height: 62px;
  background: rgba(255, 255, 255, .78);
  border-color: var(--line);
  box-shadow: 0 12px 32px -16px rgba(13, 11, 30, .22);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}

/* Logo in Originalfarben auf dunkler Kapsel (Gegenstück zum CTA rechts) */
.nav__brand {
  justify-self: start;
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 18px 0 12px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 10px 24px -14px rgba(13, 11, 30, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: box-shadow .3s;
}
.nav__brand:hover { box-shadow: 0 12px 28px -12px rgba(85, 48, 245, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
.nav__brand img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(13, 11, 30, .04);
  border: 1px solid var(--line);
}

.nav__links a {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s, background-color .25s, box-shadow .25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, .75); }
.nav__links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(13, 11, 30, .06), 0 6px 14px -6px rgba(13, 11, 30, .16);
}

.nav__cta { justify-self: end; }

.nav__toggle {
  display: none;
  justify-self: end;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), top .4s var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.is-menu-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.is-menu-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* Mobiles Menü */
.mobile-menu {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 8px);
  padding: 10px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(13, 11, 30, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top center;
  transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
}
.is-menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s, transform .4s var(--ease-out), visibility 0s;
}
.mobile-menu ul { margin-bottom: 10px; }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.mobile-menu a:not(.btn):hover { background: var(--surface-2); }
.mobile-menu a[aria-current="page"] { background: var(--surface-2); }
.mobile-menu .btn { min-height: 58px; padding-left: 22px; font-size: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + var(--header-pad) + clamp(28px, 6vh, 72px));
  padding-bottom: clamp(48px, 8vh, 96px);
}

/* Hintergrund: Punktraster + lila Licht */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 11, 30, .10) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 75%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  right: -22vmax;
  top: -18vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .22), rgba(139, 108, 255, 0));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero__content {
  position: relative;
  z-index: 2;
  container-type: inline-size;
}

/* Headline */
.hero__headline { display: inline-block; max-width: 100%; }

.hero__title {
  margin: 0;
  /* skaliert mit der Spaltenbreite, damit „Umsetzungsprogramm“ in eine Zeile passt */
  font-size: clamp(2.6rem, 1.1rem + 4.2vw, 4.75rem);
  font-size: clamp(1.9rem, 9.3cqi, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
  hyphens: manual;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.line__inner { display: inline-block; }
.line--muted { color: var(--muted); }

.ms-logo {
  display: inline-block;
  width: .74em;
  height: .74em;
  margin: 0 .16em 0 .06em;
  vertical-align: -.035em;
}

/* Unterschrift */
.signature {
  position: relative;
  z-index: 1;
  width: max-content;
  max-width: 100%;
  margin: -.55em 0 .7em auto;
  padding-right: .1em;
  transform: rotate(-6deg);
  transform-origin: 100% 50%;
  font-family: var(--font-script);
  font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.9rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand);
}
.signature__text {
  display: inline-block;
  padding: 0 .35em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.signature__swoosh {
  position: absolute;
  left: .2em;
  right: .4em;
  bottom: -.12em;
  width: calc(100% - .6em);
  height: .42em;
  overflow: visible;
}
.signature__swoosh path {
  fill: none;
  stroke: var(--brand-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Lead + Aktionen */
.hero__lead {
  max-width: 35rem;
  margin: clamp(10px, 2vh, 20px) 0 0;
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;   /* kein einzelnes Wort allein in der letzten Zeile */
}
.hero__lead strong { color: var(--ink); font-weight: 700; }
.nowrap { white-space: nowrap; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vh, 36px);
}

/* Kennzahlen */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 580px;
  margin-top: clamp(28px, 5vh, 48px);
  padding: 20px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px;
}
.hero__stats li + li { border-left: 1px solid var(--line); }
.hero__stats strong {
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero__stats span {
  font-size: .85rem;
  line-height: 1.35;
  color: var(--ink-2);
}

/* ---------- Visual: schwebender Kopf ---------- */
.hero__visual {
  --px: 0;
  --py: 0;
  position: relative;
  justify-self: center;
  height: min(76vh, 720px);
  height: min(76svh, 720px);
  aspect-ratio: 927 / 1469;
  max-width: 100%;
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 135%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .42), rgba(85, 48, 245, .12) 55%, rgba(85, 48, 245, 0) 72%);
  transform: translate(calc(-50% + var(--px) * 26px), calc(-50% + var(--py) * 18px));
}

.hero__rings {
  position: absolute;
  inset: 0;
  transform: translate(calc(var(--px) * 12px), calc(var(--py) * 8px));
}
.hero__rings span {
  position: absolute;
  left: 50%;
  top: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
}
.hero__rings span:nth-child(1) {
  width: 118%;
  border: 1.5px dashed rgba(85, 48, 245, .22);
  animation: spin 80s linear infinite;
}
.hero__rings span:nth-child(2) {
  width: 88%;
  border: 1px solid rgba(85, 48, 245, .14);
}

.hero__float-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px));
}

.hero__float {
  height: 100%;
  animation: float 6.5s ease-in-out infinite;
  will-change: transform;
}
.hero__float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(13, 11, 30, .16)) drop-shadow(0 4px 10px rgba(85, 48, 245, .10));
  -webkit-user-drag: none;
  user-select: none;
}

.hero__shadow {
  position: absolute;
  left: 50%;
  bottom: -3%;
  width: 58%;
  height: 28px;
  margin-left: -29%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 11, 30, .26), rgba(13, 11, 30, 0));
  animation: shadow 6.5s ease-in-out infinite;
}

/* =========================================================
   Herausforderungen
   ========================================================= */
.problems {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(72px, 10vw, 140px);
  scroll-margin-top: calc(var(--nav-h) - 40px);
}

.problems__stage {
  --px: 0;
  --py: 0;
  position: relative;
  container-type: inline-size;
  height: 780px;
}

/* Mitte: Headline mit Orbit dahinter */
.problems__head {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: max-content;
  max-width: 46cqi;
  transform: translate(-50%, -50%);
  text-align: center;
}
/* hellt die Ringe direkt hinter dem Text ab */
.problems__head::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 120%;
  aspect-ratio: 1.7;
  translate: -50% -50%;
  background: radial-gradient(closest-side, var(--bg) 55%, rgba(247, 246, 251, 0));
}

.problems__title,
.section-title {
  margin: 0;
  font-size: clamp(2.1rem, .5rem + 3.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.text-grad {
  padding-bottom: .06em;
  background: linear-gradient(90deg, #A48BFF 0%, #5530F5 55%, #3A10EE 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.problems__lead {
  margin: 16px 0 0;
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  color: var(--ink-2);
}

/* Orbit: Ringe + kreisende Würfel */
.problems__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: 0;
  height: 0;
  translate: calc(var(--px) * 12px) calc(var(--py) * 9px);
}

.ring {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(85, 48, 245, .5);
  translate: -50% -50%;
}
.ring--1 { --size: 36cqi; }
.ring--2 { --size: 50cqi; animation: spin 140s linear infinite; }
.ring--3 { --size: 64cqi; }
.ring--4 { --size: 78cqi; border-color: rgba(85, 48, 245, .28); animation: spin 180s linear infinite reverse; }

.orbit {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  aspect-ratio: 1;
  translate: -50% -50%;
  animation: spin var(--dur) linear infinite;
  animation-delay: var(--delay, 0s);
}
.orbit--a { --size: 64cqi; --dur: 70s; --delay: -6s; }
.orbit--b { --size: 50cqi; --dur: 54s; --delay: -30s; animation-direction: reverse; }

/* dreht gegen, damit der Würfel aufrecht bleibt */
.orbit__body {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -50%;
  animation: spin var(--dur) linear infinite reverse;
  animation-delay: var(--delay, 0s);
}
.orbit--b .orbit__body { animation-direction: normal; }

.cube {
  width: 54px;
  height: auto;
  rotate: 14deg;
  filter: drop-shadow(0 16px 12px rgba(13, 11, 30, .18));
  animation: bob 5s ease-in-out infinite;
}
.cube--sm { width: 38px; rotate: -12deg; animation-delay: -2.4s; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Karten */
.problems__list {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.problem {
  position: absolute;
  width: min(290px, 25cqi);
  pointer-events: auto;
  translate:
    calc(var(--px) * var(--depth, 1) * -30px)
    calc(var(--py) * var(--depth, 1) * -22px);
}
/* im Uhrzeigersinn um die Headline */
.problem--1 { top: 2%; left: 6%; }
.problem--2 { top: 2%; right: 6%; }
.problem--3 { top: 50%; right: 0; transform: translateY(-50%); }
.problem--4 { bottom: 2%; right: 6%; }
.problem--5 { bottom: 2%; left: 6%; }
.problem--6 { top: 50%; left: 0; transform: translateY(-50%); }

.problem__card {
  --dur: 7.4s;
  position: relative;
  height: 100%;
  padding: 20px 22px 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 2px rgba(13, 11, 30, .04),
    0 24px 48px -28px rgba(13, 11, 30, .3);
  animation: drift var(--dur) ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -1.3s);
  transition: box-shadow .4s, border-color .4s;
}
.problem:nth-child(even) .problem__card { --dur: 6.3s; }

.problem__card:hover {
  animation-play-state: paused;
  border-color: rgba(85, 48, 245, .28);
  box-shadow:
    0 1px 2px rgba(13, 11, 30, .04),
    0 30px 60px -28px rgba(85, 48, 245, .45);
}

.problem__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.problem__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  transition: color .3s;
}
.problem__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.problem__card:hover .problem__icon { background: var(--grad); color: #fff; }

.problem__num {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.problem h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.problem p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-2);
}

/* =========================================================
   Lösung (Video)
   ========================================================= */
.solution {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(40px, 6vw, 80px) clamp(80px, 11vw, 150px);
}
/* feine Verbindungslinie von den Herausforderungen zur Lösung */
.solution::before {
  content: "";
  display: block;
  width: 1.5px;
  height: clamp(48px, 7vw, 88px);
  margin: 0 auto clamp(24px, 3vw, 36px);
  background: linear-gradient(rgba(85, 48, 245, 0), var(--brand));
}

.solution__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.solution__lead {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
}

/* Rahmen um das Video – wie die Navigation: helles Glas */
.video-frame {
  position: relative;
  max-width: 1040px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  padding: 10px;
  border-radius: 36px;
  background: rgba(255, 255, 255, .65);
  border: 1px solid var(--line);
  box-shadow: 0 50px 100px -50px rgba(13, 11, 30, .55);
}
.video-frame::before {
  content: "";
  position: absolute;
  inset: 12% 8% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .5), rgba(139, 108, 255, 0));
  filter: blur(30px);
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 27px;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.video__poster {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(55% 75% at 76% 42%, rgba(85, 48, 245, .6), rgba(85, 48, 245, 0) 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(139, 108, 255, .28), rgba(139, 108, 255, 0) 70%),
    var(--ink);
  transition: opacity .5s var(--ease-out), visibility 0s .5s;
}
/* Punktraster */
.video__poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 20%, transparent 80%);
}

.video__ring {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 46%;
  aspect-ratio: 1;
  translate: 0 -50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .2);
  animation: spin 120s linear infinite;
}

.video__bust {
  position: absolute;
  right: 9%;
  bottom: -14%;
  height: 112%;
  width: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  animation: float 6.5s ease-in-out infinite;
}

.video__copy {
  position: absolute;
  left: 6.5%;
  top: 50%;
  translate: 0 -50%;
  max-width: 50%;
  color: #fff;
}
.video__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
}
.video__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF5A5F;
  box-shadow: 0 0 0 4px rgba(255, 90, 95, .25);
}
.video__title {
  margin: 18px 0 26px;
  font-size: clamp(1.5rem, .9rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.video__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.video__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 18px 40px -12px rgba(85, 48, 245, .8);
  transition: transform .4s var(--ease-out);
}
.video__btn svg { margin-left: 4px; }
.video__btn::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: ping 2.4s var(--ease-out) infinite;
}

/* Klickfläche über dem ganzen Video */
.video__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.video:hover .video__btn,
.video:focus-within .video__btn { transform: scale(1.08); }
.video__play:focus-visible { outline-offset: -4px; }

.video__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video.is-playing .video__poster { opacity: 0; visibility: hidden; }
.video.is-playing .video__play { display: none; }

.video-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* Drei Säulen – Gegenstück zu den Karten oben */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 8px 0;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -32px rgba(13, 11, 30, .28);
}
.pillar { padding: 28px 32px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(85, 48, 245, .8);
}
.pillar__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.pillar p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.solution__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* =========================================================
   Digitale Kompetenz – farbiges Panel mit Kartenfächer
   ========================================================= */
.competence {
  padding: clamp(8px, 2vw, 24px) clamp(8px, 1.4vw, 20px);
}

.competence__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px);
  border-radius: clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(85, 48, 245, .9), rgba(85, 48, 245, 0) 70%),
    radial-gradient(42% 52% at 100% 0%, rgba(164, 139, 255, .5), rgba(164, 139, 255, 0) 70%),
    radial-gradient(38% 48% at 0% 18%, rgba(58, 16, 238, .6), rgba(58, 16, 238, 0) 70%),
    linear-gradient(180deg, #120A36 0%, #1B0E58 100%);
}
/* Punktraster */
.competence__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .2));
}

.competence__head {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.competence__title-wrap { container-type: inline-size; }

.competence__title {
  margin: 0;
  font-size: clamp(2.2rem, 1rem + 4vw, 4.6rem);
  font-size: clamp(2rem, 9.6cqi, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.text-grad-light {
  padding-bottom: .06em;
  background: linear-gradient(90deg, #E2DAFF 0%, #A48BFF 60%, #8B6CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.competence__quote {
  margin: .35em 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 1rem + 1.8vw, 2.6rem);
  line-height: 1.4;
  color: #C2B3FF;
  rotate: -4deg;
  transform-origin: left center;
}
.script-reveal { display: inline-block; padding: 0 .35em 0 .1em; }

.competence__statement {
  margin: 0 0 16px;
  font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.competence__text {
  margin: 0;
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
}
.competence__text strong { color: #fff; }

/* ---------- Der Fächer ---------- */
.fan {
  --step: clamp(150px, 14.2vw, 196px);
  position: relative;
  height: 430px;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  list-style: none;
}

.fan__item {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 224px;
  margin-left: -112px;
  transform:
    translateX(calc((var(--i) - 2.5) * var(--step)))
    translateY(var(--y, 0px))
    rotate(calc((var(--i) - 2.5) * 5deg));
  transition: transform 1.2s var(--ease-out), opacity .7s var(--ease-out);
  transition-delay: calc(150ms + var(--i) * 90ms);
}
.fan__item:hover { z-index: 10; }

.fan__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 300px;
  padding: 24px;
  border-radius: 26px;
  box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .6);
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.fan__item:hover .fan__card {
  transform: translateY(-26px) scale(1.04);
  box-shadow: 0 44px 70px -26px rgba(0, 0, 0, .7);
}

.fan__num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.fan__card h3 {
  margin: auto 0 8px;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.fan__card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
}
/* B-Logo klein und transparent oben rechts auf jeder Karte */
.fan__card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  aspect-ratio: 170 / 192;
  background: url("../img/logo-mark-dark.webp") center / contain no-repeat;
  opacity: .22;
  pointer-events: none;
}
.fan__card--ink::after,
.fan__card--brand::after { background-image: url("../img/logo-mark.webp"); }
.fan__card--ink::after { opacity: .38; }
.fan__card--brand::after { opacity: .45; }
/* im Fächer liegt die nächste Karte über der rechten Kante */
.fan__item:not(:last-child) .fan__card::after { right: 44px; }

/* Text bleibt im sichtbaren Teil, wenn die nächste Karte überlappt */
.fan__item:not(:last-child) .fan__card h3,
.fan__item:not(:last-child) .fan__card p { padding-right: 30px; }

.fan__card--light { background: #fff; color: var(--ink); }
.fan__card--light .fan__num {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fan__card--light p { color: var(--ink-2); }

.fan__card--ink {
  background: #0D0B1E;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}
.fan__card--ink .fan__num { color: #A48BFF; }
.fan__card--ink p { color: rgba(255, 255, 255, .66); }

.fan__card--brand {
  background: linear-gradient(160deg, #9C84FF 0%, #5530F5 55%, #3A10EE 100%);
  color: #fff;
  box-shadow: 0 34px 60px -22px rgba(139, 108, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.fan__card--brand p { color: rgba(255, 255, 255, .86); }

/* kleiner Würfel auf der letzten Karte */
.fan__cube {
  position: absolute;
  top: -34px;
  left: 50%;
  width: 50px;
  margin-left: -25px;
  height: auto;
  rotate: 12deg;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .35));
  animation: bob 4.5s ease-in-out infinite;
}

.fan-caption {
  margin: clamp(8px, 2vw, 24px) 0 0;
  text-align: center;
  font-size: .95rem;
  color: rgba(255, 255, 255, .7);
}
.fan-hint {
  display: none;
  margin-top: 6px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* =========================================================
   Vergleich: Microsoft-Partner – BuildByMi – Schulung
   ========================================================= */
.compare {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(80px, 11vw, 150px);
}
/* weiches Lila hinter der BuildByMi-Karte */
.compare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: -1;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 108, 255, .22), rgba(139, 108, 255, 0));
}

.compare__head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.compare__lead {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
}

/* Raster: 8 Zeilen (Kopf, 6 Punkte, Fuß) – per Subgrid über alle Karten auf einer Höhe */
.cmp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: repeat(8, auto);
  column-gap: clamp(14px, 2vw, 24px);
  max-width: 1180px;
  margin: clamp(48px, 6vw, 80px) auto 0;
}

.cmp__card {
  grid-row: span 8;
  display: grid;
  grid-template-rows: subgrid;
  border-radius: 28px;
}
.cmp__list {
  grid-row: span 6;
  display: grid;
  grid-template-rows: subgrid;
  margin: 18px 0 0;
}
.cmp__foot { align-self: end; margin-top: 22px; }

/* Seitenkarten: hell, etwas kürzer */
.cmp__card--side {
  margin-block: 24px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -36px rgba(13, 11, 30, .3);
}

/* BuildByMi: dunkel, erhöht, mit Lila-Licht */
.cmp__card--bbm {
  position: relative;
  z-index: 1;
  padding: 54px 30px;
  color: #fff;
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(85, 48, 245, .6), rgba(85, 48, 245, 0) 70%),
    radial-gradient(70% 40% at 100% 100%, rgba(139, 108, 255, .32), rgba(139, 108, 255, 0) 70%),
    #120A36;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    0 60px 100px -50px rgba(85, 48, 245, .75),
    0 30px 60px -36px rgba(13, 11, 30, .55);
}

.cmp__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cmp__type {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink-2);
}
.cmp__type svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmp__top h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.cmp__logo { margin: 0 0 14px; }
.cmp__logo img { height: 58px; width: auto; }

.cmp__tag {
  margin: 8px 0 0;
  font-size: .94rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.cmp__card--bbm .cmp__tag { font-size: 1rem; color: rgba(255, 255, 255, .78); }

.cmp__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.cmp__card--bbm .cmp__row { border-top-color: rgba(255, 255, 255, .1); }

.cmp__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--surface-2);
  color: #A19DB3;
}
.cmp__ico::before {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cmp__card--bbm .cmp__ico {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(139, 108, 255, .9);
}
.cmp__card--bbm .cmp__ico::before {
  width: 13px;
  height: 13px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.cmp__label {
  display: block;
  margin-bottom: 3px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.cmp__card--bbm .cmp__label { color: #A48BFF; }

.cmp__row p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.cmp__card--bbm .cmp__row p { color: #fff; font-weight: 500; }

.cmp__verdict {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-2);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
.cmp__verdict span {
  display: block;
  margin-bottom: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   Über mich
   ========================================================= */
.about {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(80px, 10vw, 140px);
}
.about .container {
  /* Namensgröße skaliert mit der Containerbreite */
  --name: clamp(3.4rem, 16.6cqi, 13rem);
  container-type: inline-size;
}

.about__name {
  position: relative;
  z-index: 0;
  margin: 0;
  font-size: var(--name);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
/* Platz für die Ü-Punkte (auch im Farbverlauf, der nur in der Box gemalt wird) */
.about__name .line { padding-top: .18em; margin-top: -.18em; }
.about__name .text-grad { padding-top: .18em; margin-top: -.18em; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

/* Fotokarte im Polaroid-Stil, überlappt den Namen */
.about__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  margin: calc(var(--name) * -.3) 0 0;
  padding: 12px 12px 0;
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 44px 80px -40px rgba(13, 11, 30, .5);
  rotate: -4deg;
  transition: rotate .6s var(--ease-out);
}
.about__frame {
  position: relative;
  aspect-ratio: 800 / 880;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface-2);
}
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Foto → Low-Poly: von unten nach oben „gescannt“ */
.about__img--twin {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1);
}
.about__scan {
  position: absolute;
  left: -10%;
  right: -10%;
  top: calc(100% + 8px);
  height: 3px;
  background: linear-gradient(90deg, rgba(164, 139, 255, 0), #A48BFF 30%, #fff 50%, #A48BFF 70%, rgba(164, 139, 255, 0));
  box-shadow: 0 0 22px 6px rgba(139, 108, 255, .55);
  transition: top 1.1s cubic-bezier(.65, 0, .35, 1);
}
.about__photo.is-twin .about__img--twin { clip-path: inset(0 0 0 0); }
.about__photo.is-twin .about__scan { top: -12px; }
.about__photo.is-twin { rotate: -1deg; }

@media (hover: hover) {
  .about__photo:hover { rotate: -1deg; }
  .about__photo:hover .about__img--twin { clip-path: inset(0 0 0 0); }
  .about__photo:hover .about__scan { top: -12px; }
}

.about__caption {
  padding: 10px 8px 14px;
  text-align: center;
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
}

.about__cube {
  position: absolute;
  right: -24px;
  bottom: 58px;
  width: 58px;
  height: auto;
  rotate: 12deg;
  filter: drop-shadow(0 16px 12px rgba(13, 11, 30, .2));
  animation: bob 4.8s ease-in-out infinite;
}

/* Text */
.about__content { padding-top: clamp(24px, 3vw, 44px); }

.about__intro {
  margin: 0;
  font-size: clamp(1.25rem, 1rem + .9vw, 1.65rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.about__quote {
  margin: 20px 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.55rem, 1.1rem + 1.1vw, 2.2rem);
  line-height: 1.4;
  color: var(--brand);
  rotate: -2deg;
  transform-origin: left center;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.about__stats li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.about__stats strong {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.about__stats span {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Microsoft-Zertifikate */
.about__certs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  padding: 12px 22px 12px 12px;
  border-radius: 18px;
  background: var(--brand-tint);
  border: 1px solid rgba(85, 48, 245, .16);
}
.about__badges { display: flex; flex: none; gap: 4px; }
.about__badges img {
  width: 84px;
  height: 84px;
  filter: drop-shadow(0 8px 10px rgba(0, 32, 80, .18));
  transition: transform .4s var(--ease-out);
}
.about__badges img:nth-child(1) { rotate: -6deg; }
.about__badges img:nth-child(2) { rotate: 5deg; }
.about__certs:hover .about__badges img { transform: translateY(-4px) scale(1.04); }
.about__certs:hover .about__badges img:nth-child(2) { transition-delay: .06s; }

.about__certs-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.about__certs-text strong {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--brand-strong);
}
.about__certs-text span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #6B54C9;
}

.about__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .25s, color .25s;
}
.about__link:hover { border-color: var(--brand); color: var(--brand); }
.about__link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   Pakete – schwarz, Karten stapeln sich beim Scrollen
   ========================================================= */
.packages {
  --stick: calc(var(--nav-h) + var(--header-pad) + 36px);
  position: relative;
  isolation: isolate;
  overflow: clip;           /* clip statt hidden: Sticky funktioniert weiter */
  padding-block: clamp(90px, 11vw, 150px);
  border-radius: clamp(28px, 4vw, 56px);
  background: #0B0A17;
  color: #fff;
}
/* feines Linienraster */
.packages::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 25% 15%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 25% 15%, #000 10%, transparent 75%);
}
/* Lichtflecken */
.packages::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 35% at 10% 5%, rgba(85, 48, 245, .45), rgba(85, 48, 245, 0) 70%),
    radial-gradient(45% 40% at 95% 95%, rgba(139, 108, 255, .28), rgba(139, 108, 255, 0) 70%);
}

.packages__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(32px, 5vw, 80px);
}

.packages__intro {
  position: sticky;
  top: var(--stick);
}
.packages__title {
  margin: 0;
  font-size: clamp(2.8rem, 1rem + 4.6vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}
.packages__lead {
  max-width: 26rem;
  margin: 22px 0 0;
  font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, .7);
}

.packages__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
  margin-top: 36px;
}
.packages__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  transition: color .3s, background-color .3s, border-color .3s;
}
.packages__nav a span {
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #A48BFF;
}
.packages__nav a:hover { color: #fff; }
.packages__nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .12);
}

.packages__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.pkg {
  position: sticky;
  top: calc(var(--stick) + var(--i, 0) * 26px);
}

.pkg__card {
  --p: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: 32px;
  box-shadow:
    0 -24px 60px -36px rgba(0, 0, 0, .7),
    0 40px 80px -40px rgba(0, 0, 0, .8);
  transform: scale(calc(1 - var(--p) * .06));
  transform-origin: 50% 0;
  filter: brightness(calc(1 - var(--p) * .4));
  will-change: transform;
}

.pkg__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pkg__label {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
}
.pkg__num {
  margin: -14px -6px 0 0;
  font-size: clamp(4rem, 2.4rem + 3vw, 6.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .28);
}

.pkg__title {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
}
.pkg__sub {
  max-width: 34rem;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .75);
}

.pkg__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 28px 0 0;
}
.pkg__list li {
  display: flex;
  gap: 12px;
  font-size: .97rem;
  line-height: 1.5;
}
.pkg__list li::before {
  content: "";
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: -1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--grad);
}

.pkg__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: auto;
  padding-top: 28px;
}
.pkg__fit {
  max-width: 24rem;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .75);
}
.pkg__fit span {
  display: block;
  margin-bottom: 2px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* 01 Community: dunkles Glas */
.pkg--community .pkg__card {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(85, 48, 245, .35), rgba(85, 48, 245, 0) 70%),
    linear-gradient(160deg, #1E1A3A 0%, #141126 100%);
  border: 1px solid rgba(255, 255, 255, .1);
}

/* 02 Einzel: weiß */
.pkg--single .pkg__card {
  background: #fff;
  color: var(--ink);
}
.pkg--single .pkg__label { background: var(--brand-tint); border-color: rgba(85, 48, 245, .16); color: var(--brand-strong); }
.pkg--single .pkg__num { -webkit-text-stroke-color: rgba(85, 48, 245, .25); }
.pkg--single .pkg__sub,
.pkg--single .pkg__fit { color: var(--ink-2); }
.pkg--single .pkg__fit span { color: var(--muted); }

/* 03 Team: Lila-Verlauf */
.pkg--team .pkg__card {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(196, 180, 255, .55), rgba(196, 180, 255, 0) 65%),
    linear-gradient(150deg, #6A47FF 0%, #4318F0 55%, #2C0AB5 100%);
  border: 1px solid rgba(255, 255, 255, .2);
}
.pkg--team .pkg__label { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); }
.pkg--team .pkg__num { -webkit-text-stroke-color: rgba(255, 255, 255, .4); }
.pkg--team .pkg__sub,
.pkg--team .pkg__fit { color: rgba(255, 255, 255, .85); }
.pkg--team .pkg__fit span { color: rgba(255, 255, 255, .6); }
.pkg--team .pkg__list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234318F0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 14px no-repeat,
    #fff;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  padding-block: clamp(90px, 11vw, 150px);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.faq__aside {
  position: sticky;
  top: calc(var(--nav-h) + var(--header-pad) + 40px);
}
.faq__title {
  margin: 0;
  font-size: clamp(2.8rem, 1rem + 4.6vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
}
.faq__quote {
  margin: .5em 0 0;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem);
  line-height: 1.4;
  color: var(--brand);
  rotate: -3deg;
  transform-origin: left center;
}

.faq__ask {
  max-width: 340px;
  margin-top: 36px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -30px rgba(13, 11, 30, .3);
}
.faq__ask p { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.faq__ask strong { display: block; margin-bottom: 2px; font-size: 1.02rem; color: var(--ink); }
.faq__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand);
  word-break: break-all;
}
.faq__mail svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq__mail:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Akkordeon (details/summary, immer nur eins offen über name="faq") */
.faq__item { border-top: 1px solid rgba(13, 11, 30, .1); }
.faq__item:last-child { border-bottom: 1px solid rgba(13, 11, 30, .1); }

.faq__item summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  border-radius: 12px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num {
  font-size: .75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}
.faq__q {
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  transition: color .25s;
}
.faq__item summary:hover .faq__q { color: var(--brand); }

.faq__icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  translate: -50% -50%;
  transition: rotate .35s var(--ease-out), background-color .3s;
}
.faq__icon::after { rotate: 90deg; }
.faq__item[open] .faq__icon { background: var(--brand); border-color: var(--brand); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { rotate: 0deg; }

.faq__a { padding: 0 48px 24px; }
.faq__a p {
  max-width: 40rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* weiches Auf- und Zuklappen, wo der Browser es kann */
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

/* =========================================================
   Abschluss-CTA
   ========================================================= */
.cta {
  padding: 0 clamp(8px, 1.4vw, 20px) clamp(24px, 4vw, 56px);
}
.cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 110px);
  border-radius: clamp(28px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(55% 70% at 80% 40%, rgba(196, 180, 255, .5), rgba(196, 180, 255, 0) 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(26, 8, 120, .6), rgba(26, 8, 120, 0) 70%),
    linear-gradient(135deg, #7556FF 0%, #5530F5 45%, #3A10EE 100%);
}
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000 10%, transparent 75%);
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.cta__title {
  margin: 0;
  font-size: clamp(2.4rem, 1rem + 4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.cta__title .text-grad-light {
  background: linear-gradient(90deg, #fff 0%, #E2DAFF 60%, #C9BCFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.cta__lead {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
}
.cta__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
}
.cta__trust li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234318F0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 12px no-repeat,
    #fff;
}
.cta__note {
  margin: 18px 0 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
}

.cta__visual {
  position: relative;
  justify-self: center;
  height: min(520px, 60vh);
  aspect-ratio: 927 / 1469;
}
.cta__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .3);
  animation: spin 120s linear infinite;
}
.cta__float {
  position: relative;
  height: 100%;
  animation: float 6.5s ease-in-out infinite;
}
.cta__float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(20, 6, 90, .45));
}
.cta__sig {
  position: absolute;
  right: 88%;
  bottom: 8%;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.6rem);
  line-height: 1.3;
  color: #fff;
  rotate: -8deg;
  white-space: nowrap;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 100px);
  background: #0B0A17;
  color: rgba(255, 255, 255, .72);
}
.site-footer a { transition: color .25s; }
.site-footer a:not(.btn):hover { color: #fff; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr) minmax(0, 1fr) minmax(0, .65fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer__brand p {
  max-width: 24rem;
  margin: 20px 0 24px;
  font-size: .98rem;
  line-height: 1.65;
}
.footer__logo img { height: 52px; width: auto; }

.footer__col h3 {
  margin: 4px 0 16px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.footer__col .footer__sub { margin-top: 28px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a,
.footer__col address {
  font-size: .98rem;
  font-style: normal;
  line-height: 1.75;
}
.footer__col address a { overflow-wrap: anywhere; }
/* Handy: Footer-Links mit genug Fläche zum Tippen */
@media (max-width: 767px) {
  .footer__col ul { gap: 2px; }
  .footer__col li > a { display: inline-block; padding-block: 8px; }
  .footer__col address a { display: inline-block; padding-block: 6px; }
  .footer__col .footer__linkbtn { padding-block: 8px; }
}
.footer__linkbtn {
  padding: 0;
  border: 0;
  background: none;
  font-size: .98rem;
  line-height: 1.75;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .25s;
}
.footer__linkbtn:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom p { margin: 0; }

/* großer Schriftzug als Abschluss */
.footer__wordmark {
  margin: 0 0 -.22em;
  font-size: clamp(4rem, 19vw, 19rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, .05);
  user-select: none;
}
.footer__wordmark span {
  background: linear-gradient(180deg, rgba(139, 108, 255, .55), rgba(139, 108, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
   Rechtliche Seiten (Impressum, Datenschutz)
   ========================================================= */
.legal {
  padding: calc(var(--nav-h) + var(--header-pad) + clamp(40px, 7vw, 80px)) 0 clamp(72px, 9vw, 120px);
}
.legal__wrap { max-width: calc(800px + 2 * var(--gutter)); }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand);
}
.legal__back:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal__title {
  hyphens: manual;
  margin: 18px 0 clamp(28px, 4vw, 44px);
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.legal__body {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.75;
}
.legal__body h2 {
  margin: 2em 0 .5em;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--ink);
}
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body h3 {
  margin: 1.6em 0 .4em;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.legal__body p { margin: 0 0 1em; }
.legal__body ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.legal__body li { margin-bottom: .3em; }
.legal__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }

.legal__facts { display: grid; gap: 14px; margin: 0 0 1em; }
.legal__facts div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
}
.legal__facts dt { font-weight: 700; color: var(--ink); }
.legal__facts dd { margin: 0; }

/* =========================================================
   Einblend-Animationen (nur mit JS, siehe main.js)
   Hero startet beim Laden, alle anderen Sections beim Scrollen.
   ========================================================= */
.js .reveal,
.js .hero__visual {
  opacity: 0;
  transform: translateY(18px);
}
.js .line__inner { transform: translateY(110%); }
.js .signature__text { clip-path: inset(0 100% 0 0); }
.js .signature__swoosh { clip-path: inset(-50% 100% -50% 0); }
.js .ring,
.js .orbit { opacity: 0; scale: .85; }
.js .problem { opacity: 0; scale: .9; }

.js .is-inview .reveal {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .is-inview .line__inner {
  transform: none;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .is-inview .hero__visual {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s var(--ease-out) .25s, transform 1.4s var(--ease-out) .25s;
}
/* „Schreiben“ der Unterschrift */
.js .is-inview .signature__text {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.7s cubic-bezier(.5, .05, .35, 1) .85s;
}
.js .is-inview .signature__swoosh {
  clip-path: inset(-50% -2% -50% 0);
  transition: clip-path .7s cubic-bezier(.6, 0, .3, 1) 2.45s;
}
.js .is-inview .ring,
.js .is-inview .orbit {
  opacity: 1;
  scale: 1;
  transition: opacity 1.2s var(--ease-out), scale 1.4s var(--ease-out);
}
.js .is-inview .ring--2 { transition-delay: .1s; }
.js .is-inview .ring--3 { transition-delay: .2s; }
.js .is-inview .ring--4 { transition-delay: .3s; }
.js .is-inview .orbit { transition-delay: .5s; }
.js .problem.is-inview {
  opacity: 1;
  scale: 1;
  transition: opacity .8s var(--ease-out), scale 1s var(--ease-out);
  transition-delay: calc(300ms + var(--i, 0) * 110ms);
}
/* Fächer: liegt erst als Stapel in der Mitte, fächert sich dann auf */
.js .fan:not(.is-inview) .fan__item {
  opacity: 0;
  transform: translateY(90px) rotate(calc((var(--i) - 2.5) * 1.5deg));
}
/* Handschrift „schreibt“ sich */
.js .script-reveal { clip-path: inset(0 100% 0 0); }
.js .is-inview .script-reveal {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s cubic-bezier(.5, .05, .35, 1) .7s;
}

/* =========================================================
   Microsoft-Icons als Akzente
   Offizielle Produkt-Icons: nie drehen, spiegeln, beschneiden oder verzerren.
   (Darum bleiben die kreisenden Icons aufrecht und alle Icons komplett sichtbar.)
   ========================================================= */
.app-tile {
  --s: 64px;
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: calc(var(--s) * .3);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 18px 34px -14px rgba(36, 18, 120, .38), 0 2px 6px rgba(13, 11, 30, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: bob 5.5s ease-in-out infinite;
  pointer-events: none;
}
.app-tile img {
  display: block;
  width: 58%;
  height: 58%;
  -webkit-user-drag: none;
  user-select: none;
}
.app-tile--sm { --s: 50px; }

/* Hero: drei Kacheln um die Büste, bewegen sich gegen die Büste (Tiefe) */
.hero__apps {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform: translate(calc(var(--px) * 24px), calc(var(--py) * 18px));
}
.hero__apps .app-tile--apps     { left: -15%; top: 17%; --s: 66px; }
.hero__apps .app-tile--automate { right: -17%; top: 47%; --s: 74px; animation-delay: -2s; }
.hero__apps .app-tile--copilot  { left: -3%; top: 75%; --s: 56px; animation-delay: -3.6s; }

.js .hero__apps .app-tile { opacity: 0; scale: .55; }
.js .hero.is-inview .hero__apps .app-tile {
  opacity: 1;
  scale: 1;
  transition: opacity .6s var(--ease-out), scale .9s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(950ms + var(--i) * 150ms);
}

/* Herausforderungen: zwei Icons sitzen fest auf dem Ring, oben und unten in der Lücke zwischen den Karten
   (nicht kreisend, damit sie nie hinter einer Karte verschwinden) */
.problems__orbit .app-tile { left: 0; top: -25cqi; translate: -50% -50%; }
.problems__orbit .app-tile--ring-bottom { top: 25cqi; animation-delay: -2.8s; }

/* Große, transparente Icons im Hintergrund */
.ms-wm {
  position: absolute;
  z-index: -1;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation: drift 14s ease-in-out infinite;
}
.ms-wm-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.ms-wm-layer .ms-wm { z-index: auto; }
.competence .ms-wm--1 {
  top: clamp(28px, 3.4vw, 48px);
  right: clamp(16px, 4vw, 72px);
  width: clamp(200px, 27vw, 400px);
  opacity: .1;
}
.faq { position: relative; isolation: isolate; }
/* rechts hinter der Fragenliste: die linke Spalte wandert mit (sticky) und würde das Icon sonst verdecken */
.faq .ms-wm--faq {
  top: 50%;
  right: clamp(8px, 6vw, 120px);
  width: clamp(220px, 28vw, 420px);
  margin-top: calc(clamp(220px, 28vw, 420px) / -2);
  opacity: .06;
}

/* Über mich: Icons direkt neben den Produktnamen */
.about__products {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
.about__products > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.about__products img {
  flex: none;
  width: 18px;
  height: 18px;
}

/* Lösung: Copilot Studio sitzt an der oberen rechten Ecke des Videos */
.video-frame .app-tile--vf { z-index: 3; top: -30px; right: -30px; --s: 76px; animation-delay: -1.2s; }

/* Kleine Icon-Reihe in Karten (z. B. Events: „Live dabei sein“) */
.ms-chips { display: flex; gap: 8px; margin: 0 0 14px; }
.ms-chip {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .55);
}
.ms-chip img { width: 22px; height: 22px; }

/* Abschluss-CTA: zwei Kacheln am Ring */
.cta__visual .app-tile { z-index: 2; }
.cta__visual .app-tile--cta-1 { left: -24%; top: 12%; --s: 60px; }
.cta__visual .app-tile--cta-2 { right: -26%; top: 56%; --s: 68px; animation-delay: -2.6s; }

@media (max-width: 1180px) {
  .problems__orbit .app-tile { display: none; }   /* Karten stehen hier im Raster, kein freier Ring */
}
@media (max-width: 960px) {
  .hero__apps .app-tile--apps     { left: -10%; --s: 58px; }
  .hero__apps .app-tile--automate { right: -12%; --s: 64px; }
  .hero__apps .app-tile--copilot  { --s: 50px; }
  .competence .ms-wm--1 { top: clamp(16px, 4vw, 40px); right: 16px; width: clamp(150px, 30vw, 230px); opacity: .08; }
}
@media (max-width: 640px) {
  .hero__apps .app-tile--apps     { left: -4%; top: 12%; --s: 48px; }
  .hero__apps .app-tile--automate { right: -6%; --s: 54px; }
  .hero__apps .app-tile--copilot  { left: 2%; top: 72%; --s: 42px; }
  .video-frame .app-tile--vf { top: -20px; right: -4px; --s: 52px; }
  .cta__visual .app-tile--cta-1 { left: -34%; --s: 46px; }
  .cta__visual .app-tile--cta-2 { right: -38%; --s: 52px; }
  .faq .ms-wm--faq { right: 8px; width: 200px; margin-top: -100px; opacity: .05; }
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%, 100% { transform: translateY(-14px); }
  50%      { transform: translateY(14px); }
}
@keyframes shadow {
  0%, 100% { transform: scaleX(.78); opacity: .55; }
  50%      { transform: scaleX(1);   opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: translateY(-7px); }
  50%      { transform: translateY(7px); }
}
@keyframes bob {
  0%, 100% { transform: translateY(-5px); }
  50%      { transform: translateY(5px); }
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes ping {
  0%   { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links a { padding: 9px 14px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; --header-pad: 10px; }

  .nav { grid-template-columns: 1fr auto; padding: 0 8px 0 18px; }
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__brand { height: 46px; padding: 0 16px 0 10px; }
  .nav__brand img { height: 32px; }

  .hero {
    min-height: 0;
    padding-top: calc(var(--nav-h) + var(--header-pad) + 36px);
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__visual { height: min(62svh, 520px); }
  .hero__bg::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 50% at 50% 75%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 50% at 50% 75%, #000 10%, transparent 75%);
  }
}

@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

@media (max-width: 560px) {
  .signature { margin-top: -.05em; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn--ghost { justify-content: center; }

  .hero__stats { padding: 16px 0; }
  .hero__stats li { padding: 0 12px; }
  .hero__stats span { font-size: .78rem; }

  .hero__visual { height: min(56svh, 440px); }
}

/* Herausforderungen: unter 1180px Headline oben, Karten im Raster */
@media (max-width: 1180px) {
  .problems__stage { height: auto; }
  .problems__head {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
    margin-inline: auto;
    padding-block: clamp(100px, 18cqi, 160px);
  }
  .ring--1 { --size: 58cqi; }
  .ring--2 { --size: 78cqi; }
  .ring--3 { --size: 98cqi; }
  .ring--4 { --size: 118cqi; }
  .orbit--a { --size: 98cqi; }
  .orbit--b { --size: 78cqi; }

  .problems__list {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: clamp(8px, 4cqi, 40px);
  }
  .problem {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
    translate: none;
  }
  .problem__card { animation: none; }
  .js .problem.is-inview { transition-delay: 0s; }
  .js .problem.is-inview:nth-child(even) { transition-delay: 90ms; }
}

@media (max-width: 640px) {
  .problems__head { padding-block: 96px; }
  .ring--1 { --size: 84cqi; }
  .ring--2 { --size: 108cqi; }
  .ring--3 { --size: 132cqi; }
  .ring--4 { --size: 156cqi; }
  .orbit--a { --size: 132cqi; }
  .orbit--b { --size: 108cqi; }
  .cube { width: 42px; }
  .cube--sm { width: 30px; }

  .problems__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .problem__card { padding: 18px; border-radius: 20px; }
  .problem__top { margin-bottom: 12px; }
  .js .problem.is-inview,
  .js .problem.is-inview:nth-child(even) { transition-delay: 0s; }
}

/* Lösung: Video und Säulen */
@media (max-width: 960px) {
  .video { aspect-ratio: 4 / 3; }
  .video__copy { max-width: 58%; }
  .video__ring { width: 62%; right: -6%; }
  .video__bust { right: 2%; height: 92%; bottom: -10%; }
}

@media (max-width: 820px) {
  .pillars { grid-template-columns: minmax(0, 1fr); padding: 0 4px; }
  .pillar { padding: 24px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .video-frame { padding: 6px; border-radius: 28px; }
  .video { aspect-ratio: 4 / 5; border-radius: 23px; }
  .video__copy {
    top: 7%;
    left: 7%;
    right: 7%;
    translate: none;
    max-width: none;
  }
  .video__title { margin: 14px 0 0; font-size: 1.45rem; }
  .video__cta { position: absolute; left: 0; top: calc(100% + 20px); }
  .video__btn { width: 62px; height: 62px; }
  .video__ring { width: 90%; right: -26%; top: 72%; }
  .video__bust { right: -8%; height: 62%; bottom: -8%; }
  .solution__actions .btn { width: 100%; justify-content: space-between; }
}

/* Kompetenz: unter 1100px Karten nebeneinander zum Wischen */
@media (max-width: 1100px) {
  .competence__head { grid-template-columns: minmax(0, 1fr); align-items: start; }

  .fan {
    display: flex;
    gap: 14px;
    height: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: 44px var(--gutter) 36px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .fan::-webkit-scrollbar { display: none; }

  .fan__item {
    --rm: -1.5deg;
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 232px;
    margin: 0;
    scroll-snap-align: start;
    transform: rotate(var(--rm));
  }
  .fan__item:nth-child(even) { --rm: 1.5deg; }
  .js .fan:not(.is-inview) .fan__item { transform: translateY(40px) rotate(var(--rm)); }
  .fan__item:hover .fan__card { transform: translateY(-10px); }
  .fan__item:not(:last-child) .fan__card h3,
  .fan__item:not(:last-child) .fan__card p { padding-right: 0; }
  .fan__item:not(:last-child) .fan__card::after { right: 22px; }

  .fan-hint { display: block; }
}

@media (max-width: 560px) {
  .fan__item { flex-basis: 220px; }
  .fan__card { height: 280px; }
}

/* Vergleich: schmaler werden, dann stapeln (BuildByMi zuerst) */
@media (max-width: 1100px) {
  .cmp__card--side { padding: 28px 22px; }
  .cmp__card--bbm { padding: 52px 24px; }
}

@media (max-width: 900px) {
  .cmp {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 16px;
    max-width: 560px;
  }
  .cmp__card { grid-row: auto; display: flex; flex-direction: column; }
  .cmp__list { display: block; }
  .cmp__card--bbm { order: -1; padding: 36px 24px; }
  .cmp__card--side { margin-block: 0; padding: 26px 22px; }
  .cmp__foot { align-self: stretch; }
}

/* Über mich: gestapelt */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about__photo {
    max-width: 340px;
    margin: calc(var(--name) * -.2) auto 0;
  }
  .about__cube { right: -14px; width: 48px; }
  .about__content { padding-top: 44px; }
}

@media (max-width: 560px) {
  .about__photo { max-width: 290px; }
  .about__caption { font-size: 1.7rem; }
  .about__stats li { padding: 14px 12px; }
  .about__stats strong { font-size: 1.5rem; }
  .about__stats span { font-size: .75rem; }
  .about__certs { gap: 12px; padding-right: 16px; }
  .about__badges img { width: 68px; height: 68px; }
}

/* Pakete: ohne Stapel-Effekt, wenn der Platz fehlt */
@media (max-width: 900px), (max-height: 720px) {
  .packages__grid { grid-template-columns: minmax(0, 1fr); }
  .packages__intro { position: static; }
  .packages__nav { display: none; }
  .pkg { position: relative; top: auto; }
  .pkg__card { min-height: 0; transform: none; filter: none; }
  .packages__list { gap: 16px; }
}

@media (max-width: 640px) {
  .packages { border-radius: 28px; }
  .pkg__card { border-radius: 26px; padding: 26px 22px; }
  .pkg__list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pkg__foot .btn { width: 100%; justify-content: space-between; }
}

/* FAQ, CTA, Footer: schmale Bildschirme */
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__aside { position: static; }
  .faq__ask { display: none; }

  .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .cta__visual { order: -1; height: 300px; }
  .cta__visual { margin-bottom: 44px; }
  .cta__sig { right: auto; left: 50%; bottom: -46px; translate: -50% 0; rotate: -4deg; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .faq__item summary { grid-template-columns: 30px minmax(0, 1fr) 30px; padding: 18px 0; }
  .faq__icon { width: 30px; height: 30px; }
  .faq__a { padding: 0 0 20px 38px; }

  .cta__actions .btn { width: 100%; justify-content: space-between; white-space: normal; text-align: left; line-height: 1.25; }
  .cta__actions .btn--glass { justify-content: center; }
  .cta__visual { height: 240px; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .legal__facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Video läuft: immer 16:9 */
.video.is-playing { aspect-ratio: 16 / 9; }

/* Weniger Bewegung, wenn gewünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
