/* ─── Wissen-Bereich (Übersicht + Artikel) ───────────────────────────────
   Eigene Datei, damit modern-styles.css (1 Jahr immutable gecacht) nicht
   auf allen Seiten neu versioniert werden muss. Nutzt deren Tokens. */

.wissen-hero {
  padding: calc(64px + clamp(3rem, 7vw, 6rem)) 0 clamp(2rem, 4vw, 3rem);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.wissen-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; margin-bottom: 0.75rem; }
.wissen-hero p { color: rgba(245,245,245,0.78); max-width: 640px; font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(245,245,245,0.72); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* Übersicht: Artikelkarten */
.wissen-list { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.wissen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}
.wissen-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--border-radius-lg);
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.wissen-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.18); border-top-color: var(--red); }
.wissen-card .tag { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wissen-card h2 { font-size: 1.6rem; line-height: 1.1; margin: 0; }
.wissen-card p { color: rgba(245,245,245,0.75); font-size: 0.97rem; margin: 0; }
.wissen-card .more { margin-top: auto; padding-top: 0.5rem; font-weight: 600; color: var(--white); }
.wissen-card .more::after { content: " →"; color: var(--red); }
.wissen-soon {
  padding: 1.6rem 1.5rem;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: var(--border-radius-lg);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Artikel */
.article { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); }
.article-body { max-width: 740px; margin: 0 auto; }
.article-lead { font-size: 1.15rem; color: rgba(245,245,245,0.82); margin-bottom: 1.5rem; }

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 2rem;
}
.author-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  flex-shrink: 0;
}
.author-box .name { font-weight: 600; color: var(--white); }
.author-box .meta { font-size: 0.88rem; color: rgba(245,245,245,0.68); }

.tldr {
  border-left: 4px solid var(--red);
  background: rgba(220,20,60,0.08);
  padding: 1.1rem 1.3rem;
  margin: 0 0 2.5rem;
  border-radius: 0 12px 12px 0;
}
.tldr strong { color: var(--white); }

.article-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 2.8rem 0 1rem; line-height: 1.08; }
.article-body h3 { font-size: 1.35rem; margin: 2rem 0 0.7rem; text-transform: none; }
.article-body p { color: rgba(245,245,245,0.86); font-size: 1.03rem; line-height: 1.75; margin: 0 0 1.1rem; }
.article-body ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.article-body li { color: rgba(245,245,245,0.86); line-height: 1.7; margin-bottom: 0.45rem; list-style: disc; }
.article-body li::marker { color: var(--red); }
.article-body a:not(.btn-primary) { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--white); }

.plan-table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 460px; font-size: 0.95rem; }
.plan-table th, .plan-table td { padding: 0.6rem 0.4rem; text-align: center; border-bottom: 1px solid var(--border); }
.plan-table th { color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.plan-table td:first-child, .plan-table th:first-child { text-align: left; color: var(--white); font-weight: 600; }
.plan-table .ok { color: #7fb6ff; font-weight: 600; }
.plan-table .uk { color: #ff8a9b; font-weight: 600; }
.plan-table .frei { color: rgba(245,245,245,0.4); }

.mistake { margin-bottom: 1.4rem; }
.mistake h3 { margin-top: 1.4rem; }
.mistake h3 span { color: var(--red); margin-right: 0.35rem; }

.article-cta {
  margin: 2.5rem 0;
  padding: 1.6rem 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.article-cta.is-coaching { background: rgba(220,20,60,0.1); border-color: rgba(220,20,60,0.35); }
.article-cta h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.article-cta p { margin: 0 0 1.1rem; }
.article-cta .btn-primary, .article-cta .btn-ghost { display: inline-block; }

.article-more {
  max-width: 740px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
}
.article-more a { color: var(--white); }

@media (max-width: 520px) {
  .plan-table { min-width: 0; font-size: 0.8rem; }
  .plan-table th, .plan-table td { padding: 0.55rem 0.1rem; }
  .plan-table th { font-size: 0.7rem; letter-spacing: 0; }
}

/* Aufwärm-Beispiele: drei gleichwertige Spalten, Kontroll-Single + Arbeitssatz hervorgehoben */
.warmup-table td:first-child, .warmup-table th:first-child { text-align: center; color: inherit; font-weight: inherit; }
.warmup-table th { text-transform: none; letter-spacing: 0; font-size: 0.85rem; line-height: 1.35; }
.warmup-table td { color: rgba(245,245,245,0.86); white-space: nowrap; }
.warmup-table td.kontrolle { color: #7fb6ff; font-weight: 600; }
.warmup-table tr.arbeitssatz td { color: var(--white); font-weight: 700; border-top: 2px solid var(--red); border-bottom: none; }
