/* =====================================================
   1. BOOTSTRAP OVERRIDES
   ===================================================== */

:root {
  --bs-primary: #37519b;
  --bs-primary-rgb: 55, 81, 155;
  --bs-primary-hover: #324a8f;
  --bs-primary-hover-border: #2f4587;
  --bs-primary-active: #2f4587;
  --bs-primary-active-border: #2c417e;

  --bs-primary-focus-rgb: 85, 107, 170;
  --bs-blue-light: #d7dceb;
  --bs-font-sans-serif: "Raleway", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-bg: #ffffff;
  --bs-body-color: var(--bs-primary);
  --bs-body-font-size: 1.5rem;
  --bs-body-font-weight: 500;

  --swiper-theme-color: var(--bs-primary);
}

/* =====================================================
   2. LAYOUT
===================================================== */
p > a {
  color: var(--bs-primary);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: break-word;
}
p > a:hover {
  text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}
main {
  padding: 60px 0;
}
.section {
  padding: 40px 0;
}
.section a,
.section .btn {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
#Adresszusatz {
  display: none;
}
.form label {
  font-size: 1.125rem;
}
.form-check-input {
  border: 2px solid var(--bs-primary);
}
.form-check-label a {
  text-decoration: none;
  font-weight: 600;
  color: var(--bs-body-color);
}
.form-check-label a:hover,
.form-check-label a:focus {
  text-decoration: underline;
}
.form-check-input:checked[type="radio"] {
  background-image: none;
  background-color: #fff;
  position: relative;
  box-shadow: none;
}
.form-check-input:checked[type="radio"]::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--bs-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.form-control {
  border: none;
  border-radius: 0;
  background-color: var(--bs-blue-light);
  padding: 1rem 0.75rem;
}
.form-control:focus {
  background-color: var(--bs-blue-light);
}
/* =========================================
   3. UTILITIES
========================================= */

.fw-300 {
  font-weight: 300;
}
.fw-400 {
  font-weight: 400;
}
.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 800;
}
hr {
  margin: 0.75rem 0;
  border-top: 2px solid #fff;
  opacity: 1;
}
/* =========================================
   4. HERO
========================================= */
.hero {
  padding-top: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-home {
  height: 580px;
}
.hero-page {
  height: 450px;
  position: relative;
}
.hero-page::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(var(--bs-primary-rgb), 0.4) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
}
.hero-login {
  margin-bottom: 1.5rem;
}
.hero-login a {
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  line-height: 1;
  position: relative;
  padding-bottom: 0.5rem;
}
.hero-login a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: 0.3s;
}
.hero-login a:hover::after,
.hero-login a:focus::after,
.hero-login a.active::after {
  background: #fff;
}
.hero-content {
  margin-bottom: 3rem;
}
.hero-page .hero-content {
  margin-bottom: 2rem;
}
.hero-content h1 {
  font-size: 2rem;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.125;
}
/* =========================================
   5. MENU
========================================= */
.navbar {
  --bs-navbar-active-color: #fff;
}
.navbar-toggler {
  color: #fff;
  box-shadow: none;
  outline: none;
  font-size: 1.75rem;
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}
.hamburger {
  position: relative;
  background: transparent;
}

.hamburger .menu-line {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 11px;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-white, #fff);
}

.hamburger .menu-line:last-child {
  margin-bottom: 0;
}

.hamburger:not(.collapsed) .menu-line:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}

.hamburger:not(.collapsed) .menu-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger:not(.collapsed) .menu-line:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}
.navbar .nav-link {
  color: #fff;
  position: relative;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0.5rem;
}
.navbar .nav-link:last-child {
  margin-right: 0;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: 0.3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after,
.navbar .nav-link:focus::after {
  width: 100%;
  background: #fff;
}

.navbar-brand img {
  height: 40px;
}

/* =========================================
   6. COMPONENTS
========================================= */
.btn {
  border-radius: 0;
  font-size: 1.125rem;
}
.btn-outline-white {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--bs-primary);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: var(--bs-primary);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff;
  --bs-gradient: none;
  --bs-btn-border-width: 2px;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary-hover);
  --bs-btn-hover-border-color: var(--bs-primary-hover-border);

  --bs-btn-focus-shadow-rgb: var(--bs-primary-focus-rgb);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary-active);
  --bs-btn-active-border-color: var(--bs-primary-active-border);

  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

.card-overlay.square {
  aspect-ratio: 1 / 1;
}
.card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    0deg,
    rgba(var(--bs-primary-rgb), 0.4) 0%,
    rgba(var(--bs-primary-rgb), 0) 100%
  );
  z-index: 1;
}
.card-overlay h3 {
  font-size: 1.5rem;
}
.card-overlay h4 {
  font-size: 1.3rem;
}
.card-overlay h5 {
  font-size: 1rem;
}
.card-overlay .card-img-overlay {
  padding-left: 1rem;
  padding-bottom: 0.75rem;
  z-index: 2;
}
.card-overlay img {
  transition: transform 0.4s ease;
}
.card-overlay.square img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.card-overlay:hover img {
  transform: scale(1.1);
}

/* =========================================
   7. FOOTER
========================================= */
.footer {
  padding: 3rem 0 1.125rem 0;
  background: var(--bs-primary);
}
.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  text-transform: uppercase;
}
.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
}
.footer-btn {
  width: 175px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom {
  font-size: 1rem;
  color: #fff;
}
.footer-bottom a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-separator {
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}
/* =========================================
   8. RESPONSIVE
========================================= */
@media (min-width: 576px) {
  .hero-home {
    height: 620px;
  }
}
@media (min-width: 768px) {
  .hero-home {
    height: 720px;
  }
  .hero-content {
    margin-bottom: 4rem;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .hero-content p {
    font-size: 2rem;
    line-height: 1.125;
  }
}
@media (max-width: 991px) {
  .navbar {
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
@media (min-width: 992px) {
  .hero-home {
    height: 820px;
  }
  .hero-content {
    margin-bottom: 5rem;
  }
  .navbar-brand img {
    height: auto;
    width: 120px;
  }
  .navbar .nav-link {
    font-size: 1.125rem;
    margin-right: 1.125rem;
    margin-bottom: 0rem;
  }
  .card-overlay h3 {
    font-size: 1.75rem;
  }
  .card-overlay h4 {
    font-size: 1.4rem;
  }
  .card-overlay .card-img-overlay {
    padding-left: 1rem;
    padding-bottom: 0.75rem;
  }
}
@media (min-width: 1200px) {
  .hero-home {
    height: 940px;
  }

  .navbar-brand img {
    height: auto;
    width: 200px;
  }
  .navbar .nav-link {
    font-size: 1.2rem;
  }
  .hero-content h1 {
    font-size: 3.75rem;
  }
  .hero-page .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 3rem;
    line-height: 1.125;
  }
  .card-overlay h3 {
    font-size: 2.25rem;
  }
  .card-overlay h4 {
    font-size: 1.4rem;
  }
  .card-overlay.card-sm h3 {
    font-size: 1.5rem;
  }
  .card-overlay .card-img-overlay {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1340px;
  }
  .navbar .nav-link {
    font-size: 1.5rem;
    margin-right: 2rem;
  }
  .card-overlay.card-person.card-sm h3 {
    font-size: 1rem;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1530px;
  }
  .card-overlay.card-person.card-sm h3 {
    font-size: 1.25rem;
  }
}
