/* =====================================================================
   Wissens- und Übersichtsseiten im Design der freigegebenen Leistungsseiten
   Regelwerk: tools/eigene-seiten/GESTALTUNGSREGELN.md (Vorbild bauchdeckenstraffung.html)
   Eingebunden als letzte Stilschicht von tools/wissen-umbau/umbau.mjs; gilt nur für
   main[data-umbau-wissen] (id="inhalt" macht jede Regel stärker als seiten-wissen.css,
   seiten-glossar.css und unterseite.css, ohne !important).
     hub      Magazin-Übersicht, Mediathek, Aktuelles & Presse
     webinar  Webinare, Webinar-Anmeldungen, Dank- und Kontaktseiten
     glossar  Wissen A–Z (eigenes Lexikon-Design: nur Schrift, Knöpfe, Rundungen, Farben)
   ===================================================================== */

#inhalt[data-umbau-wissen] {
  --wn-h1: var(--t-3xl);                                  /* 88 px */
  --wn-h1-lang: clamp(2.75rem, 1.4rem + 3.2vw, 5rem);     /* lange Titel, 66 px */
  --wn-h2: clamp(2rem, 1.3rem + 1.6vw, 2.75rem);          /* 44 px */
  --wn-h3-gross: clamp(1.6rem, 1.2rem + .9vw, 2rem);      /* 32 px */
  --wn-h3: clamp(1.25rem, 1.1rem + .4vw, 1.4375rem);      /* 23 px */
  --wn-h4: 1.25rem;                                       /* 20 px */
  --wn-intro: 1.125rem;                                   /* 18 px */
  --wn-text: #40322C;
  --wn-abstand: clamp(4.5rem, 1.6rem + 6.4vw, 7.5rem);    /* Abschnitt oben/unten */
  --wn-kopf: clamp(2.5rem, 1.5rem + 2.2vw, 3.75rem);      /* Kopfzeile → Inhalt */
  --wn-gap: clamp(1rem, .5rem + 1.2vw, 1.5rem);           /* zwischen Karten, 24 px */
  --wn-schatten: 0 1px 2px rgba(42, 32, 28, .04), 0 18px 40px -22px rgba(42, 32, 28, .26);
  --wn-r: 20px;
  --wn-r-klein: 14px;
  --wn-r-bild: 8px;
}

/* ---------- Gemeinsam: Knöpfe (50 px Pille) ---------- */
#inhalt[data-umbau-wissen] .btn {
  min-height: 50px; padding: 0 1.5rem; border-radius: 999px; border-width: 1px;
  font-size: var(--t-s); font-weight: 500; font-stretch: 100%; letter-spacing: .03em; text-transform: none;
  box-shadow: none; background-image: none;
}
#inhalt[data-umbau-wissen] .btns { gap: .75rem; }
#inhalt[data-umbau-wissen] .btn--solid { background-color: var(--mokka); border-color: var(--mokka); color: #fff; }
#inhalt[data-umbau-wissen] .btn--line { background-color: transparent; border-color: var(--espresso); color: var(--espresso); }
@media (hover: hover) and (pointer: fine) {
  #inhalt[data-umbau-wissen] .btn--solid:hover { background-color: var(--espresso); border-color: var(--espresso); color: #fff; }
  #inhalt[data-umbau-wissen] .btn--line:hover { background-color: var(--espresso); color: var(--licht); }
}
/* auf dunkler Fläche */
#inhalt[data-umbau-wissen] :is(.wweb__panel, .wwb__feature, .lx-service--dunkel) .btn--solid { background-color: var(--licht); border-color: var(--licht); color: var(--espresso); }
#inhalt[data-umbau-wissen] :is(.wweb__panel, .wwb__feature, .lx-service--dunkel) .btn--line { border-color: rgba(239, 230, 224, .45); color: var(--licht); }
@media (hover: hover) and (pointer: fine) {
  #inhalt[data-umbau-wissen] :is(.wweb__panel, .lx-service--dunkel) .btn--solid:hover,
  #inhalt[data-umbau-wissen] .wwb__feature:hover .btn--solid { background-color: var(--nude); border-color: var(--nude); color: var(--espresso); }
}
/* auf Foto (Anmeldekarte mit Bild) */
#inhalt[data-umbau-wissen] .wreg__main .btn--solid { background-color: var(--rose); border-color: var(--rose); color: var(--espresso); }
@media (hover: hover) and (pointer: fine) { #inhalt[data-umbau-wissen] .wreg__main .btn--solid:hover { background-color: var(--licht); border-color: var(--licht); } }
#inhalt[data-umbau-wissen] .wn-pfeil { flex: none; width: 16px; height: 16px; margin-left: .35em; vertical-align: -.2em; }

/* ---------- Gemeinsam: Bilder bewegen sich nie ---------- */
#inhalt[data-umbau-wissen] :is(.wmag__img img, .wwb__media img, .vfac img, .wpress__img img, .lg-cta__img img, .lx-hero__bild img) {
  transform: none !important; transition: none !important; animation: none !important;
}

/* ---------- Gemeinsam: Überschriften ---------- */
#inhalt[data-umbau-wissen] :is(h1, h2, h3) { hyphens: manual; -webkit-hyphens: manual; }
#inhalt[data-umbau-wissen]:not([data-umbau-wissen="glossar"]) > section h2:not(.sr-only, .wwb__name),
#inhalt[data-umbau-wissen] .kf__titel {
  font-size: var(--wn-h2); font-weight: 250; font-stretch: 118%; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance;
}
#inhalt[data-umbau-wissen] .kf__titel { font-size: var(--wn-h2) !important; }
/* Zeilenumbrüche aus dem Original in Abschnitts-Überschriften erzeugten Einzelwörter („ist“) – Umbruch übernimmt text-wrap */
#inhalt[data-umbau-wissen] > section h2 br, #inhalt[data-umbau-wissen] .wdanke h1 br { display: none; }
/* FAQ-Zeilen wie auf den Leistungsseiten */
#inhalt[data-umbau-wissen] .a-item { border-radius: var(--wn-r-klein); }

/* =====================================================================
   HUB: Kopf hell wie auf den Leistungsseiten (helle Fläche über dem Bild, dunkle Schrift)
   ===================================================================== */
#inhalt[data-umbau-wissen="hub"] .hero--sub { background: var(--porzellan); min-height: min(calc(100svh - 52px), 940px); }
#inhalt[data-umbau-wissen="hub"] .hero--sub::after { display: none; }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 242, 239, .97) 0%, rgba(247, 242, 239, .94) 32%, rgba(247, 242, 239, .72) 47%, rgba(247, 242, 239, .22) 62%, rgba(247, 242, 239, 0) 74%);
}
#inhalt[data-umbau-wissen="hub"] .hero--sub :is(h1, .hero__eyebrow, .hero__proof, .hero__rating, .hero__score) { text-shadow: none; }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__inner { color: #3A2C26; padding-bottom: clamp(3rem, 8vh, 5.5rem); }
#inhalt[data-umbau-wissen="hub"] .hero--sub h1 {
  color: var(--espresso); font-size: var(--wn-h1); font-weight: 200; font-stretch: 125%; line-height: 1; letter-spacing: -.02em;
}
#inhalt[data-umbau-wissen="hub"] .hero--sub .wn-unterzeile {
  margin: 1.4rem 0 0; max-width: 44ch; font-size: var(--t-l); font-weight: 350; line-height: 1.72; color: #3A2C26;
}
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__proof { margin-top: clamp(2rem, 4.5vh, 3rem); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__proof li { border-left-color: rgba(42, 32, 28, .22); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__proof li:first-child { border-left: 0; }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__proof strong { color: var(--espresso); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__proof strong small { color: #3A2C26; }
#inhalt[data-umbau-wissen="hub"] .hero--sub :is(.hp__pre, .hp__post) { color: var(--muted); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__rating li { color: var(--muted); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__rating li + li { border-left-color: rgba(42, 32, 28, .38); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__rating b { color: var(--espresso); }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__stars { color: #B8914F; }
#inhalt[data-umbau-wissen="hub"] .hero--sub .hero__score { color: var(--espresso); }
@media (max-width: 760px) {
  #inhalt[data-umbau-wissen="hub"] .hero--sub .hero__media::before { display: none; }
  #inhalt[data-umbau-wissen="hub"] .hero--sub .hero__media::after {
    display: block; height: 72%;
    background: linear-gradient(to top, var(--porzellan) 42%, rgba(247, 242, 239, .86) 64%, rgba(247, 242, 239, 0));
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ---------- HUB: Abschnitte ---------- */
#inhalt[data-umbau-wissen="hub"] > section.ca:not(.wmed) { padding-block: var(--wn-abstand); }
#inhalt[data-umbau-wissen="hub"] > section.ca h2 { margin: 0 0 var(--wn-kopf); color: var(--espresso); }

/* Magazin-Übersicht: weiße Fläche, Aufmacher + ruhiges Raster */
#inhalt[data-umbau-wissen] .wmag { background: var(--licht); }
#inhalt[data-umbau-wissen] .wmag__list { gap: clamp(3rem, 5vw, 4.5rem) clamp(1.25rem, 2.4vw, 2.25rem); }
#inhalt[data-umbau-wissen] .wmag__img,
#inhalt[data-umbau-wissen] .wmag__item--lead .wmag__img,
#inhalt[data-umbau-wissen] .wmag h3 a::after { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .wmag__txt { display: flex; flex-direction: column; }
#inhalt[data-umbau-wissen] .wmag__txt h3 { order: 1; }
#inhalt[data-umbau-wissen] .wmag__date { order: 2; margin: 0 0 .75rem; font-size: var(--t-xs); font-weight: 400; color: var(--muted); }
#inhalt[data-umbau-wissen] .wmag__ex { order: 3; }
#inhalt[data-umbau-wissen] .wmag h3 {
  margin: 0 0 .55rem; font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; color: var(--espresso);
}
#inhalt[data-umbau-wissen] .wmag__item--lead h3 {
  margin-bottom: .7rem; font-size: var(--wn-h3-gross); font-weight: 300; font-stretch: 112%; line-height: 1.16; letter-spacing: -.005em;
}
#inhalt[data-umbau-wissen] .wmag__ex p { font-size: var(--t-m); line-height: 1.65; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wmag__item--lead .wmag__ex p { font-size: var(--wn-intro); line-height: 1.7; }

/* Mediathek: Überschrift über jedem Bereich, Videos in drei Spalten über die volle Breite */
#inhalt[data-umbau-wissen] .wmed { background: var(--licht); }
#inhalt[data-umbau-wissen] .wmed--first { padding-top: var(--wn-abstand); }
#inhalt[data-umbau-wissen] .wmed:last-of-type, #inhalt[data-umbau-wissen] .wmed:has(+ section:not(.wmed)) { padding-bottom: var(--wn-abstand); }
#inhalt[data-umbau-wissen] .wmed__intro { grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-bottom: var(--wn-kopf); }
#inhalt[data-umbau-wissen] .wmed__lead { max-width: 62ch; font-size: var(--t-l); font-weight: 350; line-height: 1.72; color: #3A2C26; }
#inhalt[data-umbau-wissen] .wmed__cat { display: block; padding-block: clamp(3rem, 5vw, 4.25rem); }
#inhalt[data-umbau-wissen] .wmed__cat h2 { position: static; max-width: 30ch; margin: 0 0 clamp(1.75rem, 3vw, 2.5rem); }
#inhalt[data-umbau-wissen] .wmed__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3rem) var(--wn-gap); }
#inhalt[data-umbau-wissen] .wvid .vfac, #inhalt[data-umbau-wissen] .wvid .vframe { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .wvid h3 {
  margin-top: 1rem; font-size: var(--wn-h4); font-weight: 300; font-stretch: 108%; line-height: 1.3; color: var(--espresso);
}
/* Spaltenzahl nach Anzahl der Videos, damit keine Rasterzelle leer bleibt */
@media (min-width: 1101px) { #inhalt[data-umbau-wissen] .wmed__grid:is(:has(> .wvid:nth-child(4):last-child), :has(> .wvid:nth-child(8):last-child), :has(> .wvid:nth-child(16):last-child)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) { #inhalt[data-umbau-wissen] .wmed__grid:has(> .wvid:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Ein einzelnes Video oder zwei Hochformat-Videos: Überschrift links, Video rechts in der Breite der Rasterspalten (oben bündig) */
@media (min-width: 901px) {
  #inhalt[data-umbau-wissen] .wmed__cat:has(.wvid:only-child) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem var(--wn-gap); align-items: start; }
  #inhalt[data-umbau-wissen] .wmed__cat:has(.ffv--hoch) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem var(--wn-gap); align-items: start; }
  #inhalt[data-umbau-wissen] .wmed__cat:is(:has(.wvid:only-child), :has(.ffv--hoch)) h2 { margin: 0; max-width: 22ch; }
  #inhalt[data-umbau-wissen] .wmed__cat:has(.wvid:only-child) .wmed__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) { #inhalt[data-umbau-wissen] .wmed__grid:not(:has(> .wvid:only-child)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  #inhalt[data-umbau-wissen] .wmed__grid { grid-template-columns: minmax(0, 1fr); }
  #inhalt[data-umbau-wissen] .wmed__intro { grid-template-columns: minmax(0, 1fr); }
  #inhalt[data-umbau-wissen] .wmed__intro .btn { justify-self: start; }
}

/* Aktuelles & Presse: Jahr als Überschrift, Beiträge in drei Spalten (keine leere Randspalte) */
#inhalt[data-umbau-wissen] .ca.wpress + .ca.wpress { padding-top: var(--wn-abstand); }
#inhalt[data-umbau-wissen] .wpress:nth-of-type(even) { background: var(--licht); }
#inhalt[data-umbau-wissen] .wpress__grid { display: block; }
#inhalt[data-umbau-wissen] .wpress__year { position: static; font-size: var(--wn-h2); font-weight: 250; font-stretch: 118%; line-height: 1.08; letter-spacing: -.012em; color: var(--espresso); }
#inhalt[data-umbau-wissen] .wpress__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.75rem, 4.5vw, 4rem) clamp(1.25rem, 2.4vw, 2.25rem); border: 0; }
#inhalt[data-umbau-wissen] .wpress__item { display: flex; flex-direction: column; gap: 1.25rem; padding: 0; border: 0; }
#inhalt[data-umbau-wissen] .wpress__img { width: 100%; }
#inhalt[data-umbau-wissen] .wpress__img img { display: block; width: 100%; height: auto; border-radius: var(--wn-r); }
/* Spaltenzahl nach Anzahl der Beiträge, damit keine Rasterzelle leer bleibt */
@media (min-width: 1101px) { #inhalt[data-umbau-wissen] .wpress__list:is(:has(> li:nth-child(4):last-child), :has(> li:nth-child(8):last-child)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) { #inhalt[data-umbau-wissen] .wpress__list:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#inhalt[data-umbau-wissen] .wpress__txt { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
#inhalt[data-umbau-wissen] .ca.wpress h3 { margin: 0 0 .7rem; font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; color: var(--espresso); }
#inhalt[data-umbau-wissen] .wpress__when { display: inline; margin: 0; font: inherit; color: inherit; }
#inhalt[data-umbau-wissen] .ca.wpress p { margin: 0 0 1.1rem; font-size: var(--t-m); line-height: 1.65; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wpress__link { display: inline-flex; align-items: center; margin-top: auto; font-size: var(--t-s); font-weight: 500; color: var(--mokka); }
@media (max-width: 1100px) { #inhalt[data-umbau-wissen] .wpress__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #inhalt[data-umbau-wissen] .wpress__list { grid-template-columns: minmax(0, 1fr); } }

/* Aufruf, Siegelleiste, Ratenrechner, Autor: Rundungen und Schrift.
   Folgen zwei Abschnitte auf derselben hellen Fläche, entfällt der obere Abstand des zweiten (kein doppelter Leerraum) */
#inhalt[data-umbau-wissen="hub"] > :is(section.lg-cta, section[data-lg], section.wpress:nth-of-type(odd)) + section.ca:is(.lg-cta, [data-lg]) { padding-top: 0; }
#inhalt[data-umbau-wissen] :is(.lg-cta__box, .strip, [data-lg="author"] .wrap > div) { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .lg-cta__txt p { font-size: var(--t-m); line-height: 1.65; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .lg-cta .lg-cta__txt h2 { margin-bottom: 1rem; }
#inhalt[data-umbau-wissen] .lg-cta--light .lg-cta__txt h2 { margin-bottom: 0; }

/* =====================================================================
   WEBINAR
   ===================================================================== */
#inhalt[data-umbau-wissen="webinar"] > section.ca:not(.w-first) { padding-block: var(--wn-abstand); }
#inhalt[data-umbau-wissen="webinar"] > section.ca:not(.w-first) + section.ca:not(#faq) { padding-top: 0; }
/* Kopf (dunkles Paneel) */
#inhalt[data-umbau-wissen] .wweb__panel { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .wweb__title { font-size: clamp(2.4rem, 1rem + 3.4vw, 3.9rem); font-weight: 200; font-stretch: 125%; line-height: 1.04; letter-spacing: -.02em; }
#inhalt[data-umbau-wissen] .wweb__title strong { font-size: var(--wn-h3-gross); font-weight: 300; font-stretch: 112%; line-height: 1.25; letter-spacing: -.005em; }
#inhalt[data-umbau-wissen] .wweb__lead { max-width: 44ch; font-size: var(--t-l); font-weight: 350; line-height: 1.72; }
#inhalt[data-umbau-wissen] .wweb__video .uvid { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .wweb__why p { font-size: var(--t-m); line-height: 1.7; }
#inhalt[data-umbau-wissen] .wweb__take h2 { margin-bottom: var(--wn-kopf); color: #fff; max-width: 22ch; }
#inhalt[data-umbau-wissen] .wweb__usp li { font-size: var(--t-m); line-height: 1.65; }
#inhalt[data-umbau-wissen] .wweb__usp strong { font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; }
/* Referent */
#inhalt[data-umbau-wissen] .ca.wref { padding-top: 0; }
#inhalt[data-umbau-wissen] .wref__box { border-radius: var(--wn-r); box-shadow: var(--wn-schatten); }
#inhalt[data-umbau-wissen] .wref__txt h2 { margin-bottom: .6rem; }
#inhalt[data-umbau-wissen] .wref__name { margin: 0 0 1.5rem; font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; color: var(--espresso); }
#inhalt[data-umbau-wissen] .wref__txt p { font-size: var(--t-m); line-height: 1.7; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wref__fig blockquote p { font-size: var(--wn-h3); font-weight: 300; }
/* Alle Infos / Für wen: Kopfzeile (H2 links, Inhalt rechts, oben bündig) */
#inhalt[data-umbau-wissen] :is(.winfo__grid, .wfor__grid) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 1.75rem clamp(2.5rem, 5vw, 4.5rem); }
#inhalt[data-umbau-wissen] :is(.winfo, .wfor) h2 { max-width: 22ch; }
#inhalt[data-umbau-wissen] .winfo__list { border-radius: var(--wn-r); box-shadow: var(--wn-schatten); }
#inhalt[data-umbau-wissen] .winfo__list li { padding: 1.6rem 1.5rem 1.75rem; }
#inhalt[data-umbau-wissen] .winfo h3 { margin: 0 0 .45rem; font-size: var(--wn-h4); font-weight: 300; font-stretch: 108%; line-height: 1.3; color: var(--espresso); }
#inhalt[data-umbau-wissen] .winfo__list p { font-size: var(--t-m); font-weight: 400; font-stretch: 100%; line-height: 1.6; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wfor__list li { font-size: var(--wn-intro); font-weight: 400; line-height: 1.6; color: var(--wn-text); }
/* Anmeldekarte */
#inhalt[data-umbau-wissen] .wreg__box { border-radius: var(--wn-r); box-shadow: var(--wn-schatten); }
#inhalt[data-umbau-wissen] .wreg__main h2 { color: #fff; }
#inhalt[data-umbau-wissen] .wreg__main p { font-size: var(--t-m); line-height: 1.7; }
#inhalt[data-umbau-wissen] .wreg__lbl { font-size: var(--wn-h3-gross); font-weight: 300; font-stretch: 112%; line-height: 1.16; letter-spacing: -.005em; }
#inhalt[data-umbau-wissen] .wreg__list li { font-size: var(--t-m); }
/* FAQ der Webinare */
#inhalt[data-umbau-wissen="webinar"] #faq { padding-top: var(--wn-abstand); background: var(--licht); }

/* Webinar-Übersicht */
#inhalt[data-umbau-wissen] .wwb__head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto; column-gap: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: var(--wn-kopf); }
#inhalt[data-umbau-wissen] .wwb__title { grid-column: 1; grid-row: 1 / -1; align-self: end; margin: 0; max-width: none; font-size: var(--wn-h1-lang); font-weight: 200; font-stretch: 125%; line-height: 1.04; letter-spacing: -.02em; }
#inhalt[data-umbau-wissen] .wwb__unterzeile { grid-column: 2; grid-row: 2; margin: 0 0 .75rem; font-size: var(--t-l); font-weight: 350; line-height: 1.5; color: var(--espresso); }
#inhalt[data-umbau-wissen] .wwb__lead { grid-column: 2; grid-row: 3; margin: 0; max-width: 52ch; font-size: var(--wn-intro); font-weight: 400; line-height: 1.7; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wwb__feature { border-radius: var(--wn-r); box-shadow: var(--wn-schatten); }
#inhalt[data-umbau-wissen] .wwb__name { font-size: var(--wn-h2); font-weight: 250; font-stretch: 118%; line-height: 1.08; letter-spacing: -.012em; }
#inhalt[data-umbau-wissen] .wwb__main strong { font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; }
@media (max-width: 900px) {
  #inhalt[data-umbau-wissen] .wwb__head { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1rem; }
  #inhalt[data-umbau-wissen] :is(.wwb__title, .wwb__unterzeile, .wwb__lead) { grid-column: 1; grid-row: auto; }
  #inhalt[data-umbau-wissen] :is(.winfo__grid, .wfor__grid) { grid-template-columns: minmax(0, 1fr); }
}

/* Dank- und Kontaktseiten: Kopfzeile in einer Karte über die volle Breite (Titel links, Text und Knöpfe rechts) */
#inhalt[data-umbau-wissen] .wdanke__box {
  max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4.5rem); border-radius: var(--wn-r); box-shadow: var(--wn-schatten); text-align: left;
}
#inhalt[data-umbau-wissen] .wdanke__box:not(:has(p)) { grid-template-columns: minmax(0, 1fr); }
#inhalt[data-umbau-wissen] .wdanke h1 { grid-column: 1; grid-row: 1 / -1; align-self: center; margin: 0; max-width: 18ch; font-size: var(--wn-h1-lang); font-weight: 200; font-stretch: 125%; line-height: 1.04; letter-spacing: -.02em; color: var(--espresso); }
#inhalt[data-umbau-wissen] .wdanke__box:not(:has(p)) h1 { max-width: 22ch; }
#inhalt[data-umbau-wissen] .wdanke p { grid-column: 2; grid-row: 2; margin: 0; max-width: 52ch; font-size: var(--wn-intro); line-height: 1.7; color: var(--wn-text); }
#inhalt[data-umbau-wissen] .wdanke .btns { grid-column: 2; grid-row: 3; justify-content: flex-start; margin-top: 1.75rem; }
#inhalt[data-umbau-wissen] .wdanke__box:not(:has(p)) { grid-template-rows: auto; }
@media (max-width: 900px) {
  #inhalt[data-umbau-wissen] .wdanke__box { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 1.25rem; }
  #inhalt[data-umbau-wissen] .wdanke .btns { margin-top: .5rem; }
  #inhalt[data-umbau-wissen] .wdanke :is(h1, p, .btns) { grid-column: 1; grid-row: auto; }
}

/* =====================================================================
   GLOSSAR (Wissen A–Z): Aufbau bleibt, nur Schriftstufen, Knöpfe, Rundungen, Farben
   ===================================================================== */
/* Lexikon-Kopf */
#inhalt[data-umbau-wissen="glossar"] .lx-hero__bild { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__wort { font-size: min(var(--wn-h1), 11cqi); font-weight: 200; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__titel { font-size: var(--t-l); font-weight: 350; font-stretch: 100%; line-height: 1.5; letter-spacing: 0; color: #3A2C26; }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__lead, #inhalt[data-umbau-wissen="glossar"] .lx-hero p.lx-hero__intro { font-size: var(--t-l); font-weight: 350; line-height: 1.6; color: #3A2C26; }
/* Kurzdefinition als Karte: „Kurz erklärt“ ist der Kartentitel (kein Etikett mehr) */
#inhalt[data-umbau-wissen="glossar"] .lx-def { border-radius: var(--wn-r); padding: 1.6rem 1.5rem 1.75rem; box-shadow: var(--wn-schatten); }
#inhalt[data-umbau-wissen="glossar"] .lx-def__label { display: block; margin: 0 0 .6rem; font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; color: var(--espresso); }
#inhalt[data-umbau-wissen="glossar"] .lx-def__label::before { display: none; }
#inhalt[data-umbau-wissen="glossar"] .lx-def__kern { font-size: var(--wn-intro); font-weight: 400; line-height: 1.6; color: var(--espresso); }
#inhalt[data-umbau-wissen="glossar"] .lx-def__text { font-size: var(--t-m); line-height: 1.65; color: var(--wn-text); }
/* Lesespalte */
#inhalt[data-umbau-wissen="glossar"] .lx-abschnitt > h2 { font-size: var(--wn-h2); font-weight: 250; font-stretch: 118%; line-height: 1.08; letter-spacing: -.012em; color: var(--espresso); }
#inhalt[data-umbau-wissen="glossar"] .lx-text > p { font-size: var(--wn-intro); line-height: 1.7; color: var(--wn-text); }
#inhalt[data-umbau-wissen="glossar"] .lx-text > p.lx-lead { font-size: var(--t-l); font-weight: 350; line-height: 1.6; color: #3A2C26; }
#inhalt[data-umbau-wissen="glossar"] .lx-text > :is(ul:not([class]) > li, ol:not([class]) > li) { font-size: var(--wn-intro); line-height: 1.65; color: var(--wn-text); }
#inhalt[data-umbau-wissen="glossar"] .lx-text h3 { font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; color: var(--espresso); }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-unter { font-size: var(--wn-h4); font-weight: 300; font-stretch: 108%; line-height: 1.3; }
#inhalt[data-umbau-wissen="glossar"] .lx-text blockquote, #inhalt[data-umbau-wissen="glossar"] .lx-text .lx-hinweis { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-text > p.lx-hinweis { font-size: var(--t-m); line-height: 1.65; }
#inhalt[data-umbau-wissen="glossar"] .lx-text figure img { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-table { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-steps__label { font-size: var(--wn-h4); font-weight: 300; font-stretch: 108%; line-height: 1.3; }
#inhalt[data-umbau-wissen="glossar"] .lx-steps__text { font-size: var(--t-s); }
/* Inhaltsverzeichnis als Karte */
#inhalt[data-umbau-wissen="glossar"] .lx-toc { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-toc nav a { border-radius: var(--wn-r-klein); }
/* Aufrufe im Text: Etikett steht hinter dem Titel */
#inhalt[data-umbau-wissen="glossar"] .lx-service { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-service > div:first-child { display: flex; flex-direction: column; }
#inhalt[data-umbau-wissen="glossar"] .lx-service h3 { order: 1; margin: 0 0 .35rem; font-size: var(--wn-h3-gross); font-weight: 300; font-stretch: 112%; line-height: 1.16; letter-spacing: -.005em; }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-service__label { order: 2; margin: 0 0 .7rem; font-size: var(--t-s); font-weight: 400; color: var(--muted); }
#inhalt[data-umbau-wissen="glossar"] .lx-service > div:first-child > p:not(.lx-service__label) { order: 3; font-size: var(--t-m); }
/* Fachliche Prüfung: Karte 20, Foto in der Karte 8, Status unter dem Namen */
#inhalt[data-umbau-wissen="glossar"] .lx-pruef { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-pruef__foto { border-radius: var(--wn-r-bild); }
#inhalt[data-umbau-wissen="glossar"] .lx-pruef__body { display: flex; flex-direction: column; align-items: flex-start; }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-pruef h3 { order: 1; font-size: var(--wn-h3-gross); font-weight: 300; font-stretch: 112%; line-height: 1.16; }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-pruef__rolle { order: 2; margin-bottom: .6rem; }
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-pruef__status { order: 3; margin: 0 0 1rem; }
#inhalt[data-umbau-wissen="glossar"] .lx-pruef__body > :not(h3, .lx-pruef__rolle, .lx-pruef__status) { order: 4; }
/* FAQ */
#inhalt[data-umbau-wissen="glossar"] .lx-faq summary { font-size: var(--wn-intro); font-weight: 500; }
#inhalt[data-umbau-wissen="glossar"] .lx-faq__a p { font-size: var(--t-m); }
/* Karten „Weiter im Lexikon“: Rubrik unter dem Namen statt darüber */
#inhalt[data-umbau-wissen="glossar"] .lx-card { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-card__name { order: 1; font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; }
#inhalt[data-umbau-wissen="glossar"] .lx-card__kurz { order: 2; font-size: var(--t-m); }
#inhalt[data-umbau-wissen="glossar"] .lx-card__rub { order: 3; margin-top: auto; padding-top: .35rem; font-weight: 400; color: var(--muted); }
/* Übersicht Wissen A–Z */
#inhalt[data-umbau-wissen="glossar"] .lx-eintrag { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen="glossar"] .lx-eintrag__name { font-size: var(--wn-h3); font-weight: 300; font-stretch: 112%; line-height: 1.22; letter-spacing: -.005em; }
#inhalt[data-umbau-wissen="glossar"] .lx-eintrag__kurz { font-size: var(--t-s); }
#inhalt[data-umbau-wissen="glossar"] .lx-eintrag__rub { font-weight: 400; color: var(--muted); }
#inhalt[data-umbau-wissen="glossar"] .lx-haeufig p { font-size: var(--t-s); font-weight: 600; color: var(--espresso); }
#inhalt[data-umbau-wissen="glossar"] :is(.lx-hub__t, .lx-trust__t) { font-size: var(--wn-h2); font-weight: 250; font-stretch: 118%; line-height: 1.08; letter-spacing: -.012em; }
#inhalt[data-umbau-wissen="glossar"] .lx-hub__lead { font-size: var(--wn-intro); line-height: 1.7; }
#inhalt[data-umbau-wissen="glossar"] .lx-trust__list h3 { font-size: var(--wn-h4); font-weight: 300; font-stretch: 108%; line-height: 1.3; }
#inhalt[data-umbau-wissen="glossar"] .lx-leer { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .wreg__main .wweb__faces { display: none; } /* gleiche Gesichter stehen schon im Kopf: kein Bild doppelt sichtbar */
/* FAQ-Kasten „Ihre Frage ist nicht dabei?“ (main.js): Knopf wie btn--solid, Kasten mit Kartenrundung */
#inhalt[data-umbau-wissen] .faq-frage { border-radius: var(--wn-r); }
#inhalt[data-umbau-wissen] .faq-frage__btn { background-color: var(--mokka); border-color: var(--mokka); color: #fff; }
@media (hover: hover) and (pointer: fine) { #inhalt[data-umbau-wissen] .faq-frage__btn:hover { background-color: var(--espresso); border-color: var(--espresso); } }


/* ============================================================
   Handy-Optimierung 13.11.2026 (übrige Seiten)
   ============================================================ */
@media (max-width:640px){
  /* Magazin-Übersicht: bleibt eine Liste, aber kompakt – kleines Bild links, Titel und Datum daneben, Anriss darunter.
     Der neueste Artikel bleibt groß. */
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__list{gap:0}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead){padding-block:1.4rem;border-top:1px solid var(--line)}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item--lead{padding-bottom:1.75rem}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__art{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:1rem;row-gap:0;align-items:start}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__img{grid-column:1;grid-row:1 / span 2;aspect-ratio:1;border-radius:16px}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__img img{object-position:50% 22%}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__txt{display:contents}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__txt h3{grid-column:2;grid-row:1;margin:0 0 .4rem;font-size:1.125rem;line-height:1.3}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__date{grid-column:2;grid-row:2;margin:0}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__ex{grid-column:1 / -1;grid-row:3;margin-top:.9rem}
  .spage--magazin #inhalt[data-umbau-wissen] .wmag__item:not(.wmag__item--lead) .wmag__ex p{font-size:1rem;line-height:1.6}
}
@media (max-width:900px){
  /* Wissen-Artikel, dunkler Hinweis-Kasten: Überschrift war dunkel auf dunkel und damit unsichtbar */
  #inhalt[data-umbau-wissen="glossar"] .lx-text .lx-service--dunkel h3{color:var(--licht)}
  #inhalt[data-umbau-wissen="glossar"] .lx-text .lx-service--dunkel .lx-service__label{color:var(--on-dark-muted,#CBBAB0)}
}
@media (max-width:640px){
  /* Mediathek: Videos je Thema als Wisch-Slider (vorher zwei schmale Spalten mit zerrissenen Titeln); Hochformat-Videos bleiben nebeneinander */
  #inhalt[data-umbau-wissen] .wmed__grid:not(:has(> .wvid:only-child)):not(:has(.ffv--hoch)){display:flex;gap:.75rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}
  #inhalt[data-umbau-wissen] .wmed__grid:not(:has(> .wvid:only-child)):not(:has(.ffv--hoch))::-webkit-scrollbar{display:none}
  #inhalt[data-umbau-wissen] .wmed__grid:not(:has(> .wvid:only-child)):not(:has(.ffv--hoch)) > .wvid{flex:0 0 80%;scroll-snap-align:start}
  #inhalt[data-umbau-wissen] .wmed__cat{padding-block:2.25rem}
  #inhalt[data-umbau-wissen] .wmed__cat h2{margin-bottom:1.25rem;hyphens:manual;-webkit-hyphens:manual;overflow-wrap:normal;word-break:normal;font-size:clamp(1.3rem,6.4vw,1.6rem)}
  #inhalt[data-umbau-wissen] .wmed__intro .btn{justify-self:stretch;justify-content:center;width:100%;min-height:54px;font-size:1rem}

  /* Webinare: Anmelde-Knöpfe über die volle Breite */
  #inhalt[data-umbau-wissen] :is(.wwb__cta,.wweb__cta) > .btn{flex:1 1 100%;justify-content:center;min-height:54px;font-size:1rem}
}

/* Wissen-Artikel, dunkler Hinweis-Kasten: Überschrift auch am Desktop hell (war dunkel auf dunkel, 13.11.2026) */
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-service--dunkel h3{color:var(--licht)}
#inhalt[data-umbau-wissen="glossar"] .lx-text .lx-service--dunkel .lx-service__label{color:var(--on-dark-muted,#CBBAB0)}

/* „Kurz erklärt“ als Lexikon-Definition (Kunde 14.11.2026: „designe das besser“): keine Karte, feine Randlinie,
   Kernsatz groß und leicht in der Überschriften-Schrift, Erläuterung ruhiger mit kurzer Mokka-Linie */
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def { background: none; box-shadow: none; border-radius: 0; padding: .15rem 0 .2rem clamp(1.15rem, .8rem + 1vw, 1.75rem); border-left: 1px solid rgba(142, 107, 94, .45); }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__label { display: block; margin: 0 0 .85rem; font-size: .9375rem; font-weight: 500; font-stretch: 100%; line-height: 1.3; letter-spacing: 0; color: var(--mokka); }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__kern { margin: 0; font-size: clamp(1.1875rem, 1.08rem + .3vw, 1.3125rem); font-weight: 400; font-stretch: 100%; line-height: 1.55; letter-spacing: 0; color: var(--espresso); text-wrap: pretty; }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__kern dfn { font-style: normal; font-weight: 600; }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__text { position: relative; margin: 1.35rem 0 0; padding-top: 1.2rem; max-width: 62ch; font-size: 1rem; line-height: 1.7; color: #5A4840; text-wrap: pretty; }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__text::before { content: ""; position: absolute; top: 0; left: 0; width: 40px; height: 1px; background: var(--mokka); }
#inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-meta { margin-top: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
@media (max-width: 640px) {
  #inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__kern { font-size: 1.125rem; line-height: 1.55; }
  #inhalt[data-umbau-wissen="glossar"] .lx-hero__def .lx-def__text { font-size: .96875rem; }
}
