.bg-light {
  background-color: #fdfdfd !important;
}

html {
  scroll-behavior: smooth;
}

.head-logo {height:100px;}

/* Allgemeine Schriftanpassung */

.navbar-nav {
  text-align: center;
}

.navbar .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.navbar-nav .nav-link {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: #000000;
  position: relative;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  margin-left:10px;
  margin-right:10px;
}

/* Hover- und aktive Zustände */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #000000;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #000000; 
}


/* Grundstil: keine Bootstrap-Hintergrundbilder */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
}

/* Stil für die komplette Schaltfläche */
.carousel-control-next {
  width: 70px;
  height: 70px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 6%;
}

.carousel-control-prev {
  width: 70px;
  height: 70px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 6%;
}

/* Schwarzer Kreis zentriert */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  position: relative;
  margin: auto;
}

/* Weißer Pfeil zentriert im Kreis */
.carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
  width: 10px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
}

.carousel-control-next-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 2rem;
  color: #7e6756;
}


/* Grundlayout der Abschnitte */
.section-intro {
  background-color: #604d40;
  color: white;
}

.section-light {
  background-color: #f8f9fa;
  color: #333;
}

.section-dark {
  background-color: #604d40;
  color: white;
}

section h1, section h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

section h3 {
  font-weight: 600;
  margin-top: 2rem;
}

section p, section li {
  font-size: 1rem;
  line-height: 1.6;
}

section ul {
  padding-left: 1.2rem;
}

.btn-outline-light {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 30px;
  text-transform: uppercase;
}

.section-hero {
  background-image: url('img/slider-1.jpg'); /* oder ein Hero-Bild */
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.section-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
}

.img-fluid {
  border-radius: 6px;
}

ul li {
  margin-bottom: 0.5rem;
}

.image-half {
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.section-white {
  background-color: #ffffff;
  color: #333;
}

.contact-photo {
  width: 70px;
  height: 93px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 4px;
}


.section-white a {
  color: #003c3c;
  text-decoration: none;
}

.section-white a:hover {
  text-decoration: underline;
}

.rustler-logo {
  max-height: 80px;
  width: auto;
  opacity: 0.9;
}


.status.verfügbar {
  color: #198754;
  font-weight: bold;
}

.status.verkauft {
  color: #dc3545;
  font-weight: bold;
}

.content-link {color:#dc3545;
              text-decoration: none;}

.content-link:hover {color:#dc3545;
                     text-decoration: none;}


.gallery-img-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.btn-primary {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-primary:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}


.table .thead-dark th {
  color: #fff;
  background-color: #604d40;
  border-color: #454d55;
}

.plan-link {color:#7e6756;
           text-decoration: none;}

.plan-link:hover {color:#7e6756;
                 font-weight:bold;
                 text-decoration: none;}

.overlay-image-wrapper {
  position: absolute;
  top: 60px; /* Abstand von oben anpassen */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050; /* Über Navbar + Carousel */
  background-color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.overlay-image {
  max-height: 100px;
  height: auto;
  width: auto;
}

.overlay-image-wrapper2 {
  position: absolute;
  margin-top: -5%;
  z-index: 10;
  background-color: white;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-left: 47%;
}

.overlay-image-wrapper2 img.overlay-image2 {
  max-height: 100px;
  height: auto;
  width: auto;
}

.section-dark img {
  object-fit: cover;
}

.gesicht-2 {
  margin-top: -47px;
  margin-left: 0%;
}

.gesicht-3 {
  margin-top: -47px;
  margin-left: 0%;
}

.lageplan {width:70%;
          height:40%;}

/* FOOTER */
.footer-main {
  background-color: #2f2e2e;
  color: #fff;
  font-size: 0.9rem;
}

.footer-top {
  background-color: #3b3a3a;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-link:hover {
  text-decoration: none;
  color:#FFFFFF;
}

.footer-logo img {
  max-height: 40px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: none;
}


 @media (max-width: 768px) and (orientation:portrait) {

  .gesicht-2 {
    margin-top: -48px;
    margin-left: 23%;
    margin-bottom: 6%;
}

  .gesicht-3 {
      margin-top: 4%;
      margin-right: 29%;
  }

  .lageplan {
    width: 94%;
    height: 40%;
}

  .overlay-image-wrapper2 {
      position: absolute;
      margin-top: -21%;
      z-index: 10;
      background-color: white;
      padding: 10px 20px;
      border-radius: 5px;
      display: inline-block;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      margin-left: 37%;
  }

 }