/* Hofgut Rombach – Multimedia Service Buchmann GmbH */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bronze: rgb(178, 137, 72);
  --bronze-dunkel: rgb(139, 98, 57);
  --braun: rgb(58, 46, 38);
  --gruen: rgb(122, 128, 88);
  --gruen-dunkel: rgb(86, 92, 60);
  --sand: rgb(230, 222, 209);
  --sand-hell: rgb(243, 238, 229);
  --creme: rgb(250, 248, 244);
  --weiss: rgb(255, 255, 255);
  --text: rgb(58, 46, 38);
  --text-hell: rgb(108, 96, 86);

  --container: 75rem;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

@media (min-width: 36em) {
  html {
    font-size: 19px;
  }
}

@media (min-width: 64em) {
  html {
    font-size: 20px;
  }
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 4.6rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--braun);
  margin: 0.25em 0 1em 0;
}

h1 {
  font-size: 2rem;
}

.h1-gruen {
  color: var(--gruen);
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.25em 0;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Utilities: Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 calc(1rem + 1.5vw);
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
}

.center {
  text-align: center;
}

.gap-m {
  gap: calc(1rem + 1vw);
}

@media (min-width: 40em) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.row-56 {
  flex-direction: column;
}

.bild-text > *:not(:last-child) {
  margin-bottom: calc(2rem + 2vw);
}

.footer-grid > *:not(:last-child) {
  margin-bottom: calc(2rem + 1vw);
}

@media (min-width: 56em) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .row-56 {
    flex-flow: row wrap;
  }

  .bild-text {
    column-gap: calc(2.4rem + 2vw);
  }

  .bild-text > *:not(:last-child) {
    margin-bottom: 0;
  }

  .footer-grid > *:not(:last-child) {
    margin-bottom: 0;
    margin-right: calc(3rem + 4vw);
  }

  .w38 {
    flex: 1 1 0;
    min-width: 30%;
  }

  .w62 {
    flex: 1 1 0;
    min-width: 45%;
  }

  .grundriss-bild {
    flex: 0 0 26%;
  }
}

.grundriss-bild a {
  display: block;
  position: relative;
}

.grundriss-bild a::after {
  content: "Bild vergrößern";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--weiss);
  background: rgba(58, 46, 38, 0.7);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.grundriss-bild a:hover::after,
.grundriss-bild a:focus-visible::after {
  opacity: 1;
}

@media (min-width: 48em) {
  .grid-4-48 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-3-48 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 48em) and (max-width: 55.99em) {
  .grid-4-48 {
    gap: calc(0.6rem + 0.4vw);
  }

  .grid-4-48 .card {
    padding: 1.1rem 0.9rem;
  }
}

/* ==========================================================================
   Skip Link
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--braun);
  color: var(--weiss);
  padding: 0.6rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--creme);
  border-bottom: 1px solid var(--sand);
  z-index: 100;
}

header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: calc(0.6rem + 0.6vw);
  padding-bottom: calc(0.6rem + 0.6vw);
}

@media (min-width: 75em) {
  header > .container {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-svg {
  height: 3.4rem;
  width: auto;
  overflow: visible;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.5rem;
  z-index: 110;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--braun);
  margin-bottom: 0.32rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

#nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

header nav {
  position: fixed;
  inset: 0;
  top: var(--header-hoehe, 4.4rem);
  background: var(--creme);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(1.4rem + 2vw);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 90;
}

header nav a {
  margin-bottom: 1.6rem;
}

header nav a:last-child {
  margin-bottom: 0;
}

#nav-toggle:checked ~ nav {
  transform: translateX(0);
}

#nav-toggle:checked ~ .hamburger .linie-1 {
  transform: translateY(0.42rem) rotate(45deg);
}

#nav-toggle:checked ~ .hamburger .linie-2 {
  opacity: 0;
}

#nav-toggle:checked ~ .hamburger .linie-3 {
  transform: translateY(-0.42rem) rotate(-45deg);
}

header nav a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--braun);
  letter-spacing: 0.02em;
}

header nav a.aktiv,
header nav a:hover {
  color: var(--bronze);
}

.nav-buchen {
  background: var(--bronze);
  color: var(--weiss) !important;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.85rem !important;
}

@media (min-width: 56em) {
  .hamburger {
    display: none;
  }

  header nav {
    position: static;
    flex-direction: row;
    inset: auto;
    top: auto;
    transform: none;
    justify-content: flex-end;
    flex: 1;
    margin-left: 2.5rem;
  }

  header nav a {
    font-size: 0.95rem;
    margin-bottom: 0;
    margin-right: 2rem;
  }

  header nav a:last-child {
    margin-right: 0;
  }

  .nav-buchen {
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Hero (Bildslider)
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 34rem;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-bild.aktiv {
  position: relative;
  opacity: 1;
}

@media (min-width: 48em) {
  .hero {
    aspect-ratio: auto;
    height: calc(16rem + 30vh);
    max-height: 42rem;
    min-height: 22rem;
  }
}

@media (min-width: 75em) {
  .hero {
    height: calc(16rem + 32vh);
    max-height: 38rem;
    min-height: 26rem;
  }
}

/* Handy im Querformat: Hero füllt den ganzen Bildschirm (kein Platz für Text daneben) */
@media (orientation: landscape) and (max-height: 30em) and (max-width: 56em) {
  .hero {
    aspect-ratio: auto;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
  }
}

.hero-pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(2rem + 1vw);
  height: calc(2rem + 1vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  color: var(--weiss);
  font-size: 1.6rem;
  line-height: 1;
  z-index: 6;
  transition: background 0.2s ease;
}

.hero-pfeil:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-pfeil-zurueck {
  left: calc(0.6rem + 1vw);
}

.hero-pfeil-weiter {
  right: calc(0.6rem + 1vw);
}

.hero-punkte {
  position: absolute;
  bottom: calc(0.8rem + 1vw);
  right: calc(0.8rem + 1vw);
  display: flex;
  z-index: 6;
}

.hero-punkt {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-punkt:last-child {
  margin-right: 0;
}

.hero-punkt.aktiv {
  background: var(--weiss);
  transform: scale(1.2);
}

/* ==========================================================================
   Hero Text (SEO-Intro ohne Bild)
   ========================================================================== */

.hero-text {
  background: var(--creme);
  padding: calc(1.6rem + 1.6vw) 0 calc(2rem + 1.8vw);
  text-align: center;
}

.hero-text h1 {
  font-size: calc(1.5rem + 1vw);
  max-width: 36rem;
  margin: 0 auto 0.9rem;
}

.hero-text p {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--text-hell);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primaer {
  background: var(--bronze);
  color: var(--weiss);
}

.btn-primaer:hover {
  background: var(--bronze-dunkel);
}

.btn-outline {
  background: transparent;
  color: var(--braun);
  border: 1px solid var(--braun);
}

.btn-outline:hover {
  background: var(--braun);
  color: var(--weiss);
}

/* Unterstrichener Pfeil-Link (Mehr entdecken etc.) */
.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--bronze-dunkel);
  padding-bottom: 2px;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze-dunkel);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.link-underline:hover::after,
.link-underline:focus-visible::after {
  transform: scaleX(1);
}

/* ==========================================================================
   Steckbrief-Leiste (Stats)
   ========================================================================== */

.stats {
  background: var(--gruen);
  color: var(--sand-hell);
}

.stats ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(1rem + 0.6vw) 1rem;
  padding: calc(1.2rem + 1vw) 0;
  text-align: center;
}

.stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats .zahl {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--weiss);
  margin-bottom: 0.2rem;
}

.stats .label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
}

@media (min-width: 48em) {
  .stats ul {
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
  }
}

/* ==========================================================================
   Section + Hintergrund-Modifier
   ========================================================================== */

.section {
  padding: calc(2rem + 2vw) 0;
}

.bg-sand {
  background: var(--sand-hell);
}

.bg-dunkel {
  background: var(--braun);
  color: var(--sand-hell);
}

.bg-dunkel h2,
.bg-dunkel h3 {
  color: var(--weiss);
}

.bg-dunkel .eyebrow {
  color: var(--bronze);
}

.bg-section-gruen {
  background: var(--gruen);
  color: var(--sand-hell);
}

.bg-section-gruen h2,
.bg-section-gruen h3 {
  color: var(--weiss);
}

.bg-section-gruen .eyebrow {
  color: rgb(228, 222, 180);
}

.bg-section-gruen .preis-karte {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.bg-section-gruen .preis-karte h3 {
  color: var(--braun);
}

.bg-section-gruen .preis-karte .zahl {
  color: var(--bronze);
}

.bg-section-gruen .preis-karte .einheit {
  color: var(--text-hell);
}

.bg-section-gruen .preis-zeile {
  border-bottom: 1px solid var(--sand-hell);
  color: var(--text);
}

.bg-section-gruen .preis-zeile .betrag {
  color: var(--braun);
}

.bg-section-gruen .preis-hinweis {
  color: var(--text-hell);
}

.konus-info {
  text-align: center;
  margin-top: calc(2rem + 1.5vw);
  padding-top: calc(2rem + 1.5vw);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.konus-info .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
}

.konus-info p {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--sand-hell);
}

.konus-info .link-underline {
  color: var(--weiss);
}

.konus-info .link-underline::after {
  background: var(--weiss);
}

.section-head {
  margin-bottom: 2rem;
}

.ausstattung-head {
  margin-bottom: calc(2rem + 1.5vw);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.6rem;
}

.section-head p {
  max-width: 38rem;
  color: var(--text-hell);
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* Großer transparenter Schriftzug über einem Bild (z.B. "Willkommen") */
.uebertitel {
  display: block;
  font-size: min(calc(1.3rem + 1.6vw), 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: rgba(178, 137, 72, 0.32);
  line-height: 0.85;
  margin-bottom: 0;
}

/* ==========================================================================
   Bild + Text Block (Wohnung-Intro, Lage)
   ========================================================================== */

.bild-text .bild {
  position: relative;
  overflow: hidden;
}

.bild-text .bild > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

@media (min-width: 48em) {
  .bild-text .bild > img {
    aspect-ratio: 4 / 3;
  }
}

.grundriss-bild img {
  aspect-ratio: 1 / 1 !important;
}

.bild-text h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.bild-text h3:first-child {
  margin-top: 0;
}

.bild-text.umkehren {
  flex-direction: column-reverse;
}

.bild-text.umkehren > *:first-child {
  margin-bottom: 0;
  margin-top: calc(2rem + 2vw);
}

@media (min-width: 56em) {
  .bild-text.umkehren {
    flex-direction: row-reverse;
  }

  .bild-text.umkehren > *:first-child {
    margin-top: 0;
  }
}

.haken-liste li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.haken-liste .haken {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  margin-right: 0.6rem;
  color: var(--bronze);
}

/* ==========================================================================
   Merkmal-Karten (Ausstattung)
   ========================================================================== */

.card {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--sand);
  padding: 1.4rem 1.3rem;
}

.card .icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.8rem;
  color: var(--bronze);
}

.card .icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-hell);
  margin-bottom: 0;
}

/* Karte als Link mit Hover-Effekt (Quicklinks) */
.card-link {
  padding: 1.1rem 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-link h3 {
  font-size: 1.15rem;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--bronze-dunkel);
  box-shadow: 0 10px 24px rgba(58, 46, 38, 0.1);
}

.card-link p {
  margin-bottom: 0.6rem;
}

.card-link .link-underline {
  align-self: flex-start;
}

.card-link.bg-bronze {
  background: var(--bronze);
  border-color: var(--bronze);
}

.card-link.bg-gruen {
  background: var(--gruen);
  border-color: var(--gruen);
}

.card-link.bg-braun {
  background: var(--braun);
  border-color: var(--braun);
}

.card-link.bg-bronze h3,
.card-link.bg-gruen h3,
.card-link.bg-braun h3 {
  color: var(--weiss);
}

.card-link.bg-bronze p,
.card-link.bg-gruen p,
.card-link.bg-braun p {
  color: rgba(255, 255, 255, 0.88);
}

.card-link.bg-bronze .link-underline,
.card-link.bg-gruen .link-underline,
.card-link.bg-braun .link-underline {
  color: var(--weiss);
}

.card-link.bg-bronze .link-underline::after,
.card-link.bg-gruen .link-underline::after,
.card-link.bg-braun .link-underline::after {
  background: var(--weiss);
}

.card-link.bg-bronze:hover,
.card-link.bg-gruen:hover,
.card-link.bg-braun:hover {
  border-color: var(--weiss);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   Einblicke – Bogenform-Bilder (Deko, kein Lightbox)
   ========================================================================== */

.einblicke-kopf > *:first-child {
  margin-right: calc(1rem + 1vw);
}

.einblicke-pfeile {
  flex-shrink: 0;
  margin-bottom: 0.3rem;
}

.einblicke-pfeile > *:first-child {
  margin-right: 0.6rem;
}

.einblicke-pfeil {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sand);
  color: var(--braun);
  font-size: 1.1rem;
  line-height: 1;
  background: var(--weiss);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.einblicke-pfeil:hover {
  border-color: var(--bronze-dunkel);
  color: var(--bronze-dunkel);
}

.einblicke-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.einblicke-scroll::-webkit-scrollbar {
  display: none;
}

.einblicke-spur {
  display: flex;
  padding: calc(1rem + 1vw) calc(1rem + 1.5vw) calc(0.5rem + 0.5vw);
  width: max-content;
}

.einblick-bogen {
  scroll-snap-align: center;
  flex: 0 0 15rem;
  width: 15rem;
  aspect-ratio: 3 / 4;
  border-radius: 7.5rem 7.5rem 0 0;
  overflow: hidden;
  margin-right: calc(1rem + 1vw);
}

.einblick-bogen:last-child {
  margin-right: 0;
}

.einblick-bogen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 48em) {
  .einblicke-pfeile {
    display: none;
  }

  .einblicke-scroll {
    overflow: visible;
  }

  .einblicke-spur {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    justify-content: center;
    padding: calc(1rem + 1vw) calc(1rem + 1.5vw);
  }

  .einblick-bogen {
    flex: 0 0 calc(33.333% - calc(1rem + 1vw) * 2 / 3);
  }
}

/* ==========================================================================
   Bildergalerie mit Lightbox (für Unterseiten)
   ========================================================================== */

.galerie {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.galerie figure {
  overflow: hidden;
  position: relative;
}

.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s ease;
}

.galerie a:hover img {
  transform: scale(1.04);
}

.galerie figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--weiss);
  background: linear-gradient(to top, rgba(35, 26, 20, 0.75), rgba(35, 26, 20, 0));
}

@media (min-width: 40em) {
  .galerie {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .galerie .gross {
    grid-column: span 2;
    grid-row: span 2;
  }

  .galerie .gross img {
    aspect-ratio: auto;
    height: 100%;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 15, 11, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1.2rem;
}

.lightbox.aktiv {
  display: flex;
}

.lightbox-inhalt {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin-bottom: 0.8rem;
}

.lightbox-caption {
  color: var(--weiss);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.lightbox-zaehler {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.lightbox-schliessen,
.lightbox-zurueck,
.lightbox-weiter {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: var(--weiss);
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.lightbox-schliessen {
  top: 1rem;
  right: 1rem;
}

.lightbox-zurueck {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-weiter {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Zimmer-Detailblock (für Unterseiten: Schlafen/Bad)
   ========================================================================== */

.detail-bild img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   Preis-Karte (für Ferienwohnung-Seite)
   ========================================================================== */

.preis-karte {
  background: var(--weiss);
  border: 1px solid var(--sand);
  padding: 1.3rem;
}

.preis-zeile {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand-hell);
  font-size: 0.95rem;
}

.preis-zeile:last-of-type {
  border-bottom: none;
}

.preis-zeile .betrag {
  font-weight: 700;
  color: var(--braun);
  white-space: nowrap;
  margin-left: 0.8rem;
}

.preis-haupt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 1rem;
}

.preis-haupt .zahl {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bronze);
  margin-right: 0.5rem;
}

.preis-haupt .einheit {
  font-size: 0.92rem;
  color: var(--text-hell);
}

@media (min-width: 40em) {
  .preis-karte {
    padding: 1.8rem;
  }

  .preis-haupt .zahl {
    font-size: 2.4rem;
  }
}

.preis-hinweis {
  font-size: 0.85rem;
  color: var(--text-hell);
  margin-top: 1rem;
}

/* ==========================================================================
   Maus-Deko
   ========================================================================== */

.maus-sektion {
  display: flex;
  justify-content: center;
  padding: calc(0.8rem + 1vw) 0;
  background: var(--creme);
}

.maus-deko {
  width: 17rem;
}

.maus-deko img {
  width: 100%;
  display: block;
}

@media (min-width: 48em) {
  .maus-deko {
    width: 22rem;
  }
}

/* ==========================================================================
   FAQ (für Unterseiten)
   ========================================================================== */

.faq-liste {
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: var(--weiss);
  border: 1px solid var(--sand);
  margin-bottom: 0.7rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-frage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 0.825rem 0.975rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--braun);
}

.faq-frage .plus {
  flex-shrink: 0;
  margin-left: 1rem;
  font-size: 1.3rem;
  color: var(--bronze);
  transition: transform 0.2s ease;
}

.faq-item.offen .faq-frage .plus {
  transform: rotate(45deg);
}

.faq-antwort {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-antwort p {
  padding: 0 0.975rem 0.825rem;
  font-size: 0.92rem;
  color: var(--text-hell);
  margin-bottom: 0;
}

.faq-galerie {
  display: flex;
  padding: 0 0.975rem 0.975rem;
}

.faq-galerie a {
  display: block;
  flex: 1 1 0;
  overflow: hidden;
  margin-right: 0.6rem;
}

.faq-galerie a:last-child {
  margin-right: 0;
}

.faq-galerie img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.faq-galerie a:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--braun);
  color: var(--sand);
  padding: calc(2rem + 2vw) 0 calc(1.2rem + 0.6vw);
}

.footer-grid {
  margin-bottom: calc(1.6rem + 1vw);
}

@media (min-width: 56em) {
  .footer-grid {
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .footer-logo,
  .footer-kontakt,
  .footer-grid nav {
    flex: 1 1 0;
  }
}

.footer-logo .logo-svg {
  height: 3.4rem;
  width: auto;
  margin-bottom: 1rem;
}

footer address {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--sand);
  margin-bottom: 1rem;
}

footer ul {
  display: flex;
  flex-direction: column;
}

footer ul li {
  margin-bottom: 0.6rem;
}

footer ul li:last-child {
  margin-bottom: 0;
}

footer a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--sand);
  padding-bottom: 1px;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(243, 238, 229, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

footer a:hover {
  color: var(--weiss);
}

footer a:hover::after,
footer a:focus-visible::after {
  transform: scaleX(1);
}

footer ul svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
  opacity: 0.85;
}

.footer-unten {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: calc(1rem + 0.4vw);
  margin-top: calc(1.6rem + 1vw);
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: rgba(243, 238, 229, 0.7);
}

.footer-unten > *:first-child {
  margin-bottom: 0.6rem;
}

.footer-unten a {
  color: rgba(243, 238, 229, 0.7);
}

@media (min-width: 56em) {
  .footer-unten {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-unten > *:first-child {
    margin-bottom: 0;
  }
}

/* ==========================================================================
   Statisches Hero-Bild (für Unterseiten, kein Slider)
   ========================================================================== */

.hero-statisch {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 28rem;
  overflow: hidden;
}

.hero-statisch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 48em) {
  .hero-statisch {
    aspect-ratio: auto;
    height: calc(14rem + 24vh);
    max-height: 32rem;
    min-height: 18rem;
  }
}

#galerie,
#ausstattung,
#preise,
#faq {
  scroll-margin-top: var(--header-hoehe, 4.6rem);
}

/* ==========================================================================
   Sprung-Navigation (Anker zu Galerie/Ausstattung/Preise/FAQ)
   ========================================================================== */

.sprung-nav {
  background: var(--sand-hell);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.sprung-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.8rem calc(1rem + 1vw);
}

.sprung-nav li {
  margin-right: 1.4rem;
}

.sprung-nav li:last-child {
  margin-right: 0;
}

.sprung-nav a {
  display: inline-block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--text-hell);
  text-underline-offset: 2px;
}

/* ==========================================================================
   CTA-Buttons (Anfragen / Umgebung am Seitenende)
   ========================================================================== */

.cta-buttons {
  flex-direction: column;
  align-items: center;
}

.btn-solid,
.btn-outline {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-buttons > *:last-child {
  margin-bottom: 0;
}

.btn-solid-gold {
  background: var(--bronze);
  color: var(--weiss);
}

.btn-solid-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(178, 137, 72, 0.35);
}

.btn-solid-gruen {
  background: var(--gruen);
  color: var(--weiss);
}

.btn-solid-gruen:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(122, 128, 88, 0.35);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid var(--bronze);
  color: var(--bronze-dunkel);
}

.btn-outline-gold:hover {
  background: var(--bronze);
  color: var(--weiss);
}

.btn-outline-gruen {
  background: transparent;
  border: 1px solid var(--gruen);
  color: var(--gruen-dunkel);
}

.btn-outline-gruen:hover {
  background: var(--gruen);
  color: var(--weiss);
}

.link-extern-icon {
  display: inline-block;
  margin-left: 0.35rem;
  font-style: normal;
}

@media (min-width: 40em) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .btn-solid,
  .btn-outline {
    margin-bottom: 0;
    margin-right: 1.2rem;
  }

  .cta-buttons > *:last-child {
    margin-right: 0;
  }
}

/* ==========================================================================
   Kontaktformular
   ========================================================================== */

.kontakt-formular {
  background: var(--weiss);
  border: 1px solid var(--sand);
  padding: 1.6rem;
}

.formular-zeile {
  margin-bottom: 1.1rem;
}

.formular-zeile label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--braun);
  margin-bottom: 0.4rem;
}

.formular-zeile input,
.formular-zeile textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--sand);
  background: var(--creme);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}

.formular-zeile input:focus,
.formular-zeile textarea:focus {
  outline: 2px solid var(--bronze);
  outline-offset: 1px;
}

.formular-zeile textarea {
  resize: vertical;
}

.kontakt-info {
  background: var(--sand-hell);
  padding: 1.6rem;
}

.kontakt-info address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.kontakt-info .preis-hinweis {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.kontakt-liste {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.kontakt-liste li {
  margin-bottom: 0.7rem;
}

.kontakt-liste li:last-child {
  margin-bottom: 0;
}

.kontakt-liste a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.kontakt-liste svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.6rem;
  color: var(--bronze);
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================================== */

.rechtstext {
  max-width: 42rem;
  margin: 0 auto;
}

.rechtstext h2 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
}

.rechtstext h2:first-of-type {
  margin-top: 0;
}

.rechtstext p {
  font-size: 0.95rem;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
