/* ==========================================================================
   Optimolds — site styles
   Brand: teal/cyan + dark navy on white. Condensed bold headlines (Barlow
   Condensed), clean sans body (Barlow), mono for technical labels.
   ========================================================================== */

:root {
  --navy-950: #06131f;
  --navy-900: #0b1f33;
  --navy-800: #13304a;
  --navy-700: #1d4263;
  --teal-300: #8eeae7;
  --teal-400: #4fd8d6;
  --teal-500: #1cc6c4;
  --teal-700: #0a7078; /* teal for text on white (AA) */
  --ink: #0e1b2a;
  --muted: #4f6175;
  --line: #d9e3ea;
  --bg: #ffffff;
  --bg-soft: #f3f7f9;
  --on-dark: #e8f1f6;
  --on-dark-muted: #a9bccd;
  --todo-bg: #fff3bf;
  --todo-line: #e5b500;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 51, .06), 0 8px 24px rgba(11, 31, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 31, 51, .06), 0 18px 48px rgba(11, 31, 51, .12);
  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-700); text-underline-offset: .18em; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal-300); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.005em;
  color: var(--navy-900);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 600; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
.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;
}

/* ---------- Placeholder highlight (remove content, not the class rules) ---------- */
.todo {
  background: var(--todo-bg);
  box-shadow: inset 0 -2px 0 var(--todo-line);
  color: var(--ink);
  padding: 0 .2em;
  border-radius: 3px;
  font-style: normal;
}
.section--dark .todo, .hero .todo, .site-footer .todo, .cta-band .todo { color: var(--ink); }
.is-placeholder { position: relative; }
.is-placeholder::after {
  content: "Placeholder art — replace with your photo/render";
  position: absolute; left: 10px; bottom: 10px;
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .04em;
  background: var(--todo-bg); color: var(--ink); padding: 5px 7px; border-radius: 4px;
  box-shadow: inset 0 -2px 0 var(--todo-line);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a:not(.btn) { color: var(--teal-400); }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 500 .8125rem/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-700); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--teal-400); }
.lead { font-size: clamp(1.125rem, 2vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-500); --btn-fg: var(--navy-900); --btn-bd: var(--teal-500);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.35em;
  font: 600 1rem/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { --btn-bg: var(--teal-400); --btn-bd: var(--teal-400); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(28, 198, 196, .28); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--dark { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900); }
.btn--dark:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-900); }
.btn--ghost:hover { --btn-bg: var(--navy-900); --btn-bd: var(--navy-900); color: #fff; box-shadow: none; }
.hero .btn--ghost, .page-hero .btn--ghost, .section--dark .btn--ghost, .cta-band .btn--ghost, .panel--dark .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover, .section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover, .panel--dark .btn--ghost:hover { --btn-bg: #fff; --btn-bd: #fff; color: var(--navy-900); }
.btn--sm { min-height: 40px; padding: .5em 1.05em; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header > .container { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); margin-right: auto; }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font: 800 1.6rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.brand__name span { color: var(--teal-700); }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li + li { margin: 0; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.nav a:hover { background: var(--bg-soft); color: var(--navy-900); }
.nav a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 0 -2px 0 var(--teal-500); border-radius: 0; }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; margin-right: -8px;
  background: none; border: 0; border-radius: 10px; color: var(--navy-900); cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.nav-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 4px; }
.mobile-nav li + li { margin: 0; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 0; font-size: 1.125rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.mobile-nav a[aria-current="page"] { color: var(--teal-700); }
.mobile-nav .btn { display: flex; width: 100%; margin: 12px 0 20px; padding: .7em 1.35em; font-size: 1.0625rem; font-weight: 600; color: var(--navy-900); }

@media (min-width: 1040px) {
  .nav, .header-cta { display: block; }
  .nav-toggle, .mobile-nav, .nav-open .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: var(--on-dark);
  padding-block: clamp(56px, 9vw, 120px) clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(79, 216, 214, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 216, 214, .07) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 78%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -30%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(28, 198, 196, .18), transparent 62%);
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-dark-muted); max-width: 36em; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__art { position: relative; }
.hero__art img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .35)); }
.hero__caption { margin-top: 12px; font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .06em; color: var(--on-dark-muted); text-transform: uppercase; }

.page-hero { background: var(--navy-900); color: var(--on-dark); padding-block: clamp(48px, 8vw, 96px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(79, 216, 214, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 216, 214, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 40em; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { font: 500 .8125rem/1.4 var(--font-mono); letter-spacing: .06em; margin-bottom: 18px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--teal-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--teal-300); }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 20px 0; display: grid; gap: 14px 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trust li { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.trust li span { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.trust svg { width: 36px; height: 36px; flex: none; color: var(--teal-700); }

/* ---------- Cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c4d4df; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card ul { color: var(--ink); padding-left: 0; list-style: none; margin-bottom: 1.25em; }
.card ul li { position: relative; padding-left: 1.6em; }
.card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: .8em; height: .5em; border-left: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); transform: rotate(-45deg); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; }
.icon-badge {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 14px; background: var(--navy-900); color: var(--teal-400);
}
.icon-badge svg { width: 30px; height: 30px; }
.card__num { position: absolute; top: 24px; right: 28px; font: 500 .8125rem/1 var(--font-mono); letter-spacing: .1em; color: var(--muted); }

/* ---------- Steps (compact, home) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { margin: 0; position: relative; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 14px;
  font: 600 .875rem/1 var(--font-mono); letter-spacing: .12em; color: var(--teal-700);
}
.steps h3 { font-size: 1.375rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
.steps .is-gate { border: 2px dashed var(--teal-700); background: #f0fbfb; }
.gate-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font: 600 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-900); background: var(--teal-300); padding: 6px 8px; border-radius: 4px;
}
.gate-tag svg { width: 13px; height: 13px; }

/* ---------- Process timeline (full) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--teal-500), var(--navy-700)); }
.timeline > li { position: relative; margin: 0; padding: 0 0 40px 76px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline__num {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-900); color: var(--teal-400);
  font: 600 .9375rem/1 var(--font-mono); box-shadow: 0 0 0 6px #fff;
}
.timeline__body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow); }
.timeline__body h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline__body p { color: var(--muted); }
.timeline__out { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink); }
.timeline__out b { font: 600 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-right: 8px; }
.pill { display: inline-block; font: 600 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 8px; border-radius: 4px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.pill--teal { background: var(--teal-300); color: var(--navy-900); border-color: transparent; }

.timeline > li.is-gate .timeline__num { background: var(--teal-500); color: var(--navy-900); }
.timeline > li.is-gate .timeline__body { border: 2px solid var(--teal-500); box-shadow: 0 0 0 6px rgba(28, 198, 196, .14), var(--shadow-lg); }
.timeline > li.gate-row { padding-bottom: 40px; }
.gate-banner {
  position: relative; padding: 14px 18px; border-radius: var(--radius);
  background: var(--navy-900); color: #fff; display: flex; gap: 12px; align-items: center; font-weight: 500;
}
.gate-banner svg { width: 24px; height: 24px; flex: none; color: var(--teal-400); }
.gate-banner::before { content: ""; position: absolute; left: -52px; top: 50%; width: 52px; border-top: 2px dashed var(--teal-500); }

/* ---------- Media frames ---------- */
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.media--tall img { aspect-ratio: 4 / 3; }
.media--contain img { object-fit: contain; padding: clamp(12px, 3vw, 28px); }

/* ---------- Feature list (why) ---------- */
.features { display: grid; gap: 28px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); gap: 36px 48px; } }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.feature svg { width: 44px; height: 44px; color: var(--teal-500); padding: 9px; border-radius: 12px; background: rgba(28, 198, 196, .12); }
.feature h3 { font-size: 1.375rem; margin-bottom: .25em; }
.feature p { margin: 0; color: var(--muted); }
.section--dark .feature p { color: var(--on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 64px); }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(28, 198, 196, .35), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(28, 198, 196, .15), transparent 50%); }
.cta-band h2 { color: #fff; max-width: 18em; }
.cta-band p { color: var(--on-dark-muted); max-width: 38em; }
.cta-band .btn-row { margin-top: 24px; }

/* ---------- Reviews ---------- */
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; color: var(--ink); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy-900); }
.review figcaption span { font-weight: 400; color: var(--muted); font-size: .9375rem; }
.stars { color: #e3a008; letter-spacing: .1em; font-size: 1.05rem; }

/* ---------- Service blocks (overview) ---------- */
.service-block + .service-block { margin-top: clamp(56px, 8vw, 104px); }
.service-block h2 { margin-bottom: .3em; }
.service-block .btn-row { margin-top: 24px; }

/* ---------- Checklists & definition boxes ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 2em; }
.checklist li + li { margin-top: .7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25em; height: 1.25em; border-radius: 50%;
  background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b1f33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px); }
.panel h3 { font-size: 1.375rem; }
.panel--dark { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.panel--dark h3 { color: #fff; }
.panel--dark p { color: var(--on-dark-muted); }
.panel--dark .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .panel--dark .btn-row { justify-content: flex-end; } }

.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.facts > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 14px 20px; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .15em; }
.facts dd { margin: 0; font-weight: 500; color: var(--navy-900); }

.price-box { display: grid; gap: 16px; }
.price-box .panel p:last-child { margin-bottom: 0; }
.price-box .big { font: 700 2rem/1.1 var(--font-head); color: var(--navy-900); margin-bottom: .2em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 1.125rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--teal-700); font: 500 1.375rem/1 var(--font-body); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); max-width: 46em; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font: 500 .9375rem/1 var(--font-body); color: var(--navy-900); background: #fff; border: 1px solid var(--line);
}
.filter-btn:hover { border-color: var(--navy-900); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.project-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; }
.project-card:hover { color: inherit; }
.project-card .media { border-radius: 0; box-shadow: none; }
.project-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 1.5rem; margin-bottom: .3em; }
.project-card p { margin-bottom: 1em; }
.project-card .link-arrow { margin-top: auto; color: var(--teal-700); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.tags li { margin: 0; font: 500 .75rem/1 var(--font-mono); letter-spacing: .04em; padding: 6px 8px; border-radius: 4px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.card ul.tags { margin-bottom: 14px; }
.card .tags li { padding: 6px 8px; }
.card .tags li::before { content: none; }
.badge-demo { display: inline-block; margin-bottom: 12px; font: 600 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); }
.page-hero .badge-demo { color: var(--teal-400); }
[hidden] { display: none !important; }

.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #26384b; }
.legal h2 { font-size: 1.6rem; }
.legal p, .legal li { font-size: 1rem; }

.stage { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .stage { grid-template-columns: 1fr 1fr; } .stage--reverse > :first-child { order: 2; } }
.stage + .stage { margin-top: 48px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field legend { font-weight: 600; color: var(--navy-900); font-size: 1rem; padding: 0; }
.req { color: var(--teal-700); }
.field .hint { font-size: .875rem; color: var(--muted); margin: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #c7d4de; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b1f33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: #9fb3c3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 4px rgba(28, 198, 196, .22); }
input[type="file"] {
  width: 100%; padding: 18px; font: inherit; font-size: .9375rem; color: var(--muted);
  border: 2px dashed #b5c6d3; border-radius: var(--radius); background: var(--bg-soft); cursor: pointer;
}
input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 10px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .9375rem/1 var(--font-body); background: var(--navy-900); color: #fff;
}
.choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid #c7d4de; border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 500; line-height: 1.4; }
.choice:hover { border-color: #9fb3c3; }
.choice:has(input:checked) { border-color: var(--teal-700); background: #f0fbfb; }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--teal-700); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--teal-700); }
.note-secure { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: #eef8f8; border: 1px solid #c6ebea; font-size: .9375rem; color: #1f3a4d; }
.note-secure svg { width: 22px; height: 22px; flex: none; color: var(--teal-700); margin-top: 1px; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.is-error { display: block; background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }
.hp { position: absolute !important; left: -9999px !important; }

.form-layout { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: 1.5fr .9fr; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.75rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--teal-700); margin-top: 3px; }
.contact-list b { display: block; font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Thank-you ---------- */
.success-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-500); color: var(--navy-900); margin-bottom: 24px; }
.success-mark svg { width: 38px; height: 38px; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 14px; }
.next-steps li { margin: 0; counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.next-steps li::before { content: counter(n); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--teal-400); font: 600 .9375rem/1 var(--font-mono); }
.next-steps li p { margin: 0; padding-top: 7px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-top: clamp(48px, 7vw, 80px); font-size: .9688rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal-400); text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand__name span { color: var(--teal-400); }
.footer-tagline { max-width: 26em; }
.site-footer h2 { font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.social a:hover { border-color: var(--teal-400); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom li + li { margin: 0; }
.footer-bottom button { background: none; border: 0; padding: 0; color: var(--on-dark); font: inherit; cursor: pointer; }
.footer-bottom button:hover { color: var(--teal-400); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px;
  max-width: 560px; margin-inline: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(6, 19, 31, .28); padding: 20px 22px;
}
.cookie-banner h2 { font-size: 1.375rem; margin-bottom: .3em; padding-right: 36px; }
.cookie-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cookie-close:hover { background: var(--bg-soft); color: var(--navy-900); }
.cookie-close svg { width: 20px; height: 20px; }
.cookie-banner p { font-size: .9375rem; color: var(--muted); margin-bottom: 16px; }
.cookie-banner .btn-row { gap: 10px; }
.cookie-banner .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; margin: 0; } }

/* ---------- 404 ---------- */
.big-code { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-head); color: var(--teal-500); margin: 0 0 .1em; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.max-36 { max-width: 36em; }

/* ---------- Photo placeholder frames (swap for real <img> when you have photos) ---------- */
.ph-frame {
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center;
  aspect-ratio: 4 / 3; padding: 24px;
  border: 2px dashed #b5c6d3; border-radius: var(--radius-lg); background: var(--bg-soft);
  color: var(--muted); font: 500 .875rem/1.45 var(--font-mono);
}
.ph-frame svg { width: 36px; height: 36px; color: #8ea4b6; }
.ph-frame--portrait { aspect-ratio: 4 / 5; }
.h-sm { font-size: 1.75rem; }

/* ---------- Service columns (home) ---------- */
.card__kicker { margin: -.15em 0 .9em; font: 600 .8125rem/1.35 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700) !important; }
.service-col ul li { line-height: 1.45; }
.service-col ul li strong { color: var(--navy-900); }
.card__cta {
  display: block; position: relative; margin-top: auto; padding: 14px 16px 14px 44px;
  border-radius: var(--radius); background: #eef8f8; border: 1px solid #c6ebea;
  color: var(--navy-900); font-weight: 600; line-height: 1.4; text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}
.card__cta::before { content: "→"; position: absolute; left: 16px; top: 13px; color: var(--teal-700); font-weight: 700; }
.card__cta:hover { background: #dff4f3; border-color: var(--teal-500); color: var(--navy-900); }
.service-col .link-arrow { margin-top: 14px; padding-top: 0; }

/* ---------- Form sections (intake form) ---------- */
.form-section { display: grid; gap: 18px; min-width: 0; margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.form-section legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font: 700 1.375rem/1.2 var(--font-head); color: var(--navy-900); }
.form-section__num { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: var(--teal-400); font: 600 .875rem/1 var(--font-mono); }
.form-section > .hint { margin-top: -10px; }
@media (min-width: 640px) { .form-section .choices { grid-template-columns: 1fr 1fr; } }
#services { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Language switcher ---------- */
.lang { position: relative; flex: none; }
.lang summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 10px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font: 600 .875rem/1 var(--font-mono); letter-spacing: .06em; color: var(--navy-900); list-style: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--navy-900); }
.lang summary svg { width: 18px; height: 18px; color: var(--teal-700); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lang li + li { margin: 0; }
.lang a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; text-decoration: none; }
.lang a:hover { background: var(--bg-soft); color: var(--navy-900); }
.lang a[aria-current="true"] { color: var(--teal-700); font-weight: 600; }
.lang a[aria-current="true"]::after { content: " ✓"; }

/* Keep the desktop header on one line in every language (German labels are long) */
.nav a, .header-cta { white-space: nowrap; }
@media (min-width: 1040px) and (max-width: 1199px) {
  .site-header > .container { gap: 12px; }
  .nav ul { gap: 0; }
  .nav a { padding: 8px 9px; }
}
