/*
 * Wildimpuls Erfahrungsseite (neu) – ergänzende Styles
 * Wird nur von wildimpuls-erfahrungen-vorschau.php geladen, NACH wildimpuls-lp.css.
 * Alle Regeln sind auf .er-neu bzw. er-*-Klassen begrenzt.
 */

/* ── Grundabstände ────────────────────────────────────────────────────── */
.er-neu > .section {
  padding-top: clamp(2rem, 4.5vw, 3.5rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

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

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

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

/* ── Gemeinsame Karten- und Zitat-Bausteine ───────────────────────────── */
.er-karte {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(22, 56, 45, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface-card);
}

/* Redaktionelle Labels/Fragen: klar vom Zitat getrennt */
.er-frage {
  margin: 0 0 0.8rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.er-label {
  margin: 0 0 0.6rem;
  color: var(--earth);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Originalzitat: kursiv, mit Akzentlinie */
.er-zitat {
  margin: 0;
  padding-left: 0.9rem;
  border-left: 3px solid var(--moss-bright);
}

.er-zitat p {
  margin: 0;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.65;
}

.er-zitat--voll {
  margin-top: 0.75rem;
}

.er-autor {
  margin: 0.85rem 0 0;
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--forest);
  font-size: 0.95rem;
}

.er-autor strong {
  font-family: var(--font-display);
}

.er-autor span {
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.er-autor span::before {
  content: " · ";
}

/* Redaktioneller Einleitungstext (kein Zitat) */
.er-redaktion {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

/* Aufklappbereiche (details/summary, tastaturbedienbar) */
.er-details {
  margin-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.er-details summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding-top: 0.5rem;
  color: var(--forest-deep);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.er-details summary::-webkit-details-marker {
  display: none;
}

.er-details summary::before {
  content: "+";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(154, 154, 36, 0.15);
  font-size: 1.1rem;
  line-height: 1;
}

.er-details[open] summary::before {
  content: "–";
}

.er-details summary:focus-visible {
  outline: 2px solid rgba(60, 107, 82, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 1. Hero ──────────────────────────────────────────────────────────── */
.er-hero {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
}

.er-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
}

.er-hero__claim {
  margin: 0.25rem 0 0 !important;
  max-width: none;
}

/* ── 2. Zweifel ───────────────────────────────────────────────────────── */
.er-zweifel__grid,
.er-erlebt__grid,
.er-schaetzen__grid,
.er-praxis__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .er-zweifel__grid,
  .er-praxis__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 60rem) {
  .er-erlebt__grid,
  .er-schaetzen__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* ── 3. Praxisgeschichten ─────────────────────────────────────────────── */
.er-praxis__titel {
  margin: 2.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.3;
  text-align: center;
}

.er-karte--praxis h4 {
  margin: 0 0 0.6rem;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
}

.er-karte--praxis .er-autor {
  margin-top: 0.6rem;
  padding-top: 0;
}

/* ── 4. Vier Geschichten (kompakte Karten mit Originalbildern) ────────── */
.er-geschichten__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.er-story {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(22, 56, 45, 0.1);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.er-story:hover {
  transform: translateY(-3px);
}

.er-story:focus-visible {
  outline: 2px solid rgba(60, 107, 82, 0.5);
  outline-offset: 3px;
}

.er-story__bild {
  aspect-ratio: 16 / 9;
  background: #1e2e22 center / cover no-repeat;
}

.er-story__bild--sven {
  background-image: url("/wildimpuls-neu-2/assets/sven/wildimpuls-geschichte-sven-titelbild.jpg");
  transform: scaleX(-1);
}

.er-story__bild--monika {
  background-image: url("/wildimpuls-neu-2/assets/monika/wildimpuls-geschichte-monika-hero.jpg");
}

.er-story__bild--aline {
  background-image: url("/wildimpuls-neu-2/assets/aline/wildimpuls-aline-wagner-programm-3.jpg");
}

.er-story__bild--christina {
  background-image: url("/wildimpuls-neu-2/assets/christina/wildimpuls-christina-8_optimiert.jpg");
}

.er-story__text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.1rem 1.25rem 1.25rem;
}

.er-story__meta {
  margin: 0;
  color: var(--earth);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.er-story__zitat {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.er-story__teaser {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.er-story__hinweis {
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(154, 154, 36, 0.1);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.er-story__cta {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--forest);
  font-weight: 800;
}

.er-story__cta small {
  margin-left: 0.4rem;
  color: var(--ink-muted);
  font-weight: 400;
}

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

/* ── 6. Archiv ────────────────────────────────────────────────────────── */
.er-archiv__grid {
  margin-top: 1.75rem;
}

.er-archiv .testimonial-card-clickable {
  cursor: pointer;
}

.er-archiv .testimonial-card-clickable:focus-visible {
  outline: 2px solid rgba(60, 107, 82, 0.5);
  outline-offset: 3px;
}

.er-archiv .testimonial-card h3 {
  font-size: 1.2rem;
}

.er-archiv .testimonial-card__quote {
  font-size: 1.02rem;
  line-height: 1.6;
}

.er-archiv .read-more-hint {
  display: none;
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  color: var(--forest);
  font-size: 0.85em;
  font-weight: 700;
}

.er-archiv .testimonial-card__author span {
  font-size: 0.88rem;
}

.er-archiv__mehr {
  margin-top: 1.5rem;
  text-align: center;
}

.er-archiv__mehr p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Echte Momente (6 Teilnehmerfotos) */
.er-momente {
  margin-top: 2.5rem;
}

.er-momente h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  text-align: center;
}

.er-momente__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.er-momente figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: #1b2418;
}

.er-momente img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.er-momente figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem 0.6rem 0.45rem;
  background: linear-gradient(180deg, transparent, rgba(12, 20, 14, 0.85));
  color: #fdf9f1;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (min-width: 60rem) {
  .er-momente__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ── 7. Abschluss ─────────────────────────────────────────────────────── */
.er-schluss__karte {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at top left,
      rgba(185, 112, 63, 0.18),
      transparent 32%
    ),
    linear-gradient(145deg, rgba(9, 19, 14, 0.98), rgba(11, 32, 24, 0.96));
  color: #fdf9f1;
  text-align: center;
}

.er-schluss__karte .section-tag {
  justify-content: center;
}

.er-schluss__karte h2 {
  margin: 0 0 0.9rem;
  color: #fff9f0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  line-height: 1.2;
}

.er-schluss__karte > p:not(.section-tag) {
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  color: rgba(255, 250, 242, 0.86);
  line-height: 1.7;
}

.er-schluss__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.er-schluss .er-schluss__faq {
  margin: 1.1rem 0 0 !important;
  font-size: 0.95rem;
}

.er-schluss__faq a {
  color: var(--moss-bright);
}

@media (max-width: 29.99rem) {
  .er-schluss__actions .button {
    width: 100%;
  }
}

/* ── Vorschau-Hinweis (nur Vorschau) ──────────────────────────────────── */
.er-vorschau-hinweis {
  position: fixed;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 9000;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  background: #b9703f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
