.lead {
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
}

/* ================== Hero ================== */
.stay-hero {
  text-align: center;
  padding: 48px 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stay-hero-media {
  margin: 10px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
}
.stay-hero-media img {
  width: 800px;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ================== Highlights ================== */
.stay-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 24px 10px 40px;
}
.stay-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.tick-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
}
.tick-list li {
  position: relative;
  padding-left: 22px;
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.actions {
  margin-top: 10px;
}
.btn-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--accent);
  width: 250px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.08s ease, opacity 0.15s ease;
}

.btn-price:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ================== Kalender ================== */
.stay-calendar {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin: 10px;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cal-title {
  font-weight: 700;
  font-size: 22px;
  min-width: 220px;
  text-align: center;
}
.cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:hover {
  background: #f6f6f6;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.cal-dow {
  text-align: center;
  font-weight: 600;
  color: #5f846b;
  padding: 8px 0;
}
.cal-days {
  display: contents;
}

.cal-day {
  padding: 16px 0;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.cal-day:hover {
  background: #f8fff8;
  border-color: #d9efd9;
}
.cal-day.pad {
  visibility: hidden;
}
.cal-day.past {
  color: #bcbcbc;
  background: #fbfbfb;
  cursor: not-allowed;
}
.cal-day.unavail {
  background: #fff2f0;
  border-color: #ffd9d6;
  color: #a15a4f;
  cursor: not-allowed;
}
.cal-day.selected {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cal-day.in-range {
  background: #eaf7ea;
  border-color: #d5ecd5;
}

.cal-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: 14px;
}
.legend {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -2px;
}
.legend-free {
  background: #fff;
  border: 1px solid #e8e8e8;
}
.legend-unavail {
  background: #fff2f0;
  border: 1px solid #ffd9d6;
}
.legend-range {
  background: #eaf7ea;
  border: 1px solid #d5ecd5;
}

.cal-output {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  align-items: end;
}
.cal-output label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}
.cal-output input[type="text"],
.cal-output select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background: #fff;
}
.cal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ================== Galerie ================== */
.stay-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 10px 44px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Modal ===== */

.stay-modal.is-open {
  display: flex;
}
.stay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.stay-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  overflow-y: scroll;
}

.stay-modal__dialog {
  position: relative;
  max-width: 720px;
  width: 90%;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.stay-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.stay-modal__close:hover {
  background: #f6f6f6;
}
.gallery-button {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.images {
  display: none;
}
/* ===== Lightbox / Galerie ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1100;
  align-items: center;
  justify-content: center;
}
.gallery-modal.is-open {
  display: flex;
}
.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.gallery-dialog {
  position: relative;
  max-width: 1100px;
  margin: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gallery-footer {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.gallery-close {
  padding: 10px 20px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease;
}

.gallery-close:hover {
  background: #f6f6f6;
}

.gallery-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
#galleryImage {
  max-width: 80%;
  max-height: 50vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.gallery-nav {
  position: absolute;
  bottom: 0;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 1;
}
.gallery-nav:hover {
  background: #f7f7f3;
}
.gallery-nav.prev {
  left: 10px;
}
.gallery-nav.next {
  right: 10px;
}

.gallery-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.gallery-thumbs button {
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  height: 90px;
  cursor: pointer;
  background: #f3f3f3;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.gallery-thumbs button.is-active {
  outline-color: var(--accent);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stay-gallery .gallery-item img {
  cursor: pointer;
}
/* Formular-Grundlagen */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
}
.form-field--full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e1e1e1;
  background: #fff;
  font: inherit;
}
/* Radio-Buttons */
.form-options input[type="radio"] {
  width: auto;
  height: auto;
  margin-right: 6px;
  accent-color: var(--accent); /* moderne Browser: grün einfärben */
}
.form-field textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}
.form-options {
  display: flex;
  gap: 20px;
  margin-top: 6px;
}

.form-options label {
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.form-note {
  font-size: 12px;
  margin-top: 10px;
}
.form-feedback {
  margin-top: 10px;
  font-weight: 600;
}
.form-feedback.ok {
  color: #1b6e24;
}
.form-feedback.error {
  color: #a12d2d;
}
