*, *::before, *::after {
  box-sizing: border-box;
}
/* ---------------------------------------------
   1. VARIABLES & BASE STYLES
--------------------------------------------- */
/* === Root & Variables === */
:root {
  /* Colors */
  --color-primary: #187B98;
  --color-primary-alt: #187B98;
  --color-dark: #1E262E;
  --color-beige: #FEEEDD;
  --color-text: #687279;
  --color-link: #187B98;
  --color-link-hover: #1c3948;
  --color-accent: #1c3948;
  --color-lighter: #F4F7F8;
  --color-border: #e5e7eb;

  /* Typography */
  --font-family-base: 'Lexend', sans-serif;
  --font-size-base: 16px;
  --font-size-h1: 40px;
  --font-size-h2: 35px;
  --font-size-h3: 30px;
  --font-size-h4: 25px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;
  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* Layout */
  --max-width: 1290px;
  --section-padding-inline: 5vw;
  --container-padding-y: 60px;
  --container-padding-x: 5vw;
  --narrow-width: 750px;
  --container-width: 1290px;

  /* Dropdown Gaps */
  --dropdown-gap-default: 34px;
  --dropdown-gap-sticky: 6px;
  --dropdown-gap: var(--dropdown-gap-default);

  --header-height: 130px;
  --header-height-sticky: 91px;
}

/* ---------------------------------------------
   2. FONT DEFINITIONS (LEXEND)
--------------------------------------------- */
/* === Font Face Definitions === */
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-100.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-200.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('../fonts/lexend/lexend-v25-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------
   3. GLOBAL RESET & BASE STYLES
--------------------------------------------- */
/* === Global Reset & Base Styles === */
html, body {
  height: 100%;
  min-height: 100%;
}
html {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--color-text);
  min-height: 100vh;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--color-link-hover);
}

/* ---------------------------------------------
   4. TYPOGRAPHY
--------------------------------------------- */
/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: var(--font-weight-bold);
  margin-top: 0;
}
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

/* ---------------------------------------------
   5. NAVIGATION LINK STYLES
--------------------------------------------- */
.nav-link {
  margin: 0 18px;
  font-size: 16px;
  line-height: 21px;
}

/* ---------------------------------------------
   6. HEADER (DESKTOP + STICKY)
--------------------------------------------- */
/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  height: var(--header-height);
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none;
  display: block;
  --dropdown-gap: var(--dropdown-gap-default);
}



.site-header.sticky {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* --- Header inner layout --- */
.hero-inner,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--section-padding-inline);
  width: 100%;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
/* --- Logo container --- */
.logo {
  width: 225px;
  height: 130px;
  margin-right: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
/* --- Logo image size transition --- */
.logo img {
  height: 45px;
  width: 225px;
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
/* --- Main navigation list layout --- */
.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}
.main-nav li {
  position: relative;
}
.main-nav > ul > li > a {
  padding: 2px 0;
  margin: 0 0;
  font-size: 16px;
  font-weight: 500;
  color: #1c3948;
  line-height: 21px;
  letter-spacing: 0;
  transition: color 0.2s;
  display: inline-block;
  font-family: var(--font-family-base);
  text-decoration: none;
}

.main-nav > ul > li > a:hover {
  color: var(--color-primary);
}




/* --- Call-to-action button --- */
.call-button {
  font-size: 13px;
  padding: 5px 15px;
  min-height: 34px;
  line-height: 1.2;
  font-weight: 700;
  margin-left: 40px;
  font-family: var(--font-family-base);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
  gap: 0.5em;
  width: auto;
}
.call-button:hover,
.call-button:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.call-button::after,
.call-button::before {
  display: none !important;
  content: none !important;
}
.header-inner > * {
  flex-shrink: 0;
}

/* Dropdown Hover Bridge & Gap */
/* --- Hover bridge spacing --- */
.dropdown-hover-bridge {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: var(--dropdown-gap);
  pointer-events: auto;
  z-index: 999;
  background: transparent;
}
.main-nav li.has-dropdown {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* --- Dropdown visibility & transition --- */
.main-nav li.has-dropdown > ul.dropdown {
  display: block;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  position: absolute;
  top: calc(100% + var(--dropdown-gap));
  left: 0;
  min-width: 240px;
  background: #1E262E;
  box-shadow: 0 10px 24px rgba(30,38,46,0.09);
  z-index: 1000;
  border-radius: 0;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), visibility 0.22s;
}
.main-nav li.has-dropdown.dropdown-open > ul.dropdown {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
/* --- Dropdown arrow --- */
.main-nav li.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid #1c3948;
  border-bottom: 1px solid #1c3948;
  margin-left: 12px;
  margin-bottom: 0;
  transform: rotate(45deg);
  vertical-align: middle;
  position: relative;
  top: -2px;
  background: none;
  transition: border-color 0.18s;
}
.main-nav ul.dropdown > li {
  border-top: 1px dashed rgba(255,255,255,0.15);
}
.main-nav ul.dropdown > li:first-child {
  border-top: none;
}
/* --- Dropdown link styling --- */
.main-nav ul.dropdown > li > a {
  display: block;
  padding: 13px 19.5px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
  color: #fff;
  background: none;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
  text-align: left;
  font-family: var(--font-family-base);
  text-decoration: none;
}
.main-nav ul.dropdown > li > a:hover {
  background: #187B98;
  color: #fff;
}

/* Remove all border-radius from dropdowns and header elements */
.submenu,
.cta-button,
.header,
.nav-item,
.menu-item,
.menu-item a {
  border-radius: 0 !important;
}

/* ---------------------------------------------
   7. MOBILE NAVIGATION (OFFCANVAS)
--------------------------------------------- */
/* === Mobile Navigation === */
.offcanvas-panel {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 96vw;
  max-width: 388px;
  min-width: 260px;
  height: 100vh;
  background-color: var(--color-beige);
  z-index: 2001;
  box-shadow: -2px 0 24px 0 rgba(30,38,46,0.16), 0 2px 18px rgba(30,38,46,0.11);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.22s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: 0;
}
.offcanvas-panel.active {
  transform: translateX(0);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.22s;
}
.offcanvas-panel.closing {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.22s;
}

.offcanvas-panel.opening {
  transform: translateX(100%);
  opacity: 0;
  visibility: visible;
  pointer-events: auto;
}

.offcanvas-panel.opening.active {
  transform: translateX(20px);
  opacity: 0;
}

.offcanvas-panel.opening.active.transition-in {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.32s cubic-bezier(.4,0,.2,1);
}
.offcanvas-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(18, 21, 26, 0.95);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), opacity 0.22s;
  display: block;
}
.offcanvas-panel.active ~ .offcanvas-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 72px 24px 32px 24px !important;
  min-height: 100vh;
  justify-content: flex-start;
  background: none;
  box-sizing: border-box;
}
.offcanvas-close {
  position: absolute;
  top: 44px;
  right: var(--section-padding-inline);
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s;
}

/* Match hamburger responsive positioning exactly */
@media (max-width: 1350px) {
  .offcanvas-close {
    right: var(--section-padding-inline);
  }
}

@media (max-width: 1024px) {
  .offcanvas-close {
    right: 40px;
  }
}

@media (max-width: 900px) {
  .offcanvas-close {
    top: 38px;
    right: 30px;
  }
}

@media (max-width: 768px) {
  .offcanvas-close {
    top: 34px;
    right: 25px;
  }
}

@media (max-width: 600px) {
  .offcanvas-close {
    top: 30px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .offcanvas-close {
    top: 28px;
    right: 15px;
  }
}
.offcanvas-close:active {
  background: rgba(30,38,46,0.05);
}
.offcanvas-close .close-x {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  stroke: #1c3948;
  display: block;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), stroke 0.22s, opacity 0.18s;
  transform: rotate(0deg);
  opacity: 1;
}
.offcanvas-panel.active .offcanvas-close .close-x {
  transform: rotate(0deg);
  opacity: 1;
  stroke: #1c3948;
}
.offcanvas-panel.closing .offcanvas-close .close-x {
  transform: rotate(90deg);
  stroke: var(--color-primary);
}
.offcanvas-panel:not(.active) .offcanvas-close .close-x {
  transform: rotate(90deg);
  opacity: 0;
  stroke: var(--color-primary);
  transition-delay: 0s, 0s, 0.12s;
}
.mobile-nav-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 0;
  margin-bottom: 38px;
  min-height: 32px;
}
.hamburger {
  display: flex !important;
  background: none;
  border: none;
  padding: 0;
  margin-left: 0;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}
.hamburger svg {
  width: 18px;
  height: 14px;
  display: block;
}
.hamburger rect {
  fill: #1c3948;
  transition: fill 0.22s;
}
.hamburger .ct-label,
.hamburger span {
  display: none !important;
}

/* Mobile Menu Items & Submenus */
.mobile-nav > ul,
.mobile-nav ul.dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav > ul > li > a,
.mobile-nav > ul > li > .dropdown-container {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 33px;
  color: #1c3948;
  background: none;
  padding: 3px 0 3px 0;
  border-bottom: none;
  letter-spacing: 0;
  transition: color 0.16s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav .dropdown-container {
  width: 100%;
  position: relative;
}

.mobile-nav .dropdown-link {
  flex: 1;
  color: inherit;
  text-decoration: none;
  transition: color 0.16s;
  padding-right: 50px;
}

.mobile-nav .chevron-toggle {
  background: none;
  border: none;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s, transform 0.1s;
  border-radius: 4px;
  width: 42px;
  height: 42px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Align chevron with close button across all screen sizes */
@media (max-width: 1350px) {
  .mobile-nav .chevron-toggle {
    right: calc(var(--section-padding-inline) - 24px);
  }
}

@media (max-width: 1024px) {
  .mobile-nav .chevron-toggle {
    right: calc(40px - 24px);
  }
}

@media (max-width: 900px) {
  .mobile-nav .chevron-toggle {
    right: calc(30px - 24px);
  }
}

@media (max-width: 768px) {
  .mobile-nav .chevron-toggle {
    right: calc(25px - 24px);
  }
}

@media (max-width: 600px) {
  .mobile-nav .chevron-toggle {
    right: calc(20px - 24px);
  }
}

@media (max-width: 480px) {
  .mobile-nav .chevron-toggle {
    right: calc(15px - 24px);
  }
}

.mobile-nav .chevron-toggle:hover {
  background-color: transparent;
}

.mobile-nav .chevron-toggle:active {
  transform: scale(0.95);
  background-color: transparent;
}

.mobile-nav .chevron-toggle:focus {
  background-color: transparent;
  outline: none;
}

.mobile-nav .chevron-toggle svg {
  display: block;
  width: 12px;
  height: 8px;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1);
  transform: none;
}

.mobile-nav li.has-dropdown.open .chevron-toggle svg {
  transform: rotate(180deg);
}
.mobile-nav li.has-dropdown > ul.dropdown {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(.5,0,.1,1),
    opacity 0.26s cubic-bezier(.5,0,.1,1),
    transform 0.28s cubic-bezier(.5,0,.1,1);
  will-change: max-height, opacity, transform;
  display: block;
  pointer-events: none;
}
.mobile-nav li.has-dropdown.open > ul.dropdown {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    max-height 0.4s cubic-bezier(.5,0,.1,1),
    opacity 0.26s cubic-bezier(.5,0,.1,1),
    transform 0.28s cubic-bezier(.5,0,.1,1);
}
.mobile-nav ul.dropdown > li > a {
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  padding: 8px 0 8px 26px;
  color: #1c3948;
  background: none !important;
}
.mobile-nav > ul > li > a:hover,
.mobile-nav .dropdown-link:hover,
.mobile-nav ul.dropdown > li > a:hover {
  color: #187B98;
  background: none;
}

/* Active/current page styling */
.mobile-nav > ul > li > a.active,
.mobile-nav .dropdown-link.active,
.mobile-nav ul.dropdown > li > a.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* Active state for dropdown items */
.mobile-nav ul.dropdown > li > a.active {
  font-weight: 600;
}

/* Desktop navigation active styling */
.main-nav > ul > li > a.active,
.main-nav ul.dropdown > li > a.active {
  color: var(--color-primary);
}
.mobile-contact-info {
  margin-top: 0;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  margin-top: 16px !important;
  margin-bottom: 0;
  padding-left: 0px;
  width: 100%;
  flex-wrap: nowrap;
}
.mobile-contact-block {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.contact-label {
  font-size: 15px;
  color: #1c3948;
  font-weight: 400;
  margin-right: 0;
  margin-bottom: 0;
}
.contact-value {
  font-size: 15px;
  color: #1c3948;
  font-weight: 700;
  margin-bottom: 0;
}
.contact-value a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}
.contact-value a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------
   8. FOOTER
--------------------------------------------- */
/* === Footer === */
.site-footer {
  background-color: #fff;
  color: #1E262E;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}
.footer-row {
  display: grid;
  align-items: flex-start;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr);
  gap: 120px;
  padding-top: 50px;
  padding-bottom: 50px;
  min-width: 0;
}
.footer-col,
.footer-col-intro {
  min-width: 0;
  font-size: 16px;
  line-height: 1.65;
}
.footer-col-intro {
  max-width: 320px;
  font-size: 16px;
  line-height: 1.45;
  white-space: normal;
}
.footer-col p {
  color: #1E262E;
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.65;
}
.footer-col strong,
.footer-col a strong,
.footer-col-intro strong,
.footer-col-intro a strong {
  font-weight: 700 !important;
  color: #1E262E !important;
}
.footer-col a {
  color: #1b7d9a;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}
.footer-col a:hover {
  color: #1c3948;
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: none;
}
.footer-copyright {
  color: #687279;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  margin: 0;
  padding: 25px 0;
  text-align: center;
}
.footer-col:last-child a,
.footer-col:last-child address,
.footer-col:last-child strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

@media (min-width: 1200px) {
  .footer-container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ---------------------------------------------
   9. LAYOUT HELPERS & UTILITIES
--------------------------------------------- */
/* === Layout & Utility Classes === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.container--narrow {
  max-width: var(--narrow-width);
}
.cta-button {
  padding: 5px 15px;
  font-size: 13px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.cta-button:hover {
  background: #1c3948;
  color: #fff;
  border-color: var(--hover-color);
}

/* ---------------------------------------------
   10. SOCIAL ICON STYLING
--------------------------------------------- */
/* Social Icon SVG Stroke & Color Override */
.social-icon svg,
.social-icon svg path,
.social-icon svg *,
a.social-icon svg,
a.social-icon svg path,
a.social-icon svg * {
  stroke: #1e2b32 !important;
  color: #1e2b32 !important;
}
.social-icons a {
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons a svg {
  stroke: currentColor !important;
  fill: currentColor !important;
}
.social-icons svg {
  width: 24px;
  height: 24px;
  stroke: currentColor !important;
  fill: currentColor !important;
  transition: stroke 0.3s ease, fill 0.3s ease;
}
.social-icons {
  color: #000;
}
.social-icons a:hover svg {
  stroke: #000 !important;
}

/* ---------------------------------------------
   11. RESPONSIVE BREAKPOINTS
--------------------------------------------- */
/* Responsive Styles */
@media (max-width: 1200px) {
  .services-showcase__grid {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .services-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card__content {
    padding: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  .service-card__title {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin: 0 0 1rem;
    padding-bottom: 1rem;
  }
  
  .service-card__text {
    font-size: 0.9375rem;
    margin: 0 0 1.5rem;
  }
}

@media (max-width: 600px) {
  .services-showcase__grid {
    grid-template-columns: 1fr;
  }
  
  .service-card__content {
    padding: 1.75rem;
  }
  
  .service-card__title {
    font-size: 1.25rem;
  }
  
  .service-card__text {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
  }
  .logo {
    width: 150px;
    height: 80px;
  }
  .logo img {
    height: 32px;
    width: auto;
  }
  .header-inner {
    flex-direction: column;
    gap: 10px;
    height: auto;
    justify-content: center;
  }
  .main-nav {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .main-nav ul {
    gap: 72px;
    flex-wrap: wrap;
  }
  .call-button {
    width: 100%;
    margin: 10px 0 0 0;
    text-align: center;
  }
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    min-width: 310px;
  }
  .footer-col,
  .footer-col-intro {
    max-width: none;
    min-width: 0;
  }
}
@media (max-width: 700px) {
  .call-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .footer-container {
    padding: 0 4vw;
  }
  .footer-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .footer-col,
  .footer-col-intro {
    max-width: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .footer-bottom {
    padding-bottom: 0;
  }
}
@media (max-width: 600px) {
  .footer-container {
    padding: 0 4vw;
  }
  .footer-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
    min-width: 220px;
  }
  .footer-col,
  .footer-col-intro {
    max-width: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .footer-bottom {
    padding-bottom: 0;
  }
}
@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  .main-nav {
    display: none !important;
  }
  .call-button {
    display: none !important;
  }
  .dropdown-hover-bridge {
    display: none;
  }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 16px 5vw 12px 5vw !important;
    height: auto;
  }
  .logo {
    margin: 0 !important;
    width: 150px !important;
    height: 60px !important;
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }
  .hamburger {
    margin: 0 !important;
    padding: 0 !important;
    width: 42px !important;
    height: 42px !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    outline: none;
    display: flex !important;
  }
  .hamburger svg {
    width: 18px !important;
    height: 14px !important;
    display: block;
    margin: 0;
    padding: 0;
  }
  .hamburger rect {
    fill: #1c3948;
    transition: fill 0.22s;
  }
  .hamburger {
    margin-right: -4px !important;
  }
}
@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
  .offcanvas-panel,
  .offcanvas-backdrop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
@media (min-width: 431px) and (max-width: 991px) {
  .offcanvas-panel {
    padding-top: 0 !important;
  }
  .mobile-nav {
    padding-top: 54px !important;
    padding-bottom: 32px !important;
  }
}
@media (min-width: 431px) {
  .offcanvas-panel {
    width: 90vw;
    max-width: 532px;
    min-width: 300px;
    left: auto;
    right: 0;
  }
}
@media (max-width: 500px) {
  .mobile-nav {
    padding: 52px 24px 24px 24px !important;
  }
}

body.offcanvas-open {
  overflow: hidden;
  height: 100vh;
}

/* ---------------------------------------------
   12.WHATSAPP BUTTON STYLING
--------------------------------------------- */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: var(--font-family-base);
}

.whatsapp-button a {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1D2B36;
  color: #fff;
  padding: 12px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-button a:hover {
  background-color: #1b7d9a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-button span {
  white-space: nowrap;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mobile collapsed state */
@media (max-width: 768px) {
  .whatsapp-button.collapsed a {
    gap: 0;
    padding: 12px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
  }
  
  .whatsapp-button.collapsed span {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: opacity 0.2s ease-out, width 0.6s ease-out 0.2s;
  }
}

/* ---------------------------------------------
   END OF GLOBAL STYLES
--------------------------------------------- */

/* ---------------------------------------------
   IMPROVED RESPONSIVE FIXES
--------------------------------------------- */

/* Header: Only add padding when content would touch edges */
.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  /* No padding by default - let max-width handle centering */
}

/* Only add header padding when viewport is smaller than max-width + comfortable margin */
@media (max-width: 1350px) {
  .header-inner {
    padding: 0 var(--section-padding-inline);
  }
}

/* Footer: only pad when needed */
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
  min-width: 0;
  /* Remove the padding - let max-width handle centering */
}

/* Only add footer padding when viewport is smaller than max-width + margin */
@media (max-width: 1350px) {
  .footer-container {
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
  }
}

/* Refined breakpoint structure */
@media (max-width: 1200px) and (min-width: 992px) {
  .header-inner {
    padding: 0 40px;
  }
  
  .footer-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  .footer-row {
    grid-template-columns: minmax(200px, 1fr) minmax(150px, 0.8fr) minmax(170px, 0.9fr) minmax(250px, 1.1fr);
    gap: 60px;
  }
  
  .main-nav ul {
    gap: 30px;
  }
}

/* Navigation adjustments for tighter spaces */
@media (max-width: 1100px) and (min-width: 992px) {
  .main-nav ul {
    gap: 20px;
  }
  
  .call-button {
    margin-left: 20px;
    font-size: 12px;
    padding: 4px 12px;
  }
}

/* Tablet breakpoint improvements */
@media (max-width: 991px) and (min-width: 769px) {
  .header-inner {
    padding: 16px 30px 12px 30px !important;
  }
  
  .footer-container {
    padding: 0 30px;
  }
  
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* Small tablet adjustments */
@media (max-width: 768px) and (min-width: 601px) {
  .header-inner {
    padding: 16px 25px 12px 25px !important;
  }
  
  .footer-container {
    padding: 0 25px;
  }
}

/* Mobile improvements */
@media (max-width: 600px) {
  .header-inner {
    padding: 16px 20px 12px 20px !important;
  }
  
  .footer-container {
    padding: 0 20px;
    min-width: 280px;
  }
  
  .footer-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  
  .footer-col,
  .footer-col-intro {
    max-width: none;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .header-inner {
    padding: 16px 15px 12px 15px !important;
  }
  
  .footer-container {
    padding: 0 15px;
    min-width: 260px;
  }
  
  .logo {
    width: 120px !important;
    height: 50px !important;
  }
  
  .logo img {
    height: 28px;
  }
}

/* Prevent horizontal overflow */
body {
  overflow-x: hidden;
}

/* Ensure all content boxes properly contain their content */
* {
  box-sizing: border-box;
}

/* Fix mobile navigation panel width on very small screens */
@media (max-width: 430px) {
  .offcanvas-panel {
    width: 95vw;
    min-width: 280px;
  }
  
  .mobile-nav {
    padding: 52px 20px 24px 20px !important;
  }
}

/* Additional safety for footer content wrapping */
.footer-col:last-child a,
.footer-col:last-child address,
.footer-col:last-child strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  hyphens: auto;
}

/* Ensure navigation doesn't cause horizontal scroll */
.main-nav ul {
  flex-wrap: nowrap;
  overflow: visible;
}

/* Better intermediate breakpoints for smoother scaling */
@media (max-width: 1400px) and (min-width: 1201px) {
  .footer-row {
    gap: 80px;
  }
}

/* === DO NOT MODIFY: Shared header/footer/nav styles for all pages === */



/* ---------------------------------------------
   START OF PAGE STYLES
--------------------------------------------- */

/* ---------------------------------------------
   1. Homepage Styles
--------------------------------------------- */

/* === Homepage Base Layout === */
.homepage {
  overflow-x: hidden;
}

.homepage-hero__container,
.homepage-services__container,
.homepage-gallery__container,
.homepage-reviews__container,
.homepage-benefits__container,
.homepage-stats__container,
.homepage-cta__container {
  max-width: var(--container-width); /* 1290px */
  margin: 0 auto;
  padding: 0 var(--section-padding-inline); /* 5vw on smaller screens */
}

/* Override for larger screens to use adequate padding */
@media (min-width: 1320px) {
  .homepage-hero__container,
  .homepage-services__container,
  .homepage-gallery__container,
  .homepage-reviews__container,
  .homepage-stats__container,
  .homepage-cta__container {
    padding: 0 12px; /* Minimal padding for large screens */
  }
}

/* Remove padding for benefits section on very wide screens */
@media (min-width: 1310px) {
  .homepage-benefits__container {
    padding: 0;
  }
}

/* === Hero Section === */
.homepage-hero {
  padding: 0;
  position: relative;
  z-index: 1;
}

.homepage-hero__container {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 0;
  align-items: center;
}

.homepage-hero__content {
  padding-right: 0px;
  z-index: 10;
}

.homepage-hero__reviews {
  margin-bottom: 28px;
}

.google-review-snippet {
  font-family: var(--font-family-base);
  margin-right: -100px;
}

.google-review-snippet .stars {
  color: #ffc107;
  font-size: 16px;
  margin-right: 8px;
}

.google-review-snippet .text {
  font-size: 14px;
  color: var(--color-text);
  margin-right: 8px;
}

.google-review-snippet a {
  font-size: 14px;
  color: var(--color-primary);
  text-decoration: underline;
}

.homepage-hero__title {
  font-size: 60px;
  line-height: 1.5;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin: 0 -370px 28px 0;
  z-index: 10;
  position: relative;
}

.homepage-hero__title .text-primary {
  color: var(--color-primary);
}

.homepage-hero__description {
  font-size: 20px;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 28px;
  margin-right: -100px;
}

.homepage-hero__image {
  position: relative;
  margin: 0 -120px 0 120px;
  z-index: 0;
}

/* Only for homepage-copy-4.html - bring hero image in front of diagonal background */
.homepage .homepage-hero__image {
  z-index: 5;
}

.homepage-hero__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, transparent 30%);
  pointer-events: none;
  z-index: 1;
}

.homepage-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 800px;
  position: relative;
  z-index: 0;
}


/* === Hero Animation === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial hidden state for hero content */
.homepage-hero__reviews,
.homepage-hero__title,
.homepage-hero__description,
.homepage-hero__content .btn {
  opacity: 0;
  transform: translateY(36px);
}

/* Cascading animation classes */
.homepage-hero__reviews {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0s;
}

.homepage-hero__title {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.homepage-hero__description {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.homepage-hero__content .btn {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  margin-right: -100px;
}

/* === Trust Section === */
/* 
 * Clean trust section component with two layout variants:
 * - .trust-section--cards: Traditional card layout (5 columns)
 * - .trust-section--buttons: Horizontal button layout (compact)
 * 
 * Both variants inherit the same base styling and hover effects.
 * Responsive design uses mobile-first approach with unified breakpoints.
 */
.trust-section {
  padding: 0;
  background: #2C3639;
  position: relative;
  margin-top: -20px;
  z-index: 3;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  background-size: 100% 100%, 200px 200px, 200px 200px;
}

.trust-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(0deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px, rgba(255, 255, 255, 0.03) 26px, transparent 27px, transparent 49px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 51px, transparent 52px),
    linear-gradient(90deg, transparent 24px, rgba(255, 255, 255, 0.03) 25px, rgba(255, 255, 255, 0.03) 26px, transparent 27px, transparent 49px, rgba(255, 255, 255, 0.03) 50px, rgba(255, 255, 255, 0.03) 51px, transparent 52px);
  background-size: 50px 50px;
}

.trust-section__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--section-padding-inline);
  position: relative;
  z-index: 2;
}

.trust-section__header {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}

.trust-section__header::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #687279, transparent);
}

.trust-section__overline {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-lighter);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
}

.trust-section__overline::before {
  content: '◄';
  position: absolute;
  left: -20px;
  color: #687279;
  font-size: 8px;
}

.trust-section__overline::after {
  content: '►';
  position: absolute;
  right: -20px;
  color: #687279;
  font-size: 8px;
}

.trust-section__title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.trust-section__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1290px;
  margin: 0 auto;
  padding-bottom: 60px;
  position: relative;
}

/* === Trust Items Base === */
.trust-item {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(104, 114, 121, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* === Trust Section Cards Layout === */
.trust-section--cards .trust-item {
  flex: 0 0 calc(20% - 19.2px);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* === Trust Section Buttons Layout === */
.trust-section--buttons .trust-item {
  flex: 0 0 auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  min-height: auto;
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(104, 114, 121, 0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.trust-item::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #687279, rgba(104, 114, 121, 0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.trust-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-color: #687279;
}

.trust-item:hover::before {
  opacity: 1;
}

.trust-item:hover::after {
  opacity: 1;
}

/* === Trust Item Elements === */
.trust-item__header {
  position: relative;
}

.trust-item__number {
  font-size: 12px;
  font-weight: 600;
  color: #687279;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-item__icon {
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.trust-item__text {
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.trust-item__accent {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #687279;
  border-radius: 50%;
  box-shadow: 0 0 8px #687279;
}

/* === Cards Layout Element Styles === */
.trust-section--cards .trust-item__header {
  margin-bottom: 20px;
}

.trust-section--cards .trust-item__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.trust-section--cards .trust-item__text {
  font-size: 16px;
}

.trust-section--cards .trust-item__accent {
  top: 12px;
  right: 12px;
}

/* === Buttons Layout Element Styles === */
.trust-section--buttons .trust-item__header {
  margin-bottom: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.trust-section--buttons .trust-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.trust-section--buttons .trust-item__text {
  font-size: 13px;
  flex-grow: 1;
  white-space: nowrap;
}

.trust-section--buttons .trust-item__accent {
  top: 8px;
  right: 8px;
  flex-shrink: 0;
}

.trust-item__accent::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border: 1px solid rgba(104, 114, 121, 0.3);
  border-radius: 50%;
  animation: trust-pulse 2s infinite;
}

@keyframes trust-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* === Trust Section Responsive Design === */

/* === Cards Layout Responsive === */
@media (max-width: 1024px) {
  .trust-section__grid {
    gap: 20px;
  }
  
  .trust-section--cards .trust-item {
    flex: 0 0 calc(33.33% - 13.33px);
  }
}

@media (max-width: 700px) {
  .trust-section__grid {
    gap: 18px;
  }
  
  .trust-section--cards .trust-item {
    flex: 0 0 calc(50% - 9px);
  }
  
  .trust-section--cards .trust-item__icon {
    width: 40px;
    height: 40px;
  }
  
  .trust-section--cards .trust-item__text {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .trust-section__header {
    padding: 50px 0 30px;
  }
  
  .trust-section__title {
    font-size: 26px;
  }
  
  .trust-section__grid {
    gap: 16px;
    padding-bottom: 50px;
  }
  
  .trust-section--cards .trust-item {
    flex: 0 0 calc(50% - 8px);
    padding: 24px 16px;
  }
  
  .trust-section--cards .trust-item__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }
  
  .trust-section--cards .trust-item__text {
    font-size: 14px;
  }
}

/* === Buttons Layout Responsive === */
@media (max-width: 1024px) {
  .trust-section--buttons .trust-item {
    padding: 12px 14px;
    gap: 6px;
    justify-content: center;
  }
  
  .trust-section--buttons .trust-item__text {
    font-size: 12px;
    text-align: center;
  }
  
  .trust-section--buttons .trust-item__accent {
    top: 6px;
    right: 6px;
  }
}

@media (max-width: 700px) {
  .trust-section--buttons .trust-item {
    padding: 10px 12px;
    gap: 6px;
    flex: 0 0 calc(50% - 9px);
    justify-content: center;
  }
  
  .trust-section--buttons .trust-item:nth-child(5) {
    margin: 0 auto;
  }
  
  .trust-section--buttons .trust-item__icon {
    width: 16px;
    height: 16px;
  }
  
  .trust-section--buttons .trust-item__text {
    font-size: 11px;
    text-align: center;
  }
  
  .trust-section--buttons .trust-item__accent {
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 480px) {
  .trust-section--buttons .trust-item {
    padding: 12px 8px;
    gap: 5px;
    flex: 0 0 calc(50% - 8px);
    justify-content: center;
  }
  
  .trust-section--buttons .trust-item:nth-child(5) {
    margin: 0 auto;
  }
  
  .trust-section--buttons .trust-item__icon {
    width: 14px;
    height: 14px;
  }
  
  .trust-section--buttons .trust-item__text {
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }
  
  .trust-section--buttons .trust-item__accent {
    top: 6px;
    right: 6px;
  }
}


/* === Services Section === */
.homepage-services {
  padding: 60px 0 40px;
}

.homepage-services__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.homepage-services__header {
  text-align: center;
  margin-bottom: 50px;
}

.homepage-services__link {
  margin-bottom: 10px;
}

.homepage-services__link a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.homepage-services__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

.homepage-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 40px;
}

.homepage-service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.homepage-service-card__icon {
  margin-bottom: 24px;
  flex-shrink: 0;
}

.homepage-service-card__icon svg {
  color: var(--color-primary);
  width: 55px;
  height: 55px;
}

.homepage-service-card__content {
  flex: 1;
}

.homepage-service-card__title {
  font-size: var(--font-size-h5);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: 20px;
}

.homepage-service-card__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.homepage-service-card__link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  margin-top: 20px;
}

.homepage-service-card__link::after {
  content: '→';
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.homepage-service-card__link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.homepage-service-card__link:hover::after {
  transform: translateX(2px);
}

/* === Responsive Design for Services === */
@media (max-width: 1024px) {
  .homepage-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

@media (max-width: 700px) {
  .homepage-services {
    padding: 50px 0 70px;
  }
  
  .homepage-services__header {
    margin-bottom: 30px;
  }
  
  .homepage-services__title {
    font-size: 30px;
  }
  
  .homepage-services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .homepage-service-card__icon {
    margin-bottom: 20px;
  }
  
  .homepage-service-card__icon svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 650px) {
  .homepage-services__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .homepage-services {
    padding: 40px 0 60px;
  }
  
  .homepage-service-card__title {
    font-size: 18px;
  }
  
  .homepage-service-card__description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .homepage-services__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .homepage-service-card__icon svg {
    width: 60px;
    height: 60px;
  }
}

/* === Gallery Section === */
.homepage-gallery {
  padding: 60px 0 120px;
}

/* Reduce bottom padding on mobile and tablet */
@media (max-width: 1023px) {
  .homepage-gallery {
    padding: 0 0 60px; /* Reduced from 120px to 60px */
  }
}

.homepage-gallery__header {
  text-align: center;
  margin-bottom: 50px;
}

.homepage-gallery__link {
  margin-bottom: 10px;
}

.homepage-gallery__link a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.homepage-gallery__title {
  font-size: var(--font-size-h2);
  line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
}

.homepage-gallery__slider {
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: auto;
  transition: height 0.3s ease;
}

.gallery-pair {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
}

.gallery-pair.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.gallery-pair.prev {
  transform: translateX(-100%);
}

.gallery-image {
  flex: 1;
}

.gallery-image img {
  width: 100%;
  aspect-ratio: 1200/800;
  object-fit: cover;
  border-radius: 0;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 40px;
}

.gallery-dot {
  width: 14px;
  height: 14px;
  background-color: #d8d6d6;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  border-radius: 0;
}

.gallery-dot.active {
  background-color: #282828;
}

/* Mobile responsive styles for gallery */
@media (max-width: 767px) {
  .gallery-pair {
    flex-direction: column;
    gap: 20px;
  }
  
  .gallery-image {
    flex: none;
  }
}

/* === Reviews Section === */
.homepage-reviews {
  background-color: var(--color-dark);
  padding: 100px 0 80px;
  color: #fff;
  position: relative;
}

.reviews-slider {
  text-align: center;
  margin-bottom: 0;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: grab;
  display: flex;
  align-items: center;
}

.reviews-slider:active {
  cursor: grabbing;
}

.reviews-pagination {
  cursor: default;
}

.review-dot {
  cursor: pointer;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 60px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.review-slide.prev {
  transform: translateX(-100%);
}

.review-quote {
  color: var(--color-primary);
  margin-bottom: 28px;
  text-align: left;
}

.review-quote svg {
  width: 60px;
  height: 60px;
}

.review-stars {
  margin-bottom: 22px;
  text-align: left;
}

.review-stars .stars {
  color: #ffb426;
  font-size: 22px;
}

.review-content {
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
  color: #fff;
  margin: 0;
  text-align: left;
  font-style: normal;
  padding: 0;
}

.review-author {
  text-align: left;
  font-style: normal;
  margin-top: 23px;
  display: block;
}

.review-author strong {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 0;
}

.review-author span {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.reviews-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 60px;
}

.review-dot {
  width: 14px;
  height: 14px;
  background-color: #d3cfcf;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.review-dot.active {
  background-color: var(--color-primary);
}

/* Intermediate breakpoint for desktop-tablet gap */
@media (min-width: 1024px) and (max-width: 1320px) {
  .reviews-slider {
    min-height: 920px;
  }
}

/* Small tablet / Large phone breakpoint */
@media (min-width: 481px) and (max-width: 767px) {
  .reviews-slider {
    min-height: 480px;
  }
}

/* === Benefits Section === */
.homepage-benefits {
  padding: 100px 0 80px;
}

.homepage-benefits__header {
  text-align: center;
  margin-bottom: 100px;
}

.homepage-benefits__subtitle {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 10px;
}

.homepage-benefits__title {
  font-size: var(--font-size-h2);
  line-height: 1.5;
  color: var(--color-dark);
  margin: 0;
}

.homepage-benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 30px;
  align-items: center;
}

.homepage-benefits__column {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.homepage-benefits__column:last-child .benefit-item {
  text-align: right;
}

.benefit-item__title {
  font-size: var(--font-size-h4);
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.benefit-item__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 30px;
}

.homepage-benefits__illustration img {
  width: 100%;
  height: auto;
}


/* === Homepage Stats Section === */
.homepage-stats {
  padding: 80px 0;
  background-color: #fff;
  margin-bottom: 0px;
}

.homepage-stats__container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0px 0 60px 0;
  text-align: center;
}

@media (min-width: 1400px) {
  .homepage-stats__container {
    max-width: 1600px;
  }
}

@media (max-width: 1350px) {
  .homepage-stats__container {
    padding: 0 var(--section-padding-inline);
  }
}

.homepage-stats .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.homepage-stats .section-header .homepage-stats__subtitle {
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: inherit;
}

.homepage-stats .section-header h2 {
  text-align: center;
  margin: 0 0 40px 0;
  color: var(--color-dark);
  line-height: 1.5;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
}

.homepage-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin: 60px 0;
  background: transparent;
  padding: 0;
}

.homepage-stats .stat-item {
  text-align: center;
  position: relative;
}

.homepage-stats .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: rgba(104, 114, 121, 0.2);
}

.homepage-stats .stat-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.homepage-stats .stat-number::after {
  content: '+';
}

.homepage-stats .stat-label {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 400;
  text-transform: none;
}

/* === Final CTA Section === */
.homepage-cta {
  background-color: var(--color-dark);
  padding: 120px 0;
  margin-bottom: 60px;
}

.homepage-cta__container {
  text-align: center;
  max-width: 1000px;
}

.homepage-cta__title {
  font-size: var(--font-size-h2);
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20px;
}

.homepage-cta__description {
  font-size: 20px;
  color: #deeaed;
  margin-bottom: 20px;
}

/* Button Styles */
.btn-dark {
  background-color: var(--color-dark);
  color: #fff;
}

.btn-dark:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-light {
  background-color: var(--color-primary);
  color: #fff;
}

.btn-light:hover {
  background-color: #219abe;
  color: #fff;
}

.btn-secondary {
  background-color: var(--color-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.65;
  padding: 14px 25px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 30px;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* === Responsive Design === */


/* Tablet Layout - 1024px */
@media (max-width: 1024px) {
  .homepage-hero {
    padding: 0;
  }
  
  .homepage-hero__title {
    font-size: 40px;
    margin-right: -200px;
  }
  
  .homepage-hero__description {
    font-size: 18px;
    margin-bottom: 50px;
  }
  
  .homepage-hero__image {
    margin: 0 -50px 0 50px;
  }
  
  .homepage-services {
    padding: 40px 0 20px 0;
  }
  
  .homepage-services__container {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .homepage-services__intro {
    padding: 60px 40px;
    text-align: center;
  }
  
  .homepage-services__title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  
  .homepage-services__description {
    font-size: 18px;
  }
  
  .homepage-services__grid {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  
  .homepage-service-card {
    padding: 0;
    max-width: 100%;
    margin-bottom: 50px;
  }
  
  .homepage-service-card:nth-child(even) {
    padding-left: 0;
  }
  
  .homepage-service-card__icon {
    margin-bottom: 35px;
  }
  
  .homepage-gallery {
    padding: 0 0 50px;
  }
  
  .homepage-gallery__header {
    margin-bottom: 30px;
  }
  
  .homepage-gallery__title {
    font-size: 30px;
  }
  
  .homepage-reviews {
    padding: 80px 0 80px;
  }
  
  .reviews-slider {
    min-height: 520px;
  }
  
  .review-slide {
    padding: 0 10px;
  }
  
  .review-quote svg {
    width: 26px;
    height: 26px;
  }
  
  .review-content {
    font-size: 32px;
    font-weight: 400;
    line-height: 42px;
    margin: 0;
    padding: 0;
  }
  
  .review-author strong {
    font-size: 16px;
  }
  
  .reviews-pagination .review-dot {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
  
  .homepage-benefits {
    padding: 40px 0 80px;
  }
  
  .homepage-benefits__header {
    margin-bottom: 40px;
  }
  
  .homepage-benefits__title {
    font-size: 30px;
  }
  
  .homepage-benefits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 40px 30px;
  }
  
  .homepage-benefits__column {
    gap: 50px;
  }
  
  .homepage-benefits__column:first-child {
    display: contents;
  }
  
  .homepage-benefits__column:first-child .benefit-item:first-child {
    grid-column: 1;
    grid-row: 1;
  }
  
  .homepage-benefits__column:first-child .benefit-item:last-child {
    grid-column: 2;
    grid-row: 1;
  }
  
  .homepage-benefits__illustration {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .homepage-benefits__column:last-child {
    display: contents;
  }
  
  .homepage-benefits__column:last-child .benefit-item:first-child {
    grid-column: 1;
    grid-row: 3;
  }
  
  .homepage-benefits__column:last-child .benefit-item:last-child {
    grid-column: 2;
    grid-row: 3;
  }
  
  .homepage-benefits__column:first-child .benefit-item:first-child {
    text-align: left;
  }
  
  .homepage-benefits__column:first-child .benefit-item:last-child {
    text-align: right;
  }
  
  .homepage-benefits__column:last-child .benefit-item:first-child {
    text-align: left;
  }
  
  .homepage-benefits__column:last-child .benefit-item:last-child {
    text-align: right;
  }
  
  .homepage-benefits__illustration {
    text-align: center;
  }
  
  
  .benefit-item__title {
    font-size: 20px;
  }
  
  .homepage-stats {
    margin-bottom: 80px;
  }
  
  .homepage-stats__content {
    padding: 80px 40px;
  }
  
  .homepage-stats__title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  
  .homepage-stats__description {
    font-size: 18px;
  }
  
  .stats-counter {
    padding: 70px 30px;
  }
  
  .counter-number,
  .counter-suffix {
    font-size: 30px;
  }
  
  .stats-counter:first-child .counter-number {
    font-size: 30px;
  }
  
  .stats-counter:first-child .counter-label {
    font-size: 16px;
  }
  
  .homepage-cta {
    padding: 80px 0;
  }
  
  .homepage-cta__title {
    font-size: 25px;
  }
  
  .homepage-cta__description {
    font-size: 18px;
  }

  /* Simple Stats Section */
  .homepage-stats {
    padding: 60px 0;
    margin-bottom: 40px;
  }

  .homepage-stats .stats-grid {
    gap: 40px;
  }

  .homepage-stats .stat-number {
    font-size: 3rem;
  }

  .homepage-stats .stat-label {
    font-size: 1rem;
  }

  .homepage-stats .stat-item:not(:last-child)::after {
    height: 60px;
    right: -20px;
  }
}

/* Medium Tablet Layout - 980px and below */
@media (max-width: 980px) {
  .homepage-stats__container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .homepage-stats__content {
    text-align: center;
    padding: 80px 40px;
  }
  
  .homepage-stats__image {
    order: 2;
  }
  
  .homepage-stats__counters {
    order: 3;
  }

  /* Simple Stats Section */
  .homepage-stats .stats-grid {
    gap: 30px;
  }
}

/* Mobile Layout - 767px and below */
@media (max-width: 767px) {
  .homepage-hero {
    min-height: 700px;
    padding: 80px 0 80px 0;
    background:
      linear-gradient(to bottom, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.3) 100%),
      url('/assets/images/home/trockenbau-plus-handwerker-coesfeld.webp');
    background-position: center 60%;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
  }
  
  .homepage-hero__image::after {
    display: none;
  }

  
  
  .homepage-hero__container {
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: center;
  }
  
  .homepage-hero__content {
    padding-right: 0;
    text-align: center;
    order: 1;
  }
  
  .homepage-hero__title {
    font-size: 30px;
    margin: 0 0 20px 0;
  }
  
  .homepage-hero__description {
    text-align: center;
    margin-right: 0;
  }
  
  .homepage-hero__image {
    display: none;
  }
  
  
  .homepage-services__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .homepage-service-card__link {
    margin-top: 0px;
    margin-bottom: 28px;
  }

  .homepage-service-card {
    width: 100%;
  }
  
  .homepage-service-card__icon {
    margin-bottom: 15px;
  }
  
  .service-card:last-child {
    margin-bottom: 0;
  }
  
  .gallery-slide {
    width: 100%;
    padding: 0;
  }
  
  .gallery-pagination .gallery-dot {
    width: 14px;
    height: 14px;
    margin-right: 6px;
  }
  
  .review-content {
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
    padding: 0;
  }
  
  .homepage-stats__container {
    grid-template-columns: 1fr;
  }
  
  .homepage-stats__content {
    text-align: center;
  }
  
  .homepage-stats__image {
    min-height: 330px;
  }
  
  .homepage-stats__counter-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .google-review-snippet {
    margin-right: 0px;
  }

  .homepage-hero__content .btn {
    margin-right: 0px !important;
  }
}

@media (max-width: 700px) {
  .homepage-hero {
    min-height: 700px;
    padding: 80px 0 80px 0;
    background-position: center 50%;
  }
}

/* Small tablet and mobile - 650px */
@media (max-width: 650px) {
  .homepage-benefits {
    padding: 40px 0 60px;
  }
  
  .homepage-benefits__title {
    font-size: 24px;
  }
  
  .homepage-benefits__grid {
    grid-template-columns: 1fr;
    gap: 80px;
    text-align: center;
  }
  
  .homepage-benefits__column {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  
  .homepage-benefits__column:first-child {
    display: flex;
  }
  
  .homepage-benefits__column:last-child {
    display: flex;
  }
  
  .homepage-benefits__column:first-child .benefit-item:first-child,
  .homepage-benefits__column:first-child .benefit-item:last-child,
  .homepage-benefits__column:last-child .benefit-item:first-child,
  .homepage-benefits__column:last-child .benefit-item:last-child {
    grid-column: unset;
    grid-row: unset;
    text-align: center;
  }
  
  .homepage-benefits__illustration {
    grid-column: unset;
    grid-row: unset;
    max-width: none;
  }
  
  .benefit-item__title {
    font-size: 20px;
  }
  
  .benefit-item__description {
    font-size: 16px;
  }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  .homepage-hero {
    padding: 80px 0 80px 0;
  }
  
  .homepage-hero__title {
    font-size: 24px;
  }
  
  .homepage-hero__description {
    font-size: 16px;
  }
  
  .homepage-services {
    padding: 40px 0 20px 0;
  }
  
  .homepage-services__intro {
    padding: 40px 20px;
    margin-top: 40px;
  }
  
  .homepage-services__title {
    font-size: 22px;
  }
  
  .homepage-services__description {
    font-size: 16px;
  }
  
  .homepage-service-card {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 24px;
  }
  
  .homepage-service-card__icon {
    margin-bottom: 0px;
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    margin: 0 auto 12px;
    display: block;
    transition: color 0.3s ease;
  }
  
  .homepage-service-card__title {
    font-size: 18px;
  }
  
  .homepage-service-card__description {
    font-size: 14px;
  }
  
  .homepage-gallery {
    padding: 0 0 60px;
  }
  
  .homepage-gallery__title {
    font-size: 24px;
  }
  
  .homepage-reviews {
    padding: 60px 0;
  }
  
  .reviews-slider {
    min-height: 500px;
  }
  
  .benefit-item__title {
    font-size: 18px;
  }
  
  .benefit-item__description {
    font-size: 14px;
  }
  
  .homepage-stats {
    margin-bottom: 60px;
  }
  
  .homepage-stats__content {
    padding: 60px 20px;
  }
  
  .homepage-stats__title {
    font-size: 20px;
  }
  
  .homepage-stats__description {
    font-size: 16px;
  }
  
  .stats-counter {
    padding: 40px 15px;
  }
  
  .counter-number,
  .counter-suffix {
    font-size: 24px;
  }
  
  .counter-label {
    font-size: 12px;
  }
  
  .homepage-cta {
    padding: 60px 0;
  }
  
  .homepage-cta__title {
    font-size: 22px;
  }
  
  .homepage-cta__description {
    font-size: 16px;
  }

  /* Simple Stats Section */
  .homepage-stats {
    padding: 40px 0;
    margin-bottom: 40px;
  }

  .homepage-stats .section-header {
    margin-bottom: 40px;
  }

  .homepage-stats .section-header h2 {
    font-size: 24px;
  }

  .homepage-stats .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
  }

  .homepage-stats .stat-number {
    font-size: 2.2rem;
  }

  .homepage-stats .stat-label {
    font-size: 0.75rem;
  }

  .homepage-stats .stat-item:not(:last-child)::after {
    height: 50px;
    right: -5px;
  }
}

/* ---------------------------------------------
   2. LEISTUNGEN (Übersicht)
--------------------------------------------- */

/* === Hero Section === */
.services-hero {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  overflow: visible;
  display: flex;
  align-items: center;
  padding: 120px 0 160px;
  margin-bottom: -80px;
  z-index: 1;
}

.services-hero__content {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
  text-align: center;
}

.services-hero__title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  color: #fff;
}

.services-hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 80px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.21, 1.02, 0.73, 1) 0.2s forwards;
  color: rgba(255,255,255,0.72);
}

.services-hero__stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s cubic-bezier(0.21, 1.02, 0.73, 1) 0.4s forwards;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* === Services Showcase === */
.services-showcase {
  position: relative;
  padding: 0 0 80px;
  background: #f5f7f9;
  z-index: 2;
}

.services-showcase__container {
  max-width: 1290px;
  margin: 0 auto;
}

.services-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transform: translateY(-80px);
}

/* Responsive Styles */
@media (max-width: 1350px) {
  .services-showcase__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 1200px) {
  .services-showcase__grid {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .services-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card__content {
    padding: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  .service-card__title {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin: 0 0 1rem;
    padding-bottom: 1rem;
  }
  
  .service-card__text {
    font-size: 0.9375rem;
    margin: 0 0 1.5rem;
  }
}

@media (max-width: 700px) {
  .services-hero {
    min-height: 450px;
    padding: 80px 0 140px;
    margin-bottom: -80px;
  }
  
  .services-showcase__grid {
    transform: translateY(-80px);
  }
}

@media (max-width: 600px) {
  .services-hero {
    min-height: 400px;
    padding: 70px 0 140px;
  }
  
  .services-showcase__grid {
    grid-template-columns: 1fr;
    transform: translateY(-80px);
  }
  
  .service-card__content {
    padding: 1.75rem;
  }
  
  .service-card__title {
    font-size: 1.25rem;
  }
  
  .service-card__text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .services-hero {
    min-height: 380px;
    padding: 60px 0 140px;
    margin-bottom: -80px;
  }
  
  .services-showcase__grid {
    transform: translateY(-80px);
  }
  
  .service-card__content {
    padding: 1.5rem;
  }
  
  .services-hero__title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .services-hero__subtitle {
    font-size: clamp(1rem, 4vw, 1.125rem);
    margin: 0 0 2.5rem;
    max-width: 500px;
  }
}

.service-card {
  background: #fff;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.8s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

/* Stagger the animations for each card */
.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.35s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.65s; }
.service-card:nth-child(5) { animation-delay: 0.8s; }
.service-card:nth-child(6) { animation-delay: 0.95s; }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(30, 38, 46, 0.15);
  border-color: transparent;
}

.service-card__image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__content {
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.95) 100%);
}

.service-card__title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  line-height: 1.2;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 1.25rem;
}

.service-card__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.service-card:hover .service-card__title::after {
  width: 80px;
}

.service-card__text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  color: var(--color-text);
  flex-grow: 1;
}

.service-card__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  margin-top: auto;
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.service-card__button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1;
}

.service-card__button:hover::before {
  transform: translateX(0);
}

.service-card__button span,
.service-card__button .icon {
  position: relative;
  z-index: 2;
}

.service-card__button .icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.service-card__button:hover {
  color: #fff;
}

.service-card__button:hover .icon {
  transform: translateX(4px);
}

/* === CTA Section === */
/*Using service-mid-cta styling for services-cta */
.services-cta {
  padding: 120px 0;
  background-color: var(--color-dark);
  color: #fff;
}

.services-cta__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
}

.services-cta__content {
  text-align: center;
}

.services-cta__icon {
  margin: 0 auto 2rem;
  color: #8F9397;
}

.services-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
  color: #fff;
}

.services-cta__text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.services-cta .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  justify-content: center;
}

.services-cta .btn--primary:hover {
  background: #219abe;
  color: #fff;
  border-color: #219abe;
}

.services-cta .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  justify-content: center;
}

.services-cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.services-cta .btn .icon {
  transition: transform 0.2s ease;
}

.services-cta .btn:hover .icon {
  transform: translateX(4px);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn .icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-dark);
  color: #fff;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: #fff;
}

/* service-cta button styles (for akustikbau end-cta section) */
.service-cta .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  justify-content: center;
}
.service-cta .btn--primary:hover {
  background: #219abe;
  color: #fff;
  border-color: #219abe;
}

.service-cta .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  justify-content: center;
}

.service-cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-cta .btn .icon {
  transition: transform 0.2s ease;
}

.service-cta .btn:hover .icon {
  transform: translateX(4px);
}

/* === Gallery Section === */
.services-gallery {
  padding: 120px 0;
  background: #fff;
}

.services-gallery__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

.services-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.services-gallery__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0 2rem;
}

.services-gallery__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: var(--color-dark);
}

.services-gallery__text {
  font-size: 1.125rem;
  margin: 0 0 2rem;
  color: var(--color-text);
}

.services-gallery__stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

.gallery-preview {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(30, 38, 46, 0.15);
  display: block;
  text-decoration: none;
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-preview:hover img {
  transform: scale(1.05);
}

.gallery-preview__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(30, 38, 46, 0.8), transparent);
  color: #fff;
}

.gallery-preview__count {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Responsive Gallery Styles */
@media (max-width: 1350px) {
  .services-gallery__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 1024px) {
  .services-gallery {
    padding: 75px 0;
  }
  
  .services-gallery__grid {
    gap: 50px;
  }
  
  .services-gallery__content {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .services-gallery {
    padding: 70px 0;
  }
  
  .services-gallery__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .services-gallery__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    order: 2;
  }
  
  .services-gallery__showcase {
    max-width: 600px;
    padding: 0;
    order: 1;
  }
  
  .services-gallery__stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .services-gallery {
    padding: 60px 0;
  }
  
  .services-gallery__container {
    padding: 0 20px;
  }
  
  .services-gallery__grid {
    gap: 40px;
  }
  
  .gallery-preview {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .services-gallery {
    padding: 50px 0;
  }
  
  .services-gallery__container {
    padding: 0 15px;
  }
  
  .services-gallery__grid {
    gap: 30px;
  }
  
  .services-gallery__stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
  }
  
  .stat-label {
    font-size: 0.875rem;
  }
  
  .stat-item {
    text-align: center;
    margin-bottom: 0;
  }
  
  .gallery-preview {
    margin: 0;
  }
  
  .gallery-preview__overlay {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .services-hero__title,
  .services-hero__subtitle,
  .services-hero__stats,
  .service-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .service-card:hover,
  .service-card__image img,
  .gallery-preview img {
    transform: none;
  }
  
  .btn:hover .icon {
    transform: none;
  }
}

/* Responsive adjustments */
@media (max-width: 1290px) {
  .services-showcase__container {
    padding: 0 var(--section-padding-inline);
  }
}

/* ---------------------------------------------
   3. Individuelle Leistungen Seiten
--------------------------------------------- */

/* === Individual Service Hero Section === */
.service-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0;
  color: #fff;
}

.service-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.service-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(42, 50, 60, 0.96), rgba(108, 132, 153, 0.88));  
  z-index: 2;
}

.service-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.service-hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1350px) {
  .service-hero__container {
    padding: 0 var(--section-padding-inline);
  }
}

.service-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.service-hero__subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  margin: 0 0 2rem;
  opacity: 0.9;
  max-width: 600px;
}

.service-hero__features {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === Service Hero Animation === */
/* Initial hidden state for service hero content */
.service-hero__title,
.service-hero__subtitle,
.service-hero__features {
  opacity: 0;
  transform: translateY(36px);
}

/* Cascading animation classes for service hero */
.service-hero__title {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0s;
}

.service-hero__subtitle {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.service-hero__features {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

/* === Service Overview Section === */
.service-overview {
  padding: 100px 0px 140px 0px;
  background: #fff;
}

.service-overview__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 1350px) {
  .service-overview__container {
    padding: 0 var(--section-padding-inline);
  }
}

.service-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-overview__image-grid {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  margin: 20px 0;
}

.service-overview__image-grid::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 240px;
  height: 120px;
  background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.service-overview__image-grid::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -25px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.service-overview__image-grid img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(30, 38, 46, 0.12);
}

.image-1 {
  /* Primary dominant image - 4:3 aspect ratio - left aligned */
  width: 90%;
  height: 90%;
  top: 0;
  left: 0;
  z-index: 1;
  aspect-ratio: 4 / 3;
}

.image-2 {
  /* Secondary accent image - square aspect ratio - right overlapping in front */
  width: 35%;
  height: 40%;
  bottom: -12%;
  right: -5%;
  z-index: 2;
  aspect-ratio: 1 / 1;
}

.service-overview__experience-badge {
  position: absolute;
  bottom: 0%;
  left: 42.5%;
  transform: translateX(-50%);
  background: #fff;
  padding: 16px 22px;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  text-align: center;
  min-width: 150px;
}

.service-overview__experience-number {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.service-overview__experience-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.overline {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-overview__content h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 2rem;
}

.service-overview__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-overview__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--color-text);
}

.service-overview__list .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* === Solutions Section === */
.service-solutions {
  padding: 144px 0px;
  background: var(--color-lighter);
}

.service-solutions__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
  color: var(--color-dark);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin: 0;
}

.section-header__text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-primary);
  margin: 0;
  font-weight: 300;
}

.service-solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-card {
  background: #fff;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-border);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.solution-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--color-primary);
}

.solution-card h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-dark);
}

.solution-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* === Service Mid CTA Section === */
.service-mid-cta {
  padding: 120px 0;
  background-color: var(--color-dark);
  color: #fff;
}

.service-mid-cta__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
}

.service-mid-cta__content {
  text-align: center;
}

.service-mid-cta__icon {
  margin: 0 auto 2rem;
  color: #8F9397
}

.service-mid-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
  color: #fff;
}

.service-mid-cta__text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-mid-cta .service-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.service-mid-cta .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  justify-content: center;
}
.service-mid-cta .btn--primary:hover {
  background: #219abe;
  color: #fff;
  border-color: #219abe;
}

.service-mid-cta .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  justify-content: center;
}

.service-mid-cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-mid-cta .btn .icon {
  transition: transform 0.2s ease;
}

.service-mid-cta .btn:hover .icon {
  transform: translateX(4px);
}


/* === Gallery Section === */
.service-gallery {
  padding: 120px 0;
  background: #fff;
}

.service-gallery__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1350px) {
  .service-gallery__container {
    padding: 0 var(--section-padding-inline);
  }
}

/* === Gallery Item Base Styles === */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(30, 38, 46, 0.8), transparent);
  color: #fff;
}

.gallery-overlay span {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
}

.gallery-cta {
  text-align: center;
  margin-top: 60px;
}

.gallery-cta .btn {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}

.btn--primary-outline:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

/* Gallery Mobile Responsive */
@media (max-width: 768px) {
  .service-gallery__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 var(--section-padding-inline);
  }
  
  .gallery-col-vertical {
    gap: 20px;
  }
  
  .gallery-item--big-landscape {
    order: -1; /* Show featured image first on mobile */
  }
  
  .gallery-cta {
    margin-top: 40px;
  }
}

/* === Stats Section === */
.service-stats {
  padding: 120px 0;
  background: var(--color-lighter);
}

.service-stats__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1350px) {
  .service-stats__container {
    padding: 0 var(--section-padding-inline);
  }
}

.service-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin: 60px 0;
}

.service-stats .stat-item {
  text-align: center;
  position: relative;
}

.service-stats .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: rgba(104, 114, 121, 0.2);
}

.service-stats .stat-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.service-stats .stat-number::after {
  content: '+';
}

.service-stats .stat-label {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 400;
  text-transform: none;
}

@media (max-width: 768px) {
  .service-stats .stats-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 40px;
  }
  
  .service-stats {
    padding: 80px 0;
  }
  
  .service-stats .stat-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .service-stats {
    padding: 80px 0;
  }
  
  .service-stats .stats-grid {
    gap: 40px;
  }
}

/* === Benefits Section === */
.service-benefits {
  padding: 120px 0px 140px 0px;
}

.service-benefits__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.service-benefits__container .overline {
  display: block;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.service-benefits__container h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--color-dark);
  margin: 0 0 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .benefit-item {
    text-align: left;
  }
}

.benefit-item {
  text-align: left;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-dark);
  font-weight: 600;
}

.benefit-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

/* === CTA Section === */
.service-cta {
  padding: 120px 0;
  margin-bottom: 60px;
  background: var(--color-dark);
  color: #fff;
  text-align: center;
}

.service-cta__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
}

.service-cta h2 {
  font-size: clamp(2rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.2;
}

.service-cta p {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  opacity: 0.9;
}

.service-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* === Responsive Styles === */
@media (max-width: 1024px) and (min-width: 769px) {
  .image-1 {
    width: 85%;
    height: 85%;
  }

  .image-2 {
    width: 45%;
    height: 45%;
    bottom: -12%;
    right: -3%;
  }

  .service-overview__experience-badge {
    bottom: 0%;
    left: 42.5%;
    transform: translateX(-50%);
    padding: 15px 18px;
    min-width: 130px;
  }

  .service-overview__experience-number {
    font-size: 26px;
  }

  .service-overview__experience-text {
    font-size: 11px;
  }

  .service-overview__image-grid::before {
    width: 200px;
    height: 100px;
    top: -30px;
    right: -25px;
    background-size: 13px 13px;
  }

  .service-overview__image-grid::after {
    width: 140px;
    height: 140px;
    bottom: -35px;
    left: -20px;
    background-size: 11px 11px;
  }
}

@media (max-width: 1290px) {
  .service-benefits__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 1024px) {
  .service-overview__grid,
  .service-solutions__grid,
  .benefits-grid {
    gap: 30px;
  }

  .solution-card {
    padding: 80px 30px;
  }
}

/* === Tablet-specific styles for Solutions section === */
@media (max-width: 1024px) and (min-width: 769px) {
  .service-solutions__grid {
    grid-template-columns: 1fr; /* Force single column */
    padding: 0 var(--section-padding-inline);
  }

  .solution-card {
    width: 100%;
    max-width: 100%;
    padding: 80px 30px;
    text-align: center;
  }

  .service-solutions__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 1200px) {
  .service-gallery__grid {
    gap: 20px;
  }

  .service-mid-cta__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .service-overview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-overview__content {
    order: -1;
  }
}

@media (max-width: 700px) {
  .service-overview {
    padding: 100px 0;
  }
  
  .service-solutions {
    padding: 100px 0;
  }
  
  .service-mid-cta {
    padding: 100px 0;
  }
  
  .services-cta {
    padding: 100px 0;
  }
  
  .service-gallery {
    padding: 100px 0;
  }
  
  .service-stats {
    padding: 100px 0;
  }
  
  .service-cta {
    padding: 100px 0;
  }
}

@media (max-width: 600px) {
  .service-hero {
    padding: 80px 0;
  }
  
  .service-overview {
    padding: 80px 0;
  }
  
  .service-solutions {
    padding: 80px 0;
  }
  
  .service-mid-cta {
    padding: 80px 0;
  }
  
  .services-cta {
    padding: 80px 0;
  }
  
  .service-gallery {
    padding: 80px 0;
  }
  
  .service-stats {
    padding: 80px 0;
  }
  
  .service-benefits {
    padding: 80px 0;
  }
  
  .service-cta {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .service-hero {
    min-height: 500px;
    padding: 100px 0;
  }

  .service-overview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-overview__list {
    grid-template-columns: 1fr;
  }

  .service-overview__content {
    order: -1;
  }

  .service-overview__image-grid {
    padding-bottom: 75%;
  }

  .image-1 {
    width: 90%;
    height: 90%;
  }

  .image-2 {
    width: 37%;
    height: 40%;
    bottom: -8%;
    right: -2%;
  }

  .service-overview__experience-badge {
    bottom: 0%;
    left: 45%;
    transform: translateX(-50%);
    padding: 14px 16px;
    min-width: 120px;
  }

  .service-overview__experience-number {
    font-size: 24px;
  }

  .service-overview__experience-text {
    font-size: 11px;
  }

  .service-overview__image-grid::before {
    width: 180px;
    height: 90px;
    top: -30px;
    right: -25px;
    background-size: 12px 12px;
  }

  .service-overview__image-grid::after {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -15px;
    background-size: 10px 10px;
  }

  .service-solutions__grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .benefit-item {
    text-align: left;
  }


  .service-gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--featured {
    aspect-ratio: 4/3;
  }

  .service-cta__actions,
  .services-cta__actions {
    flex-direction: column;
    gap: 1rem;
  }

  .service-cta__actions .btn,
  .services-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .service-benefits {
    padding: 80px 0;
  }

  .service-benefits__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 1023px) {
  .service-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .feature-tag {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .service-hero {
    min-height: 400px;
    padding: 80px 0;
  }

  .service-overview {
    padding: 60px 0 80px 0;
  }

  .service-solutions {
    padding: 80px 0;
  }

  .service-mid-cta {
    padding: 80px 0;
  }

  .services-cta {
    padding: 80px 0;
  }

  .service-cta {
    padding: 80px 0;
  }

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

  .feature-tag {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    text-align: center;
  }

  .service-overview__image-grid {
    padding-bottom: 80%;
  }

  .image-1 {
    width: 95%;
    height: 90%;
  }

  .image-2 {
    width: 37%;
    height: 45%;
    bottom: -12%;
    right: 0%;
  }

  .service-overview__experience-badge {
    bottom: 0%;
    left: 47.5%;
    transform: translateX(-50%);
    padding: 12px 14px;
    min-width: 110px;
  }

  .service-overview__experience-number {
    font-size: 22px;
  }

  .service-overview__experience-text {
    font-size: 10px;
  }

  .service-overview__image-grid::before {
    width: 120px;
    height: 60px;
    top: -20px;
    right: -15px;
    background-size: 8px 8px;
    opacity: 0.4;
  }

  .service-overview__image-grid::after {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: -10px;
    background-size: 7px 7px;
    opacity: 0.3;
  }


  .solution-card {
    padding: 25px;
  }

  .service-gallery {
    padding: 0;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .section-header__text {
    font-size: 1.125rem;
  }
  


  .service-benefits {
    padding: 80px 0;
  }

  .benefits-grid {
    gap: 30px;
  }

  .benefit-item h3 {
    font-size: 1.125rem;
  }

  .benefit-item p {
    font-size: 0.9375rem;
  }

  .service-mid-cta__text {
    font-size: 1.125rem;
  }
  
  .services-cta__text {
    font-size: 1.125rem;
  }
}

@media (max-width: 1024px) {
  .service-gallery {
    padding: 100px 0;
  }
  .service-gallery__container {
    padding: 0 var(--section-padding-inline);
  }
}

@media (max-width: 768px) {
  .service-gallery {
    padding: 80px 0;
  }
  .service-gallery__container {
    padding: 0 var(--section-padding-inline);
  }
  
  .gallery-cta {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .service-gallery {
    padding: 80px 0;
  }
  .service-gallery__container {
    padding: 0 2vw;
  }
  
  .gallery-cta {
    margin-top: 30px;
  }
}



/* === Accessibility === */
@media (prefers-reduced-motion: reduce) {
  .service-overview__image-grid img,
  .solution-card,
  .gallery-item img,
  .service-mid-cta .btn .icon,
  .services-cta .btn .icon {
    transition: none;
  }
}

/* === Gallery Layout: 2x2 Grid with Left Column and Right Image === */
@media (min-width: 901px) {
  .service-gallery__grid {
    display: grid;
    grid-template-columns: 35fr 65fr;
    gap: 25px;
    align-items: stretch;
  }
  .gallery-col-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
  }
  .gallery-item--landscape {
    flex: 1 1 0;
    aspect-ratio: 4 / 3;
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .gallery-item--landscape img,
  .gallery-item--big-landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .gallery-item--big-landscape {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
  }
}
@media (max-width: 900px) {
  .service-gallery__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  .gallery-item--big-landscape {
    order: -1 !important;
  }
  .gallery-col-vertical {
    flex-direction: column !important;
    gap: 30px !important;
    height: auto !important;
  }
  .gallery-col-vertical .gallery-item {
    margin-bottom: 30px !important;
  }
  .gallery-col-vertical .gallery-item:last-child {
    margin-bottom: 0 !important;
  }
  .gallery-item--landscape {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
  }
  
  .gallery-item--big-landscape {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
  }
}

/* === Force Mobile Gallery Gap === */
@media (max-width: 900px) {
  .service-gallery .service-gallery__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
  .service-gallery .service-gallery__grid .gallery-col-vertical {
    flex-direction: column !important;
    gap: 30px !important;
    height: auto !important;
  }
  .service-gallery .service-gallery__grid .gallery-col-vertical .gallery-item {
    margin-bottom: 30px !important;
  }
  .service-gallery .service-gallery__grid .gallery-col-vertical .gallery-item:last-child {
    margin-bottom: 0 !important;
  }
  .service-gallery .service-gallery__grid .gallery-item--landscape {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
  }
  
  .service-gallery .service-gallery__grid .gallery-item--big-landscape {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
  }
}

/* ---------------------------------------------
   4. Über Uns Styles
--------------------------------------------- */

/* === About Hero Section === */
.about-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0;
  color: #fff;
}

.about-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(30, 36, 44, 0.96), rgba(88, 108, 126, 0.88));
  z-index: 2;
}

.about-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.about-hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--section-padding-inline);
}

@media (min-width: 1350px) {
  .about-hero__container {
    padding: 0 20px;
  }
}

.about-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.about-hero__subtitle {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.about-hero__contacts {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.contact-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-tag:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.contact-tag__icon {
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-tag span {
  color: #fff;
  font-weight: 500;
}

.contact-tag span a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.contact-tag span a:hover {
  color: inherit;
  text-decoration: none;
}

.about-hero__description {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
  max-width: 700px;
  line-height: 1.6;
  color: #fff;
}

/* === About Hero Animation === */
/* Initial hidden state for about hero content */
.about-hero__title,
.about-hero__subtitle,
.about-hero__contacts,
.about-hero__description {
  opacity: 0;
  transform: translateY(36px);
}

/* Cascading animation classes for about hero */
.about-hero__title {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0s;
}

.about-hero__subtitle {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.about-hero__contacts {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.about-hero__description {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .about-hero {
    min-height: 550px;
    padding: 100px 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .about-hero__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
}


/* === About Overview Section === */
.about-overview {
  padding: 60px 0 0 0;
}

.about-overview__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 1350px) {
  .about-overview__container {
    padding: 0;
  }
}

.about-overview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-overview__content {
  padding: 100px 0 0 0;
}

.about-overview__content .overline {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-overview__content h2 {
  font-size: 34px;
  margin: 0 0 1.5rem 0;
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 700;
}

.about-overview__content .lead {
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  font-weight: 400;
}

.about-overview__content p {
  margin: 0 0 1.5rem 0;
  line-height: 26px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
}

.about-overview__actions {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

.about-overview__actions .btn {
  padding: 14px 25px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.about-overview__actions .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.about-overview__actions .btn--primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.about-overview__actions .btn--primary-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.about-overview__actions .btn--primary-outline:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.about-overview__image-grid {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 70%;
  margin: 20px 0;
}

.about-overview__image-grid::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -60px;
  width: 240px;
  height: 120px;
  background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.about-overview__image-grid::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.about-overview__image-grid img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(30, 38, 46, 0.12);
}

.about-overview__image-grid .image-1 {
  width: 90%;
  height: 90%;
  top: 0;
  left: 0;
  z-index: 1;
  aspect-ratio: 4 / 3;
}

.about-overview__image-grid .image-2 {
  width: 40%;
  height: 40%;
  bottom: -12%;
  right: -5%;
  z-index: 2;
  aspect-ratio: 1 / 1;
}

/* === About Stats Section === */
.about-stats {
  padding: 140px 0 120px 0;
  background: transparent;
}

.about-stats__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1350px) {
  .about-stats__container {
    padding: 0 var(--section-padding-inline);
  }
}

.about-stats .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-stats .section-header .overline {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-stats .section-header h2 {
  text-align: center;
  margin: 0 0 40px 0;
  color: var(--color-dark);
  line-height: 1.5;
}

.about-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin: 60px 0;
  background: transparent;
  padding: 0;
}

.about-stats .stat-item {
  text-align: center;
  position: relative;
}

.about-stats .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: rgba(104, 114, 121, 0.2);
}

.about-stats .stat-number {
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.about-stats .stat-number::after {
  content: '+';
}

.about-stats .stat-label {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 400;
  text-transform: none;
}

/* === About Timeline Section === */
.about-timeline {
  padding: 60px 0;
  background: var(--color-lighter)
}

.about-timeline__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 1350px) {
  .about-timeline__container {
    padding: 0;
  }
}

.about-timeline__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.about-timeline__images {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 85%;
  margin: 40px 50px 40px 0;
}



/* Top-right accent dots */
.about-timeline__images::before {
  content: '';
  position: absolute;
  top: -45px;
  right: 20px;
  width: 180px;
  height: 110px;
  background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
  background-size: 15px 15px;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-timeline__images.dots-reveal::before {
  opacity: 0.35;
  transform: scale(1);
}

/* Bottom-left accent dots */
.about-timeline__images::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -35px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-timeline__images.dots-reveal::after {
  opacity: 0.3;
  transform: scale(1);
}

.timeline-image {
  position: absolute;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(30, 38, 46, 0.15);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(25px) scale(0.98);
}

.timeline-image.cascade-reveal {
  animation: cascadeReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.timeline-image--main {
  width: 42%;
  height: 65%;
  top: 15%;
  left: 8%;
  z-index: 3;
  object-fit: cover;
}

.timeline-image--secondary {
  width: 38%;
  height: 45%;
  top: 0%;
  right: 15%;
  z-index: 2;
  object-fit: cover;
}

.timeline-image--tertiary {
  width: 35%;
  height: 42%;
  bottom: -5%;
  right: 17%;
  z-index: 1;
  object-fit: cover;
}

.about-timeline__content {
  padding: 40px 0 0 0;
}

.about-timeline__content .overline {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-timeline__content h2 {
  font-size: 34px;
  margin: 0 0 1.5rem 0;
  color: var(--color-dark);
  font-weight: 700;
}

.about-timeline__content .lead {
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  font-weight: 400;
}

.about-timeline__content p {
  margin: 0 0 1.5rem 0;
  line-height: 26px;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
}

.timeline-list {
  margin-top: 2rem;
  position: relative;
  padding-left: 0;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: -20px;
  width: 3px;
  background: var(--color-primary);
  z-index: 1;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 0 0 52px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.cascade-reveal {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-item:hover::before {
  transform: translateY(-50%) scale(1.1);
}

.timeline-year {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 70px;
  margin-right: 24px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}




/* === About Services Section === */
.about-services {
  padding: 140px 0 0 0;
}

.about-services__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 1350px) {
  .about-services__container {
    padding: 0;
  }
}

.about-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
}

.about-services__content {
  padding: 12px 0 0 20px;
}

.about-services__content .overline {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about-services__content h2 {
  font-size: 34px;
  margin: 0 0 1.5rem 0;
  color: var(--color-dark);
  font-weight: 700;
}

.about-services__content .lead {
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 1.5rem 0;
  color: var(--color-text);
  font-weight: 400;
}

.about-services__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.about-services__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
}

.about-services__list .icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.about-services__list a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.about-services__actions {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

.about-services__actions .btn {
  padding: 14px 25px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.about-services__actions .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.about-services__actions .btn--primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.about-services__actions .btn--primary-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.about-services__actions .btn--primary-outline:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.about-services__image {
  text-align: right;
}

.about-services__image img {
  width: 90%;
  height: auto;
}

/* === About Benefits Section === */
.about-benefits {
  padding: 140px 0 60px 0;
}

.about-benefits__container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 5vw;
}

@media (min-width: 1350px) {
  .about-benefits__container {
    padding: 0;
  }
}

.about-benefits .overline {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 500;
}

.about-benefits h2 {
  text-align: center;
  margin: 0 0 40px 0;
  color: var(--color-dark);
  line-height: 1.5;
}

.about-benefits .benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 40px 0 130px 0;
}

.about-benefits .benefit-item h3 {
  margin: 0 0 20px 0;
  color: var(--color-dark);
  line-height: 1.5;
}

.about-benefits .benefit-item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

/* === About CTA Section === */
.about-cta {
  background: var(--color-dark);
  padding: 120px 0;
  margin-bottom: 60px;
}

.about-cta__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 5vw;
  text-align: center;
}

@media (min-width: 1100px) {
  .about-cta__container {
    padding: 0;
  }
}

.about-cta .overline {
  display: block;
  text-align: center;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-cta h2 {
  color: #FFFFFF;
  margin: 0 0 20px 0;
  font-size: var(--font-size-h2);
  text-align: center;
  line-height: 1.5;
}

.about-cta p {
  color: #DEEAED;
  margin: 0 0 32px 0;
  font-size: 18px;
}

.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
}

.about-cta__actions .btn {
  width: 260px;
  justify-content: center;
}

.about-cta__actions .btn {
  padding: 14px 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.about-cta__actions .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.about-cta__actions .btn--primary:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
}

.about-cta__actions .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.about-cta__actions .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* About CTA specific button styles (copy from service-cta) */
.about-cta .btn--primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
  justify-content: center;
}

.about-cta .btn--primary:hover {
  background: #219abe;
  color: #fff;
  border-color: #219abe;
}

.about-cta .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  justify-content: center;
}

.about-cta .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.about-cta .btn .icon {
  transition: transform 0.2s ease;
}

.about-cta .btn:hover .icon {
  transform: translateX(4px);
}

/* === Responsive Design for About Sections === */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .about-hero__title {
    font-size: 40px;
  }
  
  .about-hero__subtitle {
    font-size: 24px;
  }
  
  
  .about-overview {
    padding: 0px;
  }

  .about-overview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-timeline__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-timeline__images {
    margin: 0;
    padding-bottom: 75%;
  }
  
  .about-timeline__images::before {
    width: 160px;
    height: 100px;
    top: -30px;
    right: -30px;
    background-size: 14px 14px;
  }
  
  .about-timeline__images::after {
    width: 140px;
    height: 140px;
    bottom: -40px;
    left: -30px;
    background-size: 12px 12px;
  }
  
  .about-timeline__container::before {
    width: 100px;
    height: 100px;
    background-size: 10px 10px;
  }
  
  .about-services__grid {
    grid-template-columns: 60% 40%;
  }
  
  .about-benefits .benefits-grid {
    gap: 50px;
    margin: 0 0 80px 0;
  }

  .about-stats {
    padding: 120px 0px 80px 0px;
  }
  
  .about-stats .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .about-stats .stat-number {
    font-size: 3rem;
  }
  
  .about-stats .stat-label {
    font-size: 1rem;
  }
  
  .about-stats .stat-item:not(:last-child)::after {
    height: 60px;
    right: -10px;
  }
}

  .about-services {
    padding: 80px 0px;
  }

  .about-benefits {
    padding: 60px 0px;
  }

/* Mobile (767px and below) */
@media (max-width: 767px) {
  .about-hero {
    padding: 80px 0 60px 0;
  }
  
  .about-hero__title {
    font-size: 30px;
  }
  
  .about-hero__subtitle {
    font-size: 22px;
  }
  

  .about-overview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-overview__image-grid {
    order: 2;
  }
  
  .about-overview__content {
    padding: 0;
    order: 1;
  }
  
  .about-overview__image-grid {
    order: 2;
  }
  
  .about-overview__image-grid .image-1 {
    width: 100%;
    margin: 0 0 20px 0;
  }
  
  .about-overview__image-grid .image-2 {
    width: 40%;
    margin: 0 8px -24px 0;
    margin-left: auto;
    display: block;
  }
  
  .about-overview__actions {
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .about-overview__actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    padding: 12px 20px;
  }
  

  .about-stats {
    padding: 120px 0px 80px 0px;
  }
  
  .about-stats .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
  }
  
  .about-stats .stat-number {
    font-size: 2.2rem;
  }
  
  .about-stats .stat-label {
    font-size: 0.75rem;
  }
  
  .about-stats .stat-item:not(:last-child)::after {
    height: 50px;
    right: -5px;
  }
  
  .about-timeline__images {
    padding-bottom: 90%;
    margin: 20px 0;
  }
  
  .timeline-image--main {
    width: 58%;
    height: 75%;
    top: 10%;
    left: 5%;
  }
  
  .timeline-image--secondary {
    width: 45%;
    height: 48%;
    top: 2%;
    right: 2%;
  }
  
  .timeline-image--tertiary {
    width: 40%;
    height: 42%;
    bottom: -10%;
    right: 5%;
  }
  
  .about-timeline__images::before {
    width: 120px;
    height: 80px;
    top: -35px;
    right: -20px;
    background-size: 12px 12px;
    opacity: 0.3;
  }
  
  .about-timeline__images::after {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -20px;
    background-size: 10px 10px;
    opacity: 0.3;
  }
  
  
  .about-timeline__container::before {
    width: 80px;
    height: 80px;
    background-size: 8px 8px;
    opacity: 0.2;
  }
  
  .timeline-list {
    padding-left: 30px;
  }
  
  .timeline-list::before {
    left: 15px;
    width: 2px;
  }
  
  .timeline-item {
    padding-left: 30px;
    margin-bottom: 30px;
  }
  
  .timeline-item::before {
    left: -22px;
    width: 12px;
    height: 12px;
    border-width: 2px;
    box-shadow: 0 0 0 2px var(--color-primary);
  }
  
  .timeline-year {
    font-size: 16px;
  }
  
  .timeline-title {
    font-size: 14px;
  }

  .about-services {
    padding: 80px 0px;
  }
  
  .about-services__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-services__content {
    padding: 0;
    order: 1;
  }
  
  .about-services__image {
    order: 2;
    text-align: center;
  }
  
  .about-services__image img {
    width: 100%;
  }
  
  .about-services__actions {
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .about-services__actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    padding: 12px 20px;
  }

  .about-benefits {
    padding: 20px 0px 40px 0px;
  }
  
  .about-benefits .benefits-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-benefits .benefit-item h3 {
    text-align: left;
  }
  
  .about-benefits .benefit-item p {
    text-align: left;
    margin-bottom: 0;
  }
  
  .about-cta {
    padding: 60px 0 80px 0;
  }
  
  .about-cta__actions {
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .about-cta__actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Extra small screens - prevent horizontal overflow with safe padding */
@media (max-width: 480px) {
  .about-timeline {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-cta__actions {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Overview section - scale dots and position them safely within viewport */
  .about-overview__image-grid::before {
    right: -15px;
    width: 120px;
    height: 80px;
    background-size: 12px 12px;
  }
  
  .about-overview__image-grid::after {
    left: -15px;
    width: 100px;
    height: 100px;
    background-size: 10px 10px;
  }
}

/* ---------------------------------------------
   5. Galerie Styles
--------------------------------------------- */

/* === Gallery Header === */
.gallery-header {
  background: var(--color-dark);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.gallery-header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
}

.gallery-heading {
  color: #fff;
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  margin: 0 0 20px;
}

.gallery-subheading {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 40px;
  text-align: center;
}

/* === Gallery Filter Navigation === */
.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.gallery-filter-nav .filter-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.gallery-filter-nav .filter-link:hover,
.gallery-filter-nav .filter-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* === Gallery Section === */
.gallery-section {
  padding: 40px 5vw 100px 5vw;
  background: #fff;
}

.gallery-container {
  max-width: calc(var(--container-width) - 20px);
  margin: 0 auto;
  padding: 0 0px;
}

/* === Masonry Gallery Grid === */
.masonry-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.masonry-item {
  opacity: 0;
  transform: translateY(25px) scale(0.98);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.masonry-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.masonry-item .gallery-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
}

.masonry-item .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* === Smooth Hover Effects === */
.pop-hover {
  transition: transform 0.32s ease-out,
              box-shadow 0.32s ease-out;
  transform-origin: center center;
}

.pop-hover:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(24, 123, 152, 0.15);
}

.pop-hover .gallery-item {
  transition: transform 0.32s ease-out;
}

.pop-hover:hover .gallery-item {
  transform: scale(1.02);
}

.pop-hover .gallery-item img {
  transition: filter 0.32s ease-out;
}

.pop-hover:hover .gallery-item img {
  filter: brightness(1.12) contrast(1.05);
}

/* === Smooth Motion States === */
.masonry-item.cascade-reveal {
  animation: cascadeReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes cascadeReveal {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.masonry-item.filter-exit {
  animation: filterExit 0.4s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

@keyframes filterExit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}


/* === Responsive Breakpoints === */
@media (max-width: 1290px) {
  .masonry-item {
    width: calc(25% - 18px);
  }
}

@media (max-width: 900px) {
  .masonry-item {
    width: calc(33.333% - 16px);
  }
  
  .gallery-filter-nav {
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .gallery-container {
    padding: 0 10px;
  }
}

@media (max-width: 700px) {
  .masonry-item {
    width: calc(50% - 12px);
  }
  
  /* Mobile-optimized animations */
  .masonry-item {
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  @keyframes cascadeReveal {
    0% {
      opacity: 0;
      transform: translateY(20px) scale(0.98);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .pop-hover:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 25px rgba(24, 123, 152, 0.12);
  }
  
  .pop-hover:hover .gallery-item img {
    filter: brightness(1.10) contrast(1.04);
  }
  
  .gallery-header {
    padding: 60px 0 40px 0;
  }
  
  .gallery-heading {
    font-size: 2rem;
    margin: 0 0 20px;
  }

  .gallery-subheading {
  font-size: 1rem;
  margin-bottom: 30px;
}
  
  .gallery-filter-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .gallery-filter-nav .filter-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 40px 5vw 100px 5vw;
  }
}

@media (max-width: 480px) {
  .gallery-subheading {
    font-size: 0.95rem;
  }
}

/* ===================================
   Galerie LIGHTBOX Styles
=================================== */

.custom-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-lightbox.active {
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.lightbox-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.lightbox-error .error-icon {
  margin-bottom: 15px;
  opacity: 0.7;
}

.lightbox-error p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 10001;
}

.lightbox-close svg {
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), stroke 0.22s;
  transform: rotate(0deg);
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover svg {
  transform: rotate(90deg);
  stroke: var(--color-primary);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 10001;
}

/* Desktop hover effects - no scale jump */
@media (min-width: 1025px) {
  .lightbox-prev:hover,
  .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
  }
}

/* Tablet-specific handling to prevent jump effect */
@media (min-width: 769px) and (max-width: 1024px) {
  .custom-lightbox {
    /* Ensure stable rendering on tablets */
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  
  body.lightbox-active {
    /* Tablet-specific scroll lock with scrollbar compensation */
    overflow: hidden;
    padding-right: 15px; /* Compensate for missing scrollbar */
  }
  
  .lightbox-prev,
  .lightbox-next {
    background: none !important;
    box-shadow: none !important;
  }
  .lightbox-prev {
    left: 20px;
    padding: 0px 20px 0px 0px;
  }
  
  .lightbox-next {
    right: 20px;
    padding: 0px 0px 0px 20px;
  }
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10001;
}

/* Body scroll lock */
body.lightbox-active {
  overflow: hidden;
  touch-action: none;
}


/* Desktop-only - more conservative sizing */
@media (min-width: 1025px) {
  .lightbox-content {
    max-width: 60%;
    max-height: 50%;
  }
  
  .lightbox-image {
    max-height: 80vh;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .lightbox-container {
    padding: 10px;
  }
  
  .lightbox-content {
    max-width: 95%;
    max-height: 85%; /* Reduce to make room for mobile nav */
  }
  
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  /* Reposition arrows for mobile - move to bottom and make bigger */
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 60px;
    height: 60px;
  }
  
  .lightbox-prev {
    left: 20px;
  }
  
  .lightbox-next {
    right: 20px;
  }
  
  /* Hide counter on mobile */
  .lightbox-counter {
    display: none;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .lightbox-container {
    padding: 5px;
  }
  
  .lightbox-content {
    max-width: 98%;
    max-height: 80%; /* More room for mobile nav */
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }
  
  /* Adjust arrow positioning for very small screens */
  .lightbox-prev,
  .lightbox-next {
    bottom: 15px;
    width: 50px;
    height: 50px;
  }
  
  .lightbox-prev {
    left: 15px;
  }
  
  .lightbox-next {
    right: 15px;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .lightbox-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .custom-lightbox,
  .lightbox-image,
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    transition: none;
  }
  
  .loading-spinner {
    animation: none;
  }
}

/* Focus styles for accessibility */
.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
  outline: none; /* Remove browser default blue outline */
}

/* Only show focus outline when navigating with keyboard */
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Hide navigation on single image */
.custom-lightbox .lightbox-prev[style*="display: none"],
.custom-lightbox .lightbox-next[style*="display: none"] {
  display: none !important;
}

/* ---------------------------------------------
   6. Kontakt Styles
--------------------------------------------- */

/* === Contact Main === */
.kontakt-main {
  padding-top: 0;
}

/* === Contact Header (Hidden on Mobile) === */
.kontakt-header {
  padding: 20px 0 20px 0;
  text-align: center;
}

.kontakt-header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
}

.kontakt-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: var(--color-dark);
}

.kontakt-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0 0 40px 0;
}

/* === Main Contact Content === */
.kontakt-content {
  padding: 0 0 0 0;
}

.kontakt-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 15px;
  align-items: start;
}

/* === Left Column: Vision Text === */
.kontakt-vision {
  padding: 120px max(0px, calc(20px - (100vw - 1200px) * 0.05)) 220px max(0px, calc(20px - (100vw - 1200px) * 0.05));
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.21, 1.02, 0.73, 1) 0.3s forwards;
}

.kontakt-vision-title {
  font-size: clamp(30px, 4vw, 65px);
  font-weight: 700;
  line-height: 1.5;
  margin: -80px clamp(-100px, -20vw, -250px) 50px 0;
  color: var(--color-dark);
}

.kontakt-vision-title .accent-text {
  color: var(--color-primary);
}

.kontakt-vision-text {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.65;
  color: var(--color-dark);
  margin: 0;
}

/* === Right Column: Form Wrapper === */
.kontakt-form-wrapper {
  background-color: var(--color-beige);
  min-height: 460px;
  margin: 0 -120px 0 120px;
  padding: 80px 130px 55px 130px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.21, 1.02, 0.73, 1) 0.6s forwards;
}

/* === Contact Form === */
.kontakt-form {
  max-width: 100%;
}

/* Honeypot (hidden spam protection) */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  font-family: var(--font-family-base);
  font-size: 16px;
  color: #444444;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);

}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* === Checkbox Group === */
.checkbox-group {
  margin-bottom: 0px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 14px;
  line-height: 1.5;
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #cccccc;
  background-color: #ffffff;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.checkbox-custom::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-checkbox:checked + .checkbox-custom {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox:checked + .checkbox-custom::after {
  opacity: 1;
}

.checkbox-text {
  color: var(--color-text);
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

.privacy-link:hover {
  color: var(--color-link-hover);
}
.checkbox-group label.form-label {
  display: block;
  margin-bottom: 8px;
}

/* === Submit Button === */
.form-submit {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
  padding: 16px 32px;
  margin-top: 16px;
  margin-bottom: 20px;
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.form-submit:hover,
.form-submit:focus {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
}

.form-submit:active {
  transform: translateY(1px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Form Errors === */
.form-error {
  display: block;
  color: #cc3a3b;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
}

.form-input.error,
.form-textarea.error {
  border-color: #cc3a3b;
}

/* === Contact Information Section === */
.kontakt-info {
  padding: 60px clamp(20px, 2vw, 0px);
  margin-top: -80px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.21, 1.02, 0.73, 1) 0.9s forwards;
}

.kontakt-info-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px clamp(40px, 10vw, 100px);
  background-color: var(--color-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.contact-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-content {
  flex: 1;
}

.contact-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.kontakt-info .contact-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.67);
  margin: 0;
}

/* === Large Screen Responsive (1350px and below) === */
@media (max-width: 1350px) {
  .kontakt-form-wrapper {
    margin: 0 -60px 0 60px;
    padding: 80px 120px 55px 120px;
  }
}

/* === Tablet Responsive (1024px and below) === */
@media (max-width: 1024px) {
  .kontakt-header {
    padding: 20px 0 0 0;
  }
  
  .kontakt-header-container {
    padding: 0 var(--container-padding-x);
  }
  
  .kontakt-container {
    padding: 0 var(--container-padding-x);
  }
  
  .kontakt-title {
    font-size: 30px;
  }
  
  .kontakt-vision {
    padding: 80px 0 120px 0;
  }
  
  .kontakt-vision-title {
    font-size: 30px;
    margin: 0 -200px 20px 0;
  }
  
  .kontakt-vision-text {
    font-size: 18px;
  }
  
  .kontakt-form-wrapper {
    margin: 0 -50px 0 50px;
    padding: 80px 80px 55px 80px;
  }
  
  .kontakt-info {
    padding: 40px var(--container-padding-x);
    margin-top: -80px;
  }
  
  .kontakt-info-container {
    padding: 40px;
  }
  
}

/* === Mobile Responsive (767px and below) === */
@media (max-width: 767px) {
  .kontakt-header {
    display: none;
  }
  
  .kontakt-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 var(--container-padding-x);
  }
  
  .kontakt-vision {
    padding: 40px 0 80px 0;
    text-align: center;
  }
  
  .kontakt-vision-title {
    margin: 0 0 20px 0;
  }
  
  .kontakt-form-wrapper {
    margin: 0;
    padding: 40px 40px 15px 40px;
  }
  
  .kontakt-info {
    padding: 40px var(--container-padding-x) 80px var(--container-padding-x);
    margin-top: 40px;
  }
  
  .kontakt-info-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }
  
  .contact-block {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 15px;
  }
  
  .contact-title {
    font-size: 20px;
    line-height: 30px;
  }
}

/* === Larger Mobile (600px and below) === */
@media (max-width: 600px) {
  .kontakt-form-wrapper {
    padding: 30px 20px 15px 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .checkbox-group {
    margin-bottom: 25px;
  }
}

/* ---------------------------------------------
   7. LEGAL PAGES (IMPRESSUM & DATENSCHUTZ)
--------------------------------------------- */

.legal-main {
  background: #fff;
  min-height: 600px;
  padding: 0;
}

/* --- Full-width blue header section --- */
.legal-header-section {
  background-color: var(--color-dark);
  width: 100%;
  padding: 75px 0;
  margin: 0;
}

.legal-header-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 0 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--color-primary);
  background: none;
}

.legal-section {
  padding: 75px 0 75px 0;
  margin-bottom: 30px;
  background: #fff;
}

.legal-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --- Two-column grid for legal content --- */
.legal-flex-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: flex-start;
}

.legal-col {
  min-width: 0;
  max-width: 100%;
}

.legal-col--info {
  /* Left column: only the first two blocks */
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 340px;
}

.legal-col--details {
  /* Right column: all other blocks */
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-col--full {
  grid-column: 1 / -1;
  max-width: 100%;
}

.legal-block {
  margin-bottom: 0;
}

.legal-heading {
  font-size: 1.5625rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  margin-top: 0;
  letter-spacing: -0.01em;
}

/* --- Heading hierarchy for Datenschutz page --- */
.legal-section--datenschutz .legal-col--details h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 24px;
  color: var(--color-dark);
  letter-spacing: -0.01em;
}

.legal-section--datenschutz .legal-col--details h2:first-of-type {
  margin-top: 0;
}

.legal-section--datenschutz .legal-col--details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-dark);
}

.legal-section--datenschutz .legal-col--details h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

/* --- Reduce spacing between consecutive headings --- */
.legal-section--datenschutz .legal-col--details h2 + h3 {
  margin-top: 16px;
}

.legal-section--datenschutz .legal-col--details h3 + h4 {
  margin-top: 12px;
}

.legal-block p {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 20px 0;
  line-height: 1.7;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--color-link);
  text-decoration: underline;
  word-break: break-all;
}

.legal-block a:hover {
  color: var(--color-link-hover);
}

/* --- Responsive: stack columns on tablet/mobile --- */
@media (max-width: 768px) {
  .legal-flex-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }
  .legal-col--info,
  .legal-col--details {
    max-width: 100%;
    min-width: 0;
  }
  .legal-title {
    font-size: 2rem;
    padding: 0 10px;
  }
}

@media (max-width: 700px) {
  .legal-section {
    padding: 40px 0 40px 0;
  }
  .legal-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }
  .legal-block {
    margin-bottom: 20px;
  }
  .legal-flex-row {
    gap: 20px;
    margin-bottom: 24px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .legal-title {
    font-size: 1.6rem;
    padding: 0 6px;
  }
  .legal-section {
    padding: 40px 0 40px 0;
  }
  .legal-container {
    padding: 0 2vw;
  }
}

@media (max-width: 1024px) {
  .legal-container {
    padding: 0 28px;
  }
}

/* ---------------------------------------------
   8. 404 ERROR PAGE STYLES
--------------------------------------------- */
/* === 404 Error Page === */
.error-404 {
  text-align: center;
  padding: 40px 0px 80px 0px;
}

.error-container {
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  width: 220px;
  height: auto;
  margin-bottom: 24px;
  fill: var(--color-primary);
}

.error-heading {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
  margin-bottom: 24px;
  line-height: 1.2;
}

.error-message {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 40px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.error-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
  text-align: center;
}

.error-button-primary {
  background-color: var(--color-primary);
  color: white;
}

.error-button-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.error-button-secondary {
  background-color: transparent;
  color: var(--color-primary);
}

.error-button-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

@media (max-width: 700px) {
  .error-404 {
    padding: 60px var(--section-padding-inline);
  }
  
  .error-icon {
    width: 150px;
  }
  
  .error-heading {
    font-size: 32px;
  }
  
  .error-message {
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .error-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .error-button {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .error-icon {
    width: 120px;
  }
  
  .error-heading {
    font-size: 28px;
  }
  
  .error-button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* ---------------------------------------------
   END OF PAGE STYLES
--------------------------------------------- */
