/* === Wissen — Hub & Artikel (statisch, SEO) === */

/* ---------- gemeinsame Bausteine ---------- */
.w-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 18%, rgba(228,213,168,0.22), transparent 42%),
    radial-gradient(ellipse at 12% 90%, rgba(228,213,168,0.12), transparent 46%),
    linear-gradient(170deg, #0d0d10 0%, #07070a 50%, #000 100%);
}

.w-badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; padding: 7px 13px;
  border-radius: var(--r-pill); background: var(--pill-bg); color: var(--accent);
  white-space: nowrap;
}
.w-badge.is-ink { background: rgba(24,24,24,0.07); color: var(--text-muted); }

/* ---------- HUB ---------- */
.wh-hero { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + 76px); padding-bottom: 104px; }
.wh-hero .eyebrow-d {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent-light);
}
.wh-hero h1 {
  font-family: var(--sans); font-weight: 700; font-size: clamp(40px, 5.2vw, 76px);
  line-height: 0.98; letter-spacing: -2.2px; color: var(--white);
  margin-top: 20px; text-wrap: balance;
}
.wh-hero .lead {
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.72); max-width: 540px; margin-top: 24px; text-wrap: pretty;
}

/* badges on dark hero */
.w-dark .w-badge { background: rgba(255,255,255,0.10); color: var(--accent-light); }
.w-dark .w-badge.is-ink { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); }

.wq {
  position: sticky; top: var(--nav-h); z-index: 5;
  background: rgba(247,246,241,0.86); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.wq-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 0; }
.wq-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px;
  border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-soft);
  font-family: var(--sans); font-weight: 600; font-size: 14px; color: var(--text-primary);
  transition: transform .2s ease, color .2s ease;
}
.wq-link:hover { transform: translateY(-1px); color: var(--accent); }
.wq-link span {
  font-size: 11.5px; font-weight: 700; min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 7px;
  border-radius: var(--r-pill); background: var(--pill-bg); color: var(--accent);
}

.wcat { padding-top: 84px; }
.wcat:last-of-type { padding-bottom: 8px; }
.wcat-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; }
.wcat-head h2 { color: var(--text-primary); text-wrap: balance; }
.wcat-head p { font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: var(--text-muted); max-width: 640px; text-wrap: pretty; }

.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wcard {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-soft);
  padding: 34px 32px; transition: transform .25s ease, box-shadow .25s ease;
}
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.wcard-title {
  font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.25;
  letter-spacing: -0.4px; color: var(--text-primary); text-wrap: pretty;
}
.wcard-lead {
  font-family: var(--body); font-size: 15px; line-height: 1.6;
  color: var(--text-muted); text-wrap: pretty; flex: 1;
}
.wcard-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
}
.wcard:hover .wcard-more svg { transform: translateX(3px); }
.wcard-more svg { transition: transform .25s ease; }

/* ---------- ARTIKEL ---------- */
.wa-hero { margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + 66px); padding-bottom: 148px; }
.wa-crumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 26px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.5); }
.wa-crumb a { color: rgba(255,255,255,0.72); transition: color .2s ease; }
.wa-crumb a:hover { color: var(--accent-light); }
.wa-crumb svg { opacity: 0.45; }
.wa-hero h1 {
  font-family: var(--sans); font-weight: 700; font-size: clamp(33px, 4.2vw, 60px);
  line-height: 1.04; letter-spacing: -1.6px; color: var(--white);
  margin-top: 18px; max-width: 900px; text-wrap: balance;
}
.wa-lead {
  font-family: var(--body); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65;
  color: rgba(255,255,255,0.72); max-width: 660px; margin-top: 22px; text-wrap: pretty;
}
.wa-hero .container { text-align: center; }
.wa-hero .wa-crumb { justify-content: center; }
.wa-hero .script { display: block; color: var(--accent-light); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; margin-bottom: 2px; }
.wa-hero h1 { margin-left: auto; margin-right: auto; margin-top: 10px; }
.wa-hero .wa-lead { margin-left: auto; margin-right: auto; }

.wa-body { background: var(--bg-light); padding-top: 0; padding-bottom: 116px; }
.wa-wrap {
  max-width: 900px; margin: -88px auto 0; position: relative; z-index: 2;
  background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-pop);
  padding: clamp(42px, 5vw, 76px) clamp(26px, 6vw, 86px) 60px;
}
.wa-section { padding: 0; margin-bottom: 32px; }
.wa-section h2 {
  font-family: var(--sans); font-weight: 700; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.24;
  letter-spacing: -0.5px; color: var(--text-primary); margin: 0 0 13px; text-wrap: balance;
}
.wa-section p {
  font-family: var(--body); font-size: 17.5px; line-height: 1.82; color: #3a3a37; text-wrap: pretty;
}
.wa-section p + p { margin-top: 15px; }
/* Rechtsseiten (Impressum, Datenschutz, Barrierefreiheit) */
.wa-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.wa-list li { position: relative; padding-left: 22px; font-family: var(--body); font-size: 17px; line-height: 1.7; color: #3a3a37; text-wrap: pretty; }
.wa-list li::before { content: ""; position: absolute; left: 1px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wa-defs { margin-top: 6px; }
.wa-defs .row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 15px 0; border-top: 1px solid var(--line-soft); }
.wa-defs .row:last-child { border-bottom: 1px solid var(--line-soft); }
.wa-defs dt { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); line-height: 1.5; padding-top: 3px; }
.wa-defs dd { font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text-primary); }
.wa-updated { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint); margin-bottom: 30px; }
@media (max-width: 640px) { .wa-defs .row { grid-template-columns: 1fr; gap: 4px; } }
.wa-section a, .wa-faq-a a {
  color: var(--accent-deep); font-weight: 600;
  text-decoration: underline; text-decoration-color: rgba(188,172,124,0.5);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.wa-section a:hover, .wa-faq-a a:hover { text-decoration-color: var(--accent); color: #8a7a4a; }

/* FAQ — SEO-Block */
.wa-faq { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line-soft); }
.wa-faq-head {
  font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(32px, 3.4vw, 42px); line-height: 1; color: var(--accent); margin-bottom: 10px;
}
.wa-faq-sub { font-family: var(--body); font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 8px; }
.wa-faq-item { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.wa-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.wa-faq-q {
  font-family: var(--sans); font-weight: 700; font-size: 17.5px; line-height: 1.4;
  letter-spacing: -0.2px; color: var(--text-primary); margin-bottom: 9px;
}
.wa-faq-a { font-family: var(--body); font-size: 16px; line-height: 1.72; color: #3a3a37; text-wrap: pretty; }
.wa-faq-a + .wa-faq-a { margin-top: 10px; }

.wa-points { margin: 42px 0; }
.wa-points h3 {
  font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(32px, 3.4vw, 42px); color: var(--accent); line-height: 1; margin-bottom: 20px;
}
.wa-points ul { list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-soft); }
.wa-points li { display: flex; gap: 14px; align-items: flex-start;
  font-family: var(--body); font-size: 16.5px; line-height: 1.55; color: var(--text-primary);
  padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.wa-points li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

.wa-sources { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.wa-sources h3 {
  font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px;
}
.wa-src-items { display: flex; flex-direction: column; gap: 0; }
.wa-src-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  background: none; border-radius: 0;
  font-family: var(--body); font-size: 14.5px; line-height: 1.4; color: var(--text-muted);
  transition: color .2s ease;
}
.wa-src-chip:last-child { border-bottom: none; }
.wa-src-chip:hover { color: var(--text-primary); }
.wa-src-chip svg { margin-left: auto; flex-shrink: 0; color: var(--text-faint); transition: color .2s ease; }
.wa-src-chip:hover svg { color: var(--accent); }
.wa-src-chip.is-plain { color: var(--text-muted); background: none; }

.wa-note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 30px;
  padding: 22px 26px; background: var(--bg-light); border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
}
.wa-note .mark {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pill-bg); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-weight: 700; font-size: 15px;
}
.wa-note p { font-family: var(--body); font-size: 13.5px; line-height: 1.7;
  color: var(--text-faint); text-wrap: pretty; }

/* article blocks: figures, tables, bars, stats */
.wa-fig { margin: 6px 0 46px; }
.wa-fig-title { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: -0.3px; color: var(--text-primary); margin-bottom: 20px; text-wrap: balance; }
.wa-fig-cap { font-family: var(--body); font-size: 12.5px; line-height: 1.55; color: var(--text-faint); margin-top: 14px; text-wrap: pretty; }
.wa-fig-src { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.wa-fig-src .k { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-faint); }
.wa-fig-src .wa-src-chip { padding: 7px 13px; font-size: 12.5px; border-radius: var(--r-pill); background: var(--pill-bg); color: var(--accent); border-bottom: none; }
.wa-fig-src .wa-src-chip svg { margin-left: 0; color: currentColor; }

.wa-bars { display: flex; flex-direction: column; gap: 16px; background: var(--bg-light); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 30px 32px; }
.wa-bar { display: grid; grid-template-columns: 160px 1fr auto; align-items: center; gap: 16px; }
.wa-bar-label { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--text-primary); }
.wa-bar-track { height: 14px; border-radius: 100px; background: rgba(24,24,24,0.06); overflow: hidden; }
.wa-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #E4D5A8, #BCAC7C); min-width: 3px; }
.wa-bar-val { font-family: var(--sans); font-size: 13.5px; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.wa-tablewrap { border: none; border-radius: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* Scroll-Schatten als Affordance, wenn die Tabelle breiter als der Viewport ist */
  background:
    linear-gradient(90deg, var(--white) 30%, rgba(255,255,255,0)) left/40px 100% no-repeat local,
    linear-gradient(270deg, var(--white) 30%, rgba(255,255,255,0)) right/40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(24,24,24,.16), transparent) left/14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(24,24,24,.16), transparent) right/14px 100% no-repeat scroll; }
.wa-table { width: 100%; border-collapse: collapse; }
.wa-table th { text-align: left; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); padding: 0 20px 12px 0; background: none; border-bottom: 1px solid rgba(188,172,124,0.45); vertical-align: bottom; }
.wa-table td { font-family: var(--body); font-size: 15px; line-height: 1.55; color: var(--text-muted); padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-wrap: pretty; }
.wa-table th:first-child, .wa-table td:first-child { padding-left: 0; }
.wa-table th:last-child, .wa-table td:last-child { padding-right: 0; }
.wa-table td:first-child { font-weight: 600; color: var(--text-primary); }

.wa-statrow { display: flex; flex-wrap: wrap; gap: 14px; }
.wa-statrow .item { flex: 1; min-width: 170px; background: var(--bg-light); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 26px 28px; }
.wa-statrow .val { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3vw, 36px); letter-spacing: -1px; line-height: 1; color: var(--accent); }
.wa-statrow .lab { font-family: var(--body); font-size: 13.5px; line-height: 1.5; color: var(--text-muted); margin-top: 10px; text-wrap: pretty; }

.wa-related { background: var(--bg-light); padding-top: 84px; padding-bottom: 104px; }
.wa-related .eyebrow { display: block; margin-bottom: 12px; }
.wa-related h2 { color: var(--text-primary); margin-bottom: 38px; }

@media (max-width: 980px) {
  .wgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wgrid { grid-template-columns: 1fr; }
  .wq { position: static; }
  .wcat { padding-top: 64px; }
  .wa-hero { padding-bottom: 120px; }
  .wa-wrap { margin-top: -72px; border-radius: var(--r-lg); }
  .wa-section h2 { font-size: 22px; }
  .wa-section p { font-size: 16.5px; }
  .wa-bar { grid-template-columns: 1fr auto; }
  .wa-bar-label { grid-column: 1 / -1; }
  .wa-bars { padding: 24px 22px; }
  .wa-table th, .wa-table td { padding: 13px 14px 13px 0; font-size: 14px; }
  .wa-table th:first-child, .wa-table td:first-child { padding-left: 0; }
  /* 3+-spaltige Tabellen nicht quetschen, sondern im Wrap scrollen lassen */
  .wa-tablewrap:has(td:nth-child(3)) .wa-table { min-width: 560px; }
  /* Lange Komposita in Hero-Headlines sauber trennen statt clippen */
  .wa-hero h1, .wh-hero h1 { hyphens: auto; -webkit-hyphens: auto; }
}
