/* Page-specific styles for the home page.
   Add overrides here that should not affect other pages. */

/* Hide the old hero */
.home .hero--bold { display: none; }

/* New split hero */
.home .hero--split {
  position: relative;
  padding: 120px 0 40px;
  overflow: hidden; /* versteckt Bildränder beim Zoomen */
  /* Hero-Reveal wie im Beispiel (Clip-Path Animation) */
  animation: clip-hero-anim 1.25s cubic-bezier(0.29, 0.8, 0.8, 0.98);
  will-change: clip-path;
}

/* Bild-Ebene als separates Pseudo-Element (sauberes Zoom ohne Kanten) */
.home .hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/ai-agentur6.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroImgZoom 18s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0;
}

/* Overlay-Gradients oben drüber */
.home .hero--split::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25)),
    radial-gradient(1200px 600px at 80% -20%, rgba(233,90,23,0.12), transparent 60%);
  background-position: center, center;
  background-size: cover, cover;
  pointer-events: none;
  z-index: 1;
}

/* Content über den Overlays */
.home .hero__inner,
.home .hero--split .hero__left,
.home .hero--split .hero__actions,
.home .hero--split .hero__kicker,
.home .hero--split .hero__subline,
.home .hero--split .hero__trust {
  position: relative;
  z-index: 2;
}

/* Sanftes Einblenden des Inhalts (wie im Snippet) */
.home .hero--split .hero__left,
.home .hero--split .hero__inner {
  opacity: 0;
  animation: fade-in 0.75s 1.5s linear forwards;
}

@keyframes heroImgZoom {
  0%   { transform: scale(1.06); }
  100% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .home .hero--split::before { animation: none; transform: none; }
  .home .hero--split { animation: none; }
  .home .hero--split .hero__left,
  .home .hero--split .hero__inner { opacity: 1; animation: none; }
}

.home .hero__inner { display: block; }
.home .hero--split .hero__left {
  margin-top: clamp(12px, 4vh, 40px); /* etwas mehr Abstand nach oben */
}
.home .hero__headline {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin: 0 0 6px;
}
.home .hero__kicker {
  color: var(--text-dim);
  margin: 0 0 10px;
}
.home .hero__subline { color: var(--text-dim); }
.home .hero__actions {
  margin-top: 141px;
  display: flex;
  flex-direction: column; /* stack buttons */
  gap: 12px;
}
@media (max-width: 1200px) {
  .home .hero__actions {
    margin-top:35px;
  }
}

.home .hero--split .hero__actions .btn {
  display: inline-flex;         /* Text immer vertikal mittig */
  align-items: center;
  justify-content: center;
}
.home .hero__trust { margin-top: 10px; color: var(--text-dim); font-size: .95rem; }

.home .hero__image { display: none; }
@keyframes heroFloat { to { transform: translateY(-18px); } }

@media (max-width: 350px) {
  .home .hero--split { padding: 90px 0 10px; }
  .home .hero__inner { display: block; }
  .home .hero__actions { justify-content: flex-start; }
}



/* Desktop hero: style the secondary (ghost) button next to primary */
.home .hero--split .hero__actions .btn--primary {
  margin-bottom: 1rem;
      font-size: 1.5rem;

    padding-block: inherit;
    margin-top: 2.3rem;
}

.home .hero--split .hero__actions .btn--ghost {
  font-size: clamp(16px, 1.4vw, 18px);
  padding: 12px 20px;
  border-radius: 100px;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.home .hero--split .hero__actions .btn--ghost:hover {
  background: rgba(255,255,255,0.18);
}

/* Desktop: stack width smaller and center text */

@media (min-width: 1152px) {
  .home .hero--split .hero__actions {
     font-size: clamp(8px, 0.8vw, 11px);
  padding: 12px 20px;
  border-radius: 100px;
    align-items: center; /* center the stacked buttons */
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 1150px) {
  .home .hero--split .hero__actions {
     font-size: clamp(8px, 0.8vw, 11px);
  padding: 12px 20px;
  border-radius: 100px;
    align-items: center; /* center the stacked buttons */
    text-align: center;
    justify-content: center;
  }
}

  .home .hero--split .hero__actions .btn {
    
    justify-content: center; /* center label inside inline-flex */
    text-align: center;
  }


/* Snippet-Style: Keyframes für Fade-in und Clip-Path-Reveal */
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes clip-hero-anim {
  from {
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  }
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Home sections: unify spacing and separators */
.home main > .section:not(.section--band),
.home main > .section--tint {
  box-shadow: none;
  border-radius: 0;
  padding: clamp(56px, 7.5vw, 110px) 0; /* konsistente Abstände L/R über .container */
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* dezente Linie als Trenner */
}

.home main > .section:first-of-type { border-top: 0; }

/* Headings & spacing feintuning */
.home .section__head { margin-bottom: clamp(18px, 3vw, 28px); }
.home .section__title { margin-top: 0; }
.home .showcase-item { margin-bottom: clamp(18px, 3vw, 28px); }

/* Highlights band */
.home .section--band {
  position: relative;
  padding: clamp(56px, 6.5vw, 100px) 0;
  background: linear-gradient(180deg, rgba(3, 76, 233, 0.158), rgba(3, 76, 233, 0.075));
  border: 1px solid rgba(10, 121, 224, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.home .section--band::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(8000px 400px at 80% -10%, rgba(6, 63, 185, 0.808), transparent 60%);
  pointer-events: none;
}

.home .highlights__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 900px) {
  .home .highlights__inner {
    grid-template-columns: 1fr;
  }
}

.home .showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.home .showcase-card {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.home .showcase-card a { color: var(--text); opacity: 0.9; }
.home .showcase-card a:hover { opacity: 1; }

.home .benefit-cards {
  display: grid;
  gap: 14px;
}

/* Band style variants (toggle via modifier class) */
.home .section--band.is-accent {
  background: linear-gradient(180deg, rgba(233,90,23,0.10), rgba(255,255,255,0.02));
  border-color: rgba(233,90,23,0.25);
}
.home .section--band.is-accent::before {
  background: radial-gradient(900px 460px at 80% -10%, rgba(233,90,23,0.22), transparent 60%);
}

.home .section--band.is-glass {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.home .section--band.is-glass::before {
  background: radial-gradient(800px 400px at 80% -10%, rgba(233,90,23,0.12), transparent 60%);
}

.home .section--band.is-image::before {
  background: linear-gradient(180deg, rgba(10,10,16,0.6), rgba(10,10,16,0.85)),
              url('/assets/img/background2.jpg') center/cover no-repeat;
  transform: scale(1.02);
  filter: saturate(1.05);
}
.home .section--band.is-image {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.10);
}
