/* Hallmark · shape: Personal practice · genre: modern-minimal · theme: brand · redesign: full · copy: updated by user request 2026-11-03
 * paper: #ffffff · accent: #43e5aa · display: DIN Pro · body: DM Sans · hero: Stage · nav: three-part practice bar · footer: mast · signature: Jacob's original triangular portrait
 * axes: light/geometric-sans/cool · posture: Committed navy field · contrast: checked · fold: checked · imagery: one original user photograph (hero) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R4 V4 · weakest: S, the offer is broad; retain Jacob's own portrait and concrete service outputs instead of invented client proof */
/* Hallmark · dismissed 42 · navigation retains the four existing destinations; the brand descriptor makes a three-part practice bar, no added sitemap */
/* Hallmark · answered F4 · the navy button exists only inside the privacy dialog, which is a separate surface; mint is the sole page action recipe */
/* Hallmark · hero-review: subagent, ship, no blocking findings · render: CUA screenshots, not sloplint browser runner */
/* Hallmark · finish-review: subagent, fix · 1 finding · 1 resolved · keep na vás together; verified at 375 and 1440 · gap: retained copy is broad */
/* 2026-11-03: user-requested offer and animated headline update; Hallmark review comments above describe the 2026-11-02 baseline. */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: .8125rem; --text-sm: .875rem; --text-md: 1rem; --text-lg: 1.25rem;
  --text-display: clamp(2.75rem, 5.3vw, 4.75rem); --text-section: clamp(2rem, 3.7vw, 3.5rem); --text-title: clamp(1.5rem, 2.1vw, 2rem); --text-lead: clamp(1.125rem, 1.5vw, 1.375rem);
  --color-paper: #ffffff; --color-paper-2: #f3f6f8; --color-paper-3: #e7edf1;
  --color-ink: #19274c; --color-ink-2: #273650; --color-muted: #536176;
  --color-rule: #ced6df; --color-field: #19274c; --color-field-deep: #14203e;
  --color-on-field: #ffffff; --color-on-field-muted: #ced8e8; --color-field-rule: #64738b;
  --color-accent: #43e5aa; --color-accent-ink: #14203e; --color-accent-hover: #7bf0c3; --color-focus: #157356;
  --color-error: #a92f35; --color-success: #1b6850;
  --color-overlay: #14203ed9; --color-selection: #baf5df;
  --font-display: 'DIN Pro', 'DM Sans', sans-serif; --font-body: 'DM Sans', sans-serif;
  --display-weight: 500; --tracking-display: -.015em;
  --container: 1440px; --gutter: 64px; --gap-columns: 40px;
  --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --radius-card: 4px; --radius-control: 4px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DIN Pro';
  src: url('assets/fonts/din-pro-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DIN Pro';
  src: url('assets/fonts/din-pro-bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}


html { scroll-behavior: smooth; }
body { font-synthesis: none; }
h4 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
a { text-decoration: none; }
button { cursor: pointer; color: inherit; }
svg { flex: none; }
svg path, svg rect, svg circle { vector-effect: non-scaling-stroke; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.hero :focus-visible, .site-header :focus-visible, .contact :focus-visible { outline-color: var(--color-accent); }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap); }
.skip-link { position: fixed; z-index: var(--z-toast); top: var(--space-md); left: var(--space-md); padding: var(--space-sm) var(--space-lg); background: var(--color-accent); color: var(--color-accent-ink); transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-field); color: var(--color-on-field); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: var(--space-lg); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: var(--tracking-display); white-space: nowrap; }
.wordmark svg { width: 24px; height: 24px; color: var(--color-accent); }
.wordmark-dot { color: var(--color-accent); margin-left: calc(-1 * var(--space-xs)); }
.header-descriptor { max-width: 160px; padding-left: var(--space-lg); border-left: 1px solid var(--color-field-rule); font-size: 14px; line-height: 1.5; color: var(--color-on-field-muted); }
nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-lg); font-size: 14px; white-space: nowrap; }
nav > a { display: inline-flex; align-items: center; min-height: 48px; }
nav > a:hover { color: var(--color-accent); }
.nav-cta { gap: var(--space-md); padding-inline: var(--space-md); border: 1px solid var(--color-field-rule); border-radius: var(--radius-control); }
.nav-cta svg, .text-link svg, .contact-email svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-toggle { display: none; }
.hero { color: var(--color-on-field); background: var(--color-field); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: var(--space-xl); padding-block: var(--space-2xl); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--text-display); line-height: 1.08; max-width: 16ch; }
.hero-description { max-width: 45ch; font-size: var(--text-lead); line-height: 1.55; margin-block: var(--space-lg) var(--space-xl); color: var(--color-on-field-muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-lg); min-height: 52px; padding: var(--space-sm) var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-control); font-size: 15px; line-height: 1.4; font-weight: 600; white-space: nowrap; }
.button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.button-mint { background: var(--color-accent); color: var(--color-accent-ink); }
.button-mint:hover { background: var(--color-accent-hover); }
a:active, button:active { transform: translateY(1px); }
button:disabled, input:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; background: var(--color-paper-3); color: var(--color-muted); }
.cta-note { color: var(--color-on-field-muted); font-size: 13px; margin-top: var(--space-md); }
.hero-person { min-width: 0; }
.hero-photo { width: 100%; max-width: 480px; margin-inline: auto; }
@media (max-width: 1150px) { .header-descriptor { display: none; } }
@media (max-width: 800px) {
  :root { --gutter: 24px; --gap-columns: 24px; }
  .header-inner { min-height: 72px; }
  .wordmark { font-size: 22px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: var(--space-xs); width: 48px; height: 48px; margin-left: auto; background: transparent; border: 1px solid var(--color-field-rule); border-radius: var(--radius-control); }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--color-on-field); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: var(--space-lg); background: var(--color-field); flex-direction: column; align-items: stretch; gap: var(--space-xs); border-bottom: 1px solid var(--color-field-rule); }
  nav.is-open { display: flex; }
  nav > a { padding-inline: var(--space-md); }
  .nav-cta { justify-content: space-between; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: var(--space-2xl); padding-block: var(--space-xl); }
  .hero h1 { font-size: clamp(38px, 8vw, 64px); max-width: 18ch; }
  .hero-description { max-width: 45ch; font-size: 18px; margin-block: var(--space-lg); }
  .hero-person { width: min(100%, 480px); justify-self: center; }
}
@media (max-width: 400px) {
  :root { --gutter: 20px; }
  .hero h1 { font-size: 35px; }
  .hero-description { font-size: 16px; }
  .button { font-size: 14px; padding-inline: var(--space-md); gap: var(--space-md); }
  .cta-note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: var(--gap-columns); margin-bottom: var(--space-2xl); }
.section-heading h2 { max-width: 22ch; }
.section-heading > p { max-width: 45ch; font-size: 18px; line-height: 1.6; color: var(--color-muted); }
.hero-options { max-width: 65ch; font-size: 16px; color: var(--color-muted); margin-bottom: var(--space-xl); }
.service-list { display: grid; }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.service-heading { display: flex; align-items: flex-start; gap: var(--space-md); }
.service-heading h3 { font-size: var(--text-title); line-height: 1.2; max-width: 15ch; }
.service-icon { flex: none; width: 32px; height: 32px; }
.service-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--color-ink); stroke-width: 1.5; }
.service-body { min-width: 0; }
.service-question { font-size: 20px; line-height: 1.5; font-weight: 500; margin-bottom: var(--space-lg); }
.service-body > p:not(.service-question) { color: var(--color-muted); line-height: 1.65; }
.service-note { font-size: 14px; margin-top: var(--space-lg); }
.service-cta { margin-top: var(--space-lg); }
.service-result { padding: var(--space-lg); background: var(--color-paper-2); min-width: 0; }
.service-result strong { font-weight: 600; font-size: 14px; }
.service-result ul { list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.service-result li { position: relative; padding-left: var(--space-lg); font-size: 16px; line-height: 1.55; }
.service-result li::before { content: '✓'; position: absolute; left: 0; color: var(--color-success); }
.service-result li + li { margin-top: var(--space-md); }
.about { padding-block: var(--section-gap-l); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; gap: var(--gap-columns); }
.about-copy { padding-left: var(--space-xl); }
.about-intro h2 { max-width: 20ch; margin-bottom: var(--space-xl); }
.about-copy > p { max-width: 65ch; font-size: 18px; line-height: 1.65; color: var(--color-muted); }
.about-copy > p + p { margin-top: var(--space-lg); }
.about-copy .small-label { font-size: 14px; margin-bottom: var(--space-lg); }
.about-intro .about-principle { color: var(--color-ink); font-size: 21px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: var(--space-md); padding-block: var(--space-sm); margin-top: var(--space-lg); min-height: 48px; font-size: 16px; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--color-focus); }
.about-links { display: flex; flex-wrap: wrap; column-gap: var(--space-xl); }
.text-link svg { width: 20px; height: 20px; }
.contact { background: var(--color-field); color: var(--color-on-field); padding-block: var(--section-gap-s); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: var(--gap-columns); }
.contact-copy h2 { max-width: 17ch; font-size: var(--text-section); line-height: 1.15; }
.contact-copy > p { color: var(--color-on-field-muted); font-size: 17px; max-width: 45ch; line-height: 1.65; margin-top: var(--space-lg); }
.contact-copy .contact-kicker { display: inline-block; font-size: 15px; color: var(--color-accent); margin-top: var(--space-xl); }
.contact-copy > p:nth-last-of-type(1) { font-size: 14px; }
.contact-email { display: inline-flex; align-items: center; gap: var(--space-md); min-height: 48px; font-size: 20px; margin-top: var(--space-xl); text-decoration: underline; text-underline-offset: .25em; }
.contact-email:hover { color: var(--color-accent); }
.contact-form { min-width: 0; }
.field { margin-bottom: var(--space-lg); }
.field label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs); font-size: 14px; margin-bottom: var(--space-xs); }
.field label span { font-size: 12px; color: var(--color-on-field-muted); }
.field input, .field textarea { display: block; width: 100%; min-height: 52px; border: 1px solid var(--color-field-rule); border-radius: var(--radius-control); background: var(--color-field-deep); color: var(--color-on-field); padding: var(--space-sm) var(--space-md); font-size: 16px; line-height: 1.5; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-on-field-muted); opacity: 1; font-size: 14px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.field input:user-invalid, .field textarea:user-invalid { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.form-submit { width: 100%; }
.form-note { min-height: 1lh; color: var(--color-on-field-muted); font-size: 13px; line-height: 1.6; margin-top: var(--space-md); }
#copy-status { min-height: 1lh; }
.button-dark { margin-top: var(--space-lg); background: var(--color-field); color: var(--color-on-field); }
.button-dark:hover { background: var(--color-field-deep); }
@media (max-width: 1100px) and (min-width: 801px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .service-heading { grid-row: 1 / 3; }
  .service-result { grid-column: 2; }
  .about-copy { padding-left: 0; }
}
@media (max-width: 800px) {
  .section { padding-block: var(--section-gap-s); }
  .section-heading { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); margin-bottom: var(--space-xl); }
  .section-heading > p { font-size: 17px; }
  .hero-options { margin-bottom: var(--space-lg); }
  .service { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-lg); padding-block: var(--space-xl); }
  .service-heading { align-items: center; }
  .service-heading:has(.service-cta) { align-items: flex-start; }
  .service-heading h3 { max-width: none; font-size: 28px; }
  .service-question { font-size: 19px; margin-bottom: var(--space-md); }
  .service-note { margin-top: var(--space-md); }
  .service-result { padding: var(--space-lg); }
  .about-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .about-copy { padding-left: 0; }
  .about-intro h2 { margin-bottom: var(--space-lg); }
  .about-copy > p { font-size: 17px; }
  .about-intro .about-principle { font-size: 20px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .contact-copy h2 { max-width: 22ch; }
  .contact-copy > p { max-width: 65ch; }
  .contact-copy .contact-kicker { margin-top: var(--space-lg); }
  .contact-email { margin-top: var(--space-lg); font-size: 18px; }
}
@media (max-width: 360px) {
  .service-heading { gap: var(--space-sm); }
  .service-heading h3 { font-size: 24px; }
  .form-submit { font-size: 13px; gap: var(--space-xs); padding-inline: var(--space-xs); }
}

.keep-together { white-space: nowrap; }

/* Requested headline edit, 3 Nov 2026: the changing line uses the brand accent. */
.hero h1 { max-width: none; font-size: clamp(38px, 5.2vw, 76px); }
.hero-rotator { display: grid; width: max-content; max-width: 100%; overflow-x: clip; overflow-y: visible; color: var(--color-accent); }
.hero-rotator > span { grid-area: 1 / 1; white-space: nowrap; }
.rotator-measure { visibility: hidden; }
.rotator-measure::before { content: attr(data-text); }
.hero-tagline { display: block; white-space: nowrap; }
@media (max-width: 800px) { .hero h1 { font-size: clamp(34px, 7.8vw, 60px); } }
@media (max-width: 400px) { .hero h1 { font-size: clamp(31px, 9vw, 35px); } }

.hero-pitch { max-width: 45ch; color: var(--color-on-field); font-size: 17px; line-height: 1.6; margin-bottom: var(--space-lg); }
.hero:has(.hero-pitch) .hero-description { margin-bottom: var(--space-md); }
.hero .cta-note { max-width: 45ch; }
@media (max-width: 400px) { .hero-pitch { font-size: 16px; } }

/* Jak to funguje: icon nodes on one line, loop back to strategy */
.flow { --flow-icon: 88px; --flow-top: 48px; --flow-line: #6f8bab; background: var(--color-field); color: var(--color-on-field); }
.flow .section-heading > p { color: var(--color-on-field-muted); }
.flow-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: var(--flow-top) 0 0; }
.flow-grid::before { content: ''; position: absolute; top: calc(var(--flow-top) + var(--flow-icon) / 2 - 1px); left: 10%; right: 10%; border-top: 2px solid var(--flow-line); }
.flow-node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: var(--space-md); }
.flow-icon { position: relative; display: grid; place-items: center; width: var(--flow-icon); height: var(--flow-icon); border-radius: 50%; background: #22365b; border: 2px solid #435a80; }
.flow-icon svg { width: 36px; height: 36px; fill: none; stroke: var(--color-accent-hover); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-start .flow-icon { border-color: var(--color-accent); box-shadow: 0 0 0 8px #43e5aa1f; }
.flow-end .flow-icon { background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 0 0 8px #43e5aa1f; }
.flow-end .flow-icon svg { stroke: var(--color-accent-ink); }
.flow-node h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin-top: var(--space-lg); color: var(--color-on-field); }
.flow-end h3 { color: var(--color-accent); }
.flow-node .flow-service { margin-top: var(--space-xs); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-hover); }
.flow-node p { margin-top: var(--space-sm); max-width: 26ch; font-size: 15px; line-height: 1.5; color: var(--color-on-field-muted); }
.flow-here { position: absolute; top: calc(-1 * var(--flow-top)); padding: 5px 14px; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
/* "+" between Lidé and Procesy: zavádí se souběžně */
.flow-people::after { content: '+'; position: absolute; top: calc(var(--flow-icon) / 2); right: 0; transform: translate(50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-field); border: 2px solid var(--flow-line); color: var(--color-on-field); font-size: 18px; line-height: 1; }
/* loop from AI-first firma back to Strategie */
.flow-loop { position: relative; margin: var(--space-xl) 10% 0 30%; padding-top: 40px; text-align: center; font-size: 15px; color: var(--color-on-field-muted); }
.flow-loop::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 22px; border: 2px dashed var(--flow-line); border-top: 0; border-radius: 0 0 16px 16px; }
.flow-loop::after { content: ''; position: absolute; top: -2px; left: -6px; width: 14px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 9L7 2L13 9' fill='none' stroke='%236f8bab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
@media (max-width: 1100px) {
  .flow { --flow-icon: 72px; }
  .flow-icon svg { width: 30px; height: 30px; }
  .flow-node { padding-inline: var(--space-sm); }
  .flow-node p { font-size: 14px; }
  .flow-node .flow-service { font-size: 12px; }
}
@media (max-width: 800px) {
  .flow { --flow-icon: 64px; --flow-top: 0px; }
  .flow-grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .flow-grid::before { top: 0; bottom: 0; left: calc(var(--flow-icon) / 2 - 1px); right: auto; border-top: 0; border-left: 2px solid var(--flow-line); }
  .flow-node { display: grid; grid-template-columns: var(--flow-icon) minmax(0, 1fr); column-gap: var(--space-lg); align-items: start; text-align: left; padding: 0; }
  .flow-icon { grid-row: 1 / 5; }
  .flow-icon svg { width: 28px; height: 28px; }
  .flow-node h3 { grid-column: 2; margin-top: 4px; font-size: 26px; }
  .flow-node .flow-service, .flow-node p { grid-column: 2; max-width: none; }
  .flow-here { position: static; grid-column: 2; justify-self: start; margin-bottom: var(--space-sm); }
  .flow-start .flow-icon { grid-row: 1 / 6; }
  .flow-people::after { top: auto; bottom: calc(-1 * var(--space-xl) / 2); right: auto; left: calc(var(--flow-icon) / 2); transform: translate(-50%, 50%); }
  .flow-end::before { content: ''; position: absolute; left: 0; top: var(--flow-icon); bottom: 0; width: var(--flow-icon); background: var(--color-field); } /* hide the line below the last node */
  .flow-loop { margin: var(--space-xl) 0 0; padding: var(--space-md) var(--space-lg); text-align: left; border: 2px dashed var(--flow-line); border-radius: 12px; }
  .flow-loop::before, .flow-loop::after { content: none; }
  .flow-loop { padding-left: calc(var(--space-lg) + 28px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M26 12A11 11 0 0 0 6 11 M6 4V11H13 M6 20A11 11 0 0 0 26 21 M26 28V21H19' fill='none' stroke='%237bf0c3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat var(--space-md) center / 22px 22px; }
}

.site-footer { background: var(--color-field-deep); color: var(--color-on-field-muted); padding-block: var(--space-md); font-size: var(--text-xs); }
.site-footer p { max-width: none; }
.site-footer a:hover { color: var(--color-accent); }
.legal { max-width: 70ch; }
.legal h1 { font-size: var(--text-section); margin-bottom: var(--space-lg); }
.legal h2 { font-size: var(--text-title); margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0; }
