# Wissensbereich – Leselayout (ohne Snap-Story, ohne Bilder)

.page-wissen {
  color: var(--color-navy);
  --wissen-accent: var(--color-azure);
  --wissen-accent-soft: rgba(6, 147, 227, 0.12);
}

.page-wissen-hub,
.page-wissen-article {
  --wissen-accent: var(--color-azure);
  --wissen-accent-soft: rgba(6, 147, 227, 0.12);
}

.page-wissen-themenfelder {
  --wissen-accent: var(--color-jade);
  --wissen-accent-soft: rgba(0, 208, 132, 0.16);
}

.page-wissen-faq {
  --wissen-accent: var(--color-mandarin);
  --wissen-accent-soft: rgba(255, 105, 0, 0.14);
}

/* Kein Scroll-Snap: normales Lesen wie lange Texte, nicht wie Landingpage-Sektionen */
.page-wissen .snap-scroll {
  scroll-snap-type: none;
  overflow-y: auto;
}

.page-wissen .snap-section.wissen-panel {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.wissen-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #eef3f7 100%);
}

.section-6-layout--wissen {
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 20px var(--space-section-x) 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  text-align: left;
}

.section-6-layout--wissen .section-content--intro {
  display: block;
  flex: none;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 40rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.wissen-page {
  color: var(--color-navy);
  padding-bottom: 8px;
}

.wissen-brand {
  margin: 0 0 14px;
  text-align: right;
}

.wissen-brand__logo {
  display: block;
  width: 112px;
  max-width: 36%;
  height: auto;
  margin-left: auto;
}

/* 2) Kicker-Badge in Bereichsfarbe */
.wissen-page__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wissen-accent);
  background: var(--wissen-accent-soft);
  border-radius: 4px;
}

.wissen-page .headline--dark {
  margin: 0 0 12px;
  color: var(--color-navy);
  text-align: left;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
}

.wissen-lead {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 3.6vw, 1.125rem);
  line-height: var(--text-body-line);
  color: #334155;
}

.wissen-meta {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.4;
  color: #64748b;
}

.wissen-meta time {
  font-weight: 600;
  color: #475569;
}

.wissen-meta__id {
  font-weight: 400;
  color: #94a3b8;
}

/* 1) Subnav: farbige Bereichs-Tabs */
.wissen-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(8, 46, 73, 0.12);
  list-style: none;
}

.wissen-subnav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.wissen-subnav__link--artikel {
  color: var(--color-azure);
  background: rgba(6, 147, 227, 0.08);
  border-color: rgba(6, 147, 227, 0.22);
}

.wissen-subnav__link--themenfelder {
  color: #059669;
  background: rgba(0, 208, 132, 0.1);
  border-color: rgba(0, 208, 132, 0.28);
}

.wissen-subnav__link--faq {
  color: #c2410c;
  background: rgba(255, 105, 0, 0.1);
  border-color: rgba(255, 105, 0, 0.28);
}

.wissen-subnav a:hover,
.wissen-subnav a:focus-visible {
  filter: brightness(0.97);
}

.wissen-subnav a:focus-visible {
  outline: 2px solid var(--wissen-accent);
  outline-offset: 2px;
}

.wissen-subnav__link--artikel[aria-current="page"] {
  color: #fff;
  background: var(--color-azure);
  border-color: var(--color-azure);
}

.wissen-subnav__link--themenfelder[aria-current="page"] {
  color: var(--color-navy);
  background: var(--color-jade);
  border-color: var(--color-jade);
}

.wissen-subnav__link--faq[aria-current="page"] {
  color: #fff;
  background: var(--color-mandarin);
  border-color: var(--color-mandarin);
}

.wissen-article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wissen-article-list__item {
  margin: 0 0 8px;
  padding: 0;
  border: 1px solid rgba(8, 46, 73, 0.12);
  border-left: 3px solid var(--wissen-accent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.wissen-article-list__item:last-child {
  margin-bottom: 0;
}

.wissen-article-list__link {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}

.wissen-article-list__link:hover,
.wissen-article-list__link:focus-visible {
  background: var(--wissen-accent-soft);
}

.wissen-article-list__link:focus-visible {
  outline: 2px solid var(--wissen-accent);
  outline-offset: -2px;
}

.wissen-article-list__link:hover .wissen-article-list__title,
.wissen-article-list__link:focus-visible .wissen-article-list__title {
  color: var(--color-azure);
}

.wissen-article-list__title {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-navy);
}

.wissen-article-list__meta {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #64748b;
}

.wissen-article-list__teaser {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #334155;
}

.wissen-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 3.6vw, 1.125rem);
  line-height: var(--text-body-line);
  color: #334155;
}

.wissen-body p {
  margin: 0 0 1em;
}

.wissen-body h2 {
  margin: 1.6em 0 0.65em;
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-navy);
}

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

.wissen-body ul,
.wissen-body ol {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.wissen-body li {
  margin-bottom: 0.4em;
}

.wissen-body strong {
  font-weight: 600;
  color: var(--color-navy);
}

/* FAQ-Begriff: fett + dezenter Link zur FAQ; id bleibt unsichtbarer Anker */
.wissen-term {
  font-weight: 700;
  color: var(--color-navy);
  scroll-margin-top: 80px;
}

a.wissen-term {
  text-decoration: underline;
  text-decoration-color: rgba(8, 46, 73, 0.28);
  text-underline-offset: 2px;
}

a.wissen-term:hover,
a.wissen-term:focus-visible {
  color: var(--color-azure);
  text-decoration-color: var(--color-azure);
}

.wissen-term:target,
.wissen-term:target strong {
  background: rgba(14, 165, 233, 0.18);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 3px;
  outline: 2px solid rgba(14, 165, 233, 0.35);
  outline-offset: 2px;
}

.wissen-link,
.wissen-body a:not(.wissen-term) {
  color: var(--color-azure);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wissen-sources {
  margin: 28px 0 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(8, 46, 73, 0.12);
}

.wissen-sources__title {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wissen-sources__list {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #475569;
}

.wissen-sources__list li {
  margin-bottom: 10px;
}

.wissen-back {
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.wissen-back a {
  font-weight: 600;
  color: var(--color-azure);
  text-decoration: none;
}

.wissen-back a:hover,
.wissen-back a:focus-visible {
  text-decoration: underline;
}

.wissen-topic__source {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
}

.wissen-topic__source a {
  font-weight: 600;
}

/* Legacy FAQ (falls alte Markup-Reste) */
.wissen-faq-item {
  margin: 0 0 22px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(8, 46, 73, 0.1);
  scroll-margin-top: 72px;
}

.wissen-faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.wissen-faq-item__title {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wissen-faq-item p {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  line-height: 1.45;
  color: #334155;
}

.wissen-faq-item__meta {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}

.wissen-letter {
  margin: 28px 0 12px;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wissen-letter:first-of-type {
  margin-top: 8px;
}

.wissen-topics {
  margin: 0 0 8px;
}

/* 3) Akkordeon mit farbigem Seitenakzent */
.wissen-topic {
  margin: 0 0 8px;
  border: 1px solid rgba(8, 46, 73, 0.12);
  border-left: 3px solid var(--wissen-accent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  scroll-margin-top: 80px;
}

.wissen-topic__heading {
  margin: 0;
}

.wissen-topic__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.wissen-topic__toggle:hover,
.wissen-topic__toggle:focus-visible {
  background: var(--wissen-accent-soft);
}

.wissen-topic__toggle:focus-visible {
  outline: 2px solid var(--wissen-accent);
  outline-offset: -2px;
}

.wissen-topic__toggle[aria-expanded="true"] {
  background: var(--wissen-accent-soft);
}

.wissen-topic__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-navy);
}

.wissen-topic__icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  border-right: 2px solid var(--wissen-accent);
  border-bottom: 2px solid var(--wissen-accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.wissen-topic__toggle[aria-expanded="true"] .wissen-topic__icon {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.wissen-topic__panel {
  padding: 0 14px 16px;
  border-top: 1px solid rgba(8, 46, 73, 0.08);
}

.wissen-topic__blurb {
  margin: 12px 0 10px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  line-height: 1.45;
  color: #334155;
}

.wissen-topic__hint {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.wissen-topic__list {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #334155;
}

.wissen-topic__list li {
  margin-bottom: 8px;
}

.wissen-topic__list a {
  color: var(--color-azure);
  text-decoration: none;
  font-weight: 600;
}

.wissen-topic__list a:hover,
.wissen-topic__list a:focus-visible {
  text-decoration: underline;
}

/* Legacy (falls alte Markup-Reste) */
.wissen-tag {
  margin: 0 0 16px;
}

.wissen-tag__title {
  margin: 0 0 6px;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wissen-tag__list {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #334155;
}

.wissen-tag__list a {
  color: var(--color-azure);
  text-decoration: none;
}

.wissen-tag__list a:hover,
.wissen-tag__list a:focus-visible {
  text-decoration: underline;
}

.wissen-group-title {
  margin: 28px 0 14px;
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-navy);
}

.wissen-group-title:first-child {
  margin-top: 4px;
}
