/* Laverdi – SAP Basis Beratung
   Fonts: "LV Grotesk Cn" is a subset of TeX Gyre Heros Cn (GUST Font License),
   "LV Lora" is a subset of Lora (SIL Open Font License). See /assets/fonts/LICENSE.txt */

@font-face { font-family: "LV Grotesk Cn"; src: url("../fonts/lv-grotesk-cn-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LV Grotesk Cn"; src: url("../fonts/lv-grotesk-cn-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "LV Lora"; src: url("../fonts/lv-lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "LV Lora"; src: url("../fonts/lv-lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #F3F6F4;
  --surface: #FFFFFF;
  --ink: #11231E;
  --ink-2: #4A5D57;
  --line: #D3DDD9;
  --brand: #136B54;
  --brand-hover: #0F5845;
  --brand-ink: #0D3B30;
  --brand-soft: #E2EEE8;
  --on-dark: #EAF2EE;
  --on-dark-2: #A9C2B8;
  --line-dark: rgba(234, 242, 238, 0.18);
  --signal: #2FBF71;
  --idle: #C3CFCA;

  --font-display: "LV Grotesk Cn", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "LV Lora", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: 24px;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
.nowrap { white-space: nowrap; }
h1 { font-size: clamp(2.9rem, 1.7rem + 5.2vw, 6rem); line-height: 0.94; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1.0; max-width: 24ch; }
h3 { font-size: 1.6rem; line-height: 1.1; }
h4 { font-size: 1.25rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 66ch; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.42rem); line-height: 1.55; color: var(--ink); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.95rem; line-height: 1.55; }
.ui { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--font-display); border-radius: var(--radius); }
.skip:focus { top: 12px; color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; line-height: 1;
  padding: 0.95em 1.35em; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--on-dark); color: var(--brand-ink); }
.btn-light:hover { background: #fff; color: var(--brand-ink); }
.btn-ghost-light { color: var(--on-dark); border-color: var(--on-dark-2); }
.btn-ghost-light:hover { background: var(--on-dark); color: var(--brand-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.text-link:hover { text-decoration-thickness: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 246, 244, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.brand .logo-mark { height: 30px; width: auto; }
.brand:hover { color: var(--ink); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); }
.main-nav a:hover { background: var(--brand-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-switch:hover { color: var(--ink); border-color: var(--ink-2); }
.header-cta { padding: 0.8em 1.1em; font-size: 1.05rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { margin: auto; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 980px) {
  .header-inner { gap: 12px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav, .header-actions { display: none; }
  .site-header.is-open { background: var(--paper); }
  .site-header.is-open .header-inner { flex-wrap: wrap; height: auto; min-height: 74px; padding-top: 14px; padding-bottom: 20px; }
  .site-header.is-open .brand { height: 46px; }
  .site-header.is-open .main-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; margin: 8px 0 0; gap: 0; }
  .site-header.is-open .main-nav a { font-size: 1.45rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header.is-open .header-actions { display: flex; order: 4; width: 100%; margin-top: 18px; justify-content: space-between; }
  .site-header.is-open .nav-toggle .icon-open { display: none; }
  .site-header.is-open .nav-toggle .icon-close { display: block; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.section.band-dark, .section.band-soft { padding-top: var(--section); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(2.2rem, 1.6rem + 2vw, 3.5rem); }
.section-head p { color: var(--ink-2); }
.band-dark { background: var(--brand-ink); color: var(--on-dark); }
.band-dark h2, .band-dark h3, .band-dark h4 { color: var(--on-dark); }
.band-dark p, .band-dark li { color: var(--on-dark); }
.band-dark .muted, .band-dark .section-head p { color: var(--on-dark-2); }
.band-dark a:not(.btn) { color: var(--on-dark); }
.band-soft { background: var(--brand-soft); }
.band-dark + .section, .band-soft + .section { padding-top: var(--section); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3.5rem, 2rem + 4vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { max-width: none; font-size: clamp(2.9rem, 1.6rem + 4.6vw, 5.1rem); }
.hero .lead { margin-top: 1.6rem; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-note { margin-top: 1rem; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; } }

/* Landscape diagram */
.landscape { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 18px; }
.landscape-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-2); margin: 0 0 6px; letter-spacing: 0.01em; }
.landscape svg { width: 100%; height: auto; }
.landscape figcaption { margin-top: 10px; font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; }
.ls-node rect { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; }
.ls-sid { font-family: var(--font-display); font-weight: 700; font-size: 31px; fill: var(--ink); letter-spacing: 0.02em; }
.ls-role { font-family: var(--font-body); font-size: 16px; fill: var(--ink-2); }
.ls-meta { font-family: var(--font-display); font-size: 16px; fill: var(--ink-2); }
.ls-route { stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; fill: none; }
.ls-light { fill: var(--signal); }
.ls-halo { fill: none; stroke: var(--signal); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ls-packet { fill: var(--brand); }
.ls-packet-group { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .ls-light { animation: light-on 0.35s ease forwards; fill: var(--idle); }
  .js .ls-n1 .ls-light { animation-delay: 0.5s; }
  .js .ls-n2 .ls-light { animation-delay: 1.75s; }
  .js .ls-n3 .ls-light { animation-delay: 3.0s; }
  .js .ls-packet-group { animation: packet-route 2.6s cubic-bezier(.55,.05,.35,1) 0.75s forwards; }
  .js .ls-n3 .ls-halo { animation: halo 1.1s ease-out 3.1s 1 forwards; }
}
@keyframes light-on { to { fill: var(--signal); } }
@keyframes packet-route {
  0%   { opacity: 0; transform: translateY(0); }
  6%   { opacity: 1; transform: translateY(0); }
  40%  { opacity: 1; transform: translateY(124px); }
  52%  { opacity: 1; transform: translateY(124px); }
  90%  { opacity: 1; transform: translateY(248px); }
  100% { opacity: 0; transform: translateY(248px); }
}
@keyframes halo { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }

/* ---------- Tech strip ---------- */
.tech { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.tech-inner { display: flex; gap: 10px 28px; align-items: baseline; flex-wrap: wrap; }
.tech-label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); flex: none; }
.tech ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tech li { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }

/* ---------- Pillars (home services) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar { padding: 0 clamp(1.2rem, 0.5rem + 2vw, 2.4rem); border-left: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar h3 { font-size: 2rem; }
.pillar > p { color: var(--ink-2); margin-top: 12px; min-height: 5.1em; }
.link-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 13px 0; font-family: var(--font-display); font-size: 1.14rem; color: var(--ink); text-decoration: none; }
.link-list a:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.after-list { margin-top: 2.6rem; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 3rem; }
  .pillar { padding: 0; border-left: 0; }
  .pillar > p { min-height: 0; }
}

/* ---------- Package rows ---------- */
.rows { border-top: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.5fr); gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row h3 { font-size: 1.6rem; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; }
.row p { color: var(--ink-2); }
.row .duration { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); text-align: right; white-space: nowrap; }
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row .duration { text-align: left; }
}

/* ---------- Tiers (dark band) ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.tier { padding: 28px clamp(1.2rem, 0.5rem + 2vw, 2.4rem) 6px; border-left: 1px solid var(--line-dark); }
.tier:first-child { padding-left: 0; border-left: 0; }
.tier:last-child { padding-right: 0; }
.tier h3 { font-size: 2rem; }
.tier .tagline { color: var(--on-dark-2); margin: 8px 0 18px; }
.tier ul { margin: 0; padding: 0; list-style: none; }
.tier li { padding: 8px 0 8px 22px; position: relative; font-size: 1.05rem; line-height: 1.5; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.tier .response { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 1.1rem; color: var(--on-dark); }
.tier .response span { color: var(--on-dark-2); }
.band-note { margin-top: 2.4rem; color: var(--on-dark-2); font-size: 1rem; }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; border-top: 0; }
  .tier { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Process route ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.route::before { content: ""; position: absolute; left: 22px; right: calc(25% - 44px); top: 22px; border-top: 2px dashed var(--ink-2); opacity: 0.55; }
.route li { position: relative; counter-increment: step; }
.route .step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--brand); }
.route li:last-child .step-no { background: var(--brand); color: #fff; }
.route h3 { margin-top: 20px; font-size: 1.45rem; }
.route p { margin-top: 10px; color: var(--ink-2); font-size: 1.05rem; }
@media (max-width: 900px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 22px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px dashed var(--ink-2); }
  .route li { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding-bottom: 30px; }
  .route li:last-child { padding-bottom: 0; }
  .route h3 { margin-top: 8px; }
  .route p { grid-column: 2; margin-top: 6px; }
}

/* ---------- Experience ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.case { padding: 26px 0; border-bottom: 1px solid var(--line); }
.case h3 { font-size: 1.35rem; }
.case p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.42rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.cta-grid h2 { max-width: 18ch; }
.cta-grid p { color: var(--ink-2); margin-top: 16px; }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-actions .mail { font-family: var(--font-display); font-size: 1.2rem; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Page head ---------- */
.page-head { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.7rem, 1.8rem + 4vw, 5rem); max-width: 16ch; }
.page-head .lead { margin-top: 1.4rem; color: var(--ink-2); }
.crumbs { font-family: var(--font-display); font-size: 1rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }

/* Jump nav */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; padding: 0; list-style: none; }
.jump a { display: inline-block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.jump a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Service detail ---------- */
.service { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px 64px; padding: clamp(2.8rem, 2rem + 2.5vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); }
.service .group { color: var(--ink-2); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 12px; }
.service .lead { font-size: 1.2rem; color: var(--ink); margin-top: 18px; }
.service h3 { font-size: 1.15rem; color: var(--ink-2); font-weight: 700; margin-bottom: 6px; letter-spacing: 0.005em; }
.tasks { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.tasks li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.5; }
.tasks li::before { content: ""; position: absolute; left: 3px; top: 1.2em; width: 9px; height: 9px; border: 2px solid var(--brand); border-radius: 50%; }
.result { background: var(--surface); border-left: 3px solid var(--signal); padding: 16px 20px; margin: 0 0 22px; }
.result strong { font-family: var(--font-display); font-weight: 700; display: block; font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } }

/* ---------- Package detail ---------- */
.pkg { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px 64px; padding: clamp(2.6rem, 2rem + 2vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.pkg h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); max-width: none; }
.pkg h3 { font-size: 1.15rem; color: var(--ink-2); margin-bottom: 6px; letter-spacing: 0.005em; }
.pkg .facts { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.pkg .facts dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.pkg .facts dd { margin: 0; color: var(--ink-2); }
.pkg .lead { margin-top: 14px; font-size: 1.15rem; color: var(--ink-2); }
@media (max-width: 900px) { .pkg { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; padding-top: 22px; padding-bottom: 16px; }
.compare thead th span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.98rem; color: var(--ink-2); margin-top: 4px; letter-spacing: 0; }
.compare tbody th { font-family: var(--font-body); font-weight: 400; color: var(--ink); width: 34%; }
.compare td { font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.compare tbody tr:hover { background: rgba(19, 107, 84, 0.05); }
.yes { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); vertical-align: middle; }
.no { color: var(--ink-2); }
.compare .featured { background: var(--brand-soft); }
.compare-note { margin-top: 18px; color: var(--ink-2); font-size: 1rem; }

/* ---------- About ---------- */
.profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px 56px; align-items: start; }
.monogram { width: 200px; height: 200px; border-radius: 50%; background: var(--brand-ink); color: var(--on-dark); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 4.2rem; letter-spacing: 0.02em; position: relative; }
.monogram::after { content: ""; position: absolute; right: 22px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); }
.profile h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.profile .role { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-2); margin: 8px 0 22px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.principles div { padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 1.45rem; }
.principles p { margin-top: 8px; color: var(--ink-2); }
.facts-list { display: grid; grid-template-columns: minmax(140px, auto) 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line); max-width: 760px; }
.facts-list dt, .facts-list dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts-list dt { font-family: var(--font-display); font-weight: 700; padding-right: 24px; }
.facts-list dd { color: var(--ink-2); }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .monogram { width: 140px; height: 140px; font-size: 3rem; }
  .monogram::after { right: 14px; top: 14px; width: 16px; height: 16px; }
  .principles { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 48px 72px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--surface); border: 1.5px solid #AEBDB7; border-radius: var(--radius); padding: 12px 14px; width: 100%; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.35); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.98rem; line-height: 1.5; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); font-size: 1.02rem; line-height: 1.5; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--brand-soft); border-left: 4px solid var(--signal); }
.form-status.err { background: #FBEDEA; border-left: 4px solid #C2412D; }
.aside-block { padding: 24px 0; border-top: 1px solid var(--line); }
.aside-block:first-child { padding-top: 0; border-top: 0; }
.aside-block h2 { font-size: 1.5rem; max-width: none; }
.aside-block p, .aside-block ol { margin-top: 10px; color: var(--ink-2); font-size: 1.05rem; }
.aside-block ol { padding-left: 1.2em; }
.aside-block li { margin-bottom: 6px; }
.aside-block .mail { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.7rem; margin: 2.4rem 0 0.8rem; max-width: none; }
.legal h3 { font-size: 1.3rem; margin: 1.8rem 0 0.6rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: var(--on-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand .logo-mark { height: 34px; }
.site-footer p { color: var(--on-dark-2); font-size: 1rem; margin-top: 16px; max-width: 32ch; }
.site-footer h2 { font-size: 1.1rem; color: var(--on-dark); margin-bottom: 12px; max-width: none; letter-spacing: 0.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--font-display); font-size: 0.98rem; color: var(--on-dark-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(4rem, 3rem + 6vw, 9rem) 0; }
.notfound h1 { max-width: 14ch; }
.notfound p { margin-top: 1.4rem; color: var(--ink-2); }

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Consultancy additions (Oct 2026) ---------- */
.prose { max-width: 70ch; }
.prose p { font-size: 1.15rem; }
.jump-group { display: grid; grid-template-columns: 170px 1fr; gap: 6px 18px; align-items: baseline; margin-top: 1.1rem; }
.jump-group .jump { margin-top: 0; }
.jump-label { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.jump-label a { color: var(--ink); text-decoration: none; }
.jump-label a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 700px) { .jump-group { grid-template-columns: 1fr; } }
.svc-group { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.svc-group + .svc-group { border-top: 2px solid var(--ink); margin-top: clamp(1rem, 0.5rem + 2vw, 2rem); }
.svc-group-head { display: grid; gap: 14px; padding-bottom: 0.6rem; }
.svc-group-head h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.svc-group-head .lead { color: var(--ink-2); }
.service .svc-title { font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.4rem); line-height: 1.05; }
.service h4 { font-size: 1.15rem; color: var(--ink-2); font-weight: 700; margin-bottom: 6px; letter-spacing: 0.005em; }
.service:last-child { border-bottom: 1px solid var(--line); }
.tiers-light { border-top-color: var(--line); margin-bottom: 2.4rem; }
.tiers-light .tier { border-left-color: var(--line); }
.tiers-light .tier .tagline, .tiers-light .tier .response span { color: var(--ink-2); }
.tiers-light .tier .response { border-top-color: var(--line); color: var(--ink); }
@media (max-width: 900px) { .tiers-light .tier { border-top-color: var(--line); } }
.compare.compare-2 { min-width: 0; }
.compare.compare-2 tbody th { width: 70%; }
@media (max-width: 1120px) and (min-width: 981px) {
  .main-nav a { padding: 10px 8px; font-size: 1.05rem; }
  .header-cta { padding: 0.75em 0.9em; font-size: 1rem; }
  .header-inner { gap: 16px; }
}
.service .svc-title { color: var(--ink); }
