/* Pension Elisabeth – haus.css
   Regeln in bestehender Reihenfolge belassen, um die Darstellung zu erhalten. */

.house-page {
  font-family:Oswald,sans-serif
}

.house-intro {
  text-align:center;
  max-width:840px;
  margin:0 auto;
  padding:42px 20px 28px
}

.house-intro .eyebrow {
  color:#788d48;
  letter-spacing:.12em;
  text-transform:uppercase
}

.house-intro h1 {
  font:400 clamp(42px,6vw,66px)/1.2 'Amatic SC',sans-serif;
  color:#851d28;
  margin:6px 0
}

.house-intro h2,.house-copy h2,.house-gallery h2,.house-end h2 {
  font:400 clamp(35px,4.5vw,53px)/1.15 'Amatic SC',sans-serif;
  color:#779744;
  margin:0 0 15px
}

.house-intro p {
  font-size:19px;
  font-weight:300
}

.house-hero {
  max-width:1180px;
  margin:0 auto 34px;
  padding:0 20px
}

.house-hero img {
  width:100%;
  height:clamp(280px,42vw,470px);
  object-fit:cover;
  border-radius:9px;
  display:block
}

.house-row {
  max-width:1140px;
  margin:0 auto 45px;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center
}

.house-row.reverse .house-copy {
  order:2
}

.house-row.reverse .house-photo {
  order:1
}

.house-copy {
  font-size:18px;
  font-weight:300
}

.house-copy p {
  line-height:1.65
}

.house-photo img {
  display:block;
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:9px
}

.house-link {
  display:inline-block;
  color:#861d24;
  border-bottom:1px solid #861d24;
  padding-bottom:3px
}

.house-note {
  font-size:14px;
  color:#696969
}

.house-gallery {
  max-width:1140px;
  margin:0 auto 48px;
  padding:0 20px;
  text-align:center
}

.house-gallery-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px
}

.house-gallery img {
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:7px
}

.house-end {
  text-align:center;
  padding:20px 15px 75px
}

.house-sign {
  font:28px 'Bad Script',cursive;
  color:#7a8f49;
  margin:0 0 24px
}

@media(max-width:700px) {
  .house-row {
    grid-template-columns:1fr;
    gap:18px
  }

  .house-row.reverse .house-copy,.house-row.reverse .house-photo {
    order:initial
  }

  .house-photo img {
    height:280px
  }

  .house-gallery-grid {
    grid-template-columns:1fr 1fr
  }

  .house-gallery img {
    height:180px
  }

}

/* Hausgalerie und bildschirmfüllende Lightbox */ .house-gallery-hint {
  margin:-4px 0 22px;
  color:#62665d;
  font-size:16px;
  font-weight:300
}

.house-gallery-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}

.house-thumb {
  border:0;
  padding:0;
  background:transparent;
  cursor:zoom-in;
  overflow:hidden;
  border-radius:7px;
  display:block;
  width:100%
}

.house-thumb img {
  transition:transform .3s ease;
  display:block
}

.house-thumb:hover img {
  transform:scale(1.035)
}

.house-thumb:focus-visible,.house-photo-zoom:focus-visible {
  outline:3px solid #851d28;
  outline-offset:3px
}

.house-photo-zoom {
  cursor:zoom-in
}

.haus-lightbox[hidden] {
  display:none!important
}

.haus-lightbox {
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(17,19,17,.95);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  padding:52px 72px 42px;
  box-sizing:border-box
}

.lb-figure {
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  max-width:100%;
  max-height:100%;
  min-width:0
}

.lb-image {
  display:block;
  max-width:100%;
  max-height:calc(100dvh - 130px);
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:3px
}

.lb-caption {
  display:flex;
  justify-content:space-between;
  gap:25px;
  width:100%;
  font:300 15px Oswald,sans-serif;
  padding-top:12px;
  color:#e6e6e6
}

.haus-lightbox button {
  border:0;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  border-radius:50%;
  position:absolute
}

.haus-lightbox button:hover,.haus-lightbox button:focus-visible {
  background:rgba(255,255,255,.28)
}

.lb-close {
  right:18px;
  top:14px;
  width:44px;
  height:44px;
  font-size:32px
}

.lb-prev,.lb-next {
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  font-size:43px;
  line-height:1
}

.lb-prev {
  left:15px
}

.lb-next {
  right:15px
}

body.lightbox-open {
  overflow:hidden
}

@media(max-width:700px) {
  .haus-lightbox {
    padding:60px 12px 70px
  }

  .lb-prev,.lb-next {
    top:auto;
    bottom:12px;
    transform:none;
    width:46px;
    height:46px
  }

  .lb-prev {
    left:calc(50% - 60px)
  }

  .lb-next {
    right:calc(50% - 60px)
  }

  .lb-image {
    max-height:calc(100dvh - 180px)
  }

  .house-gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }

  .house-gallery img {
    height:165px
  }

  .lb-caption {
    font-size:13px
  }

}

/* Längere Haus-Überschrift harmonisch umbrechen */ .house-intro h1 {
  font-size:clamp(39px,5.5vw,64px);
  overflow-wrap:break-word
}

.house-intro .eyebrow {
  letter-spacing:.06em;
  line-height:1.4
}

/* Einleitung Unser Haus: rote größere Lagezeile, grüne Hauptüberschrift */ .house-intro .eyebrow {
  color:#861d24;
  font-family:'Amatic SC',sans-serif;
  font-size:clamp(34px,5.5vw,60px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:.015em;
  text-transform:none;
  margin-bottom:10px
}

.house-intro h1 {
  color:#779744;
  font-size:clamp(40px,5.5vw,64px);
  line-height:1.14
}

/* Lage-Überschrift wie die roten Seitentitel: Oswald statt Amatic SC */ .house-intro .eyebrow {
  font-family:Oswald,Arial,sans-serif;
  font-size:clamp(30px,4.7vw,52px);
  font-weight:500;
  line-height:1.18;
  letter-spacing:0;
  text-transform:none;
  color:#7c263b;
  margin-bottom:14px
}

.house-intro h1 {
  color:#779744
}

/* Rote Lage-Ueberschrift: Oswald wie auf Unterkuenfte */ .house-intro .eyebrow {
  font-weight:300
}

/* Haus: roter Titel ist jetzt semantisch h1, grüner Untertitel h2. */ .house-intro h1 {
  margin:0 0 12px
}
