/* =========================================================================
   Sportseiten (/triathlon-coaching/, /radsport-coaching/, /lauf-coaching/) im System der Startseite.
   Laedt nach home.css, home-hero-v2.css und home-v2.css (body.hero-v2) und ergaenzt nur:
     - Hero je Foto: Seitenverhaeltnis und Textspalte aus content/pages/<slug>.json (Inline-Variablen)
     - sp-sec / sp-split: redaktionelle Sektion, links Kopf (am PC klebend), rechts Text oder Liste
       zwischen feinen Linien. Bewusst ohne Karten, Eyebrows und Nummern.
     - FAQ, Linkliste "Weitere Sportarten", Blog-Karten
   ========================================================================= */

.page-sport main { overflow-x: clip; }

/* ---------- Hero ---------- */
.hh2--sport { --ratio: var(--ratio-tall); }
.hh2--sport .hh2__photo { object-position: var(--photo-pos, center); }
.hh2--sport .hh2__title { max-width: 11em; }
@media (min-width: 600px) and (max-width: 999px) {
  .hh2--sport .hh2__frame { width: min(100%, 62svh * var(--ratio-tall)); }
}
@media (min-width: 1000px) {
  .hh2--sport { --ratio: var(--ratio-wide); }
  .hh2--sport .hh2__inner { padding-left: max(var(--text-x), 30rem); }
  /* Foto laeuft in Navy aus: --fade = ab wo (Anteil der Fotobreite), --shade = wie weit vor der Textspalte die
     Abdunklung beginnt. Beides aus hero.fade / hero.shade, wenn die Person bis an den rechten Bildrand reicht. */
  .hh2--sport .hh2__frame picture {
    -webkit-mask-image: linear-gradient(90deg, #000 var(--fade, 58%), transparent 99%);
    mask-image: linear-gradient(90deg, #000 var(--fade, 58%), transparent 99%);
  }
  /* Foto rechts (hero.side = "right"), Text links: fuer Aufnahmen, in denen die Person nach links laeuft.
     --text-x ist dann der Abstand der Textspalte vom rechten Rand. */
  .hh2--sport.hh2--right .hh2__frame { position: absolute; top: 0; right: 0; }
  .hh2--sport.hh2--right .hh2__frame picture {
    -webkit-mask-image: linear-gradient(270deg, #000 var(--fade, 58%), transparent 99%);
    mask-image: linear-gradient(270deg, #000 var(--fade, 58%), transparent 99%);
  }
  .hh2--sport.hh2--right .hh2__media::after {
    background:
      linear-gradient(180deg, rgba(10, 24, 34, .7) 0, rgba(10, 24, 34, 0) calc(var(--header-h) + 60px)),
      linear-gradient(0deg, rgba(10, 24, 34, .55) 0, rgba(10, 24, 34, 0) 22%);
  }
  .hh2--sport.hh2--right .hh2__inner { padding-left: max(calc(var(--gutter) * 2), (100% - 120rem) / 2); padding-right: var(--text-x); }
  .hh2--sport .hh2__media::after {
    background:
      linear-gradient(180deg, rgba(10, 24, 34, .7) 0, rgba(10, 24, 34, 0) calc(var(--header-h) + 60px)),
      linear-gradient(90deg, rgba(10, 24, 34, 0) calc(var(--text-x) - var(--shade, 14%)), rgba(10, 24, 34, .72) calc(var(--text-x) + 4%), rgba(10, 24, 34, .9) calc(var(--text-x) + 22%)),
      linear-gradient(0deg, rgba(10, 24, 34, .55) 0, rgba(10, 24, 34, 0) 22%);
  }
}

/* ---------- Redaktionelle Sektion ---------- */
.hero-v2 .sp-sec { padding: var(--v2-section-y) var(--gutter); color: var(--text); }
.hero-v2 .sp-sec--white { background: #fff; }
.hero-v2 .sp-sec--light { background: var(--bg); }
.hero-v2 .sp-sec__inner { width: 100%; max-width: var(--container); margin-inline: auto; }
.hero-v2 .sp-sec .breadcrumbs { margin: 0 0 clamp(2rem, 1.5rem + 1.5vw, 3rem); }

.hero-v2 .sp-split__head .home-h2 { max-width: 14ch; }
.hero-v2 .sp-split__body { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
@media (min-width: 960px) {
  .hero-v2 .sp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .hero-v2 .sp-split__head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
  .hero-v2 .sp-split__body { margin-top: .4rem; }
}

.hero-v2 .sp-prose p { max-width: 36em; margin: 0 0 1.25rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.7; color: var(--text); }
.hero-v2 .sp-prose p:last-child { margin-bottom: 0; }
.hero-v2 .sp-prose strong { font-weight: 700; color: var(--navy-900); }
.hero-v2 .sp-prose a,
.hero-v2 .sp-list__text a {
  color: var(--navy-900); text-decoration: underline; text-decoration-color: var(--accent-dark);
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.hero-v2 .sp-prose a:hover,
.hero-v2 .sp-list__text a:hover { color: var(--accent-dark); }
.hero-v2 .sp-more { margin-top: 2rem !important; }
.hero-v2 .sp-more .home-more-link { text-decoration: none; }

/* Liste zwischen feinen Linien (Distanzen, Ziele, Schwerpunkte) */
.hero-v2 .sp-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-prose + .sp-list { margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.hero-v2 .sp-list__item { padding: clamp(1.4rem, 1.1rem + 1vw, 2rem) 0; border-bottom: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-list__title {
  margin: 0 0 .55rem; font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); font-weight: 700; line-height: 1.3;
  letter-spacing: -.015em; color: var(--navy-900);
}
.hero-v2 .sp-list__meta { display: block; margin-top: .3rem; font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.hero-v2 .sp-list__text { max-width: 34em; margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.65; color: var(--text); }
@media (min-width: 1180px) {
  .hero-v2 .sp-list__item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 2.5rem; }
  .hero-v2 .sp-list__title { margin: 0; }
}
.hero-v2 .sp-after { margin-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
.hero-v2 .sp-after p { font-size: 1rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.hero-v2 .sp-faq { border-top: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-faq__item { border-bottom: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); font-weight: 700; line-height: 1.4; color: var(--navy-900);
}
.hero-v2 .sp-faq__q::-webkit-details-marker { display: none; }
.hero-v2 .sp-faq__q:hover { color: var(--accent-dark); }
.hero-v2 .sp-faq__icon { position: relative; flex: none; width: 14px; height: 14px; margin-top: .4em; }
.hero-v2 .sp-faq__icon::before,
.hero-v2 .sp-faq__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .25s var(--ease); }
.hero-v2 .sp-faq__icon::after { transform: rotate(90deg); }
.hero-v2 .sp-faq__item[open] .sp-faq__icon::after { transform: rotate(0); }
.hero-v2 .sp-faq__a { padding: 0 2.5rem 1.5rem 0; }
.hero-v2 .sp-faq__a p { font-size: 1rem; }

/* ---------- Weitere Sportarten / Plaene ---------- */
.hero-v2 .sp-links { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-links li { border-bottom: 1px solid var(--line-soft, rgba(13, 33, 48, .12)); }
.hero-v2 .sp-links__item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; row-gap: .35rem;
  padding: 1.4rem 0; color: var(--text); text-decoration: none;
}
.hero-v2 .sp-links__name { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); font-weight: 700; letter-spacing: -.015em; color: var(--navy-900); }
.hero-v2 .sp-links__text { grid-column: 1; font-size: 1rem; font-weight: 500; line-height: 1.6; }
.hero-v2 .sp-links__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.25rem; color: var(--navy-900); transition: transform .2s var(--ease); }
.hero-v2 .sp-links__item:hover .sp-links__name { color: var(--accent-dark); }
.hero-v2 .sp-links__item:hover .sp-links__arrow { transform: translateX(4px); }

.hero-v2 .sp-blog { margin-top: var(--v2-section-y); }
.hero-v2 .sp-blog__title { margin: 0; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 750; letter-spacing: -.02em; color: var(--navy-900); }
.hero-v2 .sp-blog .home-blog__grid { margin-top: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); }
/* Blog-Karten wie auf der Startseite */
.hero-v2 .sp-blog .post-card {
  background: #fff; border: var(--v2-card-border); border-radius: var(--v2-card-radius); overflow: hidden; box-shadow: var(--v2-card-shadow);
  transition: border-color .2s var(--ease);
}
.hero-v2 .sp-blog .post-card:hover { transform: none; box-shadow: var(--v2-card-shadow); border-color: rgba(13, 33, 48, .2); }
.hero-v2 .sp-blog .post-card__media { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; background: var(--line-soft); }
.hero-v2 .sp-blog .post-card__media img { border-radius: 0; }
.hero-v2 .sp-blog .post-card__body { margin: 0; max-width: none; min-height: 0; padding: var(--v2-card-pad); background: none; border-radius: 0; color: var(--text); }
.hero-v2 .sp-blog .post-card__meta { padding: 0; margin: 0 0 .75rem; font-size: .75rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-dark); }
.hero-v2 .sp-blog .post-card__title { margin: 0 0 .75rem; padding: 0; font-size: 1.1875rem; font-weight: 750; line-height: 1.25; letter-spacing: -.02em; text-transform: none; }
.hero-v2 .sp-blog .post-card__title a { color: var(--navy-900); }
.hero-v2 .sp-blog .post-card__excerpt { margin: 0 0 1.25rem; padding: 0; font-size: 1rem; font-weight: 500; line-height: 1.6; color: var(--text); }
.hero-v2 .sp-blog .post-card__more { padding: 0; color: var(--accent-dark); }
