:root {
  --brand: #0f766e;
  /* teal-700 */
  --brand-2: #14b8a6;
  /* teal-500 */
}

body {
  scroll-behavior: smooth;
}
.navbar-brand strong {
  letter-spacing: 0.5px;
}
.btn-brand {
  background: var(--brand);
  color: #fff;
  border: none;
}
.btn-brand:hover {
  background: #0c5f59;
  color: #fff;
}
.text-brand {
  color: var(--brand);
}
.bg-brand {
  background: var(--brand);
}
.bg-soft {
  background: #f6f8f9;
}
header.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.35)),
    url("/asset/reparaturludwig/images/hero/AdobeStock_288862639_Preview.jpeg")
      center/cover no-repeat;
}
header .badge {
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
}
.check i {
  font-size: 1.1rem;
}
.feature i {
  font-size: 1.8rem;
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}
.before-after img {
  border-radius: 12px;
}
.floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1030;
}
.floating-cta .btn {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
footer a {
  color: inherit;
}

/* --- Hero Before/After Split (clean, zugänglich) --- */
header.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0b0b0b;
}
header.hero .content {
  position: relative;
  z-index: 3;
}
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.15));
  z-index: 2;
  pointer-events: none;
}
.hero .ba {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero .ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero .ba img.after {
  clip-path: polygon(
    var(--pos, 50%) 0,
    100% 0,
    100% 100%,
    var(--pos, 50%) 100%
  );
}
.hero .ba-handle {
  position: absolute;
  top: 50%;
  left: calc(var(--pos, 50) * 1%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.hero .ba-handle::after {
  content: "";
  position: absolute;
  top: -100vh;
  bottom: -100vh;
  width: 2px;
  background: rgba(255, 255, 255, 0.75);
  z-index: -1;
}
.hero .ba-label {
  position: absolute;
  top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
}
.hero .ba-label-left {
  left: 1rem;
}
.hero .ba-label-right {
  right: 1rem;
}
.hero .ba-range {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(520px, 92%);
  z-index: 3;
}
@media (max-width: 576px) {
  .hero .ba-label {
    font-size: 0.8rem;
  }
  .hero .ba-handle {
    width: 36px;
    height: 36px;
  }
}

.black-shadow-header {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
}

.hidden-map-overlay {
  height: 450px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.hidden-map-bg {
  background: url(../images/footer/Anfahrt.png) no-repeat center center;
}

.maps-btn {
  position: absolute;
  top: calc(50% - 42px);
  left: calc(50% - 35px);
}

.maps-btn:after {
  position: absolute;
  display: block;
  bottom: -68px;
  left: -75%;
  width: 240%;
  height: auto;
  content: "Bei Aktivierung der Map werden Cookies von Drittanbietern (google-Maps) gesetzt.";
  text-align: center;
  font-size: 12px;
  color: white;
}
