.ratgeber-page {
  margin: 0;
  background: #fbfaf6;
  color: #1a1714;
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ratgeber-page a {
  color: inherit;
  text-decoration: none;
}

.ratgeber-container {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
}

/* ── Utility band ───────────────────────────── */
.ratgeber-utility {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1a1714;
  color: #fbfaf6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.ratgeber-utility__inner {
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 320px);
  gap: 24px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 11px 40px;
}

.ratgeber-utility__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}

.ratgeber-utility__nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.ratgeber-utility__nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #c0552a;
  color: #fff;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ratgeber-utility__nav a:hover {
  background: #a8481f;
}

.ratgeber-utility__nav span {
  color: #9a948d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-left: auto;
}

.ratgeber-search input {
  width: 100%;
  border: 1px solid #3a3631;
  border-radius: 999px;
  background: #2c2925;
  color: #fff;
  padding: 9px 14px;
  font: inherit;
  font-size: 12.5px;
}

.ratgeber-search input::placeholder {
  color: #8d877f;
}

/* ── Masthead ───────────────────────────────── */
.ratgeber-masthead {
  padding: 28px 0 0;
  text-align: center;
}

.ratgeber-masthead .ratgeber-container {
  border-bottom: 3px double #1a1714;
  padding-bottom: 16px;
}

.ratgeber-eyebrow,
.ratgeber-card__meta,
.ratgeber-breadcrumb,
.ratgeber-article-meta {
  color: #7b746a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ratgeber-masthead h1,
.ratgeber-article-head h1,
.ratgeber-section-head h2,
.ratgeber-related h2,
.ratgeber-article-content h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

.ratgeber-masthead h1 {
  font-size: clamp(48px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -.015em;
}

.ratgeber-masthead p:last-child {
  max-width: 760px;
  margin: 8px auto 0;
  font: italic 14.5px/1.5 "Source Serif 4", Georgia, serif;
  color: #6b6560;
}

/* ── Category navigation (plain text, no chips) ── */
.ratgeber-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  padding: 13px 0;
  border-bottom: 1px solid #d8d4cc;
  margin-bottom: 40px;
}

.ratgeber-category-nav a {
  color: #7c766f;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ratgeber-category-nav a.is-active {
  color: #c0552a;
}

/* ── Aufmacher layout: 1fr + 360px aside ──────── */
.ratgeber-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.ratgeber-main-column {
  min-width: 0;
}

.ratgeber-follow-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #d8d4cc;
}

.ratgeber-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
  border-bottom: 1px solid #d8d4cc;
  padding-bottom: 12px;
}

.ratgeber-section-head h2 {
  font-size: 26px;
}

.ratgeber-section-head a,
.ratgeber-section-head span {
  color: #c0552a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

/* ── Card (borderless newspaper style) ────────── */
.ratgeber-card {
  background: transparent;
}

.ratgeber-card a {
  display: grid;
  height: 100%;
}

.ratgeber-card__media {
  position: relative;
  min-height: 170px;
  margin: 0;
  background: #f0ede6;
  overflow: hidden;
}

.ratgeber-card__media img,
.ratgeber-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratgeber-card__fallback {
  position: relative;
}

.ratgeber-card__fallback span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #a8a299;
  font: 500 11px/1 "IBM Plex Mono", monospace;
}

.ratgeber-card__pill {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 74px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: var(--cat-color, #c0552a);
  color: #fff;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.ratgeber-card__media figcaption {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #c0552a;
  color: #fff;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ratgeber-card__copy {
  display: grid;
  gap: 8px;
  padding: 14px 0 0;
}

.ratgeber-card h3 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.ratgeber-card p {
  margin: 0;
  color: #3a352f;
  line-height: 1.55;
}

.ratgeber-card__date {
  color: #9a948d;
  font-size: 12px;
  font-weight: 500;
}

.ratgeber-card__more {
  color: #c0552a;
  font-size: 13px;
  font-weight: 700;
}

.ratgeber-card__topmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ratgeber-card__cat {
  color: var(--cat-color, #c0552a);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ratgeber-card__badge {
  color: #c0552a;
  font-size: 10px;
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
}

/* Lead article */
.ratgeber-card--lead .ratgeber-card__media {
  min-height: 360px;
}

.ratgeber-card--lead h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.13;
}

.ratgeber-card--lead p {
  column-count: 2;
  column-gap: 34px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  line-height: 1.6;
}

/* Two follow-up articles */
.ratgeber-card--follow .ratgeber-card__media {
  min-height: 185px;
}

.ratgeber-card--follow h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 700;
}

.ratgeber-card--follow p {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lower card grid */
.ratgeber-card--grid .ratgeber-card__media {
  min-height: 150px;
}

.ratgeber-card--grid h3 {
  font-size: 18px;
}

.ratgeber-card--grid p {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13.5px;
  color: #5d554d;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ratgeber-card--related h3 {
  font-size: 19px;
}

/* ── Aside "Ebenfalls neu" ────────────────────── */
.ratgeber-side-news {
  padding: 0;
}

.ratgeber-side-news h2 {
  margin: 0 0 4px;
  border-bottom: 2px solid #1a1714;
  padding: 0 0 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ratgeber-card--side {
  border: 0;
  border-bottom: 1px solid #e0ddd6;
  border-radius: 0;
  background: transparent;
}

.ratgeber-card--side a {
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
}

.ratgeber-card--side .ratgeber-card__media {
  min-height: 74px;
  height: 74px;
}

.ratgeber-card--side .ratgeber-card__copy {
  align-content: start;
  gap: 5px;
  padding: 0;
}

.ratgeber-card--side h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16.5px;
}

.ratgeber-card--side .ratgeber-card__pill,
.ratgeber-card--side .ratgeber-card__media figcaption,
.ratgeber-card--side .ratgeber-card__fallback span {
  display: none;
}

/* ── Lower section: double rule + 1fr/340px ───── */
.ratgeber-lower-section,
.ratgeber-archive {
  padding-top: 44px;
  margin-top: 44px;
}

.ratgeber-lower-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  border-top: 3px double #1a1714;
}

.ratgeber-card-grid,
.ratgeber-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

/* ── Aktuelle Meldungen (text list, no images) ── */
.ratgeber-news-list-section {
  border-left: 1px solid #d8d4cc;
  padding-left: 32px;
}

.ratgeber-news-list a {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid #e0ddd6;
  padding: 14px 0;
}

.ratgeber-news-list__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ratgeber-news-list__meta time {
  color: #9a948d;
  font-size: 11px;
}

.ratgeber-news-list__meta em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cat-color, #c0552a);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.ratgeber-news-list__meta em::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--cat-color, #c0552a);
}

.ratgeber-news-list strong {
  font: 600 15.5px/1.3 "Source Serif 4", Georgia, serif;
}

.ratgeber-news-list__archive {
  display: inline-block;
  margin-top: 16px;
  color: #c0552a;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ── Archive / category list view ─────────────── */
.ratgeber-archive-list {
  display: grid;
}

.ratgeber-card--horizontal {
  border-bottom: 1px solid #e0ddd6;
}

.ratgeber-card--horizontal a {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
}

.ratgeber-card--horizontal .ratgeber-card__media {
  min-height: 170px;
}

.ratgeber-card--horizontal .ratgeber-card__copy {
  padding: 0;
}

.ratgeber-empty {
  border-top: 1px solid #d8d4cc;
  padding: 56px 0;
  text-align: center;
}

/* ── Detail page (Artikel) ────────────────────── */
.ratgeber-article-kicker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ratgeber-article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ratgeber-article-head {
  max-width: 850px;
  padding: 40px 0 26px;
  text-align: center;
}

.ratgeber-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.ratgeber-article-kicker strong {
  border-radius: 999px;
  background: var(--cat-color, #c0552a);
  color: #fff;
  padding: 5px 11px;
  font-size: 11px;
  text-transform: uppercase;
}

.ratgeber-article-head h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
}

.ratgeber-article-head > p {
  max-width: 720px;
  margin: 18px auto;
  color: #4a443e;
  font: 21px/1.5 "Source Serif 4", Georgia, serif;
}

.ratgeber-article-hero {
  max-width: 850px;
  margin: 10px auto 0;
}

.ratgeber-article-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.ratgeber-article-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 0 72px;
}

.ratgeber-article-note {
  max-width: 850px;
  border-left: 3px solid #c0552a;
  margin-bottom: 32px;
  padding: 12px 16px;
  background: #f3f1ec;
  color: #5d554d;
  line-height: 1.55;
}

.ratgeber-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) 300px;
  gap: 50px;
  align-items: start;
}

.ratgeber-article-body {
  min-width: 0;
}

.ratgeber-article-ad {
  position: sticky;
  top: 86px;
  align-self: start;
  text-align: center;
}

.ratgeber-article-ad a {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e3e0db;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(26, 23, 20, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.ratgeber-article-ad a:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(26, 23, 20, .22);
}

.ratgeber-article-ad a:focus-visible {
  outline: 3px solid #c0552a;
  outline-offset: 4px;
}

.ratgeber-article-ad img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}

.ratgeber-register-overlay {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 23, 20, .72);
}

.ratgeber-register-overlay[hidden] {
  display: none;
}

.ratgeber-register-overlay__panel {
  position: relative;
  width: min(760px, 100%);
  height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

.ratgeber-register-overlay__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #1a1714;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ratgeber-register-overlay__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

body.ratgeber-register-overlay-open {
  overflow: hidden;
}

.ratgeber-article-content {
  font: 18px/1.72 "Source Serif 4", Georgia, serif;
  color: #2a2620;
}

.ratgeber-article-content > p:first-of-type::first-letter {
  float: left;
  padding: 7px 10px 0 0;
  color: var(--cat-color, #c0552a);
  font: 800 70px/.72 "Playfair Display", Georgia, serif;
}

.ratgeber-article-content h2 {
  margin: 42px 0 14px;
  font-size: 30px;
  line-height: 1.2;
}

.ratgeber-article-content a {
  color: #b24622;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.ratgeber-article-content blockquote {
  margin: 34px 0;
  border-left: 3px solid var(--cat-color, #c0552a);
  background: #f3f1ec;
  padding: 24px 28px;
  color: #3c332c;
  font: 500 24px/1.4 "Playfair Display", Georgia, serif;
}

.ratgeber-article-content img {
  max-width: 100%;
  border-radius: 8px;
}

/* ── Image lightbox (hero + body images) ──────── */
.ratgeber-article-hero img,
.ratgeber-article-content img {
  cursor: zoom-in;
}

.ratgeber-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 17, 14, .9);
  cursor: zoom-out;
}

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

.ratgeber-lightbox__image {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

body.ratgeber-lightbox-open {
  overflow: hidden;
}

.ratgeber-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
  border-top: 1px solid #d8d4cc;
  padding-top: 18px;
}

.ratgeber-topics span {
  color: #7b746a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ratgeber-topics a {
  border: 1px solid #e3e0db;
  border-radius: 999px;
  color: #5b554f;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
}

.ratgeber-article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  border: 1px solid #ece9e4;
  border-radius: 8px;
  background: #fffdf8;
  padding: 24px;
}

.ratgeber-article-cta h2 {
  margin: 0 0 6px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.ratgeber-article-cta p {
  margin: 0;
  color: #6b6560;
  font-size: 14.5px;
}

.ratgeber-article-cta a,
.ratgeber-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c0552a;
  color: #fff;
  padding: 11px 18px;
  font-weight: 800;
  white-space: nowrap;
}

.ratgeber-related {
  margin-top: 52px;
  border-top: 3px double #1a1714;
  padding-top: 32px;
}

.ratgeber-related h2,
.ratgeber-language-panel h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.ratgeber-language-panel {
  margin-top: 36px;
  border-top: 1px solid #d8d4cc;
  padding-top: 18px;
}

.ratgeber-language-panel h2 {
  margin: 0 0 12px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ratgeber-language-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.ratgeber-language-panel a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 0;
  font-size: 14px;
  line-height: 1.4;
}

.ratgeber-language-panel span {
  color: #c0552a;
  font-size: 11px;
  font-weight: 700;
}

/* ── Footer ───────────────────────────────────── */
.ratgeber-footer {
  margin-top: 70px;
  background: #1a1714;
  color: #fbfaf6;
}

.ratgeber-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 40px 30px;
}

.ratgeber-footer__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}

.ratgeber-footer__address {
  display: grid;
  gap: 2px;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: #b8b2aa;
}

.ratgeber-footer__address strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ratgeber-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 24px;
  margin-left: auto;
}

.ratgeber-footer__cta-text {
  display: grid;
  gap: 4px;
  text-align: right;
}

.ratgeber-footer__cta-text p {
  margin: 0;
  font: 700 18px/1.3 "Source Serif 4", Georgia, serif;
  color: #fff;
}

.ratgeber-footer__cta-text span {
  color: #b8b2aa;
  font-size: 13.5px;
}

.ratgeber-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border-top: 1px solid #33302b;
  padding-top: 22px;
}

.ratgeber-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ratgeber-footer__bottom a {
  color: #cfc9c1;
  font-size: 12.5px;
}

.ratgeber-footer__bottom a.is-active {
  color: #ffb28e;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1100px) {
  .ratgeber-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ratgeber-article-note {
    max-width: none;
  }

  .ratgeber-article-ad {
    position: static;
    width: min(360px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 1000px) {
  .ratgeber-news-layout,
  .ratgeber-lower-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ratgeber-news-list-section {
    border-left: 0;
    padding-left: 0;
  }

  .ratgeber-card-grid,
  .ratgeber-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ratgeber-container {
    width: min(100% - 28px, 1200px);
  }

  .ratgeber-utility__inner {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 10px;
  }

  .ratgeber-follow-column,
  .ratgeber-card-grid,
  .ratgeber-related-grid {
    grid-template-columns: 1fr;
  }

  .ratgeber-masthead h1,
  .ratgeber-article-head h1 {
    font-size: 40px;
  }

  .ratgeber-card--lead .ratgeber-card__media {
    height: 300px;
    min-height: 300px;
  }

  .ratgeber-card--lead p {
    column-count: 1;
  }

  .ratgeber-card--horizontal a {
    grid-template-columns: 1fr;
  }

  .ratgeber-footer__inner {
    padding: 34px 18px 26px;
  }

  .ratgeber-register-overlay {
    padding: 0;
  }

  .ratgeber-register-overlay__panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}
