/*
  Template-spezifisches CSS der Startseite.
  (Wird automatisch nur auf der Startseite geladen.)
  Die allgemeinen Styles stehen in custom.css.
*/

/* ---------- Hero: kräftiges rotes Band mit Herzmotiv ---------- */
.hero-band {
  /* Vollbreite (bricht aus dem zentrierten Body aus) */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Höhe des Body-Paddings nach oben ausgleichen */
  margin-top: calc(var(--padding) * -1);
  margin-bottom: 0; /* schliesst direkt an das sanfte Band an */
  background: linear-gradient(135deg, var(--color-brand-1) 0%, #7e1723 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Anatomisches Herz rechts angeschnitten, als Wasserzeichen (25 %) */
.hero-heart {
  position: absolute;
  top: 50%;
  right: -1%;
  transform: translateY(-50%);
  height: 150%;
  width: auto;
  opacity: .25;
  pointer-events: none;
  user-select: none;
}
.hero-band-inner {
  position: relative;
  z-index: 1;
  max-width: 70rem;
  margin: 0 auto;
  padding: 4.5rem var(--padding) 5rem;
}
.hero-band-text {
  max-width: 38rem;
}
.hero-band .h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12em;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.35rem;
  line-height: 1.45em;
  max-width: 36rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.75rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.hero-badges span,
.hero-badges a {
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.hero-badges a:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.85);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.btn-hero {
  display: inline-block;
  background: #fff;
  color: var(--color-brand-1);
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  border: 2px solid #fff;
  transition: transform .15s, background .15s, color .15s;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-ghost {
  background: transparent;
  color: #fff;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.12); }

@media screen and (max-width: 40rem) {
  /* auf schmalen Screens das Herz weiter nach aussen schieben */
  .hero-heart { right: -25%; height: 120%; opacity: .2; }
}

/* Karten-Fuss + Icon: siehe custom.css (global, da auch Unterseiten sie nutzen) */

/* ---------- Zertifizierung ---------- */
.zertifikate {
  margin: 5rem 0 1rem;
  text-align: center;
}
.zertifikate h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.zertifikate-intro {
  color: var(--color-text-grey);
  max-width: 38rem;
  margin: 0 auto 2rem;
}
.zert-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}
.zert {
  background: #fff;
  border: 1px solid var(--color-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .2s, transform .2s;
}
.zert:hover {
  box-shadow: 0 10px 30px rgba(46, 58, 74, .10);
  transform: translateY(-3px);
}
.zert img {
  height: 5rem;
  width: auto;
  display: block;
}
