/**
 * Ratgeber-Design (Hub /ratgeber/ + alle Unterseiten)
 * Vorlage: _screenshots/ratgeber-struktur.html — angepasst:
 * - Hausfarben Schaukelhelden: Orange #f6611a, Mint #D8E9D6, Fließtext #7A7A7A
 * - gescoped auf .sh-ratgeber (beeinflusst Header/Footer/Rest nicht)
 * - Icons als Inline-SVG im Markup statt Font-Awesome-CDN (DSGVO)
 * - Schriftfamilie erbt vom Theme
 */

.sh-ratgeber {
  --sh-orange: #f6611a;
  --sh-orange-dark: #d94f0e;
  --sh-mint: #d8e9d6;
  --sh-mint-050: #f0f6ee;
  --sh-ink: #383b40;
  --sh-text: #7a7a7a;
  --sh-line: #dfe8dc;
  --sh-cream: #fdf3ec;
  --sh-shadow: 0 18px 45px rgba(56, 59, 64, .08);
  --sh-radius-xl: 28px;
  --sh-radius-lg: 20px;

  color: var(--sh-text);
  font-size: 17px;
  line-height: 1.72;
  overflow: hidden;
}

.sh-ratgeber h1,
.sh-ratgeber h2,
.sh-ratgeber h3 {
  margin: 0;
  color: var(--sh-ink);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.sh-ratgeber h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 950px; }
.sh-ratgeber h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.sh-ratgeber h3 { font-size: 1.3rem; }

.sh-ratgeber p { margin: 0 0 18px; }
.sh-ratgeber p:last-child { margin-bottom: 0; }
.sh-ratgeber p.text-bold { font-weight: inherit; }

.sh-ratgeber .sh-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.12em;
  flex: none;
}

/* ---------- Hero ---------- */

.sh-hero { padding: 46px 0 44px; position: relative; }
.sh-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(246, 97, 26, .18);
  border-radius: 50%;
  right: -180px;
  top: 30px;
  box-shadow: 0 0 0 46px rgba(246, 97, 26, .04), 0 0 0 96px rgba(246, 97, 26, .025);
  pointer-events: none;
}

.sh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--sh-mint);
  color: var(--sh-ink);
  font-weight: 800;
  font-size: .86rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-decoration: none;
}
a.sh-eyebrow:hover { background: var(--sh-orange); color: #fff; }
.sh-eyebrow .sh-icon { font-size: 1rem; color: var(--sh-orange); }
a.sh-eyebrow:hover .sh-icon { color: #fff; }

.sh-hero-copy { max-width: 900px; margin-top: 26px; font-size: 1.1rem; color: var(--sh-text); }

.sh-hero-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--sh-orange);
}
.sh-hero-rule::before {
  content: "";
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--sh-orange);
}

/* ---------- Sections ---------- */

.sh-section { padding: 52px 0; }
.sh-section + .sh-section { border-top: 1px solid var(--sh-line); }

.sh-section-head {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}
.sh-section-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--sh-mint);
  color: var(--sh-orange);
  font-size: 1.65rem;
}
.sh-lead { margin: 10px 0 0; color: var(--sh-text); max-width: 820px; }

/* Fließtext-Abschnitte auf Unterseiten */
.sh-prose { max-width: 860px; }
.sh-prose h3 { margin: 26px 0 10px; }

/* ---------- Themen-Karten (Hub) ---------- */

.sh-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.sh-topic-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius-xl);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--sh-shadow);
  position: relative;
  overflow: hidden;
}
.sh-topic-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--sh-mint-050);
  right: -65px;
  top: -70px;
}
.sh-topic-card.sh-wide { grid-column: 1 / -1; }
.sh-topic-card > * { position: relative; z-index: 1; }
.sh-topic-card p { margin: 14px 0 24px; color: var(--sh-text); }

.sh-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--sh-mint);
  display: grid;
  place-items: center;
  color: var(--sh-orange);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.sh-linkrow { margin-top: auto; }

.sh-ratgeber a.sh-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  color: var(--sh-orange);
  font-weight: 800;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(246, 97, 26, .3);
}
.sh-ratgeber a.sh-link:hover { color: var(--sh-orange-dark); border-bottom-color: var(--sh-orange-dark); }

/* Gruppe von Produkt-Links auf Unterseiten */
.sh-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 18px 0 6px;
}

/* ---------- Benefits ---------- */

.sh-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sh-benefit {
  padding: 28px;
  border-radius: var(--sh-radius-lg);
  background: var(--sh-mint-050);
  border: 1px solid var(--sh-line);
}
.sh-benefit .sh-card-icon { background: #fff; margin-bottom: 16px; }
.sh-benefit p { margin: 12px 0 0; color: var(--sh-text); }

/* ---------- Frage-/Fehler-Karten ---------- */

.sh-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.sh-question {
  padding: 26px 26px 26px 82px;
  border-radius: var(--sh-radius-lg);
  background: #fff;
  border: 1px solid var(--sh-line);
  position: relative;
}
.sh-question .sh-q-icon {
  position: absolute;
  left: 24px;
  top: 25px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sh-mint);
  display: grid;
  place-items: center;
  color: var(--sh-orange);
}
.sh-question p { margin: 10px 0 0; color: var(--sh-text); }

.sh-note {
  margin: 26px 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--sh-orange);
  background: var(--sh-cream);
  border-radius: 0 14px 14px 0;
  color: var(--sh-text);
}

/* ---------- Callout (hellgrün) ---------- */

.sh-callout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: 38px;
  border-radius: var(--sh-radius-xl);
  background: var(--sh-mint);
  border: 1px solid var(--sh-line);
  box-shadow: 0 24px 60px rgba(56, 59, 64, .1);
}
.sh-callout h2 { color: var(--sh-ink); }
.sh-callout p { color: var(--sh-text); margin: 18px 0 0; }
.sh-callout-side {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(246, 97, 26, .45);
}
.sh-callout-side .sh-icon { width: 8rem; height: 8rem; }

/* ---------- Direkteinstiege ---------- */

.sh-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sh-ratgeber a.sh-entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sh-line);
  font-weight: 750;
  color: var(--sh-ink);
  text-decoration: none;
}
.sh-ratgeber a.sh-entry:hover {
  border-color: var(--sh-orange);
  box-shadow: var(--sh-shadow);
}
.sh-entry .sh-icon { color: var(--sh-orange); }

/* ---------- Checklisten & Schritte ---------- */

.sh-ratgeber ul.sh-check {
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.sh-ratgeber ul.sh-check li {
  margin: 0;
  padding: 14px 16px 14px 52px;
  position: relative;
  background: var(--sh-mint-050);
  border: 1px solid var(--sh-line);
  border-radius: 14px;
}
.sh-ratgeber ul.sh-check li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--sh-orange);
  color: #fff;
  font-weight: 900;
  font-size: .85rem;
  display: grid;
  place-items: center;
}

.sh-ratgeber ol.sh-steps {
  list-style: none;
  counter-reset: shstep;
  margin: 14px 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.sh-ratgeber ol.sh-steps li {
  counter-increment: shstep;
  margin: 0;
  padding: 18px 20px 18px 74px;
  position: relative;
  background: #fff;
  border: 1px solid var(--sh-line);
  border-radius: var(--sh-radius-lg);
  font-weight: 650;
  color: var(--sh-ink);
}
.sh-ratgeber ol.sh-steps li::before {
  content: counter(shstep);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sh-orange);
  color: #fff;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* ---------- FAQ ---------- */

.sh-faq-list { display: grid; gap: 14px; counter-reset: shfaq; }
.sh-faq-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 26px;
  border-radius: var(--sh-radius-lg);
  background: #fff;
  border: 1px solid var(--sh-line);
}
.sh-faq-item::before {
  counter-increment: shfaq;
  content: counter(shfaq);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sh-mint);
  display: grid;
  place-items: center;
  color: var(--sh-orange);
  font-weight: 900;
}
.sh-faq-item p { margin: 9px 0 0; color: var(--sh-text); }

/* ---------- Abschluss-CTA ---------- */

.sh-cta {
  padding: 40px;
  border-radius: var(--sh-radius-xl);
  background: linear-gradient(135deg, var(--sh-mint), #fff);
  border: 1px solid var(--sh-line);
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  align-items: start;
}
.sh-cta .sh-section-icon { background: #fff; }
.sh-cta h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.sh-cta p { margin: 14px 0 0; color: var(--sh-text); font-size: 1.06rem; }
.sh-cta a {
  color: var(--sh-orange);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid rgba(246, 97, 26, .3);
}
.sh-cta a:hover { color: var(--sh-orange-dark); border-bottom-color: var(--sh-orange-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .sh-hero { padding-top: 30px; }
  .sh-topic-grid,
  .sh-benefit-grid,
  .sh-question-grid,
  .sh-entry-grid,
  .sh-callout { grid-template-columns: 1fr; }
  .sh-callout-side { justify-content: flex-start; }
  .sh-callout-side .sh-icon { width: 5rem; height: 5rem; }
}

@media (max-width: 620px) {
  .sh-ratgeber { font-size: 16px; }
  .sh-section { padding: 40px 0; }
  .sh-section-head,
  .sh-cta { grid-template-columns: 1fr; }
  .sh-topic-card { padding: 24px; }
  .sh-question { padding-left: 72px; }
}

/**
 * Service-Doorpage (/service/) — nutzt dasselbe Design, Wrapper ist
 * <div class="sh-ratgeber sh-service">. Hier nur, was dort abweicht.
 */

/* Die Anleitungs-Downloads haben lange Titel ("Schaukel-Steck-Turnreck-
   Kombinationen") — deshalb mitwachsende Spalten statt starrer Dreierteilung. */
.sh-service .sh-entry-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sh-service a.sh-entry {
  align-items: flex-start;
  line-height: 1.4;
}

.sh-service a.sh-entry .sh-icon {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Jeder Download-Link steckt in einem <div class="sh-entry-cell">. Grund: als
   Inline-Element allein auf einer Zeile setzt wpautop ein <br /> hinter das <a>,
   und dieses <br> wird im Grid zu einem leeren Item, das die Kacheln in fremde
   Spalten schiebt. Ein Block-Element als Huelle verhindert das. */
.sh-service .sh-entry-grid > .sh-entry-cell {
  display: flex;
}

.sh-service .sh-entry-grid > .sh-entry-cell > a.sh-entry {
  flex: 1;
}

/* Gefuellter Button (Call-to-Action), z.B. "Fachbetrieb in meiner Region
   anfragen" auf /service/aufbauhilfe-vor-ort/. Steht im .sh-btns-Container. */
.sh-ratgeber a.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--sh-orange);
  color: #fff;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  border: 0;
  transition: background .15s ease, transform .15s ease;
}

.sh-ratgeber a.sh-btn:hover,
.sh-ratgeber a.sh-btn:focus-visible {
  background: var(--sh-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.sh-ratgeber a.sh-btn:focus-visible {
  outline: 3px solid rgba(246, 97, 26, .35);
  outline-offset: 2px;
}

.sh-ratgeber a.sh-btn .sh-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}

/* Klickbarer Badge als Haupt-CTA (SVG aus img/). Der Badge ist 1000x250 gross,
   daher begrenzt und mitwachsend statt in Originalgroesse. */
.sh-ratgeber a.sh-badge {
  display: inline-block;
  max-width: 520px;
  width: 100%;
  line-height: 0;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}

.sh-ratgeber a.sh-badge img {
  display: block;
  width: 100%;
  height: auto;
}

.sh-ratgeber a.sh-badge:hover,
.sh-ratgeber a.sh-badge:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.sh-ratgeber a.sh-badge:focus-visible {
  outline: 3px solid rgba(246, 97, 26, .35);
  outline-offset: 3px;
}
