/* =============================================
   bodenleger-bs.ch — Override CSS
   Loaded AFTER datenschutz.hdckQHY8.css
   ============================================= */

/* --- Typography --- */
body {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 18px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Quicksand", "Montserrat", system-ui, sans-serif;
}
.hero-content h1 {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
}
h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem);
}

/* --- Navbar: transparent over hero, solid on scroll --- */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: white !important;
  border-bottom: 1px solid #ededed !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}
/* White text/icons when over hero */
.navbar:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}
.navbar:not(.scrolled) a,
.navbar:not(.scrolled) span {
  color: white !important;
}
.navbar:not(.scrolled) svg {
  color: white !important;
}
.navbar:not(.scrolled) .menu-btn {
  color: white !important;
}
/* Dropdown stays white bg even when navbar transparent */
.navbar:not(.scrolled) .submenu {
  background: white !important;
}
.navbar:not(.scrolled) .submenu a {
  color: #6f899a !important;
}
/* Offset body for fixed navbar */
main {
  /* hero is full-screen so no offset needed;
     but non-hero pages might need it */
}

/* --- Service Sections: split layout with brand-blue panels --- */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: #0c0b0b;
  overflow: hidden;
}
.service-section .service-img {
  overflow: hidden;
  min-height: 400px;
}
.service-section .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-section .service-text {
  background: #6f899a;
  color: white;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-section .service-text h2 {
  color: white;
  margin-top: 0;
}
.service-section .service-text hr {
  border: none;
  height: 2px;
  background: rgba(255,255,255,0.5);
  max-width: 100px;
  margin: 1rem 0;
}
.service-section .service-text p {
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
}
.service-section .service-text a.btn {
  display: inline-block;
  margin-top: 1rem;
}
/* Reverse layout (text left, image right) */
.service-section.reverse {
  direction: rtl;
}
.service-section.reverse > * {
  direction: ltr;
}
/* SOS callout on blue bg */
.service-section .sos-box {
  background: rgba(255,255,255,0.15);
  border-left: 4px solid white;
  padding: 1.2rem 1.5rem;
  border-radius: 6px;
  margin-top: 1.5rem;
}
.service-section .sos-box p {
  color: white;
  margin: 0;
}
.service-section .sos-box a {
  color: white !important;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: underline;
}
.service-section .sos-box .sos-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.service-section .sos-box .sos-hint {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .service-section {
    grid-template-columns: 1fr;
  }
  .service-section.reverse {
    direction: ltr;
  }
  .service-section .service-img {
    min-height: 250px;
    max-height: 350px;
  }
  .service-section .service-text {
    padding: 2.5rem 1.5rem;
  }
}

/* --- Gallery strips: hover zoom + lightbox cursor --- */
.gallery-strip a {
  display: block;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-strip img {
  transition: transform 0.4s ease;
}
.gallery-strip a:hover img,
.gallery-strip img:hover {
  transform: scale(1.08);
}

/* --- Videos section --- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.video-grid .iframe-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}
.video-grid .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact section enhancements --- */
.contact-info-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.contact-info-line svg {
  flex-shrink: 0;
  color: #6f899a;
}
.contact-info-line a {
  color: #6f899a;
}
.contact-info-line a:hover {
  text-decoration: underline;
}

/* SPV badge */
.spv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #555;
}

/* --- Lightbox overlay --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
  z-index: 10000;
}

/* --- Cristofoli logo in contact section --- */
.contact-logo {
  max-width: 220px;
  margin-bottom: 1.5rem;
}

/* --- Intro section text centering (match original) --- */
#intro .maxw {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#intro p {
  text-align: left;
}

/* --- Kontakt section: dark background with visible elements --- */
.kontakt-section {
  background: #0c0b0b;
  color: white;
}
.kontakt-section h2,
.kontakt-section h3 {
  color: var(--color-brand-primary);
}
.kontakt-section p,
.kontakt-section li,
.kontakt-section address {
  color: rgba(255,255,255,0.9);
}
.kontakt-section a {
  color: rgba(255,255,255,0.9);
}
.kontakt-section a:hover {
  color: white;
  text-decoration: underline;
}
/* Logo must be visible on dark bg — invert to white */
.kontakt-section .contact-logo {
  filter: brightness(0) invert(1);
  max-width: 220px;
  margin-bottom: 1.5rem;
}
/* Contact icon lines on dark */
.kontakt-section .contact-info-line svg {
  color: var(--color-brand-primary);
}
.kontakt-section .contact-info-line a {
  color: rgba(255,255,255,0.85);
}
/* SPV badge on dark bg */
.kontakt-section .spv-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}
/* Form on dark bg */
.kontakt-section form input,
.kontakt-section form textarea,
.kontakt-section form select {
  background: #fff;
  color: #333;
}
.kontakt-section form label {
  color: rgba(255,255,255,0.7);
}
/* Maps: full-width horizontal strip at bottom of contact section */
.kontakt-map {
  width: 100%;
  height: 250px;
  margin-top: 3rem;
}
.kontakt-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* --- Footer: simple bar like original --- */
.site-footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 1.25rem 0;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #666;
}
.footer-inner a {
  color: #666;
  text-decoration: none;
}
.footer-inner a:hover {
  color: #333;
  text-decoration: underline;
}
.footer-sep {
  margin: 0 0.3rem;
}
.footer-right {
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
