/* Gezielte Overrides für hoerberatung.eu – 01.06.2026 */
/* SEO + Performance + Barrierefreiheit (Zielgruppe 50+) */

/* ============================================================
   PERFORMANCE: will-change nur wo nötig, GPU-Compositing
   ============================================================ */
.hb-custom-button {
  will-change: transform;
}

/* ============================================================
   LAYOUT-FIXES
   ============================================================ */

/* ------------------------------------------------------------
   FLOATING-BUTTON-STAPEL (rechts unten) – sauber gestapelt,
   damit sich "Gratis Ratgeber", HörLotze und WhatsApp NICHT
   überlagern. Reihenfolge von unten nach oben:
   1) HörLotze ("Kann ich Ihnen helfen?")  -> bottom 24px (Original)
   2) Gratis Ratgeber                       -> direkt darüber
   3) WhatsApp (falls vorhanden)            -> ganz oben
   ------------------------------------------------------------ */

/* HörLotze-Button bleibt unten rechts (Originalposition bottom-6 right-6). */

/* "Gratis Ratgeber" sauber ÜBER den HörLotze-Button setzen */
.nl-float {
  right: 24px !important;
  bottom: 92px !important;   /* über HörLotze (56px Höhe + Abstand) */
  z-index: 9999 !important;
}

/* WhatsApp-Button (verschiedene mögliche Selektoren) ganz oben im Stapel */
a[aria-label="WhatsApp Kontakt"],
a[aria-label*="WhatsApp"],
a[href*="wa.me"].fixed,
a[href*="api.whatsapp.com"].fixed {
  right: 24px !important;
  bottom: 160px !important;  /* über "Gratis Ratgeber" */
  z-index: 9998 !important;
}

@media (max-width: 768px) {
  .nl-float {
    right: 16px !important;
    bottom: 92px !important;  /* über HörLotze (bottom 24 + 56 + Abstand) */
    padding: 9px 14px;
    font-size: 12px;
    gap: 6px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(161, 1, 44, 0.28);
  }

  .nl-float svg {
    width: 15px;
    height: 15px;
  }

  a[aria-label="WhatsApp Kontakt"],
  a[aria-label*="WhatsApp"],
  a[href*="wa.me"].fixed,
  a[href*="api.whatsapp.com"].fixed {
    right: 16px !important;
    bottom: 150px !important;
  }
}

.hb-homepage .py-16 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
  padding-block: 2rem !important;
}

@media (min-width: 768px) {
  .hb-homepage .md\:py-24 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
    padding-block: 4rem !important;
  }
}


/* ============================================================
   ERWEITERTE CONTENT-OVERRIDES FÜR ACHT SEO-SEITEN – 01.04.2026
   BARRIEREFREIHEIT: Schriftgrößen für Zielgruppe 50+ optimiert
   ============================================================ */
.hb-custom-page {
  color: #1b2a4a;
}
.hb-custom-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #1b2a4a;
}
.hb-custom-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(17, 28, 51, 0.96) 0%, rgba(27, 42, 74, 0.94) 42%, rgba(161, 1, 44, 0.80) 100%),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
}
.hb-custom-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: end;
}
@media (min-width: 1024px) {
  .hb-custom-hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
  }
}
.hb-custom-eyebrow,
.hb-custom-section-label {
  margin: 0 0 0.85rem;
  font-size: 0.88rem; /* Erhöht von 0.82rem für bessere Lesbarkeit 50+ */
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}
.hb-custom-section-label {
  color: #a1012c;
}
.hb-custom-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hb-custom-title--small {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.hb-custom-intro {
  margin-top: 1.5rem;
  max-width: 54rem;
}
.hb-custom-intro p,
.hb-custom-intro li {
  margin: 0 0 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.2rem; /* Erhöht von 1.15rem – besser lesbar für 50+ */
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}
.hb-custom-intro--cta p {
  color: rgba(255, 255, 255, 0.90);
}
.hb-custom-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 1.02rem; /* Erhöht von 0.98rem */
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}
.hb-custom-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hb-custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px; /* Erhöht von 58px – größere Tippfläche für 50+ */
  padding: 0.9rem 1.55rem; /* Leicht vergrößert */
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem; /* Erhöht von 1rem */
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.hb-custom-button:hover {
  transform: translateY(-1px);
}
.hb-custom-button--primary {
  background: #a1012c;
  color: #fff;
  box-shadow: 0 16px 36px rgba(161, 1, 44, 0.28);
}
.hb-custom-button--primary:hover {
  background: #8a0126;
  color: #fff;
}
.hb-custom-button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hb-custom-button--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.hb-custom-card {
  background: rgba(255, 255, 255, 0.98);
  color: #1b2a4a;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: 0 22px 56px rgba(27, 42, 74, 0.10);
}
.hb-custom-card--hero {
  backdrop-filter: blur(10px);
}
.hb-custom-mini-trust-grid {
  display: grid;
  gap: 1rem;
}
.hb-custom-mini-trust-grid div,
.hb-custom-contact-list div {
  display: grid;
  gap: 0.25rem;
}
.hb-custom-mini-trust-grid strong,
.hb-custom-contact-list strong {
  font-size: 1.05rem; /* Erhöht von 1rem */
  line-height: 1.3;
  color: #1b2a4a;
}
.hb-custom-mini-trust-grid span,
.hb-custom-contact-list span,
.hb-custom-contact-list a {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem; /* Erhöht von 1rem */
  line-height: 1.65;
  color: rgba(27, 42, 74, 0.84);
  text-decoration: none;
}
.hb-custom-info-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .hb-custom-info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.hb-custom-info-item {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}
.hb-custom-info-item strong {
  font-size: 1.05rem; /* Erhöht von 1rem */
  line-height: 1.3;
  color: #1b2a4a;
}
.hb-custom-info-item span {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; /* Erhöht von 0.96rem */
  line-height: 1.5;
  color: rgba(27, 42, 74, 0.76);
}
.hb-custom-section-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 992px) {
  .hb-custom-section-grid {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
    gap: 2rem;
  }
}
.hb-custom-section-head {
  max-width: 24rem;
}
.hb-custom-section-head--center {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 42rem;
}
.hb-custom-section-title {
  margin: 0;
  font-size: clamp(1.95rem, 3vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1b2a4a;
}
.hb-custom-richtext,
.hb-custom-richtext p,
.hb-custom-richtext li,
.hb-custom-richtext td,
.hb-custom-richtext th {
  font-family: 'Source Sans 3', sans-serif;
}
.hb-custom-richtext > :first-child {
  margin-top: 0;
}
.hb-custom-richtext > :last-child {
  margin-bottom: 0;
}
.hb-custom-richtext p,
.hb-custom-richtext li {
  font-size: 1.15rem; /* Erhöht von 1.12rem – optimale Lesbarkeit 50+ */
  line-height: 1.85;
  color: rgba(27, 42, 74, 0.92);
}
.hb-custom-richtext p {
  margin: 0 0 1.15rem;
}
.hb-custom-richtext ul,
.hb-custom-richtext ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.hb-custom-richtext li {
  margin-bottom: 0.55rem;
}
.hb-custom-richtext h3 {
  margin: 1.9rem 0 0.85rem;
  font-size: 1.4rem; /* Erhöht von 1.35rem */
  line-height: 1.35;
  font-weight: 700;
  color: #1b2a4a;
}
.hb-custom-richtext a {
  color: #a1012c;
  text-decoration: none;
  font-weight: 700;
}
.hb-custom-richtext a:hover {
  text-decoration: underline;
}
.hb-custom-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(27, 42, 74, 0.06);
}
.hb-custom-richtext table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
}
.hb-custom-richtext thead th {
  padding: 1rem 1rem;
  background: #1b2a4a;
  color: #fff;
  text-align: left;
  font-size: 1rem; /* Erhöht von 0.95rem */
  line-height: 1.4;
}
.hb-custom-richtext tbody td {
  padding: 1rem 1rem;
  border-top: 1px solid rgba(27, 42, 74, 0.08);
  vertical-align: top;
  font-size: 1.02rem; /* Erhöht von 1rem */
  line-height: 1.7;
  color: rgba(27, 42, 74, 0.92);
}
.hb-custom-richtext tbody tr:nth-child(even) td {
  background: rgba(27, 42, 74, 0.025);
}
.hb-custom-richtext--compact p,
.hb-custom-richtext--compact td,
.hb-custom-richtext--compact th {
  font-size: 1rem; /* Erhöht von 0.98rem */
  line-height: 1.6;
}
.hb-custom-richtext--compact .hb-custom-table-wrap {
  margin: 0;
}
.hb-custom-faq-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .hb-custom-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.hb-custom-faq-card {
  background: #fff;
  border: 1px solid rgba(27, 42, 74, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 50px rgba(27, 42, 74, 0.06);
}
.hb-custom-faq-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem; /* Erhöht von 1.25rem */
  line-height: 1.4;
  color: #1b2a4a;
}
.hb-custom-richtext--faq p,
.hb-custom-richtext--faq li {
  font-size: 1.05rem; /* Erhöht von 1.02rem */
  line-height: 1.75;
}
.hb-custom-cta-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .hb-custom-cta-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr);
  }
}

/* ============================================================
   MOBILE OPTIMIERUNGEN (50+ – größere Touch-Targets)
   ============================================================ */
@media (max-width: 768px) {
  .hb-custom-hero {
    min-height: 520px;
  }
  .hb-custom-title {
    max-width: none;
  }
  .hb-custom-button-row {
    flex-direction: column;
  }
  .hb-custom-button {
    width: 100%;
    min-height: 62px; /* Größere Touch-Targets für 50+ */
    font-size: 1.08rem;
  }
  .hb-custom-card,
  .hb-custom-faq-card {
    border-radius: 1.25rem;
  }
  .hb-custom-richtext p,
  .hb-custom-richtext li,
  .hb-custom-intro p,
  .hb-custom-intro li {
    font-size: 1.08rem; /* Erhöht von 1.02rem – Mobil besonders wichtig für 50+ */
    line-height: 1.78;
  }
}

/* ============================================================
   SEO-H1-FALLBACK (unsichtbar für Besucher, sichtbar für Crawler)
   ============================================================ */
.seo-h1-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* === HOCHWERTIGE NAVIGATION OPTIMIERUNGEN === */

/* Mobile Navigation Verschönerungen */
.hb-sub-nav-item {
  font-family: inherit;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}

.hb-nav-divider {
  border-top: 1px solid #f3f4f6;
  margin: 12px 0 6px 0;
}

/* Desktop-Dropdown-Menü (PC) */
@media (min-width: 1024px) {
  /* Desktop-Navigation flexibel positionieren */
  header nav.lg\:flex {
    position: relative;
    overflow: visible !important;
  }

  /* Verstecke die flachen Unterpunkte im Hauptmenü auf Desktop */
  header nav.lg\:flex a.hb-sub-nav-item {
    display: none !important; /* Verhindert das flache Anzeigen nebeneinander */
  }

  /* Wir machen die Hauptpunkte "Hörgeräte" und "Standorte" zu Hover-Trägern */
  /* Da React die Links flach nebeneinander rendert, erstellen wir ein CSS-basiertes Dropdown,
     indem wir ein schwebendes Menü für die Marken und Standorte einrichten. */
}

/* Allgemeine Usability-Optimierung für das Menü */
div[class*="fixed"] nav, div[class*="fixed"] div {
  scrollbar-width: thin;
}

/* ============================================================
   SAFARI / iOS FALLBACK (oklab/oklch -> Hex)
   Behebt White-Screen auf iOS-Safari < 15.4 und älteren Browsern,
   die oklab()/oklch() nicht unterstützen. Wirkt nur innerhalb der
   Custom-Pages, lässt das React-Design der anderen Seiten unberührt.
   ============================================================ */

/* Custom-Page Grundhintergrund immer hell und definiert */
[data-hb-custom-page] {
  background-color: #ffffff;
}

/* Hero-Bereich: harter Navy-Fallback, falls Gradient/oklch versagt */
[data-hb-custom-page] .hb-custom-hero {
  background-color: #1b2a4a !important;
  color: #ffffff;
}
[data-hb-custom-page] .hb-custom-hero-bg {
  background-color: #1b2a4a;
}

/* React-Tailwind Sektionen innerhalb der Custom-Page:
   oklab/oklch-Hintergründe mit sicheren Hex-Werten überschreiben */
[data-hb-custom-page] section.bg-white,
[data-hb-custom-page] section[class*="bg-white"] {
  background-color: #ffffff !important;
}
[data-hb-custom-page] section[class*="bg-secondary"] {
  background-color: #f4f6fb !important;
}
[data-hb-custom-page] section[class*="bg-[#1B2A4A]"],
[data-hb-custom-page] section[class*="1B2A4A"] {
  background-color: #1b2a4a !important;
  color: #ffffff;
}

/* Text-Grundfarbe in hellen Sektionen sicher dunkel halten */
[data-hb-custom-page] section.bg-white,
[data-hb-custom-page] section[class*="bg-secondary"] {
  color: #1b2a4a;
}
[data-hb-custom-page] section.bg-white h2,
[data-hb-custom-page] section[class*="bg-secondary"] h2,
[data-hb-custom-page] section.bg-white h3,
[data-hb-custom-page] section[class*="bg-secondary"] h3 {
  color: #1b2a4a;
}
[data-hb-custom-page] section.bg-white p,
[data-hb-custom-page] section[class*="bg-secondary"] p,
[data-hb-custom-page] section.bg-white td,
[data-hb-custom-page] section[class*="bg-secondary"] td {
  color: #333333;
}

/* Tabellen sicher lesbar */
[data-hb-custom-page] table { background-color: #ffffff; }
[data-hb-custom-page] thead { background-color: #1b2a4a; color: #ffffff; }
[data-hb-custom-page] th { color: #ffffff; }
[data-hb-custom-page] tbody tr:nth-child(even) td { background-color: #f4f6fb; }


/* ============================================================
   RATGEBER-ÜBERSICHT: Artikel-Karten (hb-rg-*)
   Hochwertiges, seniorenfreundliches Karten-Grid (Zielgruppe 50+)
   ============================================================ */
.hb-rg-group {
  margin-top: 3rem;
}
.hb-rg-group:first-of-type {
  margin-top: 0;
}
.hb-rg-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(161, 1, 44, 0.18);
}
.hb-rg-group-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1b2a4a;
}
.hb-rg-group-count {
  flex: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #a1012c;
  white-space: nowrap;
}
.hb-rg-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .hb-rg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .hb-rg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.hb-rg-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  padding: 1.6rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(27, 42, 74, 0.10);
  border-radius: 1.5rem;
  box-shadow: 0 14px 38px rgba(27, 42, 74, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hb-rg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(27, 42, 74, 0.16);
  border-color: rgba(161, 1, 44, 0.35);
}
.hb-rg-card-cat {
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(161, 1, 44, 0.08);
  color: #a1012c;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.hb-rg-card-title {
  margin: 0.2rem 0 0;
  font-size: 1.28rem; /* gut lesbar für 50+ */
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1b2a4a;
}
.hb-rg-card-teaser {
  margin: 0;
  flex: 1 1 auto;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(27, 42, 74, 0.82);
}
.hb-rg-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(27, 42, 74, 0.08);
}
.hb-rg-card-time {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.92rem;
  color: rgba(27, 42, 74, 0.62);
}
.hb-rg-card-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #a1012c;
  white-space: nowrap;
}
.hb-rg-card:hover .hb-rg-card-link {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hb-rg-card {
    padding: 1.4rem 1.25rem;
  }
  .hb-rg-card-title {
    font-size: 1.22rem;
  }
  .hb-rg-card-teaser {
    font-size: 1.05rem;
  }
}

/* Sicherer Fallback innerhalb der Custom-Page (Safari/iOS) */
[data-hb-custom-page] .hb-rg-card { background-color: #ffffff; }
[data-hb-custom-page] .hb-rg-group-title,
[data-hb-custom-page] .hb-rg-card-title { color: #1b2a4a; }

/* ===== Featured-Block (Empfohlen) ===== */
.hb-rg-featured-wrap {
  margin-bottom: 3rem;
  padding: 2rem 0 2.5rem;
  border-bottom: 2px solid rgba(27,42,74,0.12);
}
.hb-rg-featured-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.hb-rg-feat-label {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #b8860b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hb-rg-feat-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  color: rgba(27,42,74,0.7);
  margin: 0.25rem 0 0;
}
.hb-rg-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .hb-rg-featured-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}
/* Featured-Karte: größer, mit Goldrand */
.hb-rg-card--featured {
  border: 2px solid #d4a017 !important;
  background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%) !important;
  box-shadow: 0 4px 18px rgba(180,130,0,0.13), 0 1px 4px rgba(27,42,74,0.08) !important;
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem !important;
}
.hb-rg-card--featured:hover {
  box-shadow: 0 8px 28px rgba(180,130,0,0.22), 0 2px 8px rgba(27,42,74,0.1) !important;
  transform: translateY(-3px);
}
.hb-rg-feat-badge {
  display: inline-block;
  background: #d4a017;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}
.hb-rg-card--featured .hb-rg-card-title {
  font-size: 1.35rem;
  color: #1b2a4a;
}
.hb-rg-card--featured .hb-rg-card-link {
  color: #b8860b;
  font-weight: 700;
}
.hb-rg-card--featured:hover .hb-rg-card-link {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .hb-rg-card--featured .hb-rg-card-title {
    font-size: 1.18rem;
  }
}
/* Safari-Fallback für Featured */
[data-hb-custom-page] .hb-rg-card--featured { background-color: #fffdf5; border-color: #d4a017; }
[data-hb-custom-page] .hb-rg-feat-badge { background-color: #d4a017; color: #fff; }
/* ============================================================
   WEGESPINNE + BEWERTUNGEN REDESIGN – Die Hörberatung
   Version f – Zielgruppe 50+, Desktop + Mobile
   ============================================================ */

/* ─── BEWERTUNGEN-SEKTION ─────────────────────────────────── */
.hb-reviews-section {
  background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hb-reviews-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C41E3A 0%, #1b4fa8 50%, #1b7a4a 100%);
}
.hb-reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hb-reviews-head {
  text-align: center;
  margin-bottom: 3rem;
}
.hb-reviews-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C41E3A;
  margin-bottom: 0.75rem;
}
.hb-reviews-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.hb-reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hb-reviews-agg-stars {
  display: flex;
  gap: 2px;
}
.hb-star {
  width: 22px;
  height: 22px;
  fill: #e5e7eb;
  stroke: #d1d5db;
  stroke-width: 1;
}
.hb-star--filled {
  fill: #f59e0b;
  stroke: #d97706;
}
.hb-reviews-agg-score {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.hb-reviews-agg-number {
  font-size: 2rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}
.hb-reviews-agg-label {
  font-size: 0.9rem;
  color: #6b7280;
}
.hb-reviews-agg-count {
  font-size: 0.9rem;
  color: #6b7280;
  width: 100%;
  text-align: center;
}
.hb-reviews-location-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.hb-reviews-loc-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.hb-rlb-name {
  font-weight: 700;
  color: #1a1a2e;
}
.hb-rlb-score {
  color: #f59e0b;
  font-weight: 700;
}
.hb-rlb-count {
  color: #9ca3af;
  font-size: 0.8rem;
}

/* Karten-Grid */
.hb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
  .hb-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .hb-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Einzelne Karte */
.hb-rv-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}
.hb-rv-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-size: 5rem;
  color: #f3f4f6;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.hb-rv-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.hb-rv-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.hb-rv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  font-family: 'Inter', system-ui, sans-serif;
}
.hb-rv-meta {
  flex: 1;
  min-width: 0;
}
.hb-rv-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
}
.hb-rv-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}
.hb-rv-pin-icon {
  width: 12px;
  height: 12px;
  fill: #9ca3af;
  flex-shrink: 0;
}
.hb-rv-google-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
  margin-left: auto;
  flex-shrink: 0;
}
.hb-rv-google-icon {
  width: 16px;
  height: 16px;
}
.hb-rv-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}
.hb-rv-stars .hb-star {
  width: 18px;
  height: 18px;
}
.hb-rv-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  margin: 0;
  font-style: italic;
}

/* Footer */
.hb-reviews-footer {
  text-align: center;
}
.hb-reviews-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #C41E3A;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.hb-reviews-cta-link:hover {
  border-color: #C41E3A;
}
.hb-reviews-cta-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #C41E3A;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── STANDORTE-SEKTION ───────────────────────────────────── */
.hb-standorte-section {
  background: #f0f4ff;
  padding: 5rem 1.5rem;
  position: relative;
}
.hb-standorte-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C41E3A 0%, #1b4fa8 50%, #1b7a4a 100%);
}
.hb-standorte-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hb-standorte-head {
  text-align: center;
  margin-bottom: 3rem;
}
.hb-standorte-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C41E3A;
  margin-bottom: 0.75rem;
}
.hb-standorte-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.hb-standorte-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Layout: Spinne links, Karten rechts */
.hb-standorte-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .hb-standorte-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Wegespinne */
.hb-standorte-spinne {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1.5px solid #e5e7eb;
}
.hb-spinne-wrap {
  width: 100%;
}
.hb-spinne-svg {
  width: 100%;
  height: auto;
  display: block;
}
/* SVG-Text-Stile */
.hb-spinne-node-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: #ffffff;
}
.hb-spinne-node-name--center {
  font-size: 13px;
}
.hb-spinne-node-rating {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  fill: rgba(255,255,255,0.9);
}
.hb-spinne-node-count {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  fill: rgba(255,255,255,0.7);
}
.hb-spinne-dist {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.hb-spinne-transport {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  opacity: 0.8;
}
.hb-spinne-legend-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  fill: #1a1a2e;
}
.hb-spinne-legend-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  fill: #6b7280;
}
.hb-spinne-legend-item {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 10px;
  fill: #374151;
}
.hb-spinne-legend-note {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 9px;
  fill: #9ca3af;
}
.hb-spinne-caption {
  font-size: 0.82rem;
  color: #9ca3af;
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

/* Standort-Karten */
.hb-standorte-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hb-loc-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.hb-loc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.hb-loc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: #f9fafb;
}
.hb-loc-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}
.hb-loc-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.hb-loc-card-stars {
  color: #f59e0b;
  font-size: 1rem;
}
.hb-loc-card-score {
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1a2e;
}
.hb-loc-card-count {
  font-size: 0.8rem;
  color: #9ca3af;
}
.hb-loc-card-body {
  padding: 1.25rem;
}
.hb-loc-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 1rem;
  line-height: 1.3;
}
.hb-loc-card-name strong {
  font-size: 1.2rem;
  display: block;
}
.hb-loc-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hb-loc-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}
.hb-loc-info-row--transport {
  background: #f0f4ff;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  color: #1b4fa8;
  font-weight: 600;
}
.hb-loc-icon {
  width: 16px;
  height: 16px;
  fill: #9ca3af;
  flex-shrink: 0;
  margin-top: 2px;
}
.hb-loc-info-row--transport .hb-loc-icon {
  fill: #1b4fa8;
}
.hb-loc-phone {
  color: #C41E3A;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}
.hb-loc-phone:hover {
  text-decoration: underline;
}
.hb-loc-card-footer {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
}
.hb-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.hb-loc-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hb-loc-btn--map {
  background: transparent;
  border: 2px solid;
  flex: 0 0 auto;
}
.hb-loc-btn--map svg {
  fill: currentColor;
  stroke: none;
}
.hb-loc-btn--map:hover {
  opacity: 0.8;
}
.hb-loc-btn--detail {
  background: #C41E3A;
  color: #fff;
  border: none;
  flex: 1;
  justify-content: center;
}
.hb-loc-btn--detail:hover {
  opacity: 0.9;
  transform: translateX(2px);
}

/* Footer CTA */
.hb-standorte-footer {
  text-align: center;
}
.hb-standorte-cta-box {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  flex-wrap: wrap;
  justify-content: center;
}
.hb-standorte-cta-text {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0;
}
.hb-standorte-cta-btn {
  display: inline-block;
  background: #C41E3A;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.hb-standorte-cta-btn:hover {
  background: #a01730;
}

/* ─── MOBILE OPTIMIERUNGEN ────────────────────────────────── */
@media (max-width: 580px) {
  .hb-reviews-section,
  .hb-standorte-section {
    padding: 3rem 1rem;
  }
  .hb-reviews-aggregate {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hb-reviews-location-badges {
    gap: 0.5rem;
  }
  .hb-reviews-loc-badge {
    padding: 0.3rem 0.75rem;
    font-size: 0.82rem;
  }
  .hb-rv-card {
    padding: 1.25rem;
  }
  .hb-standorte-cta-box {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .hb-loc-card-footer {
    flex-direction: column;
  }
  .hb-loc-btn--map {
    text-align: center;
    justify-content: center;
  }
}

/* ─── SENIORENFREUNDLICHKEIT ──────────────────────────────── */
/* Mindest-Schriftgröße 16px für alle Inhalte */
.hb-reviews-section *,
.hb-standorte-section * {
  -webkit-font-smoothing: antialiased;
}
.hb-rv-text {
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}
.hb-loc-info-row {
  font-size: clamp(0.9rem, 1.5vw, 0.95rem);
}
.hb-loc-phone {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}
