:root {
  --bg: #ffffff;
  --soft: #f6f8f9;
  --soft-2: #eef4f5;
  --ink: #07131f;
  --muted: #526272;
  --line: #dfe8eb;
  --line-soft: #eef2f4;
  --teal: #00a8b5;
  --teal-dark: #008997;
  --navy: #06283d;
  --navy-2: #0a344f;
  --gold: #f7b500;
  --shadow: 0 18px 50px rgba(7, 19, 31, .09);
  --radius: 4px;
  --container: 1380px;
  --gutter: clamp(22px, 4vw, 48px);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #eef0f1;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.page {
  max-width: 1580px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(7, 19, 31, .08), 0 28px 80px rgba(7, 19, 31, .16);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
}

.nav-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -.03em;
}
.brand-logo-mark {
  display: none;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
}
.brand .ener { color: var(--teal); }
.brand .guru { color: var(--ink); }
.brand .gmbh {
  margin-left: 6px;
  color: var(--teal-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
}
.main-nav a {
  color: #1d2a36;
  font-size: .92rem;
  font-weight: 650;
}
.main-nav a:hover { color: var(--teal-dark); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.mobile-nav {
  display: none;
  padding: 0 0 18px;
  border-top: 1px solid var(--line-soft);
}
.mobile-nav.open { display: grid; }
.mobile-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 750;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline { background: #fff; border-color: var(--teal); color: var(--teal-dark); }
.btn-outline:hover { background: #eefcfd; }
.btn-dark { background: var(--navy); border-color: var(--navy); color: #fff; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}
.main-column {
  min-width: 0;
  border-right: 1px solid var(--line-soft);
}
.sidebar {
  position: sticky;
  top: 74px;
  min-height: calc(100vh - 74px);
  background: #fff;
}

.hero {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(360px, .82fr);
  background: linear-gradient(90deg, #f7f9fa 0%, #fff 54%, #f3f6f7 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 8vw, 108px) clamp(30px, 6vw, 76px);
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -.052em;
  overflow-wrap: normal;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: -.015em;
}
p { color: var(--muted); }
.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #253340;
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.customer-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  color: #1f2d38;
  font-weight: 700;
}
.avatars {
  display: flex;
}
.avatars span {
  width: 34px;
  height: 34px;
  display: block;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #c7d3d8, #8ea5ad);
}
.avatars span:first-child { margin-left: 0; }

.hero-media {
  position: relative;
  min-height: 600px;
  background: var(--soft) center / cover no-repeat;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.82) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 100%);
}
.hero-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(260px, 72%);
  padding: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-badge strong {
  display: block;
  color: var(--navy);
  font-size: 1.2rem;
}
.hero-badge span {
  color: var(--muted);
  font-size: .9rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.fact {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 108px;
  padding: 24px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line-soft);
}
.fact:last-child { border-right: 0; }
.icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fact strong { display: block; color: var(--ink); font-size: 1.05rem; }
.fact span { display: block; color: var(--muted); font-size: .88rem; }

.section {
  padding: clamp(54px, 7vw, 86px) clamp(30px, 6vw, 76px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-head p {
  max-width: 640px;
  margin-bottom: 0;
}
.section-head .link {
  color: var(--teal-dark);
  font-weight: 850;
  white-space: nowrap;
}
.section-head .link::after,
.more::after { content: "  ->"; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,168,181,.45);
  box-shadow: var(--shadow);
}
.service-card .icon {
  margin-bottom: 22px;
  color: var(--navy);
}
.service-card p {
  margin-bottom: 18px;
  font-size: .95rem;
}
.service-card.is-secondary {
  order: 5;
}
.service-card.is-facility {
  order: 6;
}
.more {
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 850;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
body[data-page="service"] .project-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.project-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
  background: #d9e1e4 center / cover no-repeat;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,31,0) 36%, rgba(7,19,31,.66) 100%);
}
.project-card span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 18px;
  color: #fff;
  font-weight: 850;
}

.career-section {
  border-top: 1px solid var(--line-soft);
}
.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.career-item {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.career-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: var(--ink);
}
.career-item span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.process-panel {
  padding: 30px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.process-panel h2 {
  margin-bottom: 28px;
  font-size: 1.55rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 14px;
}
.step {
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}
.step .circle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #e9f8fa;
  color: var(--teal-dark);
}
.step .circle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.inquiry-panel {
  padding: 34px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #083b58 100%);
}
.inquiry-panel h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.55rem;
}
.lead-form {
  display: grid;
  gap: 10px;
}
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 0;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font-size: .9rem;
}
.lead-form textarea { min-height: 86px; resize: vertical; }
.lead-form .btn {
  width: fit-content;
  margin-top: 8px;
}
.lead-form .hp-field {
  display: none !important;
}
.form-status {
  min-height: 1.2em;
  margin: 2px 0 0;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  line-height: 1.45;
}
.direct-phone {
  margin-top: 30px;
  color: rgba(255,255,255,.76);
  font-size: .9rem;
}
.direct-phone strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 1.15rem;
}
.why-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.why-list div {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.84);
  font-size: .9rem;
}
.check {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}

.about-panel,
.testimonial-panel {
  padding: 34px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.about-panel h2,
.testimonial-panel h2 {
  margin-bottom: 14px;
  font-size: 1.48rem;
}
.about-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: 20px;
}
.mini-list {
  display: grid;
  gap: 9px;
  margin: 20px 0;
}
.mini-list div {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
}
.testimonial-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.stars {
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.testimonial-card p {
  color: #1d2a36;
  font-size: .92rem;
}
.testimonial-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  font-size: .84rem;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8e2e5, #93a8b0);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, .62fr);
  min-height: 470px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #f8fafb 0%, #fff 60%, #f2f5f6 100%);
}
.service-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(52px, 7vw, 92px) clamp(30px, 6vw, 76px);
}
.service-hero h1 {
  font-size: clamp(2.45rem, 3.75vw, 4rem);
}
.service-media,
.service-hero-media {
  background: #d9e1e4 center / cover no-repeat;
  min-height: 420px;
}
.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-soft);
}
.benefit {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 24px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line-soft);
}
.benefit:last-child { border-right: 0; }
.benefit strong { display: block; font-size: .98rem; }
.benefit span { display: block; color: var(--muted); font-size: .84rem; }
.subservice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.subservice-card {
  min-height: 164px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.subservice-card p {
  margin-bottom: 16px;
  font-size: .9rem;
}
.text-band {
  margin-top: 28px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line-soft);
}
.text-band h3 { font-size: 1.35rem; }
.legal-stack {
  display: grid;
  gap: 18px;
}
.legal-stack h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}
.legal-stack p,
.legal-stack li {
  color: var(--muted);
}
.legal-stack ul {
  margin: 0;
  padding-left: 20px;
}
.detail-stack {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  scroll-margin-top: 104px;
}
.detail-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}
.detail-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 280px;
}
.detail-row:nth-child(even) .detail-image {
  order: 2;
}
.detail-image {
  min-height: 220px;
  background: var(--soft) center / cover no-repeat;
}
.detail-copy {
  padding: 24px 24px 24px 0;
}
.detail-row:nth-child(even) .detail-copy {
  padding: 24px 0 24px 24px;
}
.detail-copy h3 {
  font-size: 1.35rem;
}
.detail-copy p {
  margin-bottom: 12px;
}
.detail-proof {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--teal);
  background: #f2fbfc;
  color: #213442;
  font-size: .9rem;
  font-weight: 750;
}

.footer {
  color: rgba(255,255,255,.74);
  background: var(--navy);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 42px;
  padding-top: 54px;
  padding-bottom: 44px;
}
.footer h3,
.footer h4 { color: #fff; }
.footer .brand { margin-bottom: 16px; }
.footer .brand .guru { color: #fff; }
.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.54);
  font-size: .86rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .content-grid,
  .hero,
  .service-hero {
    grid-template-columns: 1fr;
  }
  .main-column {
    border-right: 0;
  }
  .sidebar {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line-soft);
  }
  .process-panel,
  .inquiry-panel,
  .about-panel,
  .testimonial-panel {
    border-right: 1px solid var(--line-soft);
  }
  .main-nav,
  .nav-phone {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 820px) {
  .service-grid,
  .project-grid,
  .career-grid,
  body[data-page="service"] .project-grid,
  .subservice-grid,
  .detail-row,
  .detail-row:nth-child(even),
  .facts,
  .benefit-row,
  .footer-grid,
  .sidebar {
    grid-template-columns: 1fr;
  }
  .detail-row:nth-child(even) .detail-image {
    order: 0;
  }
  .detail-copy,
  .detail-row:nth-child(even) .detail-copy {
    padding: 22px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .fact,
  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .hero-copy,
  .service-hero-copy,
  .section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .service-hero,
  .service-hero-copy,
  .service-media {
    width: 100%;
    min-width: 0;
  }
  .service-hero h1 {
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .service-hero .lead,
  .service-hero .hero-actions {
    max-width: 100%;
  }
  .hero-media,
  .service-media {
    min-height: 360px;
  }
  .nav-actions .btn {
    display: none;
  }
  .footer-grid {
    gap: 20px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.75rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .customer-note {
    align-items: flex-start;
    flex-direction: column;
  }
}
