@charset "UTF-8";
body {
  font-size: 1.2rem;
}

h1,
.display-3 {
  font-size: 5rem;
}

@media (min-width: 2500px) {
  h1,
  .display-3 {
    font-size: 7rem;
  }
}
.btn {
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  font-size: 1.5rem;
  border: 2px solid #000;
}

.btn:hover {
  border: 2px solid #ff9900;
  background: rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background-color: #3e648b;
  border-color: #3e648b;
}

.btn-secondary {
  background-color: #ff9900;
  border-color: #ff9900;
  color: #fff;
}

.btn-animated {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  z-index: 1;
  transition: color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.btn-animated::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-color: #ff9900;
  z-index: -1;
  transition: left 0.4s ease;
}

.btn-animated:hover::before {
  left: 0;
}

.btn-animated:hover {
  color: #ff9900;
}

.card-overlay-container {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.card-overlay-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.2);
  /* background: linear-gradient(
    to bottom,
    rgba(51, 102, 153, 0.3),
    rgba(0, 0, 0, 0)
  ); */
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-top,
.overlay-bottom {
  position: absolute;
  width: 100%;
  height: 50%;
  background: #4b6cb7; /* fallback for old browsers */
  transition: transform 0.4s ease-in-out;
  z-index: 1;
}

.overlay-top {
  top: 0;
  transform: translateY(-100%);
}

.overlay-bottom {
  bottom: 0;
  transform: translateY(100%);
}

.overlay-text {
  position: relative;
  color: white;
  z-index: 2;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  text-align: center;
  padding: 1rem;
}

.card-overlay-container:hover .overlay-top {
  transform: translateY(0);
}

.card-overlay-container:hover .overlay-bottom {
  transform: translateY(0);
}

.card-overlay-container:hover .overlay-text {
  opacity: 1;
  transform: scale(1);
}

.kachel {
  aspect-ratio: 1/1; /* quadratisch */
}

@media (min-width: 768px) {
  .kachel {
    aspect-ratio: auto; /* Höhe über vh-100 der Section geregelt */
  }
}
.container-img {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container-img-sq {
  aspect-ratio: 1/1;
  width: 100%;
  overflow: hidden;
}

.img-border-radius {
  border-radius: 10px;
}

#section-hero {
  background-color: #003366;
  background-image: url("/public/images/pension-fuchsbau-gmbh-berlin-potsdam-zimmer.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#section-hero .logo img {
  height: 100px;
  width: auto;
}

#hero-top-line {
  font-size: 18px;
}

@media (min-width: 2500px) {
  #section-hero .logo img {
    height: 150px;
    width: auto;
  }
}
@media (max-width: 991px) {
  #section-hero {
    padding-top: 5rem !important;
  }
  #section-hero h1,
  #section-hero .display-3 {
    font-size: calc(1.525rem + 3.3vw);
  }
  #hero-top-line {
    font-size: 16px;
  }
}
#section-keyfacts {
  background-size: cover;
  background-position: center;
}
#section-keyfacts strong {
  color: #dd8603;
}
#section-keyfacts .btn {
  padding: 0.75rem 1.2rem;
  font-size: 1.3rem;
}

.menu-item {
  background-color: #fff;
  color: #003366;
  border-color: #fff;
}
.menu-item.active {
  background-color: #003366;
  color: #fff;
  border-color: #003366;
}
.menu-item:hover {
  background-color: #fff;
  border-color: #ff9900;
  color: #ff9900;
}

.content-area {
  transition: opacity 0.5s ease-in-out;
}

.content-area.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.text-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 10px;
  height: 100%;
}

.img-tile {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.section-wrapper {
  min-height: 100%;
  position: relative;
}

.bg-thema3 {
  background-color: #e3f2fd; /* hellblau */
  background: url("../../../public/images/pension-fuchsbau-ziele.webp");
}

.bg-thema2 {
  background-color: #fff3cd; /* hellgelb */
  background-image: url("../../../public/images/pension-fuchsbau-ziele.webp");
}

.bg-thema1 {
  background-color: #e2f7e1; /* hellgrün */
  background-image: url("../../../public/images/pension-fuchsbau-ziele.webp");
}

.bg-thema8 {
  background-color: #fff3cd; /* hellgelb */
  background-image: url("../../../public/images/pension-fuchsbau-ziele.jpg");
}

.overlay-blur {
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

#section-offer {
  background-image: radial-gradient(circle, rgba(19, 26, 42, 0.5617706555) 30%, rgba(19, 26, 42, 0.102386902) 100%), url("/public/images/pension-fuchsbau-ziele.webp");
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
}
#section-offer h2,
#section-offer h3,
#section-offer h4 {
  text-shadow: 0px 0px 4px rgb(0, 0, 0);
}

#section-footer {
  color: #f3f3f3;
}
#section-footer a {
  text-decoration: none;
  color: #f3f3f3;
}
#section-footer a:hover {
  color: #ff9900;
}
#section-footer .footer-menu {
  list-style: none;
}
#section-footer .footer-menu li {
  display: inline;
  padding: 0.5rem;
}
#section-footer .footer-menu li a {
  font-size: 18px;
}

.background-primary {
  background-color: #3e648b;
}

.background-secondary {
  background-color: #ff9900;
}

.background-dark-primary {
  background-color: #003366;
}

.gradient-secondary-to-primary {
  background: rgb(255, 153, 0);
  background: linear-gradient(90deg, rgb(255, 153, 0) 13%, rgb(14, 149, 176) 64%, rgb(62, 100, 139) 93%);
}

.gradient-text-darken {
  background-image: linear-gradient(90deg, rgba(35, 47, 106, 0.0855801793) 0%, rgba(21, 29, 51, 0.752246846) 33%, rgba(19, 26, 42, 0.7186334006) 66%, rgba(19, 26, 42, 0.0883812998) 100%);
}

.gradient-blue {
  background: #4b6cb7; /* fallback for old browsers */
  background: -webkit-linear-gradient(to bottom, #182848, #4b6cb7); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #182848, #4b6cb7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.padding-all {
  padding: 3rem 6rem;
}

.overlay-blur-line {
  backdrop-filter: blur(8px);
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.list-group-item {
  background-color: transparent;
  border: none;
  color: inherit;
  padding: 0;
}

#menu {
  position: fixed;
  top: 150px;
  right: 3px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.button {
  position: relative;
  right: 0px;
  width: 50px;
  height: 50px;
  overflow: visible;
}
.button a {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  width: 180px;
  height: 100%;
  padding: 0 10px;
  background-color: #333;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px 0 0 5px;
  transform: translateX(110px);
  transition: transform 0.3s ease;
}
.button a i {
  margin-right: 10px;
}
.button a .text {
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
  white-space: nowrap;
}
.button:hover a {
  transform: translateX(0);
  background-color: #3e648b;
}
.button:hover a .text {
  opacity: 1;
}

#section-about-one .cover-img,
#section-about-two .cover-img {
  object-fit: cover;
  width: 100%;
  height: 100vh; /* Hälfte des Viewports */
}
#section-about-one .section-full,
#section-about-one .section-full .row,
#section-about-one .container-img,
#section-about-two .section-full,
#section-about-two .section-full .row,
#section-about-two .container-img {
  height: 100vh; /* oder 100vh, wenn du Fullscreen willst */
}

.custom-form label,
.custom-form .form-check-label,
.custom-form em {
  font-size: 1rem !important;
}
.custom-form .form-box {
  background: rgba(62, 100, 139, 0.2);
  border-radius: 10px;
}
.custom-form a {
  color: black !important;
}
.custom-form a:hover {
  text-decoration: underline !important;
}

.agb h3 {
  margin: 1.8rem 0;
  font-size: 1.5rem;
  font-weight: bolder;
}
.agb p {
  margin: 1.8rem 0;
}
.agb ul {
  padding-left: 4rem;
}
.agb ul li {
  list-style-type: "-  ";
}
.agb strong {
  color: #212529 !important;
}

@media (min-width: 2500px) {
  html,
  body {
    font-size: 1.3rem;
  }
  .btn {
    font-size: 1.3rem;
  }
}
@media (max-width: 1590px) {
  #section-keyfacts .btn {
    font-size: 1.2rem;
  }
}
@media (max-width: 1400px) {
  .padding-all {
    padding: 2rem 1.5rem !important;
  }
}
@media (max-width: 991px) {
  html,
  body {
    font-size: 1rem !important;
  }
  .padding-all {
    padding: 1rem !important;
  }
  .subpage {
    padding-top: 3rem;
  }
  .btn {
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  .footer-menu a {
    font-size: 1rem;
  }
  #section-hero {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  /* scroll-behavior: smooth; */
  font-size: 1.2rem;
}

.scroll-container {
  overflow: hidden;
}

#backToTop {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  opacity: 1;
}

strong {
  color: #ff9900;
}