/* ============================================
   Sachverständigenbüro Frank Stolzenberg
   Statisches HTML/CSS/JS, kein CMS, kein Framework.
   Onepager. Aufbau/Komponenten-System analog zu kahru.de.
   ============================================ */

/* ============================================
   Web Fonts (lokal, DSGVO-konform, identisch zu kahru.de)
   ============================================ */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../files/fonts/4iCv6KVjbNBYlgoC1CzjsGyN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../files/fonts/4iCs6KVjbNBYlgoKfw72.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../files/fonts/4iCv6KVjbNBYlgoCjC3jsGyN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../files/fonts/4iCv6KVjbNBYlgoCxCvjsGyN.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../files/fonts/KFOjCneDtsqEr0keqCMhbCc6CsQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Ubuntu Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../files/fonts/KFO-CneDtsqEr0keqCMhbC-BL9H1tY0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}


/* ============================================
   Design-Tokens – Nachtblau (Vertrauen, Sachlichkeit) + Messing (Siegel/Stempel)
   ============================================ */
:root {
  --ink: #141b2b;
  --ink-soft: #3d4558;
  --paper: #f5f6f8;
  --paper-deep: #eceef2;
  --white: #ffffff;
  --slate: #687083;
  --border: #dde1e8;

  --navy: #1b2f57;
  --navy-deep: #111f3d;
  --navy-tint: #e6ebf5;
  --blue: #2f55b4;

  --brass: #c49a4a;
  --brass-dark: #8a6a2c;
  --brass-tint: #f6efe1;

  --font-display: "Ubuntu", Verdana, Arial, sans-serif;
  --font-body: "Ubuntu", Verdana, Arial, sans-serif;
  --font-mono: "Ubuntu Mono", "SFMono-Regular", Consolas, monospace;

  --radius-s: 6px;
  --radius-m: 14px;

  --maxw: 1200px;
  --header-h: 84px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 118%;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
strong { color: var(--ink); }

.wrap { max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 32px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-s); z-index: 200; }
.skip-link:focus { left: 16px; top: 16px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ============================================
   Eyebrow
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brass); flex-shrink: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--brass); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--brass); color: var(--navy-deep); }
.btn--primary:hover { background: #d4ab5c; transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(196,154,74,0.55); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 10px 28px -8px rgba(27,47,87,0.5); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--ghost-light:hover { border-color: var(--brass); color: var(--brass); }
.btn--small { padding: 9px 18px; font-size: 0.85rem; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__signet { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1.15rem; color: var(--navy); letter-spacing: 0.01em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

.nav ul { display: flex; gap: 26px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav a:hover, .nav a.is-active { color: var(--navy); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--brass); transition: width 0.2s ease; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav-cta { white-space: nowrap; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 85% 0%, #24407a 0%, var(--navy) 45%, var(--navy-deep) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero__grid { /* feines Raster wie Millimeterpapier */
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; opacity: 0.9; }
.hero__inner { position: relative; padding: 110px 0 190px; max-width: 760px; }
.hero__name { font-family: var(--font-mono); letter-spacing: 0.06em; color: rgba(255,255,255,0.75); margin: 0 0 0.6em; font-size: 1.05rem; }
.hero__headline { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 0.45em; hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
.hero__headline em { font-style: normal; color: var(--brass); }
.hero__lead { color: rgba(255,255,255,0.82); max-width: 56ch; font-size: 1.08rem; margin-bottom: 1.8em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }


/* Fakten-Leiste unter dem Hero */
.facts { background: var(--white); border-bottom: 4px solid var(--brass); }
.facts__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact strong { display: block; font-size: 1.5rem; color: var(--navy); line-height: 1.2; }
.fact span { font-size: 0.88rem; color: var(--slate); line-height: 1.35; display: block; margin-top: 4px; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 96px 0; }
.section--white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,0.8); }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 26ch; }
.section__title--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 32ch; }
.section__lead { max-width: 64ch; margin-bottom: 2.4em; }
.section__lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================
   Profil
   ============================================ */
.profile { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.timeline { margin-top: 28px; border-left: 2px solid var(--border); padding-left: 26px; }
.timeline li { position: relative; padding-bottom: 20px; color: var(--ink-soft); }
.timeline li::before { content: ""; position: absolute; left: -33px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--brass); }
.timeline li strong { display: block; font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.06em; color: var(--brass-dark); text-transform: uppercase; }

.seal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-m);
  padding: 34px 32px;
  box-shadow: 0 24px 48px -32px rgba(20,27,43,0.35);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.seal-card__badge { width: 76px; height: 76px; margin-bottom: 18px; }
.seal-card h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.seal-card__role { color: var(--slate); font-size: 0.92rem; margin-bottom: 1.4em; }
.seal-card dl { margin: 0; display: grid; gap: 12px; }
.seal-card dt { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.seal-card dd { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.4; }
.seal-card a { color: var(--blue); }
.seal-card a:hover { text-decoration: underline; }

/* ============================================
   Leistungs-Karten
   ============================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards .card--feature { grid-row: span 2; } /* 5 Karten: Gerichtsgutachten hoch, daneben 2×2 */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(20,27,43,0.35); border-color: var(--brass); }
.card__icon { width: 50px; height: 50px; border-radius: var(--radius-s); background: var(--navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__icon svg { width: 25px; height: 25px; }
.card--feature { background: var(--navy); border-color: var(--navy); }
.card--feature h3 { color: var(--white); }
.card--feature p, .card.card--feature li { color: rgba(255,255,255,0.82); }
.card--feature .card__icon { background: rgba(196,154,74,0.18); color: var(--brass); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.card p { margin: 0; font-size: 0.97rem; }
.card ul { margin-top: 12px; }
.card li { font-size: 0.93rem; color: var(--ink-soft); padding: 3px 0 3px 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 2px; background: var(--brass); }

/* Objektarten */
.objects { margin-top: 64px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.objects h3 { font-size: 1.35rem; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 0.92rem; padding: 9px 18px; border-radius: 999px; background: var(--white); color: var(--navy); border: 1px solid var(--border); }

/* ============================================
   Verkehrswert – Verfahren
   ============================================ */
.quote {
  margin: 0 0 48px;
  padding: 28px 32px;
  border-left: 4px solid var(--brass);
  background: rgba(255,255,255,0.06);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  max-width: 900px;
}
.quote p { margin: 0; color: rgba(255,255,255,0.92); font-size: 1.05rem; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.06em; color: var(--brass); }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method { border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-m); padding: 30px 28px; background: rgba(255,255,255,0.03); }
.method__num { font-family: var(--font-mono); color: var(--brass); font-size: 0.9rem; letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.method h3 { font-size: 1.2rem; }
.method p { font-size: 0.96rem; margin: 0; }
.method__law { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.note-light { margin-top: 36px; font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 80ch; }

/* ============================================
   Rechte & Lasten
   ============================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.example {
  background: var(--brass-tint);
  border-left: 4px solid var(--brass);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  padding: 24px 28px;
  margin-top: 24px;
}
.example strong { display: block; margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-dark); }
.example p { margin: 0; color: var(--ink); }
.check-list li { padding: 11px 0 11px 34px; border-bottom: 1px dashed var(--border); position: relative; color: var(--ink-soft); }
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2f57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.check-list--cols { columns: 2; column-gap: 36px; }
.check-list--cols li { break-inside: avoid; }

/* ============================================
   Ablauf / Unterlagen
   ============================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; margin-bottom: 56px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--brass);
}
.step::after { content: ""; position: absolute; top: 22px; left: 56px; right: -12px; height: 1px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: 0.3em; }
.step p { font-size: 0.95rem; margin: 0; }
.docs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 32px; }
.panel--soft { background: var(--paper); }
.panel h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.panel h3 svg { width: 22px; height: 22px; color: var(--brass-dark); flex-shrink: 0; }
.panel .lead { font-size: 0.93rem; color: var(--slate); }

/* ============================================
   Kosten
   ============================================ */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price .panel { border-top: 4px solid var(--brass); }
.price .panel--court { border-top-color: var(--navy); }
.price__tag { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); display: block; margin-bottom: 6px; }
.price .check-list li { font-size: 0.97rem; }

/* ============================================
   Auftraggeber
   ============================================ */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-m); overflow: hidden; }
.client { background: var(--white); padding: 26px 24px; }
.client:last-child:nth-child(odd) { grid-column: span 2; } /* ungerade Anzahl: letzte Kachel füllt die Zeile */
.client strong { display: block; color: var(--navy); font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.client span { font-size: 0.88rem; color: var(--slate); line-height: 1.4; display: block; }

/* ============================================
   Kontakt
   ============================================ */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.contact__cards { display: grid; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-m); padding: 20px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
a.contact-item:hover { border-color: var(--brass); background: rgba(255,255,255,0.1); }
.contact-item svg { width: 26px; height: 26px; color: var(--brass); flex-shrink: 0; }
.contact-item small { display: block; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.contact-item span { color: var(--white); font-weight: 500; font-size: 1.08rem; }
.contact-item address { font-style: normal; color: var(--white); font-weight: 500; line-height: 1.45; }
.links-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; }
.links-row a { color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.25); }
.links-row a:hover { color: var(--brass); border-color: var(--brass); }

/* ============================================
   Unterseiten (Impressum / Datenschutz / 404)
   ============================================ */
.page-hero { padding: 64px 0 52px; background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero .hero__grid { -webkit-mask-image: none; mask-image: none; }
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero__title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.3em; color: var(--white); }
.page-hero__lead { color: rgba(255,255,255,0.8); margin: 0; }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.3rem; margin: 2em 0 0.5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose .todo { background: #fff4d6; border: 1px dashed var(--brass); padding: 12px 16px; border-radius: var(--radius-s); color: var(--brass-dark); }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 44px 0 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.brand--footer .brand__name { color: var(--white); }
.brand--footer .brand__sub { color: rgba(255,255,255,0.55); }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a, .footer-legal a { font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--brass); }
.site-footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5); padding: 18px 0 24px; }
.footer-legal { display: flex; gap: 18px; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top svg { width: 20px; height: 20px; stroke: var(--brass); stroke-width: 2.4; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .nav ul { gap: 20px; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(10,15,30,0.6); z-index: 98; }
  .nav {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 80vw; max-width: 400px;
    background: var(--navy-deep); border-right: 2px solid var(--brass);
    padding: 30px 28px 44px;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto; overscroll-behavior: contain;
    z-index: 101;
  }
  .nav::before {
    content: ''; display: block; width: 64px; height: 44px;
    background: url('../files/intern/signet-hell.svg') no-repeat left center / contain;
    margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav.is-open { transform: translateX(0); box-shadow: 24px 0 64px rgba(0,0,0,0.5); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a { display: block; font-size: 1.12rem; font-weight: 700; color: rgba(255,255,255,0.85); padding: 15px 0; }
  .nav a:hover, .nav a.is-active { color: var(--brass); padding-left: 8px; }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .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 { padding: 72px 0; }
  .hero__inner { padding: 80px 0 150px; }
  .facts__inner { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--border); }
  .seal-card { position: static; }
  .profile, .split, .contact, .objects, .docs, .price { grid-template-columns: 1fr; gap: 36px; }
  .cards, .methods { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .clients { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 100%; line-height: 1.55; }
  .wrap { padding: 0 20px; }
  .brand__signet { width: 42px; }
  .brand__name { font-size: 1rem; }
  .brand__sub { font-size: 0.7rem; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 56px 0 110px; }
  .hero__lead { font-size: 1rem; }
  .hero__headline { font-size: 1.6rem; }
  .section__title { font-size: 1.55rem; hyphens: auto; -webkit-hyphens: auto; }
  .fact { padding: 18px 14px; }
  .fact strong { font-size: 1.2rem; }
  .cards, .methods, .steps, .clients { grid-template-columns: 1fr; }
  .cards .card--feature { grid-row: auto; }
  .client:last-child:nth-child(odd) { grid-column: auto; }
  .step::after { display: none; }
  .check-list--cols { columns: 1; }
  .panel, .seal-card { padding: 26px 22px; }
  .quote { padding: 22px; }
  .site-footer__inner, .site-footer__copy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) { .br-desk { display: none; } }
