:root {
  --nav-h:      80px;
  --white:      #ffffff;
  --off-white:  #faf9f7;
  --light:      #f3f0ea;
  --stone:      #e8e2d6;
  --warm-gray:  #8c8279;
  --dark:       #1c1a18;
  --dark2:      #2e2b27;
  --green:      #4a6741;
  --rust:       #b85c38;
  --rust-light: #d4774f;
  --gold:       #c4a35a;
  --gold-light: #dfc07e;
  --sky:        #7fa8c0;
  --text:       #2e2b27;
  --text-mid:   #5c5850;
  --text-light: #8c8279;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--gold); }


/* ─── NAVIGATION ─── */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  transition: all 0.4s ease;
}

#nav.solid {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

#nav.solid .nav-link       { color: var(--dark2); }
#nav.solid .nav-logo       { color: var(--dark); }
#nav.solid .nav-logo span  { color: var(--rust); }
#nav.solid .nav-lang a     { color: var(--text-mid); }
#nav.solid .nav-cta        { background: var(--rust); color: var(--white); border-color: var(--rust); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-logo span { color: var(--gold-light); }

.nav-center {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--gold-light); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-lang {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-lang a {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-lang a:hover,
.nav-lang a.on { color: var(--gold-light); }

.nav-lang span {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}

.nav-cta {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 9px 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--rust);
  border-color: var(--rust);
}


/* ─── HERO ─── */

#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url('bilder/huette-ausen2.jpg');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  transition: transform 8s ease;
}

.hero-bg.loaded { transform: scale(1); }

.hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,12,10,0.35) 0%,
    rgba(15,12,10,0.18) 45%,
    rgba(15,12,10,0.6)  100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  padding: 8px 22px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

.hero-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold-light);
  border-radius: 50%;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.8rem, 9vw, 7.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

.hero-scroll span {
  font-size: 0.61rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: pulse 2s ease-in-out infinite;
}


/* ─── BUTTONS ─── */

.btn-solid {
  background: var(--rust);
  color: var(--white);
  padding: 15px 36px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
  font-family: 'Jost', sans-serif;
}

.btn-solid:hover {
  background: #9a4828;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
  font-family: 'Jost', sans-serif;
}

.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  padding: 14px 32px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-block;
  font-family: 'Jost', sans-serif;
}

.btn-green:hover {
  background: #3a5332;
  transform: translateY(-2px);
}


/* ─── STATS-STRIPE (U1–U4) ─── */

.stripe {
  background: var(--dark2);
  display: flex;
  justify-content: center;
}

.stripe-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 48px;
  border-right: 1px solid rgba(255,255,255,0.06);
  min-width: 140px;
}

.stripe-item:last-child { border-right: none; }

.sv {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 5px;
}

.sl {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

.para {
  height: 440px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.para::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12,10,8,0.48);
}

.para-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 40px;
  max-width: 860px;
}

.para-inner blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.35;
}

.para-inner cite {
  display: block;
  margin-top: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}


/* ─── SECTIONS ─── */

.sec {
  padding: 100px 70px;
  max-width: 1280px;
  margin: 0 auto;
}

.bg-off   { background: var(--off-white); }
.bg-light { background: var(--light); }

.sec-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}

.sec-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.sec-h em {
  font-style: italic;
  color: var(--rust);
}

.sec-lead {
  font-size: 17px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.88;
  max-width: 580px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.rev        { direction: rtl; }
.two-col.rev > *    { direction: ltr; }


/* ─── ÜBER UNS ──── */

.img-stack { position: relative; }

.img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.img-inset {
  position: absolute;
  bottom: -28px;
  right: -28px;
  width: 54%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: 0 8px 36px rgba(0,0,0,0.16);
}

.ueber-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.p-body {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 14px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--stone);
}

.fact-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-l {
  font-size: 0.75rem;
  color: var(--text-light);
}


/* ─── GASTSTÄTTE ─── */

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 190px);
  gap: 8px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.95);
  transition: filter 0.4s, transform 0.5s;
  overflow: hidden;
}

.mosaic img:hover {
  filter: saturate(1.05) brightness(1.02);
  transform: scale(1.03);
}

.mosaic .big  { grid-column: 1/3; grid-row: 1/3; }
.mosaic .tall { grid-row: 1/3; }

.gast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.tag {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 7px 16px;
  font-size: 15px;
  color: var(--text-mid);
}


/* ─── UNTERKUNFT ─── */

.room-gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}

.room-gal img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}

.room-gal img:hover { opacity: 0.88; }

.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}

.pbox {
  background: var(--white);
  padding: 34px 28px;
  text-align: center;
  transition: background 0.2s;
}

.pbox:hover { background: var(--off-white); }

.pbox-l {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.pbox-p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 8px;
}

.pbox-s {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 300;
}


/* ─── AKTIVITÄTEN ─── */

.stabs {
  display: flex;
  gap: 0;
  margin-bottom: 46px;
  border-bottom: 2px solid var(--stone);
}

.stab {
  padding: 13px 30px;
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.stab.on {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab    { display: none; }
.tab.on { display: block; }

.wk {
  display: flex;
  justify-content: center;
}

.wk img {
  width: 100%;
  max-width: 1200px;
  height: auto;
}


/* ─── ROUTEN ─── */

.wlist {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wi {
  background: var(--white);
  border: 1px solid var(--stone);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.wi:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.wi.open  { box-shadow: 0 6px 32px rgba(0,0,0,0.1); }

.wh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
}

.whl {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wnum {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--stone);
  min-width: 34px;
  line-height: 1;
  transition: color 0.3s;
}

.wi.open .wnum { color: var(--green); }

.wname {
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 5px;
}

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

.wp {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 20px;
}

.p-g { background: #e8f0e7; color: var(--green); }
.p-o { background: #fceee8; color: var(--rust); }
.p-r { background: #fde0d8; color: #b83020; }
.p-b { background: #e0edf5; color: var(--sky); }
.p-x { background: var(--light); color: var(--text-mid); }

.warr {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 0.85rem;
  transition: transform 0.35s, background 0.2s, border-color 0.2s;
}

.wi.open .warr {
  transform: rotate(180deg);
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.wb {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.wi.open .wb { max-height: 2200px; }

.wbi {
  padding: 0 28px 32px;
  border-top: 1px solid var(--stone);
}

.wstats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--stone);
  margin: 22px 0;
}

.wsb {
  background: var(--off-white);
  padding: 15px 12px;
  text-align: center;
}

.wsv {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.wsk {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

.wdesc {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.87;
  font-weight: 300;
  margin-bottom: 22px;
}

.wimgs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wimgs-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: opacity 0.3s, transform 0.4s;
}

.wimgs-wrap img:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.wcap {
  font-size: 0.66rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
  text-align: center;
}

.warning-bar {
  background: #fef3f0;
  border-left: 3px solid var(--rust);
  padding: 11px 16px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: var(--rust);
}


/* ─── WINTER ─── */

.wgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wcard {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.wcard:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.wc-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.wc-body  { padding: 22px 24px; }
.wc-ico   { font-size: 1.4rem; margin-bottom: 10px; }

.wc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.wc-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.72;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.photo-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}


/* ─── KONTAKT ─── */

.ccs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--stone);
  margin-top: 50px;
}

.cc {
  background: var(--off-white);
  padding: 36px 30px;
  transition: background 0.2s;
}

.cc:hover { background: var(--white); }

.cc-ico { font-size: 1.5rem; margin-bottom: 14px; }

.cc-l {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 7px;
}

.cc-v {
  font-size: 0.93rem;
  color: var(--dark);
  line-height: 1.65;
}

.cc-v a       { color: var(--dark); text-decoration: none; }
.cc-v a:hover { color: var(--rust); }

.map-frame {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
  filter: grayscale(15%);
  margin-top: 46px;
}


/* ─── ANFRAGE ─── */

.af-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.af-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.af-form .full { grid-column: 1 / -1; }

.af-form input,
.af-form textarea,
.af-form select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--stone);
  color: var(--dark);
  padding: 13px 17px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.af-form input::placeholder,
.af-form textarea::placeholder { color: var(--text-light); }

.af-form input:focus,
.af-form textarea:focus,
.af-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(74,103,65,0.08);
}

.af-form textarea {
  resize: vertical;
  min-height: 125px;
}

.af-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--stone);
}

.af-detail:first-of-type {
  border-top: 1px solid var(--stone);
  margin-top: 18px;
}

.af-ico { font-size: 1.05rem; margin-top: 2px; }

.af-ll {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}

.af-vv {
  font-size: 0.91rem;
  color: var(--dark);
}

.af-vv a       { color: var(--dark); text-decoration: none; }
.af-vv a:hover { color: var(--rust); }


/* ─── FOOTER ─── */

footer {
  background: var(--dark);
  padding: 66px 70px 0;
}

.fg {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fb-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 14px;
}

.fb-logo span { color: var(--gold-light); }

.fb-p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.85;
  font-weight: 300;
}

.fc h4 {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 17px;
}

.fc ul { list-style: none; }
.fc li { margin-bottom: 11px; }

.fc a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.fc a:hover { color: var(--white); }

.fb {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fb p,
.fb a {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
}

.fb a:hover { color: rgba(255,255,255,0.5); }


/* ─── LIGHTBOX ─── */

.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}

.lb.show { display: flex; }

.lb img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
}

.lb-x {
  position: absolute;
  top: 18px;
  right: 26px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  line-height: 1;
}

.lb-x:hover { opacity: 1; }


/* ─── SCROLL-TO-TOP ─── */

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #1111115e;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
}

#topBtn:hover { transform: scale(1.1); }


/* ─── ANIMATIONEN ─── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.reveal      { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.vis  { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }


/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {

  #nav           { padding: 0 20px; }
  .nav-center    { display: none; }
  .sec           { padding: 70px 22px; }
  .two-col.rev   { direction: ltr; }
  .img-inset     { display: none; }

  .two-col,
  .af-grid,
  .fg            { grid-template-columns: 1fr; gap: 40px; }

  .mosaic        { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .mosaic .big,
  .mosaic .tall  { grid-column: auto; grid-row: auto; }

  .wgrid,
  .ccs,
  .price-row     { grid-template-columns: 1fr; }

  .wimgs,
  .photo-row     { grid-template-columns: 1fr 1fr; }

  .wstats        { grid-template-columns: repeat(3, 1fr); }
  .stripe        { flex-wrap: wrap; }
  .room-gal      { grid-template-columns: 1fr 1fr; }

  .af-form            { grid-template-columns: 1fr; }
  .af-form .full      { grid-column: 1; }

  footer         { padding: 50px 22px 0; }
  .fb            { padding: 16px 0; flex-direction: column; gap: 8px; }
}
