/* ==========================================================
   IWF Immobilien – Redesign 2026
   Schriften: Crimson Pro (Serif, Minion-Pro-Charakter) + Manrope (Sans)
   ========================================================== */

/* ---------- Lokale Schriften (SIL Open Font License, siehe assets/fonts) ---------- */
@font-face { font-family: "Crimson Pro"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/crimson-pro-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Crimson Pro"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("../fonts/crimson-pro-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy: #1E284B;
  --navy-deep: #141B35;
  --grey: #9299AE;
  --grey-light: #D9DBE0;
  --line: #E7E8EC;
  --paper: #FFFFFF;
  --mist: #F6F6F8;
  --ink: #23263A;
  --muted: #6A6E7C;

  --serif: "Crimson Pro", "Minion Pro", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 2px;
  --header-h: 92px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
::selection { background: var(--navy); color: #fff; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 13vw, 180px) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 24px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,.7); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; color: var(--navy); }
em { font-style: italic; font-weight: 300; color: var(--grey); }

.h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 32px; }
.h2--light { color: #fff; }
.h2--light em { color: rgba(255,255,255,.65); }
.h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--muted); max-width: 560px; }
.lead--light { color: rgba(255,255,255,.8); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg); border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--dark { --bg: var(--navy); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { color: #fff; } .btn--light::before { background: var(--navy-deep); }
.btn--line { --bg: transparent; --fg: var(--navy); color: var(--navy); border-color: var(--grey-light); }
.btn--line::before { background: var(--navy); }
.btn--line:hover { color: #fff; border-color: var(--navy); }
.btn--small { padding: 12px 20px; font-size: 13px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; gap: 10px; font-weight: 600; font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 4px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: height .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 40px; }
.logo { display: block; flex-shrink: 0; }
.header.is-scrolled .logo img { height: 46px; }
.logo img { height: 60px; width: auto; transition: height .5s var(--ease); }

.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--ink); padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { flex-shrink: 0; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--navy); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 44px; line-height: 1.2; color: var(--navy); }
.mobile-menu__contact { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.mobile-menu__link { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; color: var(--navy); }
.mobile-menu__link svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--grey); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 60px) 0 100px; display: flex; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.hero__title { font-size: clamp(52px, 7.6vw, 118px); line-height: .98; letter-spacing: -.025em; margin-bottom: 36px; }
.hero__title em { display: inline-block; }
.hero__lead { font-size: clamp(18px, 1.35vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { position: relative; }
.media--hero { aspect-ratio: 4 / 5; }
.hero__badge {
  position: absolute; left: -48px; bottom: 56px;
  background: #fff; padding: 26px 30px; display: flex; gap: 18px; align-items: center;
  box-shadow: 0 30px 60px -20px rgba(30,40,75,.25);
}
.hero__badge-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--navy); white-space: nowrap; }
.hero__badge-txt { font-size: 13px; line-height: 1.45; color: var(--muted); }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--navy); animation: scrollHint 2.2s var(--ease) infinite; }
@keyframes scrollHint { to { top: 110%; } }

/* split-text hero animation */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.split.is-in .w > span { transform: translateY(0); }

/* ---------- Media placeholders ---------- */
.media {
  position: relative; margin: 0; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(30,40,75,.06), rgba(150,153,161,.18)),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(30,40,75,.03) 14px 15px),
    var(--mist);
}
.media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: 1; will-change: transform; }

/* clip reveal effect */
.clip-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); }
.clip-reveal.is-in { clip-path: inset(0 0 0 0); }
.clip-reveal img { transform: scale(1.18); transition: transform 2s var(--ease); }
.clip-reveal.is-in img { transform: scale(1); }

/* generic reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); color: var(--navy); white-space: nowrap; font-weight: 300; }
.marquee i { font-style: normal; color: var(--grey); font-size: 14px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro__statement { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 54px); line-height: 1.18; color: var(--navy); letter-spacing: -.01em; margin-bottom: 90px; }
.scrub-text .sw { opacity: .14; transition: opacity .3s linear; }
.scrub-text .sw.on { opacity: 1; }
.intro__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 32px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__num { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 52px); line-height: 1; color: var(--navy); }
.fact__txt { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.section-head { max-width: 820px; margin-bottom: 72px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; display: flex; flex-direction: column;
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 40px 80px -30px rgba(30,40,75,.28); }
.card__media { aspect-ratio: 4 / 3; }
.card__media img { inset: 0; height: 100%; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 34px 34px 40px; position: relative; flex: 1; }
.card__body p { color: var(--muted); font-size: 15px; margin: 0; }
.card__num { position: absolute; right: 30px; top: 30px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--grey); }
.card--cta { background: var(--navy); justify-content: flex-end; }
.card--cta .h3 { color: #fff; } .card--cta p { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.card--cta .card__num { color: rgba(255,255,255,.5); font-size: 22px; }
.card--cta .link-arrow { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Premium ---------- */
.premium__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.premium__visual { position: relative; padding-bottom: 90px; }
.media--tall { aspect-ratio: 4 / 5; width: 82%; }
.media--float { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 10px solid #fff; z-index: 2; }
.checklist { list-style: none; padding: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 26px 1fr; column-gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; grid-row: span 2; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist strong { font-weight: 600; color: var(--navy); font-size: 16px; }
.checklist span { color: var(--muted); font-size: 15px; }

/* ---------- Process (horizontal scroll) ---------- */
.process { position: relative; background: var(--navy); color: #fff; }
.process__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 64px; }
.process .eyebrow { color: rgba(255,255,255,.6); }
.process .h2 { color: #fff; margin: 0; } .process .h2 em { color: rgba(255,255,255,.55); }
.process__head { position: relative; }
.process__progress { margin-top: 40px; height: 1px; background: rgba(255,255,255,.15); position: relative; max-width: 420px; }
.process__progress span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.process__track { display: flex; gap: 28px; padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.step {
  width: clamp(280px, 26vw, 360px); flex-shrink: 0; padding: 40px 36px 44px;
  border: 1px solid rgba(255,255,255,.14); position: relative;
  transition: background .6s var(--ease), border-color .6s var(--ease);
}
.step:hover { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.35); }
.step__num { display: block; font-family: var(--serif); font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); margin-bottom: 40px; }
.step .h3 { color: #fff; }
.step p { color: rgba(255,255,255,.7); font-size: 15px; margin: 0; }

/* ---------- Valuation ---------- */
.valuation { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; padding: clamp(110px, 14vw, 200px) 0; }
.valuation__bg { position: absolute; inset: 0; }
.valuation__bg img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; opacity: .75; }
.valuation__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,53,.88) 0%, rgba(20,27,53,.5) 55%, rgba(20,27,53,.15) 100%); }
.valuation__inner { position: relative; z-index: 1; }
.valuation .lead { margin-bottom: 44px; }
.valuation__note { margin-top: 56px; max-width: 520px; font-size: 14px; color: rgba(255,255,255,.55); border-left: 1px solid rgba(255,255,255,.25); padding-left: 18px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 8vw, 130px); align-items: center; }
.about__visual { position: relative; }
.about__frame { position: absolute; left: -28px; top: 40px; right: 28px; bottom: -28px; border: 1px solid var(--grey-light); z-index: 0; }
.about__photo {
  position: relative; z-index: 1; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(180deg, var(--mist) 0%, #E9EAEF 100%);
}
.about__photo img { position: absolute; bottom: 0; left: 50%; width: 92%; height: auto; transform: translateX(-50%) scale(1.08); transition: transform 2s var(--ease); }
.about__photo.is-in img { transform: translateX(-50%) scale(1); }
.about__tag { position: absolute; right: -24px; bottom: 48px; z-index: 2; background: var(--navy); color: #fff; padding: 20px 26px; display: flex; flex-direction: column; }
.about__tag strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.about__tag span { font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.7); margin-top: 4px; }
.about__text > p { color: var(--muted); font-size: 17px; }
.quote { margin: 40px 0; padding: 0 0 0 28px; border-left: 2px solid var(--navy); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; color: var(--navy); }
.partner, .network { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
.partner p { color: var(--muted); font-size: 15px; margin: 0; }
.partner strong { color: var(--navy); font-weight: 600; }
.partner__label, .footer__label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); transition: background .4s, color .4s, border-color .4s; }
.tags li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- References ---------- */
.refs { background: var(--mist); }
.refs__intro { max-width: 420px; color: var(--muted); margin: 0 0 32px; }
.refs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.ref__media { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.ref__media img { inset: 0; height: 100%; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(.85); }
.ref:hover .ref__media img { transform: scale(1.05); filter: saturate(1); }
.ref__badge { position: absolute; z-index: 2; left: 16px; top: 16px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 7px 12px; }
.ref__badge--alt { background: var(--navy); color: #fff; }
.ref__title { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 6px; }
.ref__meta { font-size: 14px; color: var(--grey); margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 130px); }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 32px; margin-top: 48px; border-top: 1px solid var(--line); }
.office p { margin: 0; color: var(--muted); }

.contact__cards { display: flex; flex-direction: column; gap: 14px; align-self: end; }
.ccard {
  position: relative; display: block; padding: 30px 80px 30px 34px; border: 1px solid var(--line); background: #fff;
  overflow: hidden; isolation: isolate; transition: border-color .5s var(--ease), color .5s var(--ease);
}
.ccard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.ccard:hover::before { transform: scaleX(1); }
.ccard:hover { border-color: var(--navy); }
.ccard .partner__label { margin-bottom: 6px; transition: color .5s var(--ease); }
.ccard__value { display: block; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--navy); transition: color .5s var(--ease); }
.ccard__value--mail { font-size: clamp(22px, 2.1vw, 30px); overflow-wrap: anywhere; }
.ccard__arrow { position: absolute; right: 32px; top: 50%; translate: 0 -50%; font-size: 22px; color: var(--grey); transition: transform .5s var(--ease), color .5s var(--ease); }
.ccard:hover .ccard__value, .ccard:hover .ccard__arrow { color: #fff; }
.ccard:hover .partner__label { color: rgba(255,255,255,.6); }
.ccard:hover .ccard__arrow { transform: translateX(6px); }
.contact__hint { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: clamp(80px, 10vw, 130px) 0 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 80px; border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.footer__claim { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 84px); line-height: 1; color: #fff; margin: 0; letter-spacing: -.02em; }
.footer__claim em { color: rgba(255,255,255,.5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0; }
.footer__logo { width: 190px; height: auto; }
.footer__grid a, .footer__grid p { display: block; font-size: 14px; margin: 0 0 8px; transition: color .3s; }
.footer__grid a:hover { color: #fff; }
.footer__label { color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.footer__bottom nav { display: flex; gap: 28px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 80px) 0 120px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(48px, 6vw, 84px); line-height: 1; margin-bottom: 56px; letter-spacing: -.02em; }
.legal h2 { font-size: 28px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.legal .note { background: var(--mist); border-left: 2px solid var(--navy); padding: 18px 22px; font-size: 14px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 100px; }
.notfound__title { font-size: clamp(52px, 7.6vw, 110px); line-height: 1; letter-spacing: -.025em; margin-bottom: 32px; }
.notfound .lead { margin-bottom: 44px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__cta { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .nav { display: none; }
  .burger { display: block; }
  .logo img { height: 50px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero__grid, .premium__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 16px; bottom: -28px; }
  .media--hero { aspect-ratio: 4 / 3.6; }
  .scroll-hint { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 0; }
  .intro__facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact { padding-bottom: 28px; }
  .services__grid, .refs__grid { grid-template-columns: 1fr 1fr; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .about__visual { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* process falls back to vertical list */
  .process__sticky { position: static; height: auto; padding: 100px 0; gap: 48px; }
  .process__track { flex-direction: column; width: auto; padding: 0 var(--gutter); transform: none !important; }
  .step { width: auto; }
  .step__num { font-size: 52px; margin-bottom: 20px; }
  .process__progress { display: none; }
}
@media (max-width: 640px) {
  .services__grid, .refs__grid, .offices, .footer__grid { grid-template-columns: 1fr; }
  .ccard { padding: 24px 56px 24px 22px; }
  .ccard__arrow { right: 20px; }
  .intro__facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 24px 0; }
  .about__tag { right: 0; }
  .hero__badge { right: 16px; padding: 18px 20px; gap: 14px; }
  .hero__badge-num { font-size: 34px; }
  .about__frame { left: -12px; right: 12px; bottom: -12px; }
  .hero__actions .btn { width: 100%; }
  .media--tall { width: 100%; }
  .media--float { width: 56%; right: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .clip-reveal, .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}
