:root {
  --ah-bg: #030617;
  --ah-bg-alt: #060b26;
  --ah-primary: #f8b700;
  --ah-primary-soft: rgba(248, 183, 0, 0.18);
  --ah-accent: #ff6b3d;
  --ah-text: #f7f7fb;
  --ah-muted: #a5acc8;
  --ah-border-soft: rgba(255, 255, 255, 0.16);
  --ah-glass-bg: rgba(6, 11, 40, 0.82);
  --ah-radius-xl: 28px;
  --ah-radius-lg: 18px;
  --ah-shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.78);
  --ah-shadow-glow: 0 0 40px rgba(248, 183, 0, 0.65);
  --ah-transition-fast: 0.25s ease-out;
  --ah-transition-med: 0.4s ease;
}

* {
  box-sizing: border-box;
}

/* ===========================
   BODY + HINTERGRUND (04:00)
   =========================== */

body.landing-ahweb {
  margin: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 20%, rgba(6, 12, 32, 0.85), rgba(2, 4, 18, 1) 60%),
    radial-gradient(circle at 20% 80%, rgba(12, 18, 46, 0.4), rgba(3, 6, 23, 1) 70%),
    linear-gradient(180deg, #030617 0%, #02030d 100%);
  color: var(--ah-text);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.landing-ahweb::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 255, 255, 0.06),
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
}

/* ===========================
   SCROLL-PROGRESS
   =========================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ah-primary), #ffd65a, var(--ah-accent));
  z-index: 999;
  box-shadow: 0 0 10px rgba(248, 183, 0, 0.6);
  transform-origin: left center;
  transition: width 0.15s linear;
}

/* ===========================
   LAYOUT / TYPO
   =========================== */

.ah-container {
  width: 100%;
  max-width: 1150px;
  margin: 40px auto;
  padding: 0 22px;
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding: 84px 0;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

p {
  line-height: 1.6;
  color: var(--ah-muted);
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.1rem;
  color: var(--ah-muted);
  margin: 0.4rem 0 0.2rem;
}

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform var(--ah-transition-fast),
    box-shadow var(--ah-transition-fast),
    background var(--ah-transition-fast),
    border var(--ah-transition-fast),
    color var(--ah-transition-fast);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 255, 255, 0.45),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
  mix-blend-mode: screen;
}

.btn:hover::after {
  opacity: 0.5;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ah-primary), #ffd65a);
  color: #1b1300;
  box-shadow: var(--ah-shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
  filter: brightness(1.03);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ah-text);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.mini-hint {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 8px;
}

/* CTA Button Fly-In (nur Button, Text bleibt fix sichtbar) */
.cta-main {
  position: relative;
  z-index: 5;
  transform: translateY(-140px) scale(0.95);
  opacity: 0;
  box-shadow: none;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out,
    box-shadow 0.8s ease-out;
}

.cta-main--visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 24px 70px rgba(248, 183, 0, 0.7);
}

/* ===========================
   ORBS / HINTERGRUND-EFFEKTE
   =========================== */

.parallax-layer {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
  transition: transform 0.6s ease-out;
  animation: orbPulse 10s ease-in-out infinite alternate;
}

.orb-gold {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -150px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.85),
    rgba(248, 183, 0, 0.05)
  );
  opacity: 0.28;
}

.orb-blue {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(158, 180, 255, 0.5),
    rgba(23, 53, 132, 0.03)
  );
  opacity: 0.23;
}

.orb-small {
  width: 170px;
  height: 170px;
  top: 45%;
  left: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.10;
}

@keyframes orbPulse {
  from {
    opacity: 0.55;
    filter: blur(3px);
  }
  to {
    opacity: 0.9;
    filter: blur(0);
  }
}

/* Globales Orb-Feld über die ganze Seite */
.orb-field {
  position: fixed;
  inset: -200px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: bgOrbDrift 26s ease-in-out infinite alternate;
}

.bg-orb--gold1 {
  width: 520px;
  height: 520px;
  top: -80px;
  left: -120px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(248, 183, 0, 0.08)
  );
  animation-duration: 30s;
}

.bg-orb--gold2 {
  width: 380px;
  height: 380px;
  top: 40%;
  right: -140px;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 240, 180, 0.9),
    rgba(248, 183, 0, 0.05)
  );
  animation-duration: 34s;
}

.bg-orb--blue1 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: 10%;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(158, 180, 255, 0.9),
    rgba(23, 53, 132, 0.08)
  );
  animation-duration: 32s;
}

.bg-orb--blue2 {
  width: 260px;
  height: 260px;
  top: 55%;
  right: 20%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(120, 150, 255, 0.85),
    rgba(13, 30, 90, 0.08)
  );
  animation-duration: 28s;
}

.bg-orb--soft1 {
  width: 220px;
  height: 220px;
  top: 25%;
  left: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  opacity: 0.18;
  animation-duration: 24s;
}

.bg-orb--soft2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  right: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  opacity: 0.16;
  animation-duration: 30s;
}

@keyframes bgOrbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(25px, -20px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(-20px, 30px, 0) scale(1.02);
  }
}

/* ===========================
   GLASS-SHELL & HERO
   =========================== */

.glass-shell {
  position: relative;
  border-radius: 34px;
  padding: 26px 26px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(4, 11, 38, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--ah-shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.glass-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    150deg,
    rgba(248, 183, 0, 0.18),
    transparent,
    rgba(114, 137, 255, 0.22)
  );
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.glass-shell-inner {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ah-muted);
  margin-bottom: 12px;
}

.pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 8px;
  background: radial-gradient(circle, #42ff86, #0f5132);
  box-shadow: 0 0 10px rgba(66, 255, 134, 0.8);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.3fr) minmax(0, 1.7fr);
  gap: 38px;
  align-items: stretch;
}

.hero-layout > .reveal {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout > .reveal {
    justify-content: flex-start;
  }
}

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ah-muted);
  margin-bottom: 8px;
}

.hero-subline {
  margin-top: 18px;
  font-size: 1rem;
  max-width: 580px;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust {
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--ah-muted);
  max-width: 520px;
}

/* Hero-Badge rechts, schmal + höher */

.hero-badge {
  border-radius: var(--ah-radius-xl);
  padding: 28px 20px 24px;
  background: radial-gradient(circle at top left, rgba(248, 183, 0, 0.2), rgba(5, 11, 32, 0.98));
  border: 1px solid rgba(248, 183, 0, 0.5);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.9);
  color: var(--ah-text);
  position: relative;
  overflow: hidden;

  max-width: 320px;
  width: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-badge::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 220%;
  background: conic-gradient(
    from 120deg,
    rgba(255, 255, 255, 0.12),
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  opacity: 0.4;
  mix-blend-mode: soft-light;
  transform: translate3d(-40%, -60%, 0) rotate(8deg);
  pointer-events: none;
}

.hero-badge-tag {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 11, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  z-index: 3;
}

.hero-badge h3 {
  margin: 18px 0 10px;
  font-size: 1.05rem;
  position: relative;
  z-index: 2;
}

.hero-badge p {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-kicker {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--ah-muted);
}

/* ===========================
   SECTIONS / CARDS / GRIDS
   =========================== */

.section--dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section--muted {
  background: linear-gradient(180deg, #030617, #050815);
}

.section-headline {
  max-width: 1100px;
  margin-bottom: 24px;
}

.section-center {
  text-align: center;
}

.section-center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.text-highlight {
  color: var(--ah-primary);
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--ah-radius-lg);
  padding: 22px 20px 20px;
  background: var(--ah-glass-bg);
  border: 1px solid var(--ah-border-soft);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.92);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(248, 183, 0, 0.18),
    transparent,
    rgba(114, 137, 255, 0.16)
  );
  opacity: 0;
  transition: opacity var(--ah-transition-fast);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.label-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ah-muted);
  margin-bottom: 8px;
}

.label-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ah-primary);
  box-shadow: 0 0 12px rgba(248, 183, 0, 0.9);
}

.price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ah-primary);
  margin: 8px 0 10px;
}

/* Schritte */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step {
  position: relative;
  padding: 18px 16px 16px;
  border-radius: var(--ah-radius-lg);
  background: rgba(5, 13, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.step span {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ah-muted);
  margin-bottom: 4px;
}

/* ===========================
   ANGEBOT-STAGE
   =========================== */

#angebot {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at var(--ax, 50%) var(--ay, 0%),
      rgba(0, 0, 0, 0.55),
      transparent 60%
    ),
    linear-gradient(180deg, #050818, #02030e);
}

#angebot::before,
#angebot::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  mix-blend-mode: screen;
  opacity: 0.32;
  transition: transform 0.35s ease-out;
}

#angebot::before {
  width: 420px;
  height: 420px;
  top: -160px;
  left: -140px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(248, 183, 0, 0.35),
    rgba(248, 183, 0, 0)
  );
  transform: translate3d(var(--axShift, 0px), var(--ayShift, 0px), 0);
}

#angebot::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  right: -140px;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(120, 150, 255, 0.5),
    rgba(13, 30, 90, 0)
  );
  transform: translate3d(
    calc(var(--axShift, 0px) * -1),
    calc(var(--ayShift, 0px) * -1),
    0
  );
}

/* ===========================
   PROOF-SECTION / WARUM KMU
   =========================== */

/* Box mit Bullets + Portrait rechts */
.card--mini {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 26px;
}

.card--mini .card-content {
  flex: 1;
  padding-right: 24px;
}

/* Portrait rechts – EINZIGE Definition */
.portrait-mini {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
}

.portrait-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  display: block;
}

/* Mobile: Bild unter Text, zentriert */
@media (max-width: 768px) {
  .card--mini {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .card--mini .card-content {
    padding-right: 0;
  }

  .portrait-mini {
    width: 120px;
    height: 120px;
  }
}

/* Testimonials: 2 pro Zeile (Desktop) */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.testimonial-grid .card {
  height: 100%;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ===========================
   FAQ
   =========================== */

#faq {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #070c24, #030616);
}

.faq-accordion {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.faq-item-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--ah-text);
  font-size: 0.96rem;
  text-align: left;
  transition:
    background var(--ah-transition-fast),
    border var(--ah-transition-fast),
    transform var(--ah-transition-fast),
    box-shadow var(--ah-transition-fast);
}

.faq-item-btn:hover {
  background: rgba(5, 13, 40, 0.98);
  border-color: rgba(248, 183, 0, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

.faq-item-btn span.faq-q {
  flex: 1;
  padding-right: 10px;
  font-weight: 500;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition:
    transform var(--ah-transition-fast),
    background var(--ah-transition-fast),
    border var(--ah-transition-fast);
}

.faq-item-btn.is-open .faq-toggle {
  transform: rotate(180deg);
  background: var(--ah-primary);
  border-color: var(--ah-primary);
  color: #1b1300;
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 4px;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  font-size: 0.94rem;
  color: var(--ah-muted);
}

.faq-panel-inner {
  padding: 6px 10px 12px;
  border-left: 2px solid rgba(248, 183, 0, 0.7);
  margin-left: 4px;
}

/* ===========================
   SCROLL-REVEAL
   =========================== */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--ah-transition-med), transform var(--ah-transition-med);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

/* ===========================
   CTA-SECTION (#termin)
   =========================== */

#termin.section--muted {
  background:
    radial-gradient(circle at 50% 20%, rgba(248,183,0,0.08), transparent 60%),
    linear-gradient(180deg, rgba(3,6,23,0.55), rgba(3,6,23,0.15));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#termin {
  position: relative;
  z-index: 5;
  transform: translateY(0);
  transition: transform 3.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text im CTA: immer sichtbar (kein Verschwinden mehr) */
#termin h2,
#termin p {
  transform: translateY(0);
  opacity: 1;
}

/* ===========================
   FOOTER
   =========================== */

.ah-footer {
  background: linear-gradient(
    180deg,
    rgba(5, 8, 25, 0.35),
    rgba(5, 8, 25, 0.15)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px;
  font-size: 0.82rem;
  color: var(--ah-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ah-muted);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: var(--ah-primary);
  opacity: 1;
}

/* ===========================
   MOBILE-TWEAKS
   =========================== */

@media (max-width: 600px) {
  .glass-shell {
    padding: 22px 18px;
    border-radius: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    margin-top: 14px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.badge-logo {
  width: 100%;
  margin: 30px 0 14px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
