/* DOHN Werbetechnik | Responsive, frameworkfreie Website. */
@charset "UTF-8";

:root {
  --ink: #171a18;
  --muted: #5a615b;
  --green: #b5d93b;
  --green-dark: #426019;
  --paper: #fff;
  --soft: #f3f4ef;
  --line: #dfe3d9;
  --width: 1360px;
  --gutter: clamp(20px, 4.4vw, 80px);
  --header: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
body, button, input, select, textarea { font-family: Arial, Helvetica, sans-serif; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font-size: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 3px solid #527a1a; outline-offset: 5px; }
::selection { background: var(--green); color: var(--ink); }
p, h1, h2, h3, h4, figure { margin: 0; }
p + p { margin-top: 1.2em; }
h1, h2, h3, h4 { line-height: 1.06; font-weight: 750; }
h1, h2 { letter-spacing: -.055em; }
h2 { font-size: clamp(36px, 4.2vw, 62px); }
h3 { font-size: clamp(25px, 2.15vw, 32px); letter-spacing: -.04em; }
h4 { font-size: 22px; letter-spacing: -.025em; }
ul { padding-left: 1.15em; }
[hidden] { display: none !important; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--width)); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 124px); }
.section-small { padding-block: 64px; }
.surface { background: var(--soft); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.eyebrow::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; background: var(--green-dark); }
.eyebrow + h1, .eyebrow + h2 { margin-top: 22px; }
.accent { color: var(--green-dark); }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; }
.icon { width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 200; padding: 10px 18px; background: var(--green); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.btn { display: inline-flex; min-height: 52px; justify-content: center; align-items: center; gap: 22px; padding: 13px 23px; border: 1px solid transparent; border-radius: 2px; background: var(--green); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.4; transition: background .2s, color .2s; }
.btn:hover { background: #a4c72a; }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: #343c31; }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { background: var(--soft); }
.text-link { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.5; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }

/* Navigation bleibt im Dokumentfluss; das Mobilmenü ist vollständig bedienbar. */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 19px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 132px; max-height: 55px; object-fit: contain; filter: brightness(0); }
.brand-divider { width: 1px; height: 29px; background: #d4d9d0; }
.brand-label { font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.main-nav > a, .nav-services > summary { display: flex; align-items: center; gap: 6px; padding-block: 12px; text-decoration: none; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.nav-services > summary::-webkit-details-marker { display: none; }
.main-nav > a:hover, .nav-services > summary:hover { color: var(--green-dark); }
.main-nav > .btn { padding: 12px 20px; }
.nav-services > summary .icon { width: 14px; height: 14px; flex-basis: 14px; }
.nav-services[open] > summary .icon { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(var(--header) - 1px); left: var(--gutter); right: var(--gutter); max-width: var(--width); margin-inline: auto; background: white; padding: 36px; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; border: 1px solid var(--line); box-shadow: 0 20px 30px #0000000b; }
.nav-dropdown p { font-size: 32px; line-height: 1.1; letter-spacing: -.04em; }
.nav-dropdown small { display: block; margin-top: 13px; color: var(--muted); }
.nav-service-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.nav-service-links a { display: flex; padding-block: 13px; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); font-size: 15px; text-decoration: none; }
.nav-service-links a:hover, .nav-service-links a[aria-current="page"] { color: var(--green-dark); }
.menu-toggle { display: none; }
.mobile-direct { display: none; }

/* Startseite */
.hero { padding-block: 52px 64px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: clamp(30px, 4.3vw, 68px); }
.hero-grid > *, .detail-grid > * { min-width: 0; }
.hero-copy { padding-block: clamp(22px, 3.7vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(44px, 4.25vw, 69px); line-height: 1.04; font-weight: 800; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero-copy > p:not(.eyebrow) { margin-top: 28px; max-width: 430px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.hero-visual { position: relative; min-height: 540px; overflow: hidden; background: #e4e8de; }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-photo-caption { position: absolute; inset: auto 22px 22px; display: flex; gap: 20px; align-items: center; justify-content: space-between; background: #fff; padding: 18px 20px; font-size: 12px; line-height: 1.5; }
.hero-photo-caption strong { display: block; font-size: 15px; }
.hero-photo-caption .icon { width: 30px; height: 30px; color: var(--green-dark); }
.hero-note { position: absolute; top: 0; right: 0; padding: 14px 19px; background: var(--green); font-size: 11px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; }
.expertise-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding-block: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.expertise-strip a { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; text-decoration: none; }
.expertise-strip a::before { content: "+"; color: var(--green-dark); font-size: 19px; font-weight: 400; }
.expertise-strip a:hover { color: var(--green-dark); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.section-heading > p { max-width: 360px; color: var(--muted); font-size: 16px; }
.section-heading h2 { max-width: 780px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 46px 28px; }
.service-card { min-width: 0; }
.service-image { display: block; overflow: hidden; background: #e2e5dc; aspect-ratio: 1.5; }
.service-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s; }
.service-image:hover img { transform: scale(1.035); }
.service-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 24px; }
.service-label > span { color: var(--muted); font-size: 12px; }
.service-label h3 a { text-decoration: none; }
.service-card p { color: var(--muted); font-size: 15px; margin-top: 16px; }
.service-card .text-link { margin-top: 20px; }
.project-highlight { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; background: var(--ink); color: white; }
.project-highlight > a { min-height: 430px; display: block; overflow: hidden; }
.project-highlight img { width: 100%; height: 100%; object-fit: cover; }
.project-highlight-copy { padding: clamp(32px, 4.7vw, 68px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.project-highlight .eyebrow::before { background: var(--green); }
.project-highlight h2 { font-size: clamp(33px,3.5vw,52px); }
.project-highlight-copy > p:not(.eyebrow) { color: #c3cac0; margin-top: 24px; font-size: 16px; }
.project-highlight .btn { margin-top: 28px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); }
.about-intro { position: sticky; top: calc(var(--header) + 36px); align-self: start; }
.about-copy { font-size: 16px; color: var(--muted); }
.about-copy h4 { display: none; }
.about-copy .text-link { margin-top: 24px; color: var(--ink); }
.facts { margin-top: 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 28px; }
.fact strong { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.05em; display: block; }
.fact span { color: var(--muted); font-size: 13px; margin-top: 10px; display: block; }
.partners { margin-top: 68px; padding-top: 36px; border-top: 1px solid var(--line); }
.partners > p { font-size: 12px; color: var(--muted); text-align: center; }
.partner-logos { display: grid; grid-template-columns: repeat(7,1fr); align-items: center; gap: 36px; margin-top: 28px; }
.partner-logos img { width: 100%; height: 45px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.cert-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.cert { padding: 28px; background: white; border: 1px solid var(--line); }
.cert-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.cert-icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--green-dark); }
.cert-top a { font-size: 11px; color: var(--muted); }
.cert h3 { font-size: 23px; }
.cert > p { margin-top: 16px; font-size: 15px; color: var(--muted); }
.cert .text-link { margin-top: 23px; }
.press-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.press { padding-top: 25px; border-top: 1px solid var(--line); }
.press small { font-size: 12px; color: var(--muted); }
.press h3 { margin-top: 20px; }
.press p { color: var(--muted); margin-top: 16px; font-size: 15px; }
.press .text-link { margin-top: 24px; }

/* Kontakt und Fußbereich */
.contact { background: var(--green); padding-block: 76px; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; }
.contact h2 { font-size: clamp(36px, 4.9vw, 70px); }
.contact .eyebrow::before { background: var(--ink); }
.contact-copy > p:not(.eyebrow) { margin-top: 23px; max-width: 520px; font-size: 16px; }
.contact-data { display: flex; flex-direction: column; gap: 16px; padding-left: 50px; border-left: 1px solid #171a1830; }
.contact-data > a { display: flex; align-items: center; gap: 16px; text-decoration: none; font-size: clamp(22px, 2.7vw, 36px); font-weight: 700; letter-spacing: -.04em; }
.contact-data > a:hover { text-decoration: underline; }
.contact-data small { margin-left: 38px; line-height: 1.6; }
.site-footer { background: var(--ink); color: #edf0e9; padding-block: 56px 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 55px; }
.footer-brand { width: 146px; max-height: 63px; object-fit: contain; margin-bottom: 24px; }
.site-footer address { color: #b2b9af; font-style: normal; font-size: 14px; }
.site-footer h3 { color: #aab3a5; text-transform: uppercase; font-size: 10px; letter-spacing: .14em; margin-bottom: 21px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-meta { margin-top: 55px; padding-top: 22px; border-top: 1px solid #ffffff23; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #abb2a8; font-size: 11px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 22px; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { color: white; }

/* Leistungsunterseiten */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); padding-block: 28px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .icon { width: 13px; height: 13px; flex-basis: 13px; }
.detail-hero { padding-bottom: 64px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.detail-hero h1 { font-size: clamp(45px, 5.2vw, 79px); overflow-wrap: anywhere; hyphens: manual; }
.detail-hero .lead { margin-top: 28px; color: var(--muted); font-size: 19px; }
.detail-hero figure { aspect-ratio: 1.18; background: var(--soft); }
.detail-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.detail-aside { align-self: start; position: sticky; top: calc(var(--header) + 30px); }
.detail-aside h2 { font-size: clamp(30px, 3.3vw, 48px); }
.detail-aside .text-link { margin-top: 28px; }
.prose { color: var(--muted); max-width: 760px; font-size: 16px; }
.prose h2 { font-size: 32px; margin: 36px 0 20px; color: var(--ink); }
.prose h3, .prose h4 { color: var(--ink); font-size: 22px; letter-spacing: -.025em; line-height: 1.3; margin: 35px 0 20px; }
.prose > :first-child { margin-top: 0; }
.prose li + li { margin-top: 13px; }
.prose li::marker { color: var(--green-dark); }
.prose ul { margin-block: 20px 28px; }
.prose a { color: var(--green-dark); overflow-wrap: anywhere; }
.detail-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 55px; }
.detail-strip img { aspect-ratio: 1.5; object-fit: cover; width: 100%; }
.other-services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; margin-top: 32px; }
.other-services a { padding-block: 19px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; font-weight: 700; }
.other-services a:hover { color: var(--green-dark); }

/* Referenzen: alle Bilder funktionieren ohne JavaScript als Bildlinks. */
.page-intro { padding-block: 32px 55px; }
.page-intro h1 { font-size: clamp(46px,6vw,88px); }
.page-intro .lead { margin-top: 25px; color: var(--muted); max-width: 660px; }
.gallery-page { padding-bottom: 90px; }
.filters { display: none; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.js .filters { display: flex; }
.filter { padding: 10px 16px; min-height: 44px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--muted); font-size: 13px; line-height: 1.4; }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.filter:hover { border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; }
.gallery-item { min-width: 0; }
.gallery-image { position: relative; display: block; overflow: hidden; aspect-ratio: 1.37; background: #e2e5dc; }
.gallery-image > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-image:hover > img { transform: scale(1.04); }
.gallery-image::after { content: "+"; position: absolute; bottom: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; background: white; color: var(--ink); border-radius: 50%; line-height: 1; font-size: 20px; }
.gallery-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 12px; color: var(--muted); }
.gallery-item figcaption span:first-child { font-weight: 700; color: var(--ink); }
.gallery-status { color: var(--muted); font-size: 12px; margin-top: 28px; }
.gallery-more { display: none; margin: 28px auto 0; }
.js .gallery-more:not([hidden]) { display: flex; }
.lightbox { position: fixed; inset: 0; padding: 0; border: 0; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100dvh; color: white; background: #111510f5; }
.lightbox::backdrop { background: #111510; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox-header { flex: 0 0 76px; display: flex; justify-content: space-between; align-items: center; padding-inline: 25px; gap: 20px; }
.lightbox-header h2 { font-size: 15px; letter-spacing: 0; line-height: 1.4; font-weight: 400; }
.lightbox-close, .lightbox-prev, .lightbox-next { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; background: #ffffff10; border: 1px solid #ffffff42; border-radius: 50%; color: white; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: #ffffff26; }
.lightbox-body { min-height: 0; flex: 1; display: grid; grid-template-columns: 65px minmax(0,1fr) 65px; align-items: center; gap: 15px; padding: 0 25px; }
.lightbox-body img { width: 100%; height: 100%; max-height: calc(100dvh - 145px); object-fit: contain; min-height: 0; }
.lightbox-caption { padding: 20px 30px; text-align: center; font-size: 13px; min-height: 65px; }
.lightbox :focus-visible { outline-color: var(--green); }

/* Janolaw: originale Dokumentklassen, keine inhaltlichen Eingriffe. */
.legal-layout { max-width: 920px; margin-inline: auto; padding-bottom: 100px; }
.legal-layout h1 { font-size: clamp(38px,5vw,68px); margin-bottom: 50px; }
.legal-prose { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-prose .janolaw-paragraph { margin-top: 30px; font-weight: 700; color: var(--ink); }
.legal-prose .janolaw-text, .legal-prose .janolaw-body { color: var(--muted); }
.legal-prose .janolaw-footer { margin-top: 35px; font-size: 13px; }
.legal-prose h2, .legal-prose h3, .legal-prose h4 { font-size: 23px; line-height: 1.35; margin-top: 32px; margin-bottom: 16px; letter-spacing: -.025em; }
.legal-prose ul { margin-block: 16px; }
.legal-pending { padding: 25px; background: var(--soft); border-left: 3px solid var(--green-dark); }
.not-found { min-height: 55vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { font-size: clamp(45px,6vw,80px); margin-block: 20px; }

@media (min-width: 1650px) { .hero-visual { min-height: 600px; } }
@media (max-width: 1180px) {
  .brand-label, .brand-divider { display: none; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: clamp(40px,4.5vw,57px); }
  .hero-visual { min-height: 480px; }
  .detail-grid { gap: 40px; }
}
@media (max-width: 960px) {
  :root { --header: 78px; }
  .brand-label, .brand-divider { display: block; }
  .brand img { width: 120px; max-height: 46px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 9px 0 9px 12px; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 700; }
  .menu-bars { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; }
  .menu-bars::before, .menu-bars::after, .menu-bars span { content: ""; width: 100%; height: 1.5px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-8px) rotate(-45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars span { opacity: 0; }
  .js .main-nav:not(.is-open) { display: none; }
  .main-nav { position: absolute; inset: calc(var(--header) - 1px) 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100dvh - var(--header)); overflow-y: auto; padding: 24px var(--gutter) 35px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px #00000012; }
  .main-nav > a, .nav-services > summary { padding-block: 14px; font-size: 19px; border-bottom: 1px solid var(--line); }
  .main-nav > .btn { margin-top: 22px; border: 0; padding-block: 16px; font-size: 14px; }
  .nav-services > summary { justify-content: space-between; }
  .nav-dropdown { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 14px 15px; }
  .nav-dropdown > div:first-child { display: none; }
  .nav-service-links { display: flex; flex-direction: column; gap: 0; }
  .nav-service-links a { font-size: 15px; padding-block: 12px; }
  .hero { padding-block: 35px 45px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(31px,4.15vw,43px); }
  .hero-copy { padding-block: 15px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; margin-top: 22px; }
  .hero-visual { min-height: 435px; }
  .hero .actions { gap: 20px; flex-direction: column; align-items: flex-start; }
  .hero-photo-caption { inset: auto 14px 14px; padding: 14px; }
  .hero-photo-caption .icon { display: none; }
  .hero-photo-caption strong { font-size: 13px; }
  .expertise-strip { justify-content: flex-start; gap: 10px 25px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 24px; }
  .section-heading > p { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 35px; }
  .project-highlight { grid-template-columns: 1.2fr 1fr; }
  .project-highlight > a { min-height: 380px; }
  .project-highlight-copy { padding: 30px; }
  .cert-grid { gap: 16px; }
  .cert { padding: 23px; }
  .cert h3 { font-size: 20px; }
  .cert-top { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 24px; }
  .contact-grid { gap: 35px; grid-template-columns: 1.1fr 1fr; }
  .contact-data { padding-left: 25px; }
  .contact-data > a { font-size: 25px; }
  .footer-grid { gap: 30px; }
  .detail-body { grid-template-columns: .7fr 1.3fr; gap: 40px; }
  .detail-hero h1 { font-size: 48px; }
  .detail-hero .lead { font-size: 17px; }
  .gallery-grid { gap: 18px; }
}
@media (max-width: 640px) {
  :root { --gutter: 22px; --header: 74px; }
  body { font-size: 16px; }
  h2 { font-size: 38px; }
  .section { padding-block: 65px; }
  .section-small { padding-block: 45px; }
  .brand { gap: 14px; }
  .brand img { width: 104px; }
  .brand-label { font-size: 9px; letter-spacing: .12em; }
  .brand-divider { height: 22px; }
  .menu-toggle > span:first-child { display: none; }
  .hero { padding-block: 28px 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(32px,8.3vw,52px); line-height: 1.06; letter-spacing: -.058em; }
  .hero h1 > span { white-space: normal; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .eyebrow + h1, .eyebrow + h2 { margin-top: 19px; }
  .hero-copy { padding: 0; }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; max-width: 440px; margin-top: 22px; }
  .hero .actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 25px; }
  .btn { min-height: 49px; padding: 13px 18px; font-size: 13px; gap: 17px; }
  .hero .text-link { font-size: 12px; gap: 8px; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 1.18; }
  .hero-photo-caption { padding: 12px 16px; font-size: 10px; }
  .hero-note { font-size: 9px; padding: 11px 14px; }
  .expertise-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; padding-block: 18px; }
  .expertise-strip a { font-size: 9px; letter-spacing: .055em; gap: 7px; }
  .expertise-strip a::before { font-size: 17px; }
  .section-heading { margin-bottom: 30px; gap: 20px; }
  .section-heading > p { font-size: 15px; }
  .service-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-image { aspect-ratio: 1.55; }
  .service-label { margin-top: 18px; }
  .service-label h3 { font-size: 27px; }
  .service-card p { margin-top: 11px; }
  .service-card .text-link { margin-top: 15px; }
  .project-highlight { grid-template-columns: 1fr; }
  .project-highlight > a { min-height: 0; aspect-ratio: 1.3; }
  .project-highlight-copy { padding: 34px 26px; }
  .project-highlight h2 { font-size: 38px; }
  .project-highlight-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-intro { position: static; }
  .facts { margin-top: 26px; padding-top: 23px; }
  .fact strong { font-size: 38px; }
  .partners { margin-top: 40px; padding-top: 28px; }
  .partner-logos { grid-template-columns: repeat(4,1fr); gap: 24px; }
  .partner-logos img { height: 32px; }
  .cert-grid { grid-template-columns: 1fr; gap: 18px; }
  .cert { padding: 27px; }
  .cert-top { flex-direction: row; align-items: center; }
  .cert h3 { font-size: 25px; }
  .press-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact { padding-block: 55px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact h2 { font-size: 42px; }
  .contact-copy > p:not(.eyebrow) { margin-top: 20px; font-size: 15px; }
  .contact-data { border-left: 0; border-top: 1px solid #171a1830; padding: 27px 0 0; gap: 12px; }
  .contact-data > a { font-size: 28px; }
  .contact-data small { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px 20px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .site-footer { padding-top: 40px; }
  .footer-brand { width: 130px; margin-bottom: 18px; }
  .footer-links a { font-size: 12px; }
  .footer-meta { margin-top: 38px; align-items: flex-start; flex-direction: column; gap: 15px; }
  .legal-links { gap: 21px; }
  .breadcrumbs { padding-block: 23px; font-size: 10px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-hero { padding-bottom: 38px; }
  .detail-hero h1 { font-size: clamp(38px,10vw,60px); }
  .detail-hero .lead { font-size: 17px; margin-top: 21px; }
  .detail-hero figure { aspect-ratio: 1.3; }
  .detail-body { grid-template-columns: 1fr; gap: 30px; }
  .detail-aside { position: static; }
  .detail-aside h2 { font-size: 34px; }
  .detail-aside .text-link { margin-top: 20px; }
  .detail-strip { gap: 10px; margin-top: 35px; grid-template-columns: 1fr; }
  .detail-strip img { aspect-ratio: 1.6; }
  .other-services { grid-template-columns: 1fr; margin-top: 22px; }
  .other-services a { font-size: 17px; padding-block: 16px; }
  .page-intro { padding-block: 20px 35px; }
  .page-intro h1 { font-size: 48px; }
  .page-intro .lead { font-size: 17px; margin-top: 22px; }
  .filters { gap: 7px; margin-bottom: 24px; }
  .filter { font-size: 11px; padding: 10px 12px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 13px; }
  .gallery-image { aspect-ratio: 1; }
  .gallery-image::after { width: 27px; height: 27px; bottom: 8px; right: 8px; font-size: 17px; }
  .gallery-item figcaption { font-size: 10px; line-height: 1.4; padding-top: 9px; flex-direction: column; align-items: flex-start; gap: 3px; }
  .lightbox-header { flex-basis: 65px; padding-inline: 17px; }
  .lightbox-header h2 { font-size: 13px; }
  .lightbox-body { padding: 0 12px; gap: 4px; grid-template-columns: 32px minmax(0,1fr) 32px; }
  .lightbox-prev, .lightbox-next { width: 32px; height: 40px; border-radius: 2px; }
  .lightbox-close { width: 40px; height: 40px; }
  .lightbox-body img { max-height: calc(100dvh - 140px); }
  .lightbox-caption { font-size: 12px; padding: 18px 22px; }
  .legal-layout { padding-bottom: 65px; }
  .legal-layout h1 { font-size: clamp(29px,8vw,43px); margin-bottom: 32px; overflow-wrap: anywhere; }
  .legal-prose { font-size: 15px; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: 52px; }
  .hero-copy > p:not(.eyebrow) { max-width: 520px; font-size: 17px; }
  .hero .actions { flex-direction: row; align-items: center; }
  .hero-visual { min-height: 0; aspect-ratio: 1.65; }
}
@media (max-width: 360px) {
  .brand-label, .brand-divider { display: none; }
  .header-inner { gap: 14px; }
}
@media (max-width: 960px) {
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 20px; }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .main-nav { position: static; width: 100%; max-height: none; box-shadow: none; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .contact, .filters, .gallery-more, .actions, .lightbox { display: none !important; }
  .section { padding-block: 24px; }
  .container { width: 100%; }
  .hero-grid, .detail-grid, .detail-body, .about-grid { display: block; }
  .hero-visual { height: 250px; min-height: 0; margin-top: 20px; }
  .detail-aside, .about-intro { position: static; }
  a { text-decoration: none; }
}
