/* SBI GmbH Roland Keßler – sbi-sanierung.de
   Modernised design (2026-09-30): brand blue + logo yellow accent, Inter body / Roboto Slab headings. */

/* ---------- fonts (self-hosted, no Google requests) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Slab"; src: url("../fonts/roboto-slab-latin-ext.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  --navy: #16267a;          /* deep SBI blue */
  --blue: #1f47b8;          /* logo stripe blue */
  --blue-soft: #e9eefb;
  --yellow: #ffd400;        /* logo yellow – accents only */
  --yellow-dark: #f0c400;
  --green: #317535;
  --ink: #1f2430;
  --muted: #555c6b;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 38, 122, .06), 0 8px 28px -10px rgba(22, 38, 122, .18);
  --container: 1180px;
  --gutter: 24px;
  --head: "Roboto Slab", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --marble: url("../images/marmor-hintergrund.webp");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--text { max-width: calc(820px + 2 * var(--gutter)); }
.container--gallery-narrow { max-width: calc(820px + 2 * var(--gutter)); }
figure { margin: 0; }
address { font-style: normal; }
.ico { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px;
  background: var(--blue); color: #fff; font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--accent { background: var(--yellow); color: var(--navy); }
.btn--accent:hover { background: var(--yellow-dark); color: var(--navy); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn--block { width: 100%; }

.kicker { margin: 0 0 8px; font: 700 13px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.kicker--light { color: var(--yellow); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy); color: #dfe5ff; font-size: 13.5px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .ico { width: 15px; height: 15px; color: var(--yellow); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.6) blur(10px); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(22, 38, 122, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo img { display: block; width: 200px; margin: 8px 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; display: block; height: 2px; background: var(--yellow); border-radius: 2px; margin-top: 3px; }
.has-sub > .nav__link { padding-right: 30px; }
.nav__toggle { position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; color: var(--ink); border-radius: 6px; }
.nav__toggle::before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 8px); min-width: 330px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { visibility: visible; opacity: 1; transform: none; }
.nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--blue-soft); color: var(--blue); }
.nav__item--cta { margin-left: 8px; }
.nav__item--cta .btn[aria-current] { background: var(--navy); }
.burger { display: none; }

/* ---------- home hero ---------- */
.homehero { position: relative; color: #fff; background: linear-gradient(115deg, rgba(14, 25, 84, .96) 0%, rgba(22, 38, 122, .92) 55%, rgba(31, 71, 184, .85) 100%), var(--marble) center / cover; overflow: hidden; }
.homehero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .18), transparent 70%); pointer-events: none; }
.homehero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.homehero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.12; margin-bottom: 18px; }
.homehero__lead { font-size: clamp(17px, 1.6vw, 19px); color: #dfe5ff; max-width: 620px; margin: 0 0 28px; }
.homehero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.homehero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); border: 4px solid rgba(255, 255, 255, .12); }
.stats { position: relative; z-index: 1; list-style: none; margin: 0 0 -1px; padding: 26px 0 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.stats strong { display: block; font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--head); color: var(--yellow); }
.stats span { display: block; margin-top: 4px; font-size: 14.5px; color: #dfe5ff; }

/* ---------- sub page head ---------- */
.pagehead { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.pagehead__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 25, 84, .93) 0%, rgba(14, 25, 84, .78) 45%, rgba(14, 25, 84, .35) 100%); }
.pagehead__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 48px; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.pagehead__title { color: #fff; font-size: clamp(28px, 3.8vw, 44px); max-width: 820px; margin: 0; }
.pagehead__sub { margin: 10px 0 0; color: #dfe5ff; font-size: 17px; }
.pagehead .kicker { color: var(--yellow); }
.pagehead--plain { background: var(--bg-alt); color: var(--ink); border-bottom: 1px solid var(--line); }
.pagehead--plain::after { display: none; }
.pagehead--plain .container { padding-top: 34px; padding-bottom: 34px; }
.pagehead--plain .pagehead__title { color: var(--navy); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; font-size: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .7; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; opacity: 1; }
.pagehead .crumbs { color: #dfe5ff; }
.pagehead--plain .crumbs { color: #4a5160; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 8px 0 56px; }
.section--flush { padding-top: 48px; }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.title { font-size: clamp(26px, 3vw, 36px); }
.title--sm { font-size: clamp(22px, 2.4vw, 28px); }
.lead { font-size: 18px; color: var(--muted); margin: 0; }

/* prose */
.prose { font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.prose p { margin: 0 0 1.1em; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 21px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 19px; margin: 1.5em 0 .5em; }
.prose strong { font-weight: 700; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.prose ul.plain, .prose ul.dash { list-style: none; padding: 0; }
.prose ul.plain li, .prose ul.dash li { position: relative; padding-left: 28px; margin: 0 0 .45em; }
.prose ul.plain li::before, .prose ul.dash li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 8px; border: solid var(--green); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) translateY(-5px);
}

/* home intro + why */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why li { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.why .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.why h3 { font-size: 17px; margin: 0 0 4px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

/* service cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card__link:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22, 38, 122, .06), 0 18px 40px -14px rgba(22, 38, 122, .3); color: inherit; }
.card__media { display: block; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.card__link:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card__title { font-size: 18.5px; margin: 0 0 8px; }
.card__text { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--blue); }
.card__link:hover .card__more .ico { transform: translateX(3px); }
.card__more .ico { transition: transform .2s; }

/* sub page split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 56px; align-items: start; }
.split__aside { display: grid; gap: 20px; position: sticky; top: 104px; }
.figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.facts { background: var(--bg-alt); border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: var(--radius); padding: 24px; }
.facts__title { font-size: 20px; margin: 0 0 14px; }
.facts ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.facts li .ico { color: var(--green); margin-top: 2px; stroke-width: 2.6; }
.facts__cta { margin: 0; display: grid; gap: 10px; }
.facts__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.facts__phone:hover { text-decoration: underline; }

/* gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--1 img { aspect-ratio: auto; }
.gallery__link { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery__link img { transition: transform .4s ease; }
.gallery__link:hover img { transform: scale(1.04); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 16, 50, .92); display: flex; align-items: center; justify-content: center; padding: 50px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .15); color: #fff; border: 0; width: 46px; height: 46px; font-size: 28px; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* faq */
.faq__list { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(22, 38, 122, .05); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font: 600 17px/1.4 var(--body); color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font: 600 20px/28px var(--body); text-align: center; }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.faq__a p { margin: 0; }

/* related + cta */
.related { padding-top: 56px; padding-bottom: 56px; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; font: 600 16.5px/1.35 var(--head); color: var(--navy); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.related__list a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.related__list .ico { color: var(--blue); }
.ctaband { background: linear-gradient(115deg, var(--navy), var(--blue)); color: #fff; }
.ctaband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 44px; padding-bottom: 44px; }
.ctaband h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; }
.ctaband p { margin: 0; color: #dfe5ff; }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact ---------- */
.card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.contact__intro { color: var(--muted); margin: 0 0 22px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form__row { margin-bottom: 16px; }
.form__row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fbfcfe; padding: 12px 14px; font: 16px var(--body); color: var(--ink); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 71, 184, .15); background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form [aria-invalid="true"] { border-color: #c62828; }
.form__radios { border: 0; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.form__radios legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.radio { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.radio:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.radio input { margin: 0; width: 17px; height: 17px; accent-color: var(--blue); }
.form__privacy { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { min-width: 180px; }
.form__status { margin: 14px 0 0; font-weight: 600; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: #b71c1c; }
.contact__side { display: grid; gap: 16px; }
.contact__card p { display: flex; gap: 12px; margin: 0 0 12px; }
.contact__card .ico { color: var(--blue); margin-top: 3px; }
.contact__card a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact__card a:hover { color: var(--blue); text-decoration: underline; }
.contact__name { font: 700 19px/1.3 var(--head); color: var(--navy); }
.map { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e5e5e5; }
.map__btn { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--navy); padding: 7px 14px; font-size: 14px; font-weight: 600; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.map__credit { margin: -6px 0 0; font-size: 12px; text-align: right; color: var(--muted); }
.map__credit a { color: inherit; }

/* ---------- legal / 404 ---------- */
.legal { font-size: 16px; }
.legal h2 { font-size: 20px; }
.legal h3 { font-size: 17px; }
.legal .meta { font-size: 14px; color: var(--muted); }
.notfound .btn { margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: #0f1b5c; color: #c9d1f2; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer__col h2 { color: #fff; font: 700 16px/1.3 var(--body); margin: 0 0 14px; letter-spacing: .02em; }
.footer__col p { margin: 0 0 12px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer__logo { width: 190px; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer__area { margin-top: 16px !important; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.footer__bottom p { margin: 0; padding: 18px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 9px; font-size: 14.5px; }
  .logo img { width: 185px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .topbar__inner { justify-content: center; }
  .topbar span:nth-child(2) { display: none; }
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }   /* filter would trap the fixed off-canvas nav */
  .header__inner { min-height: 68px; }
  .logo img { width: 150px; margin: 6px 0; }
  .burger { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
  .burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background .2s; border-radius: 2px; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -6px; }
  .burger__bars::after { top: 6px; }
  .burger[aria-expanded="true"] .burger__bars { background: transparent; }
  .burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 60; overflow-y: auto; background: #fff; padding: 84px 16px 30px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: -20px 0 40px rgba(0, 0, 0, .15); }
  .nav.is-open { transform: none; visibility: visible; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 16, 50, .5); z-index: 55; }
  body.nav-open .site-header { z-index: 65; }
  body.nav-open .burger { position: relative; z-index: 70; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { flex-wrap: wrap; }
  .nav__link { flex: 1; font-size: 17px; padding: 12px 14px; }
  .nav__link.is-active::after { display: none; }
  .nav__toggle { position: static; transform: none; width: 44px; height: 44px; }
  .nav__toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; margin: 0 0 6px; padding: 4px 0 4px 10px; border: 0; box-shadow: none; display: none; visibility: visible; opacity: 1; transform: none; }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { display: none; }
  .has-sub.is-open .nav__sub { display: block; }
  .nav__item--cta { margin: 14px 0 0; }
  .nav__item--cta .btn { width: 100%; }
  .homehero__grid, .intro__grid, .split, .contact__grid { grid-template-columns: 1fr; }
  .homehero__grid { padding-top: 44px; gap: 30px; }
  .homehero__media { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 80px; }
  .topbar span { display: none; }
  .topbar__inner { gap: 4px 18px; }
  .section { padding: 52px 0; }
  .pagehead__inner { min-height: 210px; padding-top: 28px; padding-bottom: 34px; }
  .prose { font-size: 16.5px; }
  .gallery--2, .gallery--3 { grid-template-columns: 1fr; }
  .form__grid, .form__radios { grid-template-columns: 1fr; }
  .card-box { padding: 22px 18px; }
  .ctaband__btns .btn, .homehero__cta .btn { flex: 1 1 100%; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .stats strong { font-size: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .site-header, .nav, .burger, .ctaband, .contact__side, .form, .related { display: none !important; }
  .pagehead { background: none; color: #000; } .pagehead::after, .pagehead__img { display: none; } .pagehead__title { color: #000; }
}
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }

/* ---------- family block ---------- */
.family { background: #fff; }
.family__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.family__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.family__people li { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; background: var(--blue-soft); border-left: 5px solid var(--yellow); border-radius: var(--radius); }
.family__people strong { font: 700 22px/1.2 var(--head); color: var(--navy); }
.family__role { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
@media (max-width: 900px) { .family__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 24px; }
.footer__credit { text-decoration: none; }
