html.light,
html.light body {
  background-color: #f8fafc;
  color: #060e20;
  overflow-x: hidden;
}

/* === Brand / Navigation === */

html.light .text-primary {
  color: #8a6a12 !important;
}

html.light .nav-link-modern.active,
html.light .nav-link-glow.active,
html.light .nav-link-glow:focus-visible {
  color: #8a6a12 !important;
}

@media (hover: hover) and (pointer: fine) {
  html.light .nav-link-modern:hover,
  html.light .nav-link-glow:hover {
    color: #8a6a12 !important;
  }
}

html.light .nav-link-modern::after {
  background: radial-gradient(circle, #8a6a12 0%, transparent 100%);
  box-shadow: 0 0 10px rgba(138, 106, 18, 0.55);
}

/* === Base surfaces === */

html.light .hero-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.services-bg {
  background-color: #ffffff;
  background-image: radial-gradient(
    at 50% 0%,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 80%
  );
}

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 250, 252, 0.84) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.06),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

/* === Hero image / overlay === */

.hero-bg-image {
  filter: saturate(0.94) brightness(0.95) contrast(1.05);
}

html.light .hero-overlay {
  background: none;
}

/* === Hero panel / typography === */

html.light .hero-home .hero-panel {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
}

html.light .hero-home .hero-panel:hover {
  background: rgba(255, 255, 255, 0.7) !important;
}

html.light .hero-home .hero-title {
  color: #0f172a;
  letter-spacing: -0.03em;
  text-shadow: none;
  line-height: 0.93;
}

html.light .hero-home .hero-copy {
  color: rgba(15, 23, 42, 0.78);
  max-width: 28rem;
  line-height: 1.58;
}

/* === Hero bottom labels / side copy === */

html.light .hero-desktop-bottom span,
html.light .hero-mobile-label span,
html.light .hero-mobile-bottom span {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #132033 !important;
  border-color: rgba(95, 71, 8, 0.34) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  text-shadow: none;
}

html.light .hero-desktop-bottom .hero-side-copy,
html.light .hero-mobile-label p,
html.light .hero-mobile-bottom p {
  color: #f8f4ec !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.28),
    0 2px 10px rgba(0, 0, 0, 0.18);
}

/* === CTA / buttons === */

.goldenglow-btn,
.cta-goldenglow-intense,
#call-header {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#call-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(180deg, #22324a 0%, #132033 100%);
  border: 1px solid rgba(212, 175, 55, 0.30);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 15px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

#call-header:hover,
.cta-goldenglow-intense:hover,
.goldenglow-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.32),
    0 18px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(212, 175, 55, 0.62);
}

#call-header:hover {
  background: linear-gradient(180deg, #2c415d 0%, #172538 100%);
}

/* === Contact copy buttons === */

.contact-copy-btn {
  --contact-copy-border-hover: rgba(212, 175, 55, 0.58);
  --contact-copy-text-hover: #060e20;
  --contact-copy-bg-hover: rgba(212, 175, 55, 0.1);
  --contact-copy-shadow: rgba(212, 175, 55, 0.24);
}

/* === Typo / spacing polish === */

.section-intro {
  margin-bottom: 4.5rem;
}

.section-heading-line {
  margin-bottom: 1.15rem;
}

.section-heading-title {
  margin-bottom: 0.9rem;
  letter-spacing: -0.03em;
}

html.light .section-heading-subline {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: #5f4708 !important;
  opacity: 1;
}

html.light .about-media > .absolute.top-4.right-4 {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #132033 !important;
  border-color: rgba(95, 71, 8, 0.34) !important;
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
  text-shadow: none;
}

html.light .about-media > .absolute.top-4.right-4 span:first-child,
html.light .about-media > .absolute.top-4.right-4 span:last-child {
  color: #132033;
}

.text-on-surface-variant {
  opacity: 0.78;
}

.trustbar-text {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

/* === Service image crop tuning === */

.service-card-img-klima {
  object-position: center;
}

.service-card-img-kaelte {
  object-position: 50% 60%;
}

.service-card-img-service {
  object-position: center top;
}

/* === Contact / map weighting === */

.map-container {
  opacity: 0.82;
}

/* === Mobile polish === */

@media (min-width: 640px) {
  #call-header {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 768px) {
  #call-header {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .cta-responsive {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding-inline: 1.25rem;
  }

  .process-line-mobile {
    display: none;
  }

  .process-mobile-text-row:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -1rem;
    bottom: -1.25rem;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(212, 175, 55, 0.35) 18%,
      rgba(212, 175, 55, 0.45) 50%,
      rgba(212, 175, 55, 0.35) 82%,
      transparent 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  .about-mobile-row > div:first-child {
    margin-top: 0 !important;
  }

  .about-mobile-copy {
    min-width: 0;
    transform: translateY(-0.2rem);
  }

  .about-mobile-copy h3 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.45;
  }

  .section-intro {
    margin-bottom: 3rem;
  }

  .hero-home .hero-copy {
    line-height: 1.55;
  }

  .section-heading-subline {
    max-width: 28rem;
  }

  .trustbar-item {
    width: 100%;
    justify-content: center;
  }

  #scroll-to-top {
    color: #8a6a12;
  }

  #scroll-to-top .icon-svg {
    color: currentColor;
    stroke: currentColor;
  }

  #scroll-to-top:hover {
    background-color: #8a6a12 !important;
    border-color: #8a6a12 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(138, 106, 18, 0.35);
  }

  #scroll-to-top:hover .icon-svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  #scroll-to-top .icon-svg use {
    fill: currentColor;
    stroke: currentColor;
  }

  #scroll-to-top:hover .icon-svg use {
    fill: #ffffff !important;
    stroke: #ffffff !important;
  }
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  #main-header,
  #mobile-menu,
  .hero-home .hero-panel,
  .hero-desktop-bottom span,
  .hero-mobile-label span,
  .hero-mobile-bottom span {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #main-header {
    background: rgba(255, 255, 255, 0.96) !important;
  }

  #mobile-menu {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  html.light .hero-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%) !important;
  }

  .hero-home .hero-panel {
    background: rgba(255, 255, 255, 0.70) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10) !important;
  }

  html.light .hero-home .hero-panel:hover {
    background: rgba(255, 255, 255, 0.92) !important;
  }

  .hero-home .hero-title {
    color: #0f172a !important;
  }

  .hero-home .hero-copy {
    color: rgba(15, 23, 42, 0.82) !important;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  html.light .hero-home .hero-mobile-label span,
  html.light .hero-home .hero-mobile-bottom span {
    background: rgba(255, 255, 255, 0.70) !important;
    color: #132033 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10) !important;
    text-shadow: none;
  }
}

/* === Middle service card emphasis === */

@media (min-width: 768px) {
  #leistungen .glass-card:nth-child(2) {
    transform: translateY(-6px);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.10),
      0 6px 14px rgba(15, 23, 42, 0.05);
  }

  #leistungen .glass-card:nth-child(2):hover {
    transform: translateY(-8px);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.10),
      0 6px 14px rgba(15, 23, 42, 0.05),
      0 0 28px rgba(212, 175, 55, 0.28);
    
  }
}
