/* EXOBASIS subpage template v2 – one complete design system for every non-home page.
 * Header, navigation and footer keep their shared styles. Inside <main>, all older layout
 * rules are reset first and the page is built only from the rules below.
 * Homepages are excluded (#start.exb-page-home). Only presentation; never hides content. */

#start:not(.exb-page-home) {
  --ev-paper: #f5f3ee;
  --ev-surface: #fffefa;
  --ev-tint: #eae8e1;
  --ev-ink: #202625;
  --ev-muted: #5c655f;
  --ev-line: #d3d6cf;
  --ev-graphite: #171c1d;
  --ev-deep: #101617;
  --ev-on-dark: #f5f3ee;
  --ev-on-dark-muted: #cbd0c9;
  --ev-line-dark: rgba(245, 243, 238, .16);
  --ev-copper: #b64f2b;
  --ev-copper-hover: #9e3f20;
  --ev-copper-light: #e6a382;
  --ev-display: 'EXB Manrope', Arial, sans-serif;
  --ev-body: 'EXB Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --ev-wrap: 1240px;
  --ev-gutter: clamp(20px, 4.5vw, 64px);
  --ev-section: clamp(64px, 8vw, 128px);
  --ev-measure: 68ch;
  background: var(--ev-paper);
}

/* Legacy page reset owns only legacy content, never migrated Tailwind components. */
#start:not(.exb-page-home) main.exb-content-page :not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *),
#start:not(.exb-page-home) main.exb-content-page :not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *)::before,
#start:not(.exb-page-home) main.exb-content-page :not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *)::after { all: revert; }

#start:not(.exb-page-home) main.exb-content-page {
  display: block; margin: 0; padding: 0; background: var(--ev-paper); color: var(--ev-ink);
  font: 400 1.0625rem/1.7 var(--ev-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;

  /* Match the legacy reset specificity; preserve excluded country profiles and Tailwind. */
  & :not(svg, svg *), & :not(svg, svg *)::before, & :not(svg, svg *)::after,
  & :where(:not(.exb-page-country *)):not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *),
  & :where(:not(.exb-page-country *)):not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *)::before,
  & :where(:not(.exb-page-country *)):not(svg, svg *, [data-exb-tailwind], [data-exb-tailwind] *)::after { box-sizing: border-box; }
  & :is(h1, h2, h3, h4):not([data-exb-tailwind], [data-exb-tailwind] *) { margin: 0; font-family: var(--ev-display); font-weight: 650; color: inherit; text-wrap: balance; letter-spacing: 0; }
  & :is(p, ul, ol, dl, dd, figure, blockquote):not([data-exb-tailwind], [data-exb-tailwind] *) { margin: 0; }
  & img:not([data-exb-tailwind], [data-exb-tailwind] *) { display: block; max-width: 100%; height: auto; }
  & a:not([data-exb-tailwind], [data-exb-tailwind] *) { color: inherit; }
  & svg { flex: none; }
  & [hidden] { display: none; }
  & strong, & b { font-weight: 700; }
  & .exb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  & :is(a, button, summary, select, input, textarea):focus-visible { outline: 3px solid var(--ev-copper); outline-offset: 3px; }

  /* ---------- 2. Primitives ---------- */
  & .exb-wrap { display: block; width: 100%; max-width: calc(var(--ev-wrap) + 2 * var(--ev-gutter)); margin-inline: auto; padding-inline: var(--ev-gutter); }

  & .exb-eyebrow {
    display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
    font: 700 .75rem/1.3 var(--ev-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ev-copper);
  }
  & .exb-eyebrow::before { content: ""; flex: none; width: 32px; height: 2px; background: currentColor; }

  & .exb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 26px;
    background: var(--ev-copper); color: var(--ev-surface); border: 0; border-radius: 2px; cursor: pointer;
    font: 700 1rem/1.2 var(--ev-body); text-decoration: none; transition: background .2s, transform .2s;
  }
  & .exb-btn:hover { background: var(--ev-copper-hover); }
  & .exb-btn svg { width: 18px; height: 18px; transition: transform .2s; }
  & .exb-btn:hover svg { transform: translateX(3px); }
  & .exb-btn:disabled { opacity: .6; cursor: not-allowed; }

  & .exb-text-link {
    display: inline-flex; align-items: center; gap: 8px; color: var(--ev-copper); font-weight: 700;
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color .2s;
  }
  & .exb-text-link svg { width: 18px; height: 18px; transition: transform .2s; }
  & .exb-text-link:hover { color: var(--ev-copper-hover); }
  & .exb-text-link:hover svg { transform: translateX(3px); }
  & .exb-inline-link { color: var(--ev-copper); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  & .exb-small { font-size: .9rem; line-height: 1.6; color: var(--ev-muted); }
  & .exb-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

  /* Dark context: shared colour inversion */
  & :is(.exb-breadcrumb-shell, .exb-page-hero, .exb-country-hero, .exb-country-hub-hero, .exb-state-hero, .exb-dark, .exb-simple-question, .exb-page-closing) {
    --exb-muted: var(--ev-on-dark-muted); --exb-text: var(--ev-on-dark); --exb-ink: var(--ev-on-dark);
    & .exb-eyebrow { color: var(--ev-copper-light); }
    & .exb-btn { background: var(--ev-copper-light); color: var(--ev-graphite); }
    & .exb-btn:hover { background: var(--ev-on-dark); }
    & :is(.exb-text-link, .exb-inline-link) { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
    & :is(.exb-text-link, .exb-inline-link):hover { color: var(--ev-copper-light); }
    & .exb-text-link svg { color: var(--ev-copper-light); }
    & .exb-small { color: var(--ev-on-dark-muted); }
  }

  /* ---------- 3. Breadcrumb: continues the dark header ---------- */
  & .exb-breadcrumb-shell { display: block; background: var(--ev-graphite); border-bottom: 1px solid var(--ev-line-dark); }
  & .exb-page-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 14px 0; list-style: none; font-size: .8125rem; line-height: 1.4; color: var(--ev-on-dark-muted); }
  & .exb-page-breadcrumb li { display: inline-flex; align-items: center; }
  & .exb-page-breadcrumb li + li::before { content: "/"; margin: 0 12px; color: rgba(245, 243, 238, .35); }
  & .exb-page-breadcrumb a { text-decoration: none; }
  & .exb-page-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
  & .exb-page-breadcrumb [aria-current] { color: var(--ev-on-dark); }

  /* ---------- 4. Hero: dark, full-bleed motif like the homepage ---------- */
  & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero, .exb-state-hero) {
    position: relative; isolation: isolate; display: block; overflow: hidden;
    padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px);
    background: var(--ev-graphite);
    color: var(--ev-on-dark);
  }
  & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero):has(:is(.exb-page-hero-media, .exb-country-visual)) {
    min-height: min(80vh, 780px); display: flex; flex-direction: column; justify-content: center;
  }
  & :is(.exb-page-hero-grid, .exb-hero-frame, .exb-catalogue-hero, .exb-country-hub-grid, .exb-country-hero-grid) {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); align-items: center;
  }
  & :is(.exb-page-hero-copy, .exb-country-hero-copy, .exb-hero-text, .exb-catalogue-hero > div:first-child, .exb-country-hub-grid > div:first-child) { max-width: 720px; }
  & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero, .exb-state-hero) h1 {
    max-width: 18ch; margin: 0 0 28px; color: var(--ev-on-dark);
    font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.4rem); line-height: 1.03; letter-spacing: -.035em;
  }
  & .exb-country-name { display: block; color: var(--ev-copper-light); }
  & .exb-page-lead { max-width: 60ch; color: rgba(245, 243, 238, .86); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); line-height: 1.7; }
  & .exb-page-lead :is(p + p) { margin-top: 1em; }
  & .exb-page-lead strong { color: var(--ev-on-dark); }
  & .exb-page-lead a { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); text-underline-offset: 3px; }
  & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero) :is(.exb-page-actions, .exb-knowledge-jumps, .exb-country-jumps) { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
  & .exb-page-hero .exb-section-action { margin-top: 28px; max-width: 520px; }
  & .exb-page-hero .exb-section-action .exb-small { margin-bottom: 4px; }

  /* Full-bleed motif behind the copy */
  & :is(.exb-page-hero, .exb-country-hub-hero) .exb-page-hero-media,
  & .exb-country-hero .exb-country-visual { position: absolute; inset: 0; z-index: -1; margin: 0; }
  & :is(.exb-page-hero-media, .exb-country-visual) img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
  & :is(.exb-page-hero-media, .exb-country-visual)::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(16, 22, 23, .96) 0%, rgba(16, 22, 23, .9) 34%, rgba(16, 22, 23, .55) 62%, rgba(16, 22, 23, .25) 100%),
      linear-gradient(0deg, rgba(16, 22, 23, .85) 0%, transparent 38%);
  }

  /* Portrait (Arbeitsweise): framed, not full-bleed */
  & .exb-page-portrait { justify-self: end; width: min(100%, 380px); margin: 0; padding: 12px; background: rgba(245, 243, 238, .06); border: 1px solid var(--ev-line-dark); }
  & .exb-page-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  & .exb-page-portrait figcaption { display: flex; flex-direction: column; gap: 2px; padding: 16px 4px 4px; font-size: .9rem; color: var(--ev-on-dark-muted); }
  & .exb-page-portrait figcaption strong { color: var(--ev-on-dark); font-family: var(--ev-display); font-size: 1.05rem; }

  /* Country hero: caption and map sit bottom right */
  & .exb-country-hero-grid { align-items: end; }
  & .exb-country-hero-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
  & .exb-country-figure { margin: 0; }
  & .exb-country-figure figcaption { max-width: 340px; font-size: .78rem; line-height: 1.5; text-align: right; color: rgba(245, 243, 238, .66); }
  & .exb-country-figure figcaption a { color: inherit; }
  & .exb-country-map { width: min(100%, 360px); background: rgba(16, 22, 23, .72); border: 1px solid var(--ev-line-dark); backdrop-filter: blur(8px); }
  & .exb-country-map summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; font-size: .92rem; color: var(--ev-on-dark); }
  & .exb-country-map summary::-webkit-details-marker { display: none; }
  & .exb-country-map summary::after { content: "+"; color: var(--ev-copper-light); font-size: 1.2rem; line-height: 1; }
  & .exb-country-map[open] summary::after { content: "–"; }
  & .exb-country-map img { width: 100%; background: var(--ev-surface); }
  & .exb-country-map p { padding: 10px 18px 14px; font-size: .78rem; color: var(--ev-on-dark-muted); }

  /* Summary band at the bottom of the hero */
  & :is(.exb-summary-band, .exb-country-summary, .exb-catalogue-summary, .exb-country-hub-statement) {
    position: relative; margin-top: clamp(48px, 6vw, 88px); padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
    background: rgba(16, 22, 23, .78); border-top: 2px solid var(--ev-copper-light); backdrop-filter: blur(10px); color: var(--ev-on-dark);
  }
  & .exb-summary-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 3fr); gap: 8px clamp(28px, 4vw, 64px); align-items: start; }
  & .exb-summary-content > :not(dl) { grid-column: 1; }
  & .exb-summary-content .exb-eyebrow { margin-bottom: 4px; }
  & .exb-summary-title { font: 600 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.3 var(--ev-display); letter-spacing: -.015em; color: var(--ev-on-dark); }
  & .exb-summary-content dl { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px clamp(20px, 3vw, 40px); }
  & .exb-summary-content dl > div, & .exb-country-summary > div { padding-left: 20px; border-left: 1px solid var(--ev-line-dark); }
  & :is(.exb-summary-content, .exb-country-summary) dt { margin-bottom: 6px; font-weight: 700; font-size: .95rem; color: var(--ev-copper-light); }
  & :is(.exb-summary-content, .exb-country-summary) dd { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ev-on-dark-muted); }
  & .exb-country-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px clamp(20px, 3vw, 40px); }
  & .exb-country-summary-number { display: block; margin-bottom: 10px; font: 600 1.6rem/1 var(--ev-display); color: var(--ev-copper-light); }
  & .exb-catalogue-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.4fr); gap: 16px 40px; align-items: center; }
  & .exb-catalogue-summary .exb-eyebrow { margin: 0; }
  & :is(.exb-catalogue-summary, .exb-country-hub-statement) > p:not(.exb-eyebrow) { display: flex; flex-wrap: wrap; gap: 4px 18px; font: 600 clamp(1.25rem, 1rem + 1vw, 1.75rem)/1.2 var(--ev-display); letter-spacing: -.02em; }
  & :is(.exb-catalogue-summary, .exb-country-hub-statement) > p:not(.exb-eyebrow) span:nth-child(even) { color: var(--ev-copper-light); }
  & :is(.exb-catalogue-summary, .exb-country-hub-statement) > span { font-size: .95rem; color: var(--ev-on-dark-muted); }
  & .exb-country-hub-statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1.4fr); gap: 16px 40px; align-items: center; }
  & .exb-country-hub-statement .exb-eyebrow { margin: 0; }

  /* Overview openings end flush with the desktop viewport. This changes only
     their height; the approved content order and composition stay untouched. */
  @media (min-width: 1025px) {
    #start[data-exb-layout="laender-hub"] & .exb-country-hub-hero,
    #start[data-exb-layout="wissen-hub"] & .exb-knowledge-hero { min-height: calc(100svh - 130px); }
  }

  /* Hero without motif (legal, enquiry, states) */
  & :is(.exb-enquiry-heading, .exb-hero-text, .exb-state-hero > .exb-wrap) { max-width: calc(var(--ev-wrap) + 2 * var(--ev-gutter)); }
  & .exb-hero-text { display: block; }

  /* ---------- 5. Legal notice ---------- */
  & .exb-legal-warning {
    display: flex; flex-direction: column; gap: 6px; width: min(100% - 2 * var(--ev-gutter), var(--ev-wrap)); margin: clamp(40px, 5vw, 64px) auto 0;
    padding: 22px 26px; background: rgba(182, 79, 43, .07); border-left: 3px solid var(--ev-copper); font-size: .98rem; line-height: 1.6;
  }
  & .exb-legal-warning strong { font-family: var(--ev-display); color: var(--ev-copper-hover); }

  /* ---------- 6. Section heading (shared by scope, closing, enquiry) ---------- */
  & :is(.exb-page-section-heading h2, .exb-page-closing h2, .exb-enquiry-next > .exb-wrap > h2, .exb-form-heading h2, .exb-protected-grid h2, .exb-contact-options h2) {
    font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3rem); line-height: 1.08; letter-spacing: -.03em;
  }
  & .exb-page-section-heading { max-width: 900px; margin-bottom: clamp(36px, 4vw, 56px); }
  & .exb-page-section-heading h2 { max-width: 28ch; }

  /* ---------- 7. Scope ("Was du erhältst"): copy left, dark offer card right, results below ---------- */
  & .exb-page-scope { display: block; padding-block: var(--ev-section); background: var(--ev-surface); border-bottom: 1px solid var(--ev-line); }
  & .exb-page-scope > .exb-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
  & .exb-scope-copy { max-width: var(--ev-measure); }
  & .exb-scope-results {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: clamp(48px, 5vw, 80px);
  }
  & .exb-scope-results > div {
    display: flex; flex-direction: column; gap: 10px; padding: 32px 30px 34px; background: var(--ev-paper);
    border-top: 3px solid var(--ev-copper); transition: background .2s;
  }
  & .exb-scope-results > div:hover { background: var(--ev-tint); }
  & .exb-scope-number { display: block; margin-bottom: 8px; font: 600 2.6rem/1 var(--ev-display); letter-spacing: -.03em; color: var(--ev-copper); }
  & .exb-scope-results dt { font: 600 1.2rem/1.28 var(--ev-display); letter-spacing: -.01em; color: var(--ev-ink); }
  & .exb-scope-results dd { margin: 0; color: var(--ev-muted); line-height: 1.6; }
  & .exb-page-scope > .exb-wrap > .exb-page-actions { margin-top: 36px; }
  & .exb-page-scope > .exb-wrap > .exb-section-action { margin-top: 20px; max-width: 520px; }

  /* Two columns when the scope carries an offer (costs + actions) */
  & .exb-page-scope > .exb-wrap:has(.exb-scope-costs) {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 104px); align-items: start;
    & > .exb-page-section-heading { grid-column: 1 / -1; grid-row: 1; }
    & > .exb-scope-copy { grid-column: 1; grid-row: 2 / span 3; }
    & > :is(.exb-scope-costs, .exb-page-actions, .exb-section-action) {
      grid-column: 2; margin: 0; max-width: none; padding-inline: clamp(28px, 3vw, 40px);
      background: var(--ev-graphite); color: var(--ev-on-dark);
      --exb-muted: var(--ev-on-dark-muted); --exb-text: var(--ev-on-dark); --exb-ink: var(--ev-on-dark);
    }
    & > .exb-scope-costs { grid-row: 2; padding-top: clamp(28px, 3vw, 40px); padding-bottom: 28px; border-top: 3px solid var(--ev-copper-light); color: var(--ev-on-dark-muted); font-size: 1rem; }
    & > .exb-page-actions { grid-row: 3; padding-bottom: 8px; }
    & > .exb-section-action { grid-row: 4; padding-top: 20px; }
    & > :is(.exb-page-actions, .exb-section-action):last-child { padding-bottom: clamp(28px, 3vw, 40px); }
    & > :is(.exb-page-actions, .exb-section-action) .exb-btn { background: var(--ev-copper-light); color: var(--ev-graphite); }
    & > :is(.exb-page-actions, .exb-section-action) .exb-btn:hover { background: var(--ev-on-dark); }
    & > .exb-section-action :is(.exb-text-link, .exb-inline-link) { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
    & > .exb-section-action .exb-small { color: var(--ev-on-dark-muted); margin-bottom: 4px; }
    & > .exb-scope-results { grid-column: 1 / -1; grid-row: 5; }
  }

  /* ---------- 8. Prose ---------- */
  & .exb-prose-content { font-size: 1.125rem; line-height: 1.65; color: var(--ev-ink); }
  & .exb-prose-content > * + * { margin-top: 1.1em; }
  & .exb-prose-content :is(ul, ol) { padding-left: 1.3em; }
  & .exb-prose-content li + li { margin-top: .45em; }
  & .exb-prose-content li::marker { color: var(--ev-copper); }
  & .exb-prose-content h3 { margin-top: 2em; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
  & .exb-prose-content h4 { margin-top: 1.6em; font-size: 1.05rem; }
  & .exb-prose-content :is(h3, h4) + * { margin-top: .6em; }
  & .exb-prose-content a:not([class]), & .exb-context-link { color: var(--ev-copper); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  & .exb-prose-content a:not([class]):hover, & .exb-context-link:hover { color: var(--ev-copper-hover); }
  & :is(.exb-source-note, .exb-citation) { display: block; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--ev-line); font-size: .82rem; line-height: 1.55; color: var(--ev-muted); }
  & :is(.exb-source-note, .exb-citation) a { color: var(--ev-muted); text-decoration: underline; text-underline-offset: 2px; font-weight: 400; }
  & :is(.exb-source-note, .exb-citation) a svg { display: none; }

  /* Tables */
  & :is(.exb-criteria-table, .exb-country-table) { display: block; margin-top: 28px; overflow-x: auto; background: var(--ev-surface); border: 1px solid var(--ev-line); }
  & :is(.exb-criteria-table, .exb-country-table) table { display: table; width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; font-variant-numeric: tabular-nums; }
  & :is(.exb-criteria-table, .exb-country-table) caption { caption-side: top; padding: 18px 22px; text-align: left; font: 600 1.05rem/1.35 var(--ev-display); color: var(--ev-ink); border-bottom: 1px solid var(--ev-line); }
  & :is(.exb-criteria-table, .exb-country-table) :is(th, td) { padding: 14px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ev-line); }
  & :is(.exb-criteria-table, .exb-country-table) thead th { background: var(--ev-graphite); color: var(--ev-on-dark); font: 700 .75rem/1.35 var(--ev-body); letter-spacing: .1em; text-transform: uppercase; }
  & :is(.exb-criteria-table, .exb-country-table) tbody th { font-weight: 700; color: var(--ev-ink); }
  & :is(.exb-criteria-table, .exb-country-table) tbody tr:nth-child(even) { background: var(--ev-paper); }
  & :is(.exb-criteria-table, .exb-country-table) tbody tr:last-child > * { border-bottom: 0; }
  & .exb-table-hint { display: none; font-size: .82rem; color: var(--ev-muted); }

  /* ---------- 9. Reading area: overview first, then full-width section rows ---------- */
  & .exb-editorial-layout { display: block; padding-block: clamp(48px, 6vw, 88px) 0; }
  & .exb-page-toc { display: block; margin: 0 0 clamp(48px, 5vw, 72px); background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-graphite); }
  & .exb-toc-disclosure summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 28px; cursor: pointer; list-style: none;
    font: 700 .75rem/1.3 var(--ev-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ev-ink);
  }
  & .exb-toc-disclosure summary::-webkit-details-marker { display: none; }
  & .exb-toc-disclosure summary .exb-eyebrow { margin: 0; color: var(--ev-ink); }
  & .exb-toc-disclosure summary .exb-eyebrow::before { background: var(--ev-copper); }
  & .exb-toc-disclosure summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--ev-copper); }
  & .exb-toc-disclosure[open] summary::after { content: "–"; }
  & .exb-page-toc ol { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0 28px 20px; list-style: none; counter-reset: toc; }
  & .exb-page-toc li { counter-increment: toc; border-top: 1px solid var(--ev-line); }
  & .exb-page-toc li a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; font-size: .95rem; line-height: 1.4; text-decoration: none; }
  & .exb-page-toc li a::before { content: counter(toc, decimal-leading-zero); flex: none; font: 700 .72rem/1 var(--ev-body); letter-spacing: .08em; color: var(--ev-copper); }
  & .exb-page-toc li a:hover { text-decoration: underline; text-underline-offset: 3px; }

  & .exb-editorial-main { display: block; }
  & :is(.exb-editorial-section, .exb-catalogue-group, .exb-next-work) {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: clamp(56px, 6vw, 96px);
    border-top: 1px solid var(--ev-line); scroll-margin-top: 96px;
  }
  & .exb-editorial-main > :first-child { border-top: 0; padding-top: 0; }
  /* Alternate full-width bands for clear separation */
  & .exb-editorial-main > :is(.exb-editorial-section, .exb-catalogue-group):nth-child(even) {
    background: var(--ev-surface); border-top-color: transparent;
  }
  & .exb-editorial-main > :is(.exb-editorial-section, .exb-catalogue-group):nth-child(even) + * { border-top-color: transparent; }

  & .exb-editorial-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  & .exb-section-number { display: inline-flex; align-items: center; gap: 12px; font: 700 .78rem/1 var(--ev-body); letter-spacing: .14em; color: var(--ev-copper); }
  & .exb-section-number::after { content: ""; width: 32px; height: 2px; background: currentColor; }
  & .exb-editorial-heading h2 { max-width: 32ch; font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem); line-height: 1.2; letter-spacing: 0; color: var(--ev-ink); }
  & .exb-editorial-body { display: block; min-width: 0; max-width: 65ch; }
  & .exb-editorial-body > * + * { margin-top: 28px; }
  & .exb-editorial-section-wide .exb-editorial-body { max-width: none; }
  & .exb-editorial-section-wide .exb-editorial-body .exb-prose-content > :is(p, ul, ol, h3, h4) { max-width: var(--ev-measure); }
  & .exb-editorial-section > .exb-editorial-heading { padding-bottom: 24px; border-bottom: 1px solid var(--ev-line); }
  & .exb-editorial-section > .exb-editorial-body { margin-top: 32px; }
  & .exb-editorial-main > .exb-editorial-section:nth-child(3n + 2) > .exb-editorial-body { margin-left: clamp(0px, 4vw, 80px); }
  & .exb-editorial-main > .exb-editorial-section:nth-child(3n) > .exb-editorial-body { margin-left: auto; margin-right: clamp(0px, 3vw, 56px); }
  & .exb-editorial-section-wide > .exb-editorial-body { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }

  /* Related links as clear destinations */
  & :is(.exb-section-links, .exb-related-links) { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 28px; }
  & .exb-related-links > :is(h3, p) { grid-column: 1 / -1; }
  & .exb-related-link, & .exb-related-links li > a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
    background: var(--ev-surface); border: 1px solid var(--ev-line); border-left: 3px solid var(--ev-copper);
    color: var(--ev-ink); font-weight: 700; line-height: 1.35; text-decoration: none; transition: border-color .2s, transform .2s;
  }
  & .exb-related-link::after, & .exb-related-links li > a::after { content: "→"; color: var(--ev-copper); transition: transform .2s; }
  & .exb-related-link:hover, & .exb-related-links li > a:hover { border-color: var(--ev-copper); transform: translateY(-2px); }
  & .exb-related-link:hover::after { transform: translateX(4px); }
  & .exb-related-link svg { display: none; }
  & .exb-related-links :is(ul, ol) { display: contents; list-style: none; }
  & .exb-related-links li { margin: 0; }
  & .exb-editorial-main > :nth-child(even) :is(.exb-related-link, .exb-related-links li > a) { background: var(--ev-paper); }

  /* Role grid, examples, simple question, next work */
  & .exb-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  & .exb-role-grid > div { padding: 26px 26px 28px; background: var(--ev-paper); border-top: 3px solid var(--ev-graphite); }
  & .exb-role-grid > div:first-child { border-top-color: var(--ev-copper); }
  & .exb-role-grid dt { margin-bottom: 8px; font: 600 1.1rem/1.3 var(--ev-display); }
  & .exb-role-grid dd { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--ev-muted); }
  & .exb-editorial-main > :nth-child(odd) .exb-role-grid > div { background: var(--ev-surface); }
  & :is(.exb-method-example, .exb-example-note) { display: block; padding: 22px 26px; background: var(--ev-tint); border-left: 3px solid var(--ev-copper); }
  & .exb-section-action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

  & .exb-simple-question {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block: clamp(40px, 5vw, 64px);
    padding: clamp(32px, 4vw, 52px); background: var(--ev-graphite); color: var(--ev-on-dark); border-left: 3px solid var(--ev-copper-light);
  }
  & .exb-simple-question h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ev-on-dark); }
  & .exb-simple-question .exb-editorial-body { color: var(--ev-on-dark-muted); max-width: 64ch; }
  & .exb-simple-question .exb-editorial-body > * + * { margin-top: 1em; }
  & .exb-simple-question a { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }

  & .exb-next-work { margin-bottom: clamp(56px, 6vw, 96px); padding: clamp(32px, 4vw, 52px); background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-copper); }
  & .exb-next-work .exb-editorial-heading h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }

  /* ---------- 10. Catalogue: service cards ---------- */
  & .exb-group-intro { max-width: var(--ev-measure); font-size: 1.1rem; line-height: 1.7; color: var(--ev-muted); }
  & .exb-catalogue-context { max-width: var(--ev-measure); }
  & .exb-service-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 12px; }
  & .exb-catalogue-group > .exb-service-cards { grid-column: 1 / -1; }
  & .exb-service-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px;
    background: var(--ev-paper); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-copper); transition: border-color .2s, background .2s;
  }
  & .exb-editorial-main > :nth-child(odd) .exb-service-card { background: var(--ev-surface); }
  & .exb-service-card:hover { border-color: var(--ev-copper); background: var(--ev-tint); }
  & .exb-service-card h3 { font-size: 1.2rem; line-height: 1.28; letter-spacing: -.01em; }
  & .exb-card-title { color: var(--ev-ink); text-decoration: none; }
  & .exb-card-title::after { content: ""; position: absolute; inset: 0; }
  & .exb-service-card p { flex: 1; font-size: .98rem; line-height: 1.6; color: var(--ev-muted); }
  & .exb-card-cue { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ev-copper); }
  & .exb-card-cue svg { width: 16px; height: 16px; transition: transform .2s; }
  & .exb-service-card:hover .exb-card-cue svg { transform: translateX(4px); }

  /* ---------- 11. Countries ---------- */
  & .exb-country-groups-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
  & .exb-country-groups-nav a { padding: 9px 16px; border: 1px solid var(--ev-line); background: var(--ev-surface); color: var(--ev-ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
  & .exb-country-groups-nav a:hover { border-color: var(--ev-copper); color: var(--ev-copper); }
  & .exb-country-groups-nav a svg { display: none; }
  & .exb-country-subnav { display: grid; gap: 8px; padding: 0; list-style: none; }
  & .exb-country-subnav a { color: var(--ev-copper); font-weight: 700; text-underline-offset: 4px; }
  & .exb-country-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
  & .exb-country-group > :is(h3, p) { grid-column: 1 / -1; max-width: var(--ev-measure); }
  & .exb-country-group > h3 { font-size: 1.5rem; letter-spacing: -.02em; scroll-margin-top: 96px; }
  & .exb-country-group > p { color: var(--ev-muted); }
  & :is(.exb-country-directory-item, .exb-country-comparisons > article, .exb-country-extra) {
    display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-copper); font-size: .97rem; line-height: 1.6;
  }
  & .exb-editorial-main > :nth-child(even) :is(.exb-country-directory-item, .exb-country-comparisons > article, .exb-country-extra) { background: var(--ev-paper); }
  & .exb-country-directory-item h4 { font-size: 1.25rem; letter-spacing: -.015em; }
  & .exb-country-directory-item .exb-source-note { margin-top: auto; }
  & .exb-country-comparisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
  & .exb-country-comparisons > h3 { grid-column: 1 / -1; font-size: 1.35rem; }
  & .exb-country-extra { margin-top: 20px; }
  & .exb-country-extra h3 { font-size: 1.15rem; }
  & :is(.exb-country-related, .exb-origin-alternatives) { display: block; margin-top: 28px; }
  & .exb-country-action {
    display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 32px; padding: clamp(28px, 3.5vw, 44px);
    background: var(--ev-graphite); color: var(--ev-on-dark-muted); border-left: 3px solid var(--ev-copper-light);
    & .exb-btn { background: var(--ev-copper-light); color: var(--ev-graphite); }
    & .exb-btn:hover { background: var(--ev-on-dark); }
    & .exb-text-link { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
  }
  & .exb-country-action .exb-text-link { display: none; }

  /* ---------- 12. Contact channel (shown as finished link) ---------- */
  & .exb-channel-disabled {
    position: relative; display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 16px 52px 16px 18px;
    background: var(--ev-surface); border: 1px solid var(--ev-line); border-left: 3px solid var(--ev-copper); color: var(--ev-ink);
    cursor: pointer; transition: border-color .2s;
  }
  & .exb-channel-disabled > svg { width: 22px; height: 22px; color: var(--ev-copper); }
  & .exb-channel-disabled > span { display: flex; flex-direction: column; gap: 2px; }
  & .exb-channel-disabled strong { font-weight: 700; line-height: 1.3; }
  & .exb-channel-disabled small { font-size: 0; }
  & .exb-channel-disabled small::after { font-size: .82rem; line-height: 1.4; color: var(--ev-muted); }
  & .exb-channel-disabled::after { content: "→"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--ev-copper); transition: transform .2s; }
  & .exb-channel-disabled:hover { border-color: var(--ev-copper); }
  & .exb-channel-disabled:hover::after { transform: translate(4px, -50%); }
  & :is(.exb-page-hero, .exb-dark, .exb-page-closing, .exb-page-scope .exb-section-action) .exb-channel-disabled {
    background: rgba(245, 243, 238, .06); border-color: var(--ev-line-dark); border-left-color: var(--ev-copper-light); color: var(--ev-on-dark);
  }
  & :is(.exb-page-hero, .exb-dark, .exb-page-closing, .exb-page-scope .exb-section-action) .exb-channel-disabled > svg,
  & :is(.exb-page-hero, .exb-dark, .exb-page-closing, .exb-page-scope .exb-section-action) .exb-channel-disabled::after { color: var(--ev-copper-light); }
  & :is(.exb-page-hero, .exb-dark, .exb-page-closing, .exb-page-scope .exb-section-action) .exb-channel-disabled small::after { color: var(--ev-on-dark-muted); }
  & .exb-page-scope .exb-section-action .exb-channel-disabled { max-width: none; }

  /* ---------- 13. Closing band ---------- */
  & .exb-page-closing {
    display: block; padding-block: var(--ev-section); color: var(--ev-on-dark);
    background: var(--ev-graphite);
  }
  & .exb-country-closing { display: block; padding-block: var(--ev-section); background: var(--ev-graphite); color: var(--ev-on-dark); }
  & .exb-country-closing h2 { max-width: 22ch; font-size: clamp(1.9rem, 1.2rem + 2.1vw, 3rem); line-height: 1.2; color: var(--ev-on-dark); }
  & .exb-closing-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 104px); align-items: end; }
  & .exb-page-closing h2 { max-width: 20ch; color: var(--ev-on-dark); }
  & .exb-closing-lead { max-width: 56ch; margin-top: 24px; font-size: 1.15rem; line-height: 1.7; color: var(--ev-on-dark-muted); }
  & .exb-page-closing .exb-catalogue-context { margin-top: 20px; color: var(--ev-on-dark-muted); }
  & .exb-closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(28px, 3vw, 40px); background: rgba(245, 243, 238, .05); border: 1px solid var(--ev-line-dark); border-top: 2px solid var(--ev-copper-light); }
  & .exb-closing-actions p { font-size: .98rem; line-height: 1.6; color: var(--ev-on-dark-muted); }
  & .exb-closing-small { display: block; margin-top: 4px; font-size: .88rem; line-height: 1.6; color: var(--ev-on-dark-muted); }

  /* ---------- 14. Enquiry ---------- */
  & :is(.exb-contact-options, .exb-protected-options, .exb-enquiry-form-section, .exb-enquiry-next) { display: block; padding-block: var(--ev-section); }
  & .exb-contact-options { padding-bottom: 0; }
  & .exb-contact-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  & :is(.exb-contact-call, .exb-contact-write, .exb-contact-assessment) { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(32px, 4vw, 52px); }
  & .exb-contact-call { background: var(--ev-graphite); color: var(--ev-on-dark-muted); border-top: 3px solid var(--ev-copper-light); }
  & .exb-contact-call h2 { color: var(--ev-on-dark); }
  & .exb-contact-write { background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-copper); color: var(--ev-muted); }
  & .exb-contact-assessment { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; align-items: center; gap: 12px 40px; background: var(--ev-tint); border-top: 1px solid var(--ev-line); }
  & .exb-contact-assessment .exb-eyebrow { grid-column: 1; margin: 0; }
  & .exb-contact-assessment h2 { grid-column: 1; }
  & .exb-contact-assessment > p:not(.exb-eyebrow) { grid-column: 2; grid-row: 1 / span 2; color: var(--ev-muted); }
  & .exb-contact-assessment .exb-text-link { grid-column: 3; grid-row: 1 / span 2; }
  & .exb-contact-write h2 { color: var(--ev-ink); }
  & :is(.exb-contact-call, .exb-contact-write) h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
  & .exb-protected-options { background: var(--ev-surface); border-block: 1px solid var(--ev-line); margin-top: var(--ev-section); }
  & .exb-protected-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center; }
  & .exb-protected-grid > div:first-child > * + * { margin-top: 20px; }
  & .exb-channel-list { display: flex; flex-direction: column; gap: 12px; }
  & .exb-channel-list .exb-channel-disabled { max-width: none; }
  & .exb-form-container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
  & .exb-form-heading > * + * { margin-top: 18px; }
  & .exb-form-intro { color: var(--ev-muted); }
  & .exb-local-notice { display: flex; gap: 14px; padding: 18px 20px; background: rgba(182, 79, 43, .07); border-left: 3px solid var(--ev-copper); font-size: .92rem; line-height: 1.55; }
  & .exb-local-notice svg { width: 20px; height: 20px; color: var(--ev-copper); margin-top: 2px; }
  & #exb-enquiry-form { margin: 0; padding: clamp(28px, 3.5vw, 44px); background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-graphite); }
  & #exb-enquiry-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 22px; }
  & .exb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  & .exb-field-group { display: flex; flex-direction: column; gap: 6px; }
  & .exb-field-group label { font-weight: 700; font-size: .95rem; color: var(--ev-ink); }
  & .exb-field-help { font-size: .84rem; line-height: 1.5; color: var(--ev-muted); }
  & .exb-field-group :is(input, select, textarea) {
    width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.5 var(--ev-body); color: var(--ev-ink);
    background: var(--ev-surface); border: 1px solid var(--ev-line); border-radius: 2px; transition: border-color .2s;
  }
  & .exb-field-group textarea { min-height: 140px; resize: vertical; }
  & .exb-field-group :is(input, select, textarea):focus { outline: 3px solid var(--ev-copper); outline-offset: 3px; border-color: var(--ev-copper); }
  & .exb-field-error { font-size: .85rem; font-weight: 700; color: #a2281e; }
  & .exb-form-error-summary { padding: 16px 18px; border-left: 3px solid #a2281e; background: rgba(162, 40, 30, .06); }
  & .exb-form-privacy { font-size: .9rem; color: var(--ev-muted); }
  & .exb-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
  & .exb-preview-check { min-height: 52px; padding: 12px 22px; background: transparent; border: 1px solid var(--ev-ink); color: var(--ev-ink); font: 700 .95rem/1.2 var(--ev-body); cursor: pointer; }
  & .exb-preview-check:hover { border-color: var(--ev-copper); color: var(--ev-copper); }
  & .exb-form-status { font-size: .92rem; color: var(--ev-muted); }
  & .exb-enquiry-next { background: var(--ev-surface); border-top: 1px solid var(--ev-line); }
  & .exb-enquiry-next > .exb-wrap > * + * { margin-top: 32px; }
  & .exb-next-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; padding: 0; list-style: none; }
  & .exb-next-steps li { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; background: var(--ev-paper); border-top: 3px solid var(--ev-copper); }
  & .exb-next-steps .exb-section-number { font-size: 2.2rem; font-family: var(--ev-display); font-weight: 600; letter-spacing: -.02em; }
  & .exb-next-steps .exb-section-number::after { display: none; }
  & .exb-next-steps h3 { font-size: 1.15rem; }
  & .exb-next-steps p { color: var(--ev-muted); font-size: .98rem; line-height: 1.6; }
  & .exb-existing-client { display: block; margin-top: 56px; padding: clamp(28px, 3.5vw, 44px); background: var(--ev-paper); border-left: 3px solid var(--ev-graphite); }
  & .exb-existing-client h2 { font-size: 1.4rem; margin-bottom: 14px; }

  /* ---------- 15. State pages (404, confirmation) ---------- */
  & :is(.exb-state-content, .exb-state-note, .exb-state-choices) { display: block; }
  & .exb-state-hero .exb-state-note { margin-top: 24px; color: var(--ev-on-dark-muted); max-width: 60ch; }
  & .exb-state-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; }
  & .exb-state-grid article { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--ev-surface); border: 1px solid var(--ev-line); border-top: 3px solid var(--ev-copper); }
  & .exb-state-grid .exb-card-title { color: var(--ev-ink); }
  & .exb-state-grid p { color: var(--ev-muted); font-size: .97rem; line-height: 1.6; }
  & .exb-state-choices { margin-top: 32px; }
}

/* ---------- 16. Desktop: section rows (heading | text), overview panel open ---------- */
@media (min-width: 1024px) {
  #start:not(.exb-page-home) main.exb-content-page {
    & .exb-toc-disclosure::details-content { content-visibility: visible; display: contents; }
    & .exb-toc-disclosure summary { cursor: default; pointer-events: none; padding-bottom: 8px; }
    & .exb-toc-disclosure summary::after { display: none; }
    & .exb-page-toc ol { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; padding-bottom: 24px; }

    & :is(.exb-editorial-section, .exb-catalogue-group, .exb-next-work):not(.exb-editorial-section-wide) { grid-template-columns: minmax(0, 1fr); align-items: start; }
    & .exb-catalogue-group > .exb-editorial-heading { grid-row: 1 / span 2; }
    & .exb-catalogue-group > :not(.exb-editorial-heading, .exb-service-cards) { grid-column: 2; }
    & .exb-catalogue-group > .exb-service-cards { margin-top: 24px; }
    & .exb-editorial-section-wide { gap: 32px; }
    & .exb-editorial-section-wide .exb-editorial-heading h2 { max-width: 30ch; }
    & .exb-simple-question { grid-template-columns: minmax(0, 1fr); }
  }
}

/* ---------- 17. Tablet and phone ---------- */
@media (max-width: 899.98px) {
  #start:not(.exb-page-home) main.exb-content-page {
    & .exb-page-breadcrumb ol { flex-wrap: nowrap; gap: 0; padding-block: 0; }
    & .exb-page-breadcrumb li { min-width: 0; flex: 0 1 auto; }
    & .exb-page-breadcrumb li:first-child { flex: none; }
    & .exb-page-breadcrumb li:last-child { flex: 1 0 35%; }
    & .exb-page-breadcrumb li + li::before { flex: none; margin: 0 8px; }
    & .exb-page-breadcrumb :is(a,[aria-current]) { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 44px; }
    & .exb-page-breadcrumb a:focus-visible { outline-offset: -3px; }
    & :is(.exb-page-hero-grid, .exb-hero-frame, .exb-catalogue-hero, .exb-country-hub-grid, .exb-country-hero-grid, .exb-closing-grid, .exb-protected-grid, .exb-form-container, .exb-contact-options-grid) { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
    & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero) { min-height: 0; padding-top: 48px; }
    /* Motif becomes a framed image below the text */
    & :is(.exb-page-hero, .exb-country-hub-hero) .exb-page-hero-media,
    & .exb-country-hero .exb-country-visual { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; }
    & :is(.exb-page-hero-media, .exb-country-visual)::after { background: linear-gradient(0deg, rgba(16, 22, 23, .35), transparent 50%); }
    & .exb-country-hero-grid > div:last-child { align-items: stretch; }
    & .exb-country-figure figcaption { max-width: none; text-align: left; margin-top: 10px; }
    & .exb-country-map { width: 100%; }
    & .exb-page-portrait { justify-self: start; width: min(100%, 320px); }
    & .exb-summary-content { grid-template-columns: minmax(0, 1fr); }
    & .exb-summary-content dl { grid-column: 1; grid-row: auto; margin-top: 16px; }
    & :is(.exb-catalogue-summary, .exb-country-hub-statement) { grid-template-columns: minmax(0, 1fr); }
    & .exb-page-scope > .exb-wrap:has(.exb-scope-costs) { grid-template-columns: minmax(0, 1fr); }
    & .exb-page-scope > .exb-wrap:has(.exb-scope-costs) > :is(*, .exb-page-section-heading, .exb-scope-copy, .exb-scope-costs, .exb-page-actions, .exb-section-action, .exb-scope-results) { grid-column: 1; grid-row: auto; }
    & .exb-page-scope > .exb-wrap:has(.exb-scope-costs) > .exb-scope-costs { margin-top: 36px; }
    & .exb-page-scope > .exb-wrap:has(.exb-scope-costs) > .exb-scope-results { margin-top: 40px; }
    & .exb-form-grid { grid-template-columns: minmax(0, 1fr); }
    & .exb-table-hint { display: block; }
    & .exb-page-closing h2 { max-width: none; }
    & .exb-contact-assessment { grid-template-columns: minmax(0, 1fr); }
    & .exb-contact-assessment > * { grid-column: 1 !important; grid-row: auto !important; }
  }
}
@media (max-width: 599.98px) {
  #start:not(.exb-page-home) main.exb-content-page {
    & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero, .exb-state-hero) h1 { font-size: clamp(2.05rem, 1.4rem + 3.2vw, 2.6rem); hyphens: auto; }
    & :is(.exb-page-hero, .exb-country-hero, .exb-country-hub-hero) .exb-page-actions { flex-direction: column; align-items: stretch; }
    & .exb-page-actions .exb-btn { width: 100%; }
    & :is(.exb-summary-band, .exb-country-summary, .exb-catalogue-summary, .exb-country-hub-statement) { margin-inline: calc(-1 * var(--ev-gutter)); }
    & .exb-editorial-heading h2 { hyphens: auto; }
    & :is(.exb-criteria-table, .exb-country-table) { margin-inline: calc(-1 * var(--ev-gutter)); border-inline: 0; }
    & .exb-page-toc { margin-inline: calc(-1 * var(--ev-gutter)); border-inline: 0; }
    & .exb-toc-disclosure summary, & .exb-page-toc ol { padding-inline: var(--ev-gutter); }
    & :is(.exb-simple-question, .exb-next-work, .exb-country-action) { margin-inline: calc(-1 * var(--ev-gutter)); }
  }
}

/* Channel subtitles (design preview of the finished contact links) */
html[lang^="de"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="cryptpad"].exb-channel-disabled small::after { content: "Ende-zu-Ende verschlüsselt über CryptPad"; }
html[lang^="de"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="email"].exb-channel-disabled small::after { content: "Direkt und diskret per E-Mail"; }
html[lang^="de"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="simplex"].exb-channel-disabled small::after { content: "Privater Kanal ohne Telefonnummer"; }
html[lang^="en"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="cryptpad"].exb-channel-disabled small::after { content: "End-to-end encrypted via CryptPad"; }
html[lang^="en"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="email"].exb-channel-disabled small::after { content: "Direct and discreet by email"; }
html[lang^="en"] #start:not(.exb-page-home) main.exb-content-page [data-contact-channel="simplex"].exb-channel-disabled small::after { content: "Private channel without a phone number"; }

@media (prefers-reduced-motion: reduce) {
  #start:not(.exb-page-home) main.exb-content-page * { transition: none !important; animation: none !important; }
}

/* Nested outline entries (country hub) */
#start:not(.exb-page-home) main.exb-content-page {
  & .exb-page-toc li ol { display: block; margin: 0; padding: 0 0 12px 30px; counter-reset: none; }
  & .exb-page-toc li li { counter-increment: none; border-top: 0; }
  & .exb-page-toc li li a { padding: 5px 0; font-size: .88rem; font-weight: 400; color: var(--ev-muted); }
  & .exb-page-toc li li a::before { content: none; }
}

/* Knowledge overviews: paired-language editorial chapters, not offset text columns. */
#start[data-exb-layout="wissen-hub"]:has(.exb-knowledge-overview) {
  & main.exb-content-page {
    font-size: 1.125rem;
    & :is(h1, h2, h3, .exb-eyebrow, .exb-section-number) { letter-spacing: 0; }
    & .exb-knowledge-hero { min-height: 0; padding-block: 64px 40px; }
    & .exb-page-hero h1 { font-size: 3.5rem; line-height: 1.12; max-width: 21ch; }
    & .exb-page-lead { font-size: 1.125rem; line-height: 1.75; }
    & .exb-knowledge-jumps > a:first-child { font-weight: 700; text-decoration: underline; text-decoration-color: var(--ev-copper-light); text-underline-offset: 6px; }
    & .exb-knowledge-summary { margin-top: 40px; padding: 24px 0 0; background: transparent; backdrop-filter: none; border-top: 1px solid var(--ev-line-dark); }
    & .exb-summary-content { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    & .exb-summary-content dl { grid-column: 1; grid-row: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
    & .exb-summary-content dt { font-size: 1.125rem; }
    & .exb-summary-content dd { font-size: 1rem; }
    & .exb-knowledge-overview { padding-top: 40px; }
    & .exb-page-toc { margin-bottom: 48px; border: 0; border-block: 1px solid var(--ev-line); background: transparent; }
    & .exb-toc-disclosure summary { padding-inline: 0; }
    & .exb-page-toc ol { padding-inline: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
    & .exb-page-toc li a { font-size: 1rem; min-height: 48px; }
    & .exb-knowledge-chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; padding-block: 56px; border-top: 1px solid var(--ev-line); scroll-margin-top: 100px; }
    & .exb-knowledge-chapter:first-child { padding-top: 0; border-top: 0; }
    & .exb-knowledge-chapter .exb-editorial-heading { position: static; gap: 20px; }
    & .exb-editorial-heading h2 { max-width: 24ch; font-size: 2rem; line-height: 1.25; }
    & .exb-section-number { font-size: 1rem; }
    & .exb-knowledge-chapter-content { min-width: 0; }
    & .exb-knowledge-chapter-content > .exb-prose-content { max-width: 70ch; font-size: 1.125rem; line-height: 1.75; }
    & .exb-knowledge-destinations { margin-top: 28px; }
    & .exb-related-links { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
    & .exb-context-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 16px; min-height: 52px; border-bottom: 1px solid var(--ev-line); font-size: 1rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
    & .exb-context-link > span:last-child { color: var(--ev-copper); flex: none; }
    & .exb-context-link:hover { text-decoration: underline; text-decoration-color: var(--ev-copper); text-underline-offset: 4px; }
    & .exb-knowledge-topics { grid-template-columns: minmax(0, 1fr); background: var(--ev-surface); box-shadow: 0 0 0 100vmax var(--ev-surface); clip-path: inset(0 -100vmax); }
    & .exb-knowledge-topics > .exb-editorial-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; gap: 24px; }
    & .exb-knowledge-topics h2 { max-width: none; }
    & .exb-knowledge-topic-list { display: block; }
    & .exb-knowledge-topic { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; padding-block: 32px; border-top: 1px solid var(--ev-line); }
    & .exb-knowledge-topic:last-child { padding-bottom: 0; }
    & .exb-knowledge-topic-heading h3 { font: 600 1.5rem/1.4 var(--ev-display); color: var(--ev-ink); }
    & .exb-knowledge-topic-copy { min-width: 0; }
    & .exb-knowledge-topic-copy p { font-size: 1.125rem; line-height: 1.75; max-width: 70ch; }
    & .exb-knowledge-topic-copy .exb-related-links { margin-top: 16px; }
    & .exb-knowledge-finale { background: var(--ev-graphite); color: var(--ev-on-dark); box-shadow: 0 0 0 100vmax var(--ev-graphite); clip-path: inset(0 -100vmax); }
    & .exb-knowledge-finale h2 { color: var(--ev-on-dark); }
    & .exb-knowledge-finale .exb-prose-content { color: var(--ev-on-dark-muted); }
    & .exb-knowledge-finale :is(.exb-prose-content a, .exb-context-link, .exb-text-link) { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
    & .exb-knowledge-finale :is(.exb-eyebrow, .exb-context-link > span:last-child) { color: var(--ev-copper-light); }
    & .exb-knowledge-finale .exb-section-number { color: var(--ev-copper-light); }
    & .exb-knowledge-finale .exb-context-link { border-color: var(--ev-line-dark); }
    & .exb-knowledge-finale .exb-knowledge-action { margin-top: 32px; padding: 28px 0 0; border: 0; border-top: 1px solid var(--ev-line-dark); background: transparent; }
    & .exb-knowledge-action-title { margin-block: 16px 24px; font: 600 1.5rem/1.4 var(--ev-display); }
    & .exb-knowledge-action .exb-small { margin-block: 20px; font-size: 1rem; line-height: 1.65; color: var(--ev-on-dark-muted); }

    /* Same framed brand-motif language as the services overview. */
    & .exb-knowledge-motif { position: relative; isolation: isolate; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--ev-copper); }
    & .exb-knowledge-motif::after { content: ""; position: absolute; inset: 0 0 12px; z-index: 1; pointer-events: none; background: linear-gradient(145deg, rgba(182, 79, 43, .12) 0%, rgba(23, 28, 29, .02) 48%, rgba(23, 28, 29, .28) 100%); }
    & .exb-knowledge-motif::before { content: ""; position: absolute; inset: 14px 14px 26px; z-index: 2; pointer-events: none; border: 1px solid rgba(245, 243, 238, .4); }
    & .exb-knowledge-motif img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    & .exb-knowledge-chapter:has(.exb-knowledge-motif) {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; align-items: start;
      & > .exb-editorial-heading { grid-column: 1; grid-row: 1; }
      & > .exb-knowledge-motif { grid-column: 1; grid-row: 2; align-self: stretch; display: flex; }
      & > .exb-knowledge-motif { min-height: 140px; }
      & > .exb-knowledge-motif img { position: absolute; inset: 0 0 12px; height: calc(100% - 12px); aspect-ratio: auto; }
      & > .exb-knowledge-chapter-content { grid-column: 2; grid-row: 1 / span 2; }
      & > .exb-knowledge-action { grid-column: 1 / -1; grid-row: 3; }
    }
    /* Content column ends flush with the image: no trailing gap after the last link. */
    & .exb-knowledge-chapter-content > :last-child { margin-bottom: 0; }
    & .exb-knowledge-chapter-content .exb-context-link:last-child { border-bottom: 1px solid var(--ev-line); }

    /* Closing chapter: light paper ground with one dark action panel, clearly separated from the footer. */
    & .exb-knowledge-finale { background: var(--ev-surface); color: var(--ev-ink); box-shadow: 0 0 0 100vmax var(--ev-surface); padding-block: 72px 96px; }
    & .exb-knowledge-finale h2 { color: var(--ev-ink); }
    & .exb-knowledge-finale .exb-prose-content { color: var(--ev-ink); }
    & .exb-knowledge-finale .exb-knowledge-chapter-content > .exb-prose-content a { color: var(--ev-copper); text-decoration-color: var(--ev-copper); }
    & .exb-knowledge-finale :is(.exb-section-number, .exb-context-link > span:last-child) { color: var(--ev-copper); }
    & .exb-knowledge-finale .exb-knowledge-destinations .exb-context-link { color: var(--ev-copper); border-color: var(--ev-line); }
    & .exb-knowledge-finale .exb-knowledge-action { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 64px; align-items: center; margin-top: 24px; padding: 48px; background: var(--ev-graphite); color: var(--ev-on-dark); border: 0; border-left: 3px solid var(--ev-copper-light); border-radius: 2px; }
    & .exb-knowledge-finale .exb-knowledge-action :is(.exb-eyebrow) { color: var(--ev-copper-light); }
    & .exb-knowledge-finale .exb-knowledge-action > :is(.exb-eyebrow, .exb-knowledge-action-title) { grid-column: 1; }
    & .exb-knowledge-finale .exb-knowledge-action > .exb-knowledge-action-title { grid-row: 2 / span 3; align-self: start; margin: 0; font-size: 1.75rem; }
    & .exb-knowledge-finale .exb-knowledge-action > :not(.exb-eyebrow, .exb-knowledge-action-title) { grid-column: 2; justify-self: start; }
    & .exb-knowledge-finale .exb-knowledge-action > .exb-small { margin: 0; max-width: 60ch; }
    @media (max-width: 1023.98px) {
      & .exb-knowledge-finale .exb-knowledge-action { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
      & .exb-knowledge-finale .exb-knowledge-action > * { grid-column: 1 !important; grid-row: auto !important; }
      & .exb-knowledge-motif { min-height: 0 !important; }
      & .exb-knowledge-motif img { position: static !important; height: auto !important; aspect-ratio: 4 / 3 !important; }
    }
    & .exb-knowledge-finale .exb-knowledge-action .exb-text-link { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
  }
  & .exb-footer :is(p, li, a) { font-size: .9375rem; line-height: 1.6; }
  @media (max-width: 1023.98px) {
    & main.exb-content-page {
      & :is(.exb-knowledge-chapter, .exb-knowledge-topic) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
      & .exb-knowledge-chapter .exb-editorial-heading { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: baseline; }
      & .exb-editorial-heading h2 { max-width: none; }
      & .exb-page-hero h1 { font-size: 3rem; }
    }
  }
  @media (max-width: 599.98px) {
    & main.exb-content-page {
      & .exb-knowledge-hero { padding-block: 40px 32px; }
      & .exb-page-hero h1 { font-size: 2.25rem; hyphens: none; }
      & .exb-knowledge-summary { margin-inline: 0; }
      & .exb-summary-content dl { grid-template-columns: minmax(0, 1fr); gap: 20px; }
      & .exb-page-toc ol { grid-template-columns: minmax(0, 1fr); }
      & .exb-knowledge-chapter { padding-block: 40px; }
      & .exb-editorial-heading h2 { font-size: 1.75rem; hyphens: none; overflow-wrap: anywhere; }
      & .exb-knowledge-topic-heading h3 { font-size: 1.375rem; }
      & .exb-knowledge-chapter-content > .exb-prose-content, & .exb-knowledge-topic-copy p { font-size: 1.0625rem; }
    }
  }
}

/* Services overview — shared DE/EN presentation.
 * Existing content and DOM order stay intact; unrelated pages are unaffected.
 * Two starting assignments, then open service rows instead of repeating card grids. */
html:is([lang="de"], [lang="en"]) #start[data-exb-layout="leistungen-katalog"] {
  --ev-motif-overlay: linear-gradient(145deg, rgba(182, 79, 43, .12) 0%, rgba(23, 28, 29, .02) 48%, rgba(23, 28, 29, .28) 100%);
  --ev-motif-frame: rgba(245, 243, 238, .4);
  & main.exb-content-page {
    font-size: 1.125rem;
    & :is(h1, h2, h3, .exb-eyebrow, .exb-section-number, .exb-catalogue-summary p) { letter-spacing: 0; }
    & .exb-page-hero { min-height: 0; padding-block: 72px 48px; background: var(--ev-graphite); }
    & .exb-catalogue-hero { display: block; }
    & .exb-catalogue-hero > div:first-child { max-width: 820px; }
    & .exb-page-hero h1 { max-width: 22ch; font-size: 3.5rem; line-height: 1.1; margin-bottom: 28px; }
    & .exb-page-lead { max-width: 64ch; font-size: 1.125rem; line-height: 1.75; }
    & .exb-page-hero-media img { object-position: 80% center; }
    & .exb-page-actions { gap: 20px 32px; }
    & .exb-page-actions :is(.exb-btn, .exb-text-link) { min-height: 48px; }

    /* The existing four verbs become a visible decision-to-delivery route. */
    & .exb-catalogue-summary { display: block; margin-top: 48px; padding: 28px 0 0; border-top: 1px solid var(--ev-line-dark); background: transparent; backdrop-filter: none; }
    & .exb-catalogue-summary > .exb-eyebrow { margin-bottom: 24px; }
    & .exb-catalogue-summary > p:not(.exb-eyebrow) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: delivery; font-size: 1.5rem; }
    & .exb-catalogue-summary > p:not(.exb-eyebrow) span { display: flex; align-items: center; gap: 16px; counter-increment: delivery; color: var(--ev-on-dark); }
    & .exb-catalogue-summary > p:not(.exb-eyebrow) span::before { content: counter(delivery, decimal-leading-zero); font: 600 .875rem/1 var(--ev-display); color: var(--ev-copper-light); }
    & .exb-catalogue-summary > span { display: block; margin-top: 24px; font-size: 1rem; }

    /* A readable overview, not a sidebar competing with the services. */
    & .exb-editorial-layout { padding-top: 48px; }
    & .exb-page-toc { margin-bottom: 64px; border: 0; border-block: 1px solid var(--ev-line); background: transparent; }
    & .exb-toc-disclosure summary { padding: 24px 0 12px; }
    & .exb-page-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding: 0 0 24px; }
    & .exb-page-toc li a { min-height: 48px; font-size: 1rem; }

    /* Consistent heading width; content follows each heading at every size. */
    & .exb-catalogue-group { display: flex; flex-direction: column; gap: 0; padding-block: 64px; }
    & .exb-catalogue-group:first-child { padding-top: 0; }
    & .exb-catalogue-group > .exb-editorial-heading { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; gap: 24px; margin-bottom: 24px; }
    & .exb-section-number { font-size: 1rem; }
    & .exb-section-number::after { display: none; }
    & .exb-editorial-heading h2 { max-width: 32ch; font-size: 2.5rem; line-height: 1.2; }
    & .exb-group-intro { max-width: 72ch; margin-left: 72px; color: var(--ev-ink); font-size: 1.125rem; line-height: 1.75; }
    & .exb-catalogue-context { max-width: 72ch; margin: 28px 0 0 72px; padding-top: 24px; border-top: 1px solid var(--ev-line); font-size: 1rem; line-height: 1.75; color: var(--ev-muted); }
    & .exb-catalogue-context a { color: inherit; text-decoration-color: var(--ev-copper); font-weight: 600; }
    & .exb-catalogue-context p + p { margin-top: 20px; }

    /* Only the two entry assignments remain framed; all others are open rows. */
    & .exb-service-cards { display: block; margin: 36px 0 0 72px; }
    & .exb-service-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px 40px; padding: 28px 0; background: transparent; border: 0; border-top: 1px solid var(--ev-line); box-shadow: none; transform: none; }
    & .exb-service-card:last-child { border-bottom: 1px solid var(--ev-line); }
    & .exb-service-card:hover { background: transparent; box-shadow: none; transform: none; }
    & .exb-editorial-main > :nth-child(odd) .exb-service-card { background: transparent; }
    & .exb-service-card h3 { grid-column: 1; font-size: 1.25rem; line-height: 1.4; max-width: 30ch; }
    & .exb-service-card p { grid-column: 2; grid-row: 1 / span 2; font-size: 1.0625rem; line-height: 1.7; }
    & .exb-card-cue { grid-column: 1; font-size: .9375rem; }
    & .exb-service-card:hover .exb-card-title { text-decoration: underline; text-decoration-color: var(--ev-copper); text-underline-offset: 5px; }
    & :is(#plan-klaerung, #planning-clarity) .exb-service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    & :is(#plan-klaerung, #planning-clarity) .exb-service-card { display: flex; gap: 16px; padding: 28px; border: 1px solid var(--ev-line); background: var(--ev-surface); }
    & :is(#plan-klaerung, #planning-clarity) .exb-service-card h3 { font-size: 1.5rem; }
    & :is(#plan-klaerung, #planning-clarity) .exb-service-card p { flex: 1; }
    & :is(#plan-klaerung, #planning-clarity) .exb-card-cue { margin-top: 12px; }

    /* One editorial image language across the complete catalogue. */
    & .exb-catalogue-motif { position: relative; isolation: isolate; margin: 28px 0 0; padding-bottom: 12px; border-bottom: 2px solid var(--ev-copper); }
    & .exb-catalogue-motif::after { content: ""; position: absolute; inset: 0 0 12px; z-index: 1; pointer-events: none; background: var(--ev-motif-overlay); }
    & .exb-catalogue-motif::before { content: ""; position: absolute; inset: 14px 14px 26px; z-index: 2; pointer-events: none; border: 1px solid var(--ev-motif-frame); }
    & .exb-catalogue-motif img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
    @media (min-width: 1024px) {
      & .exb-catalogue-group:has(.exb-catalogue-motif) {
        display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: start;
        & > .exb-editorial-heading { grid-column: 1; grid-row: 1; margin-bottom: 0; }
        & > .exb-editorial-heading h2 { font-size: 2.25rem; max-width: 24ch; }
        & > .exb-group-intro { grid-column: 1; grid-row: 2; max-width: none; }
        & > .exb-catalogue-motif { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
        & > .exb-catalogue-context { grid-column: 1 / -1; grid-row: 3; max-width: none; margin-top: 12px; }
        & > .exb-service-cards { grid-column: 1 / -1; grid-row: 4; margin-top: 12px; }
      }
      & .exb-page-scope > .exb-wrap:has(.exb-catalogue-motif) {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 56px; align-items: start;
        & > .exb-page-section-heading { grid-column: 1 / -1; }
        & > .exb-scope-copy { grid-column: 1; grid-row: 2; max-width: none; }
        & > .exb-catalogue-motif { grid-column: 2; grid-row: 2; margin: 0; align-self: stretch; }
        & > .exb-catalogue-motif img { height: calc(100% - 12px); aspect-ratio: 4 / 5; object-position: 55% center; }
        & > .exb-scope-results { grid-column: 1 / -1; }
      }
    }

    /* Scope reads as an agreement and handover, not another row of cards. */
    & .exb-page-scope { padding-block: 72px; }
    & .exb-page-section-heading h2 { max-width: 30ch; font-size: 2.5rem; line-height: 1.2; }
    & .exb-scope-copy { max-width: 72ch; font-size: 1.125rem; }
    & .exb-scope-results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
    & .exb-scope-results > div { padding: 24px 0 0; border-top: 1px solid var(--ev-line); background: transparent; box-shadow: none; transform: none; }
    & .exb-scope-number { font-size: 1.5rem; }
    & .exb-closing-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
    & .exb-page-closing { background: var(--ev-graphite); padding-block: 72px; }
    & .exb-page-closing h2 { font-size: 2.5rem; line-height: 1.2; letter-spacing: 0; }
    & .exb-page-closing .exb-catalogue-context { margin-left: 0; color: var(--ev-on-dark-muted); border-top-color: var(--ev-line-dark); }
    & .exb-page-closing .exb-catalogue-context a { color: var(--ev-on-dark); text-decoration-color: var(--ev-copper-light); }
    & .exb-closing-actions { padding: 24px 0 0; border: 0; border-top: 2px solid var(--ev-copper-light); background: transparent; }
  }

  /* Changes to shared chrome are deliberately limited to this document. */
  & .exb-footer :is(p, li, a) { font-size: .9375rem; line-height: 1.6; }

  @media (max-width: 1023.98px) {
    & main.exb-content-page {
      & .exb-page-hero h1 { font-size: 3rem; }
      & .exb-page-toc ol { grid-template-columns: minmax(0, 1fr); }
      & .exb-toc-disclosure summary { padding-bottom: 24px; }
      & .exb-catalogue-group > .exb-editorial-heading { grid-template-columns: minmax(0, 1fr); gap: 16px; }
      & :is(.exb-group-intro, .exb-catalogue-context, .exb-service-cards) { margin-left: 0; }
      & .exb-editorial-heading h2 { font-size: 2rem; }
      & .exb-closing-grid { grid-template-columns: minmax(0, 1fr); }
    }
  }
  @media (max-width: 599.98px) {
    & main.exb-content-page {
      & .exb-page-hero { padding-block: 40px; }
      & .exb-page-hero h1 { font-size: 2.25rem; max-width: none; hyphens: none; }
      & .exb-page-lead { font-size: 1.0625rem; line-height: 1.75; }
      & .exb-page-hero-media { margin-top: 32px; aspect-ratio: 3 / 2; }
      & .exb-catalogue-summary { margin: 32px 0 0; padding-top: 24px; }
      & .exb-catalogue-summary > p:not(.exb-eyebrow) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; font-size: 1.25rem; }
      & .exb-catalogue-summary > p:not(.exb-eyebrow) span { gap: 12px; }
      & .exb-eyebrow { font-size: .75rem; line-height: 1.5; }
      & .exb-page-toc { margin-inline: 0; margin-bottom: 40px; }
      & :is(.exb-toc-disclosure summary, .exb-page-toc ol) { padding-inline: 0; }
      & .exb-page-toc li a { padding-block: 16px; }
      & .exb-catalogue-group { padding-block: 48px; }
      & :is(.exb-editorial-heading h2, .exb-page-section-heading h2, .exb-page-closing h2) { font-size: 1.875rem; line-height: 1.25; hyphens: none; max-width: none; }
      & :is(.exb-group-intro, .exb-scope-copy) { font-size: 1.0625rem; line-height: 1.75; }
      & .exb-catalogue-context { margin-top: 24px; }
      & .exb-service-card { grid-template-columns: minmax(0, 1fr); padding-block: 24px; gap: 12px; }
      & .exb-service-card :is(h3, p, .exb-card-cue) { grid-column: 1; grid-row: auto; }
      & .exb-service-card h3 { font-size: 1.25rem; max-width: none; }
      & .exb-card-cue { margin-top: 4px; }
      & :is(#plan-klaerung, #planning-clarity) .exb-service-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
      & :is(#plan-klaerung, #planning-clarity) .exb-service-card { padding: 24px; }
      & :is(#plan-klaerung, #planning-clarity) .exb-service-card h3 { font-size: 1.25rem; }
      & .exb-scope-results { grid-template-columns: minmax(0, 1fr); gap: 24px; }
      & :is(.exb-page-scope, .exb-page-closing) { padding-block: 48px; }
      & .exb-closing-actions { width: 100%; }
      & .exb-closing-actions .exb-btn { width: 100%; }
    }
  }
}

/* Knowledge overview hero: first screen holds title, subline, intro, CTA and summary panel (DE/EN) */
#start[data-exb-layout="wissen-hub"] main.exb-content-page .exb-knowledge-hero {
  & { min-height: calc(100svh - 130px); display: flex; align-items: center; padding-block: 48px; }
  & > .exb-wrap { width: 100%; }
  & .exb-knowledge-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: 64px; align-items: center; }
  & .exb-page-hero-copy { grid-column: 1; }
  & h1 { font-size: clamp(2.5rem, 3.4vw, 3.5rem); max-width: 18ch; }
  & p.exb-hero-subline { font-family: var(--exb-font-display); font-weight: 650; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.45; color: var(--ev-on-dark); max-width: 36em; margin: 24px 0 16px; padding-left: 16px; border-left: 2px solid var(--ev-copper-light); }
  & .exb-page-lead { font-size: 1.0625rem; line-height: 1.65; max-width: 36em; }
  & .exb-page-lead p { margin: 0; }
  & .exb-knowledge-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
  & .exb-knowledge-jumps > a.exb-text-link { font-weight: 700; }
  & .exb-knowledge-hero-panel { grid-column: 2; align-self: center; padding: 32px; background: rgba(16, 22, 23, .72); backdrop-filter: blur(6px); border: 1px solid rgba(245, 243, 238, .16); border-top: 2px solid var(--ev-copper-light); border-radius: 2px; color: var(--ev-on-dark); }
  & .exb-knowledge-hero-panel .exb-summary-title { font-family: var(--exb-font-display); font-weight: 650; font-size: 1.25rem; line-height: 1.35; margin: 12px 0 0; color: var(--ev-on-dark); }
  & .exb-knowledge-hero-panel dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 20px 0 0; }
  & .exb-knowledge-hero-panel dl > div { padding: 12px 0; border-top: 1px solid rgba(245, 243, 238, .14); }
  & .exb-knowledge-hero-panel dt { font-size: 1rem; font-weight: 700; color: var(--ev-copper-light); }
  & .exb-knowledge-hero-panel dd { margin: 4px 0 0; font-size: .95rem; line-height: 1.45; color: rgba(245, 243, 238, .86); }
  & p.exb-trust-line { display: grid; gap: 4px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid rgba(245, 243, 238, .2); font-size: .8125rem; line-height: 1.45; color: rgba(245, 243, 238, .72); }
  @media (max-width: 1023.98px) {
    & .exb-knowledge-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    & .exb-knowledge-hero-panel { grid-column: 1; }
  }
  @media (max-width: 599.98px) {
    & { min-height: 0; display: block; padding-block: 32px 40px; }
    & h1 { font-size: 2.125rem; line-height: 1.12; }
    & p.exb-hero-subline { font-size: 1rem; margin: 16px 0 12px; }
    & .exb-page-lead { font-size: 1rem; line-height: 1.55; }
    & .exb-knowledge-jumps { margin-top: 24px; gap: 16px; }
    & .exb-knowledge-hero-panel { padding: 24px 20px; }
  }
}
#start:not(.exb-page-home) .exb-knowledge-action p.exb-knowledge-action-note { margin: 16px 0 0; font-size: .95rem; line-height: 1.5; opacity: .86; }

/* Knowledge: quiet editorial meta line below the hero */
.exb-trust-line.exb-trust-line--quiet{display:flex;flex-wrap:wrap;gap:8px 24px;margin:24px 0 0;padding-top:16px;border-top:1px solid rgba(23,28,29,.12);font-size:.875rem;color:#5d6466;background:none}
