/* Nadine Hebbel Ratgeber: nutzt die CI-Variablen des Themes. */
.nh-ratgeber-page .site-header {
  position: relative;
}

.nh-ratgeber-main {
  background: var(--pearl);
}

.nh-ratgeber-intro {
  padding: clamp(72px, 11vw, 154px) 0 var(--xxl);
  background: var(--pearl);
}

.nh-ratgeber-hub-hero {
  padding: clamp(72px, 10vw, 132px) 0 var(--xxl);
  background: var(--cream);
}

.nh-ratgeber-intro h1,
.nh-ratgeber-hub-hero h1 {
  max-width: 100%;
  margin-top: var(--md);
}

.nh-ratgeber-intro .lead,
.nh-ratgeber-hub-hero .lead {
  max-width: 760px;
  margin-top: var(--lg);
}

.nh-ratgeber-intro__grid,
.nh-ratgeber-hub-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(310px, 0.94fr);
  align-items: center;
  gap: clamp(40px, 8vw, 140px);
}

.nh-ratgeber-intro__orientation {
  min-height: 390px;
  padding: clamp(28px, 4vw, 54px);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  color: rgba(44, 40, 37, 0.84);
}

.nh-ratgeber-intro__orientation p:not(.eyebrow) {
  max-width: 430px;
  margin: var(--md) 0;
}

.nh-ratgeber-intro__diagram {
  position: relative;
  width: min(100%, 360px);
  height: 168px;
  margin: var(--lg) 0 var(--xl);
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}

.nh-ratgeber-intro__diagram::before,
.nh-ratgeber-intro__diagram::after {
  content: '';
  position: absolute;
  border: 1px solid var(--ocean);
  border-radius: 50%;
}

.nh-ratgeber-intro__diagram::before {
  width: 112px;
  height: 112px;
  right: 18px;
  top: 2px;
}

.nh-ratgeber-intro__diagram::after {
  width: 72px;
  height: 72px;
  right: 78px;
  bottom: 18px;
  background: rgba(124, 168, 176, 0.17);
}

.nh-ratgeber-intro__diagram span {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 4px solid var(--pearl);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.nh-ratgeber-intro__diagram span:nth-child(1) { left: 23%; bottom: -8px; }
.nh-ratgeber-intro__diagram span:nth-child(2) { left: 48%; top: 33%; background: var(--sand); box-shadow: 0 0 0 1px var(--sand); }
.nh-ratgeber-intro__diagram span:nth-child(3) { left: 69%; bottom: 16%; background: var(--ocean); box-shadow: 0 0 0 1px var(--ocean); }
.nh-ratgeber-intro__diagram span:nth-child(4) { right: 7%; top: 27%; }

.nh-ratgeber-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--xl);
}

.nh-ratgeber-topic-nav a,
.nh-ratgeber-topic-nav span {
  padding: 8px 12px;
  border: 1px solid var(--sand);
  color: var(--charcoal);
  font-size: 0.92rem;
  line-height: 1.35;
}

.nh-ratgeber-topic-nav a {
  border-color: var(--teal);
  color: var(--teal);
  transition: background-color var(--ease), color var(--ease);
}

.nh-ratgeber-topic-nav a:hover {
  background: var(--teal);
  color: var(--pearl);
}

.nh-ratgeber-topic-nav span {
  opacity: 0.62;
}

.nh-ratgeber-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--lg);
  color: rgba(44, 40, 37, 0.64);
  font-size: 0.95rem;
}

.nh-ratgeber-breadcrumbs a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nh-ratgeber-hub-list {
  padding: var(--xxl) 0;
  background: var(--cream);
}

.nh-ratgeber-hub-list .nh-ratgeber-section-heading {
  margin-bottom: clamp(42px, 7vw, 88px);
}

.nh-ratgeber-section-heading h2 {
  margin-top: var(--sm);
}

.nh-ratgeber-topic-path__copy h2 a,
.nh-ratgeber-card h2 a {
  transition: color var(--ease);
}

.nh-ratgeber-topic-path__copy h2 a:hover,
.nh-ratgeber-card h2 a:hover {
  color: var(--teal);
}

.nh-ratgeber-topic-path {
  position: relative;
  display: grid;
  gap: clamp(44px, 7vw, 108px);
}

.nh-ratgeber-topic-path::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  background: rgba(124, 168, 176, 0.62);
}

.nh-ratgeber-topic-path__stop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'visual copy';
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  min-height: 360px;
}

.nh-ratgeber-topic-path__stop:nth-child(even) {
  grid-template-areas: 'copy visual';
}

.nh-ratgeber-topic-path__number {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid var(--teal);
  border-radius: 50%;
  background: var(--cream);
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.35rem;
}

.nh-ratgeber-topic-path__visual {
  grid-area: visual;
  margin: 0;
}

.nh-ratgeber-topic-path__visual a,
.nh-ratgeber-topic-path__visual img {
  display: block;
}

.nh-ratgeber-topic-path__visual img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 16px 42px rgba(44, 40, 37, 0.08);
}

.nh-ratgeber-topic-path__copy {
  grid-area: copy;
  max-width: 430px;
}

.nh-ratgeber-topic-path__stop:nth-child(even) .nh-ratgeber-topic-path__copy {
  justify-self: end;
}

.nh-ratgeber-topic-path__copy h2 {
  margin: var(--sm) 0 var(--md);
}

.nh-ratgeber-topic-path__copy p:not(.eyebrow) {
  color: rgba(44, 40, 37, 0.84);
}

.nh-ratgeber-topic-path__copy .btn-text,
.nh-ratgeber-topic-path__status {
  display: block;
  margin: var(--lg) 0 var(--md);
}

.nh-ratgeber-topic-path__status {
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nh-ratgeber-contact {
  padding: var(--xxl) 0;
  text-align: center;
}

.nh-ratgeber-contact--cream {
  background: var(--cream);
}

.nh-ratgeber-contact h2 {
  margin: var(--sm) auto var(--md);
  max-width: 760px;
}

.nh-ratgeber-contact p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 auto var(--lg);
}

.nh-ratgeber-article-list {
  padding: var(--xxl) 0;
  background: var(--pearl);
}

.nh-ratgeber-section-heading {
  max-width: 720px;
  margin-bottom: var(--xl);
}

.nh-ratgeber-article-list__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--sand);
}

.nh-ratgeber-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 72px);
  padding: var(--lg) 0;
  border-bottom: 1px solid var(--sand);
}

.nh-ratgeber-card__image {
  display: block;
}

.nh-ratgeber-card__image img {
  width: 100%;
  height: auto;
  object-fit: initial;
  border-radius: 0;
  transition: transform 0.55s ease;
}

.nh-ratgeber-card:hover .nh-ratgeber-card__image img {
  transform: scale(1.025);
}

.nh-ratgeber-card__content {
  align-self: center;
}

.nh-ratgeber-card h2 {
  margin: var(--sm) 0 var(--md);
}

.nh-ratgeber-card p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: var(--lg);
  color: rgba(44, 40, 37, 0.82);
}

.nh-ratgeber-article__hero {
  padding: clamp(40px, 6vw, 88px) 0 var(--xxl);
  background: var(--cream);
}

.nh-ratgeber-article__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
}

.nh-ratgeber-article__hero-copy h1 {
  margin-top: var(--md);
  max-width: 100%;
  font-size: clamp(2.65rem, 3.45vw, 3.8rem);
  line-height: 1.02;
}

.nh-ratgeber-article__hero-intro {
  max-width: 820px;
  margin-top: clamp(40px, 6vw, 76px);
  padding-top: var(--lg);
  border-top: 1px solid var(--sand);
}

.nh-ratgeber-article__hero-intro .lead {
  max-width: 780px;
}

.nh-ratgeber-article__hero-image {
  margin: 0;
}

.nh-ratgeber-article__hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  object-position: center;
  border-radius: 0;
}

.nh-ratgeber-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--lg);
  color: rgba(44, 40, 37, 0.7);
  font-size: 0.95rem;
}

.nh-ratgeber-byline a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nh-ratgeber-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-top: var(--xxl);
  padding-bottom: var(--xxl);
}

.nh-ratgeber-article__aside {
  align-self: start;
  position: sticky;
  top: 32px;
  padding-top: 10px;
}

.nh-ratgeber-article__aside a {
  color: var(--teal);
  font-size: 0.98rem;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nh-ratgeber-article__content {
  width: min(100%, 760px);
}

.nh-ratgeber-prose + .nh-ratgeber-prose,
.nh-ratgeber-prose + .nh-ratgeber-signals,
.nh-ratgeber-prose + .nh-ratgeber-list,
.nh-ratgeber-signals + .nh-ratgeber-prose,
.nh-ratgeber-list + .nh-ratgeber-signals,
.nh-ratgeber-list + .nh-ratgeber-prose,
.nh-ratgeber-infographic + .nh-ratgeber-prose,
.nh-ratgeber-notice + .nh-ratgeber-prose {
  margin-top: var(--xl);
}

.nh-ratgeber-prose h2,
.nh-ratgeber-signals h2,
.nh-ratgeber-list h2,
.nh-ratgeber-notice h2,
.nh-ratgeber-sources h2 {
  margin-bottom: var(--md);
}

.nh-ratgeber-prose p + p {
  margin-top: var(--md);
}

.nh-ratgeber-article__quick-take {
  margin-bottom: var(--xl);
  padding-bottom: var(--xl);
  border-bottom: 1px solid var(--sand);
}

.nh-ratgeber-article__quick-take p:not(.eyebrow) {
  max-width: 690px;
  margin-top: var(--sm);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.28;
}

.nh-ratgeber-toc {
  margin-bottom: var(--xxl);
  padding: clamp(24px, 4vw, 42px);
  background: var(--cream);
  border-left: 3px solid var(--teal);
}

.nh-ratgeber-toc ol {
  display: grid;
  gap: 9px;
  margin-top: var(--md);
  list-style: none;
  counter-reset: nh-toc;
}

.nh-ratgeber-toc li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  counter-increment: nh-toc;
}

.nh-ratgeber-toc li::before {
  content: '0' counter(nh-toc);
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.05rem;
}

.nh-ratgeber-toc a {
  color: var(--charcoal);
  text-decoration: underline;
  text-decoration-color: rgba(5, 110, 127, 0.42);
  text-underline-offset: 4px;
}

.nh-ratgeber-toc a:hover {
  color: var(--teal);
}

.nh-ratgeber-signals {
  margin-top: var(--xl);
  padding-top: var(--xl);
  border-top: 1px solid var(--sand);
}

.nh-ratgeber-list + .nh-ratgeber-signals {
  border-top: 0;
}

.nh-ratgeber-signals ol {
  display: grid;
  gap: 0;
  margin-top: var(--lg);
  counter-reset: nh-signal;
}

.nh-ratgeber-signals li {
  position: relative;
  padding: var(--md) 0 var(--md) 76px;
  border-top: 1px solid rgba(201, 185, 154, 0.76);
  counter-increment: nh-signal;
}

.nh-ratgeber-signals li:last-child {
  border-bottom: 1px solid rgba(201, 185, 154, 0.76);
}

.nh-ratgeber-signals li::before {
  content: '0' counter(nh-signal);
  position: absolute;
  top: var(--md);
  left: 0;
  color: var(--teal);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.nh-ratgeber-signals h3 {
  margin-bottom: var(--xs);
}

.nh-ratgeber-signals p {
  color: rgba(44, 40, 37, 0.84);
}

.nh-ratgeber-list {
  margin-top: var(--xl);
  padding: var(--xl) 0;
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.nh-ratgeber-list ul {
  display: grid;
  gap: var(--md);
  margin-top: var(--lg);
  list-style: none;
}

.nh-ratgeber-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(44, 40, 37, 0.88);
}

.nh-ratgeber-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(124, 168, 176, 0.34);
  border-radius: 50%;
  background: var(--deep-teal);
  background-clip: padding-box;
}

.nh-ratgeber-infographic {
  max-width: 680px;
  margin: var(--xl) auto;
}

.nh-ratgeber-infographic img {
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--sand);
  background: var(--cream);
}

.nh-ratgeber-infographic figcaption {
  margin-top: var(--sm);
  color: rgba(44, 40, 37, 0.66);
  font-size: 0.95rem;
  line-height: 1.5;
}

.nh-ratgeber-notice {
  margin-top: var(--xl);
  padding: var(--lg);
  background: #e3eef0;
}

.nh-ratgeber-notice h2 {
  color: var(--deep-teal);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.nh-ratgeber-notice p {
  color: rgba(44, 40, 37, 0.88);
}

.nh-ratgeber-article__cta {
  margin-top: var(--xxl);
  padding: var(--xl);
  background: var(--deep-teal);
}

.nh-ratgeber-article__cta .eyebrow {
  color: #dcecef;
  background-color: transparent;
}

.nh-ratgeber-article__cta .eyebrow::before {
  background-color: #dcecef;
}

.nh-ratgeber-article__cta h2,
.nh-ratgeber-article__cta p {
  color: var(--pearl);
}

.nh-ratgeber-article__cta h2 {
  margin: var(--sm) 0 var(--md);
}

.nh-ratgeber-article__cta p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: var(--lg);
}

.nh-ratgeber-article__cta .btn--primary {
  color: var(--deep-teal);
  background: var(--pearl);
  border-color: var(--pearl);
}

.nh-ratgeber-article__cta .btn--primary:hover {
  color: var(--pearl);
  background: transparent;
}

.nh-ratgeber-author {
  margin-top: var(--xl);
  padding-top: var(--xl);
  border-top: 1px solid var(--sand);
}

.nh-ratgeber-author h2 {
  margin: var(--sm) 0 var(--md);
}

.nh-ratgeber-author p:not(.eyebrow) {
  margin-bottom: var(--md);
}

.nh-ratgeber-sources {
  margin-top: var(--xl);
  padding-top: var(--lg);
  border-top: 1px solid var(--sand);
}

.nh-ratgeber-sources ul {
  display: grid;
  gap: var(--xs);
  list-style: disc;
  padding-left: 1.25rem;
}

.nh-ratgeber-sources li {
  padding-left: 4px;
}

.nh-ratgeber-sources a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.nh-ratgeber-related {
  padding: var(--xxl) 0;
  background: var(--cream);
}

.nh-ratgeber-hub-hero__image {
  margin: 0;
}

.nh-ratgeber-hub-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

@media (max-width: 768px) {
  .nh-ratgeber-intro,
  .nh-ratgeber-hub-hero {
    padding: var(--xl) 0;
  }

  .nh-ratgeber-card,
  .nh-ratgeber-intro__grid,
  .nh-ratgeber-hub-hero__grid,
  .nh-ratgeber-article__hero-grid,
  .nh-ratgeber-article__layout {
    grid-template-columns: 1fr;
  }

  .nh-ratgeber-topic-path {
    gap: var(--xl);
  }

  .nh-ratgeber-topic-path::before {
    top: 12px;
    bottom: 12px;
    left: 18px;
  }

  .nh-ratgeber-topic-path__stop,
  .nh-ratgeber-topic-path__stop:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: 'visual' 'copy';
    gap: var(--lg);
    min-height: 0;
    padding-left: 50px;
  }

  .nh-ratgeber-topic-path__number {
    top: 26px;
    left: 18px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .nh-ratgeber-topic-path__stop:nth-child(even) .nh-ratgeber-topic-path__copy {
    justify-self: start;
    margin-right: 0;
  }

  .nh-ratgeber-card {
    gap: var(--md);
  }

  .nh-ratgeber-card__image,
  .nh-ratgeber-card__image img {
    min-height: 0;
  }

  .nh-ratgeber-article__hero {
    padding: var(--lg) 0 var(--xl);
  }

  .nh-ratgeber-article__hero-image {
    order: initial;
  }

  .nh-ratgeber-article__hero-image img {
    aspect-ratio: auto;
    border-radius: 0;
  }

  .nh-ratgeber-article__hero-copy h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
    line-height: 1.05;
  }

  .nh-ratgeber-article__layout {
    padding-top: var(--xl);
    padding-bottom: var(--xl);
  }

  .nh-ratgeber-article__aside {
    position: static;
    padding: var(--sm) 0;
    border-bottom: 1px solid var(--sand);
  }

  .nh-ratgeber-article__cta {
    padding: var(--lg);
  }

  .nh-ratgeber-intro__orientation {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .nh-ratgeber-signals li {
    padding-left: 58px;
  }

  .nh-ratgeber-signals li::before {
    font-size: 1.6rem;
  }

  .nh-ratgeber-byline {
    font-size: 0.88rem;
  }
}
