/* inter-regular - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-regular.woff') format('woff');
}
/* inter-500 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-500.woff') format('woff');
}
/* inter-600 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-600.woff') format('woff');
}
/* inter-700 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-700.woff') format('woff');
}
/* inter-800 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-800.woff') format('woff');
}
/* inter-900 - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-900.woff') format('woff');
}

:root {
  --color-bg: #f4f7fa;
  --color-surface: #ffffff;
  --color-text: #111827;
  --color-muted: #526172;
  --color-line: #dbe5ef;
  --color-primary: #064f8e;
  --color-primary-dark: #07395f;
  --color-ink: #101820;
  --color-accent: #d6572a;
  --color-green: #2f7d58;
  --color-soft: #eaf3fb;
  --color-warm: #fff5ed;
  --shadow: 0 22px 60px rgba(16, 24, 32, .16);
  --shadow-soft: 0 12px 32px rgba(16, 24, 32, .09);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.page-referenzen {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .page-referenzen {
    overflow-x: hidden;
  }
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--color-primary); }

:focus-visible {
  outline: 3px solid rgba(6, 79, 142, 0.75);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(6, 79, 142, 0.2);
}

::placeholder {
  color: #6b7280;
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: .75rem;
  top: .75rem;
  transform: translateY(-160%);
  background: var(--color-primary-dark);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  z-index: 1000;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.skip-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark,
.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(6, 79, 142, .2);
}

.brand-logo {
  background: transparent;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(6, 79, 142, .12);
}

.brand:hover .brand-logo {
  transform: scale(1.08) rotate(4deg);
}

.brand small {
  display: block;
  color: var(--color-muted);
  font-weight: 650;
}

.nav-toggle {
  min-width: 46px;
  min-height: 46px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

.site-nav {
  position: absolute;
  inset: 74px 1rem auto 1rem;
  display: none;
  padding: .75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .25rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem .85rem;
  border-radius: var(--radius);
  color: var(--color-text);
  font-weight: 750;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav .fa-solid {
  flex: 0 0 auto;
  color: var(--color-primary);
}

.button .fa-solid,
.eyebrow .fa-solid {
  margin-right: .45rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-soft);
  color: var(--color-primary-dark);
}

@media (max-width: 1079px) {
  .site-nav a:hover:not(.nav-cta) {
    transform: translateX(4px);
  }

  .dropdown-menu {
    display: grid !important;
    gap: 0.25rem;
    padding-left: 1.5rem !important;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
  }

  .dropdown-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-muted) !important;
    padding: 0.4rem 0.6rem !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a[aria-current="page"] {
    background: var(--color-soft) !important;
    color: var(--color-primary-dark) !important;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(6, 79, 142, .22);
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 10px 22px rgba(7, 57, 95, .32);
}

.dropdown > a::after {
  content: " +";
  margin-left: auto;
  color: var(--color-primary);
}

.dropdown-menu { padding-left: .5rem !important; }

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-soft) 100%);
  overflow: hidden;
  position: relative;
}

.hero-page {
  min-height: clamp(560px, 72vh, 760px);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--color-ink);
}

.hero-page-media,
.hero-page-scrim {
  position: absolute;
  inset: 0;
}

.hero-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-page-scrim {
  background:
    linear-gradient(90deg, rgba(5, 15, 25, .88) 0%, rgba(5, 15, 25, .68) 48%, rgba(5, 15, 25, .22) 100%),
    linear-gradient(0deg, rgba(5, 15, 25, .72), rgba(5, 15, 25, .05) 58%);
}

.hero-page-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-page .lead {
  color: rgba(255, 255, 255, .9);
}

.hero-page .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.hero-page .button-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
}

.hero-home {
  min-height: min(860px, calc(96dvh - 74px));
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 1rem;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--color-ink);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 15, 25, .88) 0%, rgba(5, 15, 25, .7) 42%, rgba(5, 15, 25, .22) 100%),
    linear-gradient(0deg, rgba(5, 15, 25, .75) 0%, rgba(5, 15, 25, .08) 46%);
}

.hero-home-content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-primary-dark);
  font-weight: 850;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .08em;
}

.eyebrow::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  background: currentColor;
}

.eyebrow-light { color: #b8dcff; }

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  max-width: 920px;
}

h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.lead {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 770px;
  color: #344255;
}

.hero-home .lead { color: rgba(255, 255, 255, .9); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .82rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 79, 142, .22);
}

.button-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 79, 142, .32);
}

.button-secondary {
  background: #fff;
  border-color: var(--color-line);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 10px rgba(16, 24, 32, .04);
}

.button-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 15px rgba(6, 79, 142, .08);
}

.button-ghost {
  border-color: rgba(255, 255, 255, .42);
  color: #fff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.button-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 8px 20px rgba(255, 255, 255, .08);
}

.button-light {
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(16, 24, 32, .08);
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  max-width: 720px;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
}

.hero-facts div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.hero-facts div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-facts dt {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
}

.hero-facts dd {
  margin: .25rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 750;
}

.hero-photo-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: -4.5rem;
}

.hero-photo-strip figure,
.work-mosaic figure,
.proof-card {
  margin: 0;
}

.hero-photo-strip figure {
  min-height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  box-shadow: var(--shadow);
  background: var(--color-ink);
  isolation: isolate;
}

.hero-photo-strip figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 18, 30, .04) 30%, rgba(7, 18, 30, .86) 100%);
  pointer-events: none;
}

.hero-photo-strip img,
.service-tile img,
.work-mosaic img,
.proof-card img,
.cta-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-strip img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo-strip figcaption {
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .8rem;
  z-index: 2;
  padding: .35rem .55rem;
  border-radius: var(--radius);
  background: rgba(16, 24, 32, .84);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

.section {
  padding: clamp(3.4rem, 7vw, 6rem) 0;
}

.hero-home + .section { padding-top: clamp(6rem, 10vw, 8rem); }
.section-white { background: var(--color-surface); }
.section-soft { background: var(--color-soft); }
.section-steel { background: #172536; color: #fff; }

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head-wide {
  max-width: 900px;
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}

.section-steel p,
.showcase-copy p,
.cta-photo p { color: rgba(255, 255, 255, .8); }

.grid {
  display: grid;
  gap: 1rem;
}

.grid > * {
  min-width: 0;
}

.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }

.hero-panel,
.card,
.contact-card,
.machine-card,
.job-card,
.legal-box,
.trust-panel {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.hero-panel,
.card,
.contact-card { padding: 1.25rem; }

.card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card h2 {
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  overflow-wrap: anywhere;
}

.card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(6, 79, 142, .32);
  box-shadow: 0 20px 48px rgba(16, 24, 32, .13);
}

.card .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 900;
  margin-bottom: 1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.card:hover .icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.service-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-tile {
  min-height: 290px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  padding: 1.1rem;
  color: #fff;
  background: var(--color-ink);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.service-tile::after,
.proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 30, .08) 18%, rgba(7, 18, 30, .86) 100%);
  z-index: -1;
}

.service-tile img,
.proof-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.service-tile span {
  width: fit-content;
  margin-bottom: .55rem;
  padding: .32rem .58rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-size: .86rem;
  font-weight: 850;
}

.service-tile strong {
  max-width: 520px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.25;
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.service-tile:hover {
  color: #fff;
  transform: translateY(-3px);
}

.split-showcase {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.split-showcase-immersive {
  align-items: center;
}

.showcase-copy {
  color: #fff;
}

.showcase-copy .button { margin-top: .7rem; }

.check-list {
  padding: 0;
  margin: 1.25rem 0;
  list-style: none;
  display: grid;
  gap: .65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: #334155;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.22rem;
  width: 1.1rem;
  height: 1.1rem;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

.check-list-light li { color: rgba(255, 255, 255, .88); }
.check-list-light li::before {
  background: #2f7d58;
  color: #fff;
}

.work-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.work-mosaic figure {
  min-height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
  background: #0b121b;
}

.work-mosaic .mosaic-large {
  grid-column: span 2;
  min-height: clamp(280px, 42vw, 460px);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-photo-section {
  position: relative;
  overflow: hidden;
}

.page-photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-photo-card,
.about-photo-layout figure {
  min-height: 280px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  padding: 1rem;
  color: #fff;
  background: var(--color-ink);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.page-photo-card::after,
.about-photo-layout figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 18, 30, .06) 12%, rgba(7, 18, 30, .84) 100%);
}

.page-photo-card img,
.about-photo-layout img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-photo-card figcaption,
.about-photo-layout figcaption {
  display: grid;
  gap: .24rem;
}

.page-photo-card strong,
.about-photo-layout strong {
  font-size: 1.18rem;
  line-height: 1.18;
}

.page-photo-card span,
.about-photo-layout span {
  color: rgba(255, 255, 255, .82);
}

.page-photo-card-large {
  min-height: 360px;
}

.page-photo-grid-two {
  grid-template-columns: 1fr;
}

.legal-photo-section {
  padding-top: 0;
}

.about-photo-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-photo-layout .about-portrait {
  min-height: 520px;
}

.about-photo-layout .about-portrait img {
  object-position: center top;
}

.certificate-section {
  color: #fff;
  background: #172536;
  overflow: hidden;
}

.certificate-section p {
  color: rgba(255, 255, 255, .8);
}

.cert-marquee {
  width: 100%;
  overflow: hidden;
  padding: 1.25rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cert-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: cert-scroll 58s linear infinite;
  will-change: transform;
}

.cert-card {
  flex: 0 0 clamp(180px, 18vw, 260px);
  height: clamp(250px, 25vw, 360px);
  margin: 0;
  padding: .65rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease;
  z-index: 1;
}

.cert-card:hover {
  transform: scale(1.08) translateY(-5px);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.16);
  z-index: 10;
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
}

@keyframes cert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}

.proof-card {
  min-height: 330px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  padding: 1rem;
  color: #fff;
  background: var(--color-ink);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.proof-card figcaption {
  display: grid;
  gap: .25rem;
}

.proof-card strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.proof-card span {
  color: rgba(255, 255, 255, .8);
}

.video-section {
  background: linear-gradient(180deg, #eef5fb 0%, #ffffff 100%);
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b121b;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.trust-layout {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  padding: .75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-line);
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  color: var(--color-primary-dark);
  line-height: 1;
}

.stat span {
  color: var(--color-muted);
  font-weight: 750;
}

.logo-line {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.logo-line span,
.badge-list li,
.badge {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  padding: .42rem .72rem;
  color: #334155;
  font-weight: 750;
  font-size: .92rem;
}

.logo-line span {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.logo-line span:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 12px rgba(6, 79, 142, 0.08);
  cursor: default;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.cta-photo {
  min-height: 560px;
  color: #fff;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
}

.cta-photo > img {
  position: absolute;
  inset: 0;
  filter: saturate(.95);
}

.cta-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 15, 25, .88), rgba(5, 15, 25, .62), rgba(5, 15, 25, .24));
}

.cta-photo-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

.cta-photo-content h2 {
  max-width: 880px;
}

.cta-photo-content p {
  max-width: 650px;
}

.image-placeholder {
  min-height: 250px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background:
    linear-gradient(135deg, rgba(6, 79, 142, .88), rgba(7, 57, 95, .95)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 10px, transparent 10px 20px);
  color: #fff;
  display: grid;
  align-content: end;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}

.image-placeholder strong { font-size: 1.3rem; }
.image-placeholder span { color: rgba(255, 255, 255, .78); }

.media-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(145px, 1fr);
  gap: .85rem;
}

.media-collage .image-placeholder:first-child {
  grid-row: span 2;
  min-height: 320px;
}

.media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}

.media-strip > * { scroll-snap-align: start; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.media-slot {
  min-height: 170px;
  border-radius: var(--radius);
  border: 1px solid rgba(6, 79, 142, .18);
  background: linear-gradient(135deg, rgba(13, 36, 56, .88), rgba(6, 79, 142, .74));
  color: #fff;
  padding: 1rem;
  display: grid;
  align-content: end;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.media-slot::before {
  content: attr(data-number);
  position: absolute;
  top: .8rem;
  left: .8rem;
  min-width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-weight: 900;
  font-size: .8rem;
}

.media-slot strong { font-size: 1rem; }
.media-slot span { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.media-slot.large { min-height: 260px; }

.video-placeholder {
  min-height: clamp(280px, 48vw, 540px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(rgba(13, 36, 56, .58), rgba(13, 36, 56, .78)), linear-gradient(135deg, var(--color-primary-dark), #111827);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.play-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  box-shadow: 0 16px 36px rgba(6, 79, 142, .28);
}

.play-mark::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #fff;
  margin-left: 5px;
}

.reference-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
}

.reference-card::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--color-primary);
  margin-bottom: 1rem;
}

.reference-hero-image {
  min-height: 430px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  padding: 1rem;
  color: #fff;
  background: var(--color-ink);
  isolation: isolate;
}

.reference-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 18, 30, .04) 30%, rgba(7, 18, 30, .78) 100%);
}

.reference-hero-image img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-hero-image figcaption {
  font-weight: 850;
}

.reference-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.reference-list article {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.reference-list span {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
  font-weight: 900;
  font-size: .86rem;
}

.reference-list strong {
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.newspaper-section {
  color: #fff;
  background: #172536;
}

.newspaper-section p {
  color: rgba(255, 255, 255, .8);
}

.newspaper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.newspaper-card {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}

.newspaper-card img {
  width: 100%;
  height: auto;
  background: #fff;
}

.newspaper-card figcaption {
  display: grid;
  gap: .2rem;
  padding: 1rem;
}

.newspaper-card strong {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.25;
}

.newspaper-card span {
  color: rgba(255, 255, 255, .72);
}

.map-placeholder {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 1px dashed #9db3c9;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-muted);
  text-align: center;
}

.map-link-container {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-line);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.map-link-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(6, 79, 142, 0.12);
  border-color: var(--color-primary);
}

.map-link-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-link-container:hover img {
  transform: scale(1.03);
}

.timeline {
  display: grid;
  gap: 2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 5px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow);
}

.timeline-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-body h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.timeline-body p {
  margin: 0 0 0.5rem 0;
}

.timeline-body p:last-child {
  margin-bottom: 0;
}

.timeline-year {
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.timeline-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--color-bg);
}

.timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-media img {
  transform: scale(1.05);
}

@media (min-width: 760px) {
  .timeline {
    gap: 3.5rem;
  }

  .timeline-item {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    padding: 2.5rem;
  }

  .timeline-item:nth-child(even) {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .timeline-item:nth-child(even) .timeline-body {
    order: 2;
  }

  .timeline-item:nth-child(even) .timeline-media {
    order: 1;
  }
}

.faq-item { border-top: 1px solid var(--color-line); }

.faq-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--color-text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-panel {
  display: none;
  padding-bottom: 1rem;
}

.faq-item.is-open .faq-panel { display: block; }

.contact-card strong {
  display: block;
  color: var(--color-primary-dark);
  margin-bottom: .25rem;
}

.site-footer {
  background: #101820;
  color: #fff;
  padding: 3rem 0 1.5rem;
}

.site-footer p,
.site-footer a { color: rgba(255, 255, 255, .78); }

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.footer-links .fa-solid {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .7);
}

.footer-title {
  color: #fff;
  font-weight: 900;
  margin-bottom: .75rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, .65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright a {
  color: inherit;
  transition: color 0.2s ease;
}

.copyright a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll Reveal Stagger Delays */
.service-gallery .reveal:nth-child(2),
.proof-grid .reveal:nth-child(2),
.page-photo-grid .reveal:nth-child(2),
.stats .reveal:nth-child(2),
.grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.service-gallery .reveal:nth-child(3),
.proof-grid .reveal:nth-child(3),
.page-photo-grid .reveal:nth-child(3),
.stats .reveal:nth-child(3),
.grid .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
.service-gallery .reveal:nth-child(4),
.proof-grid .reveal:nth-child(4),
.page-photo-grid .reveal:nth-child(4),
.stats .reveal:nth-child(4),
.grid .reveal:nth-child(4) {
  transition-delay: 0.3s;
}
.service-gallery .reveal:nth-child(5),
.proof-grid .reveal:nth-child(5),
.page-photo-grid .reveal:nth-child(5),
.stats .reveal:nth-child(5),
.grid .reveal:nth-child(5) {
  transition-delay: 0.4s;
}

/* Premium Image Zoom & Overlay Hover Animations */
.hero-photo-strip figure img,
.service-tile img,
.work-mosaic figure img,
.proof-card img,
.page-photo-card img,
.about-photo-layout figure img,
.reference-hero-image img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-photo-strip figure:hover img,
.service-tile:hover img,
.work-mosaic figure:hover img,
.proof-card:hover img,
.page-photo-card:hover img,
.about-photo-layout figure:hover img,
.reference-hero-image:hover img {
  transform: scale(1.06);
}

.service-tile::after,
.proof-card::after,
.page-photo-card::after,
.about-photo-layout figure::after,
.reference-hero-image::after {
  transition: opacity 0.5s ease;
  opacity: 0.88;
}

.service-tile:hover::after,
.proof-card:hover::after,
.page-photo-card:hover::after,
.about-photo-layout figure:hover::after,
.reference-hero-image:hover::after {
  opacity: 1;
}

@media (min-width: 640px) {
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-photo-strip { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
  .hero-home {
    overflow: visible;
    z-index: 2;
  }
  .hero-home + .section {
    position: relative;
    z-index: 1;
  }
  .hero-photo-strip {
    position: absolute;
    left: 50%;
    bottom: -4.5rem;
    transform: translateX(-50%);
    width: min(100% - 2rem, var(--container));
    margin-bottom: 0;
  }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .split-showcase { grid-template-columns: .85fr 1.15fr; }
  .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .media-slot.large { grid-column: span 2; grid-row: span 2; }
  .service-gallery { grid-template-columns: repeat(4, 1fr); }
  .service-tile-large { grid-column: span 2; grid-row: span 2; }
  .page-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-photo-card-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 520px;
  }
  .page-photo-grid-two {
    grid-template-columns: 1.35fr .65fr;
  }
  .page-photo-grid-two .page-photo-card-large {
    grid-column: auto;
    grid-row: auto;
  }
  .reference-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .newspaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .about-photo-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .about-photo-layout .about-portrait {
    min-height: 460px;
  }
  .video-grid { grid-template-columns: .8fr 1.2fr; }
  .trust-layout { grid-template-columns: .9fr 1.1fr; }
}

@media (min-width: 980px) {
  .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof-card:nth-child(2) { min-height: 430px; }
  .proof-card:nth-child(3) { min-height: 390px; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: .14rem;
  }

  .site-nav a {
    display: block;
    padding: .62rem .6rem;
    font-size: .9rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .site-nav > ul > li > a .fa-solid {
    display: none;
  }

  .site-nav .nav-cta {
    display: inline-flex;
    padding: .68rem .92rem;
  }

  .dropdown > a::after {
    margin-left: .22rem;
  }

  .dropdown { position: relative; }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    padding: .55rem !important;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    
    /* Elegant transition setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    display: grid !important; /* Keep it grid layout but hide visually */
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(2px);
  }
}

@media (max-width: 760px) {
  .brand {
    max-width: calc(100% - 62px);
    font-size: .95rem;
  }

  .brand small { font-size: .78rem; }
  .hero-home {
    min-height: auto;
    padding: 3rem 0 1.1rem;
    overflow: visible;
    z-index: 2;
  }
  .hero-home + .section {
    position: relative;
    z-index: 1;
  }
  .hero-home-content { padding-bottom: 0; }
  .hero-home .lead { font-size: 1.02rem; }
  .hero-facts { display: none; }
  .hero-photo-strip {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    margin-top: 1.25rem;
    margin-bottom: -4.75rem;
    padding-bottom: .4rem;
    scroll-snap-type: x mandatory;
  }
  .hero-photo-strip figure {
    flex: 0 0 78%;
    min-height: 168px;
    scroll-snap-align: start;
  }
  .hero-photo-strip figcaption {
    left: .65rem;
    right: .65rem;
    bottom: .65rem;
    padding: .5rem .65rem;
    font-size: .95rem;
  }
  .hero-home + .section { padding-top: 6.8rem; }
  .service-tile { min-height: 250px; }
  .page-photo-card,
  .about-photo-layout figure {
    min-height: 220px;
  }
  .about-photo-layout .about-portrait {
    min-height: 380px;
  }
  .cert-marquee {
    mask-image: none;
    -webkit-mask-image: none;
    overflow-x: auto;
    padding: 1rem 1rem 1.2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .cert-track {
    animation: none;
    width: max-content;
    gap: 0.85rem;
  }
  .cert-card {
    flex: 0 0 min(72vw, 230px);
    height: min(96vw, 320px);
    scroll-snap-align: start;
  }
  .trust-panel { grid-template-columns: 1fr; }
  .cta-photo { min-height: 520px; }
}

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

  .cert-track {
    animation: none !important;
  }
}

/* Custom Cursor Trail Styles */
@media (hover: hover) {
  body {
    cursor: none;
  }
  a, button, [role="button"], .card, .service-tile, .proof-card, .nav-toggle, .faq-button, input, textarea, select, figure {
    cursor: none;
  }

  .custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    position: fixed;
    top: 0;
    left: 0;
    margin-top: -3px;
    margin-left: -3px;
    border-radius: 50%;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    scale: 1;
    transition: scale 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, opacity 0.15s ease;
  }

  .custom-cursor-outline {
    width: 28px;
    height: 28px;
    border: 1.5px solid rgba(6, 79, 142, 0.45);
    position: fixed;
    top: 0;
    left: 0;
    margin-top: -14px;
    margin-left: -14px;
    border-radius: 50%;
    z-index: 99998;
    pointer-events: none;
    opacity: 0;
    scale: 1;
    transition: scale 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), margin-top 0.3s cubic-bezier(0.25, 1, 0.5, 1), margin-left 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease, opacity 0.15s ease;
  }

  /* Hover States */
  .custom-cursor-dot.custom-cursor-hover {
    scale: 0;
  }

  .custom-cursor-outline.custom-cursor-hover {
    scale: 1.57; /* 44px / 28px = 1.57 */
    border-color: rgba(6, 79, 142, 0.6);
    background-color: rgba(6, 79, 142, 0.08);
    backdrop-filter: blur(1px);
  }
}

/* Heat Pump Highlighting & Green Theming */
.badge-green {
  background-color: var(--color-green) !important;
  color: #fff !important;
  font-weight: 850;
  box-shadow: 0 6px 15px rgba(47, 125, 88, 0.22);
}

.highlight-wp {
  border: 1.5px solid rgba(47, 125, 88, 0.35);
}

.highlight-wp:hover {
  border-color: var(--color-green);
  box-shadow: 0 16px 40px rgba(47, 125, 88, 0.18) !important;
}

.card-highlight-wp {
  border: 2px solid rgba(47, 125, 88, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f4faf7 100%);
  box-shadow: 0 12px 32px rgba(47, 125, 88, 0.06);
}

.card-highlight-wp:hover {
  border-color: var(--color-green);
  box-shadow: 0 16px 36px rgba(47, 125, 88, 0.12);
  transform: translateY(-4px);
}

.card-highlight-wp .icon {
  background-color: #e6f5ed;
  color: var(--color-green);
}

/* Green Theme Overrides for VDI 4645 Page */
.page-heatpump {
  --color-primary: #1b6641;
  --color-primary-dark: #124029;
  --color-soft: #eaf6ef;
  --color-accent: #1b6641; /* theme transition */
}

.page-heatpump .custom-cursor-dot {
  background-color: var(--color-primary);
}

.page-heatpump .custom-cursor-outline {
  border-color: rgba(27, 102, 65, 0.45);
}

.page-heatpump .custom-cursor-outline.custom-cursor-hover {
  border-color: rgba(27, 102, 65, 0.6);
  background-color: rgba(27, 102, 65, 0.08);
}

.page-heatpump .eyebrow {
  color: var(--color-primary);
}

.page-heatpump .brand-mark {
  background: var(--color-primary);
}

/* Image Placeholder overrides for galleries */
.image-placeholder {
  isolation: isolate;
  background: var(--color-ink) !important;
}

.image-placeholder img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 30, .05) 15%, rgba(7, 18, 30, .85) 100%);
  z-index: -1;
  transition: opacity 0.5s ease;
  opacity: 0.88;
}

.image-placeholder:hover img {
  transform: scale(1.06);
}

.image-placeholder:hover::after {
  opacity: 1;
}

/* Scroll Progress Bar at top of Sticky Header */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--color-primary);
  width: 0%;
  transition: width 0.1s ease;
  z-index: 101;
}

/* Contact Form Styles */
.contact-form {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-line);
  font: inherit;
  color: var(--color-text);
  background: #fbfcfd;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(6, 79, 142, 0.1);
  background: #fff;
}

/* FAQ & CTA Updates for about-us page */
.faq {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.faq-button span {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.25s ease;
  display: inline-block;
}

.faq-item.is-open .faq-button span {
  transform: rotate(45deg);
}

.cta-section {
  background: var(--color-bg);
  padding: 4rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: 3.5rem 2rem;
  border-radius: calc(var(--radius) * 2);
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-box .actions {
  justify-content: center;
}

/* Wärmepumpen Infographics styling */
.wp-infographic-container {
  max-width: 860px;
  margin: 2.5rem auto 0;
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-line);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-infographic-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.wp-infographic-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
}

/* Wärmepumpen Solutions Grid styling */
.wp-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.wp-solution-card {
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-solution-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.wp-solution-image {
  overflow: hidden;
  max-height: 220px;
  position: relative;
  background: var(--color-bg);
}

.wp-solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-solution-card:hover .wp-solution-image img {
  transform: scale(1.05);
}

.wp-solution-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.wp-solution-content h3 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}

.wp-solution-content p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .wp-solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .wp-solution-image {
    max-height: 280px;
  }
}

/* VDI 4645 Planning Cards styling */
.planning-card {
  position: relative;
  padding: 3rem 1.75rem 2rem;
  text-align: center;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.planning-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.planning-step {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.planning-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.planning-card:hover .planning-icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1);
}

.planning-card h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.75rem 0;
  font-weight: 850;
}

.planning-card p {
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

/* Lightbox Modal styling */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 32, 0.94);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.is-active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption {
  color: #fff;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-caption span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--color-primary);
}

.newspaper-card img,
.proof-card img,
.page-photo-card img {
  cursor: zoom-in;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.newspaper-card img:hover,
.proof-card img:hover,
.page-photo-card img:hover {
  filter: brightness(0.9);
}

/* Reference Client Grid styling */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.reference-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(16, 24, 32, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  min-width: 0;
}

.reference-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.ref-num {
  font-size: 0.82rem;
  font-weight: 850;
  color: var(--color-muted);
  opacity: 0.6;
  width: 24px;
  flex-shrink: 0;
}

.ref-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.reference-card:hover .ref-icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.ref-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ref-text strong {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ref-text span {
  font-size: 0.82rem;
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .reference-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .reference-card {
    gap: 0.8rem;
    padding: 1rem;
  }

  .ref-num {
    width: 1.35rem;
  }

  .ref-icon {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
}

/* About Us Page Key Figures / Stats styling */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  text-align: center;
  padding: 2.25rem 1rem 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.stat-card:hover .stat-icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08);
}

.stat-card strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-card span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-weight: 700;
}

@media (max-width: 992px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Stagger delays for stats cards and other elements on Über uns page */
.stats-row .reveal:nth-child(1) { transition-delay: 0.05s; }
.stats-row .reveal:nth-child(2) { transition-delay: 0.12s; }
.stats-row .reveal:nth-child(3) { transition-delay: 0.19s; }
.stats-row .reveal:nth-child(4) { transition-delay: 0.26s; }
.stats-row .reveal:nth-child(5) { transition-delay: 0.33s; }

.about-photo-layout .reveal:nth-child(1) { transition-delay: 0.05s; }
.about-photo-layout .reveal:nth-child(2) { transition-delay: 0.15s; }
.about-photo-layout .reveal:nth-child(3) { transition-delay: 0.25s; }
.about-photo-layout .reveal:nth-child(4) { transition-delay: 0.35s; }

.faq .reveal:nth-child(1) { transition-delay: 0.05s; }
.faq .reveal:nth-child(2) { transition-delay: 0.12s; }
.faq .reveal:nth-child(3) { transition-delay: 0.19s; }
.faq .reveal:nth-child(4) { transition-delay: 0.26s; }

/* Single Portrait Card for Über uns page */
.about-portrait-card {
  min-height: clamp(380px, 48vw, 540px);
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: grid;
  align-content: end;
  padding: 1.5rem;
  color: #fff;
  background: var(--color-ink);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.about-portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 18, 30, .06) 12%, rgba(7, 18, 30, .84) 100%);
  transition: opacity 0.5s ease;
  opacity: 0.88;
}

.about-portrait-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.about-portrait-card:hover img {
  transform: scale(1.06);
}

.about-portrait-card:hover::after {
  opacity: 1;
}

.about-portrait-card figcaption {
  z-index: 2;
}

.about-portrait-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 850;
  margin-bottom: 0.2rem;
}

.about-portrait-card span {
  display: block;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Premium CTA Band Callout Box */
.cta-band {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  background: var(--color-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(6, 79, 142, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-band:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(6, 79, 142, 0.08);
}

.cta-band h2 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.4rem, 3vw, 1.80rem);
  color: var(--color-primary-dark);
}

.cta-band p {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.cta-band .button {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    text-align: left;
  }
  
  .cta-band .button {
    align-self: center;
    flex-shrink: 0;
  }
}

/* Gas Dichtheitsprüfung Page Specific Styles */
.gas-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 760px) {
  .gas-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gas-service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.gas-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transition: height 0.3s ease;
}
.gas-service-card.accent-card::before {
  background: var(--color-accent);
}
.gas-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 79, 142, 0.3);
  box-shadow: var(--shadow);
}
.gas-service-card.accent-card:hover {
  border-color: rgba(214, 87, 42, 0.3);
}
.gas-service-card:hover::before {
  height: 6px;
}

.gas-card-tag {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  background: var(--color-soft);
  color: var(--color-primary-dark);
}
.gas-service-card.accent-card .gas-card-tag {
  background: var(--color-warm);
  color: var(--color-accent);
}

.gas-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.gas-service-card.accent-card .gas-icon-circle {
  background: var(--color-warm);
  color: var(--color-accent);
}
.gas-service-card:hover .gas-icon-circle {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}
.gas-service-card.accent-card:hover .gas-icon-circle {
  background: var(--color-accent);
  color: #fff;
}

/* Middle Section: Gas Test Types */
.gas-img-frame {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gas-img-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(16, 24, 32, 0.15);
}
.gas-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gas-img-frame:hover img {
  transform: scale(1.03);
}

.gas-test-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}
.gas-test-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.gas-test-item:hover {
  transform: translateX(5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(6, 79, 142, 0.08);
}
.gas-test-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.gas-test-item:hover .gas-test-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.08);
}
.gas-test-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gas-test-content strong {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  font-weight: 800;
}
.gas-test-content p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Section 3: Legal & Safety Callout */
.gas-safety-card {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-soft) 100%);
  border-left: 5px solid var(--color-primary);
  padding: 2.5rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.gas-safety-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gas-safety-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(6, 79, 142, 0.08);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.gas-safety-card:hover .gas-safety-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

/* Contact Page Specific Styles */
.contact-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .contact-detail-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.contact-detail-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-top: 4px solid var(--color-primary);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, border-top-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.contact-detail-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  border-top-color: var(--color-accent);
  box-shadow: var(--shadow);
}
.contact-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--color-soft);
}
.contact-detail-card:hover .contact-detail-icon {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 0 6px rgba(6, 79, 142, 0.15);
}
.contact-detail-card strong {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  font-weight: 850;
  margin-bottom: 0.25rem;
}
.contact-detail-card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}
.contact-detail-card a {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}
.contact-detail-card a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.contact-detail-card a:hover {
  color: var(--color-accent);
}
.contact-detail-card a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* 2-Column Split Grid for Contact Form & Process */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 1.20fr;
  }
}

.contact-process-box {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}
.contact-process-box h3 {
  font-size: 1.45rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  font-weight: 850;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: relative;
  margin-bottom: 2.25rem;
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: var(--color-line);
  z-index: 1;
}
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--color-line);
  transition: all 0.3s ease;
}
.process-step:hover .step-number {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 2px var(--color-primary);
}
.step-content h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 800;
}
.step-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.contact-trust-badge {
  background: var(--color-warm);
  border: 1px solid rgba(214, 87, 42, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.contact-trust-badge i {
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-trust-badge p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 650;
  line-height: 1.5;
}
.contact-trust-badge a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 750;
}

/* Contact Form Upgrades */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(6, 79, 142, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: #fdfefe;
  border: 1.5px solid var(--color-line);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 79, 142, 0.06), 0 0 0 4px rgba(6, 79, 142, 0.12);
}

/* Form AJAX Feedback Overlay */
.form-feedback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.form-feedback-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.feedback-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--color-soft);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}
.feedback-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(47, 125, 88, 0.1);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(47, 125, 88, 0.2);
  transform: scale(0.5);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-feedback-overlay.is-visible .feedback-success-icon {
  transform: scale(1);
}
.feedback-error-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(214, 87, 42, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(214, 87, 42, 0.2);
  transform: scale(0.5);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-feedback-overlay.is-visible .feedback-error-icon {
  transform: scale(1);
}
.feedback-title {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  font-weight: 850;
  margin-bottom: 0.5rem;
}
.feedback-desc {
  color: var(--color-muted);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Map Route Card Hover & Overlay */
.map-link-container {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  display: block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #fff;
}
.map-link-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: auto;
  display: block;
}
.map-link-container:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(6, 79, 142, 0.25);
}
.map-link-container:hover img {
  transform: scale(1.05);
}
.map-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(16, 24, 32, 0.85);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  opacity: 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.map-link-container:hover .map-overlay-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* FAQ Cards on Contact page */
.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 760px) {
  .contact-faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.contact-faq-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-soft);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-faq-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--color-primary);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff 0%, var(--color-soft) 100%);
}
.contact-faq-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  font-weight: 800;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.contact-faq-card h3 i {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 0.15rem;
  transition: transform 0.3s ease;
}
.contact-faq-card:hover h3 i {
  transform: rotate(15deg) scale(1.15);
}
.contact-faq-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* AGB Card Viewer Class */
.agb-viewer-card {
  max-width: 600px;
  margin: 2.5rem auto 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 592 / 834;
  background: #fff;
  cursor: zoom-in;
  padding: 0;
  position: relative;
}
.agb-viewer-card img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.agb-viewer-card:hover img {
  transform: scale(1.02);
}
.agb-viewer-card figcaption {
  background: rgba(16, 24, 32, 0.85);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  z-index: 2;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.3s ease;
}
.agb-viewer-card:hover figcaption {
  background: rgba(6, 79, 142, 0.95);
}
