/* open-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 500;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 600;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 800;
  src: url('/static/vwgb/fonts/open-sans-v40-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.ci-heading {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.2rem; /* reduziert Abstand zum Border */
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #96c21f, #607c28);
  border-image-slice: 1;
  Padding-left: 1.8rem;
}

.ci-square {
  position: absolute;
  bottom: 0.5rem; /* halb unterhalb der Border platzieren */
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #96c21f;
  transform: translateY(50%); /* exakt auf Border setzen */
}

/* Entferne Rahmen und setze Abstand zwischen Items */
.accordion-item {
  border: none;
  margin-bottom: 10px;
}

/* Inaktive Buttons: hellgrauer Hintergrund, dunkler Text */
.accordion-button.collapsed {
  background-color: #f5f5f5;
  color: #212529;
}

/* Aktiver Button: grün mit weißem Text */
.accordion-button:not(.collapsed) {
  background-color: #607c28;
  color: #ffffff;
}

/* Weißer Pfeil NUR im aktiven Zustand */
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Optional: Fokus-Stil */
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(96, 124, 40, 0.5);
}

.accordion-button {
  font-weight: 600;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-overlay.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-header {
  padding: 50px 40px 20px 20px;
  flex-shrink: 0;
}

.lightbox-body {
  padding: 0 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.lightbox-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  position: relative;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.lightbox-overlay.show .lightbox-content {
  transform: scale(1);
}

.lightbox-footer {
  padding: 20px 40px 20px 20px;
  flex-shrink: 0;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-btn:hover {
  color: #333;
  background: #f0f0f0;
}

.lightbox-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;
}

.lightbox-title {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.lightbox-message {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 0;
}


/*Floating Menu*/
#floating-menu {
  
  font-size: 1.1rem;
  position: fixed;
  right: 0px;
  top: calc(100vh / 2 - 117px / 2 - 141px);
  /*
    300px == floating-menu height
    141px == Header height
  */
  width: 80px;
  overflow-x: hidden;
  transition: width 0.5s ease;
  height: 435px;
  z-index: 200;
}

#floating-menu-content {
  display: grid;
  grid-template-columns: 80px 10px 210px;
  position: relative;
  padding-top: 72px;
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-left-radius: var(--bs-border-radius);
}
#floating-menu-button {
  border: 0;
  background-color: transparent;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 90px);
  color: #117f26;
  background-color: #fff;
  font-size: 1.5rem;
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-left-radius: var(--bs-border-radius);  
}
#floating-menu-links {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 90px);
  background-color: #fff;
  opacity: 1;
}

#floating-menu-spacer {
  background-color: #fff;
}

#floating-menu-button > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#floating-menu-links > div {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 5px;
}

#floating-menu-links > div > a > *:first-child {
  width: 24px;
}

#floating-menu-closebtn {
  position: absolute;
  width: 72px;
  height: 72px;
  background-color: #fff;
  top: 0;
  right: calc(200px / 2 - 72px / 2);
}

#floating-menu-closebtn button {
  border: 0;
  background-color: transparent;
  font-size: 3rem;
  color: #1a2c4e;
  width: 100%;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in;
  display: block;
}
.fade-in-hidden {
  opacity: 0;
  transition: opacity 0.2s ease-in;
  display: none;
}
#floating-menu-links.floating-menu-hidden {
  opacity: 0;
  transition: opacity 0.5s ease-in;
  display: none;
}


:root {
  --primary-color: #607c28;
  --secondary-color: #555555;
  --bs-border-radius: 10px;
  --bs-border-radius-sm: 10px;
  --bs-border-radius-lg: 10px;
  --wrapperWidth: 90vw;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--secondary-color);
  overflow-x: hidden;
}


.page-wrap {
  max-width: 2000px;
  margin: 0 auto;
}
.page-wrap-of {
  overflow: hidden;
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Standard Header State */
#header .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

#header .navbar-brand img {
}

#header .phone-search {
    opacity: 1;
    visibility: visible;
}

/* Transitions werden nur hinzugefügt, wenn die Seite geladen ist */
#header.transitions-enabled {
    transition: all 0.3s ease-in-out;
}

#header.transitions-enabled .navbar {
    transition: all 0.3s ease-in-out;
}

#header.transitions-enabled .navbar-brand img {
    transition: all 0.3s ease-in-out;
}

#header.transitions-enabled .phone-search {
    transition: all 0.3s ease-in-out;
}

/* Scrolled Header State */
#header.scrolled .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

#header.scrolled .navbar-brand img {
    height: 75px;
}

#header.scrolled .phone-search {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Body padding to account for fixed header */
body {
    padding-top: 127px; /* Adjust based on your header height */
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
  max-height: 115px;
  margin-top: 10px;
  margin-left: 114px;
  margin-bottom: 16px;
}

#navbarNav {
  flex-direction: column;
  align-items: flex-end;
  row-gap: 30px;
}

.navbar-nav {
  font-size: 1.5rem;
  column-gap: 50px;
}

.nav-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.nav-link:hover {
  color: var(--primary-color);
}

.active .nav-link {
  color: var(--primary-color);
}

.dropdown-menu {
  border: none;
}

.phone-search {
  font-size: 1.5rem !important;
  gap: 100px;
}

.top-phone {
  width: 35px;
  filter: brightness(0.5);
}

.phone-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.search-btn {
  color: var(--primary-color);
  font-size: 1.6rem;
}

.pic-wrap {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

.cont-wrap {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

/* Hero Section */
.hero-section {
  position: absolute !important;
  top: 185px;
  left:80px;
  width: 450px;
  position: relative;
}

.info-box {
  background-color: white;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  position: absolute;
}
.info-box h1 {
  font-size: 2rem;
}
.info-box p {
  font-size: 1.3rem;
}
.info-box .btn-primary {
  --bs-btn-border-radius: 10px;
  font-size: 1.2rem;
}

/*.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #557020;
  border-color: #557020;
}*/

/* Sidebar Icons */
.sidebar-icons {
  position: fixed;
  right: 0;
  top: 43%;
  transform: translateY(-50%);
  z-index: 100;
  background-color: #fff;
  padding: 33px 26px;
  display: flex;
  flex-direction: column;
  min-height: 376px;
  justify-content: space-between;
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-left-radius: var(--bs-border-radius);  
}

.sidebar-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 5px;
  text-align: center;
  line-height: 40px;
  color: var(--primary-color);
  /*box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
  font-size: 1.2rem;
}

.sbi1 {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 15px;
}
.sbi2{
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-left: 14px;
}
.sbi3{
  width: 48px;
  height: 48px;
  line-height: 40px;
  margin-left: 11px;
}
.sbi4{
  width: 57px;
  height: 40px;
  line-height: 40px;
  margin-left: 7px;
}

.sidebar-icon:hover {
  background-color: var(--primary-color);
  color: white;
}

main#main {
  flex-grow: 1;
}

/* Content Sections */
#welcome-heading {
  font-size: 2.34rem;
}

.section-title {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 2.4rem;
}
.section-title span {
  font-weight: 700;
  font-size: 2.4rem;
}

#news-heading {
  font-size: 2.5rem;
  width: 418px;
}

#news-cards {
  width: 1150px;
  margin: 0 auto;
}

.section-content {
  margin-bottom: 50px;
}

.stats-box {
  background-color: white;
  padding: 30px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.stats-number-miete {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}


.stats-label {
  font-weight: 600;
  font-size: 1.3rem;
}

/* News Cards */
.news-bg {
  position: relative;
}
.news-bg::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;    
    /*width: 100%;*/
    height: 226px;
    background-color: #eee;
    z-index: -1;
}

.news-card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  overflow: hidden;
  /*box-shadow: 0 0 15px rgba(0,0,0,0.1);*/
}

.news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 15px;
}

.read-more {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.news-ib-bg {
  position: relative;
  margin-top: 60px;
}
.news-ib-bg::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 138px;
    background-color: #eee;
    z-index: -1;
}


/* Stats Section */
.zahlen-bg {
  position: relative;
}
.zahlen-bg::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    z-index: -1;
}

/* Karriere Section */
.karriere-bg {
  position: relative;
  margin-top: 100px;
}
.karriere-bg::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    z-index: -1;
}

.karriere-box {
  background-color: white;
  padding: 28px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  border: 1px solid #ddd;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;  
}

#karriere-boxes {
  width: 100%;
  margin: 0 auto;
}

.karriere-label {
  font-weight: 600;
  font-size: 1.3rem;  
  color: var(--primary-color);
}

#stats-heading {
  font-size: 2.5rem;
  width: 418px;
}

#stats-boxes {
  width: 1105px;
  margin: 0 auto;
}

.stats-section {

}

.stats-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0 30px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: white;
}

.footer-links {
  margin-bottom: 20px;
  display: inline-block;
  border-bottom: 1px solid #93c21e;
  padding-bottom: 20px;
}

.footer-links a {
  margin-right: 20px;
  font-weight: 600;
}

.office-hours {
  margin-bottom: 20px;
}

.office-day {
  display: inline-block;
  width: 100px;
  font-weight: 600;
}

.footer-adr-time {
  display: flex;
  justify-content: space-between;
}

.footer-partner img {
  height: 40px;
  margin-right: 20px;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus {
  /*outline: 3px solid #4d90fe;
  outline-offset: 2px;*/
}

.cont-wrap {
  display: flex;
  gap: 100px;
  max-width: 1320px;
  width: 100%;
  padding-bottom: 50px;
}

#inhalt-main {
  flex-grow: 1;
}

#inhalt-aside {
  flex: 0 0 400px;
}

#infoboxen {
  padding-top: 97px;
}

.imgcenter {
  text-align: center;
}
.imgleft {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}
.imgright {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}
.clear {
  clear: both;
}
.absatz-buttons {
	display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.bildgala {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}
.bildgala img {
  display: block;
  width: 100%;
}


.img-container, .img-container a {
  position: relative;
  display: block;
}
.img-icon {
	position: absolute;
  right: 5px;
  bottom: 5px;
  background-color: #1a2c4e;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 35px;
  border: 1px solid #fff;
}
.img-icon svg {
  color: #fff;
}

.inh-abs-titel {
  padding-bottom: 0.5rem;
}

.bildgala + .absatz-buttons {
  padding-top: 2rem;
}
.inh-abs-text + .bildgala {
  padding-top: 1rem;
}
.inh-abs-text + .absatz-buttons {
  padding-top: 0.5rem;
}
.content-element + .content-element {
  margin-top: 3rem;
}

.infobox-bg {
  position: relative;
  background-color: #eee;
  padding: 10px 0;
  border-radius: 10px;
  margin-bottom: 50px;
}
.infobox-card-body {
  
}

#ansprechpartner .card {
  width: 300px;
}
.asp-cont {
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

#kopf-panorama img {
  width: 100%;
}


/* Aktuelles */
.aktuelles-masonry {
  position: relative;
}

.aktuelles-card {
  position: absolute;
  width: calc(33.333% - 1rem);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.aktuelles-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.aktuelles-card .card-body {
  padding: 1.25rem;
}

.aktuelles-card .card-text {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.aktuelles-card .card-footer {
  background-color: transparent;
  border-top: none;
  padding: 0 1.25rem 1.25rem;
}

.aktuelles-date {
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.aktuelles-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.btn-read-more {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
}

.section-title {
  color: #2c3e50;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.card-img-overlay-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Immobilien */
#immobilien-liste {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 50px;
  grid-row-gap: 50px;
}
#immobilien-liste section > div {
  border: 1px solid rgba(0, 0, 0, 0.2);
  height: 100%;
}
.immobilien-bild {
  position: relative;
  height: 250px;
}
.immobilien-bild img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.immobilien-infos {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 250px);
  gap: 20px;
}
.immo-objektnr, .immo-strasse, .immo-plzort {
  text-align: center;
}
.immo-headline {
  padding: 15px 0;
}
.immo-headline h2 {
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
}
.immo-quick-infos {
  display: flex;
  gap: 40px;
  justify-content: space-around;
}
.immo-quick-info {
  text-align: center;
}
.immobilien-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.immobilien-footer > div:nth-child(1){
  text-align: center;
}
.immo-trenner {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
}

#immocarousel-container {
  padding: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}
#immocarousel .carousel-item img {
  height: 564px;
  object-fit: contain;
}

#immocarousel .carousel-control-next-icon, #immocarousel .carousel-control-prev-icon {
  width: 5rem;
  height: 5rem;
  filter: drop-shadow(2px 4px 6px black);
}
#immocarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke-width='0.15' stroke='white' fill='%232B7046'%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");
}
#immocarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke-width='0.15' stroke='white' fill='%232B7046'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#immocarousel .img-icon {
  top: 5px;
  right: 50%;
  transform: translateX(50%);
}
.carousel-indicators [data-bs-target] {
  border: 1px solid #fff;
  background-color: var(--design-primary);
  height: 8px;
}

#immo-details {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 60px;
  row-gap: 30px;
  justify-content: center;
  margin: 30px 0;
  padding: 10px 0;
  flex-wrap: wrap;
}
.immo-detail {
  text-align: center;
}

.immo-merkmale {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 50px;
  grid-row-gap: 5px;
}

.immo-merkmal {
  display: flex;
  gap: 10px;
}
.immo-merkmal > div:nth-child(1){
  flex: 0 0 150px;
}
.immo-merkmal > div:nth-child(2) {
  flex-grow: 1;
}

#immo-texte {
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

.immo-text + .immo-text {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

#immo-energieausweis {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  padding-top: 10px;
}

#immo-buttons {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 30px;
  padding-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Neuer Seitentitel */
#header {
    box-shadow: none !important;
}
.navbar {
    box-shadow: none !important;
}
.colored-header-module {
    position: relative;
    padding-top: 67px;
    display: flex;
    align-items: flex-start;
    margin-top: 41px;
}
.colored-header-module .background {
    background-color: #b0b0b0;
    height: 8.65em;
    width: 81vw;
    margin-left: calc(((100vw - (var(--wrapperWidth) * 0.7)) / 2));
    position: absolute;
    top: 0;
}
.colored-header-module .foreground {
    background-color: #96c21f;
    padding-left: calc(((100vw - (var(--wrapperWidth) * 0.7)) / 2));
    position: relative;
    width: 80vw;
}
.colored-header-module .foreground .title {
    background-color: var(--primary-color);
    color: white;
    margin: 0;
    padding: 0.5em 1em .5em 1em;
    font-size: 2rem;
}
#infoboxen {
    padding-top: 63px;
}


@media screen and (max-width: 2220px){
  .navbar-nav .nav-item:last-child .dropdown-menu {
    right: 0 !important;
    left: auto !important;
  }
}

@media screen and (max-width: 1200px){
  body {
    padding-top: 80px;
  }
  #header.scrolled .navbar-brand img {
    height: 60px;
  }

  #floating-menu {
    display: none;
  }

  #news-cards {
    width: 100%;
    margin: 0 auto;
  }
  #stats-boxes {
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-partner {
    order: 3;
  }
  
  .footer-adr-time {
    flex-wrap: wrap;
  }
  
  .section-title {
    font-size: 2.1rem;
  }  
  .section-title span {
    font-size: 2.1rem;
  }  
  
  .hero-section {
    top: 80px;
    left: 80px;
  }  
}
@media screen and (max-width: 1300px){
  .download-item {
      flex: 0 0 100%;
  }
}

@media screen and (max-width: 1200px){
  .navbar-brand img {
    max-height: 65px;
    margin-top: 10px;
    margin-left: 114px;
    margin-bottom: 16px;
  }
}

@media screen and (max-width: 1024px){
  .hero-section {
    display: none;
  }
  .cont-wrap {
    flex-direction: column;
    row-gap: 20px;
  }
  .news-bg::before {
      left: 0;
      right: 0;
      margin-left: 0;
      margin-right: 0;
      width: 100%;
  }
  #infoboxen {
    padding-top: 0;
  }
}

@media (max-width: 992px) {
  .aktuelles-card {
    width: calc(50% - 0.75rem);
  }
}

@media screen and (max-width: 768px){
  body {
    padding-top: 70px;
  }
  #header .navbar-brand img {
    height: 40px;
  }
  #header.scrolled .navbar-brand img {
    height: 50px;
  }
  
  #welcome-heading {
    font-size: 2.1rem;
  }
  
  .img-container {
    float: none;
    width: 100% !important;
    margin-left: 0;
  }
  
  .aktuelles-card {
    width: 100%;
    position: relative;
  }

  .aktuelles-masonry {
    position: relative;
  }
  
  .colored-header-module .background {
    height: 5.65em;
  }
  
  .colored-header-module .foreground {
    width: 100%;
  }
  .colored-header-module {
    margin-top: 22px;
    padding-top: 48px;
  }
  .colored-header-module .foreground .title {
    font-size: 1.2rem;
  }
  
  .lightbox-content {
    width: 95%;
    max-height: 85vh;
  }
  
  .lightbox-header,
  .lightbox-body,
  .lightbox-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .lightbox-header {
    padding-top: 30px;
    padding-bottom: 15px;
  }
  
  .lightbox-footer {
    padding-top: 15px;
    padding-bottom: 30px;
  }  
  
  .lightbox-title {
    font-size: 1.5em;
  }

  .lightbox-message {
    font-size: 1em;
  }  
}

@media screen and (max-width: 480px){
  #news-heading {
    font-size: 2rem;
    width: 300px;
  }
  #stats-heading {
    font-size: 2rem;
    width: 300px;
  }
  .navbar-brand img {
    max-height: 65px;
    margin-top: -1px;
    margin-left: 10px;
    margin-bottom: 0px;
  }
  #welcome-heading {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }  
  .section-title span {
    font-size: 1.5rem;
  }

  #main .my-5 {
    margin-top: 0 !important;
    
  }
  
  .colored-header-module {
    margin-bottom: 30px;
    margin-top: 0px;
  }
}


#designbody { background: none; background-color: #fff !important; color: #1b1b1b; font-size: 10pt; font-weight: 400; font-family: Arial, Sans-serif; }
#designbody ul, ol { padding-left: 21px; }
#designbody p { padding-bottom: 1rem; }
.mceContentBody { padding-top: 0!important; }
