/* =========================================================================
   Glasklar in Gruen · Sportart-Seiten und Ratgeber
   Gilt fuer /sports/padel, /sports/squash, /sports/boulder, /sports/badminton
   und /sports/ratgeber. Nur Regeln dieser fuenf Seiten; Tokens, Glas,
   Karten, FAQ und Abschluss kommen aus glasklar.css (.theme-sports).
   ========================================================================= */

.sp-page section[id], .sp-page .rat-item[id] { scroll-margin-top: calc(var(--pv) + 104px); }

/* ---------- Kopf ---------- */
.sp-hero { padding-bottom: 40px; }
.sp-hero .kicker-pill { margin-top: 4px; }
.sp-promises { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; }
.sp-promises li { font-size: 15px; color: var(--ink2); }

/* Bildschirmansicht im Kopf und im Betrieb-Abschnitt */
.sp-shot { margin: 72px auto 0; max-width: 1120px; }
.sp-shot--gast { margin-top: 64px; max-width: 1000px; }
.sp-shot .media-frame { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.sp-shot figcaption { max-width: 760px; margin: 18px auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
@media (hover: hover) and (pointer: fine) {
  .sp-shot .media-frame:hover { transform: translateY(-4px); box-shadow: 0 40px 90px rgba(var(--ink-rgb),.17); }
}

/* Breiter Bildschirm: Tagesansicht rechts neben dem Text statt darunter,
   damit rechts neben der Ueberschrift kein leerer Raum bleibt. */
@media (min-width: 1180px) {
  .sp-hero:has(.sp-shot) .container {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    column-gap: 56px; align-items: center;
  }
  .sp-hero:has(.sp-shot) .container > :not(.sp-shot) { grid-column: 1; justify-self: start; }
  .sp-hero:has(.sp-shot) .container > .sp-shot { grid-column: 2; grid-row: 1 / span 5; margin: 0; max-width: none; align-self: center; }
  .sp-hero:has(.sp-shot) h1 { font-size: clamp(44px, 4.4vw, 64px); }
  .sp-hero:has(.sp-shot) .lead { font-size: 17.5px; }
  .sp-hero:has(.sp-shot) .sp-shot figcaption { text-align: left; margin-left: 4px; font-size: 14px; }
}

/* ---------- Abschnittskoepfe ohne Lead ---------- */
.sp-head { margin-bottom: 48px; }
.sp-head h2 { max-width: 860px; text-wrap: balance; }

/* ---------- „Mehr als Buchung“ / „Und dann?“ ---------- */
.sp-more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 48px; border-radius: 32px; }
.sp-more h2 { margin-bottom: 16px; }
.sp-more .lead { font-size: 17px; }
.sp-more .callout { background: rgba(255,255,255,.7); }
.sp-more .callout p { font-size: 16px; line-height: 1.65; }
.sp-more .callout a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- FAQ-Kopf ---------- */
.sp-faq-head { margin-bottom: 44px; }
.sp-faq-head .lead { margin-top: 14px; }
.faq-foot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Footer: Trennpunkte wie im Original ---------- */
.foot .foot-sep { display: inline-flex; align-items: center; color: var(--ink3); padding: 0 2px; }
.foot ul li { display: inline-flex; align-items: center; }

/* ---------- Ratgeber: acht Fragen ---------- */
.rat-layout { display: grid; grid-template-columns: 260px minmax(0, 880px); gap: 32px; justify-content: center; align-items: start; }
.rat-layout .toc a { font-size: 14px; }
.rat-list { display: grid; gap: 20px; }
.rat-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; padding: 40px 44px; border-radius: 30px; }
.rat-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  color: var(--brand); background: linear-gradient(160deg, #fff, var(--ice));
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(var(--brand-rgb),.14);
}
.rat-body { min-width: 0; }
.rat-body h2 { font-size: clamp(22px, 2.3vw, 29px); line-height: 1.22; letter-spacing: -0.028em; margin: 10px 0 22px; text-wrap: balance; }
.rat-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid rgba(var(--ink-rgb),.08); }
.rat-label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); padding-top: 3px; }
.rat-text { color: var(--ink2); font-size: 16.5px; line-height: 1.65; }
.rat-text strong { color: var(--ink); font-weight: 600; }
.rat-row--uns { margin-top: 10px; padding: 18px 20px; border-top: 0; border-radius: 18px; background: rgba(var(--brand-rgb),.07); box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb),.12); }
.rat-row--uns .rat-label { color: var(--brand); }
.rat-row--uns .rat-text { color: var(--ink); }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .rat-layout { grid-template-columns: minmax(0, 880px); }
  .rat-layout .toc { display: none; }
}
@media (max-width: 899px) {
  .sp-more { grid-template-columns: 1fr; gap: 26px; padding: 36px 30px; }
  .sp-shot { margin-top: 56px; }
}
@media (max-width: 600px) {
  .sp-hero { padding-bottom: 24px; }
  .foot .foot-sep { display: none; }
  .sp-promises { flex-direction: column; gap: 10px; margin-top: 26px; }
  .sp-shot { margin-top: 44px; }
  .sp-shot .media-frame { padding: 6px; border-radius: 16px; }
  .sp-shot .media-frame .bar { padding: 2px 4px 6px; }
  .sp-shot .media-frame .bar span { display: none; }
  .sp-shot .media-frame .inner { border-radius: 10px; }
  .sp-shot figcaption { font-size: 14.5px; text-align: left; }
  .sp-head { margin-bottom: 32px; }
  .sp-more { padding: 28px 22px; border-radius: 26px; }
  .sp-more .callout { padding: 18px; }
  .rat-item { grid-template-columns: 1fr; gap: 14px; padding: 28px 22px; border-radius: 26px; }
  .rat-num { width: 46px; height: 46px; font-size: 19px; }
  .rat-body h2 { margin: 0 0 16px; }
  .rat-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .rat-row--uns { padding: 16px; }
  .rat-text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-shot .media-frame, .sp-shot .media-frame:hover { transition: none; transform: none; }
}
