/* ==========================================================================
   KFZ Gutachter Jörg Pospiech – Stylesheet
   Modernisierte Fassung des bisherigen Designs (grauer Header, Navy-Akzente,
   dunkle Buttons, Original-Fotos). Keine externen Abhängigkeiten.
   ========================================================================== */

:root {
  --navy: #143256;
  --navy-hover: #1f4a7d;
  --navy-dark: #0d2340;
  --text: #2b2f36;
  --muted: #5f6670;
  --dark: #2f3237;
  --light: #f4f5f7;
  --line: #e2e5ea;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(16, 24, 40, .08);
  --shadow-hover: 0 12px 32px rgba(16, 24, 40, .14);
  --container: 1080px;
  --header-h: 92px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
a.plain { text-decoration: none; }
a.plain:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #7fa6d6; outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted); }
.text-dark { color: var(--text); }
.bg-light { background: var(--light); }
.bg-lighter { background: var(--light); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none;
  border: 1px solid transparent; border-radius: 4px;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(20, 50, 86, .25); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .85); backdrop-filter: blur(4px); min-width: 210px; }
.btn-light:hover, .btn-light:focus-visible { background: #fff; color: var(--navy); }
.btn-wide { min-width: 260px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background-image: linear-gradient(90deg, #b3b3b3 0, #d9d9d9 100%);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-top: 12px; padding-bottom: 12px; }
.logo img { width: 204px; height: auto; border-radius: 2px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav ul a {
  position: relative; display: block; padding: 10px 12px;
  font-size: 16px; font-weight: 500; letter-spacing: .2px;
  color: #1c1c1c; text-decoration: none;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 16px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.header-phone:hover { background: var(--navy-hover); color: #fff; }
.header-phone .icon { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #222; }
.nav-toggle .icon { width: 30px; height: 30px; }

/* ---------- Icons ---------- */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background-size: cover; background-position: center; background-color: #6b6f75;
  color: #fff; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero-home { min-height: min(720px, calc(100vh - var(--header-h))); padding: 80px 0; }
.hero-home::before { background: linear-gradient(180deg, rgba(10, 20, 35, .15) 0%, rgba(10, 20, 35, .35) 45%, rgba(10, 20, 35, .7) 100%); }
.hero-home .hero-content { width: 100%; margin-top: 18vh; }
.hero-home h1 {
  color: #fff; font-size: clamp(38px, 6vw, 68px); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; margin: 0 20px 10px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; margin: 0 20px 22px; }
.hero-line { width: min(560px, 80%); border: 0; border-top: 1px solid rgba(255, 255, 255, .5); margin: 0 auto 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; padding: 0 20px; }

.hero-image-only { min-height: 440px; }
.hero-image-only::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .25) 100%); }
.hero-schadensfall { min-height: 400px; background-position: center 60%; }

.hero-page { min-height: 480px; padding: 70px 24px; }
.hero-page::before { background: linear-gradient(180deg, rgba(10, 20, 35, .35), rgba(10, 20, 35, .6)); }
.hero-page .hero-content { max-width: 680px; }
.hero-kontakt { min-height: 420px; }
.page-title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.hero-page p { font-size: 19px; margin-bottom: 26px; }
.hero-italic { font-style: italic; }
.divider-short { width: 56px; border: 0; border-top: 3px solid #fff; margin: 0 auto 24px; border-radius: 2px; }
.divider-short.dark { border-top-color: var(--navy); margin: 14px auto 18px; }

/* ---------- Sections & grids ---------- */
.section { padding: 96px 0; }
.section + .section { padding-top: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.section-title { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; }
.subtitle { font-size: 19px; margin-top: -4px; }
.small-title { font-size: 18px; font-weight: 800; margin: 2.2em 0 .8em; }
.small-title.caps { text-transform: uppercase; letter-spacing: .03em; font-size: 16px; }
.intro-title { font-size: clamp(24px, 2.2vw, 28px); font-weight: 700; line-height: 1.35; position: relative; padding-top: 18px; }
.intro-title::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: var(--navy); border-radius: 2px; }
.intro-sub { font-size: 20px; font-style: italic; color: var(--muted); margin-top: -6px; }
.lead-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; margin-bottom: 18px; }
.display { font-size: clamp(26px, 6.4vw, 50px); font-weight: 800; line-height: 1.15; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.caps-title { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }

/* Startseite – Intro */
.intro .grid-3 > div:first-child { padding-right: 10px; }

/* Leistungen als Karten mit runden Icons */
.services { background: var(--light); padding: 90px 0; }
.section.services + .section { padding-top: 90px; }
.service {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px 30px 36px; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service h2 { font-size: 24px; font-weight: 800; margin: 22px 0 12px; }
.service p { color: var(--muted); }
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--dark); color: #fff;
}
.icon-circle .icon { width: 34px; height: 34px; }

/* Schritte */
.steps { padding-top: 10px; padding-bottom: 80px; }
.step { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 12px; background: #e9eef5; color: var(--navy); margin-bottom: 18px;
}
.step-icon .icon { width: 30px; height: 30px; stroke-width: 1.4; }
.step h2, .step h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.step p { margin-bottom: 14px; color: var(--muted); }
.more { font-weight: 700; color: var(--navy); text-decoration: none; }
.more::after { content: " →"; }
.more:hover { text-decoration: underline; }

/* Unfall-Text */
.unfall { padding-bottom: 60px; }
.unfall p { margin-bottom: 1.4em; }
.unfall .phone-big { font-size: 24px; }

/* ---------- Partner-Logos ---------- */
.partners { padding: 70px 0; border-top: 1px solid var(--line); }
.partners-title { font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; text-align: center; margin-bottom: 30px; }
.partner-logos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.partner-logos li {
  display: flex; align-items: center; justify-content: center;
  height: 130px; padding: 18px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s;
}
.partner-logos li:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-logos img { max-height: 92px; width: auto; max-width: 100%; object-fit: contain; }
.partner-logos-small { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; margin-top: 40px; }

.partner-detail { background: var(--light); }
.section.partner-detail { padding-top: 90px; }
.partner-detail .section-title { margin-bottom: 44px; }
.partner-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 40px; margin-bottom: 28px;
}
.partner-row img { width: 100%; height: auto; border-radius: 4px; }
.partner-row h3 { font-size: 22px; font-weight: 800; }
.partner-row p { color: var(--muted); }

/* ---------- Slider ---------- */
.slider { position: relative; height: 440px; overflow: hidden; background: #333; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s;
}
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 35, .1), rgba(10, 20, 35, .55)); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-content { position: relative; color: #fff; padding: 0 80px; }
.slide h2 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.slide p { font-size: 19px; font-weight: 600; margin-bottom: 22px; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .5); color: #fff; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .2s;
}
.slider-btn:hover { background: rgba(255, 255, 255, .35); }
.slider-btn .icon { width: 22px; height: 22px; stroke-width: 2; }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 999px; padding: 0; cursor: pointer; border: 0;
  background: rgba(255, 255, 255, .5); transition: width .3s, background .3s;
}
.slider-dots button[aria-current="true"] { background: #fff; width: 28px; }

/* ---------- Info-Kasten auf Bild (3D Karosserievermessung) ---------- */
.feature-box-section { position: relative; background-size: cover; background-position: center; padding: 100px 0; }
.feature-box {
  background: rgba(60, 64, 70, .78); backdrop-filter: blur(6px);
  color: #fff; text-align: center; border-radius: var(--radius);
  padding: 56px 40px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.feature-box .display { color: #fff; margin-bottom: 22px; }
.feature-box p { max-width: 820px; margin: 0 auto 34px; color: #eef0f3; }
.feature-img { margin: 0 auto 36px; max-width: 720px; width: 100%; background: #fff; border-radius: 6px; }

/* ---------- Zitat + Text ---------- */
.quote-row { display: grid; grid-template-columns: 300px 1fr; gap: 0; align-items: start; }
.quote {
  margin: 0; padding: 10px 44px 10px 0;
  font-size: 26px; font-weight: 800; font-style: italic; text-align: right; line-height: 1.4; color: var(--navy);
}
.quote-text { border-left: 4px solid var(--navy); padding: 6px 0 6px 36px; }
.vita-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.vita { list-style: none; margin: 0; padding: 0; }
.vita li { position: relative; padding: 0 0 14px 26px; }
.vita li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.vita li::after { content: ""; position: absolute; left: 4px; top: 1.3em; bottom: -.2em; width: 2px; background: var(--line); }
.vita li:last-child::after { display: none; }
.vita u { text-decoration: none; font-weight: 700; color: var(--navy); }

/* ---------- Bild/Text 50:50 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.split-media { background-size: cover; background-position: center; min-height: 320px; }
.split-text { display: flex; align-items: center; }
.split-inner { padding: 80px clamp(30px, 6vw, 96px); max-width: 680px; }
.split-reverse .split-media { order: 2; }
.split-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; margin-bottom: 22px; }
.split h3 { font-size: 21px; font-weight: 800; margin-top: 6px; }
.split .btn { margin-top: 18px; }

/* ---------- Band mit Hintergrundbild ---------- */
.band { padding: 110px 0; color: #fff; }
.band-image { position: relative; isolation: isolate; background-size: cover; background-position: center; background-color: #555; }
.band-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(13, 35, 64, .85), rgba(30, 30, 30, .55)); }
.band h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; margin-bottom: 18px; }
.band p { margin-bottom: 30px; font-size: 18px; color: #eef0f3; }
.band .btn-dark { background: #fff; color: var(--navy); }
.band .btn-dark:hover { background: var(--light); }

/* ---------- Karten ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow);
}
.card h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.card-sub { font-style: italic; color: var(--muted); margin-bottom: 0; }

/* ---------- Text + Bild ---------- */
.media-row { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.media-row img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Diagonaler Abschnitt (PointX) ---------- */
.diagonal { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; background: #fff; overflow: hidden; }
.diagonal-text {
  background: #dfe2e6; align-self: stretch;
  padding: 90px 140px 90px max(24px, calc((100vw - var(--container)) / 2));
  clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%);
}
.diagonal-text h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 24px; }
.diagonal-text p { color: var(--muted); margin-bottom: 26px; }
.diagonal-media { padding: 40px 24px 40px 0; }
.diagonal-media img { width: 100%; max-width: 680px; }

/* ---------- Galerie + Lightbox ---------- */
.gallery { list-style: none; margin: 40px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.06); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 6px; }
.lightbox button { position: fixed; top: 14px; right: 14px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox button .icon { width: 34px; height: 34px; stroke-width: 2; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.contact-box { background: var(--light); border-radius: var(--radius); padding: 34px 32px; }
.contact-box h2 { font-size: 24px; font-weight: 800; margin: 0 0 20px; }
.contact-box p { margin-bottom: 1.3em; }
.contact-box u { text-decoration: none; font-weight: 700; }
.social { list-style: none; margin: 30px 0 0; padding: 0; display: flex; gap: 12px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: background .2s, color .2s;
}
.social a:hover { background: var(--navy); color: #fff; }
.social .icon { width: 20px; height: 20px; }

.contact-form { display: grid; gap: 18px; }
.contact-form label { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"],
.contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text);
  background: #fff; border: 1px solid #cfd4dc; border-radius: 6px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 50, 86, .15);
}
.contact-form .btn { justify-self: start; min-width: 180px; }

.consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.5; color: var(--muted) !important; text-align: left; }
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--navy); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Rückruf ---------- */
.callback { background: var(--light); padding: 80px 0; text-align: center; border-top: 1px solid var(--line); }
.callback-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 18px;
}
.callback-icon .icon { width: 26px; height: 26px; }
.callback h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; margin-bottom: 8px; }
.callback p { color: var(--muted); margin-bottom: 28px; }
.callback-form { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 14px 10px; }
.callback-form input[type="tel"] {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px;
  border: 1px solid #cfd4dc; border-radius: 6px; background: #fff; color: var(--text);
}
.callback-form input[type="tel"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20, 50, 86, .15); }
.callback-form .btn { height: 52px; }
.callback-form .consent { grid-column: 1 / -1; grid-row: 2; }
.callback-form .consent a { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #1c1f24; color: #b9bec6; font-size: 15px; }
.site-footer a { color: #e6e9ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo { width: 200px; margin-bottom: 18px; border-radius: 2px; }
.site-footer h2 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { background: #000; padding: 16px 0; font-size: 14px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Rechtliches / Meldungen ---------- */
.legal h2 { font-size: 19px; margin-top: 2em; }
.legal p { color: #444; }
mark.todo { background: #fff3a0; color: #5a4a00; padding: 2px 4px; border-radius: 3px; }
.message-page { min-height: 50vh; display: flex; align-items: center; }
.message-page .btn { margin-top: 24px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .logo img { width: 168px; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 14px; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { padding: 12px 4px; border-top: 1px solid rgba(255, 255, 255, .55); }
  .main-nav ul a::after { display: none; }
  .header-phone { justify-content: center; padding: 12px; }
  .header-phone span { display: inline; }

  .grid-3, .quote-row, .split, .media-row, .diagonal, .contact-grid, .partner-row, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section + .section { padding-top: 16px; }
  .services, .section.services + .section, .section.partner-detail { padding-top: 64px; padding-bottom: 64px; }
  .grid-3 { gap: 22px; }

  .hero-home { min-height: 560px; padding: 60px 0; }
  .hero-home .hero-content { margin-top: 80px; }
  .hero-image-only { min-height: 260px; }
  .hero-page { min-height: 380px; }

  .quote { text-align: left; padding: 0 0 22px; font-size: 22px; }
  .quote-text { padding-left: 22px; }

  .split { min-height: 0; }
  .split-media { min-height: 280px; }
  .split-reverse .split-media, .split .split-media:last-child { order: -1; }
  .split-inner { padding: 48px 24px; max-width: none; }

  .diagonal-text { clip-path: none; padding: 56px 24px; }
  .diagonal-media { padding: 24px; }
  .feature-box-section { background-attachment: scroll; padding: 60px 0; }
  .feature-box { padding: 40px 22px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .partner-row { gap: 22px; padding: 28px 24px; }
  .partner-row img { max-width: 240px; }
  .slider { height: 380px; }
  .slide-content { padding: 0 60px; }
  .slider-btn { width: 40px; height: 40px; }
  .slider-btn.prev { left: 10px; }
  .slider-btn.next { right: 10px; }
  .footer-grid { gap: 28px; padding-top: 48px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-wide, .btn-light { min-width: 0; width: 100%; max-width: 320px; }
  .callback-form { grid-template-columns: 1fr; }
  .callback-form .consent { grid-row: auto; }
  .partner-logos li { height: 100px; padding: 12px; }
  .partner-logos img { max-height: 70px; }
  .partner-logos-small { grid-template-columns: repeat(2, 1fr); }
  .contact-box { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .gallery img, .btn, .service, .partner-logos li { transition: none; }
  .feature-box-section { background-attachment: scroll; }
}
