/* ═══════════════════════════════════════════════════════════════════
   Rabbit Checkout — global stylesheet
   Design language: Archivo (display) / Inter (body) / JetBrains Mono (meta),
   teal on cool white, bordered cards, hairline section rules.

   Every class name that existed before this redesign still exists here.
   Pages carry their own <style> blocks for page-specific bits; those
   reference the tokens below, so changing a token restyles the whole site.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted — no third-party request, DSGVO) ── */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Reset + tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces — the page alternates soft (base) / white (.section-alt) */
  --bg: #f7faf9;
  --bg-warm: #eef4f3;
  --white: #ffffff;
  --card: #ffffff;
  --chip-bg: #f3f4f6;

  /* Teal — the brand */
  --accent: #31a9a2;
  /* Buttons only: white text on --accent is 2.87:1, below WCAG AA.
     This is the same hue one step darker and reaches 4.74:1. */
  --accent-cta: #218079;
  --accent-light: #f2fbfa;
  --accent-dark: #1f6864;
  --accent-border: #b9e5e2;
  --accent-mid: #7fd3cd;
  --accent-soft: #d8f0ee;
  --teal-darkest: #123f3c;
  --teal-panel: #0e3230;
  --teal-line: #2f7b76;
  --teal-on-dark: #a7d8d4;
  --teal-on-dark-2: #d3ebe9;
  --teal-ink: #eaf7f6;

  /* Signal colours. Negative states read burnt-orange, positives read teal —
     the palette has no true red or green. */
  --red: #c2410c;
  --red-bright: #fa5717;
  --red-light: #fff3ec;
  --red-border: #fed7c3;
  --green: #1f6864;
  --green-light: #f2fbfa;

  /* Ink */
  --dark: #1f2937;
  --text: #374151;
  --text-mid: #4b5563;
  --text-muted: #6b7280;
  --text-faint: #6b7280;   /* text: #9ca3af was 2.54:1 on white, below AA */
  --text-decor: #9ca3af;   /* non-text only: rules, dots, placeholder bars */

  /* Lines */
  --border: #e5e7eb;
  --hairline: #eff1f3;

  --card-shadow: 0 1px 2px rgba(31,41,55,0.04), 0 10px 30px -22px rgba(31,41,55,0.35);
  --card-shadow-hover: 0 1px 3px rgba(31,41,55,0.06), 0 20px 46px -26px rgba(31,41,55,0.4);
  --shot-shadow: 0 24px 60px -32px rgba(31,41,55,0.28);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Archivo', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1180px;
  --radius: 14px;
  --radius-lg: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Keyboard focus ──
   One ring for everything focusable, shown only for keyboard focus
   (`:focus-visible`), never after a mouse click. --accent itself is 2.87:1 on
   white, under the 3:1 a focus indicator needs, so the ring uses the button
   teal. Dark bands flip it to white via --focus-ring. */
:root { --focus-ring: var(--accent-cta); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.ai-band, .final-card, .price-card.pop, .cookie-banner, .blog-news,
.article-rail-cta, .roi-verdict { --focus-ring: var(--white); }

/* Skip link: first thing a keyboard user reaches, invisible until focused. */
/* Below the nav bar, centred, where the hero has empty space: on top of the
   bar it covered the logo. Out of view (but still the first Tab stop) until
   it has keyboard focus. */
.skip-link {
  position: fixed; top: 96px; left: 50%; z-index: 10000;
  padding: 10px 18px; border-radius: 999px;
  background: var(--accent-cta); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .45);
  transform: translateX(-50%);
}
.skip-link:not(:focus) {
  clip-path: inset(50%); width: 1px; height: 1px; padding: 0;
  overflow: hidden; white-space: nowrap;
}
.skip-link:focus { color: var(--white); }
@media (max-width: 767px) { .skip-link:focus { top: 68px; padding: 7px 14px; font-size: 14px; } }
.skip-link:focus-visible { outline-color: var(--accent-dark); }
/* `width`/`height` attributes are set on images so the browser can reserve
   space (no layout shift). Those attributes map to CSS width/height, so
   without `height: auto` any rule that sets only `width` stretches the image
   vertically to the attribute's pixel height. Rules that deliberately size an
   image (object-fit covers) override this later in the file. */
img { max-width: 100%; height: auto; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Scroll reveal ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.rv.v { opacity: 1; transform: none; }
.d1 { transition-delay: 0.06s; } .d2 { transition-delay: 0.12s; }
.d3 { transition-delay: 0.18s; } .d4 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  /* The hero fades in with `animation-fill-mode: both`, so without this the
     copy and the CTA would sit at their opening keyframe: invisible. */
  .hero h1, .hero-sub, .hero-badge, .hero-points, .hero-actions,
  .hero .cta, .hero .trust-line, .hero .urgency, .hero-meta { animation: none !important; }
}

/* ── Section primitives ── */
.kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.kicker-center { text-align: center; }
.sh {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 46px); font-weight: 700; line-height: 1.08;
  color: var(--dark); letter-spacing: -0.032em; margin-bottom: 18px;
  text-wrap: pretty;
}
.sh-center { text-align: center; margin-left: auto; margin-right: auto; }
.sd { font-size: 17.5px; color: var(--text-mid); line-height: 1.65; max-width: 620px; }
.sd-center { text-align: center; margin-left: auto; margin-right: auto; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.card:hover { box-shadow: var(--card-shadow-hover); }
.card-lift:hover { transform: translateY(-3px); }

.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-alt { background: var(--white); }

/* Pills / chips — the recurring "Checkout-Seiten · Bump Offers · …" row */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); font-size: 14.5px; color: var(--text);
  transition: border-color .2s, color .2s;
}
a.chip:hover { border-color: var(--accent-border); color: var(--accent-dark); }
.chip-mono {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.promo {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border: 1px solid var(--accent-border);
  background: var(--accent-light); border-radius: 999px;
}
.promo strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--accent-dark); }
.promo span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); }

/* ── Nav ── */
body > nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 22px;
  height: 84px;
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 10px; flex: 1; margin-left: 14px; }
.nav-spacer { flex: 1; }
.nav-links > a, .nav-dd > .nav-dd-trigger {
  color: var(--text); font-size: 15.5px; font-weight: 500; transition: color 0.2s;
  padding: 9px 12px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav-links > a:not(.nav-cta):not(.nav-login):hover { color: var(--dark); background: var(--chip-bg); }
.nav-dd:hover > .nav-dd-trigger,
.nav-dd.is-open > .nav-dd-trigger,
.nav-dd:focus-within > .nav-dd-trigger {
  color: var(--accent-dark); background: var(--accent-light);
  box-shadow: inset 0 0 0 1px var(--accent-border);
}
.nav-login {
  background: none; color: var(--text) !important; padding: 9px 6px;
  font-size: 15.5px; font-weight: 500; transition: color 0.2s; flex: none;
}
.nav-login:hover { color: var(--dark) !important; }
.nav-divider { width: 1px; height: 26px; background: var(--border); flex: none; }
.nav-cta {
  background: var(--accent-cta); color: var(--white) !important; padding: 13px 22px;
  border-radius: var(--radius-sm); font-family: var(--font-display);
  font-weight: 600; font-size: 15px; transition: background 0.2s, box-shadow 0.2s; flex: none;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 9px;
}
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover { background: var(--accent-dark); color: var(--white) !important; box-shadow: 0 8px 22px -10px rgba(31,104,100,.7); }

.nav-dd { position: static; }
.nav-dd-trigger { cursor: pointer; background: none; border: none; font-family: var(--font); }
.nav-dd-trigger svg { width: 15px; height: 15px; color: var(--text-decor); transition: transform 0.2s; }
.nav-dd:hover .nav-dd-trigger svg,
.nav-dd:focus-within .nav-dd-trigger svg,
.nav-dd.is-open .nav-dd-trigger svg,
.nav-dd-trigger[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent-dark); }

/* Mega panel — spans the full nav width, opens on hover or keyboard focus */
.nav-dd-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  box-shadow: 0 30px 50px -32px rgba(31,41,55,0.3);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.mega-in {
  max-width: var(--max-w); margin: 0 auto; padding: 44px 24px 48px;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) 300px; gap: 44px;
}
.mega-in.mega-2 { grid-template-columns: repeat(2, minmax(0,1fr)) 300px; }
.mega-in.mega-narrow { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 820px; }
.mega-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 24px;
}
.mega-col { display: flex; flex-direction: column; gap: 22px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.mega-item > span:last-child { display: block; min-width: 0; }
.mega-item .mega-ico {
  width: 42px; height: 42px; flex: none; border-radius: 11px;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.mega-item .mega-ico svg { width: 19px; height: 19px; stroke: var(--accent-dark); }
.mega-item:hover .mega-ico { border-color: var(--accent-border); background: var(--accent-light); }
.mega-t { font-size: 15.5px; font-weight: 700; color: var(--dark); display: flex; align-items: center; gap: 8px; }
.mega-item:hover .mega-t { color: var(--accent-dark); }
.mega-d { display: block; font-size: 14px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.mega-badge {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--red); background: var(--red-light); border: 1px solid var(--red-border);
  border-radius: 5px; padding: 2px 6px; font-weight: 500;
}
.mega-aside { border-left: 1px solid var(--border); padding-left: 36px; }
.mega-stat {
  margin-top: 22px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.mega-stat-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mega-stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent-dark); white-space: nowrap; }
.mega-stat-cap { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.mega-stat p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--text-mid); }
.mega-links { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.mega-links a { font-size: 14.5px; color: var(--text-mid); }
.mega-links a:hover { color: var(--accent-dark); }

/* The header is now scoped to `body > nav`, so nested <nav> elements need no
   defensive reset. This one stays only because pages set inline styles on it. */
.article-breadcrumb-nav { position: static; z-index: auto; background: none; border-bottom: none; }

/* ── Mobile menu ── */
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  color: var(--dark); flex-direction: column; gap: 5px; z-index: 201; flex: none;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--dark);
  border-radius: 2px; transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 200; overflow-y: auto;
  padding: 8px 20px 40px; opacity: 0; transform: translateY(-8px);
  /* Closed, the drawer is `visibility: hidden` so its links are out of the tab
     order and the accessibility tree. Visibility flips only after the fade
     out (delay) and at once on open (no delay). */
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0s linear 0.25s;
}
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.25s, transform 0.25s, visibility 0s; }
.mobile-menu a {
  display: block; padding: 15px 0; font-size: 16.5px; font-weight: 600;
  color: var(--dark); border-bottom: 1px solid var(--hairline);
}
.mobile-menu a:hover { color: var(--accent-dark); }
.mobile-menu .mm-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint); padding: 24px 0 6px;
}
.mobile-menu .mm-sub a { padding-left: 14px; font-weight: 500; font-size: 15.5px; color: var(--text); }
.mobile-menu .mm-cta {
  display: block; text-align: center; margin-top: 28px; border: none;
  background: var(--accent-cta); color: var(--white); padding: 15px;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.mobile-menu .mm-login {
  display: block; text-align: center; margin-top: 10px; border-bottom: none;
  background: var(--chip-bg); color: var(--dark); padding: 15px;
  border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: 16px;
}

/* Accordion groups inside the mobile drawer */
.mm-acc > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; font-size: 16.5px; font-weight: 600; color: var(--dark);
  border-bottom: 1px solid var(--hairline);
}
.mm-acc > summary::-webkit-details-marker { display: none; }
.mm-acc > summary::after { content: '+'; font-size: 20px; color: var(--text-decor); font-weight: 400; line-height: 1; }
.mm-acc[open] > summary::after { content: '−'; color: var(--accent); }
.mm-acc[open] > summary { color: var(--accent-dark); }

/* ── Buttons ── */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--accent-cta); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  padding: 16px 30px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s; text-decoration: none;
}
.cta:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(31,104,100,.75); }
.cta svg { width: 17px; height: 17px; }
.cta-ghost {
  background: var(--accent-light); color: var(--accent-dark);
  border: 1px solid var(--accent-border);
}
.cta-ghost:hover { background: var(--accent-border); color: var(--accent-dark); box-shadow: none; }
.cta-quiet {
  background: var(--chip-bg); color: var(--dark);
}
.cta-quiet:hover { background: #e8eaed; color: var(--dark); box-shadow: none; }

.trust-line { font-size: 14px; color: var(--text-muted); margin-top: 16px; }

/* ── Wechsel-Check (weicher Zweitweg, siehe _includes/wechsel-check.njk) ── */
.wc { text-align: left; border: 1px solid var(--accent-border); border-radius: var(--radius); background: var(--white); }
.wc-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 860px; margin: 40px auto 0; padding: 24px 28px;
}
.wc-box .cta { flex-shrink: 0; font-size: 15px; padding: 12px 20px; }
.wc-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 6px; }
.wc-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--dark); margin: 0 0 10px; }
.wc-list { margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-mid); }
.wc-list li { position: relative; padding-left: 18px; margin: 4px 0; }
.wc-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wc-end { max-width: 720px; margin: 48px auto 0; padding: 22px 24px; background: var(--accent-light); }
.wc-text { font-size: 15px; color: var(--text-mid); margin: 0 0 14px; }
.wc-end .cta { font-size: 15px; padding: 11px 18px; background: var(--white); }
.wc-link { font-size: 14px; color: var(--text-muted); margin: 12px 0 0; }
.wc-link a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 680px) {
  .wc-box { flex-direction: column; align-items: stretch; padding: 20px; }
  .wc-box .cta { width: 100%; }
}
.urgency {
  display: inline-block; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; color: var(--red); font-weight: 500;
  margin-top: 14px; background: var(--red-light); padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--red-border);
}

/* ── Lite YouTube embed ── */
.yt-lite {
  position: relative; padding-bottom: 56.25%; height: 0;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: #000; background-size: cover; background-position: center;
  border: 1px solid var(--border);
}
.yt-lite .yt-play {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px; height: 48px;
  background: var(--accent); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.32);
  transition: all 0.3s;
}
.yt-lite:hover .yt-play { background: var(--accent-dark); transform: translate(-50%, -50%) scale(1.07); }
.yt-lite .yt-play svg { width: 20px; height: 20px; fill: var(--white); margin-left: 2px; }
.yt-lite iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt-lite.yt-active .yt-play { display: none; }

/* ── FAQ accordion ── */
.faq-list { max-width: 840px; margin: 48px auto 0; }
.faq-card { background: transparent; border-radius: 0; overflow: visible; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--dark);
  font-family: var(--font); font-size: 16.5px; font-weight: 500;
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; cursor: pointer; text-align: left; transition: color .2s;
  line-height: normal; /* what the <button> it replaced had */
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q .ic { font-size: 20px; font-weight: 400; color: var(--text-decor); transition: all 0.3s; flex-shrink: 0; line-height: 1; }
.faq-item[open] .faq-q .ic { transform: rotate(45deg); color: var(--accent); }
/* Every FAQ item is a native <details class="faq-item"> with a
   <summary class="faq-q">: works without JS, is keyboard- and screen-reader-
   operable, and has no height cap that could clip a long answer. */
summary.faq-q { list-style: none; }
summary.faq-q::-webkit-details-marker { display: none; }
/* Open/close animation, progressive enhancement: browsers with
   ::details-content + interpolate-size animate the height, the rest open
   instantly. */
.faq-item { interpolate-size: allow-keywords; }
.faq-item::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), content-visibility 0.4s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
}
.faq-a p { padding: 0 44px 24px 0; font-size: 15.5px; color: var(--text-muted); line-height: 1.7; max-width: 660px; }

/* ── Footer ── */
footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0,1fr));
  gap: 40px; margin-bottom: 48px;
}
.foot-brand img { height: 24px; width: auto; display: block; margin-bottom: 18px; }
.foot-brand p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; max-width: 280px; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 300px; }
.foot-badges span {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.foot-col h3 {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--dark); margin-bottom: 16px;
}
.foot-col a { display: block; font-size: 14.5px; color: var(--text-muted); padding: 5px 0; font-weight: 400; }
.foot-col a:hover { color: var(--accent-dark); }
.foot-social { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.foot-social a {
  width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: color .2s, border-color .2s;
}
.foot-social a svg { width: 17px; height: 17px; flex-shrink: 0; }
.foot-social a:hover { color: var(--accent-dark); border-color: var(--accent-border); }
.foot-trust {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--border);
}
.foot-trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-trust-chips span {
  padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
}
.foot-bottom p { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.foot-bottom-links { display: flex; gap: 20px; }
.foot-bottom-links a { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.foot-bottom-links a:hover { color: var(--text-mid); }

/* ── Hero ─────────────────────────────────────────────────────────────
   Two shapes share these classes:
   · .hero            — centred, used by every feature / comparison page
   · .hero.hero-split — copy left, product shot right (home)
   ─────────────────────────────────────────────────────────────────── */
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes badge-in { from { opacity: 0; transform: translateY(-8px) scale(0.96); } to { opacity: 1; transform: none; } }

.hero {
  padding: 76px 0 72px; text-align: center;
  background:
    radial-gradient(120% 80% at 78% 0%, #eaf4f3 0%, rgba(234,244,243,0) 58%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-card {
  background: transparent; border-radius: 0; box-shadow: none; border: none;
  padding: 0; max-width: 880px; margin: 0 auto;
  position: relative; overflow: visible;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 62px); font-weight: 700;
  line-height: 1.02; letter-spacing: -0.038em; color: var(--dark);
  /* No fade-in: the h1 is usually the LCP element, and an animation that
     starts at opacity 0 holds LCP back until it ends. */
  margin: 0 0 22px; text-wrap: pretty;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 18.5px; color: var(--text-mid); max-width: 640px;
  margin: 0 auto 34px; line-height: 1.6;
  animation: hero-in 0.6s ease-out 0.2s both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--dark);
  letter-spacing: 0; text-transform: none;
  animation: badge-in 0.4s ease-out both; margin-bottom: 26px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.hero .cta { animation: hero-in 0.6s ease-out 0.3s both; }
.hero .trust-line { animation: hero-in 0.6s ease-out 0.4s both; }
.hero .urgency { animation: hero-in 0.6s ease-out 0.45s both; }

.rotate-wrap { position: relative; display: inline-block; }
.rotate-word { display: inline-block; color: var(--accent); }

/* Split hero (home) */
.hero-split { text-align: left; padding-bottom: 0; overflow: hidden; }
.hero-split .hero-card { max-width: none; }
.hero-split-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px; align-items: start;
}
.hero-split h1 { margin-bottom: 0; }
.hero-points { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; animation: hero-in 0.6s ease-out 0.2s both; }
.hero-point { display: flex; align-items: flex-start; gap: 12px; font-size: 17.5px; line-height: 1.5; color: var(--text-mid); }
.hero-point svg { width: 20px; height: 20px; margin-top: 3px; flex: none; stroke: var(--accent); }
.hero-point b { color: var(--dark); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; animation: hero-in 0.6s ease-out 0.3s both; }
.hero-actions .hero-note { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.hero-chips-label { margin-top: 44px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.hero-split .chip-row { margin-top: 18px; max-width: 620px; }

/* Browser-chrome frame around a product screenshot */
.appshot {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white); box-shadow: var(--shot-shadow);
}
.appshot-bar {
  display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.appshot-dots { display: flex; gap: 5px; }
.appshot-dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--border); display: block; }
.appshot-url { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.appshot img { display: block; width: 100%; height: auto; }
/* Bleed the product shot to the right viewport edge, never inward. */
.hero-shot { border-radius: var(--radius) 0 0 var(--radius);
  margin-right: min(0px, calc((var(--max-w) - 100vw) / 2 - 24px)); }
.hero-shot img { width: 100%; height: auto; display: block; }

/* Payment-method strip under the hero */
.paybar {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  padding: 56px 0 60px;
}
.paybar-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.paybar-list {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-decor);
}

/* ── Stats ── */
.stats { padding: 0 0 56px; }
.stats-row { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 38px; font-weight: 700; color: var(--dark); letter-spacing: -0.035em; line-height: 1; }
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.payment-line { text-align: center; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 28px; letter-spacing: 0.06em; }

/* ── Pain cards ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.pain-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s, box-shadow 0.3s;
}
.section-alt .pain-card { background: var(--bg); }
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.pain-card .pain-icon { font-size: 26px; margin-bottom: 16px; line-height: 1; }
.pain-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: var(--dark); margin-bottom: 10px; line-height: 1.25; }
.pain-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.pain-card p strong { color: var(--dark); font-weight: 600; }

.bridge { text-align: center; padding: 48px 0 0; }
.bridge-text { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--dark); }

/* ── Steps ── */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; text-align: left; }
.step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s, box-shadow 0.3s;
}
.section-alt .step { background: var(--bg); box-shadow: none; border: 1px solid var(--border); }
.step:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.step-num { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-decor); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.018em; color: var(--dark); margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--text-muted); line-height: 1.65; }

/* Three-column "So funktioniert's" with mock UI cards, split by hairlines */
.flow-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 64px; border-top: 1px solid var(--border); text-align: left;
}
/* Stretch the mock stage so the three numbered headings line up, whatever
   each column happens to contain. */
.flow-col { padding: 36px 32px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.flow-col:last-child { border-right: none; }
/* A fixed stage height (not flex:1) is what actually aligns the numbered
   headings — flexing makes the stage absorb the difference in caption length
   and pushes each heading to a different line. */
.flow-stage {
  border: 1px solid var(--border); border-radius: 12px; background: var(--bg);
  padding: 20px; min-height: 360px;
}
.section-alt .flow-stage { background: var(--bg); }
.flow-head { display: flex; align-items: baseline; gap: 10px; margin-top: 28px; justify-content: center; }
.flow-num { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text-decor); }
.flow-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.018em; color: var(--dark); }
.flow-desc { margin: 14px auto 0; max-width: 300px; text-align: center; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }

/* Mock UI fragments used inside .flow-stage and elsewhere */
.mock { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.mock + .mock { margin-top: 14px; }
.mock-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-decor); }
.mock-line { height: 9px; background: var(--hairline); border-radius: 99px; margin-top: 10px; }
.mock-kv { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-mid); margin-top: 8px; }
.mock-kv.mock-total { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--dark); }
.mock-url { font-family: var(--font-mono); font-size: 12px; color: var(--accent-dark); word-break: break-all; line-height: 1.5; }
.mock-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); }
.mock-check i {
  width: 18px; height: 18px; flex: none; border-radius: 99px; background: var(--accent-light);
  border: 1px solid var(--accent-border); display: inline-flex; align-items: center; justify-content: center;
}
.mock-check i svg { width: 11px; height: 11px; stroke: var(--accent-dark); }
.mock-split { display: flex; gap: 10px; margin-top: 14px; }
.mock-split > div { flex: 1; border-radius: var(--radius-sm); padding: 12px; font-size: 12.5px; }
.mock-split .m-plain { background: var(--white); border: 1px solid var(--border); color: var(--text); }
.mock-split .m-teal { background: var(--accent-light); border: 1px solid var(--accent-border); color: var(--accent-dark); }
.mbars { display: flex; align-items: flex-end; gap: 5px; height: 52px; margin-top: 12px; }
.mbars i { width: 12px; background: var(--accent-soft); border-radius: 3px; display: block; }
.mbars i.on { background: var(--accent); }
.mbars i.hi { background: var(--accent-dark); }

/* ── Feature rows ── */
.feat-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 72px; align-items: center; margin-top: 72px; }
.feat-row + .feat-row { margin-top: 96px; }
.feat-row.flip { direction: rtl; }
.feat-row.flip > * { direction: ltr; }
.feat-text .kicker { margin-bottom: 18px; }
.feat-text h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--dark); margin-bottom: 20px; letter-spacing: -0.026em; line-height: 1.12; }
.feat-text p { font-size: 17px; color: var(--text-mid); line-height: 1.7; max-width: 500px; }
.feat-img {
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 26px 60px -40px rgba(31,41,55,0.35); background: var(--white);
}
.feat-img img { width: 100%; display: block; }
.feat-img .appshot-bar { background: var(--white); border-color: var(--hairline); height: 38px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* ── Integration cards ── */
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.int-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform 0.3s, box-shadow 0.3s;
}
.section-alt .int-card { background: var(--bg); box-shadow: none; border: 1px solid var(--border); }
.int-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.int-card .ic { font-size: 24px; margin-bottom: 12px; line-height: 1; }
.int-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.int-card p { font-size: 14px; color: var(--text-muted); }

/* ── Before / after ── */
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.compare-card { padding: 32px; border-radius: var(--radius); }
.compare-card.bad { background: var(--bg); border: 1px solid var(--border); }
.section-alt .compare-card.bad { background: var(--bg); }
.compare-card.good { background: var(--accent-light); border: 1px solid var(--accent-border); }
.compare-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 0; padding-bottom: 16px; }
.compare-card.bad h3 { color: var(--text-muted); border-bottom: 1px solid var(--border); }
.compare-card.good h3 { color: var(--accent-dark); border-bottom: 1px solid var(--accent-border); }
.compare-card p { font-size: 15.5px; line-height: 2.9; }
.compare-card.bad p { color: var(--text-muted); }
.compare-card.good p { color: var(--dark); }

/* ── Testimonials (kept: still used by sub-pages) ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.testi {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s;
}
.section-alt .testi { background: var(--bg); box-shadow: none; border: 1px solid var(--border); }
.testi:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.testi blockquote { font-size: 16.5px; line-height: 1.7; color: var(--text-mid); font-style: italic; margin-bottom: 24px; text-align: center; }
.testi blockquote strong { font-style: normal; color: var(--dark); font-weight: 600; }
.testi-who { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--dark); text-align: center; }
.testi-role { font-size: 14.5px; color: var(--text-muted); margin: 4px 0 22px; text-align: center; }
.testi-video { border-radius: var(--radius-sm); overflow: hidden; position: relative; padding-bottom: 56.25%; height: 0; }
.testi-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.testi .yt-lite { margin-top: auto; }

/* ── Comparison tables ── */
.table-wrap {
  overflow-x: auto; margin-top: 48px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--white);
}
.section-alt .table-wrap { background: var(--white); }
.article-body .table-wrap table { margin: 0; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
/* The header tint sits on the row, not on the cell, so a page that overrides
   `.cmp-table thead { background: … }` (the dark-header comparison pages) is
   not painted over by a cell background it cannot see. */
.cmp-table thead { background: var(--bg); }
.cmp-table tbody tr:first-child th { background: var(--bg); }
.cmp-table th {
  color: var(--text-muted);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.cmp-table th:first-child { text-align: left; }
.cmp-table th.hl { color: var(--accent-dark); background: var(--accent-light); }
.cmp-table td {
  padding: 14px 16px; text-align: center; color: var(--text);
  border-bottom: 1px solid var(--hairline);
}
.cmp-table td:first-child { text-align: left; font-weight: 500; color: var(--dark); }
.cmp-table td.hl { background: rgba(242,251,250,0.6); }
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table tr:nth-child(even) { background: rgba(31,41,55,0.012); }
.cmp-table .g { color: var(--accent-dark); font-weight: 600; }
.cmp-table .r { color: var(--red); font-weight: 600; }
.cmp-table .m { color: var(--text-muted); }

/* ── Pricing ── */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto; text-align: left; }
.price-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px; transition: transform 0.3s, box-shadow 0.3s; position: relative;
}
.section-alt .price-card { background: var(--white); }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.price-card.pop { background: var(--accent-dark); border-color: var(--accent-dark); }
.price-card.pop::before { content: none; }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--dark); margin: 0; }
.price-card.pop h3 { color: var(--white); }
.pro-badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.price-card.pop .pro-badge { color: var(--teal-darkest); background: var(--accent-mid); padding: 4px 9px; border-radius: 6px; }
.price-nums { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.price-num { font-family: var(--font-display); font-size: 54px; font-weight: 700; color: var(--dark); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.price-card.pop .price-num { color: var(--white); }
.price-old { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--text-decor); text-decoration: line-through; }
.price-card.pop .price-old { color: var(--teal-on-dark); }
.price-sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.price-card.pop .price-sub { color: var(--teal-on-dark); }
.price-list { list-style: none; margin: 26px 0 0; }
.price-list li {
  padding: 11px 0; font-size: 15px; color: var(--text);
  display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--hairline);
}
.price-list li:last-child { border-bottom: 1px solid var(--hairline); }
.price-card.pop .price-list li { color: var(--teal-ink); border-top-color: #3d8b86; }
.price-card.pop .price-list li:last-child { border-bottom-color: #3d8b86; }
.price-list .ck { color: var(--accent); font-weight: 700; flex: none; }
.price-card.pop .price-list .ck { color: var(--accent-mid); }
.price-btn {
  display: flex; align-items: center; justify-content: center; margin-top: 26px;
  padding: 15px; background: var(--dark); color: var(--white); border: 1px solid var(--dark);
  border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 15.5px; font-weight: 600;
  transition: all 0.2s;
}
.price-btn:hover { background: #111827; color: var(--white); }
.price-card.pop .price-btn { background: var(--white); border-color: var(--white); color: var(--accent-dark); }
.price-card.pop .price-btn:hover { background: var(--teal-ink); color: var(--accent-dark); }

/* ── Contact card ── */
.contact-note { max-width: 840px; margin: 0 auto; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px; text-align: center; position: relative; overflow: hidden;
  box-shadow: 0 18px 44px -34px rgba(31,41,55,0.3);
}
.contact-card::before { content: none; }
.contact-avatar {
  width: 48px; height: 48px; border-radius: 999px; background: var(--accent-light);
  border: 1px solid var(--accent-border); display: inline-flex; align-items: center;
  justify-content: center; font-size: 22px; margin-bottom: 20px;
}
.contact-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.contact-card p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0 auto 26px; max-width: 480px; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--dark);
  transition: all 0.2s;
}
.contact-mail:hover { border-color: var(--accent-border); color: var(--accent-dark); background: var(--accent-light); }
.contact-mail svg { width: 18px; height: 18px; color: var(--accent); }

/* ── Course block ── */
.course-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: center; text-align: left; }
.course-list { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.course-list div { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--text-mid); }
.course-list svg { width: 19px; height: 19px; margin-top: 3px; flex: none; stroke: var(--accent); }
.course-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.course-card-bar {
  display: flex; align-items: center; height: 38px; padding: 0 14px;
  border-bottom: 1px solid var(--border); background: var(--bg);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
}
.course-card-body { padding: 24px; }
.course-prog-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.course-prog-head b { color: var(--accent-dark); font-weight: 500; }
.course-prog { margin-top: 10px; height: 7px; border-radius: 99px; background: var(--hairline); overflow: hidden; }
.course-prog i { display: block; height: 100%; background: var(--accent); }
.course-mods { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.course-mod {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
}
.course-mod .cm-ico {
  width: 26px; height: 26px; flex: none; border-radius: 99px; background: var(--accent-light);
  border: 1px solid var(--accent-border); display: inline-flex; align-items: center; justify-content: center;
}
.course-mod .cm-ico svg { width: 13px; height: 13px; stroke: var(--accent-dark); }
.course-mod span { flex: 1; font-size: 15px; color: var(--dark); }
.course-mod em { font-family: var(--font-mono); font-size: 11.5px; font-style: normal; color: var(--text-muted); }
.course-mod.is-active { border-color: var(--accent-border); background: var(--accent-light); }
.course-mod.is-active .cm-ico { background: var(--accent); border-color: var(--accent); }
.course-mod.is-active .cm-ico svg { stroke: var(--white); }
.course-mod.is-active span { color: var(--accent-dark); font-weight: 600; }
.course-mod.is-active em { color: var(--accent-dark); }
.course-mod.is-locked { color: var(--text-decor); }
.course-mod.is-locked .cm-ico { background: transparent; border-color: var(--border); }
.course-mod.is-locked span { color: var(--text-faint); }
.course-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.course-foot span { font-size: 14.5px; color: var(--text-muted); }
.course-foot em { font-family: var(--font-mono); font-size: 11.5px; font-style: normal; color: var(--accent-dark); }

/* ── AI / MCP band (dark teal) ── */
.ai-band { background: var(--teal-darkest); padding: 104px 0; color: var(--teal-ink); }
.ai-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid var(--teal-line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-mid);
}
.ai-badge i { width: 5px; height: 5px; border-radius: 99px; background: var(--accent); display: block; }
.ai-band h2 { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 54px); font-weight: 700; line-height: 1.04; letter-spacing: -0.036em; color: var(--white); margin: 26px auto 0; max-width: 900px; text-wrap: pretty; }
.ai-band .ai-lead { margin: 22px auto 0; max-width: 640px; font-size: 17.5px; line-height: 1.65; color: var(--teal-on-dark); }
.ai-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 28px; margin-top: 64px; text-align: left; }
.ai-chat { border: 1px solid var(--teal-line); border-radius: var(--radius-lg); background: var(--teal-panel); overflow: hidden; }
.ai-chat-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--teal-line); font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-mid); }
.ai-chat-bar i { width: 8px; height: 8px; border-radius: 99px; background: var(--accent); display: block; }
.ai-chat-body { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.ai-you {
  align-self: flex-end; max-width: 78%; background: var(--accent); color: #06211f;
  border-radius: 14px 14px 4px 14px; padding: 15px 18px; font-size: 16px; line-height: 1.55;
}
.ai-bot {
  max-width: 88%; border: 1px solid var(--teal-line); border-radius: 14px 14px 14px 4px;
  padding: 18px; background: rgba(255,255,255,0.03); font-size: 15.5px; line-height: 1.6; color: var(--teal-ink);
}
/* App chrome for .ai-chat — a named counterpart with an avatar, a status and a
   composer, so the panel reads as a conversation with an assistant rather than a
   styled quote. Additive: pages that use .ai-chat-bar keep the plain header. */
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--teal-line); }
.ai-ava { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--accent); color: #06211f; display: inline-flex; align-items: center; justify-content: center; }
.ai-ava svg { width: 19px; height: 19px; }
.ai-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.ai-who b { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; }
.ai-who span { font-family: var(--font-mono); font-size: 11px; color: var(--accent-mid); }
.ai-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--accent-mid); }
.ai-live i { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); display: block; }

/* The assistant still working on the last message. */
.ai-typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; border: 1px solid var(--teal-line); border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,0.03); }
.ai-typing i { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-mid); display: block; animation: ai-blink 1.4s infinite ease-in-out; }
.ai-typing i:nth-child(2) { animation-delay: .2s; }
.ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes ai-blink { 0%, 60%, 100% { opacity: .35 } 30% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .ai-typing i { animation: none } }

/* A composer, drawn but deliberately inert — it is a picture of a chat. */
.ai-input { display: flex; align-items: center; gap: 12px; margin: 0 18px 18px; padding: 12px 14px; border: 1px solid var(--teal-line); border-radius: 999px; background: rgba(255,255,255,0.03); }
.ai-input > span:first-child { font-size: 14.5px; color: var(--teal-line); flex: 1; min-width: 0; }
.ai-send { flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--accent); color: #06211f; display: inline-flex; align-items: center; justify-content: center; }
.ai-send svg { width: 15px; height: 15px; }

.ai-done { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.ai-done div { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--teal-ink); }
.ai-done i { width: 20px; height: 20px; flex: none; border-radius: 99px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.ai-done i svg { width: 11px; height: 11px; stroke: #06211f; }
.ai-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1px solid var(--teal-line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; color: var(--accent-mid);
}
.ai-link b { color: var(--accent); font-weight: 500; }
.ai-metrics { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.ai-metrics .ai-m-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-mid); }
.ai-metrics .ai-m-num { margin-top: 8px; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--white); }
.ai-metrics .mbars { flex: 1; min-width: 120px; }
.ai-metrics .mbars i { flex: 1; width: auto; background: var(--teal-line); }
.ai-metrics .mbars i.on { background: var(--accent); }
.ai-metrics .mbars i.hi { background: var(--accent-mid); }
.ai-side { display: flex; flex-direction: column; gap: 20px; }
.ai-panel { border: 1px solid var(--teal-line); border-radius: var(--radius-lg); padding: 26px; background: var(--teal-panel); }
.ai-panel-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-mid); }
.ai-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ai-pills span { padding: 10px 16px; border: 1px solid var(--teal-line); border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.ai-pills span.dim { color: var(--teal-on-dark); font-weight: 400; }
.ai-panel p { margin-top: 18px; font-size: 14.5px; line-height: 1.65; color: var(--teal-on-dark); }
.ai-tools { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.ai-tool {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid var(--teal-line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.04);
}
.ai-tool code { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-mid); }
.ai-tool span { margin-left: auto; font-size: 13px; color: var(--teal-on-dark); text-align: right; }
.ai-more { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: #6fb3ae; }
.ai-band a.ai-cta { color: var(--white); border-bottom: 1px solid var(--teal-line); }
.ai-band a.ai-cta:hover { color: var(--accent-mid); }

/* ── Final CTA band ── */
.final { padding: 0; }
.final-card {
  background: var(--accent-dark); border-radius: 0; padding: 88px 24px;
  text-align: center; position: relative; overflow: hidden; box-shadow: none;
  margin: 0 calc(50% - 50vw); width: 100vw;
}
.final-card::before { content: none; }
.final-card .sh { color: var(--white); position: relative; max-width: 840px; }
.final-card .sd { color: var(--teal-on-dark-2); position: relative; max-width: 620px; }
.final-card .cta { position: relative; animation: none; background: var(--white); color: var(--accent-dark); }
.final-card .cta:hover { background: var(--teal-ink); color: var(--accent-dark); box-shadow: none; }
.final-card .cta.cta-ghost { background: transparent; border: 1px solid #4f9b96; color: var(--white); }
.final-card .cta.cta-ghost:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.final-card .trust-line { color: var(--teal-on-dark); position: relative; animation: none; font-family: var(--font-mono); font-size: 12.5px; }
.final-card .urgency { animation: none; background: rgba(255,255,255,0.1); border-color: #4f9b96; color: var(--white); }
.final-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

/* ── Cookie consent banner ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  padding: 0 16px 16px;
  transform: translateY(calc(100% + 16px));
  /* Off-screen it is also `visibility: hidden`, so its buttons can't be
     tabbed to; the flip waits for the slide-out to finish. */
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.55s;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0); pointer-events: auto; visibility: visible;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}
/* A small card in the bottom-right corner, not a centred bar: centred, it sat
   on the hero's call to action and price line on a first desktop visit. */
.cookie-inner {
  max-width: 400px; margin: 0 0 0 auto;
  background: var(--teal-darkest); color: var(--white);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius); padding: 18px 22px;
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  box-shadow: 0 8px 40px rgba(18,63,60,0.3);
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.cookie-text p { font-size: 13px; color: var(--teal-on-dark); line-height: 1.55; margin: 0; }
.cookie-text a { color: var(--accent-mid) !important; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept, .cookie-decline { flex: 1; text-align: center; }
.cookie-accept {
  background: var(--accent); color: #06211f; border: none;
  border-radius: var(--radius-sm); padding: 10px 16px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.cookie-accept:hover { background: var(--accent-mid); }
.cookie-decline {
  background: transparent; color: var(--teal-on-dark); border: 1px solid var(--teal-line);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.cookie-decline:hover { border-color: var(--accent-mid); color: var(--white); }
@media (max-width: 600px) {
  .cookie-banner { padding: 0 10px 10px; }
  .cookie-inner { max-width: none; gap: 10px; padding: 12px 14px; }
  .cookie-text strong { font-size: 13.5px; }
  .cookie-text p { font-size: 12px; line-height: 1.45; }
  .cookie-accept, .cookie-decline { padding: 9px 12px; }
}

/* ═══ Blog index ═══════════════════════════════════════════════════ */
.blog-hero { padding: 88px 0 56px; text-align: center; border-bottom: 1px solid var(--border); background: var(--white); }
.blog-hero h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); font-weight: 700; line-height: 1.06; letter-spacing: -0.036em; color: var(--dark); margin: 20px auto 0; max-width: 820px; }
.blog-hero p { margin: 22px auto 0; max-width: 600px; font-size: 18px; line-height: 1.65; color: var(--text-mid); }

.blog-feat {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border);
}
.blog-feat-img { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); aspect-ratio: 16/10; }
.blog-feat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); flex-wrap: wrap; }
.blog-meta .blog-tag { color: var(--red); letter-spacing: 0.1em; text-transform: uppercase; }
.blog-feat h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--dark); margin: 18px 0 0; }
.blog-feat h2 a { color: inherit; }
.blog-feat h2 a:hover { color: var(--accent-dark); }
.blog-feat p { margin: 18px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--text-mid); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.blog-card { padding: 48px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blog-card:nth-child(3n) { border-right: none; padding-right: 0; }
.blog-card:nth-child(3n+1) { padding-left: 0; }
.blog-card-img { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); aspect-ratio: 16/9; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .blog-meta { margin-top: 18px; }
.blog-card h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.18; letter-spacing: -0.018em; font-weight: 600; color: var(--dark); margin: 12px 0 10px; }
.blog-card h3 a { color: inherit; }
.blog-card:hover h3 a { color: var(--accent-dark); }
.blog-card p { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.blog-rows { border-top: 1px solid var(--border); margin-top: -1px; }
.blog-row {
  display: grid; grid-template-columns: 150px minmax(0,1fr) 120px; gap: 24px;
  align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hairline);
}
.blog-row time, .blog-row .blog-read { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.blog-row .blog-read { text-align: right; }
.blog-row a { font-size: 16.5px; color: var(--dark); }
.blog-row a:hover { color: var(--accent-dark); }

.blog-news { background: var(--accent-dark); padding: 72px 24px; text-align: center; margin: 0 calc(50% - 50vw); width: 100vw; }
.blog-news h2 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--white); margin: 0 auto; max-width: 640px; }
.blog-news p { margin: 16px auto 0; max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--teal-on-dark-2); }

/* ═══ Blog article ═════════════════════════════════════════════════
   These used to be duplicated inside every post's <style> block.
   They live here now so one edit restyles all posts.
   ═════════════════════════════════════════════════════════════════ */
.article-hero { padding: 56px 0 0; text-align: center; }
.article-hero .container { max-width: 860px; }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; line-height: 1.06;
  letter-spacing: -0.034em; color: var(--dark); margin-bottom: 0; text-wrap: pretty;
}
.article-meta {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  margin: 0 0 30px;
}
.article-hero h1 + .article-meta { margin: 28px 0 0; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-decor); }
.article-featured {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: none; margin: 44px auto 56px; max-width: 900px;
}
.article-featured img { width: 100%; height: auto; display: block; }

.article-body { max-width: 720px; margin: 0 auto; padding: 0 24px 80px; }
.article-body h2 {
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700;
  color: var(--dark); margin: 48px 0 0; letter-spacing: -0.026em; line-height: 1.14;
  scroll-margin-top: 96px;
}
.article-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--dark); margin: 36px 0 12px; line-height: 1.25; letter-spacing: -0.018em; scroll-margin-top: 96px; }
.article-body h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--dark); margin: 30px 0 12px; line-height: 1.35; }
.article-body h5 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--dark); margin: 26px 0 10px; }
.article-body h2 + p { margin-top: 16px; }
.article-body p { font-size: 18px; color: var(--text); line-height: 1.75; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 14px 0 22px 24px; font-size: 18px; line-height: 1.75; color: var(--text); }
.article-body li { margin-bottom: 8px; }
.article-body li ul, .article-body li ol { margin-top: 8px; margin-bottom: 0; font-size: 17px; }
.article-body strong { color: var(--dark); font-weight: 600; }
.article-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-border); }
.article-body a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.article-body figure.article-img { margin: 32px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: none; }
.article-body figure.article-img img { width: 100%; height: auto; display: block; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.article-body blockquote {
  border: none; border-left: none; padding: 32px; margin: 40px 0;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
}
.article-body blockquote p {
  margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.4;
  font-weight: 600; letter-spacing: -0.02em; color: var(--dark); font-style: normal;
}
.article-summary {
  font-size: 19.5px; color: var(--text-mid); line-height: 1.65;
  margin: 0 0 36px; padding: 0; background: none; border: none; border-radius: 0;
}
.article-summary strong { color: var(--dark); }

/* Article tables */
.article-body table {
  width: 100%; border-collapse: collapse; margin: 32px 0; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: none;
}
.article-body thead { background: var(--bg); }
.article-body thead th {
  background: var(--bg); color: var(--text-muted);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.article-body tbody tr { border-bottom: 1px solid var(--hairline); background: var(--white); }
.article-body tbody tr:last-child { border-bottom: none; }
.article-body tbody tr:nth-child(even) { background: rgba(31,41,55,0.012); }
.article-body tbody td { padding: 14px 16px; vertical-align: top; color: var(--text); }
.article-body tbody td:first-child { font-weight: 500; color: var(--dark); }
.article-body .table-wrap { overflow-x: auto; margin: 32px 0; border: none; border-radius: var(--radius); background: none; }
.article-body .table-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin: -20px 0 28px; }

/* Article FAQ (posts use a chevron <svg>, landing pages use a "+" span) */
.faq { margin: 56px 0; }
.faq h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.026em; }
.article-body .faq-item { border: none; border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 0; overflow: hidden; background: none; }
.article-body .faq-item:first-of-type { border-top: 1px solid var(--border); }
.article-body .faq-q {
  width: 100%; background: none; border: none; padding: 22px 0;
  font-family: var(--font); font-size: 16.5px; font-weight: 500; color: var(--dark);
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; transition: color .2s; line-height: normal;
}
.article-body .faq-q:hover { background: none; color: var(--accent-dark); }
.article-body .faq-q svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s; color: var(--text-faint); }
.article-body .faq-item[open] .faq-q svg { transform: rotate(180deg); color: var(--accent); }
.article-body .faq-a { padding: 0 44px 22px 0; font-size: 16px; line-height: 1.7; color: var(--text-muted); }

/* Article inline CTA */
.article-cta {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: left; margin: 48px 0;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.article-cta > div { flex: 1; min-width: 240px; }
.article-cta h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.018em; color: var(--dark); margin-bottom: 8px; }
.article-cta p { font-size: 15.5px; color: var(--text-muted); margin-bottom: 0; line-height: 1.6; }
.article-cta .cta {
  background: var(--accent-cta); color: var(--white); font-family: var(--font-display);
  font-weight: 600; font-size: 15.5px; padding: 14px 24px; border-radius: var(--radius-sm);
  white-space: nowrap; box-shadow: none;
}
.article-cta .cta:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--white); }
.article-cta .trust { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 12px; width: 100%; }

/* Article video sections */
.yt-section { margin: 48px 0; }
.yt-section h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; color: var(--dark); margin: 0 0 16px; letter-spacing: -0.026em; line-height: 1.14; }
.yt-section p { font-size: 17px; color: var(--text-muted); margin-bottom: 16px; }
.yt-section .yt-lite { margin: 0; }
.article-body .yt-lite { margin: 32px 0; }
.yt-caption { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* Sticky table of contents + rail, injected by scripts.js on wide screens.
   Progressive enhancement — without JS the article stays single-column. */
.article-shell { position: relative; }
.article-toc, .article-rail { display: none; }
@media (min-width: 1240px) {
  .article-shell.has-rails .article-body { max-width: 720px; }
  .article-toc, .article-rail {
    display: block; position: absolute; top: 0; width: 230px;
  }
  .article-toc { left: calc(50% - 620px); }
  .article-rail { right: calc(50% - 620px); }
  .article-toc-inner, .article-rail-inner { position: sticky; top: 96px; }
  .article-toc-label, .article-rail-label {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px;
  }
  .article-toc a {
    display: block; font-size: 14.5px; line-height: 1.4; color: var(--text-muted);
    padding: 7px 0 7px 14px; border-left: 2px solid transparent; text-decoration: none;
  }
  .article-toc a:hover { color: var(--accent-dark); }
  .article-toc a.is-current { color: var(--accent-dark); font-weight: 600; border-left-color: var(--accent); }
  .article-rail-card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: var(--white); }
  .article-rail-card + .article-rail-card { margin-top: 20px; }
  .article-rail-card a { display: block; font-size: 14.5px; font-weight: 600; color: var(--dark); line-height: 1.35; text-decoration: none; }
  .article-rail-card a:hover { color: var(--accent-dark); }
  .article-rail-card a + a { margin-top: 18px; }
  .article-rail-cta { background: var(--accent-dark); border-color: var(--accent-dark); }
  .article-rail-cta strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.25; }
  .article-rail-cta p { margin: 10px 0 16px; font-size: 14px; line-height: 1.6; color: var(--teal-on-dark-2); }
  .article-rail-cta a {
    display: flex; justify-content: center; padding: 12px; background: var(--white);
    color: var(--accent-dark); border-radius: var(--radius-sm);
    font-family: var(--font-display); font-size: 14.5px; font-weight: 600;
  }
}

/* ── Related posts (blog-post layout) ── */
.related { padding: 72px 0; border-top: 1px solid var(--border); background: var(--white); }
.related h2 {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--dark);
  text-align: center; margin-bottom: 40px; letter-spacing: -0.026em;
}
.rel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.rel-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; display: block;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.rel-img { aspect-ratio: 16 / 9; overflow: hidden; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rel-body { padding: 20px; }
.rel-date { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.rel-body h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.35; margin-top: 8px; }
.rel-card:hover .rel-body h3 { color: var(--accent-dark); }

/* ── Legal / comparison disclosure notes ── */
.legal-note {
  margin: 32px 0; padding: 16px 20px;
  background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--text-faint);
  border-radius: var(--radius-sm);
  font-size: 14.5px; line-height: 1.7; color: var(--text-muted);
}
.section-alt .legal-note { background: var(--bg); }
.legal-note strong { color: var(--text); font-weight: 600; }

.vergleich-note {
  max-width: 820px; margin: 36px auto 0; padding: 20px 24px;
  background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13.5px; line-height: 1.7; color: var(--text-muted); text-align: left;
}
.section-alt .vergleich-note { background: var(--bg); }
.vergleich-note p { margin: 0; }
.vergleich-note p + p { margin-top: 10px; }
.vergleich-note strong { color: var(--text); font-weight: 600; }
.vergleich-note a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.vergleich-note a:hover { color: var(--accent); }

/* „Alle Vergleiche" — hub link at the end of the comparison list in nav/footer */
.nav-dd-menu a.dd-hub .mega-t { color: var(--accent-dark); }
.nav-dd-menu a.dd-hub { font-weight: 700; color: var(--accent-dark); }
.mobile-menu a.mm-hub { font-weight: 700; color: var(--accent-dark); }
.foot-col a.foot-hub { font-weight: 600; color: var(--accent-dark); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1160px) {
  .mega-in { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .mega-aside { display: none; }
  .mega-in.mega-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-shot { margin-right: 0; border-radius: var(--radius); }
}
@media (max-width: 1023px) {
  .section { padding: 72px 0; }
  .steps-row, .testi-grid, .pain-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .flow-grid { grid-template-columns: 1fr; border-top: none; }
  .flow-col { border-right: none; border-top: 1px solid var(--border); padding: 32px 0; }
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .feat-row + .feat-row { margin-top: 64px; }
  .feat-row.flip > * { direction: ltr; }
  .feat-img { order: -1; }
  .compare-row { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .price-row { grid-template-columns: 1fr; max-width: 440px; }
  .course-grid { grid-template-columns: 1fr; gap: 40px; }
  /* `1fr`, not `minmax(0,1fr)`, let the chat mock size to its own min-content
     and push the page 8px sideways at 320px — the width the sweep exists for. */
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-band { padding: 72px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rel-grid { grid-template-columns: 1fr; max-width: 480px; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-shot { margin-right: 0; border-radius: var(--radius); }
  .blog-feat { grid-template-columns: 1fr; gap: 28px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .blog-card:nth-child(3n) { border-right: 1px solid var(--border); padding-right: 32px; }
  .blog-card:nth-child(3n+1) { padding-left: 32px; }
  .blog-card:nth-child(2n) { border-right: none; padding-right: 0; }
  .blog-card:nth-child(2n+1) { padding-left: 0; }
}
/* The desktop nav needs ~810px for logo + four items + Login + CTA. Below that
   it pushed the CTA past the viewport edge, so the drawer takes over at 900. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-cta { margin-left: auto; }
  .hamburger { display: flex; margin-left: 8px; }
  .mobile-menu { display: block; pointer-events: none; top: 84px; }
  .mobile-menu.open { pointer-events: auto; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .container { padding: 0 20px; }
  .nav-in { height: 64px; gap: 0; padding: 0 20px; }
  .mobile-menu { top: 64px; }
  .hero { padding: 40px 0 44px; }
  .hero-split { padding-bottom: 0; }
  .section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-login { display: none; }
  .nav-cta { margin-left: auto; padding: 9px 16px; font-size: 13.5px; }
  .hamburger { display: flex; margin-left: 8px; }
  .mobile-menu { display: block; pointer-events: none; }
  .mobile-menu.open { pointer-events: auto; }
  .stats-row { gap: 32px; }
  .stats { padding-bottom: 40px; }
  .stat-num { font-size: 30px; }
  .paybar { gap: 16px; padding: 36px 0 40px; }
  .paybar-list { gap: 20px; font-size: 15px; }
  .final-card { padding: 56px 20px; }
  .final-actions { gap: 12px; }
  .final-actions .cta { width: 100%; }
  .int-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-trust { flex-direction: column; align-items: flex-start; }
  .foot-col a { font-size: 15.5px; padding: 7px 0; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; align-items: flex-start; }
  .contact-card { padding: 32px 22px; }
  .price-card { padding: 28px 22px; }
  .article-hero { padding: 36px 0 0; }
  .article-body { padding: 0 20px 56px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 17px; }
  .article-featured { margin: 28px auto 36px; }
  .article-cta { padding: 24px; margin: 36px 0; flex-direction: column; align-items: flex-start; }
  .article-cta .cta { width: 100%; }
  .article-body .table-wrap { margin: 24px -20px; border-radius: 0; padding: 0 20px; }
  .article-body table { font-size: 14px; }
  .article-body thead th, .article-body tbody td { padding: 11px 12px; }
  .article-body blockquote { padding: 24px; }
  .article-body blockquote p { font-size: 20px; }
  .blog-hero { padding: 48px 0 36px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 32px 0 !important; border-right: none !important; }
  .blog-row { grid-template-columns: 1fr; gap: 6px; }
  .blog-row .blog-read { text-align: left; }
  .blog-news { padding: 56px 20px; }
  .ai-chat-body { padding: 18px; }
  .ai-you, .ai-bot { max-width: 100%; font-size: 15px; }
  .cmp-table { font-size: 13.5px; }
  .cmp-table th, .cmp-table td { padding: 12px 12px; }
}

/* Mega panel opened by click/keyboard (scripts.js) */
.nav-dd.is-open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd.is-open .nav-dd-trigger svg { transform: rotate(180deg); color: var(--accent); }
.blog-card-img { display: block; }

/* ── Icons ───────────────────────────────────────────────────────────
   Stroke icons replaced the emoji that used to sit in these slots. The
   containers already carry the tinted circle/square, so the icon only
   needs a size and the accent colour. */
.ico { width: 24px; height: 24px; display: block; }
.pain-icon, .feat-icon, .contact-avatar, .co-icon,
.int-card .ic, .feat-mini .emoji, .fc-icon {
  color: var(--accent-dark);
}
.pain-icon .ico, .feat-icon .ico, .contact-avatar .ico { width: 24px; height: 24px; }
.feat-mini .emoji, .int-card .ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  margin-bottom: 14px;
}
.feat-mini .emoji .ico, .int-card .ic .ico { width: 20px; height: 20px; }
.co-icon .ico { width: 20px; height: 20px; }

/* ── Pain cards: small data visuals instead of icons ─────────────────
   Design 3a replaces the emoji badge with a picture of the problem:
   the commission bite, the reseller's name on the invoice, the pile of
   unsolved compliance labels. */
.pain-viz { min-height: 88px; margin-bottom: 24px; }
.pain-bars { display: flex; align-items: flex-end; gap: 8px; }
.pain-bars i {
  width: 34px; height: 88px; background: var(--hairline);
  border-radius: 4px; overflow: hidden; display: block;
}
.pain-bars i span { display: block; background: var(--red-bright); }
.pain-bars em {
  font-family: var(--font-mono); font-size: 11px; font-style: normal;
  color: var(--red); margin-left: 4px; align-self: flex-end; padding-bottom: 2px;
}
.pain-invoice { border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 14px; }
.pain-invoice .pi-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-faint);
}
.pain-invoice .pi-struck {
  margin-top: 12px; font-family: var(--font-mono); font-size: 12px;
  color: var(--red); text-decoration: line-through;
}
.pain-invoice .pi-real { margin-top: 5px; font-family: var(--font-mono); font-size: 12px; color: var(--text-mid); }
.pain-tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.pain-tags span {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-mid);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px;
}
.pain-tags span.open { color: var(--red); border-color: var(--red-border); }

/* ── Trust / objection-handling section ─────────────────────────────
   Built from the questions buyers actually send before purchasing:
   who is behind this, what happens to my money and my data, is the
   installment plan a subscription my customer can cancel. */
.trust-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; margin-top: 56px; text-align: left;
}
.trust-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
}
.section-alt .trust-card { background: var(--bg); }
.trust-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  letter-spacing: -0.015em; color: var(--dark); margin-bottom: 10px; line-height: 1.25;
  display: flex; align-items: center; gap: 12px;
}
.trust-card h3 .ico { flex: none; color: var(--accent); }
.trust-card p { font-size: 15.5px; color: var(--text-muted); line-height: 1.7; }
.trust-card p strong { color: var(--dark); font-weight: 600; }

.founder {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px;
  align-items: center; margin-top: 56px; text-align: left;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); padding: 38px;
}
.section-alt .founder { background: var(--bg); }
.founder h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--dark); margin-bottom: 14px;
}
.founder p { font-size: 16px; line-height: 1.7; color: var(--text-mid); }
.founder p + p { margin-top: 12px; }
.founder-side { border-left: 1px solid var(--border); padding-left: 36px; }
.founder-side dl { display: flex; flex-direction: column; gap: 16px; }
.founder-side dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-faint);
}
.founder-side dd { font-size: 15px; color: var(--dark); margin-top: 3px; }
.founder-side dd a { color: var(--accent-dark); }

@media (max-width: 1023px) {
  .trust-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .founder-side { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 24px; }
}
/* --accent-light sits very close to the soft section background, so the icon
   badge needs an edge to read as a badge at all. */
.pain-icon, .feat-icon, .contact-avatar, .fc-icon { border: 1px solid var(--accent-border); }

/* ═══ Landing page, buying-decision structure ═══════════════════════ */

/* Commission calculator — the economic argument, made concrete */
.roi-input {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); padding: 24px 28px;
}
.section-alt .roi-input { background: var(--bg); }
.roi-input label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.roi-field { display: flex; align-items: baseline; gap: 10px; }
.roi-field input {
  flex: 0 1 auto; width: 5.5ch; min-width: 3ch; border: none; background: transparent; outline: none;
  font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 44px); font-weight: 700;
  letter-spacing: -0.035em; color: var(--dark); padding: 0;
  -moz-appearance: textfield; field-sizing: content;
}
.roi-field input::-webkit-outer-spin-button,
.roi-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.roi-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.roi-field span {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text-faint); white-space: nowrap;
}

/* Range input needs explicit styling; the UA default renders a dark track. */
.roi-slider {
  width: 100%; margin-top: 20px; height: 6px; border-radius: 99px;
  -webkit-appearance: none; appearance: none; background: var(--hairline);
  outline: none; cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 99px;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(31,41,55,.25); cursor: grab;
}
.roi-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 99px;
  background: var(--accent); border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(31,41,55,.25); cursor: grab;
}
.roi-slider::-moz-range-track { height: 6px; border-radius: 99px; background: var(--hairline); }
.roi-slider:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.roi-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--white); }
.section-alt .roi-box { background: var(--bg); }
.roi-box.is-bad { border-color: var(--red-border); background: var(--red-light); }
.roi-box.is-good { border-color: var(--accent-border); background: var(--accent-light); }
.roi-box dt {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.roi-box dd { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--dark); margin-top: 10px; line-height: 1; }
.roi-box.is-bad dd { color: var(--red); }
.roi-box.is-good dd { color: var(--accent-dark); }
.roi-box p { font-size: 13.5px; color: var(--text); margin-top: 8px; line-height: 1.55; }
.roi-verdict {
  margin-top: 20px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--accent-dark); color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.roi-verdict strong { font-family: var(--font-display); font-size: 18.5px; font-weight: 600; line-height: 1.4; max-width: 520px; }
.roi-verdict .cta { background: var(--white); color: var(--accent-dark); font-size: 15.5px; padding: 13px 22px; white-space: nowrap; }
.roi-verdict .cta:hover { background: var(--teal-ink); color: var(--accent-dark); box-shadow: none; }
.roi-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; }

/* Money-flow diagram: who sits between you and your customer */
.flowdiag { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; text-align: left; }
.flowdiag-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; background: var(--white); }
.section-alt .flowdiag-col { background: var(--bg); }
.flowdiag-col.is-us { border-color: var(--accent-border); background: var(--accent-light); }
.flowdiag-col h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 22px;
}
.flowdiag-col.is-us h3 { color: var(--accent-dark); }
.fd-step {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); padding: 14px 16px; font-size: 15.5px; color: var(--dark);
}
.fd-step em { display: block; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.flowdiag-col.is-us .fd-step { border-color: var(--accent-border); }
.fd-step.is-toll { border-color: var(--red-border); background: var(--red-light); color: var(--red); }
.fd-arrow { display: flex; justify-content: center; padding: 8px 0; color: var(--text-decor); }
.fd-arrow svg { width: 18px; height: 18px; }
.flowdiag-note { margin-top: 22px; font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.flowdiag-col.is-us .flowdiag-note { color: var(--accent-dark); }

/* Compact testimonials, placed high on the page */
.testi-mini { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 48px; text-align: left; }
.testi-mini figure { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--white); }
.section-alt .testi-mini figure { background: var(--bg); }
.testi-mini blockquote { font-size: 16px; line-height: 1.65; color: var(--text); margin: 0 0 18px; }
.testi-mini blockquote strong { color: var(--dark); font-weight: 600; }
.testi-mini figcaption { font-size: 14px; color: var(--text-muted); }
.testi-mini figcaption b { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--dark); }

/* "Replaces two tools" for course creators */
.replaces { max-width: 720px; margin: 48px auto 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: left; background: var(--white); }
.section-alt .replaces { background: var(--bg); }
.replaces-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; border-bottom: 1px solid var(--hairline); font-size: 16px; color: var(--dark); }
.replaces-row:last-child { border-bottom: none; }
.replaces-row svg { width: 18px; height: 18px; stroke: var(--accent); flex: none; }
.replaces-foot { padding: 18px 24px; background: var(--accent-light); border-top: 1px solid var(--accent-border); font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--accent-dark); }

/* Compact link row that replaced the hero feature chips */
.featlinks { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.featlinks .kicker { margin-bottom: 16px; }

@media (max-width: 1023px) {
  .roi-out { grid-template-columns: 1fr; }
  .flowdiag { grid-template-columns: 1fr; }
  .testi-mini { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
  .roi-input { padding: 22px; }
  .roi-verdict { padding: 20px; }
  .roi-verdict .cta { width: 100%; }
}
.ai-compact { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: center; }
@media (max-width: 1023px) { .ai-compact { grid-template-columns: 1fr; gap: 28px; } }

/* ── Hero composition ────────────────────────────────────────────────
   Dashboard behind, the customer-facing checkout layered in front, and
   two status cards drawn in CSS (real text, no baked-in screenshot). */
.hero-stack { position: relative; padding-bottom: 44px; }
.hero-stack .hero-shot { position: relative; z-index: 1; }
.hero-float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(31,41,55,0.3);
}
.hero-float i {
  width: 34px; height: 34px; flex: none; border-radius: 999px;
  background: var(--accent); display: inline-flex; align-items: center; justify-content: center;
}
.hero-float i svg { width: 17px; height: 17px; stroke: #fff; }
.hero-float b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.hero-float span { display: block; font-size: 13.5px; color: var(--accent-dark); margin-top: 1px; }
.hero-stack { padding-bottom: 224px; }

/* The three cards narrate what happens after a sale: money in, invoice out,
   access granted. They fade up in sequence on load, then drift very slightly
   so the hero feels alive without anything jumping around. */
.hero-float-1 { left: -28px; bottom: 150px; }
.hero-float-2 { left: 188px; bottom: 76px; max-width: 300px; }
.hero-float-3 { left: -4px; bottom: 0; max-width: 286px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-float { opacity: 0; animation: float-in .7s cubic-bezier(.16,1,.3,1) forwards, float-drift 7s ease-in-out infinite; }
  .hero-float-1 { animation-delay: .55s, 1.3s; }
  .hero-float-2 { animation-delay: 1.15s, 2.1s; }
  .hero-float-3 { animation-delay: 1.75s, 2.9s; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes float-drift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.hero-float-inv i { background: var(--accent-light); border: 1px solid var(--accent-border); }
.hero-float-inv i svg { stroke: var(--accent-dark); }
.hero-float-inv span { color: var(--text-muted); line-height: 1.45; }

/* Payment methods directly under the CTA.
   Monochrome by design: eight brand colours under the primary CTA would fight
   the palette. They pick up their own colour on hover. Marks are simple-icons
   path data (CC0); the trademarks belong to the respective brands and are shown
   to state which payment methods are accepted. */
.paystrip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 18px; max-width: 460px; list-style: none;
}
.paystrip li {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; min-width: 48px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--white);
  transition: border-color .2s, color .2s;
}
.paystrip svg { width: 22px; height: 22px; display: block; fill: var(--text-faint); transition: fill .2s; }
.paystrip li:hover { border-color: var(--accent-border); }
.paystrip li:hover svg { fill: var(--text-mid); }

/* Photo + copy split */
.photo-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; text-align: left; }
.photo-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.photo-frame img { display: block; width: 100%; height: auto; }

@media (max-width: 1023px) {
  .photo-split { grid-template-columns: 1fr; gap: 32px; }
  .hero-float { display: none; }
}

/* ── Commission calculator, two-column ──────────────────────────────
   Left: the assumption you control. Right: what it adds up to. */
.roi2 { display: grid; grid-template-columns: minmax(0,1fr) 420px; gap: 48px; align-items: start; text-align: left; }
.roi2-left .sd { max-width: 540px; }
.roi-scale { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.roi-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; position: relative; }
.roi-vs-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-muted); z-index: 2;
}
.roi-box-sub { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.roi-box-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-muted); }
.roi-box.is-bad .roi-box-foot { border-top-color: var(--red-border); }
.roi-box.is-good .roi-box-foot { border-top-color: var(--accent-border); }
.roi-box-foot b { color: var(--dark); font-weight: 600; }
.roi-box.is-bad .roi-box-foot b { color: var(--red); }
.roi-box.is-good .roi-box-foot b { color: var(--accent-dark); }

.roi2-right { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); padding: 28px; }
.section-alt .roi2-right { background: var(--bg); }
.roi-panel-head { display: flex; align-items: center; gap: 12px; }
.roi-panel-ico {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark);
}
.roi-panel-ico svg { width: 19px; height: 19px; }
.roi-panel-head h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark); }

.roi-tabs { display: flex; gap: 4px; margin-top: 20px; padding: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; }
.section-alt .roi-tabs { background: var(--white); }
.roi-tabs button {
  flex: 1; border: none; background: none; cursor: pointer; padding: 9px 6px;
  border-radius: 7px; font-family: var(--font); font-size: 14px; color: var(--text-muted);
  transition: background .2s, color .2s;
}
.roi-tabs button:hover { color: var(--dark); }
.roi-tabs button.is-active { background: var(--accent-light); color: var(--accent-dark); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent-border); }

.roi-chart { display: flex; align-items: flex-end; gap: 28px; height: 210px; margin-top: 26px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.roi-bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; }
.roi-bar i { display: block; width: 74px; border-radius: 6px 6px 0 0; transition: height .35s cubic-bezier(.16,1,.3,1); min-height: 3px; }
.roi-bar i.is-bad { background: #f08a6c; }
.roi-bar i.is-good { background: var(--accent); }
.roi-bar-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; white-space: nowrap; }
.roi-bar-lab { position: absolute; bottom: -26px; font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }

.roi-save { margin-top: 46px; padding: 20px; border-radius: 12px; background: var(--accent-light); border: 1px solid var(--accent-border); text-align: center; }
.roi-save-lab { display: block; font-size: 14px; color: var(--accent-dark); }
.roi-save strong { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.035em; color: var(--accent-dark); }

.roi-checks { list-style: none; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.roi-checks li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: var(--text-mid); }
.roi-checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6864' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.roi-note { max-width: 820px; margin: 32px 0 0; }

@media (max-width: 1160px) { .roi2 { grid-template-columns: minmax(0,1fr) 360px; gap: 32px; } }
@media (max-width: 1023px) {
  .roi2 { grid-template-columns: 1fr; }
  .roi-vs { grid-template-columns: 1fr; }
  .roi-vs-badge { display: none; }
}
/* Composition shot: checkout panel + dashboard side by side. Very wide (3.4:1),
   so it is allowed to run past the column instead of being squashed into it. */
@media (max-width: 1023px) { .hero-stack { padding-bottom: 0; } }

/* ── Calculator refinements ─────────────────────────────────────── */
.kicker-pill {
  display: inline-block; padding: 6px 12px; border-radius: 7px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  color: var(--accent-dark); margin-bottom: 20px;
}
.roi-chart { position: relative; padding-left: 62px; }
.roi-axis {
  position: absolute; left: 0; top: 0; bottom: 0; width: 56px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-align: right;
}
.roi-axis span { transform: translateY(-50%); }
.roi-axis span:last-child { transform: translateY(-50%); }
.roi-grid { position: absolute; left: 62px; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.roi-grid i { display: block; height: 1px; background: var(--hairline); }
.roi-bar { z-index: 1; }
.roi-save { position: relative; padding-left: 74px; text-align: left; }
.roi-save-ico {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; color: var(--accent-dark);
}
.roi-save-ico svg { width: 40px; height: 40px; }
.roi-panel-note { margin-top: 14px; font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.roi-box-foot span { color: var(--text-muted); font-size: 12.5px; }
.roi-callout {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 32px; padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg);
}
.section-alt .roi-callout { background: var(--white); }
.roi-callout-ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark);
}
.roi-callout-ico svg { width: 20px; height: 20px; }
.roi-callout p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.roi-callout p b { color: var(--dark); font-weight: 600; }

/* ── Very narrow phones (320px, iPhone SE 1st gen) ──────────────────
   A few components carry min-widths and generous padding that add up to
   more than the 280px of usable width left at this size. */
@media (max-width: 480px) {
  .roi-input { padding: 18px; }
  .roi-field { flex-wrap: wrap; }
  .roi-field span { white-space: normal; }
  .roi2-right { padding: 20px; }
  .roi-callout { padding: 18px; gap: 12px; }
  .foot-bottom-links { flex-wrap: wrap; gap: 10px 16px; }
  .trust-card, .pain-card, .step, .testi { padding: 22px; }
}

/* ── Course platform section ─────────────────────────────────────────
   Photo with the real learner view layered over its lower half — which
   is also what covers the generated photo's hands. */
.course-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 64px; align-items: center; }
.course-checks { list-style: none; margin: 28px 0 0; display: flex; flex-direction: column; gap: 16px; }
.course-checks li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.5; color: var(--text); }
.course-checks li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 999px;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.course-note { margin-top: 16px; font-size: 14.5px; color: var(--text-muted); }

.course-compo { position: relative; padding-bottom: 168px; }
.course-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.course-photo img { display: block; width: 100%; height: auto; }
.course-app {
  position: absolute; right: -30px; bottom: 0; width: 72%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  box-shadow: 0 30px 60px -28px rgba(31,41,55,.42);
}
.course-app img { display: block; width: 100%; height: auto; }
.course-split + .replaces { margin: 56px auto 0; }

/* Below the container's max width there is no gutter left to bleed into, so
   the card must sit flush instead of hanging past the edge. */
@media (max-width: 1180px) { .course-app { right: 0; } }
@media (max-width: 1023px) {
  .course-split { grid-template-columns: 1fr; gap: 40px; }
  .course-compo { padding-bottom: 72px; }
  .course-app { right: 0; width: 84%; }
}
@media (max-width: 600px) {
  .course-compo { padding-bottom: 0; }
  .course-app { position: static; width: 100%; margin-top: 16px; box-shadow: none; }
}


/* ── Explainer panel + prompt cards ──────────────────────────────────
   Two components shared by the feature pages that explain a capability
   rather than sell a number: the "Kurz erklärt" panel (the block an AI
   assistant quotes back) and the row of example prompts. They were written
   twice, once inside /ki-assistent/ and once inside /kursplattform/, which
   is how a component starts drifting — the copies are byte-identical today
   and would not have stayed that way. */
.sum {
  max-width: 820px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 34px; box-shadow: var(--card-shadow);
}
.sum h2 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  color: var(--dark); letter-spacing: -0.012em; margin-bottom: 16px;
}
.sum ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
/* The bullet is positioned, not a flex item: a flex `li` would turn every run
   of prose into its own flex item, and those refuse to shrink below their
   min-content width — a long address then pushes the page sideways on a phone. */
.sum li {
  position: relative; padding-left: 20px; font-size: 16px;
  line-height: 1.6; color: var(--text-mid);
}
.sum li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 99px; background: var(--accent);
}
.sum li b { color: var(--dark); font-weight: 600; overflow-wrap: anywhere; }

.prompts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; margin-top: 52px; text-align: left;
}
.prompt {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px;
}
.section-alt .prompt { background: var(--white); }
.prompt-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.prompt q {
  display: block; font-size: 16.5px; line-height: 1.6;
  color: var(--dark); quotes: "\201E" "\201C";
}
.prompt p { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

@media (max-width: 1023px) {
  .prompts { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ── Proof band: testimonials + the three numbers ───────────────────
   One card for the rotating quote, a divided row of figures under it.
   Payment methods deliberately are NOT repeated here — they sit under
   the hero CTA, which is where they do the reassurance work. */
.proofband { padding: 56px 0 72px; }
.proofband-card {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);
  gap: 48px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white); padding: 36px 40px;
}
.section-alt .proofband-card { background: var(--bg); }
.proofband-intro h2 {
  font-family: var(--font-display); font-size: clamp(21px, 2.2vw, 27px); font-weight: 700;
  line-height: 1.22; letter-spacing: -0.022em; color: var(--dark);
}
.proofband-intro p { margin-top: 12px; font-size: 16px; color: var(--text-muted); }

.proofband-quotes { display: flex; align-items: center; gap: 32px; border-left: 1px solid var(--border); padding-left: 40px; }
.proofband-track { flex: 1; min-width: 0; display: grid; }
.proofband-track figure { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .35s ease; }
.proofband-track figure.is-active { opacity: 1; visibility: visible; }
.proofband-track blockquote { font-size: 17.5px; line-height: 1.6; color: var(--dark); }
.proofband-track figcaption { margin-top: 16px; }
.proofband-track figcaption b { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--dark); }
.proofband-track figcaption span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--text-muted); }

.proofband-nav { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.proofband-nav > div { display: flex; gap: 8px; }
.proofband-nav button {
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--white); color: var(--text-mid);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, background .2s;
}
.proofband-nav button:hover { border-color: var(--accent-border); color: var(--accent-dark); background: var(--accent-light); }
.proofband-nav button svg { width: 17px; height: 17px; }
.proofband-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

.proofband-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin-top: 40px; }
.pb-stat { display: flex; align-items: flex-start; gap: 18px; padding: 0 32px; border-left: 1px solid var(--border); }
.pb-stat:first-child { padding-left: 8px; border-left: none; }
.pb-ico {
  width: 52px; height: 52px; flex: none; border-radius: 13px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark);
}
.pb-ico svg { width: 24px; height: 24px; }
.pb-stat b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.035em; color: var(--dark); line-height: 1.1; }
.pb-stat > div > span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 1023px) {
  .proofband-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .proofband-quotes { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .proofband-stats { grid-template-columns: 1fr; gap: 24px; }
  .pb-stat { border-left: none; padding: 0; }
  .pb-stat:first-child { padding-left: 0; }
}
@media (max-width: 600px) {
  .proofband-quotes { flex-direction: column; align-items: flex-start; gap: 20px; }
  .proofband-nav { flex-direction: row; align-items: center; gap: 16px; }
}

/* ── Customer stories ────────────────────────────────────────────────
   One featured video with a pull-quote, two smaller ones beneath.
   Durations are derived from each video's transcript, so they are
   accurate to within a few seconds — see src/_data/testimonials.json. */
.story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; }
.story-lead { margin-top: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.story-video .yt-lite { border-radius: var(--radius); }
.story-topic {
  display: inline-block; padding: 6px 12px; border-radius: 7px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-dark);
}
.story-text h3 {
  margin-top: 18px; font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.028em; color: var(--dark); text-wrap: pretty;
}
.story-text p { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--text-mid); }
.story-who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.story-who b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--dark); }
.story-who span { display: block; margin-top: 2px; font-size: 14.5px; color: var(--text-muted); }

.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.story-row .story { gap: 28px; grid-template-columns: minmax(0,0.85fr) minmax(0,1fr); }
.story-row .story:last-child { border-left: 1px solid var(--border); padding-left: 48px; }
.story-row .story-text h3 { font-size: clamp(19px, 1.7vw, 23px); margin-top: 14px; }
.story-row .story-text p { font-size: 15.5px; margin-top: 12px; }
.story-row .story-who { margin-top: 16px; padding-top: 14px; }

/* Play affordances on the thumbnails */
.yt-cta {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(17,24,28,.78); backdrop-filter: blur(6px);
  color: #fff; font-size: 14.5px; font-weight: 500;
}
.yt-cta i { width: 26px; height: 26px; border-radius: 999px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.yt-cta i svg { width: 12px; height: 12px; fill: var(--dark); margin-left: 1px; }
.story-lead .yt-lite .yt-play { display: none; }
.yt-dur {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 3px 8px; border-radius: 6px; background: rgba(17,24,28,.78);
  color: #fff; font-family: var(--font-mono); font-size: 11.5px;
}
.yt-lite.yt-active .yt-cta, .yt-lite.yt-active .yt-dur { display: none; }

@media (max-width: 1023px) {
  .story, .story-row .story { grid-template-columns: 1fr; gap: 24px; }
  .story-row { grid-template-columns: 1fr; gap: 40px; }
  .story-row .story:last-child { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 40px; }
  .story-lead { margin-top: 40px; padding-bottom: 40px; }
}
/* A stat whose value is a phrase, not a figure — needs a smaller size than
   the numeric ones so the three columns stay balanced. */
.pb-stat b.is-text { font-size: 21px; line-height: 1.25; letter-spacing: -0.022em; }

/* ── Integrations grid ───────────────────────────────────────────────
   Each card shows the Rabbit side (teal tile) connected to what it talks
   to. Only real integrations get a logo: sevDesk and Lexware are word
   chips, the Zapier row shows apps Zapier itself connects to, and the
   e-mail card shows our own templates — there is no native ESP hook. */
.intg-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 56px; text-align: left; }
.intg {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  background: var(--white); display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .3s;
}
.section-alt .intg { background: var(--bg); }
.intg:hover { box-shadow: var(--card-shadow-hover); border-color: var(--accent-border); }
.intg h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.018em; color: var(--dark); margin-top: 24px; }
.intg p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-top: 10px; flex: 1; }
.intg > a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--accent-dark);
}
.intg > a span { transition: transform .2s; }
.intg:hover > a span { transform: translateX(3px); }

/* A fixed height, not min-height: the stacked cards (webhook payload, e-mail
   templates) are taller than the inline ones, and a shared fixed height is
   what actually lines the four titles up. */
.intg-viz { display: flex; align-items: center; gap: 0; height: 196px; }
.intg-ico {
  width: 52px; height: 52px; flex: none; border-radius: 13px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent-dark);
}
.intg-ico svg { width: 24px; height: 24px; }
.intg-link { flex: none; width: 22px; height: 1px; border-top: 2px dotted var(--border); margin: 0 6px; }

.intg-chips { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.intg-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 9px; background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--dark); white-space: nowrap;
  box-shadow: 0 4px 12px -8px rgba(31,41,55,.4);
}
.sw { width: 14px; height: 14px; border-radius: 4px; flex: none; display: block; }
.sw-sevdesk { background: #e5352b; }
.sw-lexware { background: #d51317; }

.intg-apps { display: grid; grid-template-columns: repeat(3, auto); gap: 8px; align-items: center; }
.intg-app {
  width: 40px; height: 40px; border-radius: 10px; background: var(--white);
  border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -8px rgba(31,41,55,.4);
}
/* The Zapier mark is itself an orange rounded square, so it becomes the tile
   instead of sitting inside a second bordered one. */
.intg-app.is-lead {
  grid-column: 1 / -1; justify-self: start; width: 42px; height: 42px;
  border: none; background: none; box-shadow: none; border-radius: 9px; overflow: hidden;
}
.intg-app svg { width: 19px; height: 19px; fill: var(--text-mid); }
.intg-app.is-lead svg { width: 100%; height: 100%; fill: #ff4f00; }

.intg-code {
  font-family: var(--font-mono); font-size: 10px; line-height: 1.6;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 12px; color: var(--text-mid); overflow: hidden; min-width: 0;
  box-shadow: 0 4px 12px -8px rgba(31,41,55,.4);
}
.intg-code b { color: var(--accent-dark); font-weight: 600; }
.intg-code em { font-style: normal; color: var(--dark); }
.intg-code s { text-decoration: none; color: var(--accent-dark); }

.intg-facts {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border);
}
.intg-facts span { position: relative; padding-left: 30px; font-size: 15.5px; color: var(--text); }
.intg-facts span::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 999px;
  background: var(--accent-light); border: 1px solid var(--accent-border);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6864' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.intg-note { max-width: 620px; margin: 20px auto 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

@media (max-width: 1150px) { .intg-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) {
  .intg-grid { grid-template-columns: 1fr; }
  .intg-facts { flex-direction: column; align-items: flex-start; gap: 14px; }
}
/* The webhook payload needs the full card width; a JSON line does not fit
   beside the icon the way two short chips do. */
.intg-viz-stack { flex-wrap: wrap; align-content: flex-start; align-items: flex-start; }
.intg-viz-stack .intg-code,
.intg-viz-stack .intg-chips { flex-basis: 100%; margin-top: 12px; }
/* A chip must never be wider than its card. `nowrap` keeps template names on
   one line, so the row also needs room to break. */
.intg-chips { flex-wrap: wrap; }
.intg-chip { max-width: 100%; }

/* ── Accessibility and readability pass ─────────────────────────────
   Notes and captions ran the full container width; body copy stops
   being scannable past ~75 characters. */
.roi-note, .yt-caption, .intg-note, .article-cta .trust,
.cmp-source-note { max-width: 72ch; margin-left: auto; margin-right: auto; }
.roi-note { font-size: 12.5px; }
.yt-caption { font-size: 12.5px; }
/* No label below 11.5px: 11px uppercase mono is past the point of
   comfortable reading on a laptop. */
.story-topic, .course-prog-head, .roi-scale,
.feat-img .appshot-bar { font-size: 11.5px; }

/* Contrast corrections found by measurement, not by eye:
   - the "€ / Monat" unit sat at 2.54:1 on white
   - the roi box captions reached only 4.44:1 on their tinted fills
   - two mono labels rendered at 11px */
.roi-field span { color: var(--text-muted); }
.roi-box-sub, .roi-box-foot { color: var(--text); }
.roi-box-foot span { color: var(--text); }
.flowdiag-col h3, .roi-axis { font-size: 11.5px; }
.trust-line { max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Second contrast pass — all measured, none eyeballed. */
.pro-badge { color: var(--text-muted); font-size: 11.5px; }
.foot-trust-chips span { font-size: 11.5px; }
.final-card .trust-line { color: var(--teal-on-dark-2); }
.cmp-source-note, .founder p { max-width: 72ch; }

/* ── Legacy emoji slots ──────────────────────────────────────────────
   These containers sized an emoji glyph with font-size and had no box of
   their own, so the stroke icon that replaced it rendered block-level at
   the left edge and lost its visual weight. They now get the same tinted
   tile as .pain-icon / .feat-icon elsewhere on the site. */
.b-icon, .ph-icon, .prob-icon, .fc-icon, .why-card .ic, .prof-emoji {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 12px; background: var(--accent-light);
  border: 1px solid var(--accent-border); color: var(--accent-dark);
}
.b-icon .ico, .ph-icon .ico, .prob-icon .ico,
.fc-icon .ico, .why-card .ic .ico, .prof-emoji .ico { width: 22px; height: 22px; }
.ph-icon { width: 56px; height: 56px; }
.ph-icon .ico { width: 26px; height: 26px; }
@media (min-width: 1240px) {
  /* The rails are tall, empty columns beside the prose; only their contents
     should be interactive so they never swallow a click near the text. */
  .article-toc, .article-rail { pointer-events: none; }
  .article-toc-inner, .article-rail-inner { pointer-events: auto; }
}

/* ── Text dropped onto a dark surface ────────────────────────────────
   A bare <p> or <a> inside a dark band inherits the page defaults and
   disappears — a link coloured --accent-dark on an --accent-dark card
   measured 1.00:1. Give the dark surfaces their own text defaults. */
.final-card p:not(.sd):not(.trust-line):not(.urgency), .final-card li,
.blog-news p:not(.sd) { color: var(--teal-on-dark-2); }
.final-card a:not(.cta), .blog-news a:not(.cta) {
  color: var(--white); text-decoration: underline; text-underline-offset: 3px;
}
.final-card a:not(.cta):hover, .blog-news a:not(.cta):hover { color: var(--teal-ink); }
