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

:root {
  --color-accent: #821627;
  --color-gray: #666666;
  --color-gray-light: #706f6f;
  --color-white: #ffffff;

  --bs-font-sans-serif: "Open Sans", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-bg: #f7f5f5;
  --bs-body-color: var(--color-gray-light);
  --bs-headings-color: var(--color-gray);
  --bs-offcanvas-bg: #e3e3e3;
  --bs-body-font-size: 1.125rem;
}

/* =====================================================
   2. LAYOUT
===================================================== */
html {
  scroll-behavior: smooth;
}
.section {
  padding: 40px 0 40px 0;
}
p.par {
  font-size: 1.5rem;
}

/* =========================================
   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;
}
.logo-lines {
  position: relative;
  display: inline-block;
  height: 100%;
  width: 100%;
}
.logo-lines::before {
  position: absolute;
  content: " ";
  left: 0;
  width: calc(50% - 120px);
  height: 2px;
  background: var(--color-gray-light);
}
.logo-lines::after {
  position: absolute;
  content: " ";
  right: 0;
  width: calc(50% - 120px);
  height: 2px;
  background: var(--color-gray-light);
}
.logo-lines::before,
.logo-lines::after {
  top: 50%;
}
/* =========================================
   4. HERO 
========================================= */
/* 1. Basis-Container */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* 2. Hintergrund-Medien (Ebene 0) */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

/* 3. Verlaufs-Overlay (Ebene 1) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 25%,
    rgba(0, 0, 0, 0) 50%
  );
  z-index: 1;
  pointer-events: none; /* Klicks gehen zum Button durch */
}

/* 4. Topbar (Ebene 1050 - Über dem Overlay & Bootstrap Menü) */
.hero-topbar {
  position: relative;
  z-index: 1050 !important;
  padding-top: 1rem;
  pointer-events: none; /* Klicks gehen durch die leeren Bereiche der Topbar durch */
}

.hero-topbar .hamburger,
.hero-topbar .logo-main,
.hero-topbar a,
.hero-topbar button {
  pointer-events: auto; /* Stellt die Klickbarkeit für diese Elemente wieder her */
}

/* 5. Content & Scroll (Ebene 2 - Über Overlay, aber unter Menü) */
.hero-content,
.hero-scroll {
  position: relative;
  z-index: 2;
}

.hero-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

/* =========================================
   5. MENU
========================================= */
.hamburger {
  position: relative;
  /* Über der Topbar (1050) */
  z-index: 1051;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px;
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /* Wichtig: Falls die Topbar pointer-events: none hat */
  pointer-events: auto;
}

.hamburger .menu-line {
  display: block;
  width: 36px;
  height: 3px;
  /* Erhöhter Abstand für eine weniger gedrängte Optik */
  margin-bottom: 11px;
  transition: all 0.3s ease-in-out;
  background-color: var(--color-white, #fff);
}

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

/* Aktiver Zustand (X-Animation) */
.hamburger.is-active .menu-line {
  background-color: var(--color-accent, #c19b76) !important;
}

.hamburger.is-active .menu-line:nth-child(1) {
  /* Angepasst auf 14px für perfekten Schnittpunkt bei 11px Margin */
  transform: translateY(14px) rotate(45deg);
}

.hamburger.is-active .menu-line:nth-child(2) {
  opacity: 0;
  /* Entferne translateX, damit er auf der Stelle verschwindet */
  transform: scale(0);
}

/* Wenn der Hamburger aktiv ist, blende das Logo aus */
.hamburger.is-active ~ .logo-main, /* Falls Geschwister */
.hero-topbar:has(.is-active) .logo-main {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.hamburger.is-active .menu-line:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}
.top-link {
  font-size: 1.125rem;
  line-height: 1;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.5rem;
}

.top-link:hover,
.top-link.active {
  border-bottom-color: var(--color-accent);
}

.btn.top-link-mobile {
  --bs-btn-bg: var(--color-white);
  --bs-btn-border-radius: 50%;
  border-color: var(--color-white);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn.top-link-mobile:hover,
.btn.top-link-mobile:focus,
.btn.top-link-mobile:active,
.btn.top-link-mobile.active {
  color: var(--color-accent);
  background: var(--color-white);
  border-color: var(--color-white);
}
.btn-collapse::after {
  font: var(--fa-font-solid);
  content: "\f068";
  display: inline-block;
  margin-left: 5px;
}
.btn-collapse.collapsed::after {
  content: "\2b";
}
.btn-rounded {
  border-radius: 32px;
}
#side-menu {
  background: var(--bs-offcanvas-bg);
  --bs-offcanvas-width: 480px;
}
#side-menu .offcanvas-body {
  padding-top: 4.5rem;
  padding-left: 3.5rem;
}
#page-nav a.nav-link {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gray-light);
  line-height: 1;
  padding-left: 0;
}
#page-nav a.nav-link:hover,
#page-nav a.nav-link:focus,
#page-nav a.nav-link.active {
  color: #821627;
}
#page-nav .dropdown-menu {
  position: relative !important;
  width: 100%;
  transform: translate(0) !important;
  border-radius: 0;
  border: none;
  padding-left: 15px;
  background: var(--bs-offcanvas-bg);
}
#page-nav a.dropdown-item {
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gray-light);
  line-height: 1;
  padding: 0.5rem 1rem;
}
#page-nav a.dropdown-item:hover,
#page-nav a.dropdown-item:focus,
#page-nav a.dropdown-item.active {
  color: #821627;
  background: none;
}

.utility-link {
  color: var(--color-accent);
  font-size: 1.25rem;
}

/* =========================================
   6. COMPONENTS
========================================= */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  line-height: 1.2;
}

.link-arrow i {
  transition: transform 0.2s ease-in-out;
}

.link-arrow:hover i {
  transform: translateX(5px);
}

.btn-grey {
  font-size: 14px;
  text-transform: uppercase;
  color: #fff !important;
  background-color: var(--color-gray-light);
  border-radius: 32px;
}
.btn-grey:hover,
.btn-grey:focus,
.btn-grey:active {
  background-color: var(--color-gray) !important;
  color: #fff !important;
  border-color: var(--color-gray) !important;
}

.btn-social {
  background: none;
  border-radius: 0;
  border: none;
  color: var(--color-gray-light);
  font-size: 2.125rem;
  padding: 0;
  margin-right: 0;
}
.section-title {
  text-transform: uppercase;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 500;
}

.section-intro {
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
}
.section .section-body a,
.section a {
  color: var(--color-gray-light);
  text-decoration: none;
  font-weight: 600;
}
.card-overlay {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
}
.card-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  z-index: 1;
}
.card-overlay h3 {
  font-size: 2.25rem;
}
.card-overlay p {
  font-size: 1.5rem;
}
.card-overlay .card-img-overlay {
  padding-left: 2rem;
  padding-bottom: 1.875rem;
  z-index: 2;
}
.card-overlay img {
  transition: transform 0.4s ease;
}
.card-overlay:hover img {
  transform: scale(1.1);
}

.accordion-content {
  --bs-accordion-border-color: var(--bs-body-color);
  --bs-accordion-border-width: 2px;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 1rem;
  --bs-accordion-btn-padding-y: 1rem;
  --bs-accordion-active-color: var(--bs-body-color);
  --bs-accordion-active-bg: var(--bs-body-bg);
}
.accordion-content .accordion-item {
  border-left: none;
  border-right: none;
}
.accordion-content .accordion-button {
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1;
}
.accordion-content .accordion-button:not(.collapsed) {
  border-bottom: none !important;
  box-shadow: none !important;
  --bs-accordion-border-width: 0px; /* Setzt die CSS-Variable für diesen Zustand auf 0 */
}
.accordion-content .accordion-button:not(.collapsed) i.fa-plus {
  display: none;
}
.accordion-content .accordion-button.collapsed i.fa-minus {
  display: none;
}
.accordion-content .accordion-button:focus {
  box-shadow: none;
}
.accordion-button:not(.collapsed):focus {
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
    var(--bs-accordion-border-color);
}
.accordion-content .accordion-button::after {
  display: none;
}
.accordion-content .accordion-body a {
  color: var(--color-gray-light);
}
.accordion table {
  --bs-table-color: var(--bs-body-color);
}
.accordion table p {
  margin-bottom: 0;
}
.accordion table,
.accordion-collapse table {
  border: 0 !important;
  border-collapse: collapse;
}

.accordion table tr,
.accordion-collapse table tr {
  border: 0 !important;
}

.accordion table th,
.accordion table td,
.accordion-collapse table th,
.accordion-collapse table td {
  border: 0 !important;
  border-bottom: 1px solid var(--bs-border-color, #dee2e6) !important;
}

.accordion table tr:first-child th,
.accordion table tr:first-child td,
.accordion-collapse table tr:first-child th,
.accordion-collapse table tr:first-child td {
  border-top: 0 !important;
}
.btn.btn-hole {
  width: 3.75rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 2px solid var(--color-gray-light);
}
.btn.btn-hole:hover,
.btn.btn-hole:focus,
.btn.btn-hole.active,
.btn.btn-hole:active {
  background-color: var(--color-gray-light);
  color: var(--color-white);
  border: 2px solid var(--color-gray-light);
}

/* swiper */
.swiper {
  padding-bottom: 55px !important;
}
.swiper.swiper-tour {
  padding-inline-start: 4rem;
  padding-inline-end: 4rem;
}
.card-img-wrapper {
  height: 320px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#mdlCookie .modal-body {
  font-size: 16px;
}
#mdlCookie .modal-header,
#mdlCookie .modal-content,
#mdlCookie .modal-footer {
  border: none;
  border-radius: 0;
}
#mdlCookie .modal-header {
  padding-bottom: 0;
}
#mdlCookie .modal-header h5 {
  text-transform: uppercase;
  font-size: 24px;
}
#mdlCookie .modal-footer {
  padding-top: 0;
}

/* =========================================
   7. FOOTER
========================================= */
.footer {
  padding-top: 120px;
  font-size: 0.875rem;
  text-transform: uppercase;
}
.footer a {
  color: var(--color-gray-light);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.logo-lines img {
  margin-top: 0;
}
.footer-separator {
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
  font-weight: bold;
}

/* =========================================
   X. ADDED STYLES
========================================= */

header .hero-scroll > a > i {
  display: inline-block;
  animation: arr_down 2s ease-in-out infinite;
}

@keyframes arr_down {
  0% {
    transform: translate(0, -20px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 20px);
    opacity: 0;
  }
}

/* footer */

#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fed64f;
  background-color: #821627;
  text-align: center;
  cursor: pointer;
  font-size: 20px;
  line-height: 48px;
  width: 48px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease;
  border-radius: 50%;
}
#scroll-top.show-btn {
  opacity: 1;
}

/* startzeiten */

.btn-weather .fa-duotone {
  --fa-secondary-opacity: 0.6;
  --fa-primary-opacity: 0.6;
}

.btn-weather.active .fa-duotone {
  --fa-secondary-opacity: 1;
  --fa-primary-opacity: 1;
}
#swiper-hours .swiper-slide {
  width: 110px !important;
}
.btn-weather:focus {
  color: #fff;
  background: #c9c8c8;
  font-weight: 500;
}
.btn-weather.active:focus {
  color: #fff;
  background: #666666;
}

/* gaeste rubriken */

.nav-outside .swiper-button-next,
.nav-outside .swiper-button-prev {
  display: none;
}
.swiper-button-white {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.2s ease-in-out;
}
.swiper-button-white:hover,
.swiper-button-white:focus {
  color: #fff;
  opacity: 1;
}
.swiper-button-grey {
  color: #9d9c9c;
  text-decoration: none;
}
.swiper-button-grey:hover,
.swiper-button-grey:focus {
  color: #666;
}
#swiper-event .swiper-slide {
  height: auto;
}
#swiper-event .card-body {
  display: flex;
  flex-direction: column;
}

/* =========================================
   8. RESPONSIVE
========================================= */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }

  .hero-scroll {
    font-size: 2.25rem;
  }

  .logo-main {
    max-width: 150px;
  }
}
@media (min-width: 768px) {
  .hero-topbar {
    padding: 2.125rem 1.5rem 0 1.5rem;
  }
  .logo-main {
    max-width: none;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.75rem;
  }

  .hero-scroll {
    font-size: 2.5rem;
  }
  #side-menu .offcanvas-body {
    padding-top: 6.125rem;
    padding-left: 4.5rem;
  }
  #page-nav a.nav-link {
    font-size: 2rem;
  }
  #page-nav a.dropdown-item {
    font-size: 1.875rem;
  }
  .utility-link {
    font-size: 1.5rem;
  }
  .card-img-wrapper {
    height: 220px;
  }
}
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content {
    margin-bottom: 90px;
  }
  .hero-content p {
    font-size: 2.25rem;
  }

  .hero-scroll {
    font-size: 3rem;
  }

  .logo-lines img {
    margin-top: -85px;
  }
  .logo-lines::before,
  .logo-lines::after {
    display: none;
  }
  .footer-left,
  .footer-right {
    position: relative;
  }
  .footer-left::before {
    content: " ";
    position: absolute;
    top: 0;
    left: calc(0% + 0.75rem);
    width: calc(100% - 1.5rem);
    height: 2px;
    background: var(--color-gray-light);
  }
  .footer-right::before {
    content: " ";
    position: absolute;
    top: 0;
    right: calc(0% + 0.75rem);
    width: calc(100% - 1.5rem);
    height: 2px;
    background: var(--color-gray-light);
  }
  .card-img-wrapper {
    height: 200px;
  }
}
@media (min-width: 1200px) {
  .hero-content {
    margin-bottom: 120px;
  }
}
