:root {
  --blue: #1a3a8c;
  --blue-dark: #10265d;
  --blue-pale: #eef3fb;
  --ink: #0f172a;
  --muted: #526174;
  --line: #dde5ef;
  --soft: #f7f9fc;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-width: 320px; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: .95rem clamp(1.25rem, 4vw, 4rem); background: rgba(255,255,255,0.94); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { width: min(1520px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 1rem; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-mark { width: 62px; height: 62px; display: block; flex: 0 0 auto; overflow: hidden; background: var(--white); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.brand-name { font-size: 0.98rem; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.brand-meta { color: var(--muted); font-size: 0.73rem; font-weight: 300; letter-spacing: 0.04em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 2.2rem); white-space: nowrap; }
.nav-links a { color: var(--muted); font-size: 0.85rem; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links .active, .nav-links [aria-current="page"] { color: var(--ink); }
.nav-links .contact-link { color: var(--blue); font-weight: 500; }
.menu-button, .close-menu { display: none; }
main { padding-top: 5rem; }
section { padding: clamp(2.75rem, 5vw, 4.75rem) clamp(1.25rem, 4vw, 4rem); }
section[id] { scroll-margin-top: 7.5rem; }
.section-inner { width: min(1200px, 100%); margin: 0 auto; }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); display: grid; grid-template-columns: .55fr 1fr; gap: 2rem; align-items: start; }
.section-kicker, .eyebrow { color: var(--blue); font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.section-title { max-width: 720px; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 300; line-height: 1.18; letter-spacing: 0; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border: 1px solid var(--blue); color: var(--blue); background: transparent; font-size: .86rem; font-weight: 500; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button.primary { background: var(--blue); color: var(--white); }
.button:hover, .button:focus-visible { transform: translateY(-1px); background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.hero { min-height: 88vh; padding: 8.5rem clamp(1.25rem, 4vw, 4rem) 3rem; display: grid; align-items: end; position: relative; overflow: hidden; background: var(--soft); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.03); opacity: .76; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.68) 28%, rgba(255,255,255,.08) 54%, rgba(255,255,255,0) 76%), linear-gradient(0deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.1) 55%, rgba(255,255,255,.2) 100%); }
.hero-inner { width: min(1520px, 100%); margin: 0 auto; position: relative; z-index: 2; display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
.hero-stack { width: min(720px, 100%); display: grid; justify-items: start; }
.hero-copy { margin-top: .8rem; }
h1 { max-width: 680px; font-size: clamp(2.3rem, 5.2vw, 4.8rem); font-weight: 300; line-height: 1.04; letter-spacing: 0; }
.hero-text { margin-top: 1.45rem; max-width: 520px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.13rem); font-weight: 300; line-height: 1.85; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }
.since { color: var(--blue); font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 400; line-height: 1.2; opacity: .5; user-select: none; }
.hero-stats { width: min(620px, 100%); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; padding-top: clamp(1.25rem, 2vw, 1.75rem); border-top: 1px solid rgba(26, 58, 140, .16); }
.stat { text-align: center; }
.stat strong { display: block; color: var(--blue); font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: 0; }
.stat span { display: block; margin-top: .7rem; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.intro-text { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); background: var(--white); }
.intro-copy { max-width: 720px; margin-left: clamp(0px, 2vw, 2rem); margin-right: auto; }
.intro-copy p { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.12rem); font-weight: 300; line-height: 1.9; }
.intro-copy p + p { margin-top: 1.6rem; }
.projects, .team, .history-contact, .page-hero, .legal-page { background: var(--soft); }
.projects-intro { max-width: 860px; margin: 0 auto clamp(2rem, 3.5vw, 3rem); }
.projects-intro h2 { margin: .55rem 0 1rem; font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 300; line-height: 1.18; }
.projects-intro p:not(.section-kicker) { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.1rem); font-weight: 300; line-height: 1.75; }
.project-grid { width: min(1520px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.project { min-height: 460px; position: relative; overflow: hidden; background: var(--line); color: inherit; text-decoration: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.project:hover img { transform: scale(1.045); }
.project-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; color: var(--white); background: linear-gradient(0deg, rgba(15,23,42,.74), rgba(15,23,42,0)); }
.project-info span, .tile span, .growth-copy span, .history-timeline span { display: block; color: var(--blue); font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.project-info span { color: var(--white); opacity: .86; }
.project-info h3 { margin-top: .4rem; font-size: 1.02rem; font-weight: 500; }
.services-layout, .contact-layout, .history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 6.5rem); align-items: start; }
.services-section { position: relative; overflow: hidden; padding-top: clamp(1.75rem, 3vw, 3rem); background: var(--white); }
.services-section::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.94)), url("Mehrfamilienhäuser/Vogelperspektive.PNG") center / cover no-repeat; opacity: .95; }
.services-section > * { position: relative; z-index: 1; }
.services-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; margin-bottom: 2rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,243,251,.72)); }
.services-lead p { max-width: 820px; color: var(--blue-dark); font-size: 1rem; font-weight: 300; line-height: 1.85; }
.services-lead .button { white-space: nowrap; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-card { min-height: 300px; padding: clamp(1.45rem, 2.4vw, 2rem); background: var(--white); }
.service-card h3 { margin-bottom: .75rem; color: var(--ink); font-size: clamp(1.15rem, 1.35vw, 1.35rem); font-weight: 500; line-height: 1.2; }
.service-card p { color: var(--muted); font-size: .96rem; font-weight: 300; line-height: 1.75; }
.service-card ul { margin-top: 1.35rem; list-style: none; }
.service-card li { padding: .8rem 0; border-top: 1px solid var(--line); color: var(--blue-dark); font-size: .92rem; line-height: 1.45; }
.career-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 5rem); align-items: stretch; }
.career-copy { min-height: 100%; display: flex; flex-direction: column; }
.career-copy h2 { max-width: 480px; margin: .7rem 0 1rem; color: var(--blue-dark); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.18; text-transform: none; }
.career-copy p:not(.section-kicker) { max-width: 640px; margin-bottom: 2rem; color: var(--muted); font-size: 1rem; font-weight: 300; line-height: 1.85; }
.career-image { width: min(520px, 100%); flex: 1; min-height: 360px; margin-top: 1rem; border: 1px solid rgba(26,58,140,.16); background: var(--white); overflow: hidden; }
.career-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.career-grid { height: 100%; display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(26, 58, 140, .28); background: var(--line); }
.career-card { min-height: 245px; padding: clamp(1.4rem, 2.4vw, 2rem); background: rgba(255,255,255,.72); }
.career-card span { display: block; margin-bottom: 1rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.career-card h3 { max-width: 280px; margin-bottom: .9rem; color: var(--blue-dark); font-size: clamp(1.12rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.16; }
.career-card p { margin-bottom: .45rem; color: var(--muted); font-size: .96rem; font-weight: 300; line-height: 1.75; }
.career-card a { color: var(--blue); font-weight: 700; text-decoration: none; }
.career-card-wide { grid-column: 1 / -1; min-height: 170px; background: rgba(255,255,255,.72); }
.career-card-wide h3 { max-width: 520px; }
.service-list, .jobs { display: grid; border-top: 1px solid var(--line); }
.service, .job { padding: 1.45rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service h3, .job h3 { margin-bottom: .35rem; font-size: 1.02rem; font-weight: 500; }
.service p, .lead-copy p, .job p, .detail p, .detail a, .page-hero p, .intro p, .history-copy p, .history-timeline p, .history-contact p { color: var(--muted); font-size: .96rem; font-weight: 300; line-height: 1.85; }
.page-links { background: var(--white); }
.page-link-grid, .intro, .history-timeline { width: min(1200px, 100%); margin: 0 auto; display: grid; gap: 1px; background: var(--line); }
.page-link-grid { grid-template-columns: repeat(2, 1fr); }
.page-link, .intro article, .history-timeline article { padding: 2rem; background: var(--white); text-decoration: none; }
.page-link span { display: block; color: var(--blue); font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.page-link h3, .intro h2 { font-size: 1.25rem; font-weight: 500; margin-bottom: .5rem; }
.cinematic-section { padding-top: clamp(2.5rem, 4vw, 4rem); padding-bottom: clamp(1rem, 1.6vw, 1.5rem); background: var(--white); }
.cinematic-video { position: relative; width: min(1200px, 100%); margin: 0 auto; min-height: clamp(420px, 62vw, 720px); overflow: hidden; background: var(--ink); }
.cinematic-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.96) contrast(1.03); }
.cinematic-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.02) 28%, rgba(15,23,42,.35) 66%, rgba(15,23,42,.86) 100%); pointer-events: none; }
.cinematic-copy { position: absolute; left: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 4vw, 3rem); bottom: clamp(1.7rem, 4vw, 3.2rem); z-index: 1; max-width: 640px; color: var(--white); }
.cinematic-copy .section-kicker { margin-bottom: .8rem; color: rgba(255,255,255,.86); }
.cinematic-copy h2 { max-width: 520px; margin-bottom: .85rem; font-size: clamp(2rem, 4.2vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: 0; }
.cinematic-copy p:not(.section-kicker) { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.65; }
.contact { position: relative; overflow: hidden; background: var(--white); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 45%, rgba(255,255,255,.88) 100%), url("assets/logo-hero.png") center right / cover no-repeat; opacity: .97; }
.contact > * { position: relative; z-index: 1; }
.contact-details { display: grid; gap: 1.4rem; }
.detail { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.detail span { display: block; color: var(--blue); font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .45rem; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.privacy-check { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.privacy-check input { width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--blue); }
.field-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { min-height: 60vh; display: grid; align-items: center; }
.form-message-box { max-width: 680px; }
.form-message-box h1 { margin: .65rem 0 1rem; color: var(--ink); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1.1; }
.form-message-box p { color: var(--muted); font-size: 1.05rem; font-weight: 300; line-height: 1.75; }
.form-message-box .button { margin-top: 1.5rem; }
label { display: grid; gap: .45rem; color: var(--muted); font-size: .82rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: .95rem 1rem; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.submit { justify-self: start; }
.page-hero { padding-top: 8rem; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
.page-hero p:not(.eyebrow) { max-width: 680px; margin-top: 1.25rem; color: var(--muted); font-weight: 300; }
.references-page { width: min(calc(100% - 72px), 1640px); margin: 0 auto; padding-top: 4.25rem; }
.references-page > section { padding-left: 0; padding-right: 0; }
.references-hero { padding: clamp(1.8rem, 3vw, 2.8rem) 0 clamp(1.25rem, 2.5vw, 2rem); }
.references-hero h1 { max-width: 720px; margin-top: .6rem; color: var(--ink); font-size: clamp(1.9rem, 3.7vw, 3rem); font-weight: 300; line-height: 1.08; }
.references-hero p:not(.eyebrow) { max-width: 680px; margin-top: .9rem; color: var(--muted); font-size: 1rem; font-weight: 300; line-height: 1.65; }
.reference-tile,
.references-cta { border: 1px solid var(--line); background: rgba(255,255,255,.9); }
.reference-jump-nav { position: sticky; top: 6.25rem; z-index: 20; display: grid; gap: .25rem; max-width: 340px; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); padding: .95rem 0 .95rem 1.65rem; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reference-jump-nav::before { content: ""; position: absolute; left: .45rem; top: 1.25rem; bottom: 1.25rem; width: 1px; background: rgba(26,58,140,.24); }
.reference-jump-nav a { position: relative; display: block; padding: .35rem 0 .35rem .65rem; color: var(--blue-dark); font-size: .86rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.reference-jump-nav a::before { content: ""; position: absolute; left: -1.2rem; top: 50%; width: .82rem; height: 1px; background: rgba(26,58,140,.24); }
.reference-jump-nav a::after { content: ""; position: absolute; left: -1.28rem; top: 50%; width: .42rem; height: .42rem; border: 1px solid var(--blue); border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); }
.reference-jump-nav a:hover, .reference-jump-nav a:focus-visible { color: var(--blue); transform: translateX(2px); }
.reference-tile span { display: block; margin-bottom: .8rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.reference-tile p,
.references-cta p:not(.eyebrow) { color: var(--muted); font-size: .96rem; font-weight: 300; line-height: 1.75; }
.reference-category { scroll-margin-top: 10.75rem; padding-top: 0; padding-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.reference-category + .reference-category { border-top: 1px solid var(--line); padding-top: clamp(1.8rem, 3vw, 2.8rem); }
.reference-category-head { max-width: 760px; margin-bottom: 1.2rem; }
.reference-category-head h2 { margin: .45rem 0 .45rem; color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.16; }
.reference-category-head p:not(.eyebrow) { color: var(--muted); font-size: .98rem; font-weight: 300; line-height: 1.7; }
.reference-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 0; padding-top: 0; padding-bottom: 0; }
.reference-tile { overflow: hidden; }
.reference-image-link { display: block; overflow: hidden; cursor: zoom-in; text-decoration: none; }
.reference-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); transition: transform .65s ease, filter .65s ease; }
.reference-tile:hover img, .reference-image-link:focus-visible img { filter: saturate(1.04) contrast(1.04); transform: scale(1.035); }
.reference-tile div { min-height: 210px; padding: 1.5rem; }
.reference-tile h2 { min-height: 2.2em; margin-bottom: .75rem; color: var(--ink); font-size: clamp(1.05rem, 1.4vw, 1.28rem); font-weight: 500; line-height: 1.18; }
.references-page .references-cta { margin-bottom: 0; padding: clamp(2rem, 4vw, 3rem); background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,243,251,.78)); }
.references-cta h2 { max-width: 620px; margin: .8rem 0 1rem; font-size: clamp(1.55rem, 2.7vw, 2.3rem); font-weight: 300; line-height: 1.18; }
.references-cta .button { margin-top: 1.5rem; }
.reference-content { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.reference-content .reference-jump-nav { grid-column: 1; }
.reference-content .reference-category,
.reference-content .references-cta,
.reference-content .lightbox { grid-column: 2; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; gap: 1rem; padding: clamp(1rem, 3vw, 2rem); background: rgba(8, 14, 28, .88); }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.35); background: var(--white); }
.lightbox p { color: var(--white); font-size: .95rem; letter-spacing: .02em; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); color: var(--white); background: rgba(255,255,255,.08); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.45); color: var(--white); background: rgba(255,255,255,.08); font-size: 2rem; line-height: 1; cursor: pointer; z-index: 101; transition: background .2s; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }
.lightbox-open { overflow: hidden; }
.growth-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(238,243,251,.78)), linear-gradient(90deg, rgba(26,58,140,.035) 0 1px, transparent 1px 100%); background-size: auto, 34px 100%; }
.growth-copy h2, .history-contact h2 { max-width: 560px; margin: 1rem 0 1.2rem; font-size: clamp(1.55rem, 2.7vw, 2.3rem); font-weight: 300; line-height: 1.18; }
.growth-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: end; min-height: 330px; }
.growth-bar { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)), var(--blue); box-shadow: 0 18px 36px rgba(16,38,93,.2); }
.growth-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 100%), linear-gradient(180deg, rgba(255,255,255,.12) 0 1px, transparent 1px 100%); background-size: 28px 28px; opacity: .3; }
.growth-bar span { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; color: var(--white); font-size: .95rem; font-weight: 600; }
.foundation { height: 30%; background-color: #8793ad; } .rebuilding { height: 50%; background-color: #5d719d; } .company { height: 70%; background-color: #274b91; } .today { height: 96%; background-color: var(--blue); }
.history-timeline { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history-timeline article { min-height: 250px; }
.history-timeline h2 { margin: 1rem 0 .65rem; font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.history-page { padding-top: 5rem; }
.history-page > section { padding-left: clamp(1.25rem, 4vw, 4rem); padding-right: clamp(1.25rem, 4vw, 4rem); }
.history-hero { padding-top: clamp(4rem, 7vw, 6.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.history-hero .history-grid { grid-template-columns: minmax(150px, 220px) minmax(0, 680px); gap: clamp(1.25rem, 3vw, 2.5rem); }
.history-hero h1 { max-width: 620px; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.history-hero p { max-width: 640px; line-height: 1.7; }
.history-growth { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.history-growth .growth-panel { width: min(1200px, 100%); margin: 0 auto; align-items: start; padding: clamp(1rem, 2vw, 1.5rem); gap: clamp(1.25rem, 3vw, 2.2rem); }
.history-growth .growth-visual { align-self: start; min-height: 145px; }
.history-growth .growth-copy h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.history-steps { padding-top: 0; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.history-steps .history-timeline article { min-height: 150px; padding: 1.25rem; }
.history-contact { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.company-address { margin: .8rem 0 1rem; color: var(--ink); font-style: normal; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; line-height: 1.35; }
.company-address strong, .company-address span { display: block; }
.company-address strong { font-weight: 400; }
.legal-page { padding-top: 12rem; }
.legal-content { width: min(940px, 100%); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem); background: var(--white); border: 1px solid var(--line); }
.legal-content h1 { margin-bottom: 1.5rem; font-size: 2rem; font-weight: 400; line-height: 1.2; }
.legal-content h2, .legal-content h3 { margin: 2rem 0 .5rem; color: var(--ink); font-size: 1.1rem; font-weight: 500; }
.legal-content p, .legal-content li { max-width: 780px; margin-bottom: .8rem; color: var(--muted); font-size: .96rem; }
.legal-content ul { padding-left: 1.2rem; margin-bottom: .8rem; }
.legal-content strong { color: var(--ink); font-weight: 500; }
.legal-content a, .site-footer a { color: var(--blue); text-decoration: none; }
footer, .site-footer { padding: 2.5rem clamp(1.25rem, 4vw, 4rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; background: var(--white); }
.footer-inner, .site-footer p { width: min(1200px, 100%); margin: 0 auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 980px) { .brand-meta { display: none; } .brand-mark { width: 44px; height: 44px; } .nav-links { gap: .9rem; white-space: nowrap; } .section-head, .services-layout, .contact-layout, .history-grid, .growth-panel, .career-layout, .services-lead, .reference-content { grid-template-columns: 1fr; } .reference-content .reference-jump-nav, .reference-content .reference-category, .reference-content .references-cta, .reference-content .lightbox { grid-column: 1; } .reference-jump-nav { position: relative; top: auto; max-width: none; } .project-grid, .reference-grid, .history-timeline, .services-grid, .reference-board { grid-template-columns: repeat(2, 1fr); } .project { min-height: 360px; } }
@media (max-width: 700px) { .site-nav { position: static; } main, .legal-page, .references-page { padding-top: 0; } section[id] { scroll-margin-top: 1rem; } .nav-inner, .footer-inner { align-items: flex-start; flex-direction: column; } .nav-links { flex-wrap: wrap; white-space: normal; } .brand-name { white-space: normal; } .hero, .page-hero, .reference-hero { padding-top: 4rem; min-height: auto; } .hero-inner, .form-row, .page-link-grid, .project-grid, .reference-grid, .history-timeline, .growth-visual, .career-grid, .services-grid, .reference-board, .hero-stats { grid-template-columns: 1fr; } .career-image { flex: none; min-height: 0; } .career-image img { aspect-ratio: 1.25 / 1; height: auto; } .career-card-wide { grid-column: auto; } .project { min-height: 300px; } .hero-stats { gap: 1.4rem; } .services-lead .button { white-space: normal; } .reference-category { scroll-margin-top: 5rem; } .reference-tile div { min-height: auto; } .growth-visual { min-height: 0; } .growth-bar { height: 92px !important; } }
