:root{
  /* Stimmiges, verkaufsförderndes Konzept: seriös + warm */
  --ink: #0f1d2e;          /* deep navy */
  --ink-2:#1f334d;
  --sand:#f6f3ee;          /* warme Fläche */
  --gold:#d6a64a;          /* Akzent/CTA */
  --sage:#5e8f75;          /* Natur/Grün */
  --line: rgba(15,29,46,.12);
}

html, body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--ink); }
body { background: #fff; }

/* Navbar */
.navbar { backdrop-filter: blur(10px); }
.nav-link { color: var(--ink) !important; opacity:.9; }
.nav-link:hover { opacity:1; }

/* NAV: grüner Hover */
.navbar .nav-link{
  position: relative;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
  border-radius: 999px;               /* macht den Hover schön rund */
  padding: .45rem .75rem;             /* etwas mehr "Button"-Feeling */
}

/* Hover + Fokus (Keyboard) */
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: #FFFFFF;
  background: #689b34;    /* hellgrüner Hintergrund */
  box-shadow: inset 0 0 0 1px rgba(94,143,117,.22);
  text-decoration: none;
}

/* Aktiver Menüpunkt (optional, wenn du z.B. per JS active setzt) */
.navbar .nav-link.active{
  color: var(--sage) !important;
  background: rgba(94,143,117,.14);
  box-shadow: inset 0 0 0 1px rgba(94,143,117,.28);
  font-weight: 800;
}


.brand-mark { height: 120px; width:auto; }
.brand-title { letter-spacing:-0.02em; }

.rustler-wrap { display:flex; align-items:center; }
.rustler-logo { height: 28px; width: auto; object-fit: contain; }
.rustler-logo--footer { height: 60px; }

.footer-logo { height: 28px; width:auto; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(214,166,74,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(94,143,117,.18), transparent 55%),
    linear-gradient(180deg, var(--sand), #ffffff 65%);
  border-bottom: 1px solid var(--line);
}
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hero-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15,29,46,.10);
}
.eyebrow {
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.4rem .65rem;
  border-radius: 999px;
  background: rgba(94,143,117,.12);
  color: var(--ink-2);
  border: 1px solid rgba(94,143,117,.22);
  font-weight: 600;
  font-size: .9rem;
}
.hero h1 { letter-spacing: -0.02em; }
.hero-subheadline { color: rgba(15,29,46,.86); }
.lead { color: rgba(15,29,46,.78); }

/* Buttons */
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(214,166,74,.28);
}
.btn-primary:hover { filter: brightness(.98); }
.btn-outline-secondary {
  border-color: rgba(15,29,46,.25);
  color: var(--ink);
  font-weight: 800;
}

.btn:hover {
color:#000000;
background-color:#689b34;
border:#689b34;}

.navbar-expand-lg .navbar-nav .nav-link {
 padding-right: var(--bs-navbar-nav-link-padding-x);
 padding-left: var(--bs-navbar-nav-link-padding-x);
 text-transform: uppercase;
 padding-left: 20px;
 padding-right: 20px;}

/* Section styling */
.kicker { color: var(--sage); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.card-soft {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15,29,46,.06);
  background: #fff;
}
.icon-badge{
  width: 44px; height:44px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(214,166,74,.18);
  border: 1px solid rgba(214,166,74,.25);
  font-weight: 900;
  color: var(--ink);
}
.icon-badge i { font-size: 1rem; }

/* Stats */
.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1.25rem;
  height: 100%;
}
.stat .num { font-size: 1.65rem; font-weight: 900; letter-spacing: -0.02em; }
.stat .lbl { color: rgba(15,29,46,.72); }

.mini-trust{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(94,143,117,.25);
  background: rgba(94,143,117,.12);
  color: rgba(15,29,46,.85);
  font-weight: 700;
  font-size: .85rem;
}

/* Pills */
.pill-wrap { display:flex; flex-wrap:wrap; gap:.5rem; }
.pill {
  display:inline-flex; align-items:center; gap:.45rem;
  border:1px solid var(--line);
  border-radius:999px;
  padding:.35rem .65rem;
  background:#fff;
  font-weight:700;
  color: rgba(15,29,46,.78);
  font-size:.9rem;
}

/* Trust row */
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
}
.trust-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15,29,46,.06);
  font-weight: 800;
  color: rgba(15,29,46,.82);
  font-size: .92rem;
}
.trust-badge i{
  color: var(--sage);
}

/* Marquee (durchlaufende Bilder-Row) */
.marquee {
  --gap: 14px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: scroll 28s linear infinite;
  padding: 16px 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 450px;
  width: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(15,29,46,.10);
  object-fit: cover;
  background: #f3f3f3;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Carousel */
.carousel .carousel-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(15,29,46,.10);
}
.carousel .carousel-item img{
  height: 360px;
  object-fit: cover;
}
.carousel-caption {
  text-align: left;
  left: 6%;
  right: 6%;
  bottom: 10%;
  background: rgba(15,29,46,.55);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.carousel-caption h5 { font-weight: 900; }
.carousel-caption p { margin:0; opacity:.92; }

/* Form */
.form-control, .form-select {
  border-radius: 12px;
  border: 1px solid rgba(15,29,46,.18);
  padding: .8rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(214,166,74,.65);
  box-shadow: 0 0 0 .2rem rgba(214,166,74,.18);
}

/* Gallery thumbs */
.gallery-item{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(15,29,46,.10);
  box-shadow: 0 10px 26px rgba(15,29,46,.08);
  background:#fff;
  transition: transform .12s ease, box-shadow .12s ease;
}
.gallery-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15,29,46,.12);
}
.gallery-thumb{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display:block;
}


/* Floating CTA */
.floating-cta{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  background: var(--gold);
  color: #111;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(15,29,46,.20), 0 12px 26px rgba(214,166,74,.25);
  border: 1px solid rgba(0,0,0,.06);
}
.floating-cta:hover{
  filter: brightness(.98);
  color: #111;
}
.floating-cta__icon{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.05);
}
.floating-cta__text{ letter-spacing:-0.01em; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 2.25rem 0;
  color: rgba(15,29,46,.72);
}

#lage .card-soft iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* Vorher / Nachher Vergleich */
.before-after{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f3f3f3;
  box-shadow: 0 14px 40px rgba(15,29,46,.08);
}

.before-after__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.before-after__overlay{
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.before-after__overlay .before-after__img{
  width: 100%;
  height: 100%;
}

.before-after__divider{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #689b34;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255,255,255,.25);
}

.before-after__handle{
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #689b34;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  z-index: 4;
  box-shadow: 0 10px 24px rgba(15,29,46,.20);
  border: 2px solid rgba(255,255,255,.75);
  pointer-events: none;
}

.before-after__range{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

/* Mobile */
@media (max-width: 575.98px){
  .before-after__handle{
    width: 40px;
    height: 40px;
  }
}

/* Mobile tweaks */
@media (max-width: 575.98px){
  .floating-cta{
    padding: .75rem .9rem;
    right: 14px;
    bottom: 14px;
  }

  .floating-cta__text{ display:none; } /* nur Icon auf sehr klein */

   #lage .card-soft iframe {
    min-height: 320px;
  }
}