/* ============================================================
   RASPL MANAGEMENT — Design System
   Shared stylesheet for all pages
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ===== VARIABLES ===== */
:root {
  --bg:       #eceaed;
  --bg-alt:   #e3e0e5;
  --text:     #383838;
  --text-light: #555;
  --text-muted: #777;
  --accent1:  #124361;   /* dark navy — headings, dividers */
  --accent2:  #25628a;   /* mid blue — buttons, active nav, secondary */
  --accent3:  #be129d;   /* magenta — links, accents, dots */
  /* Aliases for legacy references used by scroll-top, legal & about pages */
  --accent:   var(--accent1);
  --cta:      var(--accent2);
  --white:    #ffffff;
  --border:   #d2cdd4;
  --card-shadow: 0 2px 12px rgba(18, 67, 97, 0.08);

  /* Webfonts are loaded from Bunny Fonts (privacy-friendly, no Google).
     Robust system fallbacks ensure readable text if the CDN is unavailable. */
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Istok Web', 'Segoe UI', Candara, 'Trebuchet MS', Verdana, sans-serif;
  --max-width: 960px;
  --section-v-pad: 64px;
}

/* ===== BASE ===== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent3); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--accent1);
}
h1 { font-size: 44px; }
h2 { font-size: 37px; }
h3 { font-size: 31px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 18px; }

p + p { margin-top: 16px; }

/* ===== LAYOUT CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   A. TOPBAR
   ============================================================ */
.topbar {
  background: var(--accent1);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topbar a { color: rgba(255,255,255,0.85); font-weight: 500; }
.topbar a:hover { color: var(--white); text-decoration: none; }
.topbar__cta a {
  background: var(--accent2);
  color: var(--white);
  padding: 5px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .2s;
}
.topbar__cta a:hover { background: var(--accent3); }

/* ============================================================
   B. NAVBAR
   ============================================================ */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(37, 98, 138, 0.1);
  color: var(--accent2);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 22px;
  position: relative;
  z-index: 110;
  margin-left: auto;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
  position: absolute;
  left: 0;
}
.nav-toggle span { top: 10px; }
.nav-toggle span::before { content: ''; top: -8px; }
.nav-toggle span::after  { content: ''; top: 8px; }
.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.active span::after  { transform: rotate(-45deg); top: 0; }

.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 99;
}
.nav-overlay.open { display: block; }

/* ============================================================
   C. HERO — LANDING PAGE
   ============================================================ */
.hero-landing {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-landing__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 36% 8%;
  z-index: 0;
}
.hero-landing__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(236, 234, 237, 0.2);
  z-index: 1;
}
.hero-landing__inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  justify-content: flex-end;
}
.hero-landing__card {
  background: rgba(236, 234, 237, 0.12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 24px;
  padding: 40px 44px 36px;
  max-width: 560px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(18, 67, 97, 0.08);
}
.hero-landing__card h1 {
  font-size: 38px;
  margin-bottom: 92px;
  line-height: 1.2;
  text-align: center;
}
.hero-landing__name {
  font-family: var(--font-heading);
  font-size: 38px;
  color: var(--accent1);
  text-align: right;
  margin: 0 0 -2px 0;
  padding: 0;
  line-height: 1.2;
}
.hero-landing__divider {
  height: 2px;
  background: var(--accent1);
  margin-left: 35%;
  margin-top: 0;
  margin-bottom: 12px;
}
.hero-landing__subtitle {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent2);
  text-align: right;
  line-height: 1.4;
}

/* ============================================================
   D. PAGE HEADER — SUBPAGES
   ============================================================ */
.page-header {
  padding: 48px 24px 40px;
  text-align: center;
  border-bottom: 2px solid var(--accent1);
}
.page-header .container { max-width: 720px; }
.page-header h1 {
  margin-bottom: 16px;
  font-size: 38px;
}
.page-header .lead {
  color: var(--accent2);
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
}

/* ============================================================
   E. SECTION
   ============================================================ */
.section {
  padding: var(--section-v-pad) 0;
}
.section--alt {
  background: var(--bg-alt);
}

/* ============================================================
   F. TAGLINE
   ============================================================ */
.tagline {
  text-align: center;
  padding: var(--section-v-pad) 0 32px;
}
.tagline h3 {
  font-size: 28px;
  letter-spacing: 0.01em;
}
.tagline .dot {
  color: var(--accent3);
  font-weight: 700;
  margin: 0 4px;
}

/* ============================================================
   G. PROSE
   ============================================================ */
.prose {
  line-height: 1.7;
  max-width: 720px;
}
.prose--centered {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   H. HOOK BLOCK — prominent opening text
   ============================================================ */
.hook-block {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}

/* ============================================================
   I. CARDS — equal-height grid with bottom-aligned buttons
   ============================================================ */
.card-grid {
  display: grid;
  gap: 28px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
  box-shadow: var(--card-shadow);
}
.card:hover {
  box-shadow: 0 6px 24px rgba(18, 67, 97, 0.14);
  transform: translateY(-2px);
}
.card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--accent1);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card__text {
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}
.card .btn {
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 6px 20px rgba(37, 98, 138, 0.35);
  transform: translateY(-2px);
  transition: background .25s, box-shadow .25s, transform .25s;
}
.card .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(18, 67, 97, 0.4);
}

/* ============================================================
   J. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent2);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, box-shadow .25s;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 98, 138, 0.25);
}
.btn:hover {
  background: var(--accent1);
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(18, 67, 97, 0.3);
}
.btn--large {
  padding: 16px 32px;
  font-size: 18px;
}
.btn--outline {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent2);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--accent2);
  color: var(--white);
}

/* ============================================================
   K. SECTION TITLE (inline in prose)
   ============================================================ */
.section-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--accent1);
  margin-bottom: 16px;
  line-height: 1.3;
}

/* ============================================================
   L. DIVIDER
   ============================================================ */
.divider {
  width: 100%;
  max-width: 800px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent1), transparent);
  margin: 0 auto;
  border: none;
}

/* ============================================================
   M. PULLQUOTE
   ============================================================ */
.pullquote {
  border-left: 3px solid var(--accent3);
  padding: 20px 0 20px 28px;
  margin: 32px 0;
  max-width: 720px;
}
.pullquote p {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

/* ============================================================
   N. QUESTION CARDS
   ============================================================ */
.question-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.question-card {
  background: var(--white);
  border-left: 4px solid var(--accent2);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  line-height: 1.6;
}
.question-card strong { color: var(--accent1); }

/* ============================================================
   O. DIMENSION CARDS — 3-column for Souveränität etc.
   ============================================================ */
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dimension-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
.dimension-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--accent2);
}
.dimension-card__icon svg { width: 100%; height: 100%; fill: var(--accent2); }
.dimension-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--accent1);
  margin-bottom: 10px;
}
.dimension-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ============================================================
   P. STAT HIGHLIGHT
   ============================================================ */
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.stat {
  flex: 1;
  min-width: 200px;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-light);
}

/* ============================================================
   Q. CALLOUT SECTION — full-width accent block
   ============================================================ */
.callout {
  background: var(--accent1);
  color: rgba(255,255,255,0.92);
  padding: var(--section-v-pad) 0;
}
.callout h2,
.callout h3,
.callout h4 { color: var(--white); }
.callout a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.callout a:hover { color: var(--white); }
.callout .btn { background: var(--white); color: var(--accent1); }
.callout .btn:hover { background: var(--bg); }

/* ============================================================
   R. FEATURE LIST
   ============================================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}
.feature-item {
  padding-left: 20px;
  border-left: 3px solid var(--accent2);
}
.feature-item__title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--accent1);
  margin-bottom: 4px;
}
.feature-item__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

/* ============================================================
   S. PHASE TIMELINE
   ============================================================ */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  align-items: stretch;
}
.phase-grid::before {
  content: '';
  position: absolute;
  top: 28px; /* vertical center of the 56px number circles */
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent2);
  z-index: 0;
}
.phase-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.phase-card__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent2);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 3px 12px rgba(37, 98, 138, 0.3);
  flex-shrink: 0;
}
.phase-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--accent1);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.phase-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 12px;
  flex: 1;
}
.phase-card__price {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--accent2);
  font-weight: 700;
  margin-top: auto;
  flex-shrink: 0;
}

/* ============================================================
   T. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--section-v-pad) 0;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 48px;
  align-items: start;
}
.cta-grid__heading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--accent2);
  margin-bottom: 8px;
}
.cta-grid__image img {
  width: 100%;
  border-radius: 6px;
}

/* ============================================================
   U. CONTACT ACTIONS — three equal contact options
   ============================================================ */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  text-decoration: none;
  color: var(--text);
}
.contact-action:hover {
  box-shadow: 0 6px 24px rgba(18, 67, 97, 0.14);
  transform: translateY(-2px);
  border-color: var(--accent2);
  text-decoration: none;
}
.contact-action__icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  color: var(--accent2);
}
.contact-action__icon svg { width: 100%; height: 100%; fill: var(--accent2); }
.contact-action__label {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--accent1);
  margin-bottom: 4px;
}
.contact-action__detail {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   V. CONTACT LINKS
   ============================================================ */
.contact-links {
  padding: 40px 0;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent3);
  font-weight: 500;
  margin-right: 32px;
  margin-bottom: 8px;
}
.contact-links a:hover { color: var(--accent1); }
.contact-links svg { fill: #0a66c2; width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   V. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}
.footer__logo { display: flex; justify-content: center; margin-bottom: 16px; }
.footer__logo img { width: 72px; height: 72px; }
.footer__contact {
  color: var(--accent2);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer__contact .dot { color: var(--accent3); font-weight: 700; margin: 0 6px; }
.footer__links { font-size: 13px; margin-bottom: 4px; }
.footer__links a { margin: 0 10px; }
.footer__copy { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent2);
}
.footer__social svg { fill: var(--accent2); }

/* ============================================================
   W. SCROLL ANIMATIONS  (progressive enhancement)
   Without JS, the .js class is never added, so content stays
   fully visible. The opacity:0 start state only applies when JS runs.
   ============================================================ */
.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   X. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-v-pad: 40px;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  /* Topbar */
  .topbar .container { font-size: 11px; padding-top: 6px; padding-bottom: 6px; }
  .topbar__cta a { font-size: 11px; padding: 4px 12px; }

  /* Navbar */
  .navbar .container { justify-content: flex-end; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--bg);
    padding: 72px 24px 24px;
    gap: 0;
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    z-index: 105;
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-radius: 0;
    font-size: 16px;
  }
  .nav-toggle { display: block; }

  /* Hero landing */
  .hero-landing { min-height: 580px;  align-items: flex-end;  }
  .hero-landing__inner { justify-content: flex-end; padding: 16px 16px; }
  .hero-landing__card {
    max-width: 100%;
    padding: 28px 24px;
    background: rgba(236, 234, 237, 0.25);
  }
  .hero-landing__card h1 { font-size: 26px; text-align: center; margin-bottom: 62px; }
  .hero-landing__name { font-size: 26px; text-align: right; margin: 0 0 -2px 0; }
  .hero-landing__divider { margin-left: auto; margin-bottom: 10px; width: 60%; }
  .hero-landing__subtitle { font-size: 18px; text-align: right; }

  /* Page header */
  .page-header h1 { font-size: 28px; }
  .page-header .lead { font-size: 17px; }

  /* Card grids */
  .card-grid--3,
  .card-grid--2 { grid-template-columns: 1fr; }

  /* Dimension grid */
  .dimension-grid { grid-template-columns: 1fr; }

  /* Phase grid */
  .phase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .phase-grid::before {
    display: none;
  }

  /* Stats */
  .stat-row { flex-direction: column; gap: 24px; }
  .stat { min-width: 0; }

  /* CTA */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-grid__image { order: -1; text-align: center; }
  .cta-grid__image img { max-width: 240px; margin: 0 auto; }

  /* Contact actions */
  .contact-actions { grid-template-columns: 1fr; max-width: 320px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Tagline */
  .tagline h3 { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero-landing__card h1 { font-size: 22px; }
  .hero-landing__name { font-size: 22px; }
  .hero-landing__subtitle { font-size: 16px; }
  .stat__number { font-size: 26px; }
  .topbar__contact { display: none; }
}

/* ============================================================
   Y. WISSENSARTIKEL — Filter, Grid, Cards
   ============================================================ */

/* ── Filter Bar ── */
.article-filter { padding: 28px 0 8px; }
.article-filter__inner {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.article-filter__label {
  font-family: var(--font-heading);
  font-size: 14px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-right: 4px;
}
.article-filter__chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--text); cursor: pointer;
  transition: all .2s ease; user-select: none;
}
.article-filter__chip:hover {
  border-color: var(--accent2); color: var(--accent2);
}
.article-filter__chip.active {
  background: var(--accent2); color: var(--white); border-color: var(--accent2);
}
.article-filter__chip .chip-count { font-size: 12px; opacity: 0.55; }
.article-filter__reset {
  margin-left: 6px; padding: 6px 10px;
  border: none; background: none;
  font-family: var(--font-body); font-size: 13px;
  color: var(--accent3); cursor: pointer;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.article-filter__reset:hover { text-decoration: underline; }
.article-filter__reset.visible { opacity: 1; pointer-events: auto; }

/* ── Results Info ── */
.article-results {
  font-size: 14px; color: var(--text-muted);
  padding: 8px 0 0; min-height: 1.6em;
}

/* ── Article Grid ── */
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; padding: 20px 0 40px;
}

/* ── Article Card ── */
.article-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--card-shadow);
  transition: box-shadow .25s, transform .25s;
  cursor: pointer; text-decoration: none; color: inherit;
}
.article-card:hover {
  box-shadow: 0 6px 24px rgba(18,67,97,0.14);
  transform: translateY(-2px); text-decoration: none; color: inherit;
}
.article-card.filtered-out  { display: none; }
.article-card.paginated-out { display: none; }
.article-card.reveal-in     { animation: articleReveal .4s ease forwards; }
@keyframes articleReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.article-card__date {
  font-size: 13px; color: var(--text-muted); letter-spacing: 0.02em;
}
.article-card__title {
  font-family: var(--font-heading); font-size: 20px; font-weight: 400;
  color: var(--accent1); line-height: 1.3;
}
.article-card__excerpt {
  font-size: 14px; color: var(--text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.article-card__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: 6px;
}
.article-card__chip {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  background: var(--bg-alt); font-size: 12px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.01em;
}

/* ── Mehr anzeigen ── */
.article-more { text-align: center; padding: 0 0 var(--section-v-pad); display: none; }
.article-more.visible { display: block; }
.article-more__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; border: none;
  background: var(--accent2); font-family: var(--font-body);
  font-size: 15px; font-weight: 500; color: var(--white);
  cursor: pointer; transition: background .25s, box-shadow .25s;
  box-shadow: 0 4px 12px rgba(37,98,138,0.25);
}
.article-more__btn:hover {
  background: var(--accent1);
  box-shadow: 0 6px 18px rgba(18,67,97,0.3);
}
.article-more__btn svg { width: 16px; height: 16px; transition: transform .2s; }
.article-more__btn:hover svg { transform: translateY(2px); }

/* ── Keine Ergebnisse ── */
.article-empty { text-align: center; padding: 48px 0; display: none; }
.article-empty.visible { display: block; }
.article-empty p { font-size: 15px; color: var(--text-muted); }

/* ── Wissensartikel Responsive ── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .article-grid { grid-template-columns: 1fr; gap: 16px; }
  .article-card__title { font-size: 18px; }
}

/* ============================================================
   Section Z: LEGAL & TEXT-CONTENT PAGES
   (Impressum, Datenschutz, Über mich, XpertAIser)
   ============================================================ */
.legal-text {
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.8;
}
.legal-text p { margin-bottom: 14px; }
.legal-text h2 { font-size: 22px; margin: 36px 0 12px; color: var(--accent); }
.legal-text h3 { font-size: 18px; margin: 28px 0 10px; color: var(--accent); }
.legal-text a { color: var(--cta); }
.legal-text a:hover { text-decoration: underline; }
.legal-text--centered { text-align: center; }

.about-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}
.about-content p { margin-bottom: 16px; }
.about-content .lead-paragraph { font-family: var(--font-heading); font-size: 22px; line-height: 1.45; color: var(--accent1); margin: 0 0 28px; font-weight: 400; max-width: 60ch; }
@media (max-width: 600px) { .about-content .lead-paragraph { font-size: 19px; } }
.about-content h3 { font-size: 20px; color: var(--accent); margin: 32px 0 10px; }
.about-content a { color: var(--cta); }
.about-content a:hover { text-decoration: underline; }

.contact-links { list-style: none; padding: 0; margin: 24px 0; }
.contact-links li { margin-bottom: 10px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cta); text-decoration: none; font-weight: 500;
}
.contact-links a:hover { text-decoration: underline; }
.contact-links svg { flex-shrink: 0; }

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
  transform: translateY(12px);
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--cta);
  transform: translateY(-2px);
}
.scroll-top svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 600px) {
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ============================================================
   AA. UTILITIES & MODIFIERS
   Introduced to replace legacy inline styles. Single-class
   selectors keep specificity low and predictable.
   ============================================================ */
.u-text-center { text-align: center; }
.u-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.u-measure { max-width: 600px; margin-left: auto; margin-right: auto; }
.u-muted { color: var(--text-light); }
.u-mt-16 { margin-top: 16px; }
.u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; }
.u-mt-36 { margin-top: 36px; }
.u-mb-12 { margin-bottom: 12px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mb-36 { margin-bottom: 36px; }

.section--flush { padding: 0; }
.section-heading--lg { font-size: 28px; }
.stat-row--narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.pullquote--centered { margin-left: auto; margin-right: auto; }

/* ============================================================
   BB. SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent1);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
  color: var(--white);
}

/* Visible keyboard focus for interactive elements */
a:focus-visible,
button:focus-visible,
.contact-action:focus-visible,
.card .btn:focus-visible {
  outline: 3px solid var(--accent3);
  outline-offset: 2px;
}

/* ============================================================
   CC. SOURCES / REFERENCES
   ============================================================ */
.sources {
  padding: 40px 0 8px;
}
.sources__title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sources__list {
  list-style: none;
  max-width: 720px;
}
.sources__list li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.sources__list li:first-child { border-top: none; }
.sources__list a { color: var(--accent2); word-break: break-word; }
.sources__list a:hover { color: var(--accent3); }

/* ============================================================
   DD. KÄUFER-PAGE ADDITIONS
   Extra utilities, caption styles, and icon slots for cards
   and feature items. Keeps page markup free of inline styles.
   ============================================================ */
.u-mb-20 { margin-bottom: 20px; }
.u-mb-48 { margin-bottom: 48px; }

/* Centered caption under a section heading */
.section-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* Small centered fine print (e.g. pricing note) */
.fineprint {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Emphasised text inside dark callouts */
.callout strong { color: var(--white); }

/* Icon slot for standard cards (left-aligned, matches card text) */
.card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--accent2);
}
.card__icon svg { width: 100%; height: 100%; fill: var(--accent2); }

/* Feature list items with leading icon */
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-left: 20px;
  border-left: 3px solid var(--accent2);
}
.feature-item__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--accent2);
}
.feature-item__icon svg { width: 100%; height: 100%; fill: var(--accent2); }
.feature-item__body { flex: 1 1 auto; }

/* ============================================================
   EE. FAQ (GEO)
   ============================================================ */
.faq {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.faq__item {
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  font-family: var(--font-heading);
  font-size: 19px;
  color: var(--accent1);
  margin-bottom: 8px;
}
.faq__a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

/* ============================================================
   FF. CARD PRICE (parallel offering cards, not phases)
   ============================================================ */
.card__price {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--accent2);
  font-weight: 700;
  margin-top: auto;     /* pushes price to the bottom of the flex card */
  padding-top: 16px;
}

/* ============================================================
   GG. ABOUT / LEGAL PAGE TOUCHES
   ============================================================ */
/* Small accent icon in front of about-page subheadings */
.heading-icon {
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 10px;
  fill: var(--accent2);
  flex: 0 0 auto;
}
.text-accent { color: var(--accent2); }
.brand-ai { color: var(--accent3); font-weight: inherit; }

/* Faded divider used to break up long legal text */
.legal-text .divider { margin: 36px auto; }

/* ============================================================
   HH. WISSEN / DENKWERKSTATT
   Shared by wissen.html (editorial index) and the standalone
   werkstatt variant. Item visibility is JS-gated, so without
   JS every article stays visible (progressive enhancement).
   ============================================================ */

/* Intro */
.wk-intro { max-width: 760px; margin: 0 auto; padding: 4px 24px 0; text-align: center; }
.wk-intro p { font-size: 16px; line-height: 1.65; color: var(--text-light); margin: 0 0 14px; }
.wk-intro p:last-child { margin-bottom: 0; }
.wk-intro p strong { color: var(--accent1); font-weight: 700; }

/* Filter (topic only) */
.wk-filterwrap { padding-top: 28px; padding-bottom: 0; }
.filter-bar { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row-label { font-size: 11px; color: var(--text-muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; }
.filter-chip { font-size: 12.5px; font-weight: 500; padding: 5px 13px; border-radius: 20px; border: 1.5px solid var(--accent1); color: var(--accent1); cursor: pointer; transition: background .2s, color .2s; background: transparent; user-select: none; }
.filter-chip:hover { background: rgba(18,67,97,.06); }
.filter-chip.active { background: var(--accent1); color: #fff; }

/* Editorial index list */
.wk-list { max-width: 860px; margin: 8px auto 0; padding: 0 24px; }
.wk-row { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid transparent; border-image: linear-gradient(90deg, rgba(18,67,97,.28), rgba(18,67,97,.04)) 1; }
.wk-row:first-of-type { border-top: none; }
.wk-row__num { font-family: var(--font-heading); font-size: 40px; line-height: 1; color: rgba(18,67,97,.16); font-weight: 700; }
.wk-row__meta { margin-bottom: 10px; }
.wk-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wk-row__title { font-family: var(--font-heading); font-weight: 700; font-size: clamp(21px, 2.5vw, 28px); line-height: 1.22; margin: 0 0 10px; letter-spacing: -.01em; }
.wk-row__title a { color: var(--accent1); text-decoration: none; background-image: linear-gradient(var(--accent3), var(--accent3)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s, color .2s; }
.wk-row:hover .wk-row__title a { color: var(--accent3); background-size: 100% 2px; }
.wk-row__teaser { font-size: 15px; line-height: 1.6; color: var(--text-light); max-width: 62ch; margin: 0 0 14px; }
.wk-row__more { font-size: 13px; font-weight: 700; color: var(--accent3); text-decoration: none; letter-spacing: .02em; }
.wk-row__more span { display: inline-block; transition: transform .25s; }
.wk-row:hover .wk-row__more span { transform: translateX(5px); }
.wk-aud { margin-top: 14px; font-size: 11.5px; color: var(--text-muted); letter-spacing: .02em; }
.wk-aud b { font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; margin-right: 6px; }
@media (max-width: 600px) { .wk-row { grid-template-columns: 1fr; gap: 6px; } .wk-row__num { font-size: 28px; } }

/* Werkstatt wall (standalone variant) — echtes 3-Spalten-Grid */
.wk-wall { max-width: 1100px; margin: 10px auto 0; padding: 8px 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 26px; align-items: start; }
@media (max-width: 1024px) { .wk-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .wk-wall { grid-template-columns: 1fr; } }
.note { background: #fffdf7; border: 1px solid rgba(18,67,97,.10); border-radius: 3px; padding: 32px 22px 20px; margin: 0; position: relative; box-shadow: 0 6px 18px rgba(18,67,97,.08); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; height: 100%; }
.note.n0 { transform: rotate(-1.1deg); } .note.n1 { transform: rotate(.7deg); } .note.n2 { transform: rotate(-.3deg); }
.note:hover { transform: rotate(0) translateY(-5px); box-shadow: 0 14px 30px rgba(18,67,97,.16); }
.note__tape { position: absolute; top: -10px; left: 50%; width: 90px; height: 22px; opacity: .9; border-radius: 1px; transform: translateX(-50%) rotate(-3deg); box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.note__meta { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: .06em; color: var(--text-muted); margin: 8px 0 10px; text-transform: uppercase; }
.note__title { font-family: var(--font-heading); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.note__title a { color: var(--accent1); text-decoration: none; }
.note:hover .note__title a { color: var(--accent3); }
.note__teaser { font-size: 13.5px; line-height: 1.55; color: var(--text-light); margin: 0 0 14px; flex: 1; }
.note__more { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; font-weight: 600; color: var(--accent3); text-decoration: none; letter-spacing: .03em; display: inline-block; margin-bottom: 4px; }
.note__aud { margin-top: 12px; padding-top: 10px; border-top: 1px dashed rgba(18,67,97,.18); font-family: ui-monospace, Menlo, monospace; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

/* Show more + no results (JS-gated visibility) */
.hidden-by-filter, .hidden-by-paging { display: none !important; }
.show-more-wrap { text-align: center; margin: 40px 0 0; }
.show-more-btn { display: inline-block; padding: 12px 32px; font-size: 15px; font-weight: 600; color: var(--accent1); border: 2px solid var(--accent1); border-radius: 6px; background: transparent; cursor: pointer; transition: background .2s, color .2s; }
.show-more-btn:hover { background: var(--accent1); color: #fff; }
.show-more-btn.hidden { display: none; }
.no-results { text-align: center; padding: 48px 24px; color: var(--text-muted); font-size: 16px; display: none; }

/* Topic accent classes (replace inline colours on Wissen) */
.wk-tag--navy, .note__tape--navy { color: var(--accent1); }
.wk-tag--blue, .note__tape--blue { color: var(--accent2); }
.wk-tag--magenta, .note__tape--magenta { color: var(--accent3); }
.wk-tag--muted { color: var(--text-muted); }
.note__tape--navy { background: var(--accent1); }
.note__tape--blue { background: var(--accent2); }
.note__tape--magenta { background: var(--accent3); }
/* Section padding helpers */
.u-pt-18 { padding-top: 18px; }
.u-pb-0 { padding-bottom: 0; }

/* ============================================================
   II. ARTICLE / LONGREAD (Wissensartikel-Detailseiten)
   Keine Themenfarbe; Akzent = Magenta, Headings = Navy.
   ============================================================ */
.u-mt-64 { margin-top: 64px; }

.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent3); z-index: 200; transition: width .1s linear; }

.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--accent3); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.article-head { max-width: 760px; margin: 0 auto; padding: 8px 24px 0; }
.article-chips { margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.article-chip { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--accent1); padding: 4px 11px; border-radius: 3px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; color: var(--accent1); letter-spacing: -.015em; margin: 0 0 18px; }
.article-vorspann { font-size: 21px; line-height: 1.55; color: var(--text-light); margin: 0 0 18px; }
.article-accent { width: 64px; height: 3px; background: var(--accent3); border: none; margin: 0 0 14px; }
.article-metaline { font-size: 13px; color: var(--text-muted); letter-spacing: .02em; }
.article-metaline b { color: var(--text-light); }

.tldr { max-width: 760px; margin: 36px auto 0; padding: 24px 26px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.tldr__label { font-family: var(--font-heading); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent3); margin-bottom: 12px; }
.tldr ul { list-style: none; margin: 0; padding: 0; }
.tldr li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.tldr li:last-child { margin-bottom: 0; }
.tldr li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent3); }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; justify-content: center; align-items: start; max-width: 1060px; margin: 8px auto 0; padding: 0 24px; }
.toc { position: sticky; top: 96px; }
.toc__label { font-family: var(--font-heading); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.toc a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 9px 0; text-decoration: none; border-top: 1px solid var(--border); transition: color .2s; }
.toc a:first-of-type { border-top: none; }
.toc__n { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: rgba(18,67,97,.28); }
.toc__t { font-size: 13.5px; line-height: 1.35; color: var(--text-light); }
.toc a:hover .toc__t { color: var(--accent1); }
.toc a.active .toc__t { color: var(--accent3); font-weight: 600; }
.toc a.active .toc__n { color: var(--accent3); }

.article-body { font-size: 18px; line-height: 1.78; color: var(--text); }
.article-body h2 { font-family: var(--font-heading); font-weight: 700; font-size: 26px; color: var(--accent1); margin: 48px 0 16px; scroll-margin-top: 96px; letter-spacing: -.01em; }
.article-body p { margin: 0 0 22px; }
.article-body p.drop::first-letter { font-family: var(--font-heading); font-weight: 700; font-size: 2em; line-height: 1; color: var(--accent1); padding-right: 3px; }

.pullq { margin: 38px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--accent3); font-family: var(--font-heading); font-weight: 700; font-size: 24px; line-height: 1.34; color: var(--accent1); }

.statrow { display: flex; gap: 28px; flex-wrap: wrap; margin: 30px 0; padding: 26px 28px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.stat-x { flex: 1 1 130px; min-width: 120px; }
.stat-x__num { font-family: var(--font-heading); font-weight: 700; font-size: 30px; color: var(--accent3); line-height: 1.1; }
.stat-x__lbl { font-size: 13px; color: var(--text-muted); line-height: 1.4; margin-top: 6px; }

.qblock { margin: 30px 0; }
.qitem { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--border); }
.qitem:first-child { border-top: none; }
.qitem__n { font-family: var(--font-heading); font-weight: 700; font-size: 30px; color: rgba(190,18,157,.28); line-height: 1; }
.qitem__q { font-weight: 600; color: var(--accent1); font-size: 18px; margin-bottom: 4px; }
.qitem__s { font-size: 15px; color: var(--text-light); line-height: 1.55; }

.aside-note { margin: 42px 0; padding: 22px 26px; background: rgba(18,67,97,.05); border-left: 4px solid var(--accent1); border-radius: 0 8px 8px 0; }
.aside-note__label { font-family: var(--font-heading); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent1); font-weight: 700; margin-bottom: 8px; }
.aside-note p { font-size: 15px; line-height: 1.65; color: var(--text-light); margin: 0; }

.article-sources { max-width: 760px; margin: 56px auto 0; padding: 24px; border-top: 1px solid var(--border); }
.article-sources h3 { font-family: var(--font-heading); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.article-sources p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin-bottom: 12px; }
.article-sources a { color: var(--accent2); word-break: break-word; }

.author-box { max-width: 760px; margin: 40px auto 0; display: flex; gap: 20px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.author-box__av { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--accent1); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: 22px; }
.author-box__name { font-family: var(--font-heading); font-weight: 700; color: var(--accent1); font-size: 17px; margin-bottom: 4px; }
.author-box__bio { font-size: 14px; line-height: 1.5; color: var(--text-light); }
.author-box__bio a { color: var(--accent3); text-decoration: none; font-weight: 600; }

@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
  .toc { position: static; margin-bottom: 8px; border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; background: #fff; }
  .toc a { border-top-color: var(--border); }
}

/* ============================================================
   XpertAIQ — /more/XpertAIQ.html
   ============================================================ */
.u-pt-0 { padding-top: 0; }

.xpaq-titlewrap { text-align: center; padding-top: 28px; padding-bottom: 18px; }
.xpaq-breadcrumb { text-align: left; max-width: 1040px; margin: 0 auto 18px; padding: 0 24px; }
.xpaq-breadcrumb a { color: var(--accent3); font-size: 13px; text-decoration: none; }
.xpaq-breadcrumb a:hover { text-decoration: underline; }
.xpaq-titleimg { display: block; max-width: 460px; width: 100%; height: auto; margin: 8px auto 0; }
.xpaq-tagline { font-family: var(--font-heading); font-size: 20px; letter-spacing: .04em; color: var(--accent2); margin: 18px 0 0; }

.xpaq-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 900px) { .xpaq-layout { grid-template-columns: 1fr; gap: 32px; } }

.xpaq-figure { margin: 0; position: sticky; top: 24px; }
@media (max-width: 900px) { .xpaq-figure { position: static; text-align: center; } }
.xpaq-figure img { width: 100%; max-width: 460px; height: auto; border-radius: 4px; box-shadow: 0 10px 28px rgba(18,67,97,.12); }
.xpaq-figure figcaption { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.55; max-width: 460px; }

.xpaq-text h2 { font-family: var(--font-heading); font-size: clamp(24px, 2.6vw, 30px); color: var(--accent1); margin: 0 0 18px; }
.xpaq-text h3 { font-family: var(--font-heading); font-size: 19px; color: var(--accent1); margin: 28px 0 10px; }
.xpaq-text p { font-size: 16px; line-height: 1.65; color: var(--text-light); margin: 0 0 14px; max-width: 60ch; }
.xpaq-text strong { color: var(--accent1); }
.xpaq-text .xpaq-update { font-style: italic; color: var(--text-muted); margin-top: 28px; }

/* ============================================================
   Trust Anchor (Mikro-Vita auf Landing Page)
   ============================================================ */
.trust-anchor {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 26px 18px 24px;
  border-left: 3px solid var(--accent3);
  background: rgba(18, 67, 97, 0.025);
  border-radius: 0 4px 4px 0;
}
.trust-anchor p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light);
  font-style: normal;
}
@media (max-width: 600px) {
  .trust-anchor { padding: 16px 18px; }
  .trust-anchor p { font-size: 14.5px; }
}
