/* ═══════════════════════════════════════════════════════════════════════════
   Kontor — Landing / Marketing Design Layer  (v1 · 2026-06)
   ───────────────────────────────────────────────────────────────────────────
   Shared stylesheet for the static marketing pages (split · kanzleien ·
   unternehmen · versprechen — DE + EN). Plain CSS, no framework, no Tailwind.
   Consumes design tokens from /theme.css via var(--…). The marketing pages have
   their OWN design language (Fraunces serif display + Geist body, light sections
   + dark CTA bands) — they do NOT adopt the app design system.

   Adapted from the inline styles of the former JSX landing (index.html) and the
   static legal-page pattern (impressum/datenschutz/agb).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Reset & base ─────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }

/* ── Serif display (Fraunces) ─────────────────────────────────────────────── */
.serif { font-family: 'Fraunces', 'Times New Roman', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }

/* ── Layout primitives ────────────────────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
/* Rebuilt landing sections (hero v15 onwards): width and gutter are tokens in theme.css. */
.wrap-landing { max-width: var(--landing-container); margin: 0 auto; padding-left: var(--landing-gutter); padding-right: var(--landing-gutter); }
section { padding: 84px 0; }
.section-muted { background: var(--bg); }
.section-soft  { background: #F0F4F9; }
.section-dark  { background: var(--text); color: #fff; }
.section-dark .serif, .section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  font-size: 12px; font-weight: 600; color: var(--blue);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 14px; }
.section-head p { font-size: 16px; color: var(--text-2); line-height: 1.6; }
.section-dark .section-head p { color: color-mix(in srgb, #fff 70%, transparent); }

/* ── Headings ─────────────────────────────────────────────────────────────── */
h1.display { font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 400; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(40px, 5vw, 60px); }
h2.display { font-family: 'Fraunces', 'Times New Roman', Georgia, serif;
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.1;
  font-size: clamp(28px, 3.4vw, 40px); }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-2); line-height: 1.6; }
.section-dark .lead { color: color-mix(in srgb, #fff 72%, transparent); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  font-family: inherit; cursor: pointer; text-decoration: none;
  border: 1px solid transparent; transition: all var(--duration-fast) var(--ease-out);
}
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); text-decoration: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); text-decoration: none; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); text-decoration: none; }
.section-dark .btn-light { background: #fff; color: var(--text); }
.section-dark .btn-light:hover { background: color-mix(in srgb, #fff 88%, transparent); text-decoration: none; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ── Nav (gate 9: menu pill, language pill, login, call button) ─────────────── */
/* One header on every landing page, DE and EN, rendered from one template.
   Wide screens: wordmark left, menu pill centred, then language pill, customer login and call
   button on the right. The outer grid columns are 1fr but never narrower than their content, so
   the menu pill sits in the centre where it fits and moves right of centre only on narrow desktops.
   Up to 1023px the menu pill and the login go into a menu behind the burger (popover, no script);
   the language pill always stays in the bar, the call button up to 520px.
   The bar is transparent at the very top and takes the page background with a hairline as soon as
   the page is scrolled (.nav-scrolled, set by the nav script in every page). Scrolling down hides the
   whole bar, scrolling up brings it back; with the menu open the bar stays. */
.nav-root { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0;
            transition: transform .25s ease, background-color .2s ease, box-shadow .2s ease; }
.nav-root.nav-scrolled, .nav-root:has(.nav-menu:popover-open) { background: var(--bg); box-shadow: 0 1px 0 var(--border-lt); }
.nav-root.nav-hidden { transform: translateY(-100%); pointer-events: none; }
.nav-root.nav-hidden:has(.nav-menu:popover-open) { transform: none; pointer-events: auto; }
/* On the landing container: the wordmark shares its left edge with the hero text. */
.nav-inner { max-width: var(--landing-container); margin: 0 auto; padding: 0 var(--landing-gutter);
             display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
             align-items: center; column-gap: 24px; }
.nav-brand { justify-self: start; font-weight: 600; font-size: 24px; color: var(--text); letter-spacing: -0.02em; font-family: 'Geist', system-ui, sans-serif; text-decoration: none; transition: transform .25s ease, opacity .25s ease; }
.nav-brand:hover { text-decoration: none; color: var(--text); }
/* White pills (opaque, no backdrop-filter): menu, language, burger. One height for all bar items. */
.nav-pill, .nav-langpill, .nav-burger {
  background: #fff;
  border: 1px solid rgba(26,29,33,.08);
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(26,29,33,.06);
}
.nav-pill, .nav-langpill, .nav-burger, .nav-end .nav-cta { height: 44px; box-sizing: border-box; }
.nav-pill { display: flex; align-items: center; gap: 2px; padding: 0 5px; transition: transform .25s ease, opacity .25s ease; }
.nav-pill .nav-link { color: #1A1D21; }
.nav-link {
  padding: 7px 13px; border-radius: var(--radius-pill);
  color: var(--text-2); font-size: 13px; font-weight: 500; text-decoration: none;
  white-space: nowrap; transition: color var(--duration-fast) var(--ease-out);
}
.nav-link:hover { color: var(--text); text-decoration: none; }
.nav-link.active { color: var(--text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--blue); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 10px; }
/* Language pill: globe, the current language, the other one as a link to the same page in that language. */
.nav-langpill { display: inline-flex; align-items: center; gap: 1px; padding: 0 5px 0 11px; font-size: 13px; font-weight: 500; }
.nav-globe { width: 15px; height: 15px; margin-right: 3px; fill: none; stroke: var(--text-2); stroke-width: 1.3; flex: none; }
.nav-lang-cur, .nav-lang { padding: 6px 8px; border-radius: var(--radius-pill); line-height: 18px; white-space: nowrap; }
.nav-lang-cur { color: #1A1D21; background: rgba(26,29,33,.06); }
.nav-lang { color: var(--text-2); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
.nav-lang:hover { color: var(--text); text-decoration: none; }
.nav-login { padding: 7px 4px; color: #1A1D21; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-login:hover { color: var(--blue); text-decoration: none; }
.nav-cta { display: inline-flex; align-items: center; padding: 0 18px; border-radius: var(--radius-pill); background: var(--blue); color: #fff; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav-cta:hover { background: var(--blue-hover); text-decoration: none; color: #fff; }
/* ── Solutions dropdown (Lösungen ▾ / Solutions ▾) ────────────────────────── */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd > .nav-link { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd .nav-cv { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform var(--duration-fast) var(--ease-out); }
.nav-dd:hover .nav-cv, .nav-dd:focus-within .nav-cv { transform: rotate(180deg); }
/* invisible bridge keeps hover alive across the gap to the menu */
.nav-dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: -2px;   /* opens to the right from its trigger (gate 9c) */
  transform: translateY(-6px);
  width: max-content; min-width: 260px; padding: 7px;
  background: #fff; border: 1px solid rgba(26,29,33,.10); border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px -18px rgba(26,29,33,.22);
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out), visibility var(--duration-fast);
  z-index: 1;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a { display: grid; grid-template-columns: 38px auto; column-gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: var(--radius); text-decoration: none; }
.nav-dd-menu a:hover, .nav-dd-menu a[aria-current="page"] { background: var(--blue-lt); text-decoration: none; }
.nav-dd-menu a b { grid-column: 2; align-self: end; font-size: 13px; font-weight: 600; color: var(--text); }
.nav-dd-menu a span { grid-column: 2; align-self: start; font-size: 12px; color: var(--text-3); margin-top: 2px; white-space: nowrap; }
/* Menu icons (gate 9c): own line icons in Kontor blue on a disc formed by dots. The disc is one SVG
   background (only whole dots inside the circle); the icon is one SVG path, stroke only, with a white halo so
   its lines stay clear of the dots. */
.nav-tile { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cpath d='M1.9 13.3h0M1.9 17.1h0M1.9 20.9h0M1.9 24.7h0M5.7 9.5h0M5.7 13.3h0M5.7 17.1h0M5.7 20.9h0M5.7 24.7h0M5.7 28.5h0M9.5 5.7h0M9.5 9.5h0M9.5 13.3h0M9.5 17.1h0M9.5 20.9h0M9.5 24.7h0M9.5 28.5h0M9.5 32.3h0M13.3 1.9h0M13.3 5.7h0M13.3 9.5h0M13.3 13.3h0M13.3 17.1h0M13.3 20.9h0M13.3 24.7h0M13.3 28.5h0M13.3 32.3h0M13.3 36.1h0M17.1 1.9h0M17.1 5.7h0M17.1 9.5h0M17.1 13.3h0M17.1 17.1h0M17.1 20.9h0M17.1 24.7h0M17.1 28.5h0M17.1 32.3h0M17.1 36.1h0M20.9 1.9h0M20.9 5.7h0M20.9 9.5h0M20.9 13.3h0M20.9 17.1h0M20.9 20.9h0M20.9 24.7h0M20.9 28.5h0M20.9 32.3h0M20.9 36.1h0M24.7 1.9h0M24.7 5.7h0M24.7 9.5h0M24.7 13.3h0M24.7 17.1h0M24.7 20.9h0M24.7 24.7h0M24.7 28.5h0M24.7 32.3h0M24.7 36.1h0M28.5 5.7h0M28.5 9.5h0M28.5 13.3h0M28.5 17.1h0M28.5 20.9h0M28.5 24.7h0M28.5 28.5h0M28.5 32.3h0M32.3 9.5h0M32.3 13.3h0M32.3 17.1h0M32.3 20.9h0M32.3 24.7h0M32.3 28.5h0M36.1 13.3h0M36.1 17.1h0M36.1 20.9h0M36.1 24.7h0' stroke='%231B3A6B' stroke-opacity='.16' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 38px 38px no-repeat; }
.nav-ico { width: 20px; height: 20px; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1.5px #fff); }
.nav-ico path { fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* ── Burger and its menu (up to 1023px) ───────────────────────────────────── */
.nav-burger { display: none; position: relative; width: 44px; padding: 0; cursor: pointer; color: #1A1D21; }
.nav-burger i { position: absolute; left: 13px; right: 13px; top: 50%; height: 1.5px; margin-top: -0.75px; border-radius: 1px; background: currentColor; transition: transform var(--duration-fast) var(--ease-out); }
.nav-burger i:first-child { transform: translateY(-3.5px); }
.nav-burger i:last-child { transform: translateY(3.5px); }
.nav-root:has(.nav-menu:popover-open) .nav-burger i:first-child { transform: rotate(45deg); }
.nav-root:has(.nav-menu:popover-open) .nav-burger i:last-child { transform: rotate(-45deg); }
.nav-menu { display: none; }
.nav-menu:popover-open {
  display: block; position: fixed; inset: auto; top: var(--nav-menu-top, 86px); left: var(--landing-gutter); right: var(--landing-gutter);
  width: auto; height: auto; max-height: calc(100dvh - var(--nav-menu-top, 86px) - 16px); overflow: auto; margin: 0;
  padding: 8px; color: var(--text);
  background: #fff; border: 1px solid rgba(26,29,33,.10); border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px -18px rgba(26,29,33,.22);
}
.nav-menu::backdrop { background: transparent; }
.nav-menu-label { margin: 0; padding: 10px 12px 4px; font-size: 12px; font-weight: 500; color: var(--text-3); }
.nav-menu a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: var(--radius); color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-menu a b { grid-column: 2; align-self: end; font-weight: 500; }
.nav-menu a span { grid-column: 2; align-self: start; margin-top: 1px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.nav-menu a.nav-menu-plain { display: block; padding: 10px 12px; }
.nav-menu-label:not(:first-child) { margin-top: 6px; }
.nav-menu a:hover, .nav-menu a[aria-current="page"], .nav-menu a.active { background: var(--blue-lt); text-decoration: none; }
.nav-menu hr { margin: 6px 12px; border: 0; border-top: 1px solid var(--border-lt); }
.nav-menu .nav-menu-cta { display: none; margin-top: 6px; padding: 13px 18px; border-radius: var(--radius-pill); background: var(--blue); color: #fff; text-align: center; }
.nav-menu .nav-menu-cta:hover { background: var(--blue-hover); color: #fff; }
@media (max-width: 1023px) {
  .nav-inner { grid-template-columns: auto 1fr; column-gap: 12px; }
  .nav-pill, .nav-login { display: none; }
  .nav-end { grid-column: 2; gap: 8px; }
  .nav-burger { display: block; }
}
@media (max-width: 768px) {
  .nav-root { --nav-menu-top: 74px; padding: 12px 0; }
  .nav-brand { font-size: 20px; }
}
@media (max-width: 520px) {
  .nav-end .nav-cta { display: none; }
  .nav-menu .nav-menu-cta { display: block; }
}
/* Slim solution and resource pages (gate 9c): one real screen below the steps. */
.page-shot { max-width: 1000px; margin: 56px auto 0; border: 1px solid var(--border-lt); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 20px 44px -24px rgba(26,29,33,.22); }
.page-shot img { display: block; width: 100%; height: auto; }

/* ── Solution pages: real screens of the scenes that left the hero (gate 14b) ──
   Left-aligned head as on the e-invoice and automation pages; the figures use .page-shot at full wrap width. */
.sol-shot { padding: 82px 0 90px; background: linear-gradient(180deg, #FBFCFD, #F5F7F9); }
.sol-head { max-width: 56ch; margin: 0 0 34px; }
.sol-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #1B3A6B; font-weight: 600; margin: 0 0 14px; }
.sol-head h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.05;
               font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; text-wrap: balance; color: #0A0E1A; }
.sol-lede { font-size: clamp(15px, 1.3vw, 17.5px); color: #454D5C; max-width: 50ch; line-height: 1.5; margin: 0; }
.sol-figs { display: grid; gap: 28px; }
.sol-figs .page-shot { max-width: none; margin: 0; }
.section-soft .page-shot + .page-shot { margin-top: 28px; }
/* spacer so fixed nav doesn't overlap hero */
.nav-spacer { height: 76px; }

/* ── Hero (generic) ───────────────────────────────────────────────────────── */
.hero { padding: 72px 0 64px; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 680px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ── Split / two-door (root) ──────────────────────────────────────────────── */
.split-hero { text-align: center; max-width: 820px; margin: 0 auto; padding-bottom: 8px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 40px auto 0; }
.door {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius-2xl);
  padding: 40px 36px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.door-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.door h2 { font-size: 26px; line-height: 1.15; }
.door p { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.door-arrow { margin-top: auto; font-weight: 600; color: var(--blue); font-size: 15px; }

/* ── Standards band ───────────────────────────────────────────────────────── */
.standards { text-align: center; }
.standards-list { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; max-width: 880px; margin: 0 auto; }
.standard-pill { font-size: 13px; font-weight: 500; color: var(--text); padding: 8px 16px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--border-lt); }
.section-dark .standard-pill { background: color-mix(in srgb, #fff 8%, transparent); border-color: color-mix(in srgb, #fff 14%, transparent); color: #fff; }

/* ── Signature: one entry → six standards (root value-spine §1.1) ─────────── */
.signature { text-align: center; }
.sig-flow { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; max-width: 880px; margin: 0 auto; }
.sig-in { flex: 0 0 auto; background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 22px 28px; }
.sig-in .sig-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); display: block; margin-bottom: 8px; }
.sig-in .sig-entry { font-family: 'Fraunces', Georgia, serif; font-size: 22px; letter-spacing: -0.01em; color: var(--text); }
.sig-arrow { flex: 0 0 auto; color: var(--blue); font-size: 28px; font-weight: 600; line-height: 1; }
.sig-out { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 380px; }
@media (max-width: 640px) {
  .sig-flow { gap: 18px; }
  .sig-arrow { transform: rotate(90deg); }
  .sig-out { max-width: 100%; }
}

/* ── Rechner teaser (root value-spine §1.4) ───────────────────────────────── */
.spine-teaser { text-align: center; max-width: 680px; margin: 0 auto; }
.spine-teaser h2 { margin-bottom: 12px; }
.spine-teaser p { font-size: 16px; color: var(--text-2); line-height: 1.6; margin-bottom: 28px; }

/* ── Feature cards / bento ────────────────────────────────────────────────── */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius-xl); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.feature-card h3 { font-family: 'Geist', system-ui, sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.feature-card .tier { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; display: block; }
.feature-list { list-style: none; }
.feature-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 11px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; border-radius: 50%; background: var(--success-lt);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='%230A7355' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ── Process pipeline (Upload → … → Buchung) ──────────────────────────────── */
.pipeline { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; justify-content: center; max-width: 980px; margin: 0 auto 36px; }
.pipe-step { flex: 1 1 0; min-width: 130px; background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius); padding: 16px 14px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--text); display: flex; align-items: center; justify-content: center; }
.pipe-step.is-key { background: var(--blue-lt); border-color: var(--blue-mid); color: var(--blue); font-weight: 600; }
.pipe-arrow { display: flex; align-items: center; color: var(--text-3); font-weight: 600; }

/* ── Metric block ─────────────────────────────────────────────────────────── */
.metric { text-align: center; max-width: 720px; margin: 0 auto; }
.metric-value { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.metric-note { font-size: 13px; color: var(--text-3); margin-top: 10px; }

/* ── Comparison table (3-col, highlighted column) ─────────────────────────── */
.compare-wrap { max-width: 980px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius-xl); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; font-size: 14px; vertical-align: top; border-bottom: 1px solid var(--border-lt); }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--text); }
.compare thead th:first-child { color: var(--text-2); font-weight: 500; }
.compare tbody th { font-weight: 500; color: var(--text-2); font-size: 13.5px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare .col-ours { background: var(--blue-soft); position: relative; }
.compare thead .col-ours { color: var(--blue); font-weight: 700; box-shadow: inset 0 3px 0 var(--blue); }
.compare td.muted { color: var(--text-3); }

/* ── Numbered steps (01 / 02 / 03) ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.step-num { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 60px; line-height: 1; color: var(--border); margin-bottom: 12px; }
.step h3 { font-family: 'Geist', system-ui, sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ── Pricing cards ────────────────────────────────────────────────────────── */
.price-framing { text-align: center; font-size: 15px; color: var(--text-2); margin-bottom: 32px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.price-card { background: var(--card); border: 1px solid var(--border-lt); border-radius: var(--radius-xl); padding: 32px 30px; box-shadow: var(--shadow-sm); }
.price-card h3 { font-family: 'Geist', system-ui, sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.price-amount { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 44px; letter-spacing: -0.02em; line-height: 1; color: var(--text); }
.price-amount small { font-family: 'Geist', system-ui, sans-serif; font-size: 14px; color: var(--text-2); font-weight: 400; }
.price-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; margin-top: 14px; }

/* ── Pilot box (highlighted) ──────────────────────────────────────────────── */
.pilot { max-width: 720px; margin: 0 auto; background: var(--card); border: 2px solid var(--blue); border-radius: var(--radius-2xl); padding: 40px 38px; box-shadow: var(--shadow-card-hover); text-align: center; }
.pilot h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 28px; letter-spacing: -0.01em; margin-bottom: 10px; }
.pilot .pilot-lede { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.pilot p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.pilot .btn { margin-top: 18px; }

/* ── Commitments (short form list on /kanzleien) ──────────────────────────── */
.commitments { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; max-width: 980px; margin: 0 auto; counter-reset: vow; }
.commitment { }
.commitment h3 { font-family: 'Geist', system-ui, sans-serif; font-size: 15.5px; font-weight: 600; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; }
.commitment h3::before { counter-increment: vow; content: counter(vow, decimal-leading-zero); font-family: 'Fraunces', Georgia, serif; color: var(--blue); font-size: 15px; }
.commitment p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }

/* ── Long-form commitments (versprechen page) ─────────────────────────────── */
.vow-page { max-width: 720px; margin: 0 auto; }
.vow-page h1 { margin-bottom: 18px; }
.vow-page .intro { font-size: 17px; color: var(--text-2); line-height: 1.65; margin-bottom: 40px; }
.vow-block { padding: 28px 0; border-top: 1px solid var(--border-lt); }
.vow-block:first-of-type { border-top: none; }
.vow-block h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 12px; }
.vow-block p { font-size: 15px; color: var(--text); line-height: 1.75; }

/* ── Banner (cross-link / bridge) ─────────────────────────────────────────── */
.banner { max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--blue-lt); border: 1px solid var(--blue-mid); border-radius: var(--radius-xl); padding: 20px 26px; }
.banner p { font-size: 15px; font-weight: 500; color: var(--blue); margin: 0; }

/* ── Dashboard visual (kanzleien hero) ────────────────────────────────────── */
.visual-frame { position: relative; max-width: 920px; margin: 40px auto 0; border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card-hover); }
.visual-frame img { width: 100%; height: auto; }
.visual-badge { position: absolute; top: 16px; right: 16px; background: color-mix(in srgb, var(--text) 88%, transparent); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }

/* ── CTA section (dark band) ──────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band .wrap { max-width: 720px; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: color-mix(in srgb, #fff 72%, transparent); font-size: 16px; line-height: 1.6; margin-bottom: 28px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { padding: 48px 28px 36px; background: var(--text); color: color-mix(in srgb, var(--card) 55%, transparent); }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.footer-brand-name { color: var(--card); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.footer-tag { font-size: 13px; color: color-mix(in srgb, var(--card) 38%, transparent); max-width: 360px; line-height: 1.6; margin-top: 8px; }
/* Footer columns: the header's groups (Produkt, Lösungen, Ressourcen) plus Unternehmen and Rechtliches, same entries and
   targets as the header, text only. Brand left, columns right; from 1199px down the brand sits above the columns, two columns up to
   1023px, one on phones. */
.footer-top { display: grid; grid-template-columns: minmax(200px, 1fr) auto; }
.footer-cols { display: grid; grid-template-columns: repeat(5, max-content); gap: 28px 36px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-h { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--card) 85%, transparent); }
.footer-col a { font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--card) 55%, transparent); }
.footer-col a:hover { color: color-mix(in srgb, var(--card) 90%, transparent); text-decoration: none; }
@media (max-width: 1279px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 1023px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }
/* Knowledge row — the three article titles are long, so they get their own
   band and a column each rather than joining the single-line footer nav. */
.footer-knowledge { border-top: 1px solid color-mix(in srgb, var(--card) 8%, transparent); padding-top: 20px; margin-bottom: 26px; }
.footer-knowledge-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: color-mix(in srgb, var(--card) 30%, transparent); margin-bottom: 12px; }
.footer-knowledge-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.footer-knowledge-links a { font-size: 13px; line-height: 1.5; color: color-mix(in srgb, var(--card) 55%, transparent); }
.footer-knowledge-links a:hover { color: color-mix(in srgb, var(--card) 90%, transparent); text-decoration: none; }
@media (max-width: 720px) { .footer-knowledge-links { grid-template-columns: 1fr; } }

/* No rule above the legal row: with the knowledge band gone it separated
   nothing, and .footer-top's 32px bottom margin already sets the row apart. */
.footer-bottom { padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal { font-size: 12px; color: color-mix(in srgb, var(--card) 32%, transparent); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { font-size: 12px; color: color-mix(in srgb, var(--card) 45%, transparent); }
.footer-links a:hover { color: color-mix(in srgb, var(--card) 85%, transparent); text-decoration: none; }

/* ── Generic helpers ──────────────────────────────────────────────────────── */
.center { text-align: center; }
.mt-cta { margin-top: 36px; text-align: center; }
.body-prose p { font-size: 16px; color: var(--text); line-height: 1.75; max-width: 720px; margin: 0 auto 16px; }
.body-prose.center p { margin-left: auto; margin-right: auto; }
.note { font-size: 13px; color: var(--text-3); }

/* ── Mobile ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .wrap, .wrap-wide, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .doors { grid-template-columns: 1fr; gap: 16px; }
  .cards-2, .prices { grid-template-columns: 1fr; }
  .commitments { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .pipeline { flex-direction: column; }
  .pipe-arrow { transform: rotate(90deg); justify-content: center; }
  .banner { flex-direction: column; align-items: flex-start; }
}

/* No word alone on the last line of a paragraph (Stefan 2026-10-22). text-wrap: pretty is inherited, so it also
   reaches the spans inside a list item. Browsers without it (Firefox) keep their usual breaks. */
p, li, dd, figcaption, blockquote { text-wrap: pretty; }

/* Language menu (E5 a, Stefan 2026-11-23): the pill shows globe, the code of the page language and an arrow;
   the list names code and own name of every language, the current one in 600 with a blue square. No flags:
   flags belong to the country choice of the pricing page (country and currency, not language).
   Markup from build.js (scripts/marketing-i18n/site.cjs, setMenu), behaviour in /langmenu.js. */
.nav-langdd { position: relative; }
.nav-langdd > summary { list-style: none; cursor: pointer; padding: 0 12px 0 11px; gap: 4px; }
.nav-langdd > summary::-webkit-details-marker { display: none; }
.nav-langdd .nav-lang-cur { background: none; padding: 6px 2px; }
.nav-lang-cv { width: 10px; height: 10px; fill: none; stroke: var(--text-2); stroke-width: 1.5; transition: transform var(--duration-fast) var(--ease-out); }
.nav-langdd[open] .nav-lang-cv { transform: rotate(180deg); }
.nav-langmenu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 232px; padding: 8px; background: #fff;
  border: 1px solid rgba(26,29,33,.08); border-radius: 16px; box-shadow: 0 12px 32px rgba(26,29,33,.12); }
.nav-langmenu a { display: grid; grid-template-columns: 52px 1fr 8px; align-items: center; padding: 10px 12px; border-radius: 10px;
  color: #1A1D21; font-size: 15px; text-decoration: none; }
.nav-langmenu a:hover { background: rgba(26,29,33,.05); text-decoration: none; color: #1A1D21; }
.nav-langmenu a::after { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.nav-langmenu a[aria-current="true"] { font-weight: 600; }
.nav-langmenu a[aria-current="true"]::after { background: var(--blue); }
.nav-lang-code { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--text-2); }

/* Legal pages in fr, it, es, da (E3 a): a narrow note above the h1 that the German version prevails, like an
   info box of the knowledge articles, not a banner. Text per language in i18n/marketing/legal-notice.json. */
.mk-legal-note { display: inline-block; margin: 0 0 18px; padding: 10px 14px; border-radius: var(--radius-xl, 12px);
  background: var(--blue-lt); color: var(--text-2); font-size: 14px; line-height: 1.55; max-width: 62ch; }
.mk-legal-note a { color: var(--blue); }