/*
 * Sandra Locher – Hero
 * Eigenständiges, wartbares Modul. Keine Hero-Regeln außerhalb dieser Datei ergänzen.
 */

.sl-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 116px);
  background: var(--bg);
}

/* Florale Randdekoration ist bewusst entfernt. */
.sl-hero,
.sl-hero::before,
.sl-hero::after {
  background-image: none !important;
}

.sl-hero::before,
.sl-hero::after {
  content: none !important;
}

.sl-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  align-items: center;
  gap: clamp(34px, 3.5vw, 58px);
}

.sl-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  min-width: 0;
  padding-bottom: 0;
}

.sl-hero-copy .sl-title {
  max-width: 720px;
}

.sl-hero-text {
  max-width: 590px;
}

/* Kompakter Abschnittstrenner unter dem kompletten Hero-Inhalt. */
.sl-hero-divider {
  width: min(760px, calc(100% - 40px));
  margin: clamp(46px, 5vw, 78px) auto 0;
  line-height: 0;
  pointer-events: none;
}

.sl-hero-divider svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sl-hero-divider path {
  fill: none;
  stroke: rgba(139, 121, 104, .62);
  stroke-width: 2.25;
  vector-effect: non-scaling-stroke;
}

.sl-hero-divider .sl-hero-divider-heart {
  fill: var(--bg);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sl-hero-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  min-width: 0;
}

.sl-hero-photo,
.sl-hero-image {
  width: 100%;
  min-height: clamp(520px, 44vw, 670px);
  object-fit: cover;
  border-radius: 220px 220px 24px 24px;
  box-shadow: var(--shadow);
}

.sl-hero-card {
  position: relative;
  width: 100%;
  margin-top: 16px;
  padding: 24px 30px 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 121, 104, .2);
  border-radius: 4px 4px 24px 24px;
  background: rgba(255, 253, 249, .94);
  box-shadow: 0 18px 42px rgba(73, 58, 45, .09);
  text-align: center;
}

/* Im Kasten selbst gibt es keine Welle. */
.sl-hero-card::before,
.sl-hero-card::after {
  content: none !important;
  display: none !important;
}

.sl-hero-card-role {
  display: block;
  margin: 0 0 10px;
  color: var(--dark);
  font-size: clamp(.9rem, .9vw, 1rem);
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.sl-hero-card-text {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
}

.sl-hero-card-script {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: var(--accent);
  font-family: var(--sl-font-script);
  font-size: clamp(1.65rem, 2.25vw, 2.25rem);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .sl-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, .95fr);
    gap: 38px;
  }

  .sl-hero-media {
    max-width: 620px;
  }


  .sl-hero-card-role {
    white-space: normal;
  }
}

@media (max-width: 782px) {
  .sl-hero {
    padding: 40px 0 72px;
  }

  .sl-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .sl-hero-copy {
    max-width: none;
    padding-bottom: 0;
  }


  .sl-hero-media {
    max-width: none;
    justify-self: stretch;
  }

  .sl-hero-photo,
  .sl-hero-image {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-radius: 36px 36px 18px 18px;
  }

  .sl-hero-card {
    margin-top: 12px;
    padding: 22px 22px 20px;
    border-radius: 4px 4px 20px 20px;
  }

  .sl-hero-card-role {
    font-size: .88rem;
    white-space: normal;
  }

  .sl-hero-card-script {
    font-size: clamp(1.6rem, 8vw, 2.05rem);
  }

  .sl-hero-divider {
    margin-top: 38px;
  }

  .sl-hero-divider {
    width: min(560px, calc(100% - 32px));
  }
}

@media (max-width: 430px) {
  .sl-hero-card {
    padding-inline: 18px;
  }

  .sl-hero-card-script {
    white-space: normal;
  }
}

/* Desktopbreite des Hero-Moduls – zentral nur in dieser Datei gepflegt. */
@media (min-width: 1181px) {
  .sl-hero .sl-container,
  .sl-hero-grid {
    max-width: var(--sl-container);
  }

  .sl-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    gap: clamp(56px, 6vw, 110px);
  }

  .sl-hero-copy {
    max-width: 760px;
  }

  .sl-hero-copy .sl-heading,
  .sl-hero-copy h1 {
    max-width: 720px;
  }

  .sl-hero-media {
    max-width: 620px;
  }
}

@media (min-width: 783px) and (max-width: 1180px) {
  .sl-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 48px;
  }
}

