/* ==========================================================================
   NAV Vermögensverwaltung GmbH & Co. KG
   Direction: architectural editorial — warm stone paper, ink, brick accent.
   System fonts only (fast, and no third-party font requests).
   ========================================================================== */

:root {
  --paper: #F3EFE8;
  --paper-2: #EAE4D9;
  --card: #FBF9F5;
  --sand: #DDD3C3;
  --sand-dark: #CBBFA9;
  --ink: #16181D;
  --ink-2: #1E2128;
  --ink-deep: #0F1115;
  --text: #2A2D34;
  --muted: #5E626B;
  --brick: #A8472B;
  --brick-dark: #8A3921;
  --brick-light: #E0866A;
  --line: rgba(22, 24, 29, .14);
  --line-strong: rgba(22, 24, 29, .32);
  --error: #B3261E;
  --success: #1F6B45;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.modal-open, body.nav-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg, img { display: block; max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.015em;
}
p { margin: 0 0 1.1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- SVG fills ---------- */
.svg-paper { fill: var(--paper); }
.svg-paper2 { fill: var(--paper-2); }
.svg-sand { fill: var(--sand); }
.svg-sand-dark { fill: var(--sand-dark); }
.svg-ink { fill: var(--ink); }
.svg-brick { fill: var(--brick); }
.svg-outline { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.svg-hatch-line { stroke: var(--ink); stroke-width: 1; opacity: .45; }
.svg-lines line { stroke: var(--paper); stroke-width: 1.5; opacity: .45; }
.svg-river path { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .55; }
.svg-draw { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.svg-win { fill: none; stroke: var(--ink); stroke-width: 1; }
.svg-dim { fill: none; stroke: var(--brick); stroke-width: 1.2; }
.svg-text { font: 600 10px var(--font-body); letter-spacing: .18em; fill: var(--muted); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: .95em 1.55em;
  font: 600 .95rem/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--brick); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brick-light); color: var(--ink-deep); }

.link-arrow {
  position: relative; display: inline-block;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; color: var(--ink);
  padding-bottom: 4px;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: left; transition: transform .35s var(--ease);
}
.link-arrow:hover { color: var(--brick); }
.link-arrow:hover::after { transform: scaleX(.5); }
.link-arrow.small { font-size: .88rem; margin-top: 10px; }

.text-btn {
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.text-btn:hover { color: var(--brick); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; translate: 0 26px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(22, 24, 29, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: .12em; }
.brand-text span { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: none; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav li a {
  position: relative; display: inline-block; padding-block: 6px;
  font-size: .93rem; font-weight: 500; letter-spacing: .02em; text-decoration: none; color: var(--text);
}
.site-nav li a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brick);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav li a:hover::after, .site-nav li a[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { padding: .8em 1.25em; font-size: .88rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; padding: 0; position: relative;
  background: none; border: 1px solid var(--line-strong); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(72px, 9vw, 144px); scroll-margin-top: calc(var(--header-h) - 1px); }
.section-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.section-no { color: var(--brick); }
.section-label { color: var(--muted); }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); max-width: 160px; }
h2 { font-size: clamp(2.05rem, 3.7vw, 3.5rem); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(36px, 5vw, 80px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 88px); align-items: center;
}
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brick);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--brick); flex: none; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 5.3rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 30px; }
.hero h1 em { font-style: italic; color: var(--brick); font-weight: 400; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; max-width: 56ch; color: var(--text); margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 44px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero-tags li + li::before { content: "/"; color: var(--brick); margin-inline: 14px; }

.hero-visual { position: relative; margin: 0; }
.hero-visual svg { width: 100%; height: auto; }
.hero-coords {
  position: absolute; top: 18px; left: 20px; margin: 0;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--ink); opacity: .75;
}
.hero-caption {
  position: absolute; left: -44px; bottom: 36px; display: flex; flex-direction: column; gap: 2px;
  max-width: 310px; padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: .8rem; color: var(--muted);
}
.hero-caption strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-strong);
}
.facts > div { padding: 26px 24px 26px 24px; border-right: 1px solid var(--line); }
.facts > div:first-child { padding-left: 0; }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.facts dd { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--brick); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px); align-items: start;
}
.about-left h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; border: 1px solid var(--line-strong); }
.plan figcaption { margin-top: 12px; font-size: .8rem; color: var(--muted); }

.lead-lg { font-family: var(--font-display); font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.45; color: var(--ink); margin-bottom: 32px; }
.prose { margin-bottom: 12px; }
.prose p:last-child { margin-bottom: 0; }

.pullquote { margin: 44px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--brick); }
.pullquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.3; color: var(--ink); margin-bottom: 14px; }
.pullquote cite { font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 52px; }
.panel { border-top: 2px solid var(--ink); padding-top: 18px; }
.panel-label { display: block; margin-bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); }
.panel h3 { font-size: 1.3rem; margin-bottom: 10px; }
.panel p { font-size: .95rem; color: var(--muted); margin: 0; }

.glance { border-top: 1px solid var(--line-strong); margin-bottom: 32px; }
.glance > div { display: grid; grid-template-columns: minmax(120px, 1fr) 3fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.glance dd { color: var(--ink); overflow-wrap: anywhere; }
.glance a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.glance a:hover { color: var(--brick); }

.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values li { padding: 8px 16px; border: 1px solid var(--line-strong); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.services-grid { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.services-intro h2 { margin-bottom: 24px; }
.services-intro > p { color: var(--muted); margin-bottom: 32px; max-width: 46ch; }
.elevation { margin: 0 0 36px; background: var(--card); border: 1px solid var(--line-strong); }
.elevation svg { width: 100%; height: auto; }

.service-list { counter-reset: svc; }
.service {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 32px; gap: 20px;
  padding: 36px 24px; border-top: 1px solid var(--line-strong);
}
.service:last-child { border-bottom: 1px solid var(--line-strong); }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--card);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service-no { font-family: var(--font-display); font-size: 1.15rem; color: var(--brick); padding-top: 6px; }
.service h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin-bottom: 12px; }
.service p { color: var(--muted); margin-bottom: 18px; max-width: 62ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border: 1px solid var(--line-strong); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.service-arrow { font-size: 1.4rem; color: var(--muted); transition: transform .35s var(--ease), color .3s; padding-top: 2px; }
.service:hover .service-arrow { transform: translate(4px, -4px); color: var(--brick); }

/* ---------- Approach ---------- */
.approach-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.approach-head p { color: var(--muted); margin: 0; max-width: 46ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 3vw, 48px); border-top: 1px solid var(--line-strong); }
.step { position: relative; padding-top: 32px; }
.step::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--brick); }
.step-no {
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-size: clamp(3.6rem, 6vw, 5.4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--ink);
  transition: color .4s;
}
.step:hover .step-no { color: var(--brick); -webkit-text-stroke-color: var(--brick); }
.step h3 { font-size: 1.4rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Benefits ---------- */
.benefits { background: var(--ink); color: #CFCCC4; }
.benefits h2, .benefits h3 { color: var(--paper); }
.benefits .section-label { color: #A6A9B0; }
.benefits .section-head::after { background: rgba(255, 255, 255, .25); }
.benefits-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.benefits-head p { margin: 0; color: #A6A9B0; max-width: 40ch; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.benefit {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3vw, 44px);
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .4s var(--ease), border-color .3s;
}
.benefit:hover { transform: translateY(-5px); border-color: var(--brick-light); }
.b1 { grid-column: span 7; min-height: 340px; background: var(--brick); border-color: var(--brick); }
.b1::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 300px; height: 300px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.b1:hover { border-color: var(--paper); }
.b2 { grid-column: span 5; }
.b3, .b4, .b5 { grid-column: span 4; }
.benefit-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 36px; }
.icon { width: 30px; height: 30px; fill: none; stroke: var(--brick-light); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.b1 .icon { stroke: var(--paper); }
.benefit-no { font-family: var(--font-display); font-size: 1rem; color: #A6A9B0; }
.b1 .benefit-no { color: rgba(255, 255, 255, .8); }
.benefit h3 { font-size: 1.5rem; margin-bottom: 12px; }
.b1 h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
.benefit p { margin: 0; font-size: .98rem; color: #B9B7AF; max-width: 52ch; }
.b1 p { color: rgba(255, 255, 255, .92); font-size: 1.05rem; position: relative; z-index: 1; }

.cta-strip {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .2);
}
.cta-strip p { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--paper); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro h2 { margin-bottom: 22px; }
.faq-intro p { color: var(--muted); max-width: 38ch; }
.faq-list { border-bottom: 1px solid var(--line-strong); }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--ink); line-height: 1.25;
  transition: color .25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-family: var(--font-body); font-size: 1.3rem; line-height: 1;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.faq-list summary:hover { color: var(--brick); }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--brick); border-color: var(--brick); color: #fff; }
.faq-list details p { padding: 0 58px 26px 0; margin: 0; color: var(--muted); max-width: 66ch; }
.faq-list details a { text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-info h2 { margin-bottom: 22px; }
.contact-info > p { color: var(--muted); margin-bottom: 40px; max-width: 44ch; }
.details { border-top: 1px solid var(--line-strong); }
.details > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.details dd { color: var(--ink); font-size: 1.05rem; overflow-wrap: anywhere; }
.details dd a:not(.link-arrow) { text-underline-offset: 3px; }
.details dd a:not(.link-arrow):hover { color: var(--brick); }

.form-wrap { background: var(--card); border: 1px solid var(--line-strong); box-shadow: 14px 14px 0 var(--sand); padding: clamp(24px, 3.4vw, 52px); }
.form h3 { font-size: 1.7rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.field label span { color: var(--brick); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 0;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(168, 71, 43, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.error { margin: 6px 0 0; font-size: .84rem; color: var(--error); }
.error:empty { display: none; }
.check-row { display: flex; gap: 12px; align-items: flex-start; }
.check-row input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brick); }
.check-row label { margin: 0; font-weight: 400; font-size: .92rem; color: var(--text); }
.form-status { margin: 18px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--ink-deep); color: #B3B0A8; padding-top: clamp(64px, 8vw, 104px); }
.site-footer .container { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--paper); margin-bottom: 14px; line-height: 1.25; }
.footer-brand address { font-size: .95rem; line-height: 1.7; }
.site-footer h3 { margin-bottom: 16px; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brick-light); }
.site-footer li { margin-bottom: 8px; font-size: .95rem; }
.site-footer a, .site-footer .text-btn { color: #D9D6CE; text-decoration: none; transition: color .2s; }
.site-footer a:hover, .site-footer .text-btn:hover { color: var(--brick-light); }
.site-footer .text-btn { text-decoration: none; }
.footer-note { max-width: 78ch; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; color: #8F8C85; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-bottom: 36px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-mark {
  position: relative; z-index: 0; margin-top: -.12em; text-align: center; user-select: none;
  font-family: var(--font-display); font-size: clamp(7rem, 24vw, 22rem); line-height: .8; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  height: .62em; overflow: hidden;
}

/* ---------- Dialogs ---------- */
.dialog {
  width: calc(100% - 32px); max-width: 720px; max-height: calc(100dvh - 48px); padding: 0;
  border: 0; background: var(--paper); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.dialog::backdrop { background: rgba(15, 17, 21, .62); }
.dialog-inner { position: relative; padding: clamp(24px, 4vw, 52px); max-height: calc(100dvh - 48px); overflow: auto; }
.dialog h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 24px; padding-right: 40px; }
.dialog h3 { margin: 24px 0 6px; font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brick); }
.dialog p { margin-bottom: 0; font-size: .98rem; }
.dialog a { text-underline-offset: 3px; }
.dialog-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  border: 1px solid var(--line-strong); background: none; font-size: 1.6rem; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.dialog-close:hover { background: var(--ink); color: var(--paper); }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .brand-text span { display: block; }
}

@media (max-width: 1100px) {
  .hero-caption { left: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 16px var(--gutter) 40px; overflow-y: auto;
    background: var(--paper); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li a { display: block; padding: 18px 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
  .site-nav li a::after { display: none; }
  .nav-cta { justify-content: center; padding: 1.1em 1.5em; font-size: .95rem; }

  .hero-grid, .about-grid, .services-grid, .faq-grid, .contact-grid, .approach-head, .benefits-head { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .services-intro { position: static; }
  .elevation { max-width: 520px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(2) { border-right: 0; }
  .facts > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .facts > div:nth-child(4) { border-top: 1px solid var(--line); }
  .b1, .b2 { grid-column: span 12; }
  .b3, .b4 { grid-column: span 6; }
  .b5 { grid-column: span 12; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .panels { grid-template-columns: 1fr; gap: 24px; }
  .glance > div { grid-template-columns: 1fr; gap: 4px; }
  .service { grid-template-columns: 44px minmax(0, 1fr); padding: 28px 16px; }
  .service-arrow { display: none; }
  .steps { grid-template-columns: 1fr; }
  .b3, .b4, .b5 { grid-column: span 12; }
  .b1 { min-height: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-wrap { box-shadow: 8px 8px 0 var(--sand); }
  .details > div { grid-template-columns: 1fr; gap: 4px; }
  .faq-list details p { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-caption { position: static; max-width: none; border-top: 0; }
  .hero-actions { gap: 20px; }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding-left: 0; border-right: 0; }
  .facts > div + div { border-top: 1px solid var(--line); }
  .hero-tags li + li::before { margin-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: 0 0; }
}
