/* ============================================================
   GE — BLOG / NEWS
   Baut auf styles.css (Brand) + homepage.css (.home Nav, .reveal)
   Beitragsbilder kommen aus dem CMS und dürfen fehlen: dann trägt
   die Fläche das Markenmuster (.brand-fill / .brand-fill-hero aus
   styles.css). Deshalb setzt hier keine Bildfläche mehr einen
   eigenen Hintergrund, der das Muster überdecken würde.
   ============================================================ */

.bl-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: clamp(150px, 22vh, 240px) 0 clamp(48px, 7vh, 88px);
}
.bl-hero .inner { position: relative; z-index: 2; }
.bl-hero .crumb { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; display: flex; gap: 12px; }
.bl-hero .crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.bl-hero .crumb a:hover { color: var(--c-primary); }
.bl-hero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 11vw, 184px); line-height: .84; letter-spacing: -.02em; margin: 0; }
.bl-hero h1 .y { color: var(--c-primary); }
.bl-hero p { margin: 26px 0 0; max-width: 54ch; font-size: clamp(17px,1.5vw,21px); color: rgba(255,255,255,.78); }

/* ============ FEATURED ============ */
.bl-feat-sec { background: #0A0A0B; padding: clamp(56px,7vw,96px) 0 clamp(40px,5vw,64px); }
.bl-feat {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  background: #151719; text-decoration: none; color: #fff;
}
.bl-feat .media { position: relative; min-height: 380px; overflow: hidden; }
.bl-feat .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out, ease); }
.bl-feat:hover .media img { transform: scale(1.05); }
.bl-feat .media .tag { position: absolute; top: 18px; left: 18px; }
.bl-feat .media .chev { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(135deg, var(--c-primary) 0 16px, #000 16px 32px); }
.bl-feat .tag { background: var(--c-primary); color: #000; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 13px; border-radius: 2px; }
.bl-feat .body { padding: clamp(32px,4vw,60px); display: flex; flex-direction: column; justify-content: center; }
.bl-feat .meta { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); display: flex; gap: 14px; align-items: center; }
.bl-feat .meta .date { color: rgba(255,255,255,.5); }
.bl-feat h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px,3.4vw,52px); line-height: .94; letter-spacing: -.01em; margin: 18px 0 0; }
.bl-feat .excerpt { margin: 18px 0 0; color: rgba(255,255,255,.7); font-size: 16px; max-width: 46ch; }
.bl-feat .more { margin-top: 26px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.bl-feat .more svg { width: 18px; height: 12px; transition: transform .25s; }
.bl-feat:hover .more { color: var(--c-primary); }
.bl-feat:hover .more svg { transform: translateX(5px); }

/* Ohne Beitragsbild: einspaltige, typografische Karte auf der Markenfläche —
   gleiche Mindesthöhe, damit der Aufmacher nicht zusammenfällt. */
.bl-feat.no-media { grid-template-columns: 1fr; min-height: 380px; }
.bl-feat.no-media .body { padding-block: clamp(44px,5.5vw,76px); }
.bl-feat.no-media .body .tag { align-self: flex-start; margin-bottom: 22px; }
.bl-feat.no-media h2 { font-size: clamp(32px,4.4vw,64px); }
.bl-feat.no-media .excerpt { max-width: 60ch; font-size: 17px; }
.bl-feat.no-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(135deg, var(--c-primary) 0 16px, #000 16px 32px); }
@media (max-width: 820px) { .bl-feat { grid-template-columns: 1fr; } .bl-feat .media { min-height: 260px; } .bl-feat.no-media { min-height: 300px; } }

/* ============ FILTER ============ */
.bl-filter { position: sticky; top: 70px; z-index: 30; background: rgba(10,10,11,.92); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.bl-filter .row { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.bl-filter .row::-webkit-scrollbar { display: none; }
.bl-chip { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); background: none; cursor: pointer; padding: 9px 17px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; white-space: nowrap; transition: all .2s; }
.bl-chip:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.bl-chip.active { background: var(--c-primary); color: #000; border-color: var(--c-primary); }

/* ============ GRID ============ */
.bl-grid-sec { background: #0A0A0B; padding: clamp(48px,6vw,80px) 0 clamp(72px,9vw,120px); }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .bl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .bl-grid { grid-template-columns: 1fr; } }

/* Die .bl-card-Regeln stehen jetzt in site.css: Die Karte wird auch auf
   der Startseite verwendet (News-Abschnitt), und die laedt blog.css nicht.
   Ein gemeinsamer Baustein darf nicht am Stylesheet EINER Seite haengen —
   derselbe Fehler wie zuvor beim Bewerbungsformular. */

.bl-empty { text-align: center; color: rgba(255,255,255,.5); font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 60px 0; display: none; }
.bl-empty.show { display: block; }

/* ============ NOCH KEINE BEITRÄGE ============
   Greift, solange im CMS kein Beitrag gepflegt ist: kurzer Hinweis
   statt Aufmacher/Filterleiste, dazu der direkte Kontaktweg. */
.bl-none { background: #151719; color: #fff; padding: clamp(56px,8vw,104px) 0 clamp(72px,9vw,120px); }
.bl-none .eyebrow { color: var(--c-primary); }
.bl-none h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px,5vw,72px); line-height: .9; letter-spacing: -.02em; margin: 20px 0 0; }
.bl-none h2 .y { color: var(--c-primary); }
.bl-none p { margin: 22px 0 0; max-width: 58ch; color: rgba(255,255,255,.72); font-size: clamp(16px,1.4vw,19px); }
.bl-none .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.bl-none .cta .btn svg { width: 18px; height: 12px; flex: none; }

/* Hier standen elf Regeln fuer den Newsletter-Abschnitt (.bl-news). Entfernt
   am 01.10.2026 zusammen mit dem Abschnitt selbst — es gibt keinen Newsletter. */

/* ============ BEITRAG (Detailseite + CMS-Live-Vorschau) ============ */
.article { background: #0A0A0B; color: #fff; }
.article-hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: var(--hero-min);
  padding: clamp(140px,20vh,220px) 0 clamp(40px,6vh,72px);
}
.article-hero .bg { position: absolute; inset: 0; z-index: 0; }
.article-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.article-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.45) 40%, rgba(10,10,11,.96) 100%); }
.article-hero .inner { position: relative; z-index: 2; }
.article-hero .crumb { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.article-hero .crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.article-hero .crumb a:hover { color: var(--c-primary); }
.article-hero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(34px,6vw,88px); line-height: .9; letter-spacing: -.02em; margin: 16px 0 0; max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.article-meta .cat { background: var(--c-primary); color: #000; padding: 6px 12px; border-radius: 2px; }
.article-meta time { color: rgba(255,255,255,.55); }

.article-body { max-width: 860px; padding-top: clamp(40px,6vw,72px); padding-bottom: clamp(56px,7vw,96px); color: rgba(255,255,255,.78); font-size: 17.5px; line-height: 1.7; }
.article-body .lead-in { font-size: clamp(19px,2vw,24px); line-height: 1.5; color: #fff; margin: 0 0 32px; padding-left: 20px; border-left: 3px solid var(--c-primary); }
.article-body h2 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px,3vw,40px); line-height: .98; letter-spacing: -.01em; color: #fff; margin: 44px 0 14px; }
.article-body h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(20px,2.2vw,27px); line-height: 1; color: #fff; margin: 34px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin: 0 0 9px; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 24px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 15px; height: 15px; background: var(--c-primary);
  -webkit-mask: var(--marker-haken) center / contain no-repeat;
  mask: var(--marker-haken) center / contain no-repeat;
}
.article-body strong { color: #fff; }
/* Nur Links aus dem Fließtext einfärben, nicht alles im Artikelbereich.
   lexicalToHtml erzeugt Textlinks OHNE Klasse (content.ts), Knöpfe und die
   Teilen-Leiste tragen dagegen immer eine. Ohne diese Einschränkung schlug
   die Regel (0,1,1) den Knopf .btn-primary (0,1,0) — gelbe Schrift auf
   gelbem Grund, und die Teilen-Symbole wurden gelb und unterstrichen. */
.article-body a:not([class]) { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:not([class]):hover { color: var(--c-primary-hover); }

.article-foot { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.article-foot .btn svg { width: 18px; height: 12px; flex: none; }
