:root {
  /* Zentrale Gestaltungswerte */
  --brand: #263C32;
  --brand-deep: #1E3028;
  --brand-soft: #E9EEEA;
  --paper: #F7F6F2;
  --white: #FFFFFF;
  --ink: #202521;
  --muted: #66706A;
  --line: #D9DFDA;
  --max: 1180px;
  --radius-large: 28px;
  --radius: 18px;
  --radius-small: 12px;
  --font: "Montserrat", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; }
a { color: inherit; }
h1, h2, p { margin-top: 0; }

h1, h2 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 650;
}

p { font-size: 1.03rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-light { color: #DCE6DF; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  height: 82px;
  padding: 0 clamp(20px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,246,242,.96);
  border-bottom: 1px solid rgba(38,60,50,.10);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand-name {
  color: var(--brand);
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-place {
  margin-top: 5px;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  padding: 30px 0 27px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  content: "";
  left: 0; right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--brand);
  transition: right .18s ease;
}

.main-nav a:hover::after { right: 0; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand);
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(88vh, 920px);
  margin: 100px clamp(16px, 2.5vw, 38px) 0;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: var(--brand);
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,34,28,.30), rgba(20,34,28,.02) 66%);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 72px);
  bottom: clamp(22px, 5vw, 72px);
  width: min(530px, calc(100% - 44px));
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  background: rgba(247,246,242,.95);
  box-shadow: 0 20px 60px rgba(20,34,28,.16);
}

.hero-panel h1 {
  margin-bottom: 20px;
  color: var(--brand);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 700;
}

.hero-panel p:not(.eyebrow) {
  max-width: 440px;
  margin-bottom: 26px;
  color: #39413C;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--brand);
  color: var(--white);
}

.button-primary:hover { background: var(--brand-deep); }

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.apartment-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

.apartment-copy { max-width: 560px; }
.apartment-copy p { color: #404842; }

.apartment-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-large);
}

.apartment-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facts {
  background: var(--brand-soft);
  border-top: 1px solid rgba(38,60,50,.07);
  border-bottom: 1px solid rgba(38,60,50,.07);
}

.facts-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 148px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.fact {
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(38,60,50,.12);
}

.fact:first-child { border-left: 1px solid rgba(38,60,50,.12); }

.fact strong {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
}

.fact span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .88rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-item img {
  height: 100%;
  min-height: 355px;
  object-fit: cover;
}

.gallery-main { grid-row: span 2; }
.gallery-main img { min-height: 728px; }

.gallery-wide { grid-column: 1 / -1; }
.gallery-wide img { height: 470px; object-position: center; }

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(38,60,50,.88);
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
}

.prices-section {
  background: var(--brand);
  color: var(--white);
}

.prices-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(44px, 8vw, 100px);
  align-items: start;
}

.prices-intro h2 { color: var(--white); }

.minimum-stay {
  margin: 0;
  color: #DCE6DF;
  font-size: 1.06rem;
}

.minimum-stay strong { color: var(--white); }

.price-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-large);
  background: var(--paper);
  color: var(--ink);
}

.price-list { border-top: 1px solid var(--line); }

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.price-row span { color: #414944; }

.price-row strong {
  color: var(--brand);
  font-weight: 700;
  text-align: right;
}

.price-details { margin-top: 28px; }

.price-details p {
  margin: 7px 0;
  font-size: .95rem;
}

.price-divider {
  height: 1px;
  margin: 22px 0 !important;
  background: var(--line);
}

.contact-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 7vw, 90px);
  padding: clamp(38px, 6vw, 72px);
  border-radius: var(--radius-large);
  background: var(--brand-deep);
  color: var(--white);
}

.contact-panel h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: #E6ECE8;
}

.contact-info { align-self: end; }

address {
  margin-bottom: 28px;
  color: #E6ECE8;
  font-style: normal;
  font-size: .98rem;
}

address strong {
  color: var(--white);
  font-weight: 650;
}

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

.button-light {
  background: var(--white);
  color: var(--brand-deep);
}

.button-outline-light {
  border: 1px solid rgba(255,255,255,.55);
  color: var(--white);
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .87rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
}

.footer-brand strong {
  color: var(--brand);
  font-weight: 700;
}

.footer-brand span { font-size: .8rem; }

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer a { text-decoration: none; }

.legal {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal h1 {
  margin-bottom: 34px;
  color: var(--brand);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 700;
}

.legal h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 650;
}

.legal .warning {
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid #DED5AA;
  border-radius: var(--radius-small);
  background: #FFF7D7;
}

@media (max-width: 980px) {
  .apartment-section,
  .prices-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .apartment-copy { max-width: 720px; }
  .facts-inner { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 1px solid rgba(38,60,50,.12); }
  .gallery-main img { min-height: 620px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }

  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .brand-name { font-size: .95rem; }
  .brand-place { font-size: .7rem; }

  .menu-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after { display: none; }

  .hero {
    min-height: 690px;
    height: 82vh;
    margin: 84px 12px 0;
    border-radius: 22px;
  }

  .hero-panel {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    padding: 26px 22px;
    border-radius: 17px;
  }

  .hero-panel h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .section {
    width: min(100% - 30px, var(--max));
    padding: 76px 0;
  }

  .apartment-section { gap: 34px; }

  .facts-inner {
    width: min(100% - 30px, var(--max));
    grid-template-columns: repeat(2, 1fr);
  }

  .fact,
  .fact:first-child,
  .fact:nth-child(4) {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(38,60,50,.12);
  }

  .fact:nth-child(odd) {
    border-right: 1px solid rgba(38,60,50,.12);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-main,
  .gallery-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item img,
  .gallery-main img,
  .gallery-wide img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .price-row { font-size: .94rem; }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer { flex-direction: column; }
}

@media (max-width: 430px) {
  .hero { min-height: 650px; }
  .facts-inner { grid-template-columns: 1fr; }
  .fact:nth-child(odd) { border-right: 0; }
  .price-row { gap: 12px; }
  .price-row strong { max-width: 130px; }
}


/* V6 – kompakter Faktenblock mit Piktogrammen */
.facts-inner {
  min-height: 0;
}

.fact {
  align-items: center;
  text-align: center;
  padding: 30px 16px 28px;
}

.fact-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact strong {
  line-height: 1.25;
}

.fact span {
  line-height: 1.35;
}

.gallery-detail {
  grid-column: 1 / -1;
  max-width: 620px;
  justify-self: end;
}

.gallery-detail img {
  height: 420px;
  object-fit: cover;
  object-position: center 62%;
}

@media (max-width: 720px) {
  .fact {
    min-height: 160px;
    padding: 25px 12px 22px;
  }

  .fact-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
  }

  .gallery-detail {
    max-width: none;
    justify-self: stretch;
  }

  .gallery-detail img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center 58%;
  }
}

@media (max-width: 430px) {
  /* Auf sehr schmalen Displays weiterhin 2 Spalten statt langer Einzelliste. */
  .facts-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(odd) {
    border-right: 1px solid rgba(38,60,50,.12);
  }
}


/* =========================================================
   V7 – DESIGN-FEINSCHLIFF
   Nur Gestaltung. Keine Text- oder Preisänderungen.
   ========================================================= */

/* Galerie auf Desktop ruhiger und symmetrischer:
   Bad und Detailaufnahme bilden eine gemeinsame Schlusszeile. */
.gallery-wide {
  grid-column: auto;
}

.gallery-wide img,
.gallery-detail img {
  height: 360px;
}

.gallery-detail {
  grid-column: auto;
  max-width: none;
  justify-self: stretch;
}

/* Etwas ruhigere Bildunterschriften */
.gallery-item figcaption {
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(38,60,50,.86);
}

/* Tablet */
@media (max-width: 980px) {
  .section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .gallery-wide img,
  .gallery-detail img {
    height: 330px;
  }
}

/* Smartphone */
@media (max-width: 720px) {
  .site-header {
    box-shadow: 0 1px 0 rgba(38,60,50,.08);
  }

  /* Hero: auf dem Handy kompakter, damit Bild und Text ausgewogen bleiben. */
  .hero {
    min-height: 635px;
    height: min(78vh, 700px);
    margin: 84px 12px 0;
  }

  .hero > img {
    object-position: center 48%;
  }

  .hero-panel {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 21px 20px 20px;
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(20,34,28,.14);
  }

  .hero-panel .eyebrow {
    margin-bottom: 9px;
    font-size: .70rem;
    letter-spacing: .14em;
  }

  .hero-panel h1 {
    margin-bottom: 15px;
    font-size: 2.08rem;
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .hero-panel p:not(.eyebrow) {
    margin-bottom: 19px;
    font-size: .96rem;
    line-height: 1.52;
  }

  .hero-panel .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: .88rem;
  }

  /* Gleichmäßiger vertikaler Rhythmus */
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  h2 {
    margin-bottom: 20px;
    font-size: clamp(1.95rem, 8vw, 2.55rem);
  }

  .section-heading {
    margin-bottom: 28px;
  }

  /* Fakten: bewusst kompakt in zwei Spalten. */
  .facts-inner {
    width: 100%;
    padding: 0 15px;
    gap: 0;
  }

  .fact {
    min-height: 136px;
    padding: 22px 10px 19px;
  }

  .fact-icon {
    width: 31px;
    height: 31px;
    margin-bottom: 10px;
    stroke-width: 1.75;
  }

  .fact strong {
    font-size: .91rem;
  }

  .fact span {
    margin-top: 3px;
    font-size: .77rem;
  }

  /* Bilder auf Mobil bewusst groß, aber mit weniger Zwischenraum. */
  .gallery-grid {
    gap: 10px;
  }

  .gallery-item,
  .gallery-wide,
  .gallery-detail {
    border-radius: 15px;
  }

  .gallery-item img,
  .gallery-main img,
  .gallery-wide img,
  .gallery-detail img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .gallery-item figcaption {
    left: 10px;
    bottom: 10px;
    padding: 7px 9px;
    font-size: .74rem;
  }

  /* Preisbereich bleibt inhaltlich unangetastet, wird nur kompakter. */
  .prices-layout {
    gap: 30px;
  }

  .price-card {
    padding: 22px 20px;
    border-radius: 19px;
  }

  .price-row {
    padding: 15px 0;
    gap: 12px;
  }

  .price-details {
    margin-top: 23px;
  }

  /* Kontaktbereich kompakter und klarer. */
  .contact-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .contact-panel {
    gap: 30px;
    padding: 29px 22px;
    border-radius: 20px;
  }

  .contact-panel h2 {
    margin-bottom: 16px;
  }

  .contact-actions {
    gap: 9px;
  }

  .contact-actions .button {
    min-height: 47px;
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 30px;
  }
}

/* Kleine Smartphones */
@media (max-width: 430px) {
  .hero {
    min-height: 620px;
    height: 76vh;
  }

  .hero-panel h1 {
    font-size: 2rem;
  }

  .facts-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    min-height: 132px;
  }

  .price-row {
    align-items: baseline;
  }

  .price-row strong {
    max-width: 125px;
    font-size: .9rem;
  }
}


/* =========================================================
   V9 – Impressionen, Umgebung, Nachhaltigkeit, Verfügbarkeit
   ========================================================= */

/* Mehr Navigationspunkte auf Desktop etwas enger */
@media (min-width: 981px) {
  .main-nav { gap: 22px; }
  .main-nav a { font-size: .84rem; }
}

/* Klickbare Bilder */
.image-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-open img {
  transition: transform .28s ease;
}

.image-open:hover img {
  transform: scale(1.018);
}

/* Impressionen */
.impressions-section {
  padding-top: 30px;
}

.impressions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}

.impression {
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand-soft);
  padding: 0;
}

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

.impression-wide {
  grid-column: span 2;
  grid-row: span 2;
}

/* Umgebung + Nachhaltigkeit */
.context-section {
  background: var(--white);
}

.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.context-card {
  min-height: 430px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-large);
  background: var(--brand-soft);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.context-card h2 {
  max-width: 520px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.context-card p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: #414944;
}

.context-card-green {
  background: var(--brand);
  color: var(--white);
}

.context-card-green h2 {
  color: var(--white);
}

.context-card-green p:not(.eyebrow) {
  color: #E2EAE5;
}

/* Verfügbarkeitskalender */
.availability-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.availability-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
  margin-bottom: 40px;
}

.availability-heading h2 {
  margin-bottom: 0;
}

.availability-intro {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.calendar-card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--white);
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.calendar-toolbar h3 {
  margin: 0;
  text-align: center;
  color: var(--brand);
  font-size: 1.35rem;
  font-weight: 700;
}

.calendar-nav {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.calendar-nav:hover {
  background: var(--brand-soft);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
}

.calendar-weekdays {
  margin-bottom: 8px;
}

.calendar-weekdays span {
  padding: 7px 0;
  text-align: center;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.calendar-day {
  position: relative;
  min-height: 76px;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.calendar-day.empty {
  border-color: transparent;
  background: transparent;
}

.calendar-day .day-number {
  display: block;
  font-size: .9rem;
  font-weight: 700;
}

.calendar-day .day-status {
  display: block;
  margin-top: 17px;
  font-size: .68rem;
  line-height: 1.2;
}

.calendar-day.free {
  background: #F2F7F3;
  border-color: #CAD9CF;
  color: var(--brand);
}

.calendar-day.partial {
  background: #FBF5E8;
  border-color: #E5D3A6;
  color: #69562A;
}

.calendar-day.occupied {
  background: #ECEEEC;
  border-color: #D0D4D1;
  color: #6A706C;
}

.calendar-day.past {
  opacity: .48;
}

.calendar-loading,
.calendar-error {
  margin: 0;
  padding: 36px 18px;
  text-align: center;
  color: var(--muted);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .82rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid transparent;
}

.legend-dot.free {
  background: #DDE9E0;
  border-color: #ADC4B4;
}

.legend-dot.partial {
  background: #F3E3B9;
  border-color: #D9C080;
}

.legend-dot.occupied {
  background: #D3D7D4;
  border-color: #BBC0BC;
}

.calendar-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 24, 20, .92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  width: auto;
  max-width: min(94vw, 1500px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  font: inherit;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 980px) {
  .context-grid,
  .availability-heading {
    grid-template-columns: 1fr;
  }

  .context-card {
    min-height: 350px;
  }

  .impressions-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .impression-wide {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .impressions-section {
    padding-top: 12px;
  }

  .impressions-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 9px;
  }

  .impression {
    border-radius: 14px;
  }

  .impression-wide {
    min-height: 250px;
  }

  .context-card {
    min-height: 0;
    padding: 34px 24px;
    border-radius: 20px;
  }

  .context-card h2 {
    font-size: 2rem;
  }

  .availability-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .availability-heading {
    gap: 18px;
    margin-bottom: 26px;
  }

  .calendar-card {
    padding: 18px 12px 20px;
    border-radius: 20px;
  }

  .calendar-toolbar {
    grid-template-columns: 42px 1fr 42px;
    margin-bottom: 14px;
  }

  .calendar-nav {
    width: 42px;
    height: 42px;
  }

  .calendar-toolbar h3 {
    font-size: 1.1rem;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 58px;
    padding: 7px 5px;
    border-radius: 9px;
  }

  .calendar-day .day-number {
    font-size: .8rem;
  }

  .calendar-day .day-status {
    margin-top: 9px;
    font-size: .56rem;
  }

  .calendar-legend {
    gap: 12px 16px;
    font-size: .74rem;
  }
}

@media (max-width: 430px) {
  .impressions-grid {
    grid-auto-rows: 160px;
  }

  .calendar-day .day-status {
    display: none;
  }

  .calendar-day {
    min-height: 45px;
    display: grid;
    place-items: center;
    padding: 4px;
  }
}


/* V9.2 – reduzierte Impressionen */
@media (min-width: 981px) {
  .impressions-grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-auto-rows: auto;
    min-height: 560px;
  }

  .impressions-grid .impression-wide {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .impressions-grid .impression:not(.impression-wide):nth-child(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .impressions-grid .impression:not(.impression-wide):nth-child(2) {
    grid-column: 2;
    grid-row: 2;
  }
}


/* V9.3 – Hero auf Laptop/Desktop: Überschrift bleibt sicher innerhalb der Textkarte */
@media (min-width: 981px) {
  .hero-panel {
    width: min(590px, calc(100% - 44px));
  }

  .hero-panel h1 {
    font-size: clamp(2.55rem, 3.25vw, 3.55rem);
    line-height: .98;
    letter-spacing: -0.035em;
  }
}

/* Auf kleineren Laptops etwas kompakter */
@media (min-width: 981px) and (max-width: 1350px) {
  .hero-panel {
    width: min(560px, calc(100% - 44px));
    padding: 38px;
  }

  .hero-panel h1 {
    font-size: clamp(2.45rem, 3.15vw, 3.1rem);
  }

  .hero-panel p:not(.eyebrow) {
    font-size: 1rem;
  }
}


/* V9.4 – Umgebung/Nachhaltigkeit: Textblöcke oben bündig */
.context-card {
  justify-content: flex-start;
}

.context-card .eyebrow {
  margin-top: 0;
}

/* V9.6 – Kalenderfarben harmonischer, aber klar erkennbar */
.calendar-day.free {
  background: #E8F1EB;
  border-color: #739783;
  color: #224A37;
}

.calendar-day.partial {
  background: #F4E8C7;
  border-color: #BE9140;
  color: #6B4D18;
}

.calendar-day.occupied {
  background: #E3E6E3;
  border-color: #8A938D;
  color: #4B534E;
}

.calendar-day.past {
  opacity: .38;
}

.legend-dot {
  width: 13px;
  height: 13px;
  border-width: 1.5px;
}

.legend-dot.free {
  background: #3E6A53;
  border-color: #2B4F3D;
}

.legend-dot.partial {
  background: #C8963F;
  border-color: #9E7230;
}

.legend-dot.occupied {
  background: #7F8982;
  border-color: #616A64;
}


/* V9.7 – Kontakt: klare Piktogramme und einheitliche Ausrichtung */
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* V9.8 – Datenschutz */
.legal-status {
  margin-top: 52px;
  color: var(--muted);
  font-size: .85rem;
}


/* V9.9 – Navigation auf Impressum und Datenschutz */
.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}

.legal-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 520px) {
  .legal-back-link {
    font-size: .82rem;
  }

  .legal-back-link span:last-child {
    display: none;
  }
}


/* V9.12 – finaler Preisblock */
.price-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.price-table th,
.price-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.price-table thead th {
  padding-top: 0;
  color: #59615C;
  font-size: .78rem;
  line-height: 1.3;
  font-weight: 650;
  text-align: left;
}

.price-table thead th:nth-child(1) { width: 28%; }
.price-table thead th:nth-child(2) { width: 42%; }
.price-table thead th:nth-child(3) { width: 30%; }

.price-table tbody th {
  color: #414944;
  font-size: .95rem;
  font-weight: 550;
  text-align: left;
}

.price-table tbody td {
  color: var(--brand);
  font-size: .98rem;
  font-weight: 650;
}

.price-table tbody td strong {
  font-size: 1.08rem;
  font-weight: 750;
}

.price-details {
  margin-top: 26px;
}

@media (max-width: 620px) {
  .price-card {
    padding: 22px 18px;
  }

  .price-table th,
  .price-table td {
    padding: 14px 7px;
  }

  .price-table thead th {
    font-size: .68rem;
  }

  .price-table tbody th,
  .price-table tbody td {
    font-size: .84rem;
  }

  .price-table tbody td strong {
    font-size: .94rem;
  }

  .price-details p {
    font-size: .9rem;
  }
}


/* V9.18 – Rechtstexte auf kleinen Displays ruhiger und besser lesbar */
@media (max-width: 620px) {
  .legal {
    width: min(100% - 40px, 820px);
    padding: 112px 0 64px;
  }

  .legal h1 {
    margin-bottom: 30px;
    font-size: 2.15rem;
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .legal h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 1.28rem;
    line-height: 1.2;
  }

  .legal p,
  .legal li {
    font-size: 1rem;
    line-height: 1.62;
  }
}

@media (max-width: 390px) {
  .legal h1 {
    font-size: 1.95rem;
  }
}


/* V9.19 – Kalender: klarere Farben und ausgebuchte Tage ohne X */
.calendar-day.free {
  background: #DCEADF;
  border-color: #5F846C;
  color: #173F2D;
}

.calendar-day.partial {
  background: #F0DDA8;
  border-color: #B88120;
  color: #68480D;
}

.calendar-day.occupied {
  background: #D6DCD7;
  border-color: #727D76;
  color: #424B45;
}

.calendar-day.occupied .day-number {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}

.calendar-day.occupied .day-status {
  font-weight: 650;
}

.legend-dot.free {
  background: #3F6F52;
  border-color: #2D533D;
}

.legend-dot.partial {
  background: #C8932F;
  border-color: #986C16;
}

.legend-dot.occupied {
  background: #747E77;
  border-color: #56605A;
}


/* V9.20 – Kalender: nicht verfügbare Tage mit dezenter Schraffur */
.calendar-day.free {
  background: #D9E9DD;
  border-color: #587B65;
  color: #173C2B;
}

.calendar-day.partial {
  background: #EFD89A;
  border-color: #B47A16;
  color: #66440A;
}

.calendar-day.occupied {
  background-color: #D3D9D4;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(66, 75, 69, 0.10) 0,
    rgba(66, 75, 69, 0.10) 5px,
    rgba(255, 255, 255, 0.10) 5px,
    rgba(255, 255, 255, 0.10) 10px
  );
  border-color: #68736D;
  color: #3F4742;
}

.calendar-day.occupied .day-number {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}

.calendar-day.occupied .day-status {
  font-weight: 700;
}

.legend-dot.free {
  background: #3D6B50;
  border-color: #294E39;
}

.legend-dot.partial {
  background: #C78C24;
  border-color: #945E0C;
}

.legend-dot.occupied {
  background: #707A73;
  border-color: #4F5852;
}


/* V9.21 – Kalender nur ab aktuellem Monat; Vergangenheit neutral */
.calendar-nav:disabled,
.calendar-nav[aria-disabled="true"] {
  opacity: .28;
  cursor: default;
  pointer-events: none;
}

.calendar-day.past {
  background: #F1F2F1;
  border-color: #E0E3E1;
  color: #9AA09C;
  opacity: 1;
}

.calendar-day.past .day-number {
  font-weight: 550;
}


/* =========================================================
   FINAL V10 – behutsame Funktions- und Layout-Feinjustierungen
   ========================================================= */

/* Mobiles Menü: Hamburger wird im geöffneten Zustand zum X. */
.menu-toggle span:not(.sr-only) {
  transition: transform .18s ease, opacity .18s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nach Entfernen der doppelten Eyebrows beginnen die Hauptüberschriften sauber oben. */
.prices-intro h2,
.context-card-green h2 {
  margin-top: 0;
}

/* Lightbox-Navigation */
.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(94vw, 1500px);
  max-height: 88vh;
}

.lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 84vh;
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(15,24,20,.50);
  color: var(--white);
  font: inherit;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:focus-visible {
  background: rgba(255,255,255,.16);
  outline: 2px solid rgba(255,255,255,.82);
  outline-offset: 2px;
}

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,24,20,.55);
  color: rgba(255,255,255,.88);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

/* Dezentes mobiles Feintuning ohne Änderung des Grunddesigns. */
@media (max-width: 720px) {
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .apartment-section {
    gap: 30px;
  }

  .availability-section,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .availability-heading {
    margin-bottom: 22px;
  }

  .context-card {
    padding: 31px 24px;
  }

  .impressions-section {
    padding-top: 8px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 48px;
    height: 48px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .lightbox-content {
    max-width: 96vw;
  }

  .lightbox-content img {
    max-height: 80vh;
  }

  .lightbox-counter {
    bottom: -30px;
  }
}


/* FINAL V11 – Kalenderlegende und mobiler Kontextkarten-Stretch */

/* Legende: gleiche visuelle Sprache wie die Kalenderfelder statt ähnlicher Punkte. */
.legend-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 5px;
  border-width: 1.5px;
}

.legend-dot.free {
  background: #D9E9DD;
  border-color: #587B65;
}

.legend-dot.partial {
  background: #EFD89A;
  border-color: #B47A16;
}

.legend-dot.occupied {
  background-color: #D3D9D4;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(66, 75, 69, 0.14) 0,
    rgba(66, 75, 69, 0.14) 4px,
    rgba(255, 255, 255, 0.12) 4px,
    rgba(255, 255, 255, 0.12) 8px
  );
  border-color: #68736D;
}

/* Auf Tablet/Smartphone sollen die beiden Umgebungskarten nur so hoch wie ihr Inhalt sein. */
@media (max-width: 980px) {
  .context-grid {
    grid-auto-rows: max-content;
    align-items: start;
  }

  .context-card {
    min-height: 0;
    height: auto;
    align-self: start;
  }
}


/* FINAL – An- und Abreisezeiten im Preisbereich */
.stay-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 2px;
}

.stay-times > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(38, 60, 50, .035);
}

.stay-times-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.stay-times strong {
  color: var(--brand);
  font-size: .96rem;
  font-weight: 700;
}

@media (max-width: 420px) {
  .stay-times {
    gap: 8px;
  }

  .stay-times > div {
    padding: 12px 13px;
  }

  .stay-times strong {
    font-size: .9rem;
  }
}


/* FINAL V3 – 6-Monats-Kalender, mobile Sprungziele und erweiterte Impressionen */

/* Tage außerhalb des 6-Monats-Horizonts werden im letzten Monat nicht als frei gezeigt. */
.calendar-day.outside {
  visibility: hidden;
  pointer-events: none;
}

/* Fünf Impressionen: auf Desktop ein ruhiges 1+4-Raster, mobil weiterhin kompakt. */
@media (min-width: 981px) {
  .impressions-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 270px);
    grid-auto-rows: auto;
    min-height: 554px;
  }

  .impressions-grid .impression-wide {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .impressions-grid .impression:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .impressions-grid .impression:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
  }

  .impressions-grid .impression:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .impressions-grid .impression:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }
}

/* Mobil etwas weniger Leerraum, ohne die ruhige Gestaltung aufzugeben. */
@media (max-width: 720px) {
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .availability-section,
  .contact-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .impressions-section {
    padding-top: 4px;
  }
}


/* FINAL V4 – Impressionen: Reihenfolge und mobiles Raster korrigiert */

/* Desktop: vier kleinere Motive links, Winteransicht groß rechts. */
@media (min-width: 981px) {
  .impressions-grid {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: repeat(2, 270px);
    grid-auto-rows: auto;
    min-height: 554px;
  }

  .impressions-grid .impression:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .impressions-grid .impression:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .impressions-grid .impression:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
  }

  .impressions-grid .impression:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
  }

  .impressions-grid .impression:nth-child(5),
  .impressions-grid .impression-wide {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

/* Smartphone: keine feste Zeilenhöhe mehr – dadurch kein Überlappen. */
@media (max-width: 720px) {
  .impressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: start;
    gap: 9px;
  }

  .impressions-grid .impression {
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
  }

  .impressions-grid .impression-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
  }
}


/* FINAL V5 – Heute-Button im Verfügbarkeitskalender */
.calendar-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.calendar-title-group h3 {
  margin: 0;
}

.calendar-today {
  margin-top: 4px;
  padding: 2px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.calendar-today:hover,
.calendar-today:focus-visible {
  background: var(--brand-soft);
  text-decoration: none;
}

.calendar-today[hidden] {
  display: none;
}


/* FINAL V6 – Impressionen eindeutig positioniert; keine Abhängigkeit mehr von nth-child */
@media (min-width: 981px) {
  .impressions-grid {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: repeat(2, 270px);
    grid-auto-rows: auto;
    gap: 14px;
    min-height: 554px;
  }

  .impressions-grid > .impression.impression-gate {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .impressions-grid > .impression.impression-garden {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .impressions-grid > .impression.impression-entry {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .impressions-grid > .impression.impression-sekt {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .impressions-grid > .impression.impression-winter {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
  }
}

@media (max-width: 980px) {
  .impressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 9px;
    align-items: start;
  }

  .impressions-grid > .impression {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .impressions-grid > .impression.impression-gate {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .impressions-grid > .impression.impression-garden {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .impressions-grid > .impression.impression-entry {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  .impressions-grid > .impression.impression-sekt {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .impressions-grid > .impression.impression-winter {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    aspect-ratio: 16 / 9;
  }
}


/* FINAL V7 – Heute-Button als dezente Outline-Schaltfläche */
.calendar-today {
  margin-top: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(38, 60, 50, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: var(--brand);
  font: inherit;
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
}

.calendar-today:hover,
.calendar-today:focus-visible {
  border-color: rgba(38, 60, 50, .55);
  background: var(--brand-soft);
  text-decoration: none;
}

.calendar-today[hidden] {
  display: none;
}

/* Der Kalender zeigt jetzt immer den vollständigen letzten Monat des
   sechsmonatigen Vorschauzeitraums. */
.calendar-day.outside {
  visibility: visible;
  pointer-events: auto;
}


/* FINAL V8 – Kalendergewichtung und Hauptgalerie */

/* „Nicht verfügbar“ nicht mehr stärker gewichten als die anderen Status. */
.calendar-day.occupied .day-status {
  font-weight: 400;
}

/* Ab Tablet/Desktop: vier gleich große Hauptbilder im ruhigen 2×2-Raster. */
@media (min-width: 721px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 18px;
  }

  .gallery-grid > .gallery-item,
  .gallery-grid > .gallery-main,
  .gallery-grid > .gallery-wide {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 4 / 3;
  }

  .gallery-grid .image-open {
    display: block;
    width: 100%;
    height: 100%;
  }

  .gallery-grid .gallery-item img,
  .gallery-grid .gallery-main img,
  .gallery-grid .gallery-wide img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* Smartphone: die vier Hauptbilder weiterhin groß untereinander. */
@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid > .gallery-item,
  .gallery-grid > .gallery-main,
  .gallery-grid > .gallery-wide {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: auto;
  }
}
