/* Ratgeber-Artikel – Apotheke Aktuell */

:root {
  --brand-navy: #0b2f4a;
  --brand-blue: #1d70b8;
  --brand-blue-dark: #0f385c;
  --brand-aqua: #4fb7b2;
  --page-bg: #f4f8fb;
  --surface: #ffffff;
  --surface-soft: #eaf4fb;
  --ink: #17232b;
  --ink-soft: #536471;
  --border: #d8e2ea;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(11, 47, 74, 0.06), 0 8px 24px rgba(11, 47, 74, 0.06);
  --maxw: 1180px;
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --leading-heading: 1.15;
  --leading-body: 1.6;
  --article-max-ch: 74ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--page-bg);
  line-height: var(--leading-body);
  font-size: var(--text-md);
  overflow-x: clip;
}

a { color: var(--brand-blue); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
  flex-shrink: 0;
  min-width: 0;
}

.brand__logo-full {
  display: block;
  width: min(200px, 100%);
  max-width: 100%;
  height: auto;
}

.brand__claim {
  font-size: 0.66rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.72);
  max-width: 220px;
}

.site-nav { width: 100%; }

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem;
  overflow-x: auto;
}

.site-nav__trigger {
  display: flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-weight: 600;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.site-nav__trigger::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
}

.site-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 15.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 40;
}

.site-nav__item { position: relative; }

.site-nav__item--dropdown:focus-within > .site-nav__menu,
.site-nav__item--dropdown:hover > .site-nav__menu {
  display: block;
  padding: 0.35rem 0;
}

.site-nav__sublink {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--text-sm);
  border-left: 3px solid transparent;
}

.site-nav__sublink:hover,
.site-nav__sublink--active {
  background: var(--surface-soft);
  border-left-color: var(--brand-blue);
}

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 2.5rem;
}

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 1.25rem 2.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__heading { margin: 0 0 0.65rem; font-size: var(--text-sm); color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; font-size: var(--text-sm); }
.site-footer__tagline,
.site-footer__copy { margin: 0.35rem 0 0; font-size: var(--text-sm); color: rgba(255, 255, 255, 0.72); }

@media (min-width: 760px) {
  .site-footer__inner { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .site-nav { width: auto; flex: 1 1 auto; }
  .site-nav__list { justify-content: flex-end; overflow: visible; }
  .site-header__inner { flex-wrap: nowrap; }
}

.ratgeber-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
}

.ratgeber-head {
  margin-bottom: 1.5rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--ink-soft);
}

.breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.ratgeber-kicker {
  margin: 0 0 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.ratgeber-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.ratgeber-intro {
  margin: 0;
  max-width: var(--article-max-ch);
  color: var(--ink-soft);
  font-size: var(--text-lg);
}

.ratgeber-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
}

.ratgeber-hero {
  margin: 0;
}

.ratgeber-hero__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.ratgeber-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-meta__item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.ratgeber-icon {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.ratgeber-icon--meta {
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
}

.ratgeber-icon--card {
  width: 20px;
  height: 20px;
}

.ratgeber-icon--transparency {
  width: 30px;
  height: 30px;
}

.ratgeber-icon--checklist {
  width: 48px;
  height: 48px;
}

.ratgeber-icon--advice {
  width: 32px;
  height: 32px;
}

.ratgeber-icon--external,
.ratgeber-icon--arrow {
  width: 14px;
  height: 14px;
}

.ratgeber-meta__link {
  color: var(--ink-soft);
  text-decoration: none;
}

.ratgeber-meta__link:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.ratgeber-meta__link:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.ratgeber-source-note {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ratgeber-live-data {
  max-width: var(--article-max-ch);
}

.ratgeber-live-data__kicker {
  margin: 0 0 0.55rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.ratgeber-live-data__card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ratgeber-live-data__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.ratgeber-live-data__content {
  flex: 1;
  min-width: 0;
}

.ratgeber-live-data__title {
  margin: 0 0 0.25rem;
  font-size: var(--text-md);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-live-data__location {
  margin: 0 0 0.65rem;
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ratgeber-live-data__value-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
}

.ratgeber-live-data__value {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-navy);
}

.ratgeber-live-data__value-label {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-live-data__uv-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ratgeber-live-data__uv-dot--niedrig { background: #2e7d32; }
.ratgeber-live-data__uv-dot--mittel { background: #f9a825; }
.ratgeber-live-data__uv-dot--hoch { background: #ef6c00; }
.ratgeber-live-data__uv-dot--sehrhoch { background: #e65100; }
.ratgeber-live-data__uv-dot--extrem { background: #c62828; }

.ratgeber-live-data__value--uv-niedrig { color: #2e7d32; }
.ratgeber-live-data__value--uv-mittel { color: #c77700; }
.ratgeber-live-data__value--uv-hoch { color: #ef6c00; }
.ratgeber-live-data__value--uv-sehrhoch { color: #e65100; }
.ratgeber-live-data__value--uv-extrem { color: #c62828; }

.ratgeber-live-data__detail,
.ratgeber-live-data__text,
.ratgeber-live-data__neutral,
.ratgeber-live-data__fallback {
  margin: 0 0 0.55rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-live-data__pollen-list {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ratgeber-live-data__pollen-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ratgeber-live-data__pollen-name {
  font-weight: 600;
  color: var(--brand-navy);
  font-size: var(--text-sm);
}

.ratgeber-live-data__pollen-values {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-live-data__meta,
.ratgeber-live-data__note {
  margin: 0 0 0.55rem;
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ratgeber-live-data__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}

.ratgeber-live-data__cta:hover {
  text-decoration: underline;
}

@media (max-width: 479px) {
  .ratgeber-live-data__card {
    flex-direction: column;
    gap: 0.65rem;
  }
}

.ratgeber-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}

.ratgeber-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--brand-navy);
}

.ratgeber-keyfacts ul {
  margin: 0;
  padding-left: 1.1rem;
}

.ratgeber-keyfacts li {
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

.ratgeber-toc ol {
  margin: 0;
  padding-left: 1.1rem;
}

.ratgeber-toc li {
  margin-bottom: 0.4rem;
}

.ratgeber-toc a {
  text-decoration: none;
  color: var(--brand-blue);
  font-size: var(--text-sm);
}

.ratgeber-toc a:hover { text-decoration: underline; }

.ratgeber-body {
  max-width: var(--article-max-ch);
}

.ratgeber-body h2,
.ratgeber-body h3,
.ratgeber-checklist-card,
.ratgeber-advice-card {
  scroll-margin-top: calc(var(--site-header-height, 4.5rem) + 0.75rem);
}

.ratgeber-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: var(--text-xl);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-body h2:first-child { margin-top: 0; }

.ratgeber-body p,
.ratgeber-body li {
  color: var(--ink-soft);
}

.ratgeber-body ul,
.ratgeber-body ol {
  padding-left: 1.2rem;
}

.ratgeber-checklist-card {
  margin: 2rem 0;
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ratgeber-checklist-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ratgeber-checklist-card__title {
  margin: 0 0 0.85rem;
  font-size: var(--text-lg);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-checklist-card__content {
  flex: 1;
  min-width: 0;
}

.ratgeber-checklist-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem 1.25rem;
}

.ratgeber-checklist-card__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: var(--text-sm);
}

.ratgeber-checklist-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand-blue);
}

@media (min-width: 640px) {
  .ratgeber-checklist-card__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .ratgeber-checklist-card__inner {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.ratgeber-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.ratgeber-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.ratgeber-table th,
.ratgeber-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.ratgeber-table th {
  background: var(--surface-soft);
  color: var(--brand-navy);
  font-weight: 700;
}

.ratgeber-table tr:last-child td { border-bottom: 0; }

.ratgeber-table--uv td,
.ratgeber-table--uv th {
  color: var(--ink);
}

.ratgeber-uv-value {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink);
}

.ratgeber-uv-dot {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.ratgeber-uv-row--low td:first-child {
  background: rgba(46, 125, 50, 0.06);
}

.ratgeber-uv-row--moderate td:first-child {
  background: rgba(251, 192, 45, 0.1);
}

.ratgeber-uv-row--high td:first-child {
  background: rgba(255, 152, 0, 0.08);
}

.ratgeber-uv-row--very-high td:first-child {
  background: rgba(255, 87, 34, 0.08);
}

.ratgeber-uv-row--extreme td:first-child {
  background: rgba(211, 47, 47, 0.08);
}

.ratgeber-uv-row--low .ratgeber-uv-dot { background: #2e7d32; }
.ratgeber-uv-row--moderate .ratgeber-uv-dot { background: #f9a825; }
.ratgeber-uv-row--high .ratgeber-uv-dot { background: #ef6c00; }
.ratgeber-uv-row--very-high .ratgeber-uv-dot { background: #e65100; }
.ratgeber-uv-row--extreme .ratgeber-uv-dot { background: #c62828; }

.ratgeber-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.ratgeber-cta-link:hover { text-decoration: underline; }

.ratgeber-advice-card {
  margin: 2rem 0 0;
  padding: 1.35rem 1.25rem;
  background: #e8f3fb;
  border: 1px solid rgba(29, 112, 184, 0.22);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
}

.ratgeber-advice-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ratgeber-advice-card__content {
  flex: 1;
  min-width: 0;
}

.ratgeber-advice-card__title {
  margin: 0 0 0.65rem;
  font-size: var(--text-xl);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-advice-card p,
.ratgeber-advice-card li {
  color: var(--ink);
}

.ratgeber-advice-card ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

@media (max-width: 479px) {
  .ratgeber-advice-card__inner {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.ratgeber-transparency,
.ratgeber-sources {
  scroll-margin-top: calc(var(--site-header-height, 4.5rem) + 0.75rem);
}

.ratgeber-transparency {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem;
  background: var(--surface-soft);
  border: 1px solid rgba(29, 112, 184, 0.16);
  border-radius: var(--radius);
}

.ratgeber-transparency__title {
  margin: 0 0 1.25rem;
  font-size: var(--text-xl);
  color: var(--brand-navy);
}

.ratgeber-transparency__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.ratgeber-transparency__col {
  padding: 1rem 0;
}

.ratgeber-transparency__col + .ratgeber-transparency__col {
  border-top: 1px solid rgba(29, 112, 184, 0.14);
}

.ratgeber-transparency__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  font-size: var(--text-md);
  color: var(--brand-navy);
}

.ratgeber-transparency__col p {
  margin: 0 0 0.65rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-transparency__col p:last-of-type {
  margin-bottom: 0.65rem;
}

.ratgeber-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}

.ratgeber-inline-link:hover {
  text-decoration: underline;
}

.ratgeber-sources {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.ratgeber-sources h2 {
  margin: 0 0 1rem;
  font-size: var(--text-xl);
  color: var(--brand-navy);
}

.ratgeber-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ratgeber-source-list li {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ratgeber-source-list p {
  margin: 0.2rem 0 0;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-source-list__institution {
  margin: 0 !important;
  color: var(--ink) !important;
}

.ratgeber-source-list__title {
  margin-top: 0.15rem !important;
}

.ratgeber-source-list__date {
  font-size: var(--text-xs) !important;
  color: var(--ink-soft) !important;
}

.ratgeber-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}

.ratgeber-external-link:hover { text-decoration: underline; }

.ratgeber-related {
  margin-top: 2.5rem;
}

.ratgeber-related__title {
  margin: 0 0 1rem;
  font-size: var(--text-xl);
  color: var(--brand-navy);
}

.ratgeber-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ratgeber-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}

.ratgeber-related-card:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.ratgeber-related-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ratgeber-related-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratgeber-related-card__body {
  padding: 0.95rem 1rem 1.1rem;
}

.ratgeber-related-card__tag {
  margin: 0 0 0.35rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.ratgeber-related-card__title {
  margin: 0 0 0.45rem;
  font-size: var(--text-md);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-related-card__text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-related-card__footer {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-blue);
}

.medical-notice {
  background: var(--surface-soft);
  border: 1px solid rgba(29, 112, 184, 0.14);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-top: 2rem;
}

.medical-notice p {
  margin: 0;
  color: #29413f;
  font-size: 0.95rem;
}

.ratgeber-wrap--index {
  padding-bottom: 2.5rem;
}

.ratgeber-head--index {
  margin-bottom: 1.75rem;
}

.ratgeber-index-sub {
  margin: 0 0 0.85rem;
  font-size: var(--text-lg);
  color: var(--brand-blue);
  font-weight: 600;
}

.ratgeber-index-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.ratgeber-index-filter {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
}

.ratgeber-index-filter:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.ratgeber-index-filter.is-active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.ratgeber-index-filter:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.ratgeber-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.ratgeber-index-card {
  min-width: 0;
}

.ratgeber-index-card[hidden] {
  display: none;
}

.ratgeber-index-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ratgeber-index-card__link:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

.ratgeber-index-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ratgeber-index-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratgeber-index-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ratgeber-index-card__tag {
  margin: 0 0 0.35rem;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.ratgeber-index-card__title {
  margin: 0 0 0.45rem;
  font-size: var(--text-lg);
  line-height: var(--leading-heading);
  color: var(--brand-navy);
}

.ratgeber-index-card__text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ratgeber-index-card__meta {
  margin: 0.65rem 0 0;
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ratgeber-index-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-blue);
}

.ratgeber-index-trust {
  margin-top: 2.5rem;
  padding: 1.35rem 1.25rem;
  background: var(--surface-soft);
  border: 1px solid rgba(29, 112, 184, 0.14);
  border-radius: var(--radius);
}

.ratgeber-index-trust__title {
  margin: 0 0 0.75rem;
  font-size: var(--text-xl);
  color: var(--brand-navy);
}

.ratgeber-index-trust__list {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.ratgeber-index-trust__list li {
  margin-bottom: 0.35rem;
}

@media (min-width: 640px) {
  .ratgeber-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ratgeber-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .brand__logo-full { width: min(190px, 78vw); }
  .brand__claim { font-size: 0.6rem; max-width: 190px; }
}

@media (min-width: 960px) {
  .ratgeber-layout {
    grid-template-columns: minmax(0, 70%) minmax(0, 30%);
    gap: 2rem;
    align-items: start;
  }

  .ratgeber-hero,
  .ratgeber-meta,
  .ratgeber-source-note,
  .ratgeber-live-data,
  .ratgeber-body {
    grid-column: 1;
  }

  .ratgeber-sidebar {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
    align-self: start;
  }

  .ratgeber-transparency__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ratgeber-transparency__col {
    padding: 0 1.25rem;
  }

  .ratgeber-transparency__col:first-child {
    padding-left: 0;
  }

  .ratgeber-transparency__col:last-child {
    padding-right: 0;
  }

  .ratgeber-transparency__col + .ratgeber-transparency__col {
    border-top: 0;
    border-left: 1px solid rgba(29, 112, 184, 0.14);
  }

  .ratgeber-related__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .ratgeber-sidebar {
    display: contents;
  }

  .ratgeber-keyfacts { order: 5; }
  .ratgeber-toc { order: 6; }
  .ratgeber-hero { order: 1; }
  .ratgeber-meta { order: 2; }
  .ratgeber-source-note { order: 3; }
  .ratgeber-live-data { order: 4; }
  .ratgeber-body { order: 7; }
}

@media print {
  .site-header,
  .site-footer,
  .ratgeber-sidebar,
  .ratgeber-related,
  .skip-link,
  .privacy-settings-btn {
    display: none !important;
  }

  body { background: #fff; }
  .ratgeber-wrap { padding: 0; }
  .ratgeber-layout { display: block; }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
