/*
 * Wildimpuls-Startseite (neu) – ergänzende Styles
 * Wird nur von wildimpuls-kurs-c-index-neu.php geladen, NACH wildimpuls-lp.css.
 * Nutzt ausschließlich die bestehenden Variablen (Farben, Schriften, Radien).
 */

/* ── Kompaktere Sektionsabstände auf der Startseite ───────────────────── */
.home-neu > .section:not(.hero) {
  padding: clamp(2rem, 3.5vw, 3.25rem) 0;
}

.home-neu .section-heading {
  gap: 0.75rem;
}

.home-neu .section-heading > p:not(.section-tag) {
  margin: 0;
}

.home-neu .section-tag {
  margin-bottom: 0.35rem;
}

/* ── 1. Hero ──────────────────────────────────────────────────────────── */
.home-hero__sub {
  margin: 1.25rem 0 0.4rem;
  font-weight: 800;
}

.home-hero__text {
  margin: 0 0 0.4rem;
}

.page-hero .hero__copy .hero__actions {
  margin-top: 1.5rem;
}

/* Drei Merkmale als Glas-Leiste unten im Hero-Bild */
.home-hero__badges {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(9, 23, 17, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fdf9f1;
}

.home-hero__badges li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.home-hero__badges li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero__badges span {
  font-size: 1.15rem;
}

@media (max-width: 47.99rem) {
  .home-hero__badges li {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.65rem 0.35rem;
    font-size: 0.82rem;
  }
}

/* ── 2. Medien + Rundgang ─────────────────────────────────────────────── */
.home-media__intro {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

/* 10 Logos: mobil/Tablet 2 Reihen à 5, Desktop alle 10 in einer Reihe */
.home-media__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 auto 2rem;
  max-width: 48rem;
}

/* Jedes Logo mit rundem Rahmen */
.home-media__logo {
  display: grid;
  place-items: center;
  height: 3.25rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(22, 56, 45, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 246, 0.92);
}

.home-media__logos img {
  width: 100%;
  height: 1.9rem;
  object-fit: contain;
  filter: grayscale(1) contrast(1.06);
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.home-media__tour {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(22, 56, 45, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.home-media__copy h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.2;
}

.home-media__copy p:not(.section-tag) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (min-width: 56rem) {
  .home-media__tour {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2.25rem;
  }
}

@media (max-width: 47.99rem) {
  .home-media__logos {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
  }

  .home-media__logo {
    height: 2.6rem;
    padding: 0.3rem;
    border-radius: 0.9rem;
  }

  .home-media__logos img {
    height: 1.6rem;
  }
}

@media (min-width: 64rem) {
  .home-media__logos {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: none;
  }
}

/* ── 3. Wildimpuls-Woche ──────────────────────────────────────────────── */
.home-week__steps {
  display: grid;
  gap: 0.85rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.home-week__step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 56, 45, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

/* Kopfbild (Bilder aus der früheren Sektion "So sieht die Wildimpuls-Welt aus") */
.home-week__media {
  position: relative;
  margin: 0;
  aspect-ratio: 2 / 1;
}

/* absolut positioniert, damit Hochformat-Bilder das Seitenverhältnis nicht sprengen */
.home-week__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-week__icon {
  position: absolute;
  left: 1.2rem;
  bottom: -1.3rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 6px 16px rgba(15, 32, 24, 0.14);
  font-size: 1.2rem;
}

.home-week__body {
  padding: 1.6rem 1.2rem 1.15rem;
}

.home-week__num {
  margin: 0;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-week__step h3 {
  margin: 0.1rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
}

.home-week__step p:last-child {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.home-week__close {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  text-align: center;
}

.home-week__close p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.home-week__close p + p {
  margin-top: 0.25rem;
}

@media (min-width: 48rem) {
  .home-week__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .home-week__media {
    aspect-ratio: 16 / 10;
  }

  .home-week__body {
    padding: 1.7rem 1.4rem 1.35rem;
  }
}

/* ── 4. Leistungstabelle ──────────────────────────────────────────────── */
.home-offer__table {
  width: min(100%, 62rem);
  margin: 1.75rem auto 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(22, 56, 45, 0.1);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  overflow: hidden;
  text-align: left;
}

.home-offer__table thead th {
  padding: 0.85rem 1.4rem;
  background: rgba(122, 121, 27, 0.07);
  color: var(--forest-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-offer__table tbody th,
.home-offer__table tbody td {
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.home-offer__table tbody th {
  width: 35%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.home-offer__table tbody td {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.home-offer__icon {
  display: inline-block;
  width: 1.7rem;
  margin-right: 0.45rem;
  font-size: 1.1rem;
}

.home-offer__note {
  display: block;
  margin-top: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-offer__freedom {
  max-width: 50rem;
  margin: 1.5rem auto 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--moss);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
}

.home-offer__freedom h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
}

.home-offer__freedom p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Mobil: jede Zeile wird ein kompakter Block, kein Seitwärts-Scroll */
@media (max-width: 47.99rem) {
  .home-offer__table,
  .home-offer__table tbody,
  .home-offer__table tr,
  .home-offer__table th,
  .home-offer__table td {
    display: block;
    width: 100%;
  }

  .home-offer__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .home-offer__table tbody tr {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--line);
  }

  .home-offer__table tbody tr:first-child {
    border-top: 0;
  }

  .home-offer__table tbody th,
  .home-offer__table tbody td {
    width: auto;
    padding: 0;
    border-top: 0;
  }

  .home-offer__table tbody th {
    margin-bottom: 0.3rem;
  }

  .home-offer__table tbody td {
    font-size: 1rem;
  }

  .home-offer__icon {
    width: 1.5rem;
    margin-right: 0.3rem;
  }
}

/* ── 5. Jahreszeiten ──────────────────────────────────────────────────── */
.home-seasons .jahr__inner {
  gap: 1.2rem;
}

.home-seasons .jahr__lead {
  max-width: 46rem;
}

/* Hintergrundfoto (per --jahr-bg gesetzt) unter einer dunklen Überlagerung,
   damit der helle Text kontrastreich bleibt */
.home-seasons__box {
  background:
    linear-gradient(
      160deg,
      rgba(16, 22, 14, 0.9) 0%,
      rgba(22, 30, 18, 0.82) 55%,
      rgba(30, 34, 16, 0.78) 100%
    ),
    var(--jahr-bg, none) center / cover no-repeat,
    linear-gradient(160deg, #1d2519, #2c3520 60%, #3a3f20);
}

.home-seasons .jahr__lead,
.home-seasons .jahr__step span {
  color: rgba(255, 250, 242, 0.86);
}

/* ── 6. Erfahrungen ───────────────────────────────────────────────────── */
.home-voices__grid {
  margin-top: 1.75rem;
}

.home-voices__card {
  gap: 0;
}

.home-voices__theme {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  color: var(--earth);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-voices__card .testimonial-card__quote {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.home-voices__card .testimonial-card__author {
  margin-top: auto;
  padding-top: 0.85rem;
}

.home-voices__more {
  margin-top: 1.5rem;
  text-align: center;
}

@media (min-width: 48rem) {
  .home-voices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── 7. Anerkennung ───────────────────────────────────────────────────── */
.home-trust__inner {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(22, 56, 45, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.home-trust__seal {
  margin: 0;
  width: min(100%, 11rem);
}

.home-trust__seal img {
  display: block;
  width: 100%;
  height: auto;
}

.home-trust__copy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.25;
}

.home-trust__list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-trust__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.home-trust__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--moss);
}

@media (min-width: 48rem) {
  .home-trust__inner {
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ── 8. Preis, Sicherheit, Anmeldung ──────────────────────────────────── */
.home-close {
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.home-close__panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  /* Hintergrundfoto unter dunkler Überlagerung, damit der helle Text lesbar bleibt */
  background:
    radial-gradient(
      circle at top left,
      rgba(185, 112, 63, 0.18),
      transparent 32%
    ),
    linear-gradient(145deg, rgba(9, 19, 14, 0.9), rgba(11, 32, 24, 0.8)),
    url("/img/artikel/frau-im-wald-auf-weg.jpg") center / cover no-repeat,
    #0b1a13;
  color: #fff9f0;
}

.home-close__copy h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.2;
}

.home-close__copy > p:not(.section-tag) {
  margin: 0 0 0.75rem;
  color: rgba(255, 250, 242, 0.84);
  font-size: 1.08rem;
  line-height: 1.6;
}

.home-close__contact {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 250, 242, 0.14);
}

.home-close__contact p {
  margin: 0 0 0.5rem;
  color: rgba(255, 250, 242, 0.84);
  line-height: 1.55;
}

.home-close__contact strong {
  color: #fff9f0;
}

.home-close__wa {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--moss-bright);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.home-close__wa:hover,
.home-close__wa:focus-visible {
  color: #fff9f0;
}

.home-close__price {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  color: var(--ink);
}

.home-close__start {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.home-close__options {
  display: grid;
  gap: 0.75rem;
}

.home-close__option {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.home-close__option span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-close__option strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
}

.home-close__option small {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.home-close__guarantee {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.home-close__guarantee img {
  width: 100%;
  height: auto;
}

.home-close__guarantee p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-close__actions {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}

.home-close__actions .button {
  width: 100%;
  font-size: 1.1rem;
}

.home-close__hint {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.home-close__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--forest-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 29.99rem) {
  .home-close__guarantee {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .home-close__guarantee p {
    font-size: 0.95rem;
  }
}

@media (min-width: 30rem) {
  .home-close__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .home-close__panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
  }
}
