/*
 * Footer + allgemeingültiges Modal
 * Version: 1.07
 *
 * Diese Datei ersetzt /includes/Footer/index.inc.css.
 * Enthält wieder das Footer-Layout PLUS das gekapselte fs-modal.
 * 1.06: TripAdvisor-Auszeichnung (.footer-award) ergänzt.
 * 1.07: Auszeichnung in die Kontakt-Spalte (rechts, unten, mittig) verschoben.
 */

/* ======================================================
   FOOTER
====================================================== */

.footer-main,
.footer-main * {
  box-sizing: border-box;
  color:white;
}

.footer-main {
  background: #6d1a34;
  padding: 60px 0 0;
  color: #fff;
}

.footer-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img.footer-logo {
  display: block;
  width: 160px;
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-brand p {
  max-width: 260px;
  margin: 0 0 24px;
  line-height: 1.7;
}

/* TripAdvisor-Auszeichnung – eigener Block in der Kontakt-Spalte (rechts) */
.footer-nav-col--contact {
  display: flex;
  flex-direction: column;
}

.footer-award {
  margin-top: auto;        /* sinkt an den unteren Spaltenrand, füllt Leerraum */
  padding-top: 28px;
  text-align: center;      /* Badge horizontal mittig */
}

.footer-award__label {
  display: block;
  margin: 0 0 10px;
  color: #c8d8ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-award__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

a.footer-award__badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}

.footer-award__badge img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #c8d8ea;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: #3d7bbf;
  background: rgba(61,123,191,0.15);
  color: #fff;
}

.footer-nav-col h4 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 3px;
}

.footer-nav-col ul li a {
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.footer-nav-col ul li a:hover {
  color: #c8d8ea;
}

.footer-bottom {
  background: #1a2d4a;
  margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  color: #c8d8ea;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #c8d8ea;
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* Optionaler Buchungsfooter, falls auf Seite 13 vorhanden */
.footer-book,
.footer-book * {
  box-sizing: border-box;
}

.footer-book {
  background: #1a2d4a;
  color: #fff;
}

.footer-book-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.footer-book img.logo-buch {
  width: 130px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.footer-book-text h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-book-text p {
  max-width: 480px;
  margin: 0 0 20px;
  color: #c8d8ea;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-book-text a.btn-book {
  display: inline-block;
  padding: 10px 22px;
  background: #3d7bbf;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.footer-book-text a.btn-book:hover {
  background: #2e63a0;
}

.footer-book-badge {
  text-align: center;
}

.footer-book-badge img {
  width: 100px;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.footer-book-badge p {
  margin: 8px 0 0;
  color: #c8d8ea;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ======================================================
   ALLGEMEINGÜLTIGES MODAL / LIGHTBOX
====================================================== */

html.fs-modal-active,
body.fs-modal-active {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.fs-modal-active {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  touch-action: none !important;
}


.fs-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  touch-action: none;
  background: var(--main-red-color);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.05) 0%, transparent 50%);
}

.fs-modal.open,
.fs-modal.is-open {
  display: flex;
  animation: fsModalBgIn .3s ease forwards;
}

.fs-modal *,
.fs-modal *::before,
.fs-modal *::after {
  box-sizing: border-box;
}

.fs-modal__bg-logo {
  position: absolute;
  top: 20px;
  right: clamp(24px, 8vw, 100px);
  z-index: 1;
  pointer-events: none;
}

.fs-modal__bg-logo img {
  display: block;
  width: clamp(100px, 14vw, 160px);
  opacity: .55;
  filter: brightness(0) invert(1);
}

.fs-modal__content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 88vh;
  cursor: pointer;
  animation: fsModalContentIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}

.fs-modal__content img,
.fs-modal__image,
#modalImg {
  display: block;
  width: auto;
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.fs-modal__counter {
  margin: 14px 0 0;
  color: rgba(255,255,255,.65);
  text-align: center;
  font-size: 13px;
  letter-spacing: .06em;
}

.fs-modal__close,
.fs-modal__nav {
  position: fixed;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.fs-modal__close {
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  font-size: 16px;
}

.fs-modal__close:hover {
  background: rgba(255,255,255,.28);
}

.fs-modal__nav {
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  font-size: 20px;
  transform: translateY(-50%);
}

.fs-modal__nav:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
}

.fs-modal__nav:disabled {
  opacity: .2;
  cursor: default;
  pointer-events: none;
}

.fs-modal__nav--prev { left: 12px; }
.fs-modal__nav--next { right: 12px; }

@keyframes fsModalBgIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fsModalContentIn {
  from { opacity: 0; transform: scale(.88) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fsModalImgSwap {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 900px) {
  .footer-main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-book-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .footer-book-badge {
    display: none;
  }
}

@media (max-width: 680px) {
  .fs-modal {
    padding: 16px;
  }

  .fs-modal__bg-logo {
    top: 16px;
    right: 70px;
  }

  .fs-modal__close {
    top: 14px;
    right: 14px;
  }

  .fs-modal__nav {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .fs-modal__nav--prev { left: 8px; }
  .fs-modal__nav--next { right: 8px; }

  .fs-modal__content img,
  .fs-modal__image,
  #modalImg {
    max-width: 92vw;
    max-height: 78vh;
  }
}

@media (max-width: 580px) {
  .footer-main {
    padding-top: 44px;
  }

  .footer-main-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-book-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .footer-book img.logo-buch {
    width: 100px;
  }

  .footer-bottom-inner {
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-links {
    gap: 14px 20px;
  }
}
