* {
  box-sizing: border-box;
}

:root {
  --purple: #5b3df5;
  --purple-dark: #2c1ca8;
  --purple-deep: #17105f;
  --violet: #8f3cff;
  --yellow: #ffcf16;
  --red: #ff3d43;
  --cyan: #14dbc8;
  --blue: #1599ff;
  --text: #111327;
  --muted: #64677d;
  --surface: #ffffff;
  --soft: #f7f6ff;
  --border: rgba(91, 61, 245, 0.13);
  --shadow: 0 24px 70px rgba(35, 24, 126, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}


/* -------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background:
    radial-gradient(circle at 12% 15%, rgba(201, 92, 255, .95), transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(112, 37, 255, .9), transparent 26%),
    linear-gradient(135deg, #4721e6 0%, #211095 48%, #3210c5 100%);
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -30% auto;
  width: 620px;
  height: 620px;
  border-radius: 42%;
  background: rgba(255,255,255,.055);
  transform: rotate(-20deg);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: .5;
}

.hero-glow-one {
  width: 420px;
  height: 420px;
  top: -180px;
  left: -110px;
  background: #b94cff;
}

.hero-glow-two {
  width: 350px;
  height: 350px;
  right: -90px;
  bottom: -120px;
  background: #742fff;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(5, 4, 40, .28);
}

.nav-link {
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  color: rgba(255,255,255,.9);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
  padding: 92px 0 110px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(10px);
  font-size: .9rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 24px 0 20px;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.07em;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: white;
  color: var(--purple);
  box-shadow: 0 14px 36px rgba(15, 8, 80, .25);
}

.button-secondary {
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.09);
  color: white;
}

.microcopy {
  margin-bottom: 0;
  font-size: .94rem;
  color: rgba(255,255,255,.68);
}

.hero-card {
  max-width: 460px;
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 34px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(15px);
  box-shadow: 0 34px 80px rgba(9, 4, 62, .34);
  transform: rotate(2deg);
}

.hero-card img {
  border-radius: 24px;
}


/* -------------------------------------------------
   HELLER MITTELBEREICH MIT LILA WELLEN
-------------------------------------------------- */

.section {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
}

/*
  Jede Sektion erhält eine vollflächige,
  sehr dezente PotSplit-Hintergrundebene.
*/

.section::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background:
    radial-gradient(
      ellipse at 8% 30%,
      rgba(143, 60, 255, .10) 0%,
      rgba(143, 60, 255, .045) 27%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 92% 72%,
      rgba(91, 61, 245, .10) 0%,
      rgba(91, 61, 245, .04) 30%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf9ff 50%,
      #ffffff 100%
    );
}

/*
  Große halbtransparente Formen sorgen
  für den leichten Wellen-Effekt.
*/

.section::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -90px;
  width: 120vw;
  height: 220px;
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 50%;
  background:
    linear-gradient(
      90deg,
      rgba(91, 61, 245, .025),
      rgba(143, 60, 255, .10),
      rgba(91, 61, 245, .035)
    );
  filter: blur(.2px);
  pointer-events: none;
}


/* -------------------------------------------------
   INTRO
-------------------------------------------------- */

.intro {
  text-align: center;
  max-width: 900px;
}

.intro::before {
  background:
    radial-gradient(
      ellipse at 0% 75%,
      rgba(91, 61, 245, .12) 0%,
      transparent 47%
    ),
    radial-gradient(
      ellipse at 95% 8%,
      rgba(143, 60, 255, .10) 0%,
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf9ff 52%,
      #ffffff 100%
    );
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--purple);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.13rem;
}


/* -------------------------------------------------
   SCHRITTE
-------------------------------------------------- */

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

#so-funktionierts::before {
  background:
    radial-gradient(
      ellipse at 15% 15%,
      rgba(91, 61, 245, .075) 0%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 88% 62%,
      rgba(143, 60, 255, .09) 0%,
      transparent 43%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f9f8ff 50%,
      #ffffff 100%
    );
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.step-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  box-shadow:
    0 12px 38px rgba(35, 24, 126, .07),
    0 2px 7px rgba(91, 61, 245, .025);
  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 45px rgba(35, 24, 126, .10),
    0 4px 12px rgba(91, 61, 245, .05);
}

.step-number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #f3efff,
      #ebe5ff
    );
  color: var(--purple);
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(91,61,245,.06);
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}


/* -------------------------------------------------
   ABRECHNUNGS-KARTE
-------------------------------------------------- */

.feature-section {
  padding-top: 24px;
}

.feature-section::before {
  background:
    radial-gradient(
      ellipse at 85% 20%,
      rgba(91, 61, 245, .10) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 10% 90%,
      rgba(143, 60, 255, .07) 0%,
      transparent 44%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf9ff 100%
    );
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 42px;
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(244, 240, 255, .98),
      rgba(255, 255, 255, .98)
    );
  border: 1px solid rgba(91, 61, 245, .15);
  box-shadow:
    0 18px 50px rgba(35, 24, 126, .08);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(91,61,245,.08);
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 35%;
  bottom: -170px;
  width: 400px;
  height: 280px;
  border-radius: 50%;
  background: rgba(143,60,255,.05);
}

.feature-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      #765aff,
      #4d2bea
    );
  color: white;
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(91,61,245,.28);
}

.feature-card h2 {
  position: relative;
  z-index: 2;
  max-width: 770px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.feature-card .eyebrow {
  position: relative;
  z-index: 2;
}

.feature-card p:last-child {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}


/* -------------------------------------------------
   ENTWICKLUNG
-------------------------------------------------- */

.development {
  padding-top: 40px;
}

.development::before {
  background:
    radial-gradient(
      ellipse at 8% 25%,
      rgba(143, 60, 255, .10) 0%,
      transparent 42%
    ),
    radial-gradient(
      ellipse at 90% 78%,
      rgba(91, 61, 245, .12) 0%,
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #faf9ff 0%,
      #ffffff 100%
    );
}

.development-card {
  position: relative;
  overflow: hidden;
  padding: 54px;
  border-radius: 32px;
  text-align: center;
  color: white;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(194,76,255,.75),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #5b3df5,
      #271387
    );
  box-shadow: var(--shadow);
}

.development-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -170px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
}

.development-card .eyebrow {
  position: relative;
  z-index: 2;
  color: #ded7ff;
}

.development-card h2 {
  position: relative;
  z-index: 2;
}

.development-card p:last-child {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255,255,255,.8);
}


/* -------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer {
  position: relative;
  z-index: 3;
  padding: 34px 0;
  background:
    linear-gradient(
      135deg,
      #111226,
      #0b0c19
    );
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.copyright {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  margin: 0;
}


/* -------------------------------------------------
   IMPRESSUM / DATENSCHUTZ
-------------------------------------------------- */

.legal {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(143,60,255,.08),
      transparent 25%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(91,61,245,.08),
      transparent 25%
    ),
    #f8f7ff;
}

.legal .nav {
  color: var(--text);
}

.legal .brand {
  color: var(--text);
}

.legal .nav-link {
  color: var(--purple);
}

.legal-card {
  max-width: 820px;
  margin: 50px auto 90px;
  padding: 42px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(35,24,126,.08);
}

.legal-card h1 {
  color: var(--text);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.5rem;
  letter-spacing: -.02em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff6d6;
  border: 1px solid #f5d86b;
  color: #574400 !important;
  font-weight: 650;
}


/* -------------------------------------------------
   TABLET / SMARTPHONE
-------------------------------------------------- */

@media (max-width: 820px) {

  .shell {
    width: min(100% - 28px, 680px);
  }

  .hero {
    min-height: auto;
  }

  .nav {
    padding-top: 16px;
  }

  .nav-link {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 70px 0 80px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 5.6rem);
  }

  .hero-card {
    max-width: 390px;
    margin: 0 auto;
    transform: none;
  }

  .section {
    padding: 72px 0;
  }

  .section::after {
    height: 170px;
    bottom: -70px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .development-card {
    padding: 42px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}


/* -------------------------------------------------
   KLEINE SMARTPHONES
-------------------------------------------------- */

@media (max-width: 480px) {

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .step-card {
    padding: 22px 18px;
  }

  .legal-card {
    padding: 28px 20px;
  }

  .section::before {
    background:
      radial-gradient(
        ellipse at 0% 25%,
        rgba(91, 61, 245, .09),
        transparent 48%
      ),
      radial-gradient(
        ellipse at 100% 75%,
        rgba(143, 60, 255, .08),
        transparent 48%
      ),
      linear-gradient(
        180deg,
        #ffffff,
        #faf9ff,
        #ffffff
      );
  }
}