/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ================= BASE ================= */
html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url("hero_4k.jpeg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* dunkler Verlauf für Lesbarkeit */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
  z-index: 1;
  pointer-events: none; /* wichtig: blockiert keine Klicks */
}

/* ================= LANGUAGE SWITCH ================= */
.lang-switch{
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}

.lang-switch .sep{
  opacity: .55;
  font-size: 12px;
  letter-spacing: 1px;
}

.lang-btn{
  background: transparent;
  border: none;
  color: rgba(255,255,255,.85);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 2px;
}

.lang-btn:hover{ color: #fff; }

.lang-btn.active{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ================= HERO TEXT ================= */
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 20px;
  pointer-events: none; /* Text blockiert keine Hotspots */
}

.hero__tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  margin: 12px 0;
  letter-spacing: .5px;
}

.hero p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.95;
}

/* ================= HOTSPOTS ================= */
.hotspot {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  transform: translate(-50%, -50%);
}

.hotspot .dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex: 0 0 auto;
}

.hotspot .label {
  background: #fff;
  color: #000;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Puls */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ================= HOTSPOT POSITIONEN (DEINE FINALEN) ================= */
.hotspot.b1 { left: 87.5%; top: 71.5%; }
.hotspot.b2 { left: 76.0%; top: 55.5%; }
.hotspot.b3 { left: 64.5%; top: 45.0%; }

/* B4 weiter runter (mehr aufs Dach / weniger in Headline-Zone) */
.hotspot.b4 { left: 50.0%; top: 36.5%; }

/* B5 aufs Dach vom Bungalow 5 (leicht nach rechts + etwas runter) */
.hotspot.b5 { left: 44.8%; top: 30.0%; }

/* B6 aufs Dach vom obersten Bungalow (deutlich runter + etwas nach rechts) */
.hotspot.b6 { left: 40.0%; top: 22.0%; }

/* ================= FOOTER ================= */
.site-footer {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.linklike {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
}

/* ================= MODAL (shared) ================= */
.modal { display: none; position: fixed; inset: 0; z-index: 50; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.70); }

.close {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #111;
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

/* Animations */
.animate-in { animation: fadeUp .45s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-delay { animation: fadeUp .60s ease; }

/* Bungalow Modal */
.modal__box {
  position: relative;
  background: #fff;
  color: #000;
  width: 90%;
  max-width: 1100px;
  margin: 6vh auto;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
}

/* STATUS */
.status {
  position: absolute;
  top: 16px;
  right: 70px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  z-index: 6;
}
.available { background: #1e7f43; color: #fff; }
.reserved  { background: #c47a00; color: #fff; }
.sold      { background: #8b0000; color: #fff; }

/* GALLERY */
.gallery { width: 55%; background: #000; padding: 20px; color: #fff; }
.gallery__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 10px;
  padding-right: 60px;
}
.gallery__title { font-family: 'Playfair Display', serif; font-size: 24px; }
.gallery__hint { font-size: 12px; opacity: .75; }

.images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}
.images img {
  min-width: 100%;
  height: 400px;
  object-fit: cover;
  scroll-snap-align: start;
  user-select: none;
}

.gallery__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.navbtn {
  background: none;
  border: none;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
}
.navbtn:hover { background: rgba(255,255,255,.10); }

#dots { display: flex; gap: 8px; align-items: center; }
#dots span { width: 8px; height: 8px; background: rgba(255,255,255,.35); border-radius: 50%; cursor: pointer; }
#dots .active { background: #fff; }

/* INFO */
.info { width: 45%; padding: 40px; }
.info h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 16px; }
.info ul { list-style: none; line-height: 1.6; }
.info li { margin-bottom: 10px; font-size: 14.5px; }

/* Buttons */
.cta {
  margin-top: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: 999px;
  background: #000;
  color: #fff;
  cursor: pointer;
  width: 100%;
  font-size: 13px;
  letter-spacing: 1px;
}
.cta.ghost {
  background: transparent;
  color: #000;
  border: 1px solid rgba(0,0,0,.18);
}

/* Form */
.form {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  display: none;
}
.form.is-open { display: block; }
.form h3 { font-family: 'Playfair Display', serif; margin-bottom: 6px; }
.formhint { font-size: 12.5px; opacity: .75; margin-bottom: 10px; }

.form label { display: block; font-size: 12px; margin-top: 10px; opacity: .85; }
.form input, .form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  outline: none;
  font-family: 'Inter', sans-serif;
}
.formactions { margin-top: 12px; }
.smallnote { margin-top: 8px; font-size: 12px; opacity: .7; }

/* Location */
.locationBox {
  position: relative;
  background: #fff;
  color: #000;
  width: 92%;
  max-width: 620px;
  margin: 10vh auto;
  border-radius: 18px;
  padding: 28px;
}
.locationActions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.maplink {
  font-size: 12px;
  color: rgba(0,0,0,.70);
  word-break: break-all;
  text-decoration: none;
}
.maplink:hover { text-decoration: underline; }
.muted { opacity: .7; font-size: 13px; line-height: 1.6; }

/* Impressum */
.impbox {
  position: relative;
  background: #fff;
  color: #000;
  width: 92%;
  max-width: 900px;
  margin: 8vh auto;
  border-radius: 18px;
  padding: 28px;
}
.impgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.card {
  padding: 16px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: rgba(0,0,0,.03);
}
.card h3 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: .75;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .modal__box { flex-direction: column; }
  .gallery, .info { width: 100%; }
  .images img { height: 320px; }
  .impgrid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 15px; }
  .hotspot .label { font-size: 11px; }
  .lang-switch { right: 12px; top: 12px; }
}
