/*
 * Theme Name:   Cleanthinking Child
 * Theme URI:    https://cleanthinking.de
 * Description:  Child-Theme für Cleanthinking – Designsystem v2.2
 * Author:       Martin Jendrischik
 * Author URI:   https://cleanthinking.de
 * Template:     astra
 * Version:      0.2.4
 * License:      GPL-2.0-or-later
 * Text Domain:  cleanthinking-child
 */

/* =============================================================================
   wpDiscuz & Comments Area – Force Visibility
   ============================================================================= */

.comments-area {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  margin-top: 2em;
}

#wpdcom {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  opacity: 1 !important;
}

#respond {
  display: none !important;
}

/* =============================================================================
   Separator Spacing – CTA Block
   ============================================================================= */

.ct-cta-block + .wp-block-separator {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
}

/* =============================================================================
   Steady Footer Meta – Info Text (not a link)
   ============================================================================= */

.ct-steady__foot-meta--accent {
  color: #666 !important;
  font-weight: normal !important;
  text-decoration: none !important;
  cursor: default !important;
}

/* =============================================================================
   CTA Button Text – Debugging (temporary !important fixes)
   ============================================================================= */

.ct-steady__cta {
  font-size: 16px !important;
  color: #000 !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  gap: 0.5rem !important;
}

.ct-steady__cta span {
  font-size: 16px !important;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
}

.ct-steady__cta-arrow {
  display: inline !important;
}

.ct-steady__cta--featured {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.ct-steady__cta--featured span {
  color: #fff !important;
}

.ct-steady__cta::before,
.ct-steady__cta::after {
  display: none !important;
}

/* =============================================================================
   B1.10 – LOKALE SCHRIFTEN (DSGVO-konform, DS 8.5)
   Fonts liegen in assets/fonts/, kein Google-Fonts-Request
   ============================================================================= */

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter Tight';
  src: url('assets/fonts/inter-tight-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('assets/fonts/instrument-serif-400i.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/jetbrains-mono-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* =============================================================================
   B1.1 – TOKENS UND RESET
   Designsystem v2.2, Kapitel 1.1 (Farben) + 3.1 (Spacing)
   ============================================================================= */

:root {
  /* Brand */
  --ct-black:      #000000;
  --ct-blue:       #0057A3;
  --ct-green:      #00A878;
  --ct-green-deep: #006B4D;
  --ct-yellow:     #F9E06D;

  /* Flächen */
  --paper:         #F7F6F2;
  --paper-deep:    #EFEDE5;

  /* Text */
  --ink:           #0A0A0A;
  --ink-2:         #2A2A2A;
  --muted:         #6B6B6B;
  --rule:          #E3E1DA;
  --rule-color:    #E3E1DA; /* alias */
  --accent:        #00A878; /* alias for ct-green, used in patterns */

  /* Funktional */
  --ct-error:      #B0353C;
  --ct-focus-ring: #006B4D;

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-s:   1rem;
  --space-m:   1.5rem;
  --space-l:   2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(1.0625rem, 1.1vw, 1.1875rem);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Astras automatischen Post-Titel + Datum über dem Content verstecken */
.single .entry-header {
  display: none;
}

/* Single-Post-Container: 720 px (DS 4.2) */
.single .ast-container {
  max-width: 720px;
}

/* =============================================================================
   B1.2 – WEB-TYPE-SKALA (DS 2.3)
   ============================================================================= */

/* --- Fluid Heading-Klassen --- */
.h1, h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h2, h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.h3, h3 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* --- Text-Klassen --- */
.lead,
.subheading,
p.is-style-lead {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.45;
}

.body {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.0625rem, 1.1vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
}

.body p {
  line-height: 1.6;
  margin-block-end: var(--space-m);
}

.small {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
}

.caption {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.875rem;
  font-style: italic;
}

.meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.mega {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pullquote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.3;
}

/* =============================================================================
   B1.3 – ITALIC-GESTE + EYEBROW (DS 2.4 + 2.5)
   ============================================================================= */

/* Italic-Geste: grüner kursiver Akzent in Headlines (DS 2.4) */
.h1 em, h1 em,
.h2 em, h2 em,
.h3 em, h3 em,
.pullquote em {
  font-style: italic;
  color: var(--ct-green);
  font-weight: 400;
  /* Visueller Ausgleich: Instrument Serif Italic hat enges Right-Bearing */
  padding-right: 0.08em;
}

/* Eyebrow-Pattern (DS 2.5) */
.eyebrow,
.dachzeile {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ct-green-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow::before,
.dachzeile::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 2px;
  background: var(--ct-green-deep);
}

/* =============================================================================
   B1.4 – BUTTONS + LINKS (DS 5.8 + 5.12)
   ============================================================================= */

/* --- Primary Button --- */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 0 !important;
  transition: background 150ms, color 150ms, border-color 150ms;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--ct-green-deep);
  border-color: var(--ct-green-deep);
  color: var(--paper);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--ct-focus-ring);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .btn-primary.is-long {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* --- Secondary Button --- */
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 0 !important;
  transition: background 150ms, color 150ms;
  cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--ink);
  color: var(--paper);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--ct-focus-ring);
  outline-offset: 2px;
}

/* --- Text-Button --- */
.btn-text {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ct-green-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--ct-green-deep);
  padding-bottom: 2px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}

.btn-text::after {
  content: " →";
}

.btn-text:focus-visible {
  outline: 3px solid var(--ct-focus-ring);
  outline-offset: 2px;
}

/* --- Inline-Links im Fließtext (DS 5.12) --- */
.body a:not(.btn-primary):not(.btn-secondary):not(.btn-text),
.lead a:not(.btn-primary):not(.btn-secondary):not(.btn-text),
.subheading a:not(.btn-primary):not(.btn-secondary):not(.btn-text),
.entry-content a:not(.btn-primary):not(.btn-secondary):not(.btn-text) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  transition: color 120ms, text-decoration-color 120ms;
}

.body a:not(.btn-primary):not(.btn-secondary):not(.btn-text):hover,
.lead a:not(.btn-primary):not(.btn-secondary):not(.btn-text):hover,
.subheading a:not(.btn-primary):not(.btn-secondary):not(.btn-text):hover,
.entry-content a:not(.btn-primary):not(.btn-secondary):not(.btn-text):hover {
  color: var(--ct-green-deep);
  text-decoration-color: var(--ct-green-deep);
}

.body a:not(.btn-primary):not(.btn-secondary):not(.btn-text):focus-visible,
.lead a:not(.btn-primary):not(.btn-secondary):not(.btn-text):focus-visible,
.subheading a:not(.btn-primary):not(.btn-secondary):not(.btn-text):focus-visible,
.entry-content a:not(.btn-primary):not(.btn-secondary):not(.btn-text):focus-visible {
  outline: 2px solid var(--ct-focus-ring);
  outline-offset: 2px;
}

/* --- Featured Image Single Post (B5.6 / B5.7) --- */
.ct-featured-image {
  max-width: 720px;
  margin: 0 auto var(--space-l);
}
.ct-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Bilder im Fließtext --- */
.entry-content .wp-block-image img {
  width: 100%;
  height: auto;
}

/* --- Cleanthinking Highlights (B5.2) --- */
/* Standard <mark> + Gutenberg-Inline-Farbe für Gelb */
.entry-content mark,
.entry-content .has-inline-color.has-ast-global-color-8-color {
  background-color: rgba(249, 224, 109, 0.4);
  color: var(--ink);
  padding: 2px 4px;
}
/* Custom-Palette-Klassen (editor-color-palette) */
.has-ct-highlight-yellow-background-color {
  background-color: rgba(249, 224, 109, 0.4) !important;
}
.has-ct-highlight-blue-background-color {
  background-color: rgba(0, 87, 163, 0.15) !important;
}
.has-ct-highlight-red-background-color {
  background-color: rgba(176, 53, 60, 0.15) !important;
}

/* =============================================================================
   B1.5 – LISTEN + TABELLEN (DS 5.16 + 5.15)
   ============================================================================= */

/* --- Ungeordnete Liste: Em-Dash in Green-Deep (DS 5.16) --- */
.entry-content ul:not([class*="wp-block-social"]):not(.wp-block-navigation__container) {
  list-style: none;
  padding-left: 0;
  margin-block-end: var(--space-m);
}

.entry-content ul:not([class*="wp-block-social"]):not(.wp-block-navigation__container) > li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: var(--space-2xs);
  line-height: 1.6;
}

.entry-content ul:not([class*="wp-block-social"]):not(.wp-block-navigation__container) > li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ct-green-deep);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

/* --- Geordnete Liste: Mono-Nummern mit führender Null (DS 5.16) --- */
.entry-content ol {
  list-style: none;
  padding-left: 0;
  counter-reset: ct-ol;
  margin-block-end: var(--space-m);
}

.entry-content ol > li {
  counter-increment: ct-ol;
  position: relative;
  padding-left: 2.5em;
  margin-bottom: var(--space-2xs);
  line-height: 1.6;
}

.entry-content ol > li::before {
  content: counter(ct-ol, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--ct-green-deep);
  letter-spacing: 0.05em;
  line-height: 1.7;
}

/* --- Tabelle: ct-table (DS 5.15) --- */
/* Spezifität 0,2,0 – passt auf Astras > * Regel, damit Wrapper nie breiter als der Text-Container */
.entry-content .ct-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block-end: var(--space-m);
  max-width: var(--wp--custom--ast-content-width-size); /* = 750px, wird durch Container auf 720px bzw. 100% gecappt */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.ct-table {
  width: 100%;
  min-width: 480px; /* Scrollt horizontal statt zu quetschen */
  border-collapse: collapse;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(0.9375rem, 1vw, 1.0625rem);
  margin-block-end: 0; /* Abstand kommt vom ct-table-wrap */
}

.ct-table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ct-green-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: left;
  padding: var(--space-xs) var(--space-s);
  border-top: 1px solid var(--rule);
  border-bottom: 4px double var(--ink);
}

.ct-table td,
.ct-table tbody th[scope="row"] {
  padding: var(--space-xs) var(--space-s);
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
  vertical-align: top;
  text-align: left;
}

.ct-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* =============================================================================
   B1.6 – FIGURE + PULL-QUOTE (DS 5.10 + 4.6)
   ============================================================================= */

/* --- Figure: ct-figure (DS 5.10) --- */
.ct-figure {
  margin: var(--space-l) 0;
  border-top: 1px solid var(--rule);
  padding-top: var(--space-s);
}

.ct-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.ct-figure figcaption {
  padding-top: var(--space-2xs);
}

.ct-figure .caption {
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.5;
}

.ct-figure .caption-source {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: var(--space-3xs);
}

/* --- Pull-Quote: wp-block-quote + ct-pull-quote (DS 4.6) --- */
.entry-content .wp-block-quote,
.ct-pull-quote {
  border-left: none !important;
  padding: 0;
  margin: var(--space-xl) 0;
}

.entry-content .wp-block-quote::before,
.ct-pull-quote::before {
  content: "\201C";
  font-family: 'Instrument Serif', serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--ct-green);
  display: block;
  margin-bottom: var(--space-xs);
}

.entry-content .wp-block-quote p,
.ct-pull-quote p {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.3;
  font-style: italic;
  color: var(--ink);
  margin-block-end: var(--space-s);
}

.entry-content .wp-block-quote cite,
.ct-pull-quote cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ct-green-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-style: normal;
  display: block;
}

.entry-content .wp-block-quote cite::before,
.ct-pull-quote cite::before {
  content: "— ";
  color: var(--ct-green-deep);
}

/* --- Quote-Callout: ct-quote-callout (DS 4.6 Variante, ohne Cite) --- */
.ct-quote-callout {
  border-left: 4px solid var(--ct-green);
  padding: var(--space-m) var(--space-l);
  margin: var(--space-xl) 0;
  background: var(--paper-deep);
}

.ct-quote-callout p {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}

/* =============================================================================
   B1.7 – NEWSLETTER-CTA + SOURCE-LIST (DS 5.14 + 8.4)
   ============================================================================= */

/* --- Newsletter-CTA: ct-newsletter-cta (DS 5.14) --- */
.ct-newsletter-cta {
  background: var(--paper-deep);
  padding: var(--space-l);
  margin: var(--space-xl) 0;
}

.ct-newsletter-cta .eyebrow,
.ct-newsletter-cta .dachzeile {
  margin-bottom: var(--space-s);
}

.ct-newsletter-cta .lead,
.ct-newsletter-cta .subheading {
  margin-bottom: var(--space-m);
}

/* --- Source-List: ct-source-list (DS 8.4) --- */
.ct-source-list {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-m);
  margin-top: var(--space-xl);
}

.ct-source-list .eyebrow,
.ct-source-list .dachzeile {
  margin-bottom: var(--space-s);
}

.ct-source-list ol > li {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* =============================================================================
   B1.8 – ARTICLE-HEADER (DS 4.3)
   ============================================================================= */

/* Trennlinie (DS 4.3 + Briefing) */
hr.rule,
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: var(--space-l) 0;
}

/* Article-Header Wrapper für Spectra-Pattern ct/article-header (DS 4.3) */
.article-header {
  margin-bottom: var(--space-xl);
}

.article-header .eyebrow,
.article-header .dachzeile {
  margin-bottom: var(--space-m);
}

.article-header h1,
.article-header .h1 {
  margin-top: 0;
  margin-bottom: var(--space-m);
}

.article-header .lead,
.article-header .subheading {
  margin-bottom: 0;
}

/* =============================================================================
   B3a.0 – FOOTER-FARBEN (DS 11.2)
   ============================================================================= */

.site-footer,
.ast-footer-overlay {
  background-color: var(--ct-black) !important;
}

.site-footer a {
  color: var(--paper) !important;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ct-green-deep) !important;
}

.site-footer,
.site-footer p,
.site-footer .widget,
.site-footer .widget p {
  color: var(--paper) !important;
}

.ast-footer-copyright p,
.ast-small-footer p {
  color: var(--muted) !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-footer hr,
.site-footer .ast-footer-overlay {
  border-color: rgba(247, 246, 242, 0.15) !important;
}

/* Footer-Tagline Typografie (B5.3) */
.footer-tagline-line1 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.footer-tagline-line2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.125rem;
  font-style: normal;
}

/* =============================================================================
   B3a.2 – EDITORIAL RESET STRIP (DS 11.2.03)
   ============================================================================= */

.ct-reset-strip {
  background: var(--paper-deep);
  padding: var(--space-l) 0;
  width: 100%;
}

.ct-reset-strip .ct-reset-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-s);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-l);
}

.ct-reset-strip .ct-reset-claim {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
}

.ct-reset-strip .ct-reset-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ct-green-deep);
  margin-bottom: var(--space-2xs);
  margin-top: 0;
}

.ct-reset-strip .ct-reset-stats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  white-space: nowrap;
  margin: 0;
}

@media (max-width: 768px) {
  .ct-reset-strip .ct-reset-inner {
    flex-direction: column;
    text-align: center;
  }
  .ct-reset-strip .ct-reset-stats {
    white-space: normal;
  }
}

/* =============================================================================
   B3a.3 – HERO-SPLIT (DS 11.2.04)
   ============================================================================= */

.ct-hero-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-s) 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
}

.ct-hero-lead img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-m);
}

.ct-hero-lead .eyebrow,
.ct-hero-lead .dachzeile {
  margin-bottom: var(--space-xs);
}

.ct-hero-lead h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  line-height: 1.15;
}

.ct-hero-lead h2 em {
  font-style: italic;
  color: var(--ct-green);
}

.ct-hero-lead h2 a {
  color: var(--ink);
  text-decoration: none;
}

.ct-hero-lead h2 a:hover {
  color: var(--ct-green-deep);
}

.ct-hero-lead .ct-hero-teaser {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.ct-hero-lead .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
}

.ct-hero-secondary {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.ct-hero-secondary-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-m);
  align-items: start;
}

.ct-hero-secondary-item img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  display: block;
}

.ct-hero-secondary-item .eyebrow,
.ct-hero-secondary-item .dachzeile {
  margin-bottom: var(--space-3xs);
  font-size: 0.6875rem;
}

.ct-hero-secondary-item h3 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-3xs);
}

.ct-hero-secondary-item h3 a {
  color: var(--ink);
  text-decoration: none;
}

.ct-hero-secondary-item h3 a:hover {
  color: var(--ct-green-deep);
}

@media (max-width: 768px) {
  .ct-hero-split {
    grid-template-columns: 1fr;
  }
  .ct-hero-secondary-item {
    grid-template-columns: 100px 1fr;
  }
  .ct-hero-secondary-item img {
    width: 100px;
    height: 100px;
  }
}

/* =============================================================================
   B3a.4 – HEUTE WICHTIG (DS 11.2.05)
   ============================================================================= */

.ct-heute-wichtig {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-s) 0;
}

.ct-heute-wichtig-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-l);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-m);
}

.ct-heute-wichtig-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--ink);
  margin: 0;
}

.ct-heute-wichtig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.ct-heute-wichtig-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-s);
}

.ct-heute-wichtig-card .eyebrow,
.ct-heute-wichtig-card .dachzeile {
  margin-bottom: var(--space-3xs);
  font-size: 0.6875rem;
}

.ct-heute-wichtig-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.ct-heute-wichtig-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.ct-heute-wichtig-card h3 a:hover {
  color: var(--ct-green-deep);
}

.ct-heute-wichtig-card .ct-card-teaser {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .ct-heute-wichtig-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   B3c.2 – DATEN-WIDGET (DS 11.2.x)
   ============================================================================= */

.ct-daten-widget {
  background: var(--ct-yellow);
  padding: var(--space-xl) var(--space-s);
  text-align: center;
}
.ct-daten-widget-inner {
  max-width: 720px;
  margin: 0 auto;
}
.ct-daten-widget .eyebrow,
.ct-daten-widget .dachzeile {
  color: var(--ink);
}
.ct-daten-widget .eyebrow::before,
.ct-daten-widget .dachzeile::before {
  background: var(--ink);
}
.ct-daten-zahl {
  margin: var(--space-m) 0;
}
.ct-daten-number {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.ct-daten-einheit {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--ct-green-deep);
}
.ct-daten-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* =============================================================================
   B3a.5 – NEWSLETTER SECTION (DS 11.2.13)
   ============================================================================= */

.ct-newsletter-section {
  background: var(--ct-black);
  padding: var(--space-2xl) var(--space-s);
  text-align: center;
}

.ct-newsletter-section .ct-newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ct-newsletter-section .eyebrow,
.ct-newsletter-section .dachzeile {
  color: var(--ct-yellow);
}

.ct-newsletter-section .eyebrow::before,
.ct-newsletter-section .dachzeile::before {
  background: var(--ct-yellow);
}

.ct-newsletter-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--paper);
  margin: var(--space-m) 0;
  line-height: 1.2;
}

.ct-newsletter-section .btn-primary {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
  margin-top: var(--space-m);
}

.ct-newsletter-section .btn-primary:hover {
  background: var(--ct-green-deep);
  border-color: var(--ct-green-deep);
}

.ct-newsletter-section .ct-trust-signals {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: var(--space-m);
}

/* =============================================================================
   B3a.7 – BUGFIXES
   ============================================================================= */

/* Full-bleed: release container on homepage */
body.home .ast-container,
body.page-id-800 .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .entry-content,
body.page-id-800 .entry-content {
  padding: 0;
}

/* Full-bleed sections: no max-width, span full viewport */
body.page-id-800 .entry-content > .ct-reset-strip,
body.page-id-800 .entry-content > .ct-newsletter-section {
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Hero + Heute: allow up to 1200px (overrides Astra's 1080px) */
body.page-id-800 .entry-content > .ct-hero-split,
body.page-id-800 .entry-content > .ct-heute-wichtig {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

/* Remove any default page title on Startseite */
body.page-id-800 .entry-header {
  display: none;
}

/* Astra header button – no rounded corners */
.ast-custom-button,
.ast-custom-button-link,
.ast-builder-button-wrap a {
  border-radius: 0 !important;
}

/* =============================================================================
   B3b.1 – IMAGE CREDIT OVERLAY
   ============================================================================= */

.ct-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.ct-img-wrap a {
  display: block;
}

.ct-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ct-img-credit {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-family: var(--ct-font-ui);
  font-size: 10px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 5px;
  pointer-events: none;
  letter-spacing: 0.03em;
}

/* =============================================================================
   B3b.2 – HERAUSGEBER BLOCK
   ============================================================================= */

.ct-herausgeber {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-l);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.ct-herausgeber-portrait {
  width: 220px;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.ct-herausgeber-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ct-herausgeber-text .eyebrow,
.ct-herausgeber-text .dachzeile {
  margin-bottom: var(--space-s);
}

.ct-herausgeber-text blockquote {
  font-family: var(--ct-font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ct-black);
  margin: 0 0 var(--space-m) 0;
  padding: 0;
  border: none;
}

.ct-herausgeber-text blockquote::before {
  content: '\201E';
  display: block;
  font-family: var(--ct-font-serif);
  font-size: 3.5rem;
  line-height: 0.75;
  color: var(--ct-yellow);
  margin-bottom: 0.2em;
}

.ct-herausgeber-byline {
  font-family: var(--ct-font-ui);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-id-800 .entry-content > .ct-herausgeber {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 680px) {
  .ct-herausgeber {
    grid-template-columns: 1fr;
  }
  .ct-herausgeber-portrait {
    width: 140px;
    height: 140px;
  }
}

/* =============================================================================
   B3b.3 – QUOTE CARD RANDOM
   ============================================================================= */

.ct-quote-card-wrap {
  background: var(--ct-yellow);
  padding: var(--space-2xl) var(--space-l);
  width: 100%;
}

.ct-quote-card {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.ct-quote-card-portrait {
  width: 180px;
  flex-shrink: 0;
  position: relative;
}

.ct-quote-card-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.ct-quote-card-body blockquote {
  font-family: var(--ct-font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ct-black);
  margin: 0 0 var(--space-m) 0;
  padding: 0;
  border: none;
}

.ct-quote-card-body blockquote::before {
  content: '\201E';
  display: block;
  font-family: var(--ct-font-serif);
  font-size: 3.2rem;
  line-height: 0.75;
  margin-bottom: 0.2em;
}

.ct-quote-card-body .eyebrow,
.ct-quote-card-body .dachzeile {
  color: var(--ct-black);
  margin-bottom: var(--space-s);
}

.ct-quote-card-role {
  font-family: var(--ct-font-ui);
  font-size: var(--step--1);
  font-weight: 400;
  color: var(--ct-black);
  opacity: 0.65;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

body.page-id-800 .entry-content > .ct-quote-card-wrap {
  max-width: none !important;
  width: 100% !important;
  margin-top: var(--space-2xl) !important;
}

@media (max-width: 680px) {
  .ct-quote-card {
    grid-template-columns: 1fr;
  }
  .ct-quote-card-portrait {
    width: 120px;
  }
}

/* =============================================================================
   B3b.4 – KATEGORIE SEKTION
   ============================================================================= */

.ct-kategorie-sektion {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-l);
}

.ct-kategorie-sektion-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-m);
  margin-bottom: var(--space-l);
  border-bottom: 2px solid var(--ct-black);
  padding-bottom: var(--space-s);
}

.ct-kategorie-sektion-header h2 {
  font-family: var(--ct-font-ui);
  font-size: var(--step-0);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.ct-kategorie-sektion-header a.ct-alle-link {
  font-family: var(--ct-font-ui);
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  margin-left: auto;
}

.ct-kategorie-sektion-header a.ct-alle-link:hover {
  color: var(--ct-black);
}

.ct-kategorie-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-xl);
}

.ct-kategorie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-l);
}

.ct-kategorie-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-s);
}

.ct-kategorie-card .eyebrow,
.ct-kategorie-card .dachzeile {
  margin-bottom: 4px;
}

.ct-kategorie-card h3 {
  font-size: var(--step-0);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.ct-kategorie-card h3 a {
  color: var(--ct-black);
  text-decoration: none;
}

.ct-kategorie-card h3 a:hover {
  text-decoration: underline;
}

.ct-kategorie-card .meta {
  font-size: var(--step--2);
}

.ct-kategorie-sidebar {
  border-left: 1px solid var(--rule-color);
  padding-left: var(--space-l);
}

.ct-kategorie-sidebar-title {
  font-family: var(--ct-font-ui);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 var(--space-m) 0;
}

.ct-meistgelesen-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-s);
  align-items: start;
  padding: var(--space-s) 0;
  border-bottom: 1px solid var(--rule-color);
}

.ct-meistgelesen-item:last-child {
  border-bottom: none;
}

.ct-meistgelesen-num {
  font-family: var(--ct-font-mono);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ct-yellow);
  line-height: 1.3;
}

.ct-meistgelesen-item h4 {
  font-family: var(--ct-font-ui);
  font-size: var(--step--1);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.ct-meistgelesen-item h4 a {
  color: var(--ct-black);
  text-decoration: none;
}

.ct-meistgelesen-item h4 a:hover {
  text-decoration: underline;
}

body.page-id-800 .entry-content > .ct-kategorie-sektion {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 860px) {
  .ct-kategorie-inner {
    grid-template-columns: 1fr;
  }
  .ct-kategorie-sidebar {
    border-left: none;
    border-top: 1px solid var(--rule-color);
    padding-left: 0;
    padding-top: var(--space-l);
  }
}

@media (max-width: 560px) {
  .ct-kategorie-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   B4.1 – SINGLE POST TEMPLATE
   ============================================================================= */

/* Breadcrumb – override Astra styles */
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs-wrapper .ast-breadcrumbs {
  font-family: var(--ct-font-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--muted) !important;
  margin-bottom: var(--space-l) !important;
}

.ast-breadcrumbs-wrapper a,
.ast-breadcrumbs-wrapper .ast-breadcrumbs a {
  color: var(--muted) !important;
  text-decoration: none !important;
}

.ast-breadcrumbs-wrapper a:hover,
.ast-breadcrumbs-wrapper .ast-breadcrumbs a:hover {
  color: var(--ct-green-deep) !important;
}

.ast-breadcrumbs-wrapper .trail-browse,
.ast-breadcrumbs-wrapper .trail-items,
.ast-breadcrumbs-wrapper .trail-item {
  display: inline !important;
}

.ast-breadcrumbs-wrapper .trail-item + .trail-item::before {
  content: ' › ';
  color: var(--muted);
  margin: 0 0.25em;
}

/* Hide Astra default breadcrumb separator (we use CSS ::before) */
.ast-breadcrumbs-wrapper .sep {
  display: none !important;
}

/* Related Posts */
.ct-related {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--rule);
}

.ct-related-title {
  font-family: var(--ct-font-serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-l);
}

.ct-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.ct-related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-s);
}

.ct-related-card .eyebrow,
.ct-related-card .dachzeile {
  margin-bottom: 4px;
}

.ct-related-card h3 {
  font-family: var(--ct-font-serif);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 var(--space-3xs) 0;
}

.ct-related-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.ct-related-card h3 a:hover {
  color: var(--ct-green-deep);
}

.ct-related-card .meta {
  font-size: var(--step--2);
}

@media (max-width: 768px) {
  .ct-related-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide comments */
.comments-area {
  display: none;
}

/* Hide post navigation */
.ast-single-post-navigation,
.post-navigation {
  display: none;
}

/* Social share – Astra */
.ast-social-sharing {
  border-top: 1px solid var(--rule) !important;
  padding-top: var(--space-m) !important;
  margin-top: var(--space-2xl) !important;
}

/* =============================================================================
   B4.2 + B4.4 – ARCHIVE / KATEGORIE / TAG TEMPLATE
   ============================================================================= */

.ct-archive-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-l) var(--space-xl);
}

.ct-archive-eyebrow {
  font-family: var(--ct-font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ct-green-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-s);
}

.ct-archive-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--ct-green-deep);
  flex-shrink: 0;
}

.ct-archive-title {
  font-family: var(--ct-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-xs) 0;
}

.ct-archive-description {
  font-family: var(--ct-font-ui);
  font-size: 1rem;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

.ct-archive-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-l);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
}

.ct-archive-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: var(--space-s);
}

.ct-archive-card .eyebrow,
.ct-archive-card .dachzeile {
  margin-bottom: 4px;
}

.ct-archive-card h2 {
  font-family: var(--ct-font-serif);
  font-size: var(--step-1);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3xs) 0;
}

.ct-archive-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.ct-archive-card h2 a:hover {
  color: var(--ct-green-deep);
}

.ct-archive-card .ct-card-teaser {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 var(--space-3xs) 0;
}

.ct-archive-card .meta {
  font-size: var(--step--2);
}

.ct-pagination {
  max-width: 1200px;
  margin: var(--space-2xl) auto;
  padding: var(--space-m) var(--space-l);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
}

.ct-pagination a {
  font-family: var(--ct-font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ct-green-deep);
  text-decoration: none;
}

.ct-pagination a:hover {
  color: var(--ink);
}

/* Astra archive overrides: suppress default header */
.archive .ast-archive-description,
.archive .page-header {
  display: none;
}

/* Override Astra's column-width classes on archive cards so CSS Grid controls sizing */
.ct-archive-card {
  width: auto !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.archive #primary,
.category #primary,
.tag #primary {
  max-width: 100%;
  width: 100%;
}

/* Override Astra's flex layout so archive sections stack vertically */
.archive .site-content .ast-container,
.category .site-content .ast-container,
.tag .site-content .ast-container {
  flex-direction: column;
}

.archive .site-content .ast-container > *,
.category .site-content .ast-container > *,
.tag .site-content .ast-container > * {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .ct-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ct-archive-grid,
  .ct-archive-header {
    padding-left: var(--space-m);
    padding-right: var(--space-m);
  }
  .ct-archive-grid {
    grid-template-columns: 1fr;
  }
  .ct-pagination {
    padding-left: var(--space-m);
    padding-right: var(--space-m);
  }
}

/* =============================================================================
   B4.3 – PILLAR PAGE TEMPLATE
   ============================================================================= */

.pillar-page .site-content > .ast-container,
.pillar-page .ast-container {
  max-width: 880px !important;
}

/* =========================================================
   Mobile content-width fix – Cleanthinking Child Theme
   Überschreibt Astra-Core auf engeres Gutter (12px).
   Zielwert orientiert sich an mobilen News-Layouts.
   ========================================================= */
@media (max-width: 768px) {

  /* Hauptverursacher: .ast-container im Header/Content/Footer */
  .ast-container,
  .ast-container-fluid,
  #content > .ast-container,
  .ast-narrow-container .site-content > .ast-container,
  .single-post .site-content > .ast-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
  }

  /* Header-Container hat eigene Padding-Override (35px) */
  #masthead .ast-container,
  .site-header-focus-item + .ast-breadcrumbs-wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Article-Wrapper – Astra setzt hier in einigen Layouts Padding,
     hier defensiv auf 0, damit nur .ast-container das Gutter steuert */
  .ast-article-single,
  .ast-article-post,
  .ast-separate-container .ast-article-single,
  .ast-separate-container .ast-article-post,
  .ast-narrow-container .ast-article-single,
  .ast-narrow-container .ast-article-post {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* #primary / #main – auf manchen Astra-Setups kommt Padding rein */
  #primary,
  #main,
  .content-area,
  .site-main,
  .ast-separate-container #primary,
  .ast-separate-container.ast-left-sidebar #primary,
  .ast-separate-container.ast-right-sidebar #primary,
  .ast-plain-container.ast-no-sidebar #primary {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* entry-content & dessen Block-Children dürfen volle Breite ziehen */
  .entry-content,
  .entry-content[data-ast-blocks-layout] > * {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Breadcrumbs-Wrapper, falls eigene Gutter */
  .ast-breadcrumbs-wrapper,
  .ast-breadcrumbs-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* TOC */
.ct-toc {
  background: var(--paper-deep);
  padding: var(--space-l);
  margin-bottom: var(--space-2xl);
}

.ct-toc .eyebrow,
.ct-toc .dachzeile {
  margin-bottom: var(--space-s);
}

.ct-toc ol {
  list-style: none;
  counter-reset: ct-toc-counter;
  padding-left: 0;
  margin: 0;
}

.ct-toc ol li {
  counter-increment: ct-toc-counter;
  padding: var(--space-xs) 0 var(--space-xs) var(--space-l);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.ct-toc ol li:last-child {
  border-bottom: none;
}

.ct-toc ol li::before {
  content: counter(ct-toc-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--ct-font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ct-green-deep);
  line-height: 1.6;
}

.ct-toc ol li a {
  font-family: var(--ct-font-ui);
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.ct-toc ol li a:hover {
  color: var(--ct-green-deep);
}

/* Pillar H2 separators */
.pillar-page .entry-content h2 {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--rule);
}

.pillar-page .entry-content h2:first-of-type {
  border-top: none;
  margin-top: var(--space-xl);
  padding-top: 0;
}

/* =============================================================================
   B4.5 – STATIC PAGES
   ============================================================================= */

.page:not(.pillar-page) .ast-social-sharing,
.page:not(.pillar-page) .ct-related {
  display: none;
}

/* =============================================================================
   GLOBAL FIX – Header navigation: single line at 1024 px
   ============================================================================= */

/* Prevent any wrapping — nav must always stay on one line */
.main-header-menu {
  flex-wrap: nowrap !important;
}

/* Base: 14px / 10px padding — white-space nowrap prevents text breaking within items */
.main-header-menu .menu-item > a,
.main-header-menu .menu-item > .ast-menu-toggle {
  font-size: 14px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  white-space: nowrap !important;
}

/* ≤1280px: tighten further so 6 items + button + search fit at 1024px */
@media (max-width: 1280px) {
  .main-header-menu .menu-item > a,
  .main-header-menu .menu-item > .ast-menu-toggle {
    font-size: 13px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
  }
  /* Tighten header container padding */
  .main-header-bar .ast-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* =============================================================================
   PILLAR PAGE – Hide page title (entry-header) above TOC
   ============================================================================= */

.pillar-page .entry-header {
  display: none !important;
}

/* =============================================================================
   FOOTER LINKS – High-specificity override for Astra inline styles
   ============================================================================= */

.site-footer .ast-builder-layout-element a,
.site-footer .widget a,
.site-footer .ast-footer-menu a,
.site-footer .ast-footer-overlay a,
.site-footer a,
#colophon a {
  color: #F7F6F2 !important;
  text-decoration: none !important;
}

.site-footer .ast-builder-layout-element a:hover,
.site-footer .widget a:hover,
.site-footer .ast-footer-menu a:hover,
.site-footer a:hover,
#colophon a:hover {
  color: #006B4D !important;
  text-decoration: none !important;
}

/* =============================================================================
   PILLAR PAGE – Reduce excessive H2 section gap (was 170px, now ~85px)
   ============================================================================= */

.pillar-page .entry-content h2 {
  margin-top: var(--space-xl) !important;
  padding-top: var(--space-l) !important;
  border-top: 1px solid var(--rule);
}

.pillar-page .entry-content h2:first-of-type {
  border-top: none !important;
  margin-top: var(--space-l) !important;
  padding-top: 0 !important;
}

/* =============================================================================
   SINGLE POST LAYOUT – H2/H3 Spacing (designsystem-aligned)
   ============================================================================= */

.entry-content h2,
.wp-block-heading:where(h2) {
  margin-top: 56px;
  margin-bottom: 24px;
}

.entry-content h3,
.wp-block-heading:where(h3) {
  margin-top: 40px;
  margin-bottom: 16px;
}

/* =============================================================================
   RELATED POSTS – Updated: "Weiterlesen" heading + card component match
   ============================================================================= */

/* Header row: border-top + spacing, same as ct-heute-wichtig-header */
.ct-related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-l);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-m);
}

/* Title: Instrument Serif, same size as "Heute wichtig" section title */
.ct-related-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

/* Remove old top border from wrapper (now on header row) */
.ct-related {
  margin-top: var(--space-3xl);
  padding-top: 0;
  border-top: none;
}

/* =============================================================================
   B5 – MOBILE POLISH (380 px viewport)
   Alle Fixes aus dem 380-px-Audit
   ============================================================================= */

/* ── 1. Body-Schriftgröße: Astras 1rem-Override bei ≤921px zurücksetzen ──── */
/* Astra setzt body { font-size: 1rem } in @media (max-width: 921px),
   was unseren clamp(17px–19px) auf 16px reduziert. !important gewinnt. */
@media (max-width: 921px) {
  body {
    font-size: clamp(1.0625rem, 1.1vw, 1.1875rem) !important;
  }
}

/* ── 2. Newsletter-Buttons: volle Breite bei ≤480px ─────────────────────── */
/* .btn-primary.is-long hatte schon diese Regel; jetzt auch ohne Modifier     */
@media (max-width: 480px) {
  .ct-newsletter-section .btn-primary,
  .ct-newsletter-cta .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ── 3+4. Porträt-Bilder zentrieren wenn Grid zu 1 Spalte stapelt ────────── */
@media (max-width: 680px) {
  .ct-herausgeber-portrait {
    margin-left: auto;
    margin-right: auto;
  }
  .ct-quote-card-portrait {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── 5. Herausgeber + Quote-Card: Seitenabstand auf kleinen Screens ──────── */
/* Desktop: padding-left/right: var(--space-l) = 2rem = 32px.
   Bei 380px sind 32px seitlich zu eng → auf 1rem (16px) reduzieren.        */
@media (max-width: 680px) {
  .ct-herausgeber {
    padding-left: var(--space-s);
    padding-right: var(--space-s);
  }
  .ct-quote-card-wrap {
    padding-left: var(--space-s);
    padding-right: var(--space-s);
  }
}

/* ── 6. Kategorie-Sektion: Seitenabstand auf kleinen Screens ─────────────── */
@media (max-width: 600px) {
  .ct-kategorie-sektion {
    padding-left: var(--space-s);
    padding-right: var(--space-s);
  }
}

/* ── 7. Hero-Secondary-Thumbnail: bei ≤480px von 100px auf 80px ─────────── */
@media (max-width: 480px) {
  .ct-hero-secondary-item {
    grid-template-columns: 80px 1fr;
  }
  .ct-hero-secondary-item img {
    width: 80px !important;
    height: 80px !important;
  }
}

/* ── 8. Pagination: flex-wrap damit Seitenzahlen nicht überlaufen ────────── */
.ct-pagination {
  flex-wrap: wrap;
  gap: var(--space-s);
}

/* ── 9. TOC: Innenabstand auf mobilen Viewports verkleinern ─────────────── */
@media (max-width: 600px) {
  .ct-toc {
    padding: var(--space-m);
    margin-bottom: var(--space-xl);
  }
  .ct-toc ol li {
    padding-left: var(--space-m);
  }
}

/* =============================================================================
   B5.1 – MOBILE FIXES (nach visuellem 380-px-Test)
   ============================================================================= */

/* ── Fix 1: Mobile-Header-Hintergrund — Astras Header-Builder setzt zwei
   Grüntöne via --ast-global-color-0 (#006B4D) und --ast-global-color-5
   (#00A878). Beide werden auf --paper gesetzt.
   - #ast-mobile-header selbst + .ast-mobile-header-content → ID-Selektor
   - .ast-above-header-bar (Above-Header-Leiste) → ID + Klasse = 1,1,0
   Kein Media-Query nötig: #ast-mobile-header ist auf Desktop display:none. ── */
#ast-mobile-header,
#ast-mobile-header .ast-mobile-header-content {
  background-color: var(--paper) !important;
  background-image: none !important;
}
#ast-mobile-header .ast-above-header-bar,
#ast-mobile-header .ast-above-header {
  background-color: var(--paper) !important;
  background-image: none !important;
}

/* ── Fix 2: Mobile-Header-Layout — Logo links, Hamburger rechts.
   Exakter Selektor auf .ast-builder-grid-row innerhalb der Above-Header-Bar. */
#ast-mobile-header .ast-above-header-bar .ast-builder-grid-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 12px 16px !important;
}

/* ── Fix 3: Homepage-Sektionsabstände auf Mobile — var(--space-3xl) = 96px
   ist auf 380px zu groß. Auf var(--space-xl) = 48px reduzieren. ─────────── */
@media (max-width: 768px) {
  .ct-hero-split {
    padding-top: var(--space-xl);
  }
  .ct-heute-wichtig {
    padding-top: var(--space-xl);
  }
  .ct-newsletter-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}

/* =============================================================================
   B5.8 – MOBILE HEADER FIX (921px Breakpoint)
   ============================================================================= */

@media (max-width: 921px) {
  header#masthead,
  #ast-mobile-header .ast-above-header-wrap,
  #ast-mobile-header .ast-primary-header-bar,
  #ast-mobile-header .ast-above-header-bar {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #ast-mobile-header .ast-builder-grid-row {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =============================================================================
   B5.9 PRAGMATIC: Bilder bündig (Desktop). Mobile-Fix folgt morgen.
   ============================================================================= */

.entry-content .wp-block-image {
  margin-left: 165px !important;
  margin-right: 165px !important;
  max-width: 750px !important;
}

@media (max-width: 921px) {
  .entry-content .wp-block-image {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* Ads immer nach Floats - verhindert Konflikt */
.widget_advanced_ads,
.advads-ad-container,
[class*="ct-ad"] {
  clear: both;
}

/* Mobile: kein Float unter 600px */
@media (max-width: 600px) {
  .wp-block-image.alignleft,
  .wp-block-image.alignright {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--space-m) 0;
  }
}

/* =============================================================================
   C3: Wissen vertiefen
   ============================================================================= */

.ct-wissen-vertiefen {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--rule);
}

.ct-wissen-header {
  margin-bottom: var(--space-xl);
}

.ct-wissen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.ct-wissen-col-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-l) 0;
  padding-bottom: var(--space-s);
  border-bottom: 2px solid var(--ink);
}

/* === STUDIEN === */

.ct-studie-item {
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--rule);
}

.ct-studie-item:last-child {
  border-bottom: none;
}

.ct-studie-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 var(--space-2xs) 0;
}

.ct-studie-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 var(--space-s) 0;
}

/* === BÜCHER === */

.ct-buch-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.ct-buch-item:last-child {
  border-bottom: none;
}

.ct-buch-cover img {
  width: 80px;
  height: auto;
  display: block;
}

.ct-buch-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 var(--space-3xs) 0;
}

.ct-buch-autor {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0 0 var(--space-s) 0;
}

/* === MOBILE === */

@media (max-width: 768px) {
  .ct-wissen-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .ct-buch-item {
    grid-template-columns: 70px 1fr;
    gap: var(--space-s);
  }

  .ct-buch-cover img {
    width: 70px;
  }
}

/* B6.0: Featured Image Caption */
.ct-featured-caption {
    margin-top: var(--space-s);
    padding-top: var(--space-s);
    border-top: 1px solid var(--rule);
    margin-bottom: var(--space-xl);
}

.ct-featured-caption .caption {
    font-family: 'Inter Tight', sans-serif;
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--ink);
}

/* B6.1: Inline Recommendation Patterns */
.ct-lesen-auch,
.ct-tiefer-einsteigen,
.ct-buchempfehlung,
.ct-inline-newsletter {
  margin: var(--space-xl) 0;
}

.ct-lesen-auch,
.ct-buchempfehlung {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--space-l) 0;
}

.ct-tiefer-einsteigen {
  background: var(--paper-deep);
  padding: var(--space-l);
}

.ct-inline-newsletter {
  background: var(--ct-yellow);
  padding: var(--space-l);
  text-align: center;
}

.ct-inline-newsletter .eyebrow {
  color: var(--ink);
}

.ct-inline-newsletter .eyebrow::before {
  background: var(--ink);
}

.ct-buchempfehlung .wp-block-columns {
  gap: var(--space-l);
  align-items: flex-start;
}

/* B6.2 – Tags anzeigen */
.ct-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  padding-top: var(--space-l);
  border-top: 1px solid var(--rule);
}

.ct-post-tags .ct-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #2A2A2A;
  background: #fff;
  border: 1px solid #D9D5C8;
  padding: 5px 10px;
  text-decoration: none;
  transition: border-color 150ms, color 150ms;
}

.ct-post-tags .ct-tag:hover {
  border-color: var(--ct-green-deep);
  color: var(--ct-green-deep);
}

/* Override für Theme-Link-Regel (style.css Z. 377 ff., Spezifität 0,4,1) */
.entry-content .ct-post-tags .ct-tag,
.entry-content .ct-post-tags .ct-tag:hover,
.entry-content .ct-post-tags .ct-tag:focus,
.entry-content .ct-post-tags .ct-tag:focus-visible {
  color: #2A2A2A !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}
.entry-content .ct-post-tags .ct-tag:hover,
.entry-content .ct-post-tags .ct-tag:focus,
.entry-content .ct-post-tags .ct-tag:focus-visible {
  color: var(--ct-green-deep) !important;
  border-color: var(--ct-green-deep);
}

/* B6.3 – Fix 1: Italic-Geste (grüne Farbe bei em in Headlines) */
h1 em,
h1.wp-block-heading em,
h2 em,
h2.wp-block-heading em,
h3 em,
h3.wp-block-heading em,
.entry-title em,
.wp-block-heading em {
  font-style: italic !important;
  color: #00A878 !important;
  font-weight: 400;
}

/* B6.3 – Fix 2: Newsletter-CTA Editorial Split */
.ct-newsletter {
  background: #EFEDE5;
  border: 1px solid #D9D5C8;
  padding: 44px 48px;
  font-family: 'Inter Tight', system-ui, sans-serif;
  color: #000;
}

.ct-newsletter__top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.ct-newsletter__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0057A3;
}

.ct-newsletter__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 14px 0 0;
  text-wrap: balance;
}

.ct-newsletter__headline em {
  font-style: italic;
  color: #0057A3;
}

.ct-newsletter__sub {
  font-size: 15px;
  line-height: 1.55;
  color: #2A2A2A;
  margin: 16px 0 0;
  max-width: 460px;
}

.ct-newsletter__form-wrap {
  padding-top: 6px;
}

.ct-newsletter__form {
  display: flex;
  border: 1.5px solid #000;
}

.ct-newsletter__form input {
  flex: 1;
  padding: 16px 18px;
  border: none;
  background: #fff;
  font-size: 15px;
  font-family: 'Inter Tight', sans-serif;
  color: #000;
  outline: none;
}

.ct-newsletter__form button {
  padding: 0 24px;
  background: #000;
  color: #fff;
  border: none;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.ct-newsletter__topics {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ct-newsletter__topic {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #2A2A2A;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #D9D5C8;
}

.ct-newsletter__proof {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #D9D5C8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ct-newsletter__stats {
  display: flex;
  gap: 36px;
}

.ct-newsletter__stat-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.ct-newsletter__stat-label,
.ct-newsletter__finepart {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7A7A6E;
}

@media (max-width: 720px) {
  .ct-newsletter {
    padding: 32px 24px;
  }
  .ct-newsletter__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ct-newsletter__headline {
    font-size: 30px;
  }
  .ct-newsletter__stats {
    gap: 22px;
    flex-wrap: wrap;
  }
  .ct-newsletter__stat-num {
    font-size: 22px;
  }
}

/* B6.3 – Steady CTA · Tier-Ladder (vollständig, ersetzt vorherigen Rumpf) */
.ct-steady {
  background: #EFEDE5;
  border: 1px solid #D9D5C8;
  font-family: 'Inter Tight', system-ui, sans-serif;
  color: #000;
}
.ct-steady__head {
  background: #0057A3;
  color: #F7F6F2;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.ct-steady__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F9E06D;
}
.ct-steady__headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #F7F6F2;
  margin: 12px 0 0;
  max-width: 640px;
  text-wrap: balance;
}
.ct-steady__headline em {
  font-style: italic;
  color: #F9E06D;
}
.ct-steady__sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(247, 246, 242, 0.78);
  margin: 14px 0 0;
  max-width: 520px;
}
.ct-steady__finepart {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(247, 246, 242, 0.7);
  text-align: right;
  line-height: 1.6;
  padding-top: 6px;
}
.ct-steady__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ct-steady__tier {
  padding: 32px 28px 28px;
  border-right: 1px solid #D9D5C8;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ct-steady__tier:last-child { border-right: none; }
.ct-steady__tier--featured { background: #fff; }
.ct-steady__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #F9E06D;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.ct-steady__tier-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0057A3;
}
.ct-steady__price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
}
.ct-steady__price {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: #000;
  letter-spacing: -0.02em;
}
.ct-steady__currency {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: #000;
  margin-right: 4px;
}
.ct-steady__per { font-size: 13px; color: #7A7A6E; }
.ct-steady__yearly {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #7A7A6E;
  margin-top: 6px;
}
.ct-steady__perks {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #2A2A2A;
  flex: 1;
}
.ct-steady__perks li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #D9D5C8;
}
.ct-steady__perks .check { color: #00A878; font-weight: 700; }
.ct-steady__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: none;
  background: transparent;
  color: #000;
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  align-self: flex-start;
}
.ct-steady__cta--featured { background: #000; color: #fff; }
.ct-steady__cta-arrow { font-size: 16px; font-weight: 400; line-height: 1; }
.ct-steady__foot {
  padding: 14px 44px;
  border-top: 1px solid #D9D5C8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ct-steady__foot-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #7A7A6E;
}
.ct-steady__foot-meta--accent { color: #0057A3; }

/* Mobile Steady */
@media (max-width: 880px) {
  .ct-steady__head {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
  }
  .ct-steady__finepart { text-align: left; }
  .ct-steady__headline { font-size: 26px; }
  .ct-steady__tiers { grid-template-columns: 1fr; }
  .ct-steady__tier {
    border-right: none;
    border-bottom: 1px solid #D9D5C8;
  }
  .ct-steady__tier:last-child { border-bottom: none; }
  .ct-steady__foot { padding: 14px 24px; }
}

/* Steady CTA — Override für .entry-content a Link-Regel (Z. 380 ff.) */
.entry-content .ct-steady__cta,
.entry-content .ct-steady__cta:hover,
.entry-content .ct-steady__cta:focus,
.entry-content .ct-steady__cta:focus-visible {
  color: #000 !important;
  text-decoration: none !important;
}

/* === C: Community + Steady Sektion === */

/* Container */
.ct-community-social {
  border-top: 1px solid #D9D5C8;
  padding: 60px 0;
  background-color: var(--paper);
}

.ct-community-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Zwei-Spalten Layout: Facebook + LinkedIn */
.ct-community-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.ct-community-card {
  background-color: transparent;
  padding: 32px;
  border: 1px solid #D9D5C8;
  border-radius: 4px;
}

.ct-community-card .ct-community-claim {
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 0 16px 0;
  color: var(--ink);
}

.ct-community-card .ct-community-teaser {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #666;
}

/* Steady Section */
.ct-steady-section {
  border-radius: 4px;
  background-color: var(--paper-deep);
  padding: 40px;
  margin-top: 40px;
}

.ct-steady-section h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 12px 0 24px 0;
  color: var(--ink);
}

/* Steady Newsletter Cards Grid */
.ct-steady-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.ct-steady-card {
  background-color: transparent;
  padding: 24px;
  border: 1px solid #D9D5C8;
  border-radius: 4px;
}

.ct-steady-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px 0;
}

.ct-steady-card-title a {
  color: var(--ink);
  text-decoration: none;
}

.ct-steady-card-title a:hover {
  color: var(--ct-green-deep);
  text-decoration: underline;
}

.ct-steady-card-snippet {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 16px 0;
}

/* Mobile: Stacked Cards */
@media (max-width: 767px) {
  .ct-community-social {
    padding: 40px 0;
  }

  .ct-community-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .ct-steady-cards {
    grid-template-columns: 1fr;
  }

  .ct-community-card,
  .ct-steady-card {
    padding: 20px;
  }

  .ct-steady-section {
    padding: 24px;
  }
}

/* ==========================================================================
   Community-Section Pattern (ct/community-section)
   Klasse heißt absichtlich .ct-community-pattern, nicht .ct-community —
   Letzteres wird von einem Legacy-WPCode-Snippet als
   display:grid;grid-template-columns:1fr 1fr global überschrieben.
   ========================================================================== */
.ct-community-pattern {
  display: block;
}

.ct-cp-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.ct-cp-section-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ct-cp-rule {
  height: 1.5px;
  width: 32px;
  background: var(--accent);
  display: inline-block;
}

.ct-cp-rule--inline {
  width: 24px;
  background: currentColor;
}

.ct-cp-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ct-cp-tile,
.entry-content .ct-cp-tile,
.entry-content .ct-cp-tile:hover,
.entry-content .ct-cp-tile:focus {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 28px;
  min-height: 280px;
  text-decoration: none !important;
  color: #fff !important;
}

.ct-cp-tile--fb { background: var(--ct-blue); }
.ct-cp-tile--li { background: var(--ink); }

.ct-cp-tile-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  gap: 10px;
}

.ct-cp-tile-meta > span:nth-child(2) {
  flex: 1;
}

.ct-cp-tile-icon {
  width: 32px;
  height: 32px;
  fill: #fff;
  flex-shrink: 0;
}

.ct-cp-tile-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: balance;
}

.ct-cp-tile-text {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 28px;
  flex: 1;
}

.ct-cp-tile-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ct-cp-arrow {
  font-size: 18px;
}

.ct-cp-briefing {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--rule);
}

.ct-cp-briefing-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin: 0 0 8px;
}

.ct-cp-briefing-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 400;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 620px;
  text-wrap: balance;
}

.ct-cp-briefing-headline em {
  color: var(--accent);
  font-style: italic;
}

.ct-cp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.ct-cp-card,
.entry-content .ct-cp-card,
.entry-content .ct-cp-card:hover,
.entry-content .ct-cp-card:focus {
  display: flex;
  flex-direction: column;
  background: var(--paper-deep);
  padding: 28px 26px 24px;
  min-height: 280px;
  text-decoration: none !important;
  color: var(--ink) !important;
  border-top: 3px solid var(--accent);
}

.ct-cp-card-date {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 16px;
}

.ct-cp-card-headline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}

.ct-cp-card-text {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2, var(--ink));
  margin: 0 0 22px;
  flex: 1;
}

.ct-cp-card-cta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.ct-cp-button-wrap {
  text-align: center;
  margin-top: 36px;
}

.ct-cp-button,
.entry-content .ct-cp-button,
.entry-content .ct-cp-button:hover,
.entry-content .ct-cp-button:focus,
.entry-content .ct-cp-button:focus-visible {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff !important;
  padding: 16px 32px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
}

@media (max-width: 781px) {
  .ct-cp-tiles { grid-template-columns: 1fr; }
  .ct-cp-cards { grid-template-columns: 1fr; }
  .ct-cp-tile-headline { font-size: 22px; }
  .ct-cp-briefing-headline { font-size: 24px; }
}

/* Hover-Effekte — signalisieren Klickbarkeit */
.ct-cp-tile,
.ct-cp-card,
.ct-cp-button {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.ct-cp-arrow {
  transition: transform 0.22s ease;
  display: inline-block;
}

.ct-cp-tile-cta,
.ct-cp-card-cta {
  transition: border-color 0.22s ease;
}

/* Tiles: Lift + tiefer Schatten */
.ct-cp-tile:hover,
.ct-cp-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.ct-cp-tile:hover .ct-cp-arrow,
.ct-cp-tile:focus-visible .ct-cp-arrow {
  transform: translateX(5px);
}

.ct-cp-tile:hover .ct-cp-tile-cta,
.ct-cp-tile:focus-visible .ct-cp-tile-cta {
  border-top-color: rgba(255, 255, 255, 0.5);
}

/* Cards: dezenter Lift + Schatten */
.ct-cp-card:hover,
.ct-cp-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.ct-cp-card:hover .ct-cp-card-cta,
.ct-cp-card:focus-visible .ct-cp-card-cta {
  border-top-color: var(--accent);
}

/* Button: heller Hintergrund + Arrow-Shift */
.ct-cp-button:hover,
.entry-content .ct-cp-button:hover,
.ct-cp-button:focus-visible,
.entry-content .ct-cp-button:focus-visible {
  background: var(--ct-green-deep, #006B4D);
  transform: translateY(-1px);
}

.ct-cp-button:hover .ct-cp-arrow,
.ct-cp-button:focus-visible .ct-cp-arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .ct-cp-tile,
  .ct-cp-card,
  .ct-cp-button,
  .ct-cp-arrow,
  .ct-cp-tile-cta,
  .ct-cp-card-cta {
    transition: none;
  }
  .ct-cp-tile:hover,
  .ct-cp-card:hover,
  .ct-cp-button:hover {
    transform: none;
  }
}

/* Media-Text Block — alignwide auf max. 880px begrenzen */
.wp-block-media-text.alignwide {
  max-width: 880px;
}

/* Image Block — alignwide bricht aus 720px-Container auf 880px aus */
.wp-block-image.alignwide {
  max-width: 880px;
  margin-left: calc((720px - 880px) / 2);
  margin-right: calc((720px - 880px) / 2);
}

/* Entry-Title bei Single-Post leicht nach oben rücken
   (Hinweis: Astra rendert den Haupt-Titel als h1.wp-block-heading INNERHALB
   .entry-content; .entry-title trifft hier nur Related-Post-H3s. Die Regel
   bleibt für andere Templates, die einen klassischen .entry-title haben.) */
.single-post .entry-title {
  margin-top: -12px;
}

/* Eyebrow + Headline: Abstand reduzieren — H1.wp-block-heading hat
   default margin-top: 90px, was nach einem Eyebrow zu viel ist. */
.eyebrow + h1.wp-block-heading,
.eyebrow + h2.wp-block-heading {
  margin-top: 0;
}

/* =============================================================================
   MOBILE RESPONSIVE – Content Padding für Tablets und Mobile (max 768px)
   ============================================================================= */

@media (max-width: 768px) {
    .site-content,
    .entry-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Fix 1: Studien-Sektion Mobile Padding */
@media (max-width: 768px) {
    .entry-content,
    .site-content .wp-block-group,
    .site-content .wp-block-columns {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Fix 2: Doppelte Unterstreichung bei Text-Buttons */
.btn-text a,
a.btn-text {
    text-decoration: none;
}

/* ===== QA-FIXES RELAUNCH MAI 2026 ===== */

/* Fix 1: Leere Ad-Placeholder ausblenden (250px Weißraum) */
.clean-platzierung-cad-2:empty,
.clean-entity-placement:empty,
.clean-platzierung-cad-2 > div:empty {
  display: none !important;
}
.clean-platzierung-cad-2 + br,
.clean-entity-placement + br {
  display: none !important;
}

/* Fix 2: Doppelte Unterstreichung bei btn-text */
.entry-content .btn-text,
.ast-single-post .entry-content a.btn-text,
.ast-single-post .entry-content .btn-text {
  text-decoration: none !important;
  border-bottom: 2px solid var(--ct-green-deep);
}

/* Fix 3: Weißraum zwischen Nav und Content reduzieren */
#primary {
  margin-top: 0 !important;
}

/* Fix 4: Mobile Wissen-Sektion Padding */
@media (max-width: 768px) {
  .ct-wissen-vertiefen {
    padding: var(--space-xl) 0;
  }
}

/* Fix 5: Mobile Letter-Spacing Headlines */
@media (max-width: 544px) {
  h1, h2, h3,
  h1.wp-block-heading,
  h2.wp-block-heading,
  h3.wp-block-heading {
    letter-spacing: 0;
  }
}

/* Fix 6: Community-Cards border-radius entfernen */
.ct-community-card,
.ct-steady-card {
  border-radius: 0 !important;
}

/* Fix 7: AST-Global-Color-8 auf CT-Yellow mappen */
.has-ast-global-color-8-background-color {
  background-color: var(--ct-yellow) !important;
  color: var(--ink) !important;
}

/* ============================================================
   CLEANTHINKING v2.2  ·  Firmenporträt-Stile
   Anfügen ans Ende der Child-Theme style.css
   Annahme: Inter Tight, Instrument Serif und JetBrains Mono
   sind global per @font-face oder Google Fonts eingebunden.
   ============================================================ */

:root {
  --ct-paper: #F7F6F2;
  --ct-paper-warm: #f5f0e8;
  --ct-ink: #1a1a1a;
  --ct-grey-60: #666666;
  --ct-grey-40: #999999;
  --ct-border: #d4d0c8;
  --ct-green: #00A878;
  --ct-green-deep: #006B4D;
  --ct-serif: "Instrument Serif", Georgia, serif;
  --ct-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --ct-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- 1. Breadcrumb ---------- */
.ct-breadcrumb {
  font-family: var(--ct-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 32px;
}
.ct-breadcrumb a { color: var(--ct-grey-40); text-decoration: none; }
.ct-breadcrumb a:hover { color: var(--ct-green-deep); }
.ct-breadcrumb .sep { margin: 0 6px; }

/* ---------- 2. Eyebrow ---------- */
.ct-eyebrow {
  font-family: var(--ct-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ct-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--ct-green);
}

/* ---------- 3. Tagline (unter H1) ---------- */
.ct-tagline {
  font-family: var(--ct-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ct-grey-60);
  margin: 0 0 32px;
}

/* ---------- 4. Hero-Bild ---------- */
.ct-hero { margin: 0 0 32px; }
.ct-hero img { width: 100%; height: auto; display: block; }
.ct-hero figcaption {
  border-top: 1px solid var(--ct-border);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-hero .ct-caption-text {
  font-family: var(--ct-sans);
  font-style: italic;
  font-size: 14px;
  color: var(--ct-ink);
}
.ct-hero .ct-caption-source {
  font-family: var(--ct-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
}

/* ---------- 5. Intro-Absatz ---------- */
.ct-intro {
  font-family: var(--ct-serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ct-ink);
  margin: 0 0 2rem;
}

/* ---------- 6. Steckbrief ---------- */
.ct-steckbrief {
  background: var(--ct-paper-warm);
  border: 1px solid var(--ct-border);
  padding: 2rem 1.5rem;
  margin: 0 0 48px;
}
.ct-steckbrief__label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 20px;
}
.ct-steckbrief__hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ct-border);
  margin-bottom: 20px;
}
.ct-steckbrief__cell .lbl {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 6px;
}
.ct-steckbrief__cell .val {
  font-family: var(--ct-serif);
  font-size: 24px;
  line-height: 1.15;
  color: var(--ct-ink);
  margin: 0;
}
.ct-steckbrief__cell .val--name { font-size: 20px; }
.ct-steckbrief__cell .val small {
  display: block;
  font-family: var(--ct-sans);
  font-size: 13px;
  color: var(--ct-grey-60);
  margin-top: 2px;
}
.ct-steckbrief__table { width: 100%; border-collapse: collapse; }
.ct-steckbrief__table tr { border-bottom: 1px solid var(--ct-border); }
.ct-steckbrief__table tr:last-child { border-bottom: 0; }
.ct-steckbrief__table th {
  font-family: var(--ct-mono);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  text-align: left;
  padding: 12px 16px 12px 0;
  width: 40%;
  vertical-align: top;
}
.ct-steckbrief__table td {
  font-family: var(--ct-sans);
  font-size: 15px;
  color: var(--ct-ink);
  padding: 12px 0;
  vertical-align: top;
}
.ct-steckbrief__table td a {
  color: var(--ct-green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ct-green-deep);
}
.ct-steckbrief__table td .arrow { margin-left: 4px; }

/* ---------- 7. Inline-TOC ---------- */
.ct-toc {
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
  padding: 16px 0 16px 1.5rem;
  margin: 0 0 48px;
}
.ct-toc__label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 8px;
}
.ct-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ct-toc__list a {
  font-family: var(--ct-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green-deep);
  text-decoration: none;
}
.ct-toc__list a:hover { color: var(--ct-ink); }

/* ---------- 8. Glulam-Diagramm ---------- */
.ct-glulam {
  background: var(--ct-paper-warm);
  border: 1px solid var(--ct-border);
  padding: 24px;
  margin: 32px 0;
}
.ct-glulam__label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 16px;
}
.ct-glulam__svg { width: 100%; height: auto; display: block; }
.ct-glulam__steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ct-glulam__steps li {
  font-family: var(--ct-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ct-ink);
}
.ct-glulam__steps b {
  display: block;
  font-family: var(--ct-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin-bottom: 4px;
}

/* ---------- 9. Timeline (horizontal, full-bleed) ---------- */
.ct-timeline-hint {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 24px;
}
.ct-timeline-rail {
  position: relative;
  width: 100%;
  left: auto;
  margin-left: 0;
}
.ct-timeline {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem 16px 1.5rem;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ct-border) transparent;
}
.ct-timeline::-webkit-scrollbar { height: 6px; }
.ct-timeline::-webkit-scrollbar-thumb { background: var(--ct-border); }
.ct-timeline li {
  position: relative;
  flex: 0 0 220px;
  padding: 44px 28px 8px 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}
.ct-timeline li::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 18px;
  height: 1px;
  background: var(--ct-border);
}
.ct-timeline li:last-child::after { right: auto; width: 12px; }
.ct-timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 12px; height: 12px;
  background: var(--ct-paper);
  border: 2px solid var(--ct-green);
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 1;
}
.ct-timeline li.is-current::before { background: var(--ct-green); }
.ct-timeline__date {
  font-family: var(--ct-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-timeline__title {
  font-family: var(--ct-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ct-ink);
  margin: 0;
}
.ct-timeline__title a {
  color: var(--ct-green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ct-green-deep);
}
.ct-badge-neu {
  background: var(--ct-green);
  color: #ffffff;
  font-family: var(--ct-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 2px 8px;
  line-height: 1.4;
}

/* ---------- 10. FAQ ---------- */
.ct-faq__item {
  border-top: 1px solid var(--ct-border);
  padding: 20px 0;
}
.ct-faq__item:last-child { border-bottom: 1px solid var(--ct-border); }
.ct-faq__q {
  font-family: var(--ct-serif);
  font-size: 1.1rem;
  color: var(--ct-ink);
  margin: 0 0 8px;
}
.ct-faq__a {
  font-family: var(--ct-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ct-ink);
  margin: 0;
}

/* ---------- 11. Verwandte Porträts ---------- */
.ct-related {
  background: var(--ct-paper-warm);
  border: 1px solid var(--ct-border);
  padding: 1.5rem;
  margin: 48px 0;
}
.ct-related__label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 16px;
}
.ct-related__list { list-style: none; padding: 0; margin: 0; }
.ct-related__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--ct-border);
}
.ct-related__list li:first-child { border-top: 0; }
.ct-related__tag {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  flex: 0 0 110px;
}
.ct-related__list a {
  font-family: var(--ct-sans);
  font-size: 15px;
  color: var(--ct-green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ct-green-deep);
}
.ct-related__soon {
  font-family: var(--ct-sans);
  font-size: 15px;
  color: var(--ct-grey-40);
  font-style: italic;
}
.ct-related__soon::after {
  content: " (in Vorbereitung)";
  font-style: normal;
  font-size: 12px;
}

/* ---------- 12. CTA-Box ---------- */
.ct-cta {
  background: var(--ct-paper-warm);
  border-top: 4px solid var(--ct-green);
  padding: 2rem 1.5rem;
  margin: 48px 0;
}
.ct-cta__label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 12px;
}
.ct-cta__text {
  font-family: var(--ct-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ct-ink);
  margin: 0 0 20px;
}
.ct-cta__btn {
  display: inline-block;
  background: var(--ct-green-deep);
  color: #ffffff;
  font-family: var(--ct-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 28px;
  text-decoration: none;
}
.ct-cta__btn:hover { background: var(--ct-ink); color: #ffffff; }

/* ---------- 13. Footer-Meta ---------- */
.ct-meta-footer {
  border-top: 1px solid var(--ct-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.ct-meta-footer__line {
  font-family: var(--ct-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  margin: 0 0 8px;
}
.ct-meta-footer__author {
  font-family: var(--ct-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ct-ink);
  margin: 0;
}

/* ---------- 14. Kennziffern-Block (aus News-Satellit) ---------- */
.ct-kennziffern {
  background: var(--ct-paper-warm);
  border: 1px solid var(--ct-border);
  padding: 2rem 1.5rem;
  margin: 32px 0;
}
.ct-kennziffer-zahl {
  font-family: var(--ct-serif);
  font-size: 2.4rem;
  line-height: 1.05;
  color: var(--ct-ink);
  margin: 0 0 6px;
}
.ct-kennziffer-label {
  font-family: var(--ct-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-green);
  margin: 0 0 4px;
}
.ct-kennziffer-kontext {
  font-family: var(--ct-sans);
  font-size: 13px;
  color: var(--ct-grey-60);
  margin: 0;
}

/* ---------- 15. Kontext-Link (Inline-Querverweis) ---------- */
.ct-kontext-link {
  font-family: var(--ct-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ct-grey-40);
  border-left: 2px solid var(--ct-green);
  padding: 4px 0 4px 12px;
  margin: 24px 0;
}
.ct-kontext-link a {
  color: var(--ct-green-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ct-green-deep);
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--ct-sans);
}

/* ---------- 16. Lead-Absatz (für News-Satellit) ---------- */
.lead {
  font-family: var(--ct-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ct-ink);
  margin: 0 0 24px;
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 768px) {
  .ct-steckbrief__hero { grid-template-columns: 1fr; gap: 16px; }
  .ct-kennziffern .wp-block-columns { flex-direction: column; }
  .ct-kennziffern .wp-block-column { flex-basis: 100% !important; }
  .ct-glulam__steps { grid-template-columns: 1fr; }
  .ct-related__list li { flex-direction: column; gap: 4px; }
  .ct-related__tag { flex: none; }

  .ct-timeline-rail { width: auto; left: auto; margin-left: 0; }
  .ct-timeline {
    display: block;
    overflow: visible;
    padding: 0;
    position: relative;
    scroll-snap-type: none;
  }
  .ct-timeline::before {
    content: "";
    position: absolute;
    left: 5.5px; top: 6px; bottom: 6px;
    width: 1px;
    background: var(--ct-border);
  }
  .ct-timeline li {
    flex: none;
    width: auto;
    padding: 0 0 28px 32px;
    scroll-snap-align: none;
  }
  .ct-timeline li:last-child { padding-bottom: 0; }
  .ct-timeline li::after { display: none; }
  .ct-timeline li::before { left: 0; top: 4px; }
}

/* ---------- Fix: CTA-Button Styling ---------- */
.ct-cta__btn,
.entry-content .ct-cta__btn,
.ast-single-post .entry-content a.ct-cta__btn {
  text-decoration: none !important;
  border-radius: 0 !important;
}

/* ---------- Fix: Timeline links ausrichten ---------- */
.ct-timeline {
  padding-left: 1.5rem !important;
  padding-right: 24px;
}

/* ---------- Fix: Timeline-Nummern ausblenden ---------- */
.ct-timeline li {
  list-style: none !important;
}
.ct-timeline li::marker {
  display: none !important;
}
