/* Ratgeber-Seite „Hörgeräte: Kosten und Beiträge“ – ergänzt styles.css */

/* ---------- Hero der Ratgeber-Seite (Aufbau wie Startseite, Regeln aus .hero in styles.css) ---------- */
.hero--seite .hero__bild img { object-position: 75% 30%; }
.hero--seite .wrap { display: flow-root; padding-top: clamp(28px, 3.4vw, 44px); padding-bottom: 0; } /* flow-root: negativer Rand der Eckwerte lässt sie über die Bildkante ragen */
.hero--seite .hero__text { max-width: 720px; }
.hero--seite h1 { font-size: clamp(36px, 4.2vw, 60px); text-wrap: balance; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 clamp(28px, 4vw, 52px); padding: 0; list-style: none; font-size: 16px; }
.brotkrumen li + li::before { content: "›"; margin-right: 10px; opacity: .8; }
.hero .brotkrumen { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.hero .brotkrumen a { color: #fff; }
.hero .brotkrumen a:hover { color: var(--gruen); }
.stand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 22px 0 0; font-size: 16px; }
.hero .stand { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.stand__pill { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--tinte); font-weight: 600; text-shadow: none; }
.hero--seite .eckwerte { position: relative; z-index: 2; margin: clamp(40px, 5vw, 64px) 0 -96px; }
.hero--seite + .ratgeber { padding-top: calc(96px + clamp(40px, 5vw, 72px)); }
@media (min-width: 761px) {
  /* Alpen und Himmel sind heller als das Startseiten-Foto: Verlauf etwas kräftiger */
  .hero--seite::before { background: linear-gradient(90deg, rgba(24, 30, 26, .88) 0%, rgba(24, 30, 26, .74) 38%, rgba(24, 30, 26, .34) 62%, rgba(24, 30, 26, .08) 82%); }
}
@media (min-width: 761px) and (max-width: 960px) {
  .hero--seite::before { background: linear-gradient(90deg, rgba(24, 30, 26, .86) 0%, rgba(24, 30, 26, .72) 70%, rgba(24, 30, 26, .45) 100%); }
}
@media (max-width: 760px) {
  .hero--seite .eckwerte { margin-bottom: -64px; }
  .hero--seite + .ratgeber { padding-top: calc(64px + 36px); }
}

/* ---------- Eckwerte (die Beträge sind hier die eigentliche Information) ---------- */
.eckwerte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px 0 0; padding: 0; list-style: none; }
.eckwert { display: flex; flex-direction: column; padding: 22px 24px; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-1); }
.eckwert__wer { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen-text); }
.eckwert__betrag { margin: 6px 0 4px; font-family: var(--font-display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; line-height: 1.1; color: var(--tinte); font-variant-numeric: tabular-nums; }
.eckwert__betrag small { display: block; margin-top: 2px; font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; color: var(--tinte-2); }
.eckwert p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--tinte-2); }

/* ---------- Zweispaltig: Inhaltsverzeichnis + Artikel ---------- */
.ratgeber { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.inhaltsnav { position: sticky; top: calc(var(--kopf-h) + 24px); }
.inhaltsnav h2 { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gruen-text); }
.inhaltsnav ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--linie); }
.inhaltsnav a {
  display: block; margin-left: -2px; padding: 7px 0 7px 16px; border-left: 2px solid transparent;
  font-size: 16px; line-height: 1.35; color: var(--tinte-2); text-decoration: none;
}
.inhaltsnav a:hover, .inhaltsnav a[aria-current="true"] { border-left-color: var(--gruen-ui); color: var(--gruen-text); }

.artikel { min-width: 0; }
.artikel > section { padding-bottom: 52px; scroll-margin-top: calc(var(--kopf-h) + 16px); }
.artikel > section + section { padding-top: 44px; border-top: 1px solid var(--linie); }
.artikel h2 { margin-bottom: 14px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; line-height: 1.12; letter-spacing: .04em; text-transform: uppercase; text-wrap: balance; }
.artikel h2 b { font-weight: 700; color: var(--gruen-ui); }
.artikel h3 { margin: 28px 0 8px; font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--tinte); }
.artikel p { max-width: 70ch; }
.liste { max-width: 70ch; margin: 0 0 1em; padding-left: 1.3em; }
.liste li + li { margin-top: 6px; }
.liste li::marker { color: var(--gruen-ui); }

/* ---------- Faktentabellen ---------- */
.fakten { overflow-x: auto; margin: 16px 0 10px; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; }
.fakten table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 18px; }
.fakten caption { padding: 12px 16px; text-align: left; font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gruen-text); border-bottom: 1px solid var(--linie); }
.fakten th, .fakten td { padding: 12px 16px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; line-height: 1.45; }
.fakten th[scope="row"] { width: 42%; background: var(--papier); font-weight: 600; color: var(--tinte); }
.fakten td { color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.fakten thead th { background: var(--grau); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fakten tbody tr:last-child > * { border-bottom: 0; }
.fakten--vergleich table { min-width: 720px; }
.fakten--vergleich th[scope="row"] { width: 24%; }
.quelle { margin: 6px 0 0; font-size: 15px; color: var(--tinte-2); }

/* ---------- Beitragsrechner ---------- */
.rechner { display: grid; grid-template-columns: 1.1fr .9fr; margin: 22px 0 10px; overflow: hidden; border-radius: var(--r-l); background: #fff; box-shadow: var(--schatten-2); }
.rechner__eingabe { padding: 26px 28px; }
.rechner__eingabe .feld + .feld { margin-top: 18px; }
.rechner .wahl { grid-template-columns: repeat(3, 1fr); }
.rechner .wahl--zwei { grid-template-columns: repeat(2, 1fr); }
.rechner .wahl label { min-height: 56px; font-size: 16px; line-height: 1.25; }
.preisfeld { position: relative; }
.preisfeld span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--tinte-2); pointer-events: none; }
.preisfeld .eingabe { padding-left: 56px; font-variant-numeric: tabular-nums; }
.rechner__ergebnis { display: flex; flex-direction: column; padding: 26px 28px; background: var(--gruen-ui-dunkel); color: #fff; }
.rechner__ergebnis h3 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.rechner__zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .28); font-variant-numeric: tabular-nums; }
.rechner__zeile strong { font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
.rechner__anteil { margin-top: 16px; }
.rechner__anteil span { display: block; font-size: 16px; }
.rechner__anteil strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 44px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.rechner__hinweis { margin: 14px 0 0; font-size: 16px; line-height: 1.5; color: #fff; }
.rechner__hinweis + .rechner__hinweis { margin-top: 8px; }

/* ---------- Hinweise, Schritte, Quellen ---------- */
.hinweisbox { display: flex; gap: 14px; max-width: 76ch; margin: 22px 0 0; padding: 18px 22px; border: 1px solid #E6D49A; border-radius: var(--r-m); background: #FFF8DE; color: var(--tinte); font-size: 17px; line-height: 1.55; }
.hinweisbox svg { flex: none; width: 26px; height: 26px; margin-top: 1px; color: #7A5C00; }
.hinweisbox p { margin: 0; }
.artikel .schritte { max-width: 70ch; margin-top: 12px; }
.quellen { display: grid; gap: 10px; max-width: 76ch; margin: 14px 0 0; padding: 0; list-style: none; }
.quellen li { padding: 14px 18px; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; }
.quellen a { font-weight: 700; }
.quellen span { display: block; margin-top: 2px; font-size: 15px; color: var(--tinte-2); }

.kosten-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 8px; padding: 28px 32px; background: var(--gruen-ui); color: #fff; }
.kosten-cta p { margin: 0; max-width: 40ch; font-family: var(--font-display); font-size: clamp(21px, 2.1vw, 27px); font-weight: 700; line-height: 1.2; letter-spacing: .03em; }
.kosten-cta .aktionen { margin: 0; }

@media (max-width: 960px) {
  .ratgeber { grid-template-columns: 1fr; }
  .inhaltsnav { position: static; padding: 18px 20px; border-radius: var(--r-m); background: var(--papier); }
  .inhaltsnav ol { columns: 2; column-gap: 24px; border-left: 0; }
  .inhaltsnav li { break-inside: avoid; }
  .inhaltsnav a { margin-left: 0; padding-left: 0; border-left: 0; }
  .eckwerte { grid-template-columns: 1fr; }
  .rechner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .inhaltsnav ol { columns: 1; }
  .rechner .wahl, .rechner .wahl--zwei { grid-template-columns: 1fr; }
  .rechner__eingabe, .rechner__ergebnis { padding: 22px 20px; }
  .kosten-cta { padding: 24px 20px; }

  /* Tabellen untereinander statt seitlich scrollen */
  .fakten table { min-width: 0; font-size: 17px; }
  .fakten tbody, .fakten tr, .fakten th[scope="row"], .fakten td { display: block; width: auto; }
  .fakten th, .fakten td { border-bottom: 0; }
  .fakten th[scope="row"] { padding: 10px 16px; border-top: 1px solid var(--linie); }
  .fakten tbody tr:first-child th[scope="row"] { border-top: 0; }
  .fakten td { padding: 10px 16px 14px; }
  .fakten--vergleich thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fakten--vergleich td { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 9px 16px; }
  .fakten--vergleich td + td { border-top: 1px dashed var(--linie); }
  .fakten--vergleich td::before { content: attr(data-label); font-weight: 700; color: var(--gruen-text); }
}
