/* Glanzly. Brand guide: Teal #0F6D73, Navy #162D4F, Soft gray #F4F5F7, Body #333B46.
   One family: Plus Jakarta Sans, self-hosted (no Google Fonts requests, GDPR). */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/pjs-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/static/fonts/pjs-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;
}

:root {
  --navy: #162D4F;
  --navy-deep: #10223D;
  --teal: #0F6D73;
  --teal-dark: #0B575C;
  --teal-tint: #E2EFEF;
  --mist: #F4F5F7;
  --ink: #333B46;
  --muted: #5B6573;
  --line: #D8DDE4;
  --white: #FFFFFF;
  --flag: #A45B12;
  --flag-tint: #FBEFE2;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --section: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01" off;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.25rem, 4.6vw + .5rem, 3.9rem); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 2.4vw + .6rem, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, .6vw + 1rem, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 38em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.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; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 15px 24px; border-radius: var(--r-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-tint); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-small { padding: 10px 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 132px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 550; font-size: .9688rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
.nav-toggle { display: none; font: inherit; font-weight: 650; color: var(--navy); background: none; border: 2px solid var(--navy); border-radius: var(--r-sm); padding: 8px 14px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 24px; gap: 16px; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--line); }
}

.crumbs { font-size: .875rem; color: var(--muted); padding-top: 18px; padding-bottom: 0; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { font-weight: 650; color: var(--teal); font-size: 1rem; margin-bottom: 18px; }
.hero h1 { margin-bottom: 22px; }
/* the H1 = kicker line (keyword) + slogan; the kicker keeps the look of the former paragraph above the H1 */
.hero h1 .hero-kicker { display: block; line-height: 1.65; letter-spacing: normal; }
.hero-slogan { display: block; max-width: 12ch; }
.hero .lede { margin-bottom: 32px; }
.hero-alt { margin-top: 18px; font-size: .9688rem; color: var(--muted); }
.hero-alt a { font-weight: 600; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slogan { max-width: 14ch; }
}

/* ---------- signature: the inspection sheet */
.protocol {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 22px 18px; color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(22,45,79,.35);
  position: relative;
}
.protocol::before { /* clipboard edge */
  content: ""; position: absolute; left: 50%; top: -9px; width: 88px; height: 18px; transform: translateX(-50%);
  background: var(--navy); border-radius: 5px;
}
.protocol-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); margin-bottom: 4px; }
.protocol-head img { width: 30px; height: 30px; }
.protocol-head strong { display: block; color: var(--navy); font-size: 1.0625rem; line-height: 1.2; }
.protocol-head span { font-size: .8125rem; color: var(--muted); }
.protocol-tag { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .75rem !important; font-weight: 600; }
.protocol table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.protocol th, .protocol td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.protocol thead th { font-size: .75rem; font-weight: 650; color: var(--muted); padding-top: 12px; }
.protocol tbody th { text-align: left; font-weight: 600; color: var(--navy); width: 46%; }
.protocol tbody th small { display: block; font-weight: 500; color: var(--flag); font-size: .75rem; margin-top: 2px; line-height: 1.35; }
.protocol thead th:first-child { text-align: left; }
.protocol i { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; position: relative; }
.protocol i.ok { background: var(--teal); }
.protocol i.ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.protocol i.flag { background: var(--flag-tint); border: 2px solid var(--flag); }
.protocol i.flag::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: .75rem; color: var(--flag); }
.protocol figcaption { font-size: .8125rem; color: var(--muted); padding-top: 12px; }

/* One orchestrated moment: the sheet fills in column by column on load. */
@media (prefers-reduced-motion: no-preference) {
  .js .protocol i { opacity: 0; transform: scale(.6); animation: tick .35s cubic-bezier(.2,.8,.3,1.2) forwards; }
  .js .protocol td:nth-child(2) i { animation-delay: .35s; }
  .js .protocol td:nth-child(3) i { animation-delay: 1.0s; }
  .js .protocol td:nth-child(4) i { animation-delay: 1.65s; }
  .js .protocol i.late { animation-delay: 2.3s !important; }
  .js .protocol tr.has-note small { opacity: 0; animation: fade .4s ease 2.3s forwards; }
  @keyframes tick { to { opacity: 1; transform: none; } }
  @keyframes fade { to { opacity: 1; } }
}

/* ---------- problem / promise */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote-shift { margin: 0; padding: 0; list-style: none; }
.quote-shift li { padding: 22px 0; border-top: 1px solid var(--line); }
.quote-shift li:last-child { border-bottom: 1px solid var(--line); }
.quote-shift .who { display: block; font-size: .875rem; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.quote-shift q { font-size: 1.25rem; font-weight: 600; color: var(--navy); quotes: "„" "“"; line-height: 1.4; }
.quote-shift li.after q { color: var(--teal); }

.burden-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.burden-list li { padding-left: 30px; position: relative; }
.burden-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--flag); }

/* ---------- the mechanism (navy band) */
.mechanism { background: var(--navy); color: #DDE4EE; }
.mechanism h2, .mechanism h3 { color: #fff; }
.mechanism .section-head p { color: #B9C5D6; }
.mechanism-name { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.125rem; margin-bottom: 20px; }
.mechanism-name img { width: 34px; height: 34px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: rgba(255,255,255,.22); }
.step { position: relative; padding: 0 clamp(16px, 3vw, 40px) 0 0; }
.step-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 750; margin-bottom: 22px; border: 3px solid var(--navy); box-sizing: content-box; }
.step h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step p { margin-bottom: 14px; }
.step-proof { font-size: .9375rem; color: #B9C5D6; border-top: 1px solid rgba(255,255,255,.16); padding-top: 12px; }
.step-proof span { color: #fff; font-weight: 600; }
.mechanism-path { margin-top: clamp(40px, 5vw, 64px); padding: 22px 24px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-md); display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .9688rem; }
.mechanism-path strong { color: #fff; }
.mechanism-path ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.mechanism-path ol li { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
.mechanism-path ol li + li::before { content: ""; }
.mechanism-path ol li.dev { background: rgba(164,91,18,.25); color: #F7D9B9; }

/* light variant of steps (used on service pages) */
.steps-light .steps::before { background: var(--line); }
.steps-light .step-mark { border-color: #fff; }
.steps-light .step h3 { color: var(--navy); }
.steps-light .step-proof { color: var(--muted); border-top-color: var(--line); }
.steps-light .step-proof span { color: var(--navy); }
.section-mist.steps-light .step-mark { border-color: var(--mist); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 23px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .step { padding: 0 0 0 72px; }
  .step-mark { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- services index */
.service-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.service-index li { border-bottom: 1px solid var(--line); }
.service-index li:nth-child(odd) { border-right: 1px solid var(--line); }
.service-index a { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px 26px 0; text-decoration: none; color: var(--ink); position: relative; }
.service-index li:nth-child(even) a { padding-left: 28px; }
.service-index strong { color: var(--navy); font-size: 1.375rem; letter-spacing: -0.01em; }
.service-index span { color: var(--muted); }
.service-index a::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border: solid var(--teal); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); transition: right .15s ease; }
.service-index a:hover strong { color: var(--teal); }
.service-index a:hover::after { right: 18px; }
@media (max-width: 700px) {
  .service-index { grid-template-columns: 1fr; }
  .service-index li:nth-child(odd) { border-right: 0; }
  .service-index li:nth-child(even) a { padding-left: 0; }
}

/* ---------- plan excerpt (proof) */
.plan { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.plan-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 22px; background: var(--navy); color: #fff; }
.plan-head strong { font-size: 1.0625rem; }
.plan-head span { color: #B9C5D6; font-size: .875rem; }
.plan-scroll { overflow-x: auto; }
.plan table { width: 100%; border-collapse: collapse; font-size: .9375rem; }

@media (max-width: 520px) { .plan table { min-width: 520px; } }
.plan th, .plan td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan thead th { background: var(--mist); color: var(--navy); font-size: .8125rem; font-weight: 700; }
.plan tbody th { color: var(--navy); font-weight: 650; }
.plan td.freq { white-space: nowrap; width: 1%; }
.plan tfoot td { font-size: .875rem; color: var(--muted); background: var(--mist); }
.plan .no { color: var(--muted); }

/* ---------- generic content */
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 1.4vw + .9rem, 2rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--mist); color: var(--navy); }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--teal); background: var(--teal-tint); color: var(--navy); }
.prose blockquote p:last-child { margin: 0; }
.note { padding: 16px 20px; background: var(--mist); border-radius: var(--r-sm); font-size: .9688rem; }
.prose .btn { margin: .5em 0 1em; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink); margin: 0; }
.feature { border-top: 2px solid var(--teal); padding-top: 18px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-tint); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks.not li::before { background: var(--mist); }
.ticks.not li::after { border: 0; width: 10px; height: 2px; background: var(--muted); transform: none; left: 5px; top: calc(.3em + 9px); }

/* ---------- page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.page-hero-aside { border-left: 3px solid var(--teal); padding: 4px 0 4px 22px; color: var(--navy); }
.page-hero-aside p { margin: 0 0 .5em; }
.page-hero-aside strong { display: block; font-size: 1.125rem; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- area list */
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--navy); }

/* ---------- FAQ */
.faq-list { max-width: 50rem; border-top: 2px solid var(--navy); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 650; color: var(--navy); font-size: 1.125rem; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s ease; }
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
details.faq > div { padding: 0 0 22px; max-width: 44rem; }
details.faq > div p:last-child { margin: 0; }

/* ---------- CTA band */
.cta-band { background: var(--teal); color: #E6F2F2; padding: clamp(56px, 7vw, 96px) 0; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-band-contact { margin: 6px 0 0; font-size: .9688rem; }
.cta-band-contact a { color: #fff; font-weight: 650; }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* ---------- articles */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.article-list li { border-top: 2px solid var(--navy); }
.article-list a { display: flex; flex-direction: column; gap: 8px; padding: 20px 0 28px; text-decoration: none; color: var(--ink); height: 100%; }
.article-list strong { color: var(--navy); font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
.article-list a:hover strong { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.art-topic { font-size: .875rem; font-weight: 650; color: var(--teal); }
.art-desc { color: var(--muted); font-size: .9688rem; }
.article-list-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .article-list, .article-list-full { grid-template-columns: 1fr; } }

.article-head { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 48px); max-width: 900px; margin-left: auto; margin-right: auto; }
.article-head h1 { font-size: clamp(2rem, 3.4vw + .6rem, 3.2rem); margin-bottom: 18px; }
.article-meta { font-size: .875rem; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: var(--section); align-items: start; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 24px; }
.toc h2 { font-size: .875rem; color: var(--muted); font-weight: 650; letter-spacing: 0; margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--navy); text-decoration: none; font-size: .9063rem; line-height: 1.35; margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { border-left-color: var(--teal); color: var(--teal); }
.toc ul ul { display: none; }
.aside-box { background: var(--mist); border-radius: var(--r-md); padding: 20px; font-size: .9375rem; }
.aside-box .btn { width: 100%; font-size: .9063rem; padding: 12px 14px; }
.aside-service { margin: 14px 0 0; }
.prose > p:first-child { font-size: 1.125rem; }
@media (max-width: 960px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; order: 2; }
  .toc { display: none; }
}
.related { background: var(--mist); }

/* ---------- forms */
.form-shell { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 3vw, 36px); }
.form-progress { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.form-progress li { flex: 1; border-top: 4px solid var(--line); padding-top: 8px; }
.form-progress li.done, .form-progress li.current { border-top-color: var(--teal); color: var(--navy); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 1.375rem; font-weight: 750; color: var(--navy); margin-bottom: 18px; padding: 0; letter-spacing: -0.01em; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .9688rem; }
.field .hint { font-size: .875rem; color: var(--muted); margin: -2px 0 6px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid #B9C1CA; border-radius: var(--r-sm); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,109,115,.2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid #B9C1CA; border-radius: var(--r-sm); font-weight: 600; color: var(--navy); cursor: pointer; line-height: 1.3; }
.choice small { display: block; font-weight: 500; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-tint); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-error { color: #9B1C1C; font-weight: 600; font-size: .9375rem; margin: 10px 0 0; }
.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: #9B1C1C; }
.hp { position: absolute; left: -9999px; }
.form-done { text-align: left; }
.form-done h2 { font-size: 1.75rem; }
.form-aside { display: grid; gap: 28px; }
.form-aside h2 { font-size: 1.25rem; }
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-lines a { font-weight: 650; }
.contact-lines span { display: block; font-size: .875rem; color: var(--muted); }

/* ---------- checklist (lead magnet) */
.checklist { counter-reset: c; list-style: none; padding: 0; margin: 0; }
.checklist > li { padding: 22px 0 22px 56px; border-top: 1px solid var(--line); position: relative; }
.checklist > li::before { counter-increment: c; content: counter(c); position: absolute; left: 0; top: 20px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); font-weight: 750; display: grid; place-items: center; font-size: .9375rem; }
.checklist h3 { margin-bottom: 6px; }
.checklist ul { margin: 8px 0 0; padding-left: 1.2em; }
.checklist ul li { margin-bottom: 4px; }

/* ---------- team */
/* one card per person, stacked (also where the split becomes one column: never a 2 + 1 grid) */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.team li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--r-md); padding: 20px 22px; box-shadow: 0 18px 36px -30px rgba(22,45,79,.45); }
.team-mono { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); font-weight: 750; font-size: 1.0625rem; letter-spacing: .04em; }
.team strong { display: block; color: var(--navy); font-size: 1.1875rem; letter-spacing: -0.01em; line-height: 1.3; }
.team .role { display: block; color: var(--teal); font-weight: 600; font-size: .9375rem; margin: 2px 0 8px; }
.team p { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .team li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 16px 16px 14px; } .team-mono { width: 44px; height: 44px; font-size: .9375rem; } }

/* ---------- footer */
.site-footer { background: var(--navy-deep); color: #B9C5D6; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .9688rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 140px; margin-bottom: 18px; }
.footer-brand > p:first-of-type { color: #fff; font-weight: 600; max-width: 22ch; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .875rem; }
.footer-legal p { margin: 0; }
.footer-legal a + a { margin-left: 20px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(16,34,61,.55); }
.wa-float:hover { background: var(--teal-dark); color: #fff; }

/* ---------- legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0 var(--section); }
.legal h2 { font-size: 1.375rem; margin-top: 2em; }
.placeholder { background: var(--flag-tint); color: var(--flag); padding: 1px 6px; border-radius: 4px; font-weight: 650; }

@media print {
  .site-header, .site-footer, .wa-float, .cta-band, .crumbs, .no-print { display: none !important; }
  body { font-size: 11pt; }
  .section { padding: 12pt 0; }
}

@media (max-width: 520px) {
  .protocol { padding: 18px 14px 14px; }
  .protocol table { font-size: .8125rem; }
  .protocol thead th { font-size: .6875rem; padding-left: 2px; padding-right: 2px; }
  .protocol tbody th { width: 40%; }
  .protocol th, .protocol td { padding: 10px 2px; }
  .protocol-head { flex-wrap: wrap; }
  .wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
}

/* ================= visuals & interactive (v2) ================= */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); background: var(--mist); }

/* hero: photo with the inspection sheet pinned over it */
.hero-media { position: relative; }
.hero-media .photo { aspect-ratio: 4 / 3; }
.hero-media .protocol { position: relative; width: min(390px, 78%); margin: -150px 0 0 -40px; }
.hero-media .protocol table { font-size: .8125rem; }
.hero-media .protocol th, .hero-media .protocol td { padding: 8px 4px; }
@media (max-width: 900px) {
  .hero-media .photo { aspect-ratio: 16 / 10; }
  .hero-media .protocol { width: auto; margin: -56px 12px 0; }
}

/* soft background for the mechanism band */
.mechanism { position: relative; isolation: isolate; overflow: hidden; }
.mechanism::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/static/img/photos/bg-soft.webp") center / cover no-repeat; opacity: .9; }
.mechanism::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,45,79,.55), rgba(16,34,61,.85)); }

/* Kontrolliert step-through */
.k-tablist { display: grid; grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr)); position: relative; border-bottom: 1px solid rgba(255,255,255,.22); margin-bottom: clamp(28px, 4vw, 44px); }
.k-tablist::after { content: ""; position: absolute; bottom: -1px; left: 0; height: 3px; width: calc(100% / var(--count, 3)); background: #7FC4C8; transform: translateX(calc(var(--active, 0) * 100%)); transition: transform .35s cubic-bezier(.3,.7,.2,1); }
.k-tablist button { font: inherit; background: none; border: 0; color: #B9C5D6; font-size: clamp(1.05rem, 1.4vw + .6rem, 1.6rem); font-weight: 700; letter-spacing: -0.01em; padding: 14px 8px 18px 0; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 14px; }
.k-tablist button[aria-selected="true"] { color: #fff; }
.k-tablist button:hover { color: #fff; }
.k-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); font-size: .9375rem; flex: none; }
.k-tablist button[aria-selected="true"] .k-num { background: var(--teal); border-color: var(--teal); }
.k-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.k-panel h3 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); color: #fff; margin-bottom: 14px; }
.k-text p { color: #DDE4EE; }
.k-docs-h { font-weight: 650; color: #fff !important; margin: 22px 0 10px; font-size: .9375rem; }
.k-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.k-docs li { padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-sm); background: rgba(255,255,255,.05); color: #fff; font-size: .9375rem; }
.k-photo .photo { aspect-ratio: 3 / 2; }
@media (max-width: 860px) {
  .k-panel { grid-template-columns: 1fr; }
  .k-photo { order: -1; }
  .k-tablist button { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 1rem; }
}

/* plan explorer */
.explorer-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.explorer-tabs button { font: inherit; font-weight: 650; font-size: .9688rem; color: var(--navy); background: none; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; }
.explorer-tabs button:hover { background: var(--mist); }
.explorer-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.explorer-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.explorer-photo .photo { min-height: 100%; aspect-ratio: auto; }
@media (max-width: 900px) {
  .explorer-panel { grid-template-columns: 1fr; }
  .explorer-photo .photo { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: no-preference) {
  .is-in { animation: panel-in .35s ease both; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* service cards with photos */
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.service-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* five cards: three plus two, the second row centred (six tracks, every card spans two) */
.service-cards-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.service-cards-5 > li { grid-column: span 2; }
.service-cards-5 > li:nth-child(4) { grid-column: 2 / span 2; }
.service-cards a { display: block; text-decoration: none; color: var(--ink); }
.service-cards .photo { aspect-ratio: 4 / 3; transition: transform .4s ease; }
.svc-img { display: block; overflow: hidden; border-radius: var(--r-md); }
.svc-img .photo { border-radius: 0; }
.service-cards a:hover .photo { transform: scale(1.03); }
.svc-text { display: block; padding: 14px 2px 0; border-top: 0; }
.svc-text strong { display: block; color: var(--navy); font-size: 1.1875rem; letter-spacing: -0.01em; }
.svc-text span { color: var(--muted); font-size: .9375rem; }
.service-cards a:hover strong { color: var(--teal); }
/* two columns (four tracks, every card spans two): an odd last card sits centred under the others */
@media (max-width: 1000px) {
  .service-cards, .service-cards-3, .service-cards-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-cards > li, .service-cards-5 > li:nth-child(4) { grid-column: span 2; }
  .service-cards > li:last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (max-width: 520px) {
  .service-cards, .service-cards-3, .service-cards-5 { grid-template-columns: 1fr; }
  .service-cards > li, .service-cards-5 > li:nth-child(4), .service-cards > li:last-child:nth-child(odd) { grid-column: auto; }
}

/* inner-page hero with photo */
.page-hero-photo .photo { aspect-ratio: 3 / 2; }
.page-hero-grid.has-photo { align-items: center; }
.hero-for { margin-top: 18px; font-size: .9688rem; color: var(--muted); }
.hero-for strong { color: var(--navy); }

/* wide photo band */
.photo-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo-band .photo { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .photo-band { grid-template-columns: 1fr; } }

/* ================= page canvas: faint plan-grid dots + soft glows ================= */
:root { --dots: radial-gradient(circle, rgba(22,45,79,.085) 1px, transparent 1.4px); }
body { background-color: var(--white); background-image: var(--dots); background-size: 24px 24px; background-position: 12px 12px; }
.section-mist { background-color: var(--mist); background-image: var(--dots); background-size: 24px 24px; background-position: 12px 12px; }
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(15,109,115,.10), transparent 70%),
    radial-gradient(45% 60% at 4% 96%, rgba(22,45,79,.06), transparent 70%);
}
.site-header { background: rgba(255,255,255,.94); }
/* long reading stays on plain white */
.article, .legal, .related { background-color: #fff; background-image: none; }
.related { background-color: var(--mist); }
.lead-form, .plan, .protocol, .faq-list, .area-list li { background-color: #fff; }

/* Hero video: same frame as the hero photo, still poster when motion is reduced */
.hero-media .hero-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--navy); }
@media (max-width: 900px) { .hero-media .hero-video { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) { .hero-video { animation: none; } }
