:root {
  --bg: #0f1416;
  --bg-2: #171d20;
  --bg-3: #20272a;
  --text: #f4f6f6;
  --muted: #aab2b5;
  --line: rgba(255,255,255,.13);
  --surface: #ffffff;
  --surface-2: #f3f5f5;
  --ink: #151a1c;
  --ink-soft: #4d565a;
  --am-teal: #0097a7;
  --am-teal-2: #00b2c2;
  --am-teal-dark: #007685;
  --am-grey: #b9bfc2;
  --shadow: 0 24px 70px rgba(7,12,14,.24);
  --shadow-soft: 0 12px 36px rgba(12,22,25,.12);
  --radius: 18px;
  --radius-sm: 10px;
  --container: 1180px;
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 42px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 14px;
  z-index: 1000;
  background: var(--am-teal);
  color: white;
  padding: .8rem 1rem;
  border-radius: 8px;
}
.skip-link:focus { left: 14px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Header */
.site-topbar {
  background: #0b0f11;
  color: #dbe1e2;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .87rem;
}
.topbar-grid {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-link, .topbar-note { display: inline-flex; align-items: center; gap: 8px; color: #d9dedf; }
.topbar-link:hover { color: white; }
.ico { width: 16px; height: 16px; color: var(--am-teal-2); flex: 0 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(17, 23, 25, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 78px;
  align-items: center;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; min-width: 194px; }
.brand-logo {
  width: 205px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.24));
}
.main-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.main-nav a {
  position: relative;
  color: #e7ecec;
  padding: 1rem 1rem;
  font-weight: 720;
  font-size: .94rem;
  letter-spacing: .005em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .62rem;
  height: 2px;
  background: var(--am-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  background: var(--am-teal);
  color: white;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 12px 34px rgba(0,151,167,.22);
}
.header-cta:hover { background: var(--am-teal-2); }
.nav-toggle { display: none; border: 0; background: transparent; width: 46px; height: 46px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: white; margin: 6px 0; border-radius: 2px; }

/* Common */
.section-pad { padding: 94px 0; }
.section-pad-sm { padding: 66px 0; }
.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--am-teal);
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }
p { margin: 0; }
.lead { font-size: clamp(1.04rem, 1.5vw, 1.22rem); color: var(--ink-soft); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 50px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 880;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--am-teal); color: white; box-shadow: 0 16px 44px rgba(0,151,167,.25); }
.btn-primary:hover { background: var(--am-teal-2); }
.btn-outline { border-color: rgba(255,255,255,.32); color: white; background: rgba(255,255,255,.05); }
.btn-outline:hover { border-color: var(--am-teal-2); color: white; background: rgba(0,151,167,.12); }
.btn-dark { background: var(--bg); color: white; }
.btn-light { background: white; color: var(--ink); }
.section-head {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 28%, rgba(0,151,167,.22), transparent 34%),
    linear-gradient(135deg, #111719 0%, #1a2225 42%, #0d1112 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.9), transparent 92%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  min-height: calc(100vh - 116px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 52px;
  padding: 70px 0 58px;
}
.hero-copy { max-width: 660px; }
.hero h1 { max-width: 760px; }
.hero-lead {
  margin-top: 22px;
  max-width: 560px;
  color: #d9e0e1;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-facts {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
}
.hero-fact {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  border-radius: 14px;
  padding: 16px 18px;
}
.hero-fact strong { display: block; font-size: 1.15rem; }
.hero-fact span { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.hero-visual-wrap { position: relative; min-height: 545px; }
.scene-label {
  position: absolute;
  right: 4%;
  top: 7%;
  z-index: 3;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: white;
  background: rgba(12,18,20,.72);
  border: 1px solid rgba(255,255,255,.14);
  padding: 11px 14px;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  font-weight: 750;
  font-size: .88rem;
}
.scene-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--am-teal-2); box-shadow: 0 0 0 7px rgba(0,151,167,.16); }
.gate-scene {
  position: absolute;
  inset: 46px 0 22px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 18%),
    linear-gradient(135deg, #343b3e, #111719 58%, #0b0f10);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
  isolation: isolate;
}
.gate-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.58), transparent 40%, rgba(0,0,0,.2)),
    url('/assets/img/projekt-garagen-sektionaltor-nebentuer.jpg') center/cover;
  opacity: .32;
  filter: saturate(.75) contrast(1.05);
  z-index: -3;
}
.gate-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,.50)),
    repeating-linear-gradient(168deg, rgba(255,255,255,.08) 0 1px, transparent 1px 58px);
  z-index: -1;
}
.gate-building {
  position: absolute;
  left: 6%;
  top: 19%;
  width: 46%;
  height: 42%;
  background: linear-gradient(90deg, #20282b, #30383b);
  clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.gate-building::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 28%;
  height: 56%;
  background: linear-gradient(180deg, #7b8b92, #293236);
  box-shadow: 82px 0 0 rgba(255,255,255,.06), 164px 0 0 rgba(255,255,255,.04);
  opacity: .64;
}
.gate-building::after {
  content: "";
  position: absolute;
  right: 13%;
  top: 35%;
  width: 76px;
  height: 32px;
  border-radius: 3px;
  background: rgba(255,210,130,.8);
  filter: blur(.2px);
  box-shadow: 0 0 48px rgba(255,199,122,.28);
}
.concrete-post {
  position: absolute;
  top: 11%;
  bottom: 13%;
  width: 64px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), transparent),
    linear-gradient(180deg, #b9bec1, #6e777b);
  box-shadow: inset -9px 0 0 rgba(0,0,0,.18), 0 14px 40px rgba(0,0,0,.28);
  z-index: 2;
}
.concrete-post.left { left: 37%; }
.concrete-post.right { right: 7%; }
.concrete-post.right::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 30%;
  width: 22px;
  height: 70px;
  border-radius: 8px;
  background: #1e2628;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.gate-track {
  position: absolute;
  left: 34%;
  right: 4%;
  bottom: 17%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #262c2e, #939a9d, #1f2628);
  box-shadow: 0 5px 10px rgba(0,0,0,.42);
  z-index: 2;
}
.sliding-gate {
  position: absolute;
  right: 7%;
  top: 18%;
  width: 48%;
  height: 64%;
  z-index: 3;
  transform: translateX(-10%);
  animation: gateOpen 5.2s cubic-bezier(.72,0,.18,1) infinite alternate;
  border: 6px solid #252c2f;
  background:
    repeating-linear-gradient(90deg, #293133 0 9px, transparent 9px 33px),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 20px 54px rgba(0,0,0,.46), inset 0 0 0 1px rgba(255,255,255,.08);
}
.sliding-gate::before, .sliding-gate::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  height: 8px;
  background: #202628;
}
.sliding-gate::before { top: 22%; }
.sliding-gate::after { bottom: 22%; }
.gate-wheel {
  position: absolute;
  bottom: 14%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #151a1c;
  border: 3px solid #7a8589;
  z-index: 4;
}
.gate-wheel.w1 { right: 46%; animation: wheelOne 5.2s cubic-bezier(.72,0,.18,1) infinite alternate; }
.gate-wheel.w2 { right: 10%; animation: wheelTwo 5.2s cubic-bezier(.72,0,.18,1) infinite alternate; }
@keyframes gateOpen {
  0%, 15% { transform: translateX(0); }
  100% { transform: translateX(-34%); }
}
@keyframes wheelOne {
  0%, 15% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-145px) rotate(-420deg); }
}
@keyframes wheelTwo {
  0%, 15% { transform: translateX(0) rotate(0deg); }
  100% { transform: translateX(-145px) rotate(-420deg); }
}
.scene-card {
  position: absolute;
  left: -24px;
  bottom: 2px;
  width: min(330px, 60%);
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  z-index: 4;
}
.scene-card span { display: inline-block; color: var(--am-teal-dark); font-weight: 850; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.scene-card strong { display: block; font-size: 1.35rem; line-height: 1.08; }
.scene-card p { color: var(--ink-soft); margin-top: 8px; }

/* Value strip */
.value-strip {
  position: relative;
  margin-top: -1px;
  background: var(--surface);
  border-bottom: 1px solid #e3e7e8;
  box-shadow: 0 20px 80px rgba(0,0,0,.08);
}
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 30px 22px;
  border-right: 1px solid #e3e7e8;
}
.value-item:last-child { border-right: 0; }
.value-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #edf7f8;
  color: var(--am-teal);
}
.value-icon svg { width: 26px; height: 26px; }
.value-item h3 { font-size: 1rem; letter-spacing: -.02em; margin-bottom: 4px; }
.value-item p { color: var(--ink-soft); font-size: .94rem; }

/* Services */
.services { background: var(--surface-2); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service-card {
  min-height: 265px;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid #e1e6e7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(0,151,167,.32); box-shadow: 0 22px 56px rgba(14,28,31,.16); }
.service-card .image { height: 118px; background: #d5dbdd; overflow: hidden; }
.service-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform 450ms ease; }
.service-card:hover img { transform: scale(1.045); }
.service-card .content { padding: 18px 17px 16px; display: flex; flex: 1; flex-direction: column; }
.service-card h3 { font-size: 1.02rem; letter-spacing: -.03em; }
.service-card p { margin-top: 10px; color: var(--ink-soft); font-size: .91rem; }
.service-card span { margin-top: auto; color: var(--am-teal-dark); font-weight: 900; padding-top: 18px; }

/* Why / process */
.dark-feature {
  background: var(--bg);
  color: white;
  overflow: hidden;
}
.dark-feature-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: #dfe5e6; }
.check-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--am-teal);
  margin-top: 2px;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.16);
}
.dark-feature p { color: #b6c0c3; }
.feature-photo {
  position: relative;
  min-height: 545px;
  border-radius: 28px;
  overflow: hidden;
  background: #222;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.feature-photo img { width: 100%; height: 100%; min-height: 545px; object-fit: cover; filter: saturate(.84) contrast(1.05); }
.feature-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.65)); }
.feature-photo-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(12,18,20,.78);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.feature-photo-card strong { font-size: 1.1rem; }
.feature-photo-card span { color: var(--am-teal-2); font-weight: 900; }
.process { background: #fbfcfc; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card {
  position: relative;
  background: white;
  border: 1px solid #e4e9ea;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.process-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--am-teal); color: white; font-weight: 900; margin-bottom: 30px; }
.process-card h3 { font-size: 1.2rem; }
.process-card p { margin-top: 12px; color: var(--ink-soft); }

/* Projects */
.project-teaser { background: var(--surface-2); }
.project-grid { display: grid; grid-template-columns: 1.05fr .95fr .65fr; gap: 18px; align-items: stretch; }
.project-tile {
  min-height: 290px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  box-shadow: var(--shadow-soft);
}
.project-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.06); }
.project-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(10,15,16,.78);
  color: white;
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 790;
  border: 1px solid rgba(255,255,255,.13);
}
.project-card {
  border-radius: 22px;
  background: var(--bg);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}
.project-card p { color: #c6ced0; margin-top: 12px; }

/* CTA/contact */
.contact-band {
  background: linear-gradient(135deg, #111719, #1d2528 58%, #0f1416);
  color: white;
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr .95fr;
  gap: 58px;
  align-items: start;
}
.contact-grid p { color: #c6ced0; margin-top: 18px; font-size: 1.04rem; }
.contact-details { margin-top: 32px; display: grid; gap: 14px; }
.contact-details a, .contact-details span {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #eaf0f0;
}
.contact-form {
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: #e5eaeb; font-weight: 750; font-size: .9rem; }
.form-field input, .form-field textarea {
  width: 100%;
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--am-teal-2); box-shadow: 0 0 0 4px rgba(0,151,167,.14); }
.form-field textarea { min-height: 122px; resize: vertical; }
.form-note { color: #aeb8bb !important; font-size: .86rem !important; margin: 14px 0 0 !important; }

/* Galerie */
.page-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #111719, #20272a);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,15,16,.88), rgba(10,15,16,.5) 47%, rgba(10,15,16,.22)),
    url('/assets/img/projekt-industrieanlage-alurahmen.jpg') center/cover;
  filter: saturate(.82) contrast(1.05);
}
.page-hero-grid { position: relative; min-height: 390px; display: grid; align-items: center; padding: 76px 0; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.page-hero p:not(.eyebrow) { max-width: 620px; margin-top: 16px; color: #dce2e3; font-size: 1.14rem; }
.gallery-section { background: #f5f7f7; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn {
  border: 1px solid #d6dddd;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 770;
  transition: var(--transition);
}
.filter-btn.is-active, .filter-btn:hover { background: var(--am-teal); color: white; border-color: var(--am-teal); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-card {
  background: white;
  border: 1px solid #e0e7e8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}
.gallery-card.is-hidden { display: none; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 22px 56px rgba(14,28,31,.15); }
.gallery-card button { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.gallery-card .photo { height: 215px; overflow: hidden; background: #d9dee0; }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.wide .photo { height: 250px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); transition: transform 450ms ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card .caption { padding: 18px; }
.gallery-card h3 { font-size: 1.05rem; letter-spacing: -.025em; }
.gallery-card p { margin-top: 8px; color: var(--ink-soft); font-size: .92rem; }
.gallery-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--bg);
  color: white;
  padding: 26px;
  border-radius: 22px;
}
.gallery-cta p { color: #c5ced0; margin-top: 6px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6,9,10,.86);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 96vw); max-height: 90vh; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow); }
.lightbox figcaption { color: white; margin-top: 12px; font-weight: 760; text-align: center; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  color: white;
  font-size: 2rem;
  line-height: 1;
}

/* Legal */
.content-page { background: #f6f8f8; }
.legal-card {
  background: white;
  border: 1px solid #e2e8e9;
  border-radius: 22px;
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow-soft);
}
.legal-card h1 { color: var(--ink); font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 24px; }
.legal-card h2 { font-size: 1.55rem; margin: 34px 0 12px; letter-spacing: -.03em; }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card a { color: var(--am-teal-dark); font-weight: 780; }

/* Footer */
.site-footer {
  background: #0b0f11;
  color: #d8dedf;
  padding: 58px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .8fr .8fr;
  gap: 34px;
  align-items: start;
}
.footer-logo { width: 190px; margin-bottom: 16px; }
.site-footer h2 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: white; }
.site-footer p, .site-footer a { color: #b9c2c4; }
.site-footer a:hover { color: white; }
.footer-nav { display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #9aa5a8;
  font-size: .9rem;
}

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-card.wide { grid-column: span 3; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item:nth-child(2) { border-right: 0; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual-wrap { min-height: 470px; }
}
@media (max-width: 880px) {
  .topbar-grid { justify-content: center; }
  .topbar-right { display: none; }
  .header-grid { grid-template-columns: auto auto; justify-content: space-between; min-height: 72px; }
  .brand-logo { width: 170px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(14,19,21,.98);
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 10px 21px 18px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; }
  .main-nav a::after { left: 0; right: auto; width: 44px; }
  .section-head, .dark-feature-grid, .contact-grid, .project-grid, .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card.wide { grid-column: span 2; }
  .gallery-cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar-left { justify-content: center; gap: 12px; }
  .topbar-link:nth-child(2) { display: none; }
  .section-pad { padding: 66px 0; }
  .hero-grid { padding: 50px 0 42px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual-wrap { min-height: 360px; }
  .gate-scene { inset: 20px 0 10px; border-radius: 18px; }
  .concrete-post { width: 40px; }
  .scene-card { left: 12px; right: 12px; width: auto; padding: 16px; }
  .scene-label { display: none; }
  .value-grid, .service-grid, .process-grid, .gallery-grid, .form-grid { grid-template-columns: 1fr; }
  .value-item { border-right: 0; border-bottom: 1px solid #e3e7e8; }
  .gallery-card.wide { grid-column: span 1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
