/* Region SSR extras — tokens from /landing.css (:root) */

/* Typografie und Abstände der Regionsseite (26.11.2026): eine Skala, ein Raster, zwei Kastenarten.
   Schrift: 17 Bericht, 16 Fließtext, 14 Nebentext, 13 Kleingedrucktes, 11 Diagrammachsen.
   Abstände zwischen den Blöcken: 8, 16, 24, 40 px. Außenabstände stehen nur hier, nicht bei den einzelnen Blöcken.
   Alles hängt an .region-page, die Übersicht (.region-hub) bleibt unberührt.
   Messwerte prüft api/test/seo/regionsseite-typografie.playwright.test.js. */
.region-page {
  --gap-xs: 8px;
  --gap-s: 16px;
  --gap-m: 24px;
  --gap-l: 40px;
  --card-pad: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.region-page :where(h1, h2, h3, p, ul, ol, dl, dd, figure) {
  margin: 0;
}

.region-page :where(h1) {
  font-size: clamp(1.625rem, 1.2rem + 2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.region-page :where(h2) {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}

.region-page :where(h3) {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* Fließtext der Abschnitte dunkel, grau ist nur Nebentext mit eigener Klasse */
.region-page :where(section p, section ul, section ol) {
  color: var(--ink);
}

.region-page :where(.btn) {
  font-size: 16px;
}

/* Raster zwischen den Blöcken */
.region-page > * + * {
  margin-top: var(--gap-s);
}

.region-page > section,
.region-page > .parent-state,
.region-page > .parent-country,
.region-page > .region-disclaimer {
  margin: var(--gap-l) 0 0;
}

.region-page > .site-head {
  margin-bottom: 0;
}

.region-page > .site-head + *,
.region-page > .region-score-row,
.region-page > .region-weather-heading,
.region-page > .region-hero,
.region-page > .parent-state + .region-related,
.region-page > .parent-country + .region-related,
.region-page > .site-foot {
  margin-top: var(--gap-m);
}

.region-page > .region-habitat-card,
.region-page > .parent-state + .parent-country {
  margin-top: var(--gap-s);
}

.region-page > .region-stand + h1,
.region-page > .region-lede + .region-quote,
.region-page > .region-weather-heading + .region-story,
.region-page > .region-radar-link + .region-climate-summary,
.region-page > .ff-map-credit {
  margin-top: var(--gap-xs);
}

/* Raster in den Abschnitten: 16 px, eng zusammengehörige Zeilen 8 px */
.region-page > :where(section:not(.region-hero)) > * + *,
.region-bottom-cta-inner > * + * {
  margin-top: var(--gap-s);
}

.region-page :where(
  .region-alert-sub,
  .region-bottom-cta-body,
  .climate-subline,
  .region-habitat-card p,
  .series-summary,
  .series-switches,
  .ff-month-legend,
  .ff-month-legend-note,
  .ff-season-months,
  .gbif-species,
  .ff-lookalikes-list,
  .region-share-hint,
  .sp-lookalike
) {
  margin-top: var(--gap-xs);
}

/* Kastenart „Karte“: weiß, feiner Rand, kein Schatten. Die zweite Art ist der gestrichelte Hinweis (.region-clubs-empty). */
.region-alert-card,
.region-climate-card,
.region-habitat-card,
.collecting-rules,
.region-bottom-cta-inner,
.region-safety {
  padding: var(--card-pad);
  border-radius: var(--radius);
  background: var(--sheet);
  border: 1px solid var(--line);
}

.region-page :where(.region-alert-card, .region-climate-card, .collecting-rules, .region-bottom-cta-inner, .region-safety) h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Nebentext 14 px und Kleingedrucktes 13 px, beide grau */
.region-lede,
.region-alert-sub,
.region-bottom-cta-body {
  color: var(--muted);
}

.region-radar-link,
.region-climate-summary,
.region-map-bridge,
.region-score-badge .badge-species,
.series-summary,
.series-switches,
.ff-season-note,
.ff-season-intro,
.gbif-months-intro,
.ff-lookalikes-intro,
.ff-lookalikes-with,
.region-safety .safety-muted,
.region-safety .safety-note,
.parent-state,
.parent-country {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.region-stand,
.region-share-hint,
.species-bars .sp-lookalike,
.climate-subline,
.climate-chip-label,
.ff-month-legend,
.ff-month-legend-note,
.gbif-attr,
.collecting-rules .source,
.collecting-rules .muted,
.region-safety .safety-sources,
.region-disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 520px) {
  .region-page {
    --card-pad: 16px;
  }

  .region-page :where(.region-alert-card, .region-climate-card, .collecting-rules, .region-bottom-cta-inner, .region-safety) h2 {
    font-size: 1.125rem;
  }
}

.region-stand {
  letter-spacing: 0.02em;
}

/* Kopf (24.10.2026, zweite Runde): Score als Zeile über der Karte, Karte scharf und ganz anklickbar */
.region-score-row .region-score-badge {
  flex: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.region-score-row .badge-species {
  margin: 2px 0 0;
}

.region-hero {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ff-ground);
}

.region-hero-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.region-hero-map .region-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
}

.region-hero .region-hero-hit {
  position: absolute;
  width: auto;
  text-align: right;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  text-decoration: none;
}

.region-hero-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ff-gold-ink);
  border: 1px solid var(--ff-gold-line);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(23, 26, 21, 0.18);
}

.region-hero-hit:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.region-score-map-wrap {
  margin: 0;
}

.region-score-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  flex: 1 1 240px;
  min-width: min(100%, 240px);
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--chip);
  border: 1px solid var(--line);
}

.region-share-actions .btn {
  padding: 8px 14px;
  font-size: 14px;
}

.region-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-score-map-wrap {
  margin: 0;
  width: 100%;
}

.region-score-map-cta {
  display: block;
  width: 100%;
  text-align: center;
}

.region-safety .safety-life {
  font-weight: 600;
}

.region-safety .safety-poison {
  padding-left: 1.2em;
}

.region-safety .safety-poison li {
  margin: 6px 0;
}

.region-safety .safety-sources-heading {
  font-size: 14px;
  font-weight: 600;
}

.region-safety .safety-sources {
  word-break: break-word;
}

.region-score-badge .badge-num {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  min-width: 3.2ch;
  color: var(--score-color, var(--gold));
}

.region-score-badge .badge-meta {
  flex: 1;
  min-width: 160px;
}

.region-score-badge .badge-tier {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

/* Bericht: ein zusammenhängender Absatz in dunkler Schrift, auch wenn die Satzmaschine mehrere Absätze liefert */
.region-story {
  font-size: 17px;
  color: var(--ink);
}

.region-story p {
  display: inline;
}

.region-story p + p::before {
  content: " ";
}

.region-map-embed-card {
  margin: 36px 0 28px;
}

.region-map-embed {
  position: relative;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--chip);
  box-shadow: var(--shadow);
}

.region-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  background: var(--ff-ground);
  filter: blur(4px) saturate(0.95);
  transform: scale(1.06);
}

/* Full-area hit target — prevents iframe scroll trapping on mobile */
.region-map-embed-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(250, 250, 247, 0.55) 0%, rgba(250, 250, 247, 0.82) 45%, rgba(250, 250, 247, 0.92) 100%);
  -webkit-tap-highlight-color: transparent;
}

.region-map-embed-cta {
  pointer-events: none;
  max-width: min(100%, 360px);
  text-align: center;
  box-shadow: var(--shadow);
}


.region-alert-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-alert-icon {
  font-size: 16px;
  line-height: 1;
}

.region-alert-card .btn {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 520px) {
  .region-map-embed {
    height: 280px;
  }
}

/* 17-day bar chart — HTML/CSS only (hover + touch focus/active) */
.score-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 160px;
  margin: 8px 0 0;
  /* room for tips above bars — avoids visual jump into heading */
  padding: 36px 4px 0;
  border-bottom: 1px solid var(--line);
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
}

.score-bar {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: calc(var(--h, 0) * 1%);
  min-height: 4px;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px 6px 2px 2px;
  background: var(--moss);
  opacity: 0.92;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: bottom center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.score-bar.past {
  background: repeating-linear-gradient(
    -45deg,
    var(--ff-gold-line),
    var(--ff-gold-line) 3px,
    var(--ff-hairline) 3px,
    var(--ff-hairline) 6px
  );
  opacity: 0.55;
}

.score-bar.today {
  background: linear-gradient(180deg, var(--ff-gold) 0%, var(--ff-gold-deep) 100%);
  opacity: 1;
  box-shadow: 0 0 0 2px var(--ff-gold-soft);
}

.score-bar.future {
  background: linear-gradient(180deg, var(--ff-gold-line) 0%, var(--ff-gold) 100%);
}

.score-bar:hover,
.score-bar:focus,
.score-bar:focus-visible,
.score-bar:active {
  transform: scaleY(1.06) scaleX(1.08);
  opacity: 1;
  z-index: 2;
  outline: none;
}

.score-bar-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-family: var(--mono);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease, transform 0.12s ease;
  box-shadow: var(--shadow);
  z-index: 3;
}

.score-bars {
  touch-action: pan-y;
}

.score-bar.is-active {
  transform: scaleY(1.06) scaleX(1.08);
  opacity: 1;
  z-index: 2;
}

.score-bar:nth-child(-n+3) .score-bar-tip {
  left: 0;
  transform: translateY(4px);
}

.score-bar:nth-last-child(-n+3) .score-bar-tip {
  left: auto;
  right: 0;
  transform: translateY(4px);
}

.score-bars:hover .score-bar.is-active:not(:hover) .score-bar-tip {
  opacity: 0;
}

.score-bar.is-active .score-bar-tip,
.score-bar:hover .score-bar-tip,
.score-bar:focus .score-bar-tip,
.score-bar:focus-visible .score-bar-tip,
.score-bar:active .score-bar-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.score-bar:nth-child(-n+3).is-active .score-bar-tip,
.score-bar:nth-child(-n+3):hover .score-bar-tip,
.score-bar:nth-last-child(-n+3).is-active .score-bar-tip,
.score-bar:nth-last-child(-n+3):hover .score-bar-tip {
  transform: translateY(0);
}

.series-switches {
  padding-left: 1.2rem;
}

/* Horizontal species availability bars */
.species-bars {
  display: grid;
  gap: 16px;
  padding: 0;
  list-style: none;
}

.species-bars li {
  margin: 0;
}

.species-bars .sp-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
}

.species-bars .sp-pct {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 13px;
}

.species-bars .sp-track {
  height: 10px;
  border-radius: 999px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: hidden;
}

.species-bars .sp-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ff-gold-line), var(--ff-gold));
  width: calc(var(--w, 0) * 1%);
  max-width: 100%;
}

.climate-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 720px) {
  .climate-grid {
    grid-template-columns: 1fr;
  }
}

.climate-chip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 12px 11px;
  border-radius: 12px;
  background: var(--ff-ground);
  border: 1px solid var(--line);
}

.climate-chip-icon {
  font-size: 16px;
  line-height: 1.3;
}

.climate-chip-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.climate-chip-label {
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.climate-chip-value {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.climate-chip.is-strong {
  border-color: rgba(126, 180, 90, 0.45);
}

.climate-chip.is-good {
  border-color: rgba(180, 170, 90, 0.4);
}

.climate-chip.is-mid {
  border-color: rgba(180, 140, 70, 0.35);
}

.climate-chip.is-low {
  border-color: rgba(160, 90, 70, 0.35);
}

.collecting-rules dl {
  display: grid;
  gap: 16px;
}

.collecting-rules dt {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.collecting-rules dd {
  margin-top: 4px;
  color: var(--ink);
}

.collecting-rules .source + .muted {
  margin-top: var(--gap-xs);
}

.region-bottom-cta-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.region-bottom-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-bottom-cta-actions .btn {
  width: 100%;
  text-align: center;
}

/* Fragen: gleiche Rundung wie die Karten, Antwort als Fließtext */
.region-faq.faq-list {
  display: block;
}

.region-faq .faq-item {
  border-radius: var(--radius);
}

.region-faq .faq-item + .faq-item {
  margin-top: var(--gap-xs);
}

.region-faq .faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}

.region-faq .faq-item div {
  font-size: 16px;
  color: var(--ink);
}

@media (min-width: 560px) {
  .region-bottom-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .region-bottom-cta-actions .btn {
    width: auto;
    flex: 1 1 200px;
  }
}

/* Verwandte Regionen und Nachbarregionen: dieselben Marken */
.region-related ul,
.ff-neighbors ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-related li,
.ff-neighbors li {
  margin: 0;
}

.region-related a,
.ff-neighbors a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--chip);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.region-related a:hover,
.region-related a:focus-visible,
.ff-neighbors a:hover,
.ff-neighbors a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 520px) {
  .score-bars {
    height: 132px;
    gap: 2px;
  }

  .score-bar-tip {
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* Verlauf: feste Anzeigezeile statt schwebendem Tooltip (Handy, 24.10.2026) */
.chart.has-readout .score-bar-tip {
  display: none;
}

.score-readout {
  min-height: 1.5em;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chart.has-readout .score-bar:hover,
.chart.has-readout .score-bar:focus,
.chart.has-readout .score-bar:active {
  transform: none;
}

.chart.has-readout .score-bar.is-active {
  transform: scaleY(1.04);
  box-shadow: 0 0 0 2px var(--ink);
}

/* Bündel l (#1128): Monatshäufigkeit, Saisonkalender, Verwechslungen, Nachbarregionen */
.ff-month-profile,
.ff-season-months {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px;
  counter-reset: none;
}
.ff-month-profile li,
.ff-season-months li {
  position: relative;
  min-height: 64px;
  padding: 0 0 20px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.2;
}
.ff-month-profile li::before,
.ff-season-months li::before {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 20px;
  border-radius: 4px 4px 2px 2px;
  background: var(--line);
  height: calc(6px + var(--rank, 0) * 9px);
}
.ff-month-profile li[data-level="Hauptzeit"]::before,
.ff-month-profile li[data-rank="4"]::before { background: rgb(122, 84, 16); }
.ff-month-profile li[data-rank="3"]::before { background: rgb(184, 134, 47); }
.ff-month-profile li[data-rank="2"]::before { background: rgb(217, 184, 101); }
.ff-month-profile li[data-rank="1"]::before { background: rgb(225, 214, 180); }
.ff-month-profile .ff-month-name,
.ff-season-months .ff-month-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  font-weight: 600;
}
.ff-month-profile .ff-month-level,
.ff-season-months .ff-season-state {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ff-season-months li {
  min-height: 40px;
}
.ff-season-months li::before {
  height: 14px;
  bottom: 20px;
}
.ff-season-months li[data-season="on"]::before { background: rgb(122, 84, 16); }
.ff-season-months li[data-season="on"][data-regional="off"]::before { background: rgb(217, 184, 101); }
.ff-season-art { font-size: 14px; }
/* Häufig gemeldete Speisepilze: kompakt, ab 520 px in zwei Spalten */
.gbif-species-intro { font-size: 14px; font-weight: 600; }
.gbif-species { font-size: 14px; line-height: 1.4; }
.gbif-species li { margin: 0 0 4px; break-inside: avoid; }
@media (min-width: 520px) {
  .gbif-species { columns: 2; column-gap: 24px; }
}
.ff-lookalikes-species { margin: 16px 0 0; }
.ff-lookalikes-list { padding-left: 18px; }
.ff-lookalikes-list li { margin: 4px 0; }
.ff-lookalike-risk {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 13px;
  background: #f1e4c9;
  color: #6b4a00;
}
.ff-lookalike--deadly .ff-lookalike-risk { background: #f3d4d1; color: #8a1c14; }
.ff-lookalike-compare { margin-left: 6px; font-size: 13px; }
/* Legende zum Monatsprofil: Farbstufen wie die Balken, Umbruch statt Scroll */
.ff-month-legend {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.ff-month-legend li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.ff-legend-swatch { width: 10px; height: 10px; border-radius: 2px; flex: none; background: var(--line); }
.ff-legend-swatch[data-rank="4"] { background: rgb(122, 84, 16); }
.ff-legend-swatch[data-rank="3"] { background: rgb(184, 134, 47); }
.ff-legend-swatch[data-rank="2"] { background: rgb(217, 184, 101); }
.ff-legend-swatch[data-rank="1"] { background: rgb(225, 214, 180); }
.ff-month-legend-note { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .ff-month-profile, .ff-season-months { gap: 2px; }
  .ff-month-legend { gap: 4px 8px; }
}

/* Quellenangabe der Kartenkacheln unter der Vorschau (api/src/seo/map-preview.js) */
.ff-map-credit {
  font-size: 11px;
  line-height: 1.35;
  color: var(--dim);
}

/* Block „Vereine“ unter den Arten: Einträge und dezenter Platzhalter (Vereine 1) */
.region-clubs-empty {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 12px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.region-clubs-empty p { margin: 0; grid-column: 1; }
.region-clubs-empty-text, .region-clubs-empty-biz { color: var(--muted); }
.region-clubs-empty-title { font-weight: 600; color: var(--ink); }
.region-clubs-empty-biz { font-size: 13px; }
.region-clubs-empty-link { grid-column: 2; grid-row: 1 / span 3; font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
  .region-clubs-empty { grid-template-columns: 1fr; }
  .region-clubs-empty-link { grid-column: 1; grid-row: auto; margin-top: 8px; }
}

/* Einträge der Partner und Link im Fuß (Refs #953, #1132) */
.region-partners-heading { font-weight: 600; margin: 0 0 8px; }
.region-partners-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.region-partner { display: flex; align-items: center; gap: 8px; }
.region-partner img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; }
.region-partner-badge { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: #f4ebdd; color: #794610; }
.region-partner-link { font-size: 13px; }

/* Feinschliff nach dem UX-Audit vom 26.11.2026 */
.region-page a.btn-secondary:any-link { color: var(--ink); text-decoration: none; }
.region-habitat-card h3 { font-size: 1.25rem; }
.region-score-row .region-score-badge { gap: 16px; }
.region-score-row .badge-num { min-width: 0; }
.series-switches { list-style: none; padding-left: 0; }
.region-clubs-empty { padding: var(--gap-s) var(--card-pad); }
.region-safety .safety-sources { padding-left: 1.2em; overflow-wrap: anywhere; word-break: normal; }
/* Die Anzeigezeile ersetzt den schwebenden Hinweis: kein Platz mehr über den Balken nötig */
.chart.has-readout .score-bars { padding-top: 8px; height: 132px; }
.region-page > .site-foot a { white-space: nowrap; }
@media (max-width: 520px) {
  .chart.has-readout .score-bars { height: 104px; }
  .region-habitat-card h3 { font-size: 1.125rem; }
}
