﻿html, body {
  margin: 0;
  padding: 0;
  background-color: #f6f6f6;
  transition: opacity .2s ease-in;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  line-height: 1.65;
  margin-bottom: 1.1em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
  box-shadow: none !important;
  outline: none !important;
  border-bottom: none !important;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.visually-hidden-focusable:focus,
.sr-only-focusable:focus {
  position: fixed !important;
  top: 10px;
  left: 10px;
  width: auto !important;
  height: auto !important;
  padding: 1rem !important;
  background-color: white !important;
  color: #0d6efd !important;
  z-index: 10000 !important;
  clip: auto !important;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header,
.navbar-dropdown {
  background: transparent !important;
  box-shadow: none !important;
}

.navbar {
  position: relative;
  z-index: 1030;
  background-color: #bcbbbb !important;
  min-height: 60px;
  padding: 0.5rem 0;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navbar-brand {
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  color: #000 !important;
  /*padding: 0 !important;
  margin: 0 !important;*/
  margin-bottom: 0.65rem !important;
  line-height: 1.2;
  order: 1;
}

.navbar-toggler {
  border: none !important;
  padding: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-nav .nav-link {
  color: #000 !important;
  font-size: 1.1rem !important;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  opacity: 0.85;
}

.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.35rem;
  vertical-align: 0.15em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.nav-link:hover .dropdown-toggle::after {
  opacity: 0.8;
}

.dropdown-menu {
  border: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
  border-radius: 0.5rem !important;
  background-color: #bcbbbb;
  margin-top: 0.5rem !important;
  padding: 0.5rem !important;
}

.dropdown-item {
  padding: 0.6rem 1rem !important;
  border-radius: 0.4rem !important;
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(255,255,255,0.3) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: rgba(51, 133, 198, 0.15) !important;
  color: #245d8b !important;
  font-weight: 600 !important;
  border-left: 5px solid #3385c6 !important;
  border-radius: 3px 0.4rem 0.4rem 3px !important;
}

@media (max-width: 479.98px) {
  .navbar { display: block; }
  .navbar-brand { position: absolute; left: 1rem; top: 30px; transform: translateY(-50%); z-index: 1040; }
  .navbar-toggler { position: absolute; right: 1rem; top: 30px; transform: translate(0, -50%); z-index: 1040; }
  .header-btn-group { margin: 60px 0 0.5rem; width: 100%; display: flex; gap: 10px; position: relative; z-index: 1030; padding: 0 0.5rem; }
  .header-btn-group .btn { flex: 1; text-align: center; padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
  .navbar-collapse { width: 100%; margin-top: 0; padding: 0.5rem 0; }
  .navbar-nav .nav-link { padding-left: 0 !important; padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; border-bottom: 1px solid rgba(0,0,0,0.05);}
  .dropdown-menu { padding-left: 1rem !important; margin: 0 !important; padding-top: 0 !important; background: transparent !important; box-shadow: none !important; border: none !important; }
  .dropdown-item { padding-top: 0.3rem !important; padding-bottom: 0.3rem !important; color: #555 !important; border-left: none !important; background-color: transparent !important; }
  .dropdown-item.active { font-weight: bold !important; color: #000 !important; border-left: 3px solid #3385c6 !important; padding-left: 0.8rem !important; }
}

@media (min-width: 480px) and (max-width: 1199.98px) {
  .navbar { justify-content: flex-start; }
  .navbar-brand { position: absolute; left: 1.5rem; top: 30px; transform: translateY(-50%); z-index: 1040; }
  .navbar-toggler { position: absolute; left: 50%; top: 30px; transform: translate(-50%, -50%); order: 2; z-index: 1040; }
  .header-btn-group { position: absolute; right: 1.5rem; top: 30px; transform: translateY(-50%); display: flex; gap: 15px; z-index: 1040; }
  .navbar-collapse { order: 4; width: 100%; margin-top: 60px; padding-top: 0.4rem; padding-bottom: 0.5rem; background-color: #bcbbbb; border-radius: 0.25rem; position: relative; z-index: 1035; }
  .navbar-nav .nav-link { text-align: left !important; padding: 0.4rem 0 !important; border-bottom: 1px solid rgba(0,0,0,0.05); width: 100%; }
}

@media (min-width: 1200px) {
  .navbar { position: fixed !important; top: 0; left: 0; width: 100%; flex-wrap: nowrap; }
  .navbar-brand { margin-right: 1.5rem !important; }
  .navbar-toggler { display: none; }
  .navbar-collapse { display: flex !important; flex-basis: auto; order: 2; justify-content: flex-start; }
  .header-btn-group { order: 3; display: flex; gap: 15px; margin-left: 2rem; }
}

main { margin-top: 1rem !important; }

@media (min-width: 1200px) {
  main { padding-top: 1.4rem !important; margin-top: 0 !important; }
}

footer {
  background: #e3e3e3;
  border-top: 1px solid #c0c0c0;
  padding: 1.2rem 0 0.8rem;
  margin-top: 2rem !important;
  contain: content;
}

footer .row.w-100 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

footer .footer-column-inner {
  text-align: left;
  width: fit-content;
  min-width: 240px;
}

footer a {
  padding: 5px 0;
  display: inline-block;
}

@media (max-width: 767.98px) {
  footer .col-md-4 { display: flex; justify-content: center; text-align: center !important; margin-bottom: 1.5rem; }
  footer .footer-column-inner { text-align: center; min-width: 100%; }
}

@media (min-width: 768px) {
  footer .col-md-4 { display: flex; justify-content: center; flex: 0 0 33.333%; max-width: 33.333%; text-align: left !important; }
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  font-size: 0.8rem !important;
  text-align: center;
  color: #333 !important;
}

.btn {
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
  border-radius: 0.5rem !important;
}

.btn-info {
  background-color: #2a6ea5 !important;
  border-color: #1e517a !important;
  color: #ffffff !important;
}

.btn-info:hover {
  background-color: #1e517a !important;
  border-color: #1a4568 !important;
}

.btn-success {
  background-color: #2d7a31 !important;
  border-color: #225c25 !important;
  color: #ffffff !important;
}

.btn-success:hover {
  background-color: #225c25 !important;
  border-color: #1b491e !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffc107 !important;
  outline-offset: 3px !important;
}

#map {
  min-height: 560px !important;
  width: 100%;
}

iframe {
  width: 100% !important;
  border: 1px solid #cdd8e2 !important;
  background-color: #fff !important;
  border-radius: 7px;
  overflow: hidden;
}

.ifra_miet { min-height: 32rem; }
.ifra_beleg { min-height: 49rem; }

@media (max-width: 767.98px) {
  .ifra_miet { min-height: 40rem; }
  .ifra_beleg { min-height: 210rem; }
}

.ausstattung-row {
  border-bottom: 1px solid #c0c0c0;
  padding: 0.5rem 0;
}

.ausstattung-ti {
  font-weight: 600;
  color: #051a30 !important;
  font-size: 1rem;
}

.ausstattung-list ul {
  display: grid;
  gap: 0.1rem 1rem;
  grid-template-columns: 1fr;
  list-style-type: none;
  padding-left: 0;
}

@media (min-width: 768px) {
  .ausstattung-list ul { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .ausstattung-row .col-lg-3 { flex: 0 0 18% !important; max-width: 18% !important; }
  .ausstattung-row .col-lg-9 { flex: 0 0 82% !important; max-width: 82% !important; }
  .ausstattung-list ul { grid-template-columns: repeat(4, 1fr); }
}

.ausstattung-list li {
  line-height: 1.25;
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
  align-self: start;
}

.ausstattung-list li::before {
  content: "•";
  color: #bcbbbb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.review-link {
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.review-link img.icon-inline {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.review-link:hover {
  color: #337FB7 !important;
  font-weight: bold !important;
}

.review-link:hover img.icon-inline {
  opacity: 1;
}

a.link-primary {
  color: #003b71 !important;
}

@media (min-width: 992px) {
  p strong,
  p b {
    font-weight: 600 !important;
    color: #333333;
  }
}

footer #myDSGVO,
footer .footer-column-inner a.link-primary {
  background: transparent !important;
  color: #003b71 !important;
  font-weight: 500 !important;
  transition: all 0.2s ease-in-out;
  display: inline !important;
}

footer #myDSGVO:hover,
footer .footer-column-inner a.link-primary:hover {
  color: #001a33 !important;
}

.dsgvo-btn:not(footer #myDSGVO) {
  border-radius: 28px;
  transition: all 0.2s ease-in-out;
  border: 1px solid #dee2e6;
  background-color: transparent;
  padding: 4px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dsgvo-btn:not(footer #myDSGVO):focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(13, 202, 240, 0.25);
  border-color: #0dcaf0;
}

.dsgvo-btn:not(footer #myDSGVO):hover {
  background-color: #ffc107 !important;
  border-color: #ffc107;
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .dsgvo-btn:not(footer #myDSGVO) {
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    background-color: rgba(5, 26, 48, 0.05);
    border-color: #dee2e6;
  }

  button[data-cc="c-settings"] img {
    width: 24px !important;
    height: 24px !important;
  }
}

button[data-cc="c-settings"] img {
  width: 20px !important;
  height: 20px !important;
  margin: 0 auto !important;
  display: block !important;
}

#myBtn {
  position: fixed !important;
  bottom: 2rem !important;
  right: 1.5rem !important;
  z-index: 999999;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background-color: #2a6ea5 !important;
  color: #fff !important;
}

.hero-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #dfe7e2;
  aspect-ratio: 1920 / 798;
}

.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 767.98px) {
  .hero-container {
    aspect-ratio: 1 / 1;
    min-height: 320px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-container {
    aspect-ratio: 1920 / 798;
  }
}

@media (min-width: 1200px) {
  .hero-container {
    aspect-ratio: 1920 / 798;
    max-height: 798px;
  }
}

.external-link-icon {
  display: inline-block !important;
  vertical-align: middle !important;
  opacity: 0.6;
  margin-left: 3px;
}

.indexGallery-wrap {
  position: relative;
}

#indexGallery .carousel-control-prev,
#indexGallery .carousel-control-next {
  width: 3.25rem;
  opacity: 1;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

#indexGallery .carousel-control-prev {
  left: -4rem;
}

#indexGallery .carousel-control-next {
  right: -4rem;
}

.indexGallery-control-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: rgba(235, 235, 235, 0.96); /* edles Hellgrau */
  background-size: 1.65rem 1.65rem; /* größerer Pfeil */
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.18);
}

.carousel-control-prev .indexGallery-control-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next .indexGallery-control-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 0 0 .708L10.293 8l-5.647 5.646a.5.5 0 0 0 .708.708l6-6a.5.5 0 0 0 0-.708l-6-6a.5.5 0 0 0-.708 0z'/%3e%3c/svg%3e");
}

#indexGallery .carousel-control-prev:hover .indexGallery-control-icon,
#indexGallery .carousel-control-next:hover .indexGallery-control-icon,
#indexGallery .carousel-control-prev:focus .indexGallery-control-icon,
#indexGallery .carousel-control-next:focus .indexGallery-control-icon {
  background-color: rgba(220, 220, 220, 1);
  box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, 0.22);
}

@media (max-width: 991.98px) {
  #indexGallery .carousel-control-prev {
    left: 0.75rem;
  }

  #indexGallery .carousel-control-next {
    right: 0.75rem;
  }
}