/* QYOU Blog – Übersicht und Beiträge
 * Nutzt die Design-Tokens der Website (--color-kit-*, --font-kit-*).
 */
.qb {
  --ink: var(--color-kit-black, #14201a);
  --slate: #4a5751;
  --muted: #6b7873;
  --green: var(--color-kit-key1, #1b6b27);
  --lime: var(--color-kit-key2, #78a41b);
  --paper: var(--color-kit-white, #fbfbf9);
  --mist: var(--color-kit-light, #edefea);
  --deep: var(--color-kit-dark, #0f2a18);
  --line: #e3e9e4;
  --card: #ffffff;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 14px;
  --grad-text: linear-gradient(100deg, #5e8f1c, #1b6b27);
  --grad-dot: linear-gradient(135deg, #78a41b, #1b6b27);
  --shadow: 0 1px 2px rgba(22, 32, 29, 0.04), 0 12px 32px -18px rgba(22, 32, 29, 0.22);
  --shadow-hover: 0 2px 4px rgba(22, 32, 29, 0.05), 0 28px 48px -24px rgba(22, 32, 29, 0.32);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --gutter: clamp(20px, 5vw, 75px);
  --head-offset: 120px;
  font-family: var(--font-kit-text-font, 'IBM Plex Sans'), system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  display: flow-root;
}
.qb *,
.qb *::before,
.qb *::after { box-sizing: border-box; }
.qb img { max-width: 100%; height: auto; }
:where(.qb) a { color: inherit; }
.qb-wrap { width: min(1250px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.qb-wrap--narrow { width: min(1092px, 100% - 2 * var(--gutter)); }
.qb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qb-ico { width: 1em; height: 1em; flex: none; }
.qb :focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------- Bausteine */
.qb-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #55635e;
}
.qb-eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background-image: var(--grad-dot); box-shadow: 0 0 0 4px rgba(27, 107, 39, 0.16); flex: none; }
.qb-eyebrow__line { width: 34px; height: 1px; background: currentColor; opacity: 0.35; flex: none; }
.qb-eyebrow--dark { color: #b7c3bb; }
.qb-eyebrow--dark .qb-eyebrow__dot { box-shadow: 0 0 0 4px rgba(183, 220, 77, 0.18); }

.qb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%;
  border: 1px solid transparent; border-radius: 999px; padding: 14px 28px;
  font: 600 16px/1.2 var(--font-kit-text-font, 'IBM Plex Sans'), sans-serif; letter-spacing: -0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}
.qb-btn .qb-ico { transition: transform 250ms var(--ease); }
.qb-btn:hover .qb-ico { transform: translateX(4px); }
.qb-btn:active { transform: translateY(1px); }
.qb-btn--primary {
  color: #fff !important; background-color: var(--green);
  background-image: linear-gradient(120deg, #4e8420 0%, #14612a 100%);
  box-shadow: 0 16px 30px -16px rgba(27, 107, 39, 0.6), 0 2px 4px rgba(22, 32, 29, 0.08);
}
.qb-btn--primary:hover { background-image: linear-gradient(120deg, #3f7b23 0%, #0f5223 100%); box-shadow: 0 22px 38px -16px rgba(27, 107, 39, 0.65), 0 2px 4px rgba(22, 32, 29, 0.08); }
.qb-btn--secondary { background: #fff; color: var(--ink); border-color: #e0e6e1; box-shadow: 0 2px 6px rgba(22, 32, 29, 0.04); }
.qb-btn--secondary:hover { border-color: #c3cdc4; box-shadow: 0 8px 18px -8px rgba(22, 32, 29, 0.2); }
.qb-btn--light { background: #fff; color: #14612a; border-color: #fff; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.3); }
.qb-btn--light:hover { background: #f2f7f3; border-color: #f2f7f3; }
@media (max-width: 560px) { .qb-btn { padding: 13px 22px; font-size: 15px; white-space: normal; line-height: 1.3; } }

.qb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green) !important; text-decoration: none; }
.qb-link .qb-ico { transition: transform 250ms var(--ease); }
.qb-link:hover .qb-ico { transform: translateX(4px); }
.qb-link--back:hover .qb-ico { transform: translateX(-4px); }

.qb-chip {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  background: #eef4e6; color: #2f5d18 !important; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; transition: background-color 200ms ease, color 200ms ease;
}
a.qb-chip:hover { background: #e1ecd2; color: #1b4d12 !important; }

.qb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--muted); }
.qb-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.qb-meta__item .qb-ico { color: var(--lime); }
.qb-meta--lg { font-size: 14.5px; gap: 10px 18px; }

.qb-crumbs { margin-bottom: 26px; font-size: 13.5px; color: var(--muted); }
.qb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.qb-crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.qb-crumbs li + li::before { content: ''; width: 5px; height: 5px; border-top: 1.5px solid #a8b3ad; border-right: 1.5px solid #a8b3ad; transform: rotate(45deg); margin-right: 4px; }
.qb-crumbs a { color: var(--muted); text-decoration: none; }
.qb-crumbs a:hover { color: var(--green); }
.qb-crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------- Hero (Übersicht) */
.qb-hero, .qb-post__head { position: relative; isolation: isolate; padding: clamp(36px, 3vw + 20px, 64px) 0 clamp(40px, 4vw + 16px, 72px); }
.qb-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.qb-hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20, 32, 26, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 32, 26, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 0%, #000 0%, transparent 70%);
}
.qb-hero__bg::after {
  content: ''; position: absolute; width: 720px; height: 520px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 164, 27, 0.18), rgba(27, 107, 39, 0.06) 60%, transparent);
  filter: blur(10px);
}
.qb-hero__title {
  margin: 18px 0 0; max-width: 16ch;
  font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif;
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.3rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.032em; color: var(--ink);
}
.qb-index .qb-hero__title { max-width: 18ch; }
.qb-hero__intro { margin: 22px 0 0; max-width: 44rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.62; color: var(--slate); }

.qb-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); align-items: center; gap: 40px 72px; }
.qb-panel {
  position: relative; padding: 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 32, 26, 0.08); box-shadow: 0 30px 60px -36px rgba(20, 32, 26, 0.35), 0 2px 6px rgba(20, 32, 26, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.qb-panel__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.qb-panel__title .qb-ico { color: var(--lime); font-size: 15px; }
.qb-topics { margin: 0; padding: 0; list-style: none; }
.qb-topics li + li { border-top: 1px solid #eef1ed; }
.qb-topics a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: var(--ink) !important; font-weight: 500; transition: background-color 200ms ease; }
.qb-topics a:hover, .qb-topics a[aria-current] { background: #f1f5ec; }
.qb-topics__name { flex: 1; min-width: 0; }
.qb-topics__n { min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--mist); font-size: 12px; font-weight: 600; text-align: center; color: var(--slate); font-variant-numeric: tabular-nums; }
.qb-topics .qb-ico { color: var(--green); opacity: 0; transform: translateX(-4px); transition: opacity 200ms ease, transform 200ms var(--ease); }
.qb-topics a:hover .qb-ico { opacity: 1; transform: none; }
.qb-panel__lead { margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: 1.35rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.qb-panel__text { margin: 10px 0 18px; font-size: 15px; line-height: 1.6; color: var(--slate); }
.qb-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qb-panel__actions .qb-btn { padding: 11px 18px; font-size: 15px; }

/* ---------------------------------------------------------- Hervorgehobener Beitrag */
.qb-featured { margin-bottom: clamp(48px, 5vw, 80px); }
.qb-feat {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease);
}
.qb-feat:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.qb-feat__media { position: relative; min-height: 340px; overflow: hidden; background: var(--mist); }
.qb-feat__media > img, .qb-feat__media > .qb-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.qb-feat:hover .qb-feat__media > img { transform: scale(1.03); }
.qb-feat__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 3vw, 48px); }
.qb-feat__label {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green);
}
.qb-feat__label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background-image: var(--grad-dot); }
.qb-feat__title {
  margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em;
}
.qb-feat__title a { text-decoration: none; }
.qb-feat__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.qb-feat__excerpt { margin: 0; font-size: 1.05rem; line-height: 1.65; color: var(--slate); }
.qb-feat .qb-card__more { margin-top: auto; padding-top: 8px; }

/* ---------------------------------------------------------- Filter und Suche */
.qb-list { padding-bottom: clamp(56px, 6vw, 96px); }
.qb-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.qb-filters { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.qb-filter {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid #dfe5e0; background: #fff; color: var(--ink) !important; font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.qb-filter:hover { border-color: #b9c6bc; box-shadow: 0 6px 14px -10px rgba(22, 32, 29, 0.35); }
.qb-filter.is-active { background: var(--deep); border-color: var(--deep); color: #fff !important; }
.qb-filter__n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qb-filter.is-active .qb-filter__n { color: #b7dc4d; }
.qb-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; min-width: 220px; }
.qb-search > .qb-ico { position: absolute; left: 16px; color: var(--muted); font-size: 17px; pointer-events: none; }
.qb-search input {
  width: 100%; height: 46px; padding: 0 44px 0 44px; border-radius: 999px; border: 1px solid #dfe5e0; background: #fff;
  font: 400 15px var(--font-kit-text-font, 'IBM Plex Sans'), sans-serif; color: var(--ink); -webkit-appearance: none; appearance: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.qb-search input::-webkit-search-cancel-button { display: none; }
.qb-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(27, 107, 39, 0.12); }
.qb-search__clear { position: absolute; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted); }
.qb-search__clear:hover { background: var(--mist); color: var(--ink); }

.qb-list__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 36px 0 24px; }
.qb-list__title { margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); font-weight: 500; letter-spacing: -0.02em; }
.qb-list__count { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ---------------------------------------------------------- Karten */
.qb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); }
.qb-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow 300ms var(--ease), transform 300ms var(--ease), border-color 300ms ease;
}
.qb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #d6dfd8; }
.qb-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.qb-card__media > img { display: block; }
.qb-card__media > img, .qb-card__media > .qb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.qb-card:hover .qb-card__media > img { transform: scale(1.045); }
.qb-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 24px 24px; }
.qb-card__title { margin: 2px 0 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: 1.28rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.qb-card__title a { text-decoration: none; }
.qb-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.qb-card__excerpt {
  margin: 0; font-size: 15px; line-height: 1.6; color: var(--slate);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.qb-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--green); }
.qb-card__more .qb-ico { transition: transform 250ms var(--ease); }
.qb-card:hover .qb-card__more .qb-ico, .qb-feat:hover .qb-card__more .qb-ico { transform: translateX(4px); }
.qb-card:focus-within { border-color: var(--green); }

/* Platzhalter, wenn kein Beitragsbild gesetzt ist */
.qb-ph {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; padding: 22px 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(120, 164, 27, 0.55), transparent 55%), linear-gradient(135deg, #0b2113 0%, #12321c 50%, #1a4a24 100%);
  color: #fff;
}
.qb-ph::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%);
}
.qb-ph__q { position: absolute; right: -0.08em; top: -0.32em; font: 600 clamp(8rem, 18vw, 12rem)/1 var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; color: rgba(255, 255, 255, 0.07); letter-spacing: -0.05em; }
.qb-ph__label { position: relative; font: 500 1.2rem/1.2 var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; letter-spacing: -0.01em; }
.qb-ph__label::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 12px; border-radius: 3px; background: #b7dc4d; }

.qb-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.qb-more__count { margin: 0; font-size: 13.5px; color: var(--muted); }
.qb-more .is-loading { opacity: 0.6; pointer-events: none; }
.qb-prev { margin: 28px 0 0; text-align: center; }
.qb-empty { padding: 56px 24px; text-align: center; border: 1px dashed #cdd6cf; border-radius: var(--r-md); background: #fff; color: var(--slate); }
.qb-empty p { margin: 0 0 6px; }
.qb-empty a { color: var(--green); font-weight: 600; }

/* ---------------------------------------------------------- Abschluss-CTA */
.qb-cta {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1250px, 100% - 2 * var(--gutter)); margin: 0 auto clamp(56px, 6vw, 96px);
  border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, #0b2113 0%, #12321c 48%, #1a4a24 100%);
}
.qb-cta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 90% at 85% 50%, #000, transparent 75%);
}
.qb-cta__glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; bottom: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 164, 27, 0.5), transparent); filter: blur(20px); }
.qb-cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 32px 64px; padding: clamp(36px, 5vw, 72px); }
.qb-cta__title { margin: 16px 0 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.025em; color: #fff; }
.qb-cta__text p { margin: 16px 0 0; max-width: 40rem; font-size: 1.05rem; line-height: 1.65; color: #c9d5cc; }
.qb-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.qb-cta__link, .qb-cta__phone { display: inline-flex; align-items: center; gap: 8px; color: #e8f0ea !important; text-decoration: none; font-weight: 600; font-size: 15px; }
.qb-cta__link .qb-ico { color: #b7dc4d; transition: transform 250ms var(--ease); }
.qb-cta__link:hover .qb-ico { transform: translateX(4px); }
.qb-cta__phone { font-weight: 500; color: #b7c3bb !important; }
.qb-cta__phone .qb-ico { color: #b7dc4d; }
.qb-cta__link:hover, .qb-cta__phone:hover { color: #fff !important; }

/* ---------------------------------------------------------- Beitrag */
.qb-post__head { padding-bottom: clamp(28px, 3vw, 44px); }
.qb-post__title {
  margin: 18px 0 0; max-width: 24ch;
  font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif;
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.75rem); font-weight: 500; line-height: 1.07; letter-spacing: -0.03em; color: var(--ink);
  text-wrap: balance;
}
.qb-post__lead { margin: 22px 0 0; max-width: 46rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--slate); text-wrap: pretty; }
.qb-post__byline { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.qb-post__byline span { color: var(--ink); font-weight: 600; }
.qb-post__cover { width: min(1092px, 100% - 2 * var(--gutter)); margin: 0 auto clamp(40px, 4vw, 64px); }
.qb-post__cover img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); background: var(--mist); }

.qb-post__layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; padding-bottom: clamp(56px, 6vw, 96px); width: min(1092px, 100% - 2 * var(--gutter)); }
.qb-post__main { min-width: 0; }
.qb-post__aside { position: relative; }
.qb-post__aside > * + * { margin-top: 20px; }
.qb-post__aside { display: flex; flex-direction: column; gap: 20px; }
.qb-post__aside > * + * { margin-top: 0; }
.qb-post__aside .qb-toc--side { position: sticky; top: var(--head-offset); max-height: calc(100vh - var(--head-offset) - 24px); overflow: auto; }

.qb-toc { font-size: 14.5px; }
.qb-toc ol { margin: 0; padding: 0; list-style: none; }
.qb-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--slate) !important; text-decoration: none; line-height: 1.4; transition: color 200ms ease, border-color 200ms ease; }
.qb-toc a:hover { color: var(--ink) !important; border-color: #b9c6bc; }
.qb-toc a.is-active { color: var(--green) !important; border-color: var(--green); font-weight: 600; }
.qb-toc__l3 a { padding-left: 28px; font-size: 13.5px; }
.qb-toc--side { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.qb-toc__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.qb-toc__title .qb-ico { color: var(--lime); font-size: 15px; }
.qb-toc--mobile { display: none; margin: 0 0 32px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.qb-toc--mobile summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.qb-toc--mobile summary::-webkit-details-marker { display: none; }
.qb-toc--mobile summary .qb-ico:first-child { color: var(--lime); }
.qb-toc--mobile summary .qb-ico:last-child { margin-left: auto; transition: transform 200ms ease; }
.qb-toc--mobile[open] summary .qb-ico:last-child { transform: rotate(180deg); }
.qb-toc--mobile nav { padding: 0 18px 14px; }

.qb-side-cta { padding: 24px; border-radius: var(--r-md); background: var(--mist); }
.qb-side-cta__title { margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.qb-side-cta__text { margin: 6px 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--slate); }
.qb-side-cta .qb-btn { width: 100%; padding: 12px 18px; font-size: 15px; }

/* Fliesstext */
.qb-prose { font-size: 1.0625rem; line-height: 1.78; color: #26322c; overflow-wrap: break-word; }
.qb-prose > :first-child { margin-top: 0; }
.qb-prose p { margin: 0 0 1.25em; }
.qb-prose h2, .qb-prose h3, .qb-prose h4 { font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; color: var(--ink); scroll-margin-top: var(--head-offset); text-wrap: balance; }
.qb-prose h2 { margin: 2.4em 0 0.7em; font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.022em; }
.qb-prose h3 { margin: 1.9em 0 0.55em; font-size: clamp(1.22rem, 1.1rem + 0.45vw, 1.42rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
.qb-prose h4 { margin: 1.6em 0 0.5em; font-size: 1.08rem; font-weight: 600; }
.qb-prose a { color: var(--green); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(27, 107, 39, 0.4); transition: text-decoration-color 200ms ease; }
.qb-prose a:hover { text-decoration-color: currentColor; }
.qb-prose strong, .qb-prose b { color: var(--ink); font-weight: 600; }
.qb-prose ul, .qb-prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.qb-prose li { margin: 0.4em 0; padding-left: 0.3em; }
.qb-prose ul { list-style: none; padding-left: 1.6em; }
.qb-prose ul > li { position: relative; }
.qb-prose ul > li::before { content: ''; position: absolute; left: -1.15em; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background-image: var(--grad-dot); }
.qb-prose ol > li::marker { color: var(--green); font-weight: 600; }
.qb-prose blockquote {
  position: relative; margin: 2em 0; padding: 4px 0 4px 26px; border: 0;
  font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: 1.3rem; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink);
}
.qb-prose blockquote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #78a41b, #1b6b27); }
.qb-prose blockquote p:last-child { margin-bottom: 0; }
.qb-prose hr { height: 1px; margin: 2.6em 0; border: 0; background: linear-gradient(90deg, transparent, #cfd8d1 20%, #cfd8d1 80%, transparent); }
.qb-prose img { display: block; border-radius: 18px; margin: 0 auto; }
.qb-prose p > img { margin: 1.6em auto; }
.qb-prose figure { margin: 2em 0; }
.qb-prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.qb-prose code { padding: 0.12em 0.4em; border-radius: 6px; background: var(--mist); font-size: 0.9em; }
.qb-prose pre { margin: 0 0 1.4em; padding: 18px 20px; border-radius: var(--r-sm); background: #0f2a18; color: #e8f0ea; overflow: auto; font-size: 14px; line-height: 1.6; }
.qb-prose pre code { padding: 0; background: none; }
.qb-prose mark { background: #e9f3c9; color: inherit; padding: 0 0.15em; border-radius: 3px; }
.qb-prose .qb-callout { margin: 1.8em 0; padding: 20px 24px; border-radius: var(--r-sm); background: #f1f5ec; border-left: 3px solid var(--lime); }
.qb-prose .qb-callout > :last-child { margin-bottom: 0; }

.qb-table { margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; -webkit-overflow-scrolling: touch; }
.qb-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.qb-table th, .qb-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.qb-table th { background: #f3f6f1; color: var(--ink); font-weight: 600; }
.qb-table tr:last-child td { border-bottom: 0; }
.qb-table tbody tr:nth-child(even) td { background: #fafbf9; }
.qb-table caption { caption-side: bottom; padding: 10px 16px; font-size: 13.5px; color: var(--muted); text-align: left; }

/* Zwischen-CTA im Artikel */
.qb-inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin: 2.6em 0; padding: 26px 28px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.qb-inline-cta > div:first-child { flex: 1 1 280px; }
.qb-inline-cta__title { margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.qb-inline-cta__text { margin: 6px 0 0 !important; font-size: 15px; line-height: 1.55; color: var(--slate); }
.qb-inline-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.qb-prose .qb-inline-cta a.qb-btn { text-decoration: none; font-weight: 600; }
.qb-inline-cta__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600 !important; text-decoration: none !important; }

.qb-post__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.qb-post__tags { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }

.qb-related { padding: clamp(56px, 6vw, 96px) 0; background: #f2f4ef; }
.qb-related__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.qb-related__title { margin: 0; font-family: var(--font-kit-header-font, 'Schibsted Grotesk'), sans-serif; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2.05rem); font-weight: 500; letter-spacing: -0.022em; }
.qb-post .qb-cta { margin-top: 0; }

/* Admin-Vorschau */
.qb-previewbar {
  position: fixed; left: 50%; bottom: 18px; z-index: 1000; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 18px; border-radius: 999px;
  background: #fef3c7; color: #78350f; font: 500 14px var(--font-kit-text-font, sans-serif); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35); max-width: calc(100% - 24px);
}
.qb-previewbar a { padding: 6px 14px; border-radius: 999px; background: #78350f; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }

/* Einblenden */
.qb-js .qb-reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.qb-js .qb-reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .qb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qb-post__layout { grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 40px; width: min(760px, 100% - 2 * var(--gutter)); }
  .qb-post__aside .qb-toc--side { display: none; }
  .qb-toc--mobile { display: block; }
  .qb-post__head .qb-wrap--narrow, .qb-post__cover { width: min(760px, 100% - 2 * var(--gutter)); }
}
@media (max-width: 900px) {
  .qb-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .qb-panel:not(.qb-panel--service) { display: none; }
  .qb-feat { grid-template-columns: minmax(0, 1fr); }
  .qb-feat__media { min-height: 0; aspect-ratio: 16 / 9; }
  .qb-cta__inner { grid-template-columns: minmax(0, 1fr); }
  .qb-toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .qb-search { flex: 1 1 auto; }
  .qb-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .qb-filters::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .qb { --head-offset: 96px; }
  .qb-grid { grid-template-columns: minmax(0, 1fr); }
  .qb-card__body { padding: 20px; }
  .qb-prose { font-size: 1.03rem; line-height: 1.74; }
  .qb-prose blockquote { font-size: 1.15rem; padding-left: 20px; }
  .qb-inline-cta { padding: 22px 20px; }
  .qb-cta { border-radius: 22px; }
  .qb-post__cover img { border-radius: 18px; }
  .qb-crumbs [aria-current] { max-width: 26ch; }
  .qb-list__head { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .qb *, .qb *::before, .qb *::after { transition: none !important; animation: none !important; }
  .qb-js .qb-reveal { opacity: 1; transform: none; }
}
@media print {
  .qb-post__aside, .qb-cta, .qb-related, .qb-inline-cta, .qb-toc--mobile, .qb-previewbar { display: none !important; }
  .qb-post__layout { display: block; }
}
