/* ==========================================================================
   Wissen: Übersicht /wissen und Artikel /wissen/<slug>/
   Baut auf basis.css auf (nicht verändern), nur seiteneigene Bausteine.
   ========================================================================== */

/* ---------- Übersicht: Hero ---------- */
.whero { position: relative; padding: 160px 0 clamp(72px, 9vw, 120px); background: var(--raum); overflow: hidden; isolation: isolate; }
.whero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; background: linear-gradient(transparent, rgba(7, 10, 15, .6)); }
.whero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.whero__txt { display: grid; gap: 24px; justify-items: start; }
.whero__txt .lead { max-width: 54ch; }
.whero h1 { font-size: clamp(36px, 4.2vw, 60px); }
.whero__bild { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4;
  box-shadow: 0 0 0 1px rgba(227, 196, 106, .22), 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(201, 162, 39, .4); }
.whero__bild picture, .whero__bild img { display: block; width: 100%; height: 100%; }
.whero__bild img { object-fit: cover; object-position: center 30%; }
.whero__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(7, 10, 15, .45)); pointer-events: none; }

/* ---------- Karten-Grundform (Gratis + Beiträge) ---------- */
.karte__kat { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-lo); }

.gratis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gkarte, .karte {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line-d), 0 26px 60px -40px rgba(11, 18, 32, .5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.gkarte:hover, .karte:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(201, 162, 39, .5), 0 36px 70px -40px rgba(11, 18, 32, .6); }
.gkarte__bild, .karte__bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.gkarte__bild img, .karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gkarte:hover img, .karte:hover img { transform: scale(1.05); }
/* Buchcover (freigestellt) auf Raum-Fläche statt beschnitten */
.gkarte__bild:not(.gkarte__bild--dunkel) { background: var(--raum); }
.gkarte__bild:not(.gkarte__bild--dunkel) img { object-fit: contain; padding: 22px 10%; }
.gkarte__in, .karte__in { display: grid; gap: 12px; align-content: start; padding: 26px; flex: 1; }
.gkarte h3, .karte h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.22; }
.gkarte p, .karte p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-d); }
.gkarte__m { margin-top: 4px; font-weight: 600; font-size: 15px; color: var(--gold-lo); }
.gkarte:hover .gkarte__m { color: var(--ink); }

/* Erste Karte (Neu) über die ganze Breite: Bild links, Text rechts */
.gkarte--breit { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.gkarte--breit .gkarte__bild { aspect-ratio: auto; min-height: 340px; }
.gkarte--breit .gkarte__bild img { position: absolute; inset: 0; object-position: center 35%; }
.gkarte--breit .gkarte__in { padding: clamp(28px, 3.4vw, 48px); align-content: center; gap: 16px; }
.gkarte--breit h3 { font-size: clamp(24px, 2.4vw, 32px); }
.gkarte--breit p { font-size: 16px; }

.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.karte__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-d);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
.karte__in { grid-template-rows: auto auto 1fr auto; }

/* ---------- Trustmarkt-Siegel (wie live, im neuen Fuß-Ton) ---------- */
.tmsiegel { background: var(--n-950); padding: 44px 0 10px; border-top: 1px solid var(--line); }
.tmsiegel__in { width: min(var(--wrap), 100% - 48px); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tmsiegel .trustmarkt-widget { background: #fff; border-radius: 10px; overflow: hidden; }
.tmsiegel__t { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: center; }
.tmsiegel + .fuss { border-top: 0; }

/* ---------- Artikel: Raum-Hero ---------- */
.ahero { position: relative; padding: 168px 0 clamp(150px, 16vw, 220px); background: var(--raum); overflow: hidden; isolation: isolate; text-align: center; }
.ahero::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201, 162, 39, .13), transparent 62%); z-index: -1; pointer-events: none; }
.ahero__in { display: grid; justify-items: center; gap: 22px; max-width: 980px; }
.ahero__titel { font-size: clamp(34px, 5vw, 64px); line-height: 1.06; text-wrap: balance; }
.ahero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ahero__meta span:not(:last-child)::after { content: "·"; margin: 0 14px; color: var(--gold); }
.zurueck { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: 0 0 0 1px var(--line) inset; transition: color .2s, background .2s; }
.zurueck:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Artikel: helle Lesefläche ---------- */
.artikel { padding-bottom: clamp(80px, 9vw, 130px); }
.artikel__bild { width: min(1040px, 100% - 48px); margin: calc(-1 * clamp(110px, 12vw, 170px)) auto 0; position: relative; z-index: 1;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8.4; background: var(--n-800);
  box-shadow: 0 0 0 1px rgba(227, 196, 106, .25), 0 50px 100px -40px rgba(7, 10, 15, .75); }
.artikel__bild img { width: 100%; height: 100%; object-fit: cover; }
.artikel__spalte { width: min(720px, 100% - 48px); margin: clamp(48px, 6vw, 72px) auto 0; }

.bildung { margin: 0 0 clamp(40px, 5vw, 56px); padding: 18px 20px; border-radius: 12px; background: var(--paper-2); border-left: 3px solid var(--gold);
  font-size: 14px; line-height: 1.6; color: var(--muted-d); }
.bildung__mark { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lo); }

.inhalt { font-size: 18.5px; line-height: 1.8; color: #2b3445; }
.inhalt > :first-child { margin-top: 0; }
.inhalt p { margin: 0 0 1.25em; }
.inhalt h2 { position: relative; margin: 2.3em 0 .7em; padding-top: 22px; font-size: clamp(26px, 2.7vw, 34px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.inhalt h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-hi), var(--gold)); }
.inhalt h2:first-child { padding-top: 0; }
.inhalt h2:first-child::before { display: none; }
.inhalt h3 { margin: 1.8em 0 .55em; font-size: clamp(20px, 1.9vw, 23px); line-height: 1.25; letter-spacing: -.018em; color: var(--ink); }
.inhalt h2 + h3 { margin-top: .8em; }
.inhalt strong { color: var(--ink); font-weight: 650; }
.inhalt em { font-style: italic; }
.inhalt a { color: var(--gold-lo); text-decoration: underline; text-underline-offset: 3px; }
.inhalt ul, .inhalt ol { margin: 0 0 1.4em; padding: 0; list-style: none; display: grid; gap: .7em; }
.inhalt li { position: relative; padding-left: 30px; }
.inhalt ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, .16); }
.inhalt ol { counter-reset: n; }
.inhalt ol li { counter-increment: n; }
.inhalt ol li::before { content: counter(n) "."; position: absolute; left: 0; font-family: var(--mono); font-size: .8em; color: var(--gold-lo); top: .15em; }
.inhalt blockquote {
  position: relative; margin: 1.8em 0; padding: 30px 32px 30px 36px; border-radius: 16px; background: var(--raum); color: #fff;
  font-size: clamp(21px, 2.1vw, 26px); font-weight: 650; line-height: 1.35; letter-spacing: -.02em;
  box-shadow: var(--glow);
}
.inhalt blockquote::before { content: "“"; position: absolute; right: 22px; top: -6px; font-size: 96px; line-height: 1; font-weight: 700; color: var(--gold-hi); opacity: .35; }

.risiko { margin: clamp(40px, 5vw, 56px) 0 0; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 13px; line-height: 1.6; color: var(--muted-d); }
.zurueck--hell { margin-top: 28px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line-d) inset, 0 6px 18px -10px rgba(11, 18, 32, .2); }
.zurueck--hell:hover { color: var(--ink); background: var(--paper-2); }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .whero__grid { grid-template-columns: 1fr; }
  .whero__bild { max-width: 640px; }
  .karten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .gratis, .karten { grid-template-columns: 1fr; }
  .gkarte--breit { grid-template-columns: 1fr; }
  .gkarte--breit .gkarte__bild { min-height: 0; aspect-ratio: 16 / 9; }
  .gkarte--breit .gkarte__bild img { position: static; }
}
@media (max-width: 680px) {
  .whero { padding-top: 120px; }
  .ahero { padding-top: 124px; }
  .ahero__meta { font-size: 11px; }
  .ahero__meta span:not(:last-child)::after { margin: 0 9px; }
  .artikel__bild { aspect-ratio: 4 / 3; }
  .inhalt { font-size: 17px; line-height: 1.75; }
  .inhalt blockquote { padding: 24px 22px; }
  .gkarte__in, .karte__in { padding: 22px; }
}
