:root {
  --yellow: #ffb400;
  --cyan: #39a9d6;
  --ink: #2a2a2a;
  --muted: #666;
  --paper: #f5f5f5;
  --white: #fff;
  --max: 1080px;
  --header: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--muted);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #087fae; outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .7rem 1rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header);
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / 5%);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 78px; height: 50px; object-fit: contain; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--cyan); font-size: 1.75rem; cursor: pointer; }
.site-nav { margin-left: auto; order: 1; }
.search-toggle { order: 2; margin-left: 20px; border: 0; background: transparent; color: #555; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.nav-toggle { order: 3; }
.nav-list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-list a { text-decoration: none; color: #555; font-size: 14px; font-weight: 700; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--cyan); }
.search-dialog { width: min(650px, calc(100% - 32px)); border: 0; padding: 0; box-shadow: 0 18px 70px rgb(0 0 0 / 35%); }
.search-dialog::backdrop { background: rgb(0 0 0 / 70%); }
.search-inner { padding: 32px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-head h2 { margin: 0; }
.search-close { border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
.search-input { width: 100%; margin: 24px 0; padding: 14px 16px; border: 2px solid #999; }
.search-results { margin: 0; padding-left: 1.25rem; }
.search-results li { margin: 12px 0; }
.search-results a { color: #087fae; font-weight: 700; }

.hero, .page-hero, .project-cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  background-position: center;
  background-size: cover;
}
.hero::before, .page-hero::before, .project-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(35 35 35 / 78%); }
.hero { min-height: 650px; padding: 120px 0 90px; text-align: center; background-image: url("../images/planning-3536753_1920.jpg"); }
.hero-content { max-width: 820px; margin-inline: auto; }
.eyebrow { display: block; width: 50px; height: 5px; margin: 0 auto 35px; background: var(--yellow); }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); line-height: 1.2; font-weight: 800; }
.hero h1 { margin-bottom: 25px; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.hero-copy { margin: 0 auto 40px; font-size: 21px; line-height: 1.65; }
.button { display: inline-block; padding: 15px 25px; border: 3px solid var(--yellow); color: var(--yellow); background: transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .25em; font-weight: 800; transition: .2s ease; cursor: pointer; }
.button:hover { color: #222; background: var(--yellow); }
.button.solid { color: #fff; background: var(--yellow); }
.button.solid:hover { background: #e8a400; border-color: #e8a400; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 55px; }
.video-grid video { width: 100%; aspect-ratio: 16/9; background: #111; object-fit: cover; }

.services-strip { padding: 70px 0; background: #fff; }
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.icon-card img { width: 72px; height: 72px; margin: 0 auto 20px; object-fit: contain; }
.icon-card h2 { font-size: 18px; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 70px; text-align: center; }
.value-card { padding-top: 24px; border-top: 1px solid #e4e4e4; }
.value-card::before { content: "✓"; display: block; margin-bottom: 12px; color: var(--yellow); font-size: 28px; font-weight: 800; }
.value-card h3 { font-size: 18px; }

.quality-section { display: grid; grid-template-columns: 35% 65%; min-height: 600px; background: #f5f5f5; }
.yellow-panel { background: var(--yellow); }
.quality-content { align-self: center; padding: 80px max(7vw, 50px); }
.quality-content h2 { max-width: 660px; font-size: clamp(2rem, 4vw, 3rem); }
.short-rule { width: 50px; height: 5px; margin: 42px 0; background: var(--yellow); }
.consultation { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin: 75px -max(7vw, 50px) -80px; padding: 35px max(7vw, 50px); color: #fff; background: #272727; }
.consultation h3 { margin: 0; color: #fff; font-size: 29px; }

.project-cta { min-height: 660px; display: grid; place-items: center; padding: 80px 24px; text-align: center; background-image: url("../images/construction-34.jpg"); }
.project-cta h2 { max-width: 800px; margin-bottom: 50px; color: #fff; font-size: clamp(2.5rem, 5vw, 4rem); }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; }
.contact-form-wrap { padding: 85px max(6vw, 45px); background: var(--yellow); }
.contact-details { padding: 85px max(6vw, 45px); background: #fff; }
.contact-split h2 { font-size: 38px; }
.contact-form { max-width: 560px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label:not(.consent-label):not(.hp-field) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width: 100%; margin-bottom: 12px; border: 2px solid transparent; padding: 17px; color: #333; background: #fff;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #087fae; outline: 0; }
.consent-title { margin: 5px 0; font-size: 14px; font-weight: 800; }
.consent-label { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; font-size: 14px; line-height: 1.65; }
.consent-label input { width: 20px; height: 20px; margin-top: 3px; }
.form-actions { margin-top: 22px; text-align: right; }
.form-actions .button { color: #fff; border-color: #fff; }
.form-actions .button:hover { color: #222; background: #fff; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-message { display: none; margin: 0 0 18px; padding: 12px 15px; color: #172117; background: #e9ffe9; border-left: 4px solid #237523; }
.form-message.error { color: #581313; background: #fff1f1; border-color: #a52525; }
.detail-list { max-width: 600px; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; margin-bottom: 30px; color: #333; }
.detail-icon { color: #666; font-weight: 800; }

.page-hero { min-height: 535px; display: flex; align-items: center; background-image: var(--hero-image); }
.page-hero .hero-inner { max-width: 760px; }
.page-hero h1 { margin-bottom: 24px; padding-left: 22px; border-left: 10px solid var(--yellow); color: #fff; font-size: clamp(2.6rem, 5vw, 4rem); }
.page-hero p { margin: 0; color: #fff; font-size: 21px; }

.service-list { padding: 85px 0; }
.service-item { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.service-item:nth-child(even) .service-image { order: 2; }
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-copy { align-self: center; padding: 55px 70px; }
.service-copy h2 { font-size: 32px; }

.gallery-section { padding: 75px 0 110px; background: #f6f6f6; }
.gallery-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.gallery-group h2 { font-size: 27px; font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; }
.gallery-item { border: 0; padding: 0; background: #ddd; cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; aspect-ratio: 4/2.84; object-fit: cover; }
.pagination { display: flex; justify-content: flex-end; gap: 18px; margin-top: 45px; padding-top: 12px; border-top: 1px solid #ddd; }
.pagination button { border: 0; color: #888; background: transparent; cursor: pointer; }
.pagination button[aria-current="page"] { color: var(--cyan); font-weight: 700; }

.lightbox { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 30px; background: rgb(0 0 0 / 90%); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1100px, 86vw); max-height: 80vh; object-fit: contain; }
.lightbox button { position: absolute; border: 0; color: #fff; background: transparent; font-size: 3rem; cursor: pointer; }
.lightbox-close { top: 15px; right: 25px; }
.lightbox-prev { left: 25px; top: 48%; }
.lightbox-next { right: 25px; top: 48%; }
.lightbox-caption { color: #fff; margin-top: 12px; text-align: center; }

.legal-content { padding: 75px 0 100px; overflow-wrap: anywhere; }
.legal-content .container { max-width: 900px; }
.legal-content h2 { margin-top: 44px; font-size: 29px; }
.legal-content h3 { margin-top: 30px; font-size: 22px; }
.legal-content a { color: #147da6; }
.legal-notice { padding: 18px 22px; border-left: 5px solid var(--yellow); background: #fff8df; }

.site-footer { padding: 24px; color: #aaa; background: #171717; text-align: center; font-size: 14px; }
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: var(--header) 0 auto; display: none; background: #fff; box-shadow: 0 8px 20px rgb(0 0 0 / 15%); }
  .search-toggle { margin-left: auto; }
  .site-nav.open { display: block; }
  .nav-list { display: block; padding: 8px 24px 18px; }
  .nav-list a { display: block; padding: 11px 0; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .quality-section { grid-template-columns: 1fr; }
  .yellow-panel { min-height: 280px; }
  .quality-content { padding: 70px 40px; }
  .consultation { margin: 65px -40px -70px; padding: 35px 40px; }
  .contact-split { grid-template-columns: 1fr; }
  .gallery-columns { grid-template-columns: 1fr; }
  .service-copy { padding: 45px; }
}

@media (max-width: 620px) {
  :root { --header: 80px; }
  .container { width: min(100% - 48px, var(--max)); }
  .hero { min-height: 1040px; padding: 80px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero-copy { font-size: 19px; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 60px; }
  .services-strip { padding: 90px 0; }
  .icon-grid { grid-template-columns: 1fr; gap: 48px; }
  .yellow-panel { min-height: 345px; }
  .quality-content { padding: 90px 40px; }
  .quality-content h2 { font-size: 2.25rem; }
  .consultation { display: block; margin-top: 80px; padding: 45px 30px; }
  .consultation .button { margin-top: 55px; }
  .project-cta { min-height: 660px; }
  .project-cta h2 { font-size: 2rem; }
  .contact-form-wrap, .contact-details { padding: 75px 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions { text-align: right; }
  .page-hero { min-height: 500px; }
  .page-hero h1 { font-size: 2.3rem; overflow-wrap: anywhere; hyphens: auto; }
  .page-hero p { font-size: 18px; }
  .service-list { padding: 55px 0; }
  .service-item { grid-template-columns: 1fr; margin-bottom: 36px; }
  .service-item:nth-child(even) .service-image { order: 0; }
  .service-image img { min-height: 260px; }
  .service-copy { padding: 35px 24px; }
  .gallery-grid { gap: 20px; }
  .lightbox { padding: 12px; }
  .lightbox-prev { left: 2px; }
  .lightbox-next { right: 2px; }
  .legal-content { padding: 55px 0 75px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Modernisierte Gestaltung – Aufbau und Inhaltsstruktur bleiben unverändert. */
:root {
  --yellow: #f2ad00;
  --yellow-dark: #d99500;
  --cyan: #1388a8;
  --cyan-dark: #086d89;
  --ink: #172126;
  --muted: #566169;
  --paper: #f4f3ef;
  --paper-warm: #faf9f6;
  --white: #fff;
  --line: #dedfdc;
  --shadow-sm: 0 10px 30px rgb(23 33 38 / 8%);
  --shadow-md: 0 22px 55px rgb(23 33 38 / 14%);
  --radius: 18px;
  --max: 1180px;
  --header: 88px;
}

body {
  color: var(--muted);
  background: var(--paper-warm);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--ink); background: rgb(242 173 0 / 40%); }
a { text-underline-offset: .2em; }
.container { width: min(var(--max), calc(100% - 64px)); }

.site-header {
  height: var(--header);
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid rgb(23 33 38 / 7%);
  box-shadow: 0 8px 30px rgb(23 33 38 / 5%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { width: 86px; height: 55px; }
.nav-list { gap: 8px; }
.nav-list a {
  display: block;
  padding: 10px 13px;
  border-radius: 999px;
  color: #465057;
  font-size: 13px;
  letter-spacing: .015em;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.nav-list a:hover { color: var(--cyan-dark); background: rgb(19 136 168 / 8%); }
.nav-list a[aria-current="page"] { color: #fff; background: var(--cyan-dark); }
.search-toggle,
.nav-toggle {
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  transition: color .2s ease, background-color .2s ease;
}
.search-toggle { display: grid; }
.nav-toggle { display: none; }
.search-toggle { margin-left: 12px; color: var(--ink); }
.search-toggle:hover,
.nav-toggle:hover { color: var(--cyan-dark); background: rgb(19 136 168 / 10%); }

.hero::before,
.page-hero::before,
.project-cta::before {
  background: linear-gradient(115deg, rgb(13 22 27 / 88%), rgb(13 22 27 / 61%));
}
.hero {
  min-height: 700px;
  padding: 110px 0 90px;
  background-position: center 44%;
}
.hero-content { max-width: 920px; }
.eyebrow { width: 64px; height: 4px; margin-bottom: 28px; border-radius: 99px; }
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-copy {
  max-width: 800px;
  margin-bottom: 36px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  text-wrap: pretty;
}
.button {
  min-height: 50px;
  padding: 13px 24px;
  border-width: 2px;
  border-radius: 8px;
  letter-spacing: .16em;
  font-size: 14px;
  box-shadow: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(23 33 38 / 18%); }
.button.solid { color: #172126; }
.button.solid:hover { background: #ffc227; border-color: #ffc227; }
.video-grid { gap: 26px; margin-top: 64px; }
.video-grid video {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  box-shadow: 0 24px 55px rgb(0 0 0 / 30%);
}

.services-strip { padding: 88px 0 94px; background: var(--paper-warm); }
.icon-grid { gap: 22px; }
.icon-card {
  min-height: 195px;
  padding: 30px 18px 24px;
  border: 1px solid rgb(23 33 38 / 7%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.icon-card:hover { transform: translateY(-5px); border-color: rgb(19 136 168 / 25%); box-shadow: var(--shadow-md); }
.icon-card img { width: 68px; height: 68px; margin-bottom: 18px; }
.icon-card h2 { margin-bottom: 0; font-size: 17px; }
.values-row { gap: 22px; margin-top: 56px; }
.value-card { padding: 25px 18px 0; border-top: 1px solid var(--line); }
.value-card::before {
  display: grid;
  width: 42px;
  height: 42px;
  margin: -47px auto 16px;
  place-items: center;
  border: 7px solid var(--paper-warm);
  border-radius: 50%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 19px;
}
.value-card h3 { margin-bottom: 0; font-size: 17px; }

.quality-section { grid-template-columns: 40% 60%; min-height: 620px; background: var(--paper); }
.yellow-panel {
  position: relative;
  overflow: hidden;
  background-color: var(--yellow);
  background-image:
    linear-gradient(rgb(255 255 255 / 17%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 17%) 1px, transparent 1px),
    linear-gradient(135deg, #ffc229, var(--yellow-dark));
  background-size: 42px 42px, 42px 42px, auto;
}
.yellow-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -72px;
  bottom: -72px;
  border: 42px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
}
.quality-content { padding: 88px max(7vw, 64px); }
.quality-content h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); letter-spacing: -.035em; text-wrap: balance; }
.quality-content > p { max-width: 720px; font-size: 18px; }
.short-rule { height: 4px; margin: 34px 0; border-radius: 99px; }
.consultation {
  margin-top: 72px;
  padding-block: 32px;
  background: var(--ink);
  box-shadow: 0 -12px 40px rgb(23 33 38 / 9%);
}
.consultation h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.project-cta { min-height: 620px; background-position: center 52%; }
.project-cta > div { max-width: 920px; }
.project-cta h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); letter-spacing: -.04em; text-wrap: balance; }

.contact-split { background: #fff; }
.contact-form-wrap,
.contact-details { padding: 92px max(6vw, 54px); }
.contact-form-wrap { background: linear-gradient(145deg, #ffc42e, var(--yellow)); }
.contact-split h2 { font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.03em; }
.contact-form { max-width: 620px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  margin-bottom: 14px;
  border: 1px solid rgb(23 33 38 / 12%);
  border-radius: 9px;
  padding: 16px 17px;
  box-shadow: 0 7px 22px rgb(23 33 38 / 7%);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #667076; opacity: 1; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--cyan-dark); box-shadow: 0 0 0 4px rgb(8 109 137 / 16%); }
.consent-label a { font-weight: 700; }
.detail-list { margin-block: auto; }
.detail-list li {
  align-items: start;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-warm);
}
.detail-list a { color: var(--cyan-dark); font-weight: 700; }
.detail-icon { color: var(--yellow-dark); font-size: 18px; }

.page-hero { min-height: 500px; background-position: center; }
.page-hero .hero-inner { max-width: 850px; }
.page-hero h1 {
  margin-bottom: 22px;
  padding-left: 24px;
  border-left-width: 7px;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.page-hero p { max-width: 760px; color: rgb(255 255 255 / 88%); font-size: clamp(1.05rem, 2vw, 1.3rem); }

.service-list { padding: 96px 0; background: var(--paper-warm); }
.service-item {
  min-height: 390px;
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid rgb(23 33 38 / 7%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.service-image { min-height: 320px; overflow: hidden; }
.service-image img { transition: transform .5s ease; }
.service-item:hover .service-image img { transform: scale(1.025); }
.service-copy { padding: 60px 68px; }
.service-copy h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.025em; }
.service-copy p { font-size: 18px; }

.gallery-section { padding: 88px 0 112px; background: var(--paper); }
.gallery-columns { gap: 54px; }
.gallery-group {
  padding: 28px;
  border: 1px solid rgb(23 33 38 / 7%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.gallery-group h2 { font-size: 25px; font-weight: 700; }
.gallery-grid { gap: 18px; }
.gallery-item { overflow: hidden; border-radius: 11px; box-shadow: 0 7px 20px rgb(23 33 38 / 10%); }
.gallery-item img { transition: transform .35s ease, filter .35s ease; }
.gallery-item:hover img { transform: scale(1.04); filter: saturate(1.08); }
.pagination { align-items: center; gap: 8px; margin-top: 28px; }
.pagination button { min-width: 44px; min-height: 44px; border-radius: 50%; }
.pagination button:hover { background: var(--paper); }
.pagination button[aria-current="page"] { color: #fff; background: var(--cyan-dark); }
.lightbox { background: rgb(7 11 13 / 94%); backdrop-filter: blur(8px); }
.lightbox img { border-radius: 10px; box-shadow: 0 25px 75px rgb(0 0 0 / 45%); }
.lightbox button { display: grid; min-width: 52px; min-height: 52px; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 9%); }

.legal-content { padding: 88px 0 110px; background: var(--paper-warm); }
.legal-content .container {
  max-width: 940px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgb(23 33 38 / 7%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal-content h2 { margin-top: 48px; font-size: clamp(1.55rem, 3vw, 2rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content a { color: var(--cyan-dark); font-weight: 600; }

.search-dialog { overflow: hidden; border-radius: var(--radius); }
.search-input { border: 1px solid var(--line); border-radius: 9px; }
.search-input:focus { border-color: var(--cyan-dark); outline: 3px solid rgb(8 109 137 / 15%); }
.site-footer { padding: 34px 24px; color: #bbc1c4; background: #111a1f; }
.site-footer a { text-decoration-color: rgb(255 255 255 / 35%); }

@media (max-width: 1050px) {
  .nav-list a { padding-inline: 9px; font-size: 12px; }
  .quality-content { padding-inline: 54px; }
  .consultation { margin-inline: -54px; padding-inline: 54px; }
  .service-copy { padding: 48px; }
}

@media (max-width: 900px) {
  :root { --header: 78px; }
  .container { width: min(var(--max), calc(100% - 48px)); }
  .logo img { width: 75px; height: 48px; }
  .nav-toggle { display: grid; margin-left: 6px; color: var(--ink); }
  .site-nav {
    inset: calc(var(--header) + 8px) 24px auto;
    overflow: hidden;
    border: 1px solid rgb(23 33 38 / 8%);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav-list { padding: 10px; }
  .nav-list a { padding: 13px 16px; border-radius: 8px; font-size: 15px; }
  .search-toggle { margin-left: auto; }
  .hero { min-height: auto; padding: 94px 0 78px; }
  .hero h1 { font-size: clamp(2.8rem, 9vw, 4.5rem); }
  .video-grid { margin-top: 52px; }
  .icon-grid { gap: 18px; }
  .quality-section { grid-template-columns: 1fr; min-height: auto; }
  .yellow-panel { min-height: 220px; }
  .quality-content { padding: 72px 48px; }
  .consultation { margin: 58px -48px -72px; padding: 30px 48px; }
  .project-cta { min-height: 540px; }
  .contact-form-wrap,
  .contact-details { padding: 72px 48px; }
  .contact-details { border-top: 1px solid var(--line); }
  .service-list { padding-block: 72px; }
  .service-item { min-height: 340px; }
  .service-copy { padding: 40px; }
  .gallery-columns { gap: 30px; }
}

@media (max-width: 680px) {
  :root { --header: 72px; --radius: 14px; }
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--max)); }
  .site-nav { inset: calc(var(--header) + 7px) 16px auto; }
  .search-toggle,
  .nav-toggle { width: 44px; height: 44px; }
  .hero { padding: 72px 0 56px; }
  .hero h1 {
    font-size: clamp(2.05rem, 8vw, 2.4rem);
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hero-copy { font-size: 1.02rem; line-height: 1.65; }
  .button { width: 100%; text-align: center; }
  .video-grid { gap: 18px; margin-top: 44px; }
  .services-strip { padding: 64px 0 72px; }
  .icon-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .icon-card { min-height: 168px; padding: 23px 12px 18px; }
  .icon-card img { width: 56px; height: 56px; }
  .icon-card h2 { font-size: 15px; overflow-wrap: anywhere; }
  .values-row { margin-top: 64px; }
  .value-card { padding-inline: 8px; }
  .yellow-panel { min-height: 160px; }
  .quality-content { padding: 60px 24px; }
  .quality-content h2 { font-size: 2.2rem; }
  .quality-content > p { font-size: 16px; }
  .consultation { margin: 50px -24px -60px; padding: 32px 24px; }
  .consultation .button { margin-top: 24px; }
  .project-cta { min-height: 500px; padding: 64px 20px; }
  .project-cta h2 { margin-bottom: 36px; font-size: 2.35rem; }
  .contact-form-wrap,
  .contact-details { padding: 58px 24px; }
  .contact-split h2 { font-size: 2.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions { text-align: left; }
  .detail-list li { padding: 17px 15px; grid-template-columns: 24px 1fr; gap: 12px; overflow-wrap: anywhere; }
  .page-hero { min-height: 390px; }
  .page-hero h1 { padding-left: 17px; font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .page-hero p { font-size: 1rem; line-height: 1.6; }
  .service-list { padding-block: 48px; }
  .service-item { grid-template-columns: 1fr; margin-bottom: 24px; }
  .service-item:nth-child(even) .service-image { order: 0; }
  .service-image { min-height: 230px; }
  .service-image img { min-height: 230px; }
  .service-copy { padding: 30px 24px 34px; }
  .service-copy h2 { font-size: 1.65rem; }
  .service-copy p { font-size: 16px; }
  .gallery-section { padding: 48px 0 70px; }
  .gallery-group { padding: 18px; }
  .gallery-grid { gap: 10px; }
  .gallery-group h2 { font-size: 21px; }
  .lightbox { padding: 10px; }
  .lightbox img { max-width: 92vw; max-height: 73vh; }
  .lightbox button { min-width: 46px; min-height: 46px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .legal-content { padding: 38px 0 65px; }
  .legal-content .container { width: min(100% - 24px, var(--max)); padding: 25px 20px; }
  .legal-content h2 { margin-top: 38px; }
  .search-inner { padding: 24px 20px; }
  .site-footer { padding: 30px 18px; line-height: 2; }
}

@media (max-width: 390px) {
  .icon-grid { grid-template-columns: 1fr; }
  .icon-card { min-height: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { aspect-ratio: 4 / 3; }
}

@media (hover: none) {
  .icon-card:hover,
  .button:hover { transform: none; }
  .service-item:hover .service-image img,
  .gallery-item:hover img { transform: none; }
}
