:root {
  --green-dark: #14532d;
  --green-main: #1b6b3a;
  --green-mid: #2e8b57;
  --orange-main: #d97706;
  --orange-dark: #b45309;
  --whatsapp: #16a34a;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hero & direkt integrierte Menüleiste ohne Strich/Hintergrund */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  overflow: hidden;
  background: #0f172a;
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}

.hero-slide.active,
.hero-video.active {
  opacity: 1;
}

/* Neutrales abgedunkeltes Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.hero-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border: none;
  transition: transform 0.28s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-header.header-hidden {
  transform: translateY(-150%);
}

.hero-header.header-dark {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.nav-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 78px;
  padding-bottom: 0.5rem;
  gap: 1rem;
}

/* Logo 20% größer: "Pousada Sunset" genau auf Höhe des Menüs, "Morro de São Paulo" darunter */
.logo-text-link {
  position: relative;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.logo-title {
  font-size: 2.00rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.logo-sub {
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.24rem;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.main-nav {
  display: flex;
  align-items: flex-end;
  gap: 1.4rem;
  line-height: 1.05;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.05;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #fcd34d;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switcher {
  display: flex;
  background: rgba(15, 23, 42, 0.32);
  padding: 3px;
  border-radius: 8px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--orange-main);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

/* Seitliche Mini-Punkte im Hero */
.hero-dots {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.hero-dot.active {
  background: var(--orange-main);
  border-color: var(--orange-main);
  transform: scale(1.25);
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 780px;
  margin-top: auto;
  padding: 7.5rem 1.25rem 4.5rem;
}

/* Einfache Schrift statt Button-Badge */
.hero-kicker {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-kicker-accent {
  color: var(--orange-main);
}

.hero-kicker-green {
  color: #1b6b3a
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.14;
  margin-bottom: 1.15rem;
  font-weight: 800;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  opacity: 0.96;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Lautsprecher-Button unten rechts im Hero (default stumm / durchgestrichen) */
.hero-sound-btn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 16;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.48);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-sound-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--orange-main);
}

.hero-sound-btn.muted .icon-sound-on {
  display: none;
}

.hero-sound-btn:not(.muted) .icon-sound-off {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.92rem;
  transition: transform 0.15s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange-main);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline-green {
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
}

.btn-outline-green:hover {
  border-color: var(--green-main);
  color: var(--green-main);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.btn-full {
  width: 100%;
}

/* Sections: clean Weiß & Hellgrau; Überschriften in Grün, kleine Tags darüber in Orange */
.section {
  padding: 4.5rem 0;
  background: var(--bg-white);
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--orange-main);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--green-dark);
  margin-top: 0.3rem;
  margin-bottom: 0.65rem;
}

.section-desc {
  color: var(--text-muted);
}

/* Unsere Pousada */
.pousada-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.pousada-text p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.highlight-item {
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.highlight-icon {
  font-size: 1.4rem;
  line-height: 1.2;
}

.highlight-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--green-dark);
}

.highlight-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 2x3 Vorschau (6 Bilder) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e2e8f0;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Drei Buttons gleichverteilt unter den 2x3 Bildern */
.gallery-toggle-row {
  margin-top: 1.35rem;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.gallery-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.gallery-action-btn:active {
  transform: scale(0.98);
}

.gallery-btn-plain {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dark);
}

.gallery-btn-plain:hover {
  border-color: var(--orange-main);
  color: var(--orange-main);
}

.gallery-btn-green {
  background: var(--green-main);
  color: #fff;
}

.gallery-btn-green:hover {
  background: var(--green-dark);
}

/* Volle Breite 4er-Galerie mit langsamem Aufpop-Effekt */
.full-gallery-wrap {
  margin-top: 0.75rem;
}

.full-gallery-wrap.gallery-pop-in {
  animation: galleryPopOpen 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes galleryPopOpen {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-sentinel {
  height: 12px;
  width: 100%;
}

.gallery-close-bottom-row {
  margin-top: 1rem;
  text-align: right;
}

/* Studio (2 Spalten am PC, mit orangem Rand) + Apartments */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.room-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.room-card-studio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--orange-main);
}

.room-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #cbd5e1;
  touch-action: pan-y;
  cursor: pointer;
}

.room-card-studio .room-img-wrapper {
  height: 100%;
  min-height: 320px;
  aspect-ratio: auto;
}

.room-card-studio .room-img-wrapper img,
.room-card-studio .room-img-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}

.room-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(27, 107, 58, 0.92);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 3;
}

/* Seitliche Pfeil-Zonen: erscheinen bei Mouseover mit heller Fläche dahinter */
.room-img-wrapper .room-nav-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, background 0.22s ease;
  z-index: 10;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

.room-img-wrapper .room-nav-prev {
  left: 0;
}

.room-img-wrapper .room-nav-next {
  right: 0;
}

.room-img-wrapper:hover .room-nav-arrow {
  opacity: 0.92;
  pointer-events: auto;
}

.room-img-wrapper .room-nav-prev:hover {
  opacity: 1;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
}

.room-img-wrapper .room-nav-next:hover {
  opacity: 1;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
}

.room-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-body h3 {
  font-size: 1.45rem;
  color: var(--green-dark);
  margin-bottom: 0.35rem;
}

.room-type {
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  font-size: 0.94rem;
}

/* Top-Ausrichtung für Ausstattung, Button unten (bottom) */
.amenities-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-content: start;
  margin-bottom: 1.5rem;
}

.amenities-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.amenities-list li::before {
  content: "✓";
  color: var(--green-main);
  font-weight: 800;
}

.room-cta-bottom {
  margin-top: auto;
}

/* Live-Webcam & Bewertungen: Bewertungs-Block breiter als Video-Block */
.media-grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 2rem;
  align-items: stretch;
}

.video-card,
.reviews-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.reviews-card {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
  touch-action: pan-y;
}

/* Seitliche Pfeile bei Bewertungen mit hellem Weiß bei Mouseover (analog Unterkünfte) */
.review-nav-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  background: transparent;
  color: var(--green-dark);
  border: none;
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  z-index: 5;
}

.review-nav-prev {
  left: 0.65rem;
}

.review-nav-next {
  right: 0.65rem;
}

.reviews-card:hover .review-nav-arrow {
  opacity: 0.85;
}

.review-nav-prev:hover {
  opacity: 1;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.15));
}

.review-nav-next:hover {
  opacity: 1;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.15));
}

.video-card h3,
.reviews-card h3 {
  color: var(--green-dark);
  font-size: 1.35rem;
}

.video-card p {
  color: var(--text-muted);
  margin: 0.65rem 0 1rem;
  font-size: 0.95rem;
}

/* Interaktive Google Map (Weg vom Hafen, Standard-Kartenansicht, zoombar) */
.map-embed-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  min-height: 250px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  background: #e2e8f0;
}

.map-embed-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 92px);
  border: 0;
  display: block;
}

.map-portal-btn {
  background: var(--orange-main);
  color: #fff;
  border: none;
  cursor: pointer;
}

.map-portal-btn:hover {
  background: var(--orange-dark);
}

.video-links,
.portal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

/* Altes Bewertungs-Design */
.stars {
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  color: var(--orange-main);
  letter-spacing: 0.08em;
}

.review-rotator {
  display: grid;
  min-height: 165px;
  margin: 0.9rem 0 1rem;
}

.review-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.6s ease-in-out, visibility 1.6s ease-in-out;
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-quote {
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--green-main);
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

.verified-reviews-summary {
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.verified-reviews-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.verified-reviews-scores {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: pre-line;
  line-height: 1.5;
}

.portal-btn {
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.booking-btn {
  background: #003580;
  color: #fff;
}

.tripadvisor-btn {
  background: #34e0a1;
  color: #000;
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.25rem;
}

.contact-info-card,
.contact-form-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-info-card,
.contact-form-card {
  border: 1px solid var(--green-main);
}

.contact-info-card h3,
.contact-form-card h3 {
  color: var(--green-dark);
}

.contact-details {
  list-style: none;
  margin-top: 1.15rem;
}

.contact-details li {
  margin-bottom: 1.05rem;
  display: flex;
  flex-direction: column;
}

.contact-details strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-details span,
.contact-details a {
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--green-main);
  text-decoration: none;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #000000;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-icon {
  flex-shrink: 0;
  display: block;
}

.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #dcfce7;
  padding: 2.25rem 0;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.35rem 0.65rem;
}

.footer-copy,
.footer-dot {
  color: #dcfce7;
}

.footer-brand strong {
  color: #fff;
  display: block;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  color: #fcd34d;
  text-decoration: none;
  font-weight: 700;
}

.link-btn {
  background: none;
  border: none;
  color: #86efac;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.88rem;
}

.floating-wa {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  z-index: 90;
}

/* Lightbox für Pousada-, Studio- & Apartment-Galerien */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 1.25rem;
  touch-action: pan-y;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 8px;
  user-select: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  cursor: pointer;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  bottom: 1.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* Modals / Overlays */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-box-wide {
  max-width: 900px;
}

.modal-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
}

.modal-header h3 {
  color: var(--green-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.85rem;
  cursor: pointer;
  color: var(--text-dark);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-body h4 {
  margin: 1rem 0 0.35rem;
  color: var(--green-main);
}

.video-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 260;
  padding: 1.5rem;
}

.video-fullscreen-overlay.open {
  display: flex;
}

.video-overlay-stage {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-overlay-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 270;
}

.overlay-video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 88vh;
  border: 0;
  background: #000;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero-kicker {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 30;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    gap: 1.15rem;
    padding: 5.5rem 1.75rem 2rem;
    z-index: 25;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.15rem;
  }

  .pousada-grid,
  .rooms-grid,
  .room-card-studio,
  .media-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .room-card-studio {
    grid-column: auto;
  }

  .full-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row,
  .form-buttons,
  .highlights-grid,
  .amenities-list {
    grid-template-columns: 1fr;
  }
}


/* Gemischte Videos in Galerie-Kacheln & Studio/Apartments */
.gallery-item {
  position: relative;
}

.gallery-item video,
.unit-slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-video-badge {
  position: absolute;
  bottom: 0.45rem;
  right: 0.45rem;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  pointer-events: none;
}

.lightbox-video {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 8px;
  background: #000;
}

/* "mehr +" Aufklapp-Bereich für Studio & Apartments */
.more-details-wrap {
  margin-bottom: 1.25rem;
}

.more-amenities-list {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}

.more-toggle-btn {
  background: none;
  border: none;
  color: var(--green-main);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  padding: 0.2rem 0;
}

.more-toggle-btn:hover {
  color: var(--orange-main);
}

.lightbox-caption {
  position: fixed;
  bottom: 3.1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(86vw, 760px);
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-size: 0.92rem;
  text-align: center;
  z-index: 255;
  pointer-events: none;
}
