@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  color-scheme: light;

  --bg: #f5f8fb;
  --ink: #15202b;
  --text: var(--ink);
  --muted: #5b6b7a;
  --teal: #18a6a0;
  --teal-deep: #0f7d78;
  --violet: #6c5ce7;
  --violet-deep: #4b3bb2;
  --brand-blue: 99, 102, 241;
  --brand-purple: 168, 85, 247;
  --card: #fff;
  --line: #d9e3ea;
  --shadow: 0 18px 40px rgba(19, 41, 64, 0.12);
  --header-offset: 104px;
  --header-gap: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  font-family: Outfit, "Trebuchet MS", "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
  padding-top: 0;
}

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

a:hover {
  color: var(--teal-deep);
}

.container {
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
}

html.is-mobile {
  scroll-padding-top: 0;
}

html.is-mobile body {
  padding-top: 0;
}

html.is-mobile .site-header {
  position: sticky;
  top: 0;
  z-index: 12;
}

html.is-desktop {
  scroll-padding-top: var(--header-offset);
}

html.is-desktop body {
  padding-top: var(--header-offset);
}

html.is-desktop .site-header {
  position: fixed;
}

.site-header {
  position: static;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-offset);
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(245, 248, 251, 0.62);
  border-bottom: 1px solid rgba(217, 227, 234, 0.45);
  box-shadow: 0 12px 26px rgba(18, 32, 48, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-offset);
  padding: 0;
  gap: 16px;
}

.brand {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(120, 120, 150, 0.18);
  box-shadow: 0 10px 26px rgba(16, 18, 40, 0.1);
}

.brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(108, 92, 231, 0.18);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
  transform: none;
}

.brand::before,
.brand::after {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--teal), var(--violet));
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 166, 160, 0.2);
  transition: all 0.2s ease;
}

.nav a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(108, 92, 231, 0.2);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--teal-deep);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0 0 10px 14px;
}

.subline {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 22px 28px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 227, 234, 0.7);
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.hero-scroll-hint .arrow {
  display: inline-block;
  animation: subtleFloat 2.2s ease-in-out infinite;
}

.hero-scroll-hint:hover {
  opacity: 0.95;
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--teal), var(--violet));
  color: white;
  box-shadow: 0 12px 30px rgba(24, 166, 160, 0.2);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(108, 92, 231, 0.2);
}

.btn.ghost {
  border-color: rgba(108, 92, 231, 0.3);
  color: var(--violet-deep);
  background: rgba(108, 92, 231, 0.08);
}

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

.hero-panel {
  display: flex;
  align-items: stretch;
}

.hero-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.hero-card h2 {
  margin: 0 0 8px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 166, 160, 0.16);
}

.welcome-band {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 65vh, 860px);
  padding: 72px 0;
  padding-top: 64px;
  border-radius: clamp(20px, 3vw, 32px);
  background-image: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  width: min(1200px, 100% - 8px);
  height: 100%;
  min-height: inherit;
  margin: 0 auto;
  border-radius: inherit;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}

.hero-scroller {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-scroller::-webkit-scrollbar {
  display: none;
}

.hero-carousel .hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
  transition: none;
}

.hero-carousel .hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.4) 34%,
    rgba(0, 0, 0, 0.18) 64%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.hero-carousel .hero-slide.hero-slide--no-overlay::before {
  background: none;
}

.hero-carousel .hero-slide.hero-slide--soft::before {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.54) 0%,
    rgba(0, 0, 0, 0.34) 34%,
    rgba(0, 0, 0, 0.16) 64%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.hero-carousel .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero-overlay .welcome-band__inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-overlay .welcome-band__left {
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.32) 100%
  );
  pointer-events: none;
}

.hero-tagline {
  display: none;
}

.hero-tagline-mobile {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(10, 10, 10, 0.86);
  line-height: 1.3;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 10px 12px;
}

.hero-undertext {
  display: inline-block;
  max-width: min(920px, calc(100% - 48px));
  text-align: center;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  color: rgba(20, 25, 40, 0.86);
  line-height: 1.3;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.hero-undertext-row {
  text-align: center;
  margin-top: -60px;
  margin-bottom: 46px;
  position: relative;
  z-index: 5;
}

.welcome-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
}

.welcome-band__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: start;
  text-align: left;
}

.welcome-band__left {
  max-width: 640px;
  margin-left: 0;
  text-align: left;
  padding: 22px 22px;
}

.welcome-band__kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 6px;
}

.welcome-band__text {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.95;
  line-height: 1.7;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}

.section {
  padding: 64px 0;
  scroll-margin-top: 96px;
}

.section.apartments {
  padding-top: 16px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.impressum-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 12px 0 28px;
}

.impressum-qr img {
  width: 180px;
  max-width: 60vw;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.impressum-qr p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--violet-deep);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 0;
}

.location-panel {
  margin-top: 16px;
  padding: 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.location-photo {
  margin: 0;
  display: block;
}

.location-photo figcaption {
  margin-top: 10px;
  font-size: 0.95em;
  color: rgba(20, 25, 40, 0.72);
}

.location-address {
  margin: 12px 0;
}

.location-bullets {
  margin: 12px 0 18px;
  padding-left: 18px;
}

.location-content {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.location-content:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.apartments-grid {
  display: grid;
  gap: 22px;
}

.apartment-card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body {
  background: transparent;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-meta-line1,
.card-meta-line2 {
  margin: 0;
}

.card-meta-line1 {
  margin-top: 6px;
  font-weight: 600;
  color: var(--text);
}

.card-meta-line2 {
  margin-top: 4px;
  font-size: 0.95em;
  opacity: 0.85;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.card-actions .btn {
  flex: 1 1 0;
  text-align: center;
  font-size: 1rem;
  padding: 12px 22px;
  min-height: auto;
}

.detail-hero {
  padding: 72px 0 32px;
}

.detail-hero-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.detail-hero-media {
  position: relative;
  padding: 0;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.detail-hero-media::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: var(--slide-bg, none);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.1);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.detail-hero-media > img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(217, 227, 234, 0.7);
  box-shadow: var(--shadow);
  display: block;
}

.hero-slider {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: none;
  background: #fff;
  height: clamp(470px, 47vw, 690px);
  z-index: 1;
}

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: opacity, transform;
  transform: translateZ(0);
  transition: opacity 200ms ease;
  opacity: 0;
}

.hero-slider .hero-slide.is-active {
  opacity: 1;
}

.hero-slider .hero-slide.is-next {
  opacity: 0;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(21, 32, 43, 0.18);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.03);
  outline: none;
}

.hero-arrow.prev {
  left: 14px;
}

.hero-arrow.next {
  right: 14px;
}

.hero-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(21, 32, 43, 0.55);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.detail-hero-content h1 {
  margin: 0 0 10px;
}

.detail-subline {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
}

.detail-gallery .section-head {
  margin-bottom: 18px;
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(217, 227, 234, 0.7);
  box-shadow: 0 12px 24px rgba(21, 32, 43, 0.08);
  display: block;
}

.detail-info .info-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px 24px;

  --info-right-shift: -48px;

  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.detail-info .info-grid {
  margin-top: 8px;
  display: grid;
  gap: 24px;
  align-items: start;
}

.detail-info .info-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.detail-info .info-column + .info-column {
  border-top: 1px solid rgba(217, 227, 234, 0.7);
  padding-top: 16px;
}

.detail-info .info-column-title {
  margin: -4px 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.amenities-group .info-list {
  margin-top: 0;
}

.detail-info .info-grid .info-list {
  margin-top: 0;
}

.detail-info .amenities-highlights {
  margin-top: 0;
}

.detail-info .amenities-trigger {
  margin-top: 12px;
  align-self: flex-start;
}

.detail-info .info-list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.detail-info .info-list-columns .info-list {
  margin: 0;
  padding: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  margin: 0;
  padding: 0;
}

.info-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  aspect-ratio: 1 / 1;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.18);
  margin-top: 6px;
}

.amenities-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
  overscroll-behavior: none;
}

.amenities-modal.is-open {
  display: block;
}

.amenities-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 24, 0.45);
  backdrop-filter: blur(2px);
}

.amenities-panel {
  position: relative;
  margin: 6vh auto;
  width: min(960px, 92vw);
  max-height: 86vh;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  padding: 24px 26px 28px;
}

.amenities-panel:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(108, 92, 231, 0.2),
    0 24px 48px rgba(21, 32, 43, 0.22);
}

.amenities-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 227, 234, 0.8);
  background: #fff;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.amenities-panel h3 {
  margin: 0 0 18px;
}

.amenities-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.amenities-group-title {
  margin: 0 0 10px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}

.booking-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 30;
  overscroll-behavior: none;
}

.booking-modal.is-open {
  display: block;
}

.booking-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 24, 0.45);
  backdrop-filter: blur(2px);
}

.booking-panel {
  position: relative;
  margin: 6vh auto;
  width: min(960px, 92vw);
  max-height: 86vh;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  padding: 24px 26px 28px;
}

.booking-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(217, 227, 234, 0.8);
  background: #fff;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.site-footer {
  padding: 24px 0 48px;
  border-top: 1px solid rgba(217, 227, 234, 0.6);
  background: rgba(245, 248, 251, 0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: var(--violet-deep);
  color: white;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(75, 59, 178, 0.26);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-4px);
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }

  .welcome-band__inner {
    padding-left: 12px;
  }

  .welcome-band__left {
    transform: none;
  }

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

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

  .detail-hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

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

  .detail-info .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .detail-info .info-column-right {
    transform: translateY(var(--info-right-shift));
  }

  .detail-info .info-column + .info-column {
    border-top: none;
    border-left: 1px solid rgba(217, 227, 234, 0.7);
    padding-top: 0;
    padding-left: 16px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .welcome-band {
    min-height: clamp(420px, 55vh, 640px);
    padding: 54px 0;
    background-position: center 35%;
  }

  .welcome-band .hero-arrow {
    display: grid;
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .welcome-band__left {
    max-width: 100%;
    padding: 18px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-img {
    max-height: 460px;
  }

  .location-content {
    padding: 16px;
    border-radius: 22px;
  }

  .detail-info .info-list-columns {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

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

@media (max-width: 767px) {
  .welcome-band__text {
    display: none;
  }

  .hero-overlay {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(34px, 9vw, 46px);
  }
}

@media (min-width: 768px) {
  .hero-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    transform: none;
  }

  .hero-title {
    font-size: clamp(56px, 6vw, 84px);
    text-align: center;
    display: inline-block;
  }

  .hero-tagline-mobile {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    color: rgba(10, 10, 10, 0.82);
    line-height: 1.35;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: none;
  }

  .hero-tagline {
    display: inline-flex;
  }

  .hero-undertext {
    display: block;
    width: clamp(520px, 55vw, 760px);
    margin-left: auto;
    margin-right: auto;
  }
}

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

@media (max-width: 980px) {
  .hero-slider {
    height: clamp(370px, 53vw, 590px);
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 84px;
    --header-gap: 4px;
  }

  body {
    padding-top: 0;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    padding: 6px 0;
    gap: 8px;
  }

  .brand {
    width: 78px;
    height: 78px;
  }

  .brand-logo {
    width: 100%;
    height: 100%;
    padding: 0;
    transform: none;
  }

  .nav {
    gap: 6px;
    font-size: 0.95rem;
  }

  .nav a {
    padding: 5px 10px;
  }

  .card-actions .btn {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .back-to-top {
    display: none;
  }

  .card-media img {
    height: 200px;
  }

  .detail-hero {
    padding: 56px 0 24px;
  }

  .detail-hero-media > img {
    max-height: 320px;
  }

  .hero-slider {
    height: clamp(295px, 63vw, 490px);
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .hero-arrow.prev {
    left: 10px;
  }

  .hero-arrow.next {
    right: 10px;
  }

  .hero-counter {
    right: 12px;
    bottom: 12px;
    font-size: 0.8rem;
  }

  .gallery-grid img {
    height: 200px;
  }

  .amenities-panel {
    margin: 4vh auto;
    width: 94vw;
    padding: 20px 18px 22px;
  }

  .amenities-columns {
    grid-template-columns: 1fr;
  }
}

/* ===== LAGE: Single Source of Truth ===== */
#lage .location-photo {
  margin: 0;
}

#lage .location-photo-frame {
  width: min(440px, 100%);
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background: none;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  will-change: transform;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
}

#lage .location-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 0;
}

#lage .location-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* ===== END LAGE ===== */

@media (min-width: 860px) {
  .welcome-band {
    background-position: 62% center;
    width: calc(100% - 12px);
    max-width: none;
    margin: var(--header-gap) auto 0;
    border-radius: 26px;
    overflow: hidden;
  }

  .hero-inner {
    width: min(1400px, 100% - 12px);
  }

  .welcome-band__text {
    max-width: 46ch;
  }

  .welcome-band .welcome-band__left {
    max-width: 640px;
    text-align: left;
  }

  .welcome-band::before {
    border-radius: inherit;
  }

  .welcome-band::after {
    border-radius: inherit;
  }

  .welcome-band__inner {
    padding-left: 32px;
    padding-right: 48px;
  }

  .welcome-band__left {
    margin-left: 0;
    max-width: 560px;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .welcome-band {
    border-radius: 24px;
    overflow: hidden;
    min-height: 460px;
    width: calc(100% - 12px);
    margin: var(--header-gap) auto 6px;
    padding: 26px 0;
  }

  .welcome-band__inner {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #highlights {
    margin-top: 0;
    padding-top: 22px;
  }

  .welcome-band::before {
    border-radius: inherit;
  }

  .welcome-band__left {
    max-width: 310px;
    padding-left: 6px !important;
    text-align: left !important;
  }

  .welcome-band .welcome-band__left p,
  .welcome-band .welcome-band__kicker,
  .welcome-band .welcome-band__text {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
  }

  .hero-undertext {
    max-width: calc(100% - 24px);
    font-size: clamp(13px, 3.8vw, 15px);
    padding: 0;
  }

  .hero-undertext-row {
    margin-top: 6px;
    margin-bottom: 18px;
  }
}

@media (min-width: 768px) {
  .welcome-band {
    position: relative;
    overflow: hidden;
  }

  .welcome-band__inner {
    display: block;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    color: rgba(10, 10, 10, 0.92);
    pointer-events: none;
  }

  .hero-content.hero-content--extra-clear {
    background: none;
    border: none;
    box-shadow: none;
  }

  .welcome-band__text {
    display: block;
    font-size: clamp(14px, 1.2vw, 18px);
    max-width: 55ch;
    text-shadow: none;
  }

  .hero-tagline {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    font-weight: 600;
    max-width: 560px;
    color: #fff;
    text-shadow: none;
    pointer-events: auto;
  }

  .hero-content[data-theme="dark"] {
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }

  .hero-content[data-theme="dark"] .hero-title,
  .hero-content[data-theme="dark"] .welcome-band__text {
    color: rgba(255, 255, 255, 0.96);
  }
}

.welcome-band .hero-arrow {
  z-index: 10;
  pointer-events: auto;
}

.welcome-band .hero-prev {
  left: 14px;
}

.welcome-band .hero-next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  pointer-events: auto;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
}

.hero-dot.is-active {
  background: #fff;
  border-color: #fff;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 56px;
    line-height: 1.05;
    margin-bottom: 10px;
  }

  .welcome-band__text {
    font-size: 16px;
    line-height: 1.4;
    max-width: 720px;
  }

  .welcome-band__left {
    max-width: 760px;
  }
}

/* Abstand zwischen Unterkünfte -> Lage reduzieren */
#unterkuenfte.section,
#unterkünfte.section {
  padding-bottom: 28px;
}

#lage.section {
  padding-top: 28px;
}

#unterkuenfte .apartments-grid,
#unterkünfte .apartments-grid {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  #unterkuenfte.section,
  #unterkünfte.section {
    padding-bottom: 18px;
  }

  #lage.section {
    padding-top: 18px;
  }
}
