/* Design tokens and site chrome come from home-refresh.css. The legacy layer
   supplies behavior-specific layout for forms, the calendar and KIRI. */
:root {
  --plum-950: var(--plum-deep);
  --plum-900: var(--plum);
  --plum-800: var(--plum-card);
  --gold-500: var(--gold);
  --gold-300: var(--gold);
  --gold-text: var(--gold-ink);
  --ink-soft: var(--muted);
  --paper-2: var(--sand);
  --card: var(--paper);
  --control-line: #8c7f86;
  --on-dark: var(--light-muted);
  --white: #fff;
  --page-inset: clamp(1rem, 3.5vw, 2.75rem);
  --page-space: clamp(1.5rem, 3vw, 3rem);
}

/* Critical refresh rules: also used in pages with a critical CSS block. */
body.refresh-page {
  color: var(--ink);
  background: var(--cream);
  font: 400 1rem/1.7 var(--sans);
}

.refresh-page > .site-header {
  display: block;
  padding: 0;
  min-height: 0;
}

.refresh-page .site-header .brand {
  min-width: 0;
  margin: 0;
}

.refresh-page .site-header .desktop-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  line-height: 1.4;
  color: inherit;
}

.refresh-page .site-header .nav-cta {
  color: var(--gold);
  border-color: #a88758;
  border-radius: 0;
  background: transparent;
}

.refresh-page .site-header .desktop-nav a:hover { color: var(--gold); }
.refresh-page .site-header .nav-cta:hover { background: var(--plum-card); }
.refresh-page .site-header .small-nav { position: static; }
.refresh-page .site-header .small-nav nav a { min-height: 2.75rem; }

.refresh-page :is(.site-shell, .site-page, main) {
  min-width: 0;
  background: var(--cream);
}

.refresh-page .section-inner {
  width: min(calc(100% - var(--page-inset) * 2), 76rem);
  margin-inline: auto;
}

.refresh-page main {
  overflow-wrap: break-word;
}

.refresh-page main h1 {
  font: 400 clamp(2.25rem, 5.25vw, 4.8rem)/1.08 var(--serif);
  letter-spacing: -.055em;
  text-wrap: balance;
}

.refresh-page main :is(.subpage-hero, .seo-hero, .seo-blog-hero, .lp-hero, .inquiry-top) {
  --body-text: var(--light-muted);
  --accent: var(--gold);
  --focus: var(--gold);
  color: var(--light);
  background-color: var(--plum);
}

.refresh-page main :is(.subpage-hero, .seo-hero, .seo-blog-hero, .lp-hero, .inquiry-top) h1 {
  color: var(--light);
  max-width: min(100%, 23ch);
}

.refresh-page main :is(.subpage-hero-intro, .seo-hero-intro, .inquiry-top-intro, .lp-lead) {
  color: var(--body-text);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
}

.refresh-page main :is(.seo-hero, .subpage-hero) :is(.seo-hero-grid, .subpage-hero-grid) > * {
  min-width: 0;
}

.refresh-page main .button { min-height: 2.75rem; }
.refresh-page main .button-gold { color: var(--plum-deep); }
.refresh-page main .eyebrow.dark {
  --accent: inherit;
  --body-text: inherit;
  --focus: inherit;
  background: transparent;
}
.refresh-page main.lp {
  --lp-dark: var(--plum);
  --lp-darker: var(--plum-deep);
  --lp-plum: var(--plum-card);
  --lp-gold: var(--gold);
  --lp-gold-d: var(--gold-ink);
  --lp-paper: var(--cream);
  --lp-sand: var(--sand);
  --lp-line: var(--line);
  --lp-ink: var(--ink);
  --lp-mute: var(--muted);
}

@media (max-width: 980px) {
  .refresh-page .site-header .desktop-nav { display: none; }
}

@media (max-width: 600px) {
  .refresh-page #hk-cookie-banner .hk-consent-button {
    min-height: 44px;
  }
}
/* End critical refresh rules. */

.refresh-page > .site-footer {
  padding: 0;
  color: var(--light);
}

.refresh-page .site-footer .footer-bottom {
  justify-content: flex-start;
  margin-top: 0;
  border: 0;
}

.refresh-page .site-footer :is(p, a) { margin-bottom: 0; }
.refresh-page .site-footer .footer-contact { display: block; }
.refresh-page .site-footer .footer-bottom a { min-height: 2.75rem; }
.refresh-page .site-footer .footer-grid nav a { min-height: 2.75rem; align-content: center; }

.refresh-page main h2 {
  font: 400 clamp(1.65rem, 3.15vw, 3.15rem)/1.14 var(--serif);
  letter-spacing: -.045em;
}

.refresh-page main h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.28;
}

.refresh-page main :is(.eyebrow, .seo-kicker, .card-kicker, .lp-eyebrow) {
  color: var(--accent);
  font: 600 .75rem/1.45 var(--sans);
  letter-spacing: .105em;
  text-transform: uppercase;
}

.refresh-page main :is(.subpage-section, .seo-band, .page-cta, .lp-section) {
  padding-block: var(--page-space);
}

.refresh-page main :is(.paper-section, .seo-paper, .seo-faq-band, .lp-sand) { background-color: var(--sand); }
.refresh-page main :is(.lp-light, .home-faq) { background-color: var(--cream); }

.refresh-page main :is(.dark-section, .seo-contact, .seo-side-contact, .page-cta, .lp-dark, .v5-autonomy, .academy-license) {
  --body-text: var(--light-muted);
  --accent: var(--gold);
  --focus: var(--gold);
  color: var(--light);
  background-color: var(--plum);
}

.refresh-page main :is(.dark-section, .seo-contact, .seo-side-contact, .page-cta, .lp-dark, .v5-autonomy, .academy-license)
  > :is(.section-inner, .lp-wrap) > :is(h2, p) {
  color: inherit;
}

.refresh-page main :is(.page-cta, .seo-contact, .seo-side-contact, .lp-contact, .lp-hero, .seo-hero, .subpage-hero)
  .button-gold {
  color: var(--plum-deep);
}

.refresh-page main .button-dark {
  border-color: var(--plum);
  color: var(--light);
  background-color: var(--plum);
}

.refresh-page main .button-dark:hover { background-color: var(--plum-card); }

.refresh-page main :is(.dark-section, .page-cta, .seo-contact, .subpage-hero, .seo-hero)
  :is(.button-ghost-light, .button-outline) {
  border-color: #a88758;
  color: var(--gold);
  background: transparent;
}

.refresh-page main :is(.subpage-hero, .seo-hero, .page-cta, .seo-contact) .button-dark {
  border-color: #a88758;
  color: var(--gold);
  background: var(--plum-card);
}

.refresh-page main :is(.detail-offer-card, .offer-card, .program-card, .seo-service-card, .seo-blog-card, .seo-workshop-card, .seo-readiness, .seo-path, .seo-guide-note, .text-testimonial, .lp-card, .lp-tile, .reference-box, .pilot-muster) {
  min-width: 0;
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.refresh-page main :is(.text-testimonial, .lp-quote) blockquote {
  font: 400 clamp(1.05rem, 1.8vw, 1.55rem)/1.5 var(--serif);
  letter-spacing: -.02em;
}

.refresh-page main :is(.dark-section, .page-cta, .lp-dark, .seo-contact, .academy-license)
  :is(.detail-offer-card, .offer-card) {
  color: var(--light);
  background-color: var(--plum-card);
  border-color: var(--plum-line);
}

.refresh-page main :is(.offer-price, .lp-price, .seo-price, .program-price, .price-stat) {
  font-family: var(--serif);
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.25;
}

.refresh-page main :is(.program-price, .offer-price, .lp-price) > span {
  white-space: normal;
  font-family: var(--sans);
}

.refresh-page main figcaption {
  font-size: .84rem;
  line-height: 1.5;
}

.refresh-page main .seo-hero-figure figcaption {
  color: var(--ink);
  background-color: var(--paper);
}

.refresh-page main :is(.home-faq, .seo-faq, .lp-faq) details > summary {
  min-height: 2.75rem;
  border-radius: 0;
  font-family: var(--serif);
  font-weight: 400;
}

.refresh-page main :is(.form-panel, .subpage-form, .seo-form-card, .lp-hero-form, .lp-form-card) {
  --body-text: var(--muted);
  --accent: var(--gold-ink);
  --focus: var(--gold-ink);
  border-radius: 0;
}

.refresh-page main :is(.form-layout, .seo-contact, .seo-hero) .subpage-form {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.refresh-page main :is(.form-panel, .subpage-form, .lp-hero-form, .lp-form-card) :is(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  max-width: 100%;
  min-height: 2.75rem;
  border-radius: 0;
  font-family: var(--sans);
}

.refresh-page main :is(.form-layout, .form-grid, .form-fields) > * { min-width: 0; }

.refresh-page main :is(.price-table-wrap, .seo-table-wrap, .kr-table-wrap, pre) {
  max-width: 100%;
  overflow-x: auto;
}

.refresh-page main :is(.price-table, .seo-prose table) {
  color: var(--ink);
  background: var(--paper);
}

.refresh-page main :is(.price-table, .seo-prose table) th {
  color: var(--ink);
  background-color: var(--sand);
}
.refresh-page main :is(.price-table, .seo-prose table) :is(th, td) { border-color: var(--line); }
.refresh-page main .price-table td:last-child { white-space: nowrap; }
.refresh-page main :is(img, svg, canvas, iframe) { max-width: 100%; }

.refresh-page .seo-article-layout { grid-template-columns: minmax(0, 70ch) minmax(14rem, 18rem); }
.refresh-page :is(.seo-prose, .seo-guide-content) { min-width: 0; }
.refresh-page [data-preserved-blog] { max-width: 70ch; }
.refresh-page .seo-post-nav { max-width: 70ch; }

@media (max-width: 760px) {
  .refresh-page .seo-article-layout { grid-template-columns: minmax(0, 1fr); }
  .refresh-page .seo-article-sidebar { position: static; }
}

@media (max-width: 540px) {
  .refresh-page main :is(.subpage-hero, .seo-hero, .lp-hero, .inquiry-top) h1 { text-wrap: wrap; }
  .refresh-page main .price-table td:last-child { white-space: normal; }
}

/* Group A layouts retain the page's existing anchors and form behavior. */
.refresh-page .refresh-consulting .lp-hero {
  background: var(--plum);
}

.refresh-page .refresh-consulting .lp-hero-art { display: none; }

.refresh-page .refresh-consulting .lp-hero-grid {
  align-items: center;
  min-height: 0;
  padding-block: var(--page-space);
}

.refresh-page .refresh-hero-quote {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.refresh-page .refresh-hero-quote blockquote {
  font: 400 clamp(1.12rem, 1.7vw, 1.45rem)/1.55 var(--serif);
}

.refresh-page .refresh-hero-quote figcaption {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  color: var(--muted);
}

.refresh-page .refresh-hero-quote figcaption :is(img, strong) { flex: none; }
.refresh-page .refresh-hero-quote figcaption strong { display: block; color: var(--ink); }
.refresh-page .refresh-hero-quote figcaption img {
  width: var(--quote-avatar-size);
  height: var(--quote-avatar-size);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.refresh-page .refresh-consulting .lp-quote-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.refresh-page .refresh-additional-form .lp-card { max-width: 36rem; margin-inline: auto; }

.refresh-page main .refresh-offers-dark {
  --accent: var(--gold);
  --body-text: var(--light-muted);
  --focus: var(--gold);
  color: var(--light);
  background: var(--plum);
}

.refresh-page main .refresh-offers-dark :is(.subpage-section-head, .lp-wrap > h2, .split-layout > div:first-child) :is(h2, p),
.refresh-page main .refresh-offers-dark :is(.lp-wrap > h2, .split-layout > div:first-child > h2, .scope-subheading) {
  color: inherit;
}

.refresh-page main .refresh-offers-dark :is(.lp-kicker, .subpage-section-head .eyebrow, .academy-split > div > .eyebrow) {
  color: var(--gold);
}

.refresh-page main .refresh-offers-dark :is(.detail-offer-card, .lp-offer, .license-box) {
  color: var(--light);
  background: var(--plum-card);
  border: 1px solid var(--plum-line);
  border-radius: 0;
}

.refresh-page main .refresh-offers-dark :is(.detail-offer-card, .lp-offer, .license-box)
  :is(h3, p, li, dt, dd, strong, .detail-price small, .lp-price-note) {
  color: inherit;
}

.refresh-page main .refresh-offers-dark :is(.detail-price strong, .lp-price, .license-box .academy-row-price) {
  color: var(--gold);
}

.refresh-page main .refresh-offers-dark :is(.detail-offer-card, .lp-offer) .button-dark {
  border-color: var(--gold);
  color: var(--plum-deep);
  background: var(--gold);
}

.refresh-page main .refresh-offers-dark .strategy-offer-stack .text-testimonial { color: var(--ink); }
.refresh-page main .refresh-offers-dark .academy-split > div > :is(h2, p, ul),
.refresh-page main #pilot-umfang.refresh-offers-dark .section-inner > p {
  color: var(--light-muted);
}

.refresh-page main .refresh-offers-dark .academy-split > div > h2 { color: var(--light); }

.refresh-page main .refresh-offers-dark :is(.table-note, .table-note a, .single-price > span, .license-box small, .lp-offer .lp-note2) {
  color: var(--light-muted);
}

.refresh-page main .refresh-offers-dark .license-box > span { color: var(--gold); }
.refresh-page main .refresh-offers-dark .lp-offer .lp-btn { color: var(--plum-deep); }

.refresh-page .refresh-booking-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "intro options" "questions options";
  grid-template-rows: auto 1fr;
  gap: 1.5rem clamp(1.5rem, 5vw, 5rem);
  padding-block: var(--page-space);
}

.refresh-page .refresh-booking-grid .subpage-hero-copy { grid-area: intro; }
.refresh-page .refresh-booking-grid .subpage-hero-side { margin-block: 1.4rem 0; }
.refresh-page .refresh-booking-grid .subpage-hero-side .hero-person {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  color: var(--light);
  background: transparent;
  border: 0;
}

.refresh-page .refresh-booking-grid .hero-person img {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  min-height: 0;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--plum-line);
}

.refresh-page .refresh-booking-grid .hero-person div { padding: 0; background: transparent; }
.refresh-page .refresh-booking-grid .hero-person :is(strong, span) { color: var(--light); }
.refresh-page .refresh-booking-options { grid-area: options; min-width: 0; }
.refresh-page .refresh-booking-options .calendly-stage {
  max-width: none;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.refresh-page .refresh-booking-options .calendly-stage :is(p, p a, .booking-actions > .text-link) { color: var(--ink); }
.refresh-page .refresh-booking-form { padding: 0; margin-top: 1rem; background: transparent; }
.refresh-page main .refresh-booking-form { padding: 0; background: none; }
.refresh-page .refresh-booking-form .form-layout {
  width: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
}

.refresh-page .refresh-booking-form .form-layout > div {
  padding: 1rem 0;
  color: var(--light);
}

.refresh-page .refresh-booking-form .form-layout > div :is(p, h2, a) { color: inherit; }
.refresh-page .refresh-booking-form .form-layout > div .eyebrow { color: var(--gold); }
.refresh-page .refresh-booking-form .form-layout > div h2 { font-size: clamp(1.55rem, 2.5vw, 2.3rem); }
.refresh-page .refresh-booking-form .subpage-form { padding: clamp(1rem, 2.5vw, 1.8rem); }
.refresh-page .refresh-booking-form .subpage-form h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.refresh-page main .refresh-booking-questions { grid-area: questions; background: transparent; padding-block: 0; border: 0; }
.refresh-page .refresh-booking-questions .section-inner { width: 100%; }
.refresh-page .refresh-booking-questions :is(h2, ol, li, p) { color: var(--light); }
.refresh-page .refresh-booking-questions h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.refresh-page .refresh-booking-questions .question-steps { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.refresh-page .refresh-booking-questions .question-steps li { padding-block: .45rem; background: transparent; border: 0; }
.refresh-page .refresh-booking-questions .question-steps li span { color: var(--gold); }

.refresh-page .refresh-project-reference .reference-box {
  max-width: none;
  margin: 0;
  border-left: 4px solid var(--gold-ink);
}

.refresh-page main .refresh-process-example { background: var(--cream); }
.refresh-page .refresh-process-example .example-note { border-left: 2px dashed var(--gold-ink); }
.refresh-page .refresh-pilot-sample { padding-block: var(--page-space); background: var(--sand); }
.refresh-page .refresh-pilot-sample .pilot-muster { max-width: none; }
.refresh-page .refresh-technical-frame { margin-top: 1rem; }
.refresh-page .refresh-technical-frame h4 { margin: 0 0 .5rem; font: 400 1.2rem/1.4 var(--serif); }
.refresh-page main .refresh-privacy-band { padding-block: 2.25rem; }
.refresh-page .refresh-academy-programs .program-card { border-top: 3px solid var(--gold); }
.refresh-page .kiri-intro .refresh-kiri-study { margin-top: 1rem; padding: 0; }
.refresh-page .refresh-kiri-study .section-inner { width: 100%; }
.refresh-page .refresh-kiri-study .kiri-auswertung-card {
  max-width: none;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  color: var(--light);
  background: var(--plum-card);
  border: 1px solid var(--plum-line);
  border-radius: 0;
}

.refresh-page .refresh-kiri-study .kiri-auswertung-card :is(p, a) { color: var(--light-muted); }
.refresh-page .refresh-kiri-study .kiri-auswertung-card .kiri-auswertung-kicker { color: var(--gold); }
.refresh-page .refresh-kiri-study .kiri-auswertung-links a { min-height: 2.75rem; align-content: center; }
.refresh-page .refresh-kiri-offer { background: var(--plum); }
.refresh-page .refresh-kiri-offer .kiri-paid-offer { border-radius: 0; }

.refresh-page .refresh-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.6rem);
}

.refresh-page main .refresh-team-grid .person-card { background: var(--paper); border-radius: 0; }
.refresh-page .refresh-team-grid .person-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 25%;
}

.refresh-page main .refresh-client-band {
  padding-block: 1.5rem;
  background: var(--plum);
  color: var(--light);
  border-top: 1px solid var(--plum-line);
}

.refresh-page .refresh-client-band :is(h2, p, li) { color: inherit; }
.refresh-page .refresh-client-band h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.refresh-page .refresh-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 1.5rem);
}

.refresh-page .refresh-project-grid > article {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.15rem, 2.3vw, 1.9rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.refresh-page .refresh-project-grid h2 { font-size: clamp(1.3rem, 2.1vw, 1.85rem); }

@media (max-width: 900px) {
  .refresh-page .refresh-booking-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "options" "questions";
    grid-template-rows: auto;
  }
}

@media (max-width: 760px) {
  .refresh-page .refresh-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refresh-page .refresh-project-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Approved contact forms and the extra booking location panel. */
.refresh-page .page-cta .contact-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
}

.refresh-page .page-cta .contact-copy h2 { max-width: 20ch; }
.refresh-page .page-cta .contact-copy p:not(.eyebrow) { color: var(--light-muted); }
.refresh-page .page-cta .contact-copy .contact-person a { color: var(--light); }
.refresh-page .page-cta .contact-card {
  --accent: var(--gold-ink);
  --body-text: var(--muted);
  color: var(--ink);
}
.refresh-page .page-cta .contact-card :is(h3, label, label span) { color: var(--ink); }
.refresh-page .page-cta .contact-card :is(.quiet, .privacy-note) { color: var(--muted); }
.refresh-page .page-cta .contact-card .form-fields .field-wide { grid-column: 1 / -1; }
.refresh-page .page-cta .contact-card .calendar-link {
  min-height: 2.75rem;
  align-content: center;
  color: var(--ink);
}
.refresh-page .page-cta .contact-card form { min-width: 0; }
.refresh-page .page-cta .contact-phone a { white-space: nowrap; }
.refresh-page .refresh-booking-options .refresh-booking-title {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  color: var(--ink);
}

.refresh-page .refresh-booking-location p { margin-block: .75rem; }
.refresh-page .refresh-booking-location ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: .25rem 0 0;
  padding: 0;
  list-style: none;
}

.refresh-page .refresh-booking-location a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

.refresh-page .refresh-project-title { margin-bottom: 1.5rem; }
.refresh-page .refresh-project-grid h3 { font-size: clamp(1.25rem, 1.9vw, 1.65rem); }
.refresh-page .refresh-kiri-offer .kiri-online-price { margin-block: .35rem .8rem; }

/* Regional landing pages. */
.refresh-page main.lp:not(.refresh-consulting) .lp-hero--foto {
  background-color: var(--plum);
}

.refresh-page main.lp:not(.refresh-consulting) .lp-hero--foto .lp-hero-art { opacity: .42; }

.refresh-page main.lp:not(.refresh-consulting) .lp-hero-grid {
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.75rem);
}

.refresh-page main.lp:not(.refresh-consulting) .lp-card .lp-people-faces img {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: cover;
}

.refresh-page main.lp:not(.refresh-consulting) :is(.lp-quote-grid > figure, .lp-cards > article) {
  border: 1px solid var(--line);
  background-color: var(--paper);
}

.refresh-page main.lp:not(.refresh-consulting) .lp-quote-grid > figure {
  padding: clamp(1rem, 2.4vw, 2rem);
}

.refresh-page main.lp:not(.refresh-consulting) .lp-btn {
  min-height: 2.75rem;
  color: var(--plum-deep);
  background: var(--gold);
}

.refresh-page main.lp:not(.refresh-consulting) .lp-contact .lp-wrap {
  width: min(calc(100% - var(--page-inset) * 2), 76rem);
}

@media (max-width: 760px) {
  .refresh-page .page-cta .contact-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Editorial and service pages. */
.refresh-page main :is(.info-card, .link-card, .resource-card, .publication-row, .profile-facts, .fall .dark-info-card) {
  min-width: 0;
  background-color: var(--paper);
  border-color: var(--line);
  border-radius: 0;
}

.refresh-page .seo-profile .seo-jumpnav { background: var(--sand); }
.refresh-page .seo-profile .seo-hero-figure figcaption { padding: .75rem 1rem; }
.refresh-page .seo-profile .seo-copy-section { max-width: 70ch; }
.refresh-page .fall blockquote { font-family: var(--serif); }
.refresh-page .fall .subpage-section .section-inner p { max-width: 72ch; }
.refresh-page main .subpage-section #book-form,
.refresh-page main .subpage-section .subpage-form {
  background: var(--paper);
  border: 1px solid var(--line);
}


/* KIRI report and survey pages. */
.refresh-page .seo-results .kr-stats { background: var(--plum-deep); }
.refresh-page .seo-results .kr-table { border-color: var(--line); }
.refresh-page .seo-results .kr-table :is(th, td) { border-color: var(--line); }
.refresh-page .seo-results .kr-table tbody th { background: var(--paper); }
.refresh-page .seo-results .kr-table .kr-h2 { background: #6d547e; }
.refresh-page .seo-results .kr-details > summary { min-height: 2.75rem; }
.refresh-page .seo-results .kr-table-wrap:focus-visible { outline-color: var(--gold-ink); }
.refresh-page .kiri-app :is(.kiri-question, .kiri-profile, .kiri-prestart, .kiri-conversation, .kiri-paid-offer) {
  border-color: var(--line);
  border-radius: 0;
}

.refresh-page .kiri-app :is(.kiri-question, .kiri-profile, .kiri-prestart, .kiri-conversation) {
  background-color: var(--paper);
}

.refresh-page .kiri-app :is(.kiri-nav, .kiri-begin-row) .button { min-height: 2.75rem; }


/* Service inquiry forms. */
.refresh-page .inquiry-top { padding-block: clamp(2.25rem, 6vw, 5.5rem); }
.refresh-page .inquiry-top :is(.inquiry-top-grid, .section-inner) > * { min-width: 0; }

.refresh-page .inquiry-top + .download-short .subpage-form {
  --focus: var(--gold-ink);
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
}

.refresh-page .inquiry-top + .download-short .form-heading h2 { font-size: clamp(1.45rem, 2.6vw, 2.35rem); }
.refresh-page .inquiry-top + .download-short .form-heading p { color: var(--muted); }
.refresh-page .inquiry-top + .download-short .subpage-form button[type="submit"] { width: 100%; }


/* Whitepaper overview and downloads. */
.refresh-page main .whitepaper-card {
  padding: clamp(1rem, 2.2vw, 1.8rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}

.refresh-page main .whitepaper-card h2 { font-size: clamp(1.28rem, 1.9vw, 1.65rem); }
.refresh-page main .whitepaper-card .whitepaper-cover { margin-block-end: 1rem; }
.refresh-page .whitepaper-cover-side img { box-shadow: 0 .85rem 2rem #160f1b38; }

.refresh-page main .whitepaper-card .button-outline {
  color: var(--ink);
  border-color: var(--gold-ink);
  background: transparent;
}

.refresh-page main .whitepaper-card .button-outline:hover { background: var(--sand); }

/* Journal and editorial guide. */
.refresh-page .seo-journal .seo-blog-hero .section-inner > p { color: var(--light-muted); }
.refresh-page .seo-journal .seo-blog-hero .section-inner > .seo-kicker { color: var(--gold); }

.refresh-page .seo-journal .seo-prose { width: 100%; max-width: 72ch; }
.refresh-page .seo-journal .seo-article-layout { gap: clamp(1.5rem, 4vw, 4.25rem); }
.refresh-page .seo-journal :is(.seo-blog-feature, .seo-blog-list) .seo-blog-card {
  background: var(--paper);
  border-color: var(--line);
}

.refresh-page .seo-journal .seo-post-nav a { border-color: var(--line); border-top-color: var(--gold); }
.refresh-page .seo-journal .seo-side-contact { border: 1px solid var(--plum-line); }
.refresh-page .seo-guide .seo-guide-layout { gap: clamp(1.5rem, 5vw, 4rem); }
.refresh-page .seo-guide .seo-guide-content { max-width: 72ch; }
.refresh-page :is(.seo-prose, .seo-guide-content) pre {
  padding: 1rem;
  background: var(--sand);
  border: 1px solid var(--line);
}

.refresh-page :is(.seo-prose, .seo-guide-content) figcaption { margin-top: .4rem; color: var(--muted); }
.refresh-page .seo-journal .seo-article-sidebar { top: 5.75rem; }

/* Testimonial quotes and captions line up across each row of cards. */
.refresh-page main :is(.testimonial-grid, .lp-quote-grid) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem clamp(1rem, 2.2vw, 1.6rem);
}

.refresh-page main .lp-quote-grid:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }

.refresh-page main :is(.testimonial-grid > .text-testimonial, .lp-quote-grid > figure) {
  display: grid;
  grid-row: span 2;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: subgrid;
  padding: clamp(1.15rem, 2.4vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
}

.refresh-page main :is(.testimonial-grid, .lp-quote-grid) blockquote {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.refresh-page main :is(.text-testimonial, .lp-quote, .fall-quote) figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .75rem;
  text-align: left;
}

.refresh-page main :is(.testimonial-grid, .lp-quote-grid) figcaption { margin: 0; }

.refresh-page main :is(.text-testimonial, .lp-quote, .fall-quote) figcaption > img {
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.refresh-page main :is(.text-testimonial, .lp-quote, .fall-quote) figcaption > img {
  width: var(--quote-avatar-size);
  height: var(--quote-avatar-size);
}

.refresh-page main :is(.text-testimonial, .lp-quote, .fall-quote) figcaption > div {
  min-width: 0;
  padding-top: .25rem;
  overflow-wrap: break-word;
}

@media (max-width: 720px) {
  .refresh-page main :is(.testimonial-grid, .lp-quote-grid) { grid-template-columns: minmax(0, 1fr); }

  .refresh-page main :is(.testimonial-grid > .text-testimonial, .lp-quote-grid > figure) {
    grid-row: auto;
    grid-template-rows: auto auto;
    gap: 1rem;
  }
}

/* Legal content and utility pages. */
.refresh-page main :is(#impressum, #datenschutz) .section-inner { max-width: 74ch; }
.refresh-page main :is(#impressum, #datenschutz) :is(p, li) { overflow-wrap: anywhere; }
.refresh-page main :is(#impressum, #datenschutz) h3 { margin-top: 1.2rem; }


/* ==========================================================================
   Nachbesserung Unterseiten (27.11.2026)
   Ursache der verklebten Texte: home-refresh.css setzt margin:0 ungeschichtet,
   die Abstände der älteren Seiten liegen in @layer legacy und greifen deshalb nicht.
   Hier steht der Vertikalrhythmus der Unterseiten wieder zentral.
   ========================================================================== */

.refresh-page main :where(p, ul, ol, dl, blockquote, table, form) + :where(p, ul, ol, dl, blockquote, table, form) { margin-top: .9rem; }
.refresh-page main :where(h2, h3, h4) + :where(p, ul, ol, dl, figure, details) { margin-top: .8rem; }
.refresh-page main :where(h3, h4) + :where(p, ul, ol) { margin-top: .5rem; }
.refresh-page main h1 + :where(p, div, ul) { margin-top: 1.5rem; }
.refresh-page main .eyebrow { margin-bottom: 1rem; }
.refresh-page main :is(.hero-actions, .button-row, .cta-row) { margin-top: 1.75rem; }
.refresh-page main :is(.hero-actions, .button-row, .cta-row) + :where(p) { margin-top: .9rem; }
.refresh-page main :is(.subpage-hero, .seo-hero, .lp-hero) :is(.hero-note, .v5-hero-note) { margin-top: .5rem; font-size: .8rem; color: var(--body-text); }

.refresh-page main :is(.subpage-section-head, .section-head-plain) { margin-bottom: clamp(1.5rem, 3.2vw, 2.6rem); }
.refresh-page main :is(.subpage-section-head) > :is(h2, h3) { max-width: 24ch; }
.refresh-page main :is(.subpage-section-head) > p:not(.eyebrow) { max-width: 62ch; color: var(--body-text); }
.refresh-page main .subpage-section > .section-inner > :where(p) { max-width: 72ch; color: var(--body-text); }
.refresh-page main .subpage-section > .section-inner > :where(p) + :where(p) { margin-top: 1rem; }
.refresh-page main .subpage-section > .section-inner > :where(.cards-4, .cards-3, .cards-2, .card-grid, .program-grid, .strategy-offer-grid, .price-table-wrap, details) { margin-top: 0; }

/* Häufige Fragen: wie auf der Startseite zweispaltig mit Plus-Zeichen */
.refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > :is(h2, .eyebrow, .subpage-section-head) { grid-column: 1; max-width: 16ch; }
.refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > h2 { grid-row: 1 / span 12; text-wrap: balance; }
.refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > details { grid-column: 2; }
.refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > details:first-of-type { border-top: 1px solid var(--line); }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details { border-bottom: 1px solid var(--line); }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .9rem;
  padding: 1rem 0;
  list-style: none;
  cursor: pointer;
  font: 400 clamp(1rem, 1.7vw, 1.28rem)/1.4 var(--serif);
  letter-spacing: -.02em;
}
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > summary::-webkit-details-marker { display: none; }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > summary::marker { content: ''; }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > summary::after { content: '+' / ''; flex: none; font: 600 1.25rem/1 var(--sans); color: var(--gold-ink); }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details[open] > summary::after { content: '−' / ''; }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > :not(summary) { padding: 0 1.5rem 1.15rem 0; margin-top: 0; color: var(--muted); font-size: .92rem; max-width: 68ch; }
.refresh-page main :is(.home-faq, .seo-faq, .lp-faq, .seo-faq-band) details > p + p { margin-top: .6rem; }

@media (max-width: 860px) {
  .refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner { grid-template-columns: minmax(0, 1fr); }
  .refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > :is(h2, details) { grid-column: 1; grid-row: auto; max-width: none; }
  .refresh-page main :is(.home-faq, .seo-faq-band) > .section-inner > h2 { margin-bottom: 1.25rem; }
}

/* Titel: Akzentwort in Gold-Kursiv wie im Entwurf */
.refresh-page main :is(.subpage-hero, .seo-hero, .lp-hero, .inquiry-top) h1 em { font-style: italic; color: var(--gold); }
.refresh-page main :is(.subpage-section, .lp-section) h2 em { font-style: italic; color: var(--gold-ink); }
.refresh-page main :is(.dark-section, .refresh-offers-dark, .page-cta) h2 em { color: var(--gold); }

/* Zweispaltiger Textblock mit Seitenkarte (Für wen, Datenschutz, Beispiel) */
.refresh-page main .split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.refresh-page main .split-layout > * { min-width: 0; }
@media (max-width: 860px) { .refresh-page main .split-layout { grid-template-columns: minmax(0, 1fr); } }

.refresh-page main .fit-box {
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
}
.refresh-page main .fit-box > span {
  display: block;
  margin: 0 0 .6rem;
  color: var(--gold-ink);
  font: 600 .72rem/1.45 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.refresh-page main .fit-box > ul + span { margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.refresh-page main .fit-box ul { margin: 0; padding: 0; list-style: none; }
.refresh-page main .fit-box li { position: relative; padding: .4rem 0 .4rem 1.25rem; color: var(--ink); font-size: .93rem; line-height: 1.5; }
.refresh-page main .fit-box li + li { margin-top: 0; }
.refresh-page main .fit-box li::before { content: ''; position: absolute; left: 0; top: .95rem; width: .4rem; height: .4rem; border-radius: 50%; background: var(--gold-ink); }

/* Ablauf in drei Spalten */
.refresh-page main .refresh-flow .phase-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
  border-top: 1px solid var(--ink);
  padding-top: 1.5rem;
}
.refresh-page main .refresh-flow .phase-list article { display: block; padding: 0; border: 0; background: none; }
.refresh-page main .refresh-flow .phase-list article > span { display: block; margin-bottom: .6rem; color: var(--gold-ink); font: 400 1.5rem/1 var(--serif); }
.refresh-page main .refresh-flow .phase-list h3 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.refresh-page main .refresh-flow .phase-list p { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .refresh-page main .refresh-flow .phase-list { grid-template-columns: minmax(0, 1fr); } }

/* Paketkarten: drei Spalten, Preis am Kartenende */
.refresh-page main .strategy-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.refresh-page main .strategy-offer-grid > .featured-detail-card { grid-column: auto; }
.refresh-page main .strategy-offer-grid > .strategy-offer-stack { grid-column: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; gap: clamp(1rem, 2vw, 1.5rem); }
.refresh-page main .strategy-offer-grid .detail-offer-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.2vw, 1.85rem);
}
.refresh-page main .strategy-offer-grid .detail-offer-card .card-kicker { color: var(--gold); margin-bottom: .6rem; }
.refresh-page main .strategy-offer-grid .detail-offer-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.refresh-page main .strategy-offer-grid .detail-offer-card > p { margin-top: .6rem; color: var(--light-muted); font-size: .9rem; }
.refresh-page main .strategy-offer-grid .detail-offer-card .check-list { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.refresh-page main .strategy-offer-grid .detail-offer-card .check-list li { padding: .5rem 0 .5rem 1.4rem; font-size: .86rem; line-height: 1.5; border-bottom: 1px solid var(--plum-line); position: relative; }
.refresh-page main .strategy-offer-grid .detail-offer-card .check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.refresh-page main .strategy-offer-grid .detail-offer-card .detail-price { margin-top: auto; padding-top: 1.4rem; }
.refresh-page main .strategy-offer-grid .detail-offer-card .detail-price strong { display: block; font: 400 clamp(1.7rem, 2.6vw, 2.2rem)/1.15 var(--serif); }
.refresh-page main .strategy-offer-grid .detail-offer-card .detail-price span { display: block; margin-top: .3rem; font-size: .76rem; line-height: 1.5; }
.refresh-page main .strategy-offer-grid .detail-offer-card .button { margin-top: 1.1rem; width: 100%; }
.refresh-page main .strategy-offer-stack .text-testimonial { padding: 1.25rem; }
.refresh-page main .strategy-offer-stack .text-testimonial blockquote { font-size: 1rem; line-height: 1.55; }
@media (max-width: 1020px) {
  .refresh-page main .strategy-offer-grid { grid-template-columns: minmax(0, 1fr); }
  .refresh-page main .strategy-offer-grid > .strategy-offer-stack { grid-template-rows: auto; }
}

/* Dunkle Infokarte (Praxisbeispiel, Alternative) */
.refresh-page main .dark-info-card {
  display: block;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  color: var(--light);
  background: var(--plum);
  border: 1px solid var(--plum-line);
  border-radius: 0;
  min-height: 0;
}
.refresh-page main .dark-info-card > span { display: block; margin-bottom: .6rem; color: var(--gold); font: 600 .72rem/1.45 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.refresh-page main .dark-info-card h3 { color: var(--light); font-size: clamp(1.25rem, 2vw, 1.75rem); }
.refresh-page main .dark-info-card p { max-width: 68ch; color: var(--light-muted); }
.refresh-page main .dark-info-card .button { margin-top: 1.25rem; }
.refresh-page main .dark-info-card .text-link { color: var(--gold); }
.refresh-page main .v5-crosslink { max-width: 72ch; }

/* ki-beratung: Zeile "Weitere Schritte" unter den Angeboten */
.refresh-page main .lp-steps { padding-block: 0 clamp(2rem, 4vw, 3.25rem); color: var(--light-muted); background: var(--plum); }
.refresh-page main .lp-steps p { margin: 0; font-size: .86rem; }
.refresh-page main .lp-steps a { color: var(--light); }
.refresh-page main .lp-steps strong { color: var(--light); font-weight: 600; }

/* Prozessautomatisierung und KI-Pilot: Preiskarte, Referenzkasten, Beispielablauf */
.refresh-page main .refresh-offers-dark .single-price {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--plum-card);
  border: 1px solid var(--plum-line);
}
.refresh-page main .refresh-offers-dark .single-price > span {
  display: block;
  color: var(--gold);
  font: 600 .72rem/1.45 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.refresh-page main .refresh-offers-dark .single-price > strong { display: block; margin-top: .4rem; color: var(--gold); font: 400 clamp(2rem, 3.4vw, 2.9rem)/1.15 var(--serif); }
.refresh-page main .refresh-offers-dark .single-price > p { margin-top: 1rem; }
.refresh-page main .refresh-offers-dark .single-price .text-link { color: var(--light); }

.refresh-page main .refresh-project-reference .reference-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-ink);
  background: var(--paper);
}
.refresh-page main .refresh-project-reference .reference-box > * { margin: 0; }
.refresh-page main .refresh-project-reference .reference-box-kicker { grid-column: 1 / -1; margin-bottom: .8rem; color: var(--gold-ink); font: 600 .72rem/1.45 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.refresh-page main .refresh-project-reference .reference-box h3 { grid-column: 1; grid-row: 2 / span 2; font-size: clamp(1.4rem, 2.4vw, 2rem); text-wrap: balance; }
.refresh-page main .refresh-project-reference .reference-box > p:not(.reference-box-kicker) { grid-column: 2; color: var(--muted); }
.refresh-page main .refresh-project-reference .reference-box > .text-link { grid-column: 2; margin-top: .9rem; justify-self: start; }
@media (max-width: 760px) {
  .refresh-page main .refresh-project-reference .reference-box { grid-template-columns: minmax(0, 1fr); }
  .refresh-page main .refresh-project-reference .reference-box > :is(h3, p:not(.reference-box-kicker), .text-link) { grid-column: 1; grid-row: auto; }
  .refresh-page main .refresh-project-reference .reference-box h3 { margin-bottom: .8rem; }
}

.refresh-page main .refresh-process-example .phase-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin-top: 1.75rem;
}
.refresh-page main .refresh-process-example .phase-list article {
  display: block;
  padding: 1rem 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.refresh-page main .refresh-process-example .phase-list article > span { display: block; margin-bottom: .5rem; color: var(--gold-ink); font: 600 .72rem/1 var(--sans); letter-spacing: .1em; }
.refresh-page main .refresh-process-example .phase-list h3 { font-size: 1.05rem; }
.refresh-page main .refresh-process-example .phase-list p { margin-top: .45rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
@media (max-width: 1000px) { .refresh-page main .refresh-process-example .phase-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .refresh-page main .refresh-process-example .phase-list { grid-template-columns: minmax(0, 1fr); } }
.refresh-page main .refresh-process-example .example-note { margin-top: .6rem; padding-left: .75rem; color: var(--gold-ink); font-size: .84rem; }
.refresh-page main .refresh-process-example .subpage-section-head > p:not(.eyebrow):not(.example-note) { margin-top: .8rem; }

.refresh-page main .dark-section .cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 760px) { .refresh-page main .dark-section .cards-2 { grid-template-columns: minmax(0, 1fr); } }
.refresh-page main .dark-section .cards-2 .dark-info-card { display: flex; flex-direction: column; background: var(--plum-card); }
.refresh-page main .dark-info-card > strong { display: block; margin-top: auto; padding-top: 1.25rem; color: var(--gold); font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.3 var(--serif); }
.refresh-page main .dark-info-card > strong + p { margin-top: .3rem; font-size: .88rem; }
.refresh-page main .dark-section .v5-crosslink { max-width: 62ch; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--plum-line); }
.refresh-page main .dark-section .v5-crosslink h3 { color: var(--light); font-size: 1.25rem; }
.refresh-page main .dark-section .v5-crosslink p { margin-top: .5rem; color: var(--light-muted); }
.refresh-page main .dark-section .v5-crosslink .text-link { display: inline-block; margin-top: .9rem; color: var(--gold); }

/* Logos offener Modelle: die ältere Größenregel liegt in @layer legacy und wird sonst von img{height:auto} übertrumpft */
.refresh-page main .model-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.4rem; margin-top: 1.5rem; }
.refresh-page main .model-logos img { display: block; width: auto; height: 1.9rem; max-width: 9rem; object-fit: contain; }

/* KI-Pilot: Musterkasten als Tabelle, Hinweis zur Mitwirkung */
.refresh-page main .pilot-muster { max-width: none; padding: clamp(1.25rem, 3vw, 2.25rem); }
.refresh-page main .pilot-muster h2 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); max-width: 28ch; }
.refresh-page main .pilot-muster .pilot-muster-hint { margin-top: .6rem; color: var(--gold-ink); font-size: .84rem; }
.refresh-page main .pilot-muster dl { margin: 1.4rem 0 0; }
.refresh-page main .pilot-muster dl > div {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  gap: .25rem clamp(1rem, 3vw, 2.5rem);
  padding: .85rem 0;
  border-top: 1px solid var(--line);
}
.refresh-page main .pilot-muster dt { color: var(--gold-ink); font: 600 .72rem/1.6 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.refresh-page main .pilot-muster dd { margin: 0; font-size: .95rem; }
.refresh-page main .pilot-muster > .text-link { display: inline-block; margin-top: 1.1rem; }
@media (max-width: 640px) { .refresh-page main .pilot-muster dl > div { grid-template-columns: minmax(0, 1fr); } }
.refresh-page main .scope-subheading { margin-top: clamp(1.75rem, 3vw, 2.5rem); font-size: 1.3rem; }
.refresh-page main .scope-subheading + p { max-width: 72ch; }
.refresh-page main .v5-crosslink + .v5-crosslink { margin-top: 1rem; }

/* KIRI: Text und Abbildung nebeneinander, Fragen wie auf der Startseite */
.refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) > .subpage-section-head { grid-column: 1 / -1; }
.refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) > p { grid-column: 1; }
.refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) > .kiri-figure { grid-column: 2; grid-row: 2 / span 8; margin: 0; }
.refresh-page main .kiri-panel .kiri-figure img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 .85rem 2rem #160f1b30; }
.refresh-page main .kiri-panel .kiri-figure figcaption { margin-top: .6rem; color: var(--muted); }
.refresh-page main .kiri-panel.dark-section .kiri-figure figcaption { color: var(--light-muted); }
@media (max-width: 860px) {
  .refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) { grid-template-columns: minmax(0, 1fr); }
  .refresh-page main .kiri-panel > .section-inner:has(> .kiri-figure) > .kiri-figure { grid-column: 1; grid-row: auto; margin-top: 1.5rem; }
}
.refresh-page main .kiri-faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  column-gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}
.refresh-page main .kiri-faq > :is(.eyebrow, h2) { grid-column: 1; max-width: 16ch; }
.refresh-page main .kiri-faq > h2 { grid-row: 2 / span 10; }
.refresh-page main .kiri-faq > details { grid-column: 2; border-bottom: 1px solid var(--line); }
.refresh-page main .kiri-faq > details:first-of-type { border-top: 1px solid var(--line); }
.refresh-page main .kiri-faq > details > summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: .9rem;
  padding: 1rem 0; list-style: none; cursor: pointer;
  font: 400 clamp(1rem, 1.7vw, 1.28rem)/1.4 var(--serif); letter-spacing: -.02em;
}
.refresh-page main .kiri-faq > details > summary::-webkit-details-marker { display: none; }
.refresh-page main .kiri-faq > details > summary::marker { content: ''; }
.refresh-page main .kiri-faq > details > summary::after { content: '+' / ''; flex: none; font: 600 1.25rem/1 var(--sans); color: var(--gold-ink); }
.refresh-page main .kiri-faq > details[open] > summary::after { content: '−' / ''; }
.refresh-page main .kiri-faq > details > p { padding: 0 1.5rem 1.15rem 0; margin: 0; color: var(--muted); font-size: .92rem; max-width: 68ch; }
@media (max-width: 860px) {
  .refresh-page main .kiri-faq { grid-template-columns: minmax(0, 1fr); }
  .refresh-page main .kiri-faq > :is(.eyebrow, h2, details) { grid-column: 1; grid-row: auto; max-width: none; }
  .refresh-page main .kiri-faq > h2 { margin-bottom: 1.25rem; }
}

/* Academy: Lernplattform-Abbildungen nebeneinander */
.refresh-page main .academy-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.75rem); align-items: start; }
.refresh-page main .academy-screens figure { margin: 0; }
.refresh-page main .academy-screens img { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 .6rem 1.6rem #160f1b24; }
.refresh-page main .academy-screens figcaption { margin-top: .6rem; color: var(--muted); }
@media (max-width: 800px) { .refresh-page main .academy-screens { grid-template-columns: minmax(0, 1fr); } }
.refresh-page main .kiri-faq > .eyebrow { max-width: none; }

/* Teamkarten: Text mit Innenabstand unter dem Foto */
.refresh-page main .refresh-team-grid .person-card > :not(img):not(picture) { padding-inline: .95rem; margin: 0; }
.refresh-page main .refresh-team-grid .person-card h3 { padding-top: .85rem; font-size: 1.05rem; line-height: 1.3; }
.refresh-page main .refresh-team-grid .person-card h3 + p, .refresh-page main .refresh-team-grid .person-card p { padding-top: .25rem; padding-bottom: .95rem; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* Referenzen: Projektkarten dreispaltig, Kundenband lesbar */
.refresh-page main .refresh-project-grid { display: grid; align-items: stretch; }
.refresh-page main .refresh-project-grid > article > div:last-child { display: flex; flex-direction: column; flex: 1; }
.refresh-page main .refresh-project-grid > article p + p { margin-top: .7rem; }
.refresh-page main .refresh-project-grid .v5-home-actions { display: flex; flex-direction: column; gap: .4rem; margin-top: auto; padding-top: 1.1rem; }
.refresh-page main .refresh-client-band h2 { max-width: none; }
.refresh-page main .refresh-client-band :is(.client-logos + p, .client-logos ~ p) { margin-top: .8rem; color: var(--light-muted); font-style: normal; font-size: .85rem; }
@media (max-width: 1000px) { .refresh-page .refresh-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .refresh-page .refresh-project-grid { grid-template-columns: minmax(0, 1fr); } }

/* Zwischenüberschriften nach Fließtext bekommen wieder Luft nach oben */
.refresh-page main :where(p:not([class*="eyebrow"]):not([class*="kicker"]):not([class*="note"]):not(.category), ul, ol, dl, table, blockquote, details) + :where(h3, h4) { margin-top: 1.6rem; }
.refresh-page main :where(p:not([class*="eyebrow"]):not([class*="kicker"]):not([class*="note"]):not(.category), ul, ol) + :where(h2) { margin-top: 2.4rem; }

/* Academy: Programme als vier Karten, Lernformat mit Nummern */
.refresh-page main .refresh-academy-programs > .section-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.25rem);
  align-items: stretch;
}
.refresh-page main .refresh-academy-programs > .section-inner > .subpage-section-head { grid-column: 1 / -1; }
.refresh-page main .refresh-academy-programs .program-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.1rem, 1.8vw, 1.6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.refresh-page main .refresh-academy-programs .program-detail > div { min-width: 0; }
.refresh-page main .refresh-academy-programs .program-detail > div:last-child { display: flex; flex-direction: column; flex: 1; }
.refresh-page main .refresh-academy-programs .program-detail .eyebrow { margin-bottom: .7rem; font-size: .66rem; line-height: 1.5; }
.refresh-page main .refresh-academy-programs .program-detail .eyebrow::before { display: none; }
.refresh-page main .refresh-academy-programs .program-detail h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.refresh-page main .refresh-academy-programs .program-detail .program-meta { margin-top: .35rem; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.refresh-page main .refresh-academy-programs .program-detail p { font-size: .9rem; }
.refresh-page main .refresh-academy-programs .program-detail .check-list { margin: 0; padding: 0; list-style: none; }
.refresh-page main .refresh-academy-programs .program-detail .check-list li { position: relative; padding: .35rem 0 .35rem 1.2rem; font-size: .85rem; line-height: 1.5; }
.refresh-page main .refresh-academy-programs .program-detail .check-list li::before { content: ''; position: absolute; left: 0; top: .85rem; width: .38rem; height: .38rem; border-radius: 50%; background: var(--gold-ink); }
.refresh-page main .refresh-academy-programs .program-detail .check-list + p { margin-top: .8rem; color: var(--muted); font-size: .84rem; }
.refresh-page main .refresh-academy-programs .program-detail .program-price { display: grid; gap: .7rem; margin-top: auto; padding-top: 1.1rem; }
.refresh-page main .refresh-academy-programs .program-detail .program-price strong { display: block; font: 400 clamp(1.45rem, 2vw, 1.85rem)/1.15 var(--serif); }
.refresh-page main .refresh-academy-programs .program-detail .program-price span { display: block; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.refresh-page main .refresh-academy-programs .program-detail > div:last-child > .text-link { margin-top: 1rem; font-size: .82rem; }
@media (max-width: 1180px) { .refresh-page main .refresh-academy-programs > .section-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .refresh-page main .refresh-academy-programs > .section-inner { grid-template-columns: minmax(0, 1fr); } }

.refresh-page main .refresh-lernformat .cards-4 { counter-reset: lf; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.25rem); }
.refresh-page main .refresh-lernformat .info-card { counter-increment: lf; padding: 1.25rem; }
.refresh-page main .refresh-lernformat .info-card::before { content: counter(lf, decimal-leading-zero); display: block; margin-bottom: .6rem; color: var(--gold-ink); font: 400 1.5rem/1 var(--serif); }
@media (max-width: 1000px) { .refresh-page main .refresh-lernformat .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .refresh-page main .refresh-lernformat .cards-4 { grid-template-columns: minmax(0, 1fr); } }

/* Abbildungen im Fließtext: Abstand davor und danach */
.refresh-page main :where(.section-inner, .seo-prose, .lp-prose) > figure { margin-block: 1.5rem; }
.refresh-page main :where(p, ul, ol) + figure { margin-top: 1.5rem; }

/* Kein heller Streifen zwischen Kopfzeile und erstem Abschnitt (alter Rand von main) */
.refresh-page main { margin-top: 0; }

/* Kicker über der Überschrift in Hero-Bereichen von Blog und Auswertung */
.refresh-page main :is(.seo-kicker, .lp-kicker, .category) { display: block; margin-bottom: .9rem; }
.refresh-page main :is(.seo-hero, .seo-blog-hero) :is(.seo-kicker) + h1 { margin-top: 0; }

/* Seitenleisten (Blog, Ratgeber): Überschriften passen in die schmale Spalte */
.refresh-page main :is(.seo-article-sidebar, .seo-guide-sidebar, .seo-side-contact, .seo-guide-nav, .seo-guide-aside) :is(h2, h3, h4, .seo-side-title) {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  hyphens: manual;
  text-wrap: balance;
}
.refresh-page main :is(.seo-article-sidebar, .seo-guide-sidebar) > * + * { margin-top: 1rem; }
.refresh-page main .seo-guide-note > :is(strong, h2, h3) { display: block; font-size: 1.05rem; line-height: 1.35; overflow-wrap: break-word; hyphens: manual; min-width: 0; }
.refresh-page main :is(.seo-guide-sidebar, .seo-article-sidebar) { min-width: 0; }
.refresh-page main .seo-guide-note { padding: 1.1rem 1.25rem; }
.refresh-page main .seo-guide-note p { font-size: .88rem; }
.refresh-page main .seo-guide-note > strong { font-size: .92rem; }
.refresh-page .seo-guide .seo-guide-layout { grid-template-columns: 240px minmax(0, 1fr); }
@media (max-width: 980px) { .refresh-page .seo-guide .seo-guide-layout { grid-template-columns: minmax(0, 1fr); } }

/* Zieldesign: eine Schriftskala und eine Inhaltsbreite für alle Unterseiten.
   Laufweite höchstens -0,025 em, Versalzeilen ohne vorangestellten Strich. */
:root {
  --page-inset: clamp(1.25rem, 4vw, 2rem);
  --page-space: clamp(1.75rem, 3vw, 2.75rem);
}

.refresh-page main h1 {
  font-size: clamp(2.45rem, 1.2rem + 4.2vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.refresh-page main h2 {
  font-size: clamp(1.8125rem, 1.1rem + 2.6vw, 2.625rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.refresh-page main h3 { letter-spacing: -.01em; }

.refresh-page main :is(.eyebrow, .seo-kicker, .card-kicker, .lp-eyebrow) {
  font-size: .8125rem;
  letter-spacing: .12em;
}

/* Zieldesign: Erstgespräch im Seitenkopf ist die goldene Hauptaktion. */
.refresh-page .site-header .header-inner .nav-cta {
  color: var(--plum-deep);
  border-color: var(--gold);
  background: var(--gold);
}
.refresh-page .site-header .header-inner .nav-cta:hover { border-color: #efd4a7; background: #efd4a7; }

/* Porträtkreise: größer, mit dünnem goldenem Rahmen, auch bei hellem Foto-Hintergrund. */
.refresh-page .refresh-hero-quote figcaption img,
.refresh-page main :is(.text-testimonial, .lp-quote, .fall-quote) figcaption > img,
.refresh-page main .contact-person img,
.refresh-page main .quote-person img,
.refresh-page main.lp:not(.refresh-consulting) .lp-card .lp-people-faces img,
.refresh-page main .lp-people-faces img,
.refresh-page main .testimonial-avatar,
.refresh-page main .funding-contact img {
  border: 2px solid var(--gold-ring);
  box-shadow: none;
  background: #fff;
  object-position: center top;
}
.refresh-page main :is(.lp-quote figcaption img, .lp-people-faces img, .testimonial-avatar) {
  width: 4.5rem;
  height: 4.5rem;
}
.refresh-page main .funding-contact img { width: 4.5rem; height: 4.5rem; }
.refresh-page .refresh-booking-grid .hero-person img {
  border: 2px solid var(--gold);
  box-shadow: none;
}

/* Referenzen: die drei Projektkarten teilen sich ihre Zeilen, Text und Links stehen auf gleicher Höhe. */
@media (min-width: 1001px) {
  .refresh-page main .refresh-project-grid { row-gap: 0; }
  .refresh-page main .refresh-project-grid > article {
    display: grid;
    grid-row: span 5;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    gap: 0;
    row-gap: 0;
  }
  .refresh-page main .refresh-project-grid > article > div:last-child { display: contents; }
  .refresh-page main .refresh-project-grid > article > div:first-child { margin-bottom: 1rem; }
  .refresh-page main .refresh-project-grid > article p { margin: 0 0 .7rem; }
  .refresh-page main .refresh-project-grid > article .v5-home-actions { align-self: end; margin: 0; padding-top: .5rem; }
}

/* Academy: Gruppenpreis steht in jeder Karte an derselben Stelle, der Preis je Person darunter. */
.refresh-page main .refresh-academy-programs .program-detail .program-price {
  grid-auto-rows: 4.25rem;
  align-content: start;
  min-height: 10.3rem;
}

/* Blog: alle Vorschaubilder im Seitenverhältnis 16:9, unabhängig vom Original. */
.refresh-page .seo-journal .seo-card-image { display: block; overflow: hidden; }
.refresh-page .seo-journal .seo-blog-list .seo-card-image img,
.refresh-page .seo-journal .seo-blog-feature .seo-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (min-width: 901px) {
  .refresh-page .seo-journal .seo-blog-feature .seo-card-image img { height: 100%; aspect-ratio: auto; min-height: 22.5rem; }
}

/* Blog-Artikel: jedes Bild hat Beschriftung und Abstand zum folgenden Text. */
.refresh-page .seo-journal [data-preserved-blog] figure { margin: 2.25rem 0 0; }
.refresh-page .seo-journal [data-preserved-blog] figure img { display: block; width: 100%; height: auto; }
.refresh-page .seo-journal [data-preserved-blog] :is(figcaption, figure + p:has(> strong > em:only-child)) {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.refresh-page .seo-journal [data-preserved-blog] :is(figure:has(figcaption), figure + p:has(> strong > em:only-child)) + * { margin-top: 2.25rem; }
