/* ==========================================================================
   Pages — Page-specific styles, Hero variants, Process steps, etc.
   ========================================================================== */

/* ---- Hero Base ---- */
.hero {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

/* ---- Index Hero (Warm Gradient) ---- */
.hero--home {
  background: var(--gradient-hero);
  color: var(--white);
  padding: calc(var(--space-3xl) * 1.5) 0 var(--space-3xl);
  text-align: center;
}

.hero--home h1,
.hero--home h2,
.hero--home h3 {
  color: var(--white);
}

.hero--home .hero__title {
  margin-bottom: var(--space-md);
}

.hero--home .hero__subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto var(--space-md);
  opacity: 0.95;
  line-height: 1.8;
}

.hero--home .hero__tagline {
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  opacity: 0.9;
}

.hero__flow-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.7;
}

/* ---- Concentric Circles Deco [G2] ---- */
.deco-circles {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}

.deco-circles img {
  width: 100%;
  height: auto;
}

.deco-circles--top-right {
  top: -60px;
  right: -80px;
  width: 250px;
}

.deco-circles--bottom-left {
  bottom: -40px;
  left: -60px;
  width: 200px;
}

@media (min-width: 768px) {
  .deco-circles--top-right {
    width: 350px;
  }

  .deco-circles--bottom-left {
    width: 280px;
  }
}

/* ---- Halftone Background Sections ---- */
.section--halftone {
  position: relative;
}

.section--halftone::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url('../img/texture-halftone-organic.webp');
  background-size: 400px;
  background-repeat: repeat;
}

/* ---- Background Texture Overlay ---- */
.section--bg-texture {
  position: relative;
}

.section--bg-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url('../img/texture-bg-waves.webp');
  background-size: cover;
  background-position: center;
}

/* ---- Tagungen Hero ---- */
.hero--tagungen {
  background: var(--gradient-hero);
  color: var(--white);
  padding: calc(var(--space-3xl) * 1.5) 0 var(--space-3xl);
}

.hero--tagungen h1,
.hero--tagungen p {
  color: var(--white);
}

.hero--tagungen .hero__subtitle {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.hero--tagungen .hero__description {
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- Team Events Hero ---- */
.hero--team {
  background: var(--gradient-warm);
  color: var(--white);
  padding: calc(var(--space-3xl) * 1.5) 0 var(--space-3xl);
}

.hero--team h1 {
  color: var(--white);
}

/* ---- Software Hero ---- */
.hero--software {
  background: var(--gradient-hero);
  color: var(--white);
  padding: calc(var(--space-3xl) * 1.5) 0 var(--space-3xl);
}

.hero--software h1 {
  color: var(--white);
}

/* ---- Pricing Hero ---- */
.hero--preise {
  background: linear-gradient(135deg, rgba(244, 132, 95, 0.08) 0%, rgba(247, 178, 103, 0.08) 100%);
  padding: calc(var(--space-3xl) * 1.5) 0 var(--space-3xl);
}

/* ---- Kontakt Hero ---- */
.hero--kontakt {
  background: var(--gradient-warm);
  color: var(--white);
  padding: var(--space-3xl) 0;
}

.hero--kontakt h1 {
  color: var(--white);
}

/* ---- Process Steps (Tagungen) ---- */
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .process__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Benefits Grid ---- */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient-teal);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--white);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.125rem;
}

/* ---- Contact Section ---- */
.contact-section {
  background: var(--gradient-teal);
  color: var(--white);
  padding: var(--space-3xl) 0;
}

/* ---- Results Grid (Software) ---- */
.results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .results__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Use Cases ---- */
.use-case {
  margin-bottom: var(--space-2xl);
}

.use-case:last-child {
  margin-bottom: 0;
}

/* ---- Legal Pages ---- */
.legal {
  padding: var(--space-3xl) 0;
}

.legal h1 {
  margin-bottom: var(--space-xl);
}

.legal h2 {
  font-size: var(--h3-size);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal p,
.legal ul {
  margin-bottom: var(--space-sm);
}

.legal ul {
  padding-left: var(--space-lg);
  list-style: disc;
}

/* ---- Phases (Software Page) ---- */
.phase {
  padding: var(--space-3xl) 0;
}

.phase__label {
  font-family: var(--font-data);
  font-size: var(--small-size);
  font-weight: var(--body-weight-medium);
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xs);
}
