/* ==========================================================================
   ErosTech Solutions – Website Stylesheet
   Schlichtes, helles Unternehmenslayout. Keine externen Fonts/CDNs.
   ========================================================================== */

:root {
  --ink: #0f1b2d;
  --ink-2: #44526a;
  --ink-3: #6b778c;
  --line: #dfe4ec;
  --line-2: #eef1f5;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --brand: #0b5cad;
  --brand-dark: #08457f;
  --brand-tint: #e8f0f9;
  --dark: #0f1b2d;
  --radius: 4px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
small { font-size: .85rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 28px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--ink-2); font-size: .95rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius);
}
.main-nav a:hover { color: var(--ink); background: var(--bg-alt); text-decoration: none; }
.main-nav a.active { color: var(--brand); }
.main-nav .btn { margin-left: 12px; color: #fff; }
.main-nav .btn:hover { color: #fff; background: var(--brand-dark); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  border: 1px solid var(--brand);
  padding: 11px 20px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; font-family: inherit;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--bg-alt); color: var(--ink); border-color: #c9d1dc; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: #e9edf2; border-color: #e9edf2; color: var(--ink); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section-dark { background: var(--dark); color: #c8d0dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.kicker {
  display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 15em; }
.hero .lead { max-width: 34em; margin-bottom: 32px; }
.hero-diagram { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.hero-diagram svg { width: 100%; height: auto; display: block; }
.hero-diagram figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 12px; text-align: center; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 1.05rem; font-weight: 650; color: var(--ink); }
.fact span { font-size: .9rem; color: var(--ink-3); }

/* ---------- Page header (Unterseiten) ---------- */
.page-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 56px 0 52px; }
.page-header h1 { margin-bottom: .4em; max-width: 18em; }
.page-header .lead { max-width: 40em; margin: 0; }
.page-header .btn-row { margin-top: 28px; }
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 16px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb span { margin: 0 6px; }

/* Video (Zwei-Klick-Einbindung) */
.page-header-split { align-items: center; gap: 48px; }
.video { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--dark); border: 1px solid var(--line); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: #fff; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, #0f1b2d 0%, #12345e 100%);
}
.video-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; transition: transform .15s, background-color .15s; box-shadow: 0 0 0 8px rgba(11,92,173,.25); }
.video-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-icon { transform: scale(1.06); background: #1a6fc4; }
.video-title { font-size: 1.15rem; font-weight: 650; margin-top: 8px; }
.video-sub { font-size: .85rem; color: #aab6c8; }
.video figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 10px; line-height: 1.5; }

/* Sprachumschalter (Wiki) */
.lang-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .85rem; margin-bottom: 20px; }
.lang-switch span { color: var(--ink-3); margin-right: 4px; }
.lang-switch a { color: var(--ink-2); border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 2px 8px; font-weight: 600; font-size: .78rem; letter-spacing: .03em; }
.lang-switch a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.lang-switch a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Grid / Cards ---------- */
.split > *, .grid > *, .docs > * { min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .15s;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .link-arrow { margin-top: auto; }
a.card { color: inherit; }
a.card:hover { border-color: var(--brand); text-decoration: none; }
.icon {
  width: 44px; height: 44px; border-radius: var(--radius); background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0;
}
.icon svg { width: 22px; height: 22px; }

/* Leistungs-Liste ohne Boxen */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 56px 1fr 1.3fr auto; gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line); color: inherit;
}
.service-row:hover { text-decoration: none; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.service-row .icon { margin: 0; }
.service-row h3 { margin: 10px 0 0; }
.service-row p { margin: 8px 0 0; color: var(--ink-2); font-size: .97rem; }
.service-row .link-arrow { margin-top: 10px; white-space: nowrap; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5cad' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist li strong { color: var(--ink); font-weight: 600; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.tags li { font-size: .82rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px; }
.section-alt .tags li { background: #fff; }

/* Steps / Phasen */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 56px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--brand); color: var(--brand);
  font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; background: #fff;
}
.steps li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3, .steps h4 { margin: 6px 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.process > div { padding: 24px 24px 0 0; }
.process .num { font-size: .85rem; font-weight: 700; color: var(--brand); display: block; margin-bottom: 8px; }
.process p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Media frames */
.frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.frame-bar { height: 30px; border-bottom: 1px solid var(--line); background: var(--bg-alt); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6df; display: block; }
.phone-shot { max-width: 260px; margin: 0 auto; }

.ref-card { border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.ref-media { background: var(--bg-alt); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 12px; }
.ref-media img { width: 100%; height: 100%; object-fit: contain; }
.illu { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.illu img { width: 100%; height: auto; }
.ref-body { padding: 28px; }
.ref-body .meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-bottom: 8px; display: block; }
.ref-body p { color: var(--ink-2); font-size: .97rem; }
.ref-body .tags { margin-bottom: 1em; }

/* Product box */
.product { border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 48px; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--brand); background: var(--brand-tint); border-radius: 3px; padding: 4px 10px; margin-bottom: 16px; }

/* Invoice-Vorschau (rein dekorativ) */
.invoice { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 32px; font-size: .85rem; color: var(--ink-2); box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 12px 32px rgba(15,27,45,.06); width: 100%; max-width: 440px; margin: 0 auto; position: relative; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.invoice-logo { width: 36px; height: 36px; border-radius: 4px; background: var(--brand); }
.invoice-head .right { text-align: right; }
.invoice-head .invoice-logo { flex-shrink: 0; }
.invoice-head strong { display: block; color: var(--ink); font-size: 1rem; }
.invoice .lines { height: 8px; background: var(--line-2); border-radius: 2px; margin-bottom: 7px; }
.invoice table { width: 100%; border-collapse: collapse; margin: 24px 0 16px; }
.invoice th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
.invoice td { padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.invoice td:last-child, .invoice th:last-child { text-align: right; }
.invoice .total { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: .95rem; }
.invoice .stamp { position: absolute; right: 32px; top: 96px; border: 2px solid #2e8b57; color: #2e8b57; font-weight: 700; font-size: .7rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 3px; transform: rotate(-8deg); opacity: .85; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 640px; }
table.data th, table.data td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
table.data thead th { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-weight: 650; color: var(--ink); }
table.data thead th small { display: block; font-weight: 400; color: var(--ink-3); }
table.data tbody th { font-weight: 500; color: var(--ink); }
table.data td { color: var(--ink-2); }
table.data tr:last-child td, table.data tr:last-child th { border-bottom: 0; }
table.data .yes { color: #2e7d4f; font-weight: 600; }
table.data .no { color: #a0a9b6; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 760px; }

/* Docs-Layout (Wiki) */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.docs-nav { position: sticky; top: 100px; border-left: 1px solid var(--line); }
.docs-nav strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 0 0 10px 18px; }
.docs-nav a { display: block; padding: 6px 0 6px 18px; color: var(--ink-2); font-size: .93rem; margin-left: -1px; border-left: 2px solid transparent; }
.docs-nav a:hover { color: var(--ink); border-left-color: var(--line); text-decoration: none; }
.docs-nav a.active { color: var(--brand); border-left-color: var(--brand); }
.docs-content > section { padding: 0 0 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.docs-content > section:last-child { border-bottom: 0; margin-bottom: 0; }
.docs-content h2 { margin-bottom: .5em; }
.docs-content .intro { color: var(--ink-2); font-size: 1.05rem; max-width: 44em; margin-bottom: 32px; }

.feature { padding: 22px 0; border-top: 1px solid var(--line); }
.feature h3 { font-size: 1rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.plan { font-size: .7rem; font-weight: 700; color: var(--brand); background: var(--brand-tint); padding: 2px 6px; border-radius: 3px; letter-spacing: .04em; }

.lang-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; list-style: none; padding: 0; margin: 0; }
.lang-list li { padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .93rem; background: #fff; }
.lang-list li:nth-child(4n) { border-right: 0; }
.lang-list li:nth-last-child(-n+4) { border-bottom: 0; }
.lang-list .code { display: inline-block; width: 30px; font-weight: 700; color: var(--ink-3); font-size: .8rem; }

/* Legal / Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose address { font-style: normal; color: var(--ink); margin-bottom: 1em; line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark); color: #c8d0dc; padding: 64px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; font-size: 1.6rem; }
.cta-band p { margin: 0; max-width: 38em; }

/* ---------- Kontakt ---------- */
.contact-info dl { margin: 0; }
.contact-info dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; margin-top: 22px; }
.contact-info dd { margin: 4px 0 0; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  border: 1px solid #c9d1dc; border-radius: var(--radius); padding: 11px 13px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,92,173,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-3); margin: 4px 0 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #9aa6b8; font-size: .92rem; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-grid p { max-width: 26em; }
.footer-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer a { color: #c8d0dc; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 56px 1fr auto; }
  .service-row p { grid-column: 2 / 3; }
  .service-row .link-arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 900px) {
  .split, .split-5-7, .split-7-5 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .docs { grid-template-columns: 1fr; gap: 32px; }
  .docs-nav { position: static; display: none; }
  .lang-list { grid-template-columns: repeat(2, 1fr); }
  .lang-list li:nth-child(4n) { border-right: 1px solid var(--line); }
  .lang-list li:nth-child(2n) { border-right: 0; }
  .lang-list li:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .lang-list li:nth-last-child(-n+2) { border-bottom: 0; }
  .product { padding: 32px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15,27,45,.06);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line-2); }
  .main-nav .btn { margin: 14px 0 0; justify-content: center; border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 48px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 1fr; gap: 0; padding: 24px 0; }
  .service-row .icon { margin-bottom: 4px; }
  .service-row p, .service-row .link-arrow { grid-column: auto; grid-row: auto; }
  .product { padding: 22px; }
  .invoice { padding: 22px; }
  .page-header { padding: 40px 0; }
  .cta-band { padding: 48px 0; }
}
