/* Angebots-Leitfaden: Scroll, Kinetic Type, Cursor, Parallax, Lottie */

.angebot-page {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
}

.angebot-page,
.angebot-page a,
.angebot-page button {
  cursor: auto;
}

.angebot-aurora,
.angebot-particles {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.angebot-particles.is-fireworks {
  z-index: 2;
}

.angebot-aurora {
  overflow: hidden;
}

.angebot-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  will-change: transform;
}

.angebot-aurora span:nth-child(1) {
  width: 520px;
  height: 520px;
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, #18d68f55, transparent 68%);
}

.angebot-aurora span:nth-child(2) {
  width: 420px;
  height: 420px;
  bottom: 8%;
  left: -10%;
  background: radial-gradient(circle, #0a7a5255, transparent 70%);
}

.angebot-aurora span:nth-child(3) {
  width: 280px;
  height: 280px;
  top: 42%;
  left: 48%;
  background: radial-gradient(circle, #18d68f33, transparent 70%);
}

.angebot-cursor {
  display: none !important;
}

.angebot-cursor-ring,
.angebot-cursor-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.angebot-cursor-ring {
  border: 1.5px solid #18d68fcc;
  transition: transform 0.25s, border-color 0.2s, background 0.2s;
}

.angebot-cursor.is-hover .angebot-cursor-ring {
  transform: scale(1.55);
  background: #18d68f22;
  border-color: #18d68f;
}

.angebot-cursor-dot {
  inset: 15px;
  background: var(--color-accent);
  box-shadow: 0 0 12px #18d68faa;
}

.angebot-hero,
.angebot-guide,
.angebot-cta {
  position: relative;
  z-index: 1;
}

.angebot-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5rem;
}

.angebot-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.angebot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.angebot-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 #18d68f88;
  animation: angebot-ping 2.2s ease-out infinite;
}

@keyframes angebot-ping {
  0% { box-shadow: 0 0 0 0 #18d68f88; }
  70% { box-shadow: 0 0 0 12px #18d68f00; }
  100% { box-shadow: 0 0 0 0 #18d68f00; }
}

.angebot-kinetic {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.angebot-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.angebot-word,
.angebot-word em {
  font-style: normal;
}

.angebot-kinetic .angebot-word {
  animation: angebot-word-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 80ms + 120ms);
}

.angebot-word--accent em {
  display: inline-block;
  color: var(--color-accent);
  background: linear-gradient(90deg, #18d68f 0%, #fff 45%, #18d68f 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: angebot-wipe 1.6s ease 0.55s both;
}

.angebot-break {
  display: block;
  height: 0;
}

@keyframes angebot-word-in {
  from { opacity: 0; transform: translateY(1.1em); letter-spacing: 0.08em; }
  to { opacity: 1; transform: none; letter-spacing: inherit; }
}

@keyframes angebot-wipe {
  from { background-position: 120% 0; }
  to { background-position: 0 0; }
}

.angebot-lead {
  color: #ffffffb8;
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.angebot-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.angebot-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  color: #ffffff99;
  font-size: 0.875rem;
}

.angebot-trust b {
  color: #fff;
  font-weight: 600;
}

.angebot-orbit {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.angebot-orbit-svg {
  position: absolute;
  width: 400px;
  height: 400px;
  pointer-events: none;
}

.angebot-orbit-path {
  fill: none;
  stroke: #18d68f66;
  stroke-width: 1.4;
  stroke-dasharray: 740;
  stroke-dashoffset: 740;
  animation: angebot-draw 2.4s ease forwards 0.2s, angebot-spin 48s linear infinite 2.4s;
  transform-origin: 200px 200px;
}

.angebot-orbit-path--dash {
  stroke-dasharray: 10 14;
  stroke-dashoffset: 0;
  opacity: 0.55;
  animation: angebot-spin 72s linear infinite reverse;
}

@keyframes angebot-draw {
  to { stroke-dashoffset: 0; }
}

.angebot-orbit-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid #18d68f22;
  border-radius: 50%;
}

.angebot-orbit-ring:nth-of-type(1) { width: 280px; height: 280px; }
.angebot-orbit-ring:nth-of-type(2) { width: 380px; height: 380px; border-style: dashed; }

.angebot-orbit-core {
  position: relative;
  z-index: 2;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #18d68f, #0a5c3d 70%);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: 0 0 60px #18d68f55;
  z-index: 2;
}

.angebot-orbit-core strong {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1;
}

.angebot-orbit-core span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.angebot-orbit-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0a2418;
  border: 1px solid #18d68f66;
  color: var(--color-accent);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 8px 24px #0006;
}

.angebot-orbit-node:nth-of-type(3) { top: 8%; left: 46%; }
.angebot-orbit-node:nth-of-type(4) { top: 32%; right: 6%; }
.angebot-orbit-node:nth-of-type(5) { bottom: 18%; right: 18%; }
.angebot-orbit-node:nth-of-type(6) { bottom: 10%; left: 18%; }
.angebot-orbit-node:nth-of-type(7) { top: 28%; left: 4%; }

@keyframes angebot-spin { to { transform: rotate(360deg); } }

.angebot-progress-sticky {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 0.45rem 0 0.7rem;
  background: linear-gradient(180deg, #00180f 78%, #00180ff2 100%);
  pointer-events: auto;
}

.angebot-progress-spacer {
  height: 4.5rem;
}

.angebot-progress {
  background: linear-gradient(#00180ff2, #00180fe6);
  border: 1px solid #ffffff14;
  border-radius: 999px;
  margin: 0 auto;
  max-width: calc(var(--container-max) - 40px);
  padding: 0.7rem 0.75rem 0.55rem;
  backdrop-filter: blur(12px);
  position: relative;
}

.angebot-progress-track {
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: #ffffff14;
  border-radius: 2px;
  overflow: hidden;
}

.angebot-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-accent);
  box-shadow: 0 0 10px #18d68f;
  transition: width 0.25s ease;
}

.angebot-progress-list {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
}

.angebot-progress-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff73;
  font-size: 0.75rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  text-align: left;
  transition: color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.angebot-progress-item.is-active,
.angebot-progress-item.is-done {
  color: #fff;
}

.angebot-progress-item.is-active {
  background: #18d68f22;
  transform: scale(1.04);
  box-shadow: 0 0 18px #18d68f33;
}

.angebot-progress-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.angebot-progress-item.is-active .angebot-progress-num,
.angebot-progress-item.is-done .angebot-progress-num {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.angebot-progress-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.angebot-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

.angebot-guide-main {
  min-width: 0;
  grid-column: 1;
}

.angebot-spine {
  display: none;
}

.angebot-build {
  grid-column: 2;
  position: sticky;
  top: 160px;
  align-self: start;
  z-index: 12;
  width: 100%;
}

.angebot-build-inner {
  position: relative;
}

.angebot-build-status {
  margin: 0 0 0.65rem;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.angebot-house {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid #18d68f33;
  height: min(52vh, 520px);
  background: #052016;
  box-shadow: 0 24px 80px #00000059;
}

.angebot-house-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 1.1s ease;
  z-index: 0;
}

.angebot-build.is-stage-1 .angebot-house-layer[data-stage="1"],
.angebot-build.is-stage-2 .angebot-house-layer[data-stage="2"],
.angebot-build.is-stage-3 .angebot-house-layer[data-stage="3"],
.angebot-build.is-stage-4 .angebot-house-layer[data-stage="4"],
.angebot-build.is-stage-5 .angebot-house-layer[data-stage="5"] {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.angebot-build-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.angebot-build-track li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.2rem 0.15rem;
  border-radius: 999px;
  border: 1px solid #ffffff22;
  color: #ffffff73;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.1;
  cursor: pointer;
}

.angebot-build-track li.is-done {
  border-color: #18d68f66;
  color: #fff;
  background: #18d68f18;
}

.angebot-build-track li.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-dark);
}

.angebot-house-caption {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #00180fdd;
  border: 1px solid #18d68f55;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

.angebot-build .ai-image-disclosure {
  display: block;
  margin: 0.45rem 0 0.9rem;
  color: #ffffff73;
  font-size: 0.7rem;
}

.angebot-build-cards {
  position: relative;
  min-height: 17rem;
}

.angebot-build-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.angebot-build-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  position: relative;
}

.angebot-step {
  position: relative;
  min-height: 72vh;
  display: block;
  padding: 3.5rem 0;
  scroll-margin-top: 11rem;
}

.angebot-step-index {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.35rem;
}

.angebot-phase {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid #18d68f55;
  border-radius: 999px;
  background: #18d68f18;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
}

.angebot-step-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.angebot-step.is-visible .angebot-step-title .angebot-word {
  animation: angebot-word-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 70ms);
}

.angebot-step p {
  color: #ffffffb3;
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.angebot-points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.angebot-points li {
  display: flex;
  gap: 0.7rem;
  color: #ffffffd4;
  font-size: 0.95rem;
  line-height: 1.5;
}

.angebot-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  flex-shrink: 0;
  box-shadow: none;
  transform: scale(0.6);
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.angebot-step.is-visible .angebot-points li::before {
  background: var(--color-accent);
  transform: scale(1);
  box-shadow: 0 0 10px #18d68f99;
}

.angebot-step.is-visible .angebot-points li:nth-child(2)::before { transition-delay: 0.12s; }
.angebot-step.is-visible .angebot-points li:nth-child(3)::before { transition-delay: 0.24s; }

.angebot-card {
  background: linear-gradient(180deg, #0d2a1dcc, #072016cc);
  border: 1px solid #18d68f33;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 24px 80px #00000059;
  opacity: 1;
  filter: none;
  transform: none;
  transform-style: preserve-3d;
  transition: box-shadow 0.3s;
}

.angebot-lottie {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #18d68f22;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.angebot-lottie svg {
  display: block;
}

.angebot-metric {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.angebot-metric-label {
  color: #ffffff99;
  font-size: 0.875rem;
  margin-top: 0.35rem;
  margin-bottom: 1.25rem;
}

.angebot-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.angebot-mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #ffffff14;
  font-size: 0.9rem;
  color: #ffffffc9;
}

.angebot-mini-list span {
  color: #ffffff80;
}

.angebot-cta {
  padding: 2rem 0 6rem;
}

.angebot-cta-card {
  background: radial-gradient(ellipse at 80% 0%, #18d68f33, transparent 50%), linear-gradient(180deg, #0d2a1d, #072016);
  border: 1px solid #18d68f44;
  border-radius: 32px;
  padding: 3.25rem 2.5rem;
  text-align: center;
  overflow: hidden;
}

.angebot-cta-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.85rem;
}

.angebot-cta-card p {
  color: #ffffffb8;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.angebot-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

@media (width <= 1024px) {
  .angebot-hero-inner {
    grid-template-columns: 1fr;
  }

  .angebot-orbit { min-height: 340px; }
  .angebot-orbit-svg { width: 320px; height: 320px; }
  .angebot-spine { display: none; }
}

@media (width <= 768px) {
  .angebot-page {
    overflow-x: visible;
  }

  .angebot-hero {
    padding: 6.75rem 0 2.25rem;
    min-height: auto;
  }

  .angebot-kinetic {
    font-size: clamp(1.65rem, 8.2vw, 2.35rem);
  }

  .angebot-lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }

  .angebot-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .angebot-hero-actions .btn,
  .angebot-cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .angebot-trust {
    gap: 0.55rem 1rem;
    font-size: 0.8125rem;
  }

  .angebot-orbit {
    min-height: 250px;
  }

  .angebot-orbit-svg {
    width: 240px;
    height: 240px;
  }

  .angebot-orbit-core {
    width: 112px;
    height: 112px;
  }

  .angebot-orbit-core strong {
    font-size: 1.75rem;
  }

  .angebot-orbit-node {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .angebot-progress-sticky {
    top: 84px;
    padding: 0.28rem 12px 0.4rem;
  }

  .angebot-progress-spacer {
    height: 4.75rem;
  }

  .angebot-progress {
    border-radius: 18px;
    padding: 0.55rem 0.35rem 0.4rem;
    max-width: none;
  }

  .angebot-progress-item {
    flex-direction: column;
    justify-content: center;
    gap: 0.18rem;
    padding: 0.2rem 0.08rem;
    font-size: 0.58rem;
    text-align: center;
  }

  .angebot-progress-item.is-active {
    transform: none;
    box-shadow: none;
  }

  .angebot-progress-label {
    display: block;
    font-size: 0.55rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .angebot-progress-num {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
  }

  .angebot-step {
    min-height: auto;
    padding: 1.6rem 0 2rem;
    scroll-margin-top: 17rem;
  }

  .angebot-guide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .angebot-guide-main {
    grid-column: 1;
    grid-row: 1;
    padding-top: min(42vh, 280px);
  }

  .angebot-build {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    position: sticky;
    top: 148px;
    align-self: start;
    pointer-events: none;
    z-index: 14;
    padding-bottom: 0;
    background: none;
  }

  .angebot-build-inner {
    pointer-events: auto;
    padding-bottom: 0.35rem;
    background: linear-gradient(#00180fee 82%, #00180f00);
  }

  .angebot-house {
    height: min(32vh, 220px);
    border-radius: 16px;
  }

  .angebot-house-layer {
    object-position: center 62%;
  }

  .angebot-build-cards {
    min-height: 0;
  }

  .angebot-build-track {
    gap: 0.22rem;
    margin-bottom: 0.5rem;
  }

  .angebot-build-track li {
    min-height: 1.55rem;
    font-size: 0.55rem;
    padding: 0.15rem 0.05rem;
  }

  .angebot-house-caption {
    left: 0.45rem;
    right: 0.45rem;
    bottom: 0.45rem;
    font-size: 0.72rem;
    padding: 0.32rem 0.5rem;
  }

  .angebot-phase {
    font-size: 0.75rem;
    padding: 0.22rem 0.55rem;
  }

  .angebot-step-title {
    font-size: clamp(1.45rem, 7vw, 1.95rem);
  }

  .angebot-step p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .angebot-card {
    padding: 1.25rem;
    border-radius: 20px;
  }

  .angebot-metric {
    font-size: 1.85rem;
  }

  .angebot-lottie {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .angebot-mini-list li {
    font-size: 0.82rem;
    gap: 0.5rem;
  }

  .angebot-cta {
    padding: 1.25rem 0 3.5rem;
  }

  .angebot-cta-card {
    border-radius: 22px;
    padding: 1.75rem 1.15rem;
  }

  .angebot-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .angebot-orbit-ring:nth-of-type(2) {
    width: 260px;
    height: 260px;
  }
}

@media (width <= 480px) {
  .angebot-progress-label {
    font-size: 0.5rem;
  }

  .angebot-house {
    height: min(28vh, 180px);
  }

  .angebot-build-card .angebot-lottie {
    display: none;
  }

  .angebot-build-card .angebot-mini-list li:nth-child(n+3) {
    display: none;
  }

  .angebot-orbit-node:nth-of-type(5),
  .angebot-orbit-node:nth-of-type(7) {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .angebot-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .angebot-aurora span,
  .angebot-orbit-path,
  .angebot-kicker-dot,
  .angebot-kinetic .angebot-word,
  .angebot-word--accent em,
  .angebot-step.is-visible .angebot-step-title .angebot-word {
    animation: none !important;
  }

  .angebot-kinetic .angebot-word {
    opacity: 1;
    transform: none;
    filter: none;
    letter-spacing: inherit;
  }

  .angebot-word--accent em {
    -webkit-text-fill-color: var(--color-accent);
    color: var(--color-accent);
    background: none;
  }

  .angebot-particles,
  .angebot-cursor {
    display: none !important;
  }

  .angebot-house-layer,
  .angebot-build-card {
    transition: none !important;
  }
}
