:root {
  --bg: #f5f7f4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #173022;
  --muted: #5e7265;
  --line: rgba(23, 48, 34, 0.08);
  --primary: #2f6f52;
  --primary-dark: #245740;
  --accent: #d8e7da;
  --accent-soft: #eef5ef;
  --warn: #b46b2c;
  --danger: #b24c4c;
  --shadow: 0 20px 50px rgba(20, 44, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 231, 218, 0.9), transparent 35%),
    radial-gradient(circle at bottom right, rgba(47, 111, 82, 0.1), transparent 28%),
    var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.hidden {
  display: none !important;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  font-size: 0.92rem;
  color: var(--muted);
}

.badge::before {
  content: "*";
  color: var(--primary);
  font-weight: 800;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(245, 247, 244, 0.65);
  border-bottom: 1px solid rgba(23, 48, 34, 0.06);
}

.nav {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 330px;
  width: 330px;
  height: 112px;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand-logo {
  position: absolute;
  left: 0;
  top: 50%;
  width: 330px;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translateY(-50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 0.42;
  transform: scaleX(1);
}

.button,
.button-outline,
.button-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.button::after,
.button-outline::after,
.hero-mini-cta::after,
.price-card.is-clickable::after {
  content: "";
  flex: 0 0 auto;
  width: 0.48em;
  height: 0.48em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.82;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover::after,
.button-outline:hover::after,
.hero-mini-cta:hover::after,
.price-card.is-clickable:hover::after {
  transform: translateX(2px) rotate(45deg);
  opacity: 1;
}

.button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 14px 30px rgba(47, 111, 82, 0.28);
}

.button:hover,
.button-outline:hover,
.button-ghost:hover {
  transform: translateY(-2px);
}

.button-outline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.42);
  color: var(--text);
  border: 1px dashed rgba(23, 48, 34, 0.16);
}

main {
  display: block;
}

.hero {
  padding: 56px 0 36px;
}

.hero-experience {
  padding: 0 0 44px;
}

.hero-stage {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(110deg, rgba(9, 24, 15, 0.18), rgba(9, 24, 15, 0.52)),
    url("Bilder/Wohnzimmer.jpg") center/cover;
  background-position: center;
  background-size: cover;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 21, 13, 0.82), rgba(7, 21, 13, 0.28) 54%, rgba(7, 21, 13, 0.56));
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(245, 247, 244, 0.98));
}

.hero-stage-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
  gap: clamp(34px, 5vw, 72px);
  align-items: end;
  padding: clamp(70px, 10vh, 128px) 0 clamp(58px, 9vh, 104px);
}

.hero-story {
  color: white;
  max-width: 900px;
}

.hero-title-frame {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-title-overline {
  color: #f1d28b;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.hero-story h1 {
  max-width: 10.5ch;
  color: white;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  line-height: 0.82;
  letter-spacing: -0.09em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}

.hero-story .hero-lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
  margin-top: 0;
  margin-bottom: 24px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.hero-story .button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.hero-glass-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  color: white;
}

.hero-panel-head {
  display: grid;
  gap: 4px;
  padding: 4px 4px 10px;
}

.hero-panel-head span {
  color: #f1d28b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-head strong {
  max-width: 20ch;
  font-size: 1.24rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-fact,
.hero-mini-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-fact,
.page-hero-fact {
  cursor: default;
}

.hero-fact-value {
  flex: 0 0 76px;
  display: grid;
  place-items: center;
  width: 76px;
  min-width: 76px;
  height: 68px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
  font-size: 1.66rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-fact-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.hero-fact-copy strong {
  font-size: 1.02rem;
  line-height: 1.15;
}

.hero-fact-copy small,
.hero-mini-cta span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.22;
}

.hero-mini-cta {
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(241, 210, 139, 0.96), rgba(255, 255, 255, 0.88));
  color: #173022;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-mini-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.2);
}

.hero-mini-cta span {
  color: rgba(23, 48, 34, 0.72);
  font-size: 0.86rem;
}

.page-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 84% 18%, rgba(241, 210, 139, 0.28), transparent 26%),
    linear-gradient(112deg, rgba(9, 24, 15, 0.94), rgba(28, 68, 48, 0.82)),
    url("Bilder/Terrasse.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(20, 44, 31, 0.18);
  isolation: isolate;
}

.page-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 21, 13, 0.88), rgba(7, 21, 13, 0.4));
}

.page-hero-copy {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.page-hero-copy .hero-title-overline {
  margin: 0;
}

.page-hero-copy h1 {
  max-width: 11ch;
  color: white;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.84;
  letter-spacing: -0.085em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.page-hero-lead {
  max-width: 48ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.58;
  text-wrap: pretty;
}

.page-hero-glass {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.page-hero-fact,
.page-hero-glass .hero-mini-cta {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-hero-fact span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero-fact strong {
  color: white;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page-hero-fact-wide,
.page-hero-glass .hero-mini-cta {
  grid-column: 1 / -1;
}

.page-hero-glass .hero-mini-cta {
  background: linear-gradient(135deg, rgba(241, 210, 139, 0.96), rgba(255, 255, 255, 0.88));
  color: #173022;
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-hero-glass .hero-mini-cta span {
  color: rgba(23, 48, 34, 0.72);
}

.page-hero-glass .hero-mini-cta::after {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.hero-grid,
.detail-grid,
.booking-layout,
.settings-layout,
.cta-panel {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.04fr 0.96fr;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.info-card,
.cta-panel,
.calendar-card,
.summary-card,
.table-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-copy,
.panel,
.info-card,
.summary-card,
.table-card {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 82, 0.16), transparent 68%);
}

.eyebrow {
  display: inline-block;
  margin: 18px 0 14px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 12ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
}

.lead,
.section-head p,
.muted,
.panel p,
.info-card p {
  color: var(--muted);
}

.lead {
  margin-top: 22px;
  max-width: 58ch;
  font-size: 1.08rem;
  text-wrap: pretty;
}

.hero-actions,
.toolbar,
.legend,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stats,
.price-grid,
.summary-grid,
.metrics-grid {
  display: grid;
  gap: 14px;
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.stat,
.price-card,
.metric-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 48, 34, 0.05);
}

.stat strong,
.price-card strong,
.metric-card strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.stat span,
.price-card span,
.metric-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card {
  width: 100%;
  text-align: left;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.price-card.is-clickable {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  cursor: pointer;
  padding-right: 18px;
}

.price-card.is-clickable strong,
.price-card.is-clickable span:last-child {
  grid-column: 1;
}

.price-card.is-clickable::after {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
  color: var(--primary-dark);
}

.price-card.is-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(47, 111, 82, 0.1);
}

.price-card.is-static {
  background: rgba(255, 255, 255, 0.58);
  border-style: dashed;
  box-shadow: none;
}

.price-card.is-active {
  background: linear-gradient(135deg, rgba(47, 111, 82, 0.16), rgba(216, 231, 218, 0.95));
  border-color: rgba(47, 111, 82, 0.28);
  box-shadow: 0 18px 34px rgba(47, 111, 82, 0.12);
}

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-image {
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36)),
    url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1200&q=80") center/cover;
  position: relative;
}

.hero-image-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-image-note strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23, 48, 34, 0.08);
}

.hero-meta div {
  background: rgba(255, 255, 255, 0.86);
  padding: 18px;
}

.hero-meta span {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-meta strong {
  font-size: 1rem;
}

section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.section-head p {
  max-width: 56ch;
}

.info-grid,
.features-grid,
.gallery-grid {
  display: grid;
  gap: 20px;
}

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

.house-intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  align-items: stretch;
}

.info-card {
  max-width: 920px;
}

.house-intro-grid .info-card {
  max-width: none;
}

.house-photo-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.house-photo {
  min-height: 100%;
  height: 100%;
  background: url("Bilder/Terrasse.jpg") center/cover;
}

.house-photo-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  color: white;
  background: rgba(14, 31, 21, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.house-photo-card figcaption span {
  color: rgba(255, 255, 255, 0.82);
}

.info-card p + p {
  margin-top: 16px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.check-list li {
  display: flex;
  align-items: start;
  gap: 12px;
}

.check-list li::before {
  content: "+";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 111, 82, 0.14), rgba(216, 231, 218, 0.95));
  color: var(--primary-dark);
  font-weight: 800;
}

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

.feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 244, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 50px rgba(20, 44, 31, 0.09);
}

.feature-card h3 {
  grid-column: 2;
  font-size: 1.2rem;
  line-height: 1.12;
}

.feature-card p {
  grid-column: 2;
  color: var(--muted);
}

.feature-icon {
  grid-row: 1 / span 4;
  width: 86px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(47, 111, 82, 0.16), rgba(216, 231, 218, 0.92));
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.feature-kicker {
  grid-column: 2;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-list {
  grid-column: 2;
  list-style: none;
  display: grid;
  gap: 7px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.42;
}

.feature-number {
  font-size: 1.04rem;
}

.feature-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: #8a6731;
  font-size: 1.06rem;
  line-height: 1;
}

.gallery-grid {
  grid-template-columns: 1.25fr 0.75fr 0.75fr;
  grid-auto-rows: 240px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 54px rgba(20, 44, 31, 0.12);
}

.gallery-card.large {
  grid-row: span 2;
  min-height: 500px;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 23, 17, 0.02), rgba(12, 23, 17, 0.46));
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
}

.gallery-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.cta {
  padding-bottom: 76px;
}

.cta-panel {
  border-radius: 30px;
  padding: 38px;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(216, 231, 218, 0.94));
}

.cta-panel h2 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.contact-card {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 48, 34, 0.06);
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
  color: var(--muted);
}

.detail-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.booking-layout,
.settings-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.stack {
  display: grid;
  gap: 20px;
}

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

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

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 48, 34, 0.06);
}

.notice.warn {
  background: rgba(180, 107, 44, 0.08);
  border-color: rgba(180, 107, 44, 0.16);
}

.notice.danger {
  background: rgba(178, 76, 76, 0.08);
  border-color: rgba(178, 76, 76, 0.16);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 48, 34, 0.08);
  font-size: 0.93rem;
}

.pill strong {
  font-size: 0.95rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.legend-swatch.free {
  background: rgba(47, 111, 82, 0.18);
}

.legend-swatch.booked {
  background: rgba(178, 76, 76, 0.8);
}

.legend-swatch.unavailable {
  background: rgba(23, 48, 34, 0.22);
}

.legend-swatch.external {
  background: rgba(178, 76, 76, 0.8);
}

.legend-swatch.local {
  background: rgba(180, 107, 44, 0.85);
}

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

.calendar-card {
  border-radius: 24px;
  overflow: hidden;
}

.calendar-month {
  padding: 22px;
}

.calendar-month h3 {
  margin-bottom: 12px;
}

.weekday-row,
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-row {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.day {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(23, 48, 34, 0.06);
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.day.muted {
  opacity: 0.2;
}

.day.today {
  outline: 2px solid rgba(47, 111, 82, 0.32);
}

.day.is-external {
  background: rgba(178, 76, 76, 0.14);
  color: #7d2c2c;
}

.day.is-local {
  background: rgba(180, 107, 44, 0.14);
  color: #7f4a1d;
}

.period-list,
.detail-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.period-list li,
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 48, 34, 0.05);
}

.detail-list li::before {
  content: "+";
  color: var(--primary);
  font-weight: 800;
}

.period-source {
  color: var(--muted);
  font-size: 0.9rem;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.form-field label {
  font-weight: 700;
  color: var(--text);
}

.form-field small {
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 48, 34, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.image-upload-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.image-upload-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 244, 0.86));
  border: 1px solid rgba(23, 48, 34, 0.08);
}

.image-upload-card label {
  font-weight: 700;
  color: var(--text);
}

.image-upload-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(216, 231, 218, 0.45);
  border: 1px solid rgba(23, 48, 34, 0.08);
}

.summary-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.summary-rows {
  display: grid;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 48, 34, 0.08);
}

.summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row strong:last-child {
  text-align: right;
}

.summary-row.total {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-row.total strong:last-child {
  font-size: 1.3rem;
}

.summary-tax-note {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.status-banner {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(47, 111, 82, 0.08);
  border: 1px solid rgba(47, 111, 82, 0.14);
}

.status-banner.warn {
  background: rgba(180, 107, 44, 0.1);
  border-color: rgba(180, 107, 44, 0.18);
}

.status-banner.danger {
  background: rgba(178, 76, 76, 0.1);
  border-color: rgba(178, 76, 76, 0.18);
}

.status-banner.hidden {
  display: none;
}

.table-card {
  overflow: hidden;
}

.booking-table {
  width: 100%;
  border-collapse: collapse;
}

.booking-table th,
.booking-table td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 48, 34, 0.08);
  vertical-align: top;
}

.booking-table th {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-table td:last-child,
.booking-table th:last-child {
  text-align: right;
}

.table-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.table-button {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 48, 34, 0.1);
  cursor: pointer;
}

.table-button.danger {
  color: #862f2f;
}

.empty-state {
  padding: 24px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--muted);
}

.inline-link {
  color: var(--primary);
  font-weight: 700;
}

.legal-footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 0 24px;
  color: var(--muted);
  font-weight: 700;
}

.legal-page {
  padding: 44px 0 70px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
}

.legal-content h2 {
  margin-top: 10px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content .panel {
  display: grid;
  gap: 12px;
}

.captcha-field {
  border-top: 1px solid rgba(23, 48, 34, 0.08);
  padding-top: 12px;
}

.captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(47, 111, 82, 0.08);
}

.captcha-image {
  width: min(100%, 190px);
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 48, 34, 0.12);
}

.captcha-field input {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

footer {
  padding: 24px 0 42px;
  color: var(--muted);
}

.settings-admin-hero {
  padding: 34px 0 20px;
}

.settings-dashboard-page {
  padding-bottom: 34px;
}

.settings-overview {
  padding: 34px 0 18px;
}

.settings-topbar,
.settings-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.settings-topbar {
  margin-bottom: 20px;
}

.settings-topbar h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
  max-width: 12ch;
}

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

.settings-kpi,
.settings-ics-strip article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 44px rgba(20, 44, 31, 0.06);
}

.settings-kpi {
  display: grid;
  gap: 8px;
}

.settings-kpi span,
.settings-ics-strip span,
.settings-kpi small {
  color: var(--muted);
}

.settings-kpi strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.settings-ics-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.settings-ics-strip article {
  display: grid;
  gap: 8px;
}

.settings-ics-strip .mono {
  overflow-wrap: anywhere;
}

.settings-workspace {
  padding: 18px 0;
}

.settings-admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  align-items: start;
}

.settings-editor {
  display: grid;
  gap: 20px;
}

.settings-drawer {
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(23, 48, 34, 0.08);
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.settings-drawer summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
}

.settings-drawer[open] {
  padding-bottom: 18px;
}

.settings-drawer .form-grid,
.settings-drawer .image-upload-grid {
  padding: 0 18px;
}

.settings-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 3;
  padding: 12px;
  border-radius: 18px;
  background: rgba(246, 248, 244, 0.88);
  border: 1px solid rgba(23, 48, 34, 0.08);
  backdrop-filter: blur(14px);
}

.settings-compact-copy {
  margin-top: 12px;
  color: var(--muted);
}

.settings-bookings-section {
  padding-bottom: 42px;
}

.settings-admin-card .page-hero-copy h1 {
  max-width: 9.5ch;
}

.settings-admin-card .page-hero-glass {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-action {
  flex: 0 0 auto;
}

.settings-login-shell {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
}

.settings-login-section {
  padding: 70px 0;
}

.settings-login-card {
  width: min(100%, 580px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 48px);
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 86% 14%, rgba(241, 210, 139, 0.28), transparent 28%),
    linear-gradient(112deg, rgba(9, 24, 15, 0.94), rgba(28, 68, 48, 0.86)),
    url("Bilder/Terrasse.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(20, 44, 31, 0.18);
  backdrop-filter: blur(18px);
}

.settings-login-card h1 {
  max-width: 100%;
  color: white;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.settings-login-card .lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.84);
}

.settings-login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.settings-login-form .form-field label {
  color: rgba(255, 255, 255, 0.88);
}

.settings-control-hero {
  border-bottom: 1px solid rgba(23, 48, 34, 0.06);
}

.settings-console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.settings-section-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 46px rgba(20, 44, 31, 0.06);
}

.settings-section-picker h1 {
  max-width: 100%;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.94;
}

.settings-section-picker .form-field {
  width: min(100%, 520px);
}

.settings-section-picker .hero-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.settings-section-picker .button-outline {
  min-height: 56px;
}

.settings-console-nav {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 42px rgba(20, 44, 31, 0.06);
  backdrop-filter: blur(14px);
}

.settings-console-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
}

.settings-console-nav a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.settings-console-main,
.settings-form-modern {
  display: grid;
  gap: 18px;
}

.settings-save-head {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 46px rgba(20, 44, 31, 0.06);
}

.settings-save-head h2,
.settings-panel h3 {
  margin: 0;
}

.settings-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 46px rgba(20, 44, 31, 0.06);
}

.settings-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.settings-panel-head > div:first-child {
  min-width: 0;
}

.settings-inline-preview {
  width: min(100%, 420px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-inline-preview .price-card {
  padding: 16px;
}

.settings-inline-preview .price-card strong {
  font-size: 1.05rem;
}

.settings-ics-strip-compact {
  margin-top: 0;
}

.settings-panel-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.settings-price-periods {
  display: grid;
  gap: 14px;
}

.settings-price-period-row {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(245, 247, 244, 0.82);
  border: 1px solid rgba(23, 48, 34, 0.08);
}

.settings-price-period-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.settings-fee-grid {
  padding-top: 4px;
}

.settings-tax-copy {
  align-self: end;
  color: var(--muted);
  font-weight: 800;
}

.settings-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.settings-access-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(23, 48, 34, 0.08);
}

.settings-access-grid span,
.settings-access-grid small {
  color: var(--muted);
}

.settings-credential-list {
  display: grid;
  gap: 8px;
}

.settings-credential-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 247, 244, 0.82);
  border: 1px solid rgba(23, 48, 34, 0.06);
}

.settings-credential-list span {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.settings-credential-note {
  background: rgba(180, 107, 44, 0.08) !important;
  border-color: rgba(180, 107, 44, 0.16) !important;
}

.settings-bookings-panel {
  margin-top: 4px;
}

.guestbook-page,
.partner-page {
  min-height: 70svh;
}

.guestbook-login {
  padding: 74px 0;
}

.guestbook-login-card {
  background:
    linear-gradient(112deg, rgba(9, 24, 15, 0.9), rgba(28, 68, 48, 0.78)),
    url("Bilder/Wohnzimmer.jpg") center/cover;
}

.guestbook-shell {
  padding-bottom: 58px;
}

.guestbook-hero {
  padding: 42px 0 34px;
  color: white;
  background:
    linear-gradient(112deg, rgba(7, 21, 13, 0.92), rgba(35, 82, 61, 0.78)),
    url("Bilder/Terrasse.jpg") center/cover;
  border-bottom: 1px solid rgba(23, 48, 34, 0.08);
}

.guestbook-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: end;
}

.guestbook-hero h1 {
  max-width: 11ch;
  color: white;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.guestbook-quick {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.guestbook-quick a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.guestbook-quick a::after {
  content: "";
  width: 0.48em;
  height: 0.48em;
  margin-top: 0.42em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.guestbook-section {
  padding: 42px 0 0;
}

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

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

.guestbook-card,
.guestbook-partner-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 48, 34, 0.08);
  box-shadow: 0 18px 42px rgba(20, 44, 31, 0.06);
}

.guestbook-card h3,
.guestbook-partner-card h3 {
  margin: 10px 0 2px;
  line-height: 1.14;
}

.guestbook-card strong {
  color: var(--muted);
}

.guestbook-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(47, 111, 82, 0.14);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-embed {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(245, 247, 244, 0.82);
  border: 1px solid rgba(23, 48, 34, 0.08);
  overflow-wrap: anywhere;
}

.partner-embed ul,
.partner-embed ol {
  padding-left: 20px;
}

.partner-embed img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.partner-embed a {
  color: var(--primary);
  font-weight: 800;
}

.partner-shell {
  padding: 54px 0 66px;
}

.partner-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}

.partner-intro {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 18px;
}

.partner-intro h1 {
  max-width: 10ch;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.9;
}

.partner-editor {
  display: grid;
  gap: 20px;
}

.partner-login-form,
.partner-content-form {
  display: grid;
  gap: 18px;
}

.partner-html-input {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  line-height: 1.45;
}

.partner-preview {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}

.form-field input[type="file"] {
  padding: 12px;
  cursor: pointer;
}

.booking-page .nav-links {
  gap: 18px;
}

.home-booking-section {
  padding-top: 56px;
}

.home-booking-section .section-head {
  align-items: flex-start;
}

.home-booking-section .booking-layout-modern {
  margin-top: 6px;
}

.booking-main {
  padding: 34px 0 56px;
}

.booking-shell {
  padding: 0;
}

.booking-layout-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  gap: 24px;
  align-items: start;
}

.booking-main-column,
.booking-sidebar {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.booking-intro-card {
  grid-column: 1 / -1;
}

.booking-search-card,
.calendar-panel,
.periods-panel,
.booking-summary-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 244, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(20, 44, 31, 0.1);
}

.booking-search-form {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.95fr;
  gap: 10px;
  align-items: end;
}

.search-field {
  display: grid;
  gap: 8px;
}

.search-field label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.search-field input,
.search-field select {
  height: 62px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(23, 48, 34, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 244, 0.94));
  color: var(--text);
  font-weight: 600;
}

.picker-hint {
  color: var(--muted);
  font-weight: 600;
}

.calendar-panel {
  display: grid;
  gap: 18px;
}

.calendar-panel-head,
.periods-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.calendar-panel-head .eyebrow,
.periods-head .eyebrow,
.booking-summary-head .eyebrow {
  margin: 0 0 8px;
}

.booking-summary-card {
  position: sticky;
  top: 228px;
  display: grid;
  gap: 22px;
}

.booking-summary-head h2,
.calendar-panel h2,
.periods-panel h2 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.booking-mini-stats {
  display: grid;
  gap: 10px;
}

.mini-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(243, 247, 244, 0.94), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(23, 48, 34, 0.06);
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini-stat strong {
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.booking-price-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.booking-price-grid .price-card {
  padding: 16px 18px;
  border-radius: 18px;
}

.booking-price-grid .price-card strong {
  font-size: 1.08rem;
}

.status-banner {
  border-radius: 16px;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: auto 1fr 140px auto;
  gap: 10px;
  align-items: center;
}

.calendar-nav-button,
.calendar-select {
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(23, 48, 34, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 244, 0.94));
  color: var(--text);
}

.calendar-nav-button {
  width: 52px;
  font-size: 1.5rem;
  cursor: pointer;
}

.calendar-select {
  padding: 0 16px;
  font-weight: 600;
}

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

.calendar-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 244, 0.92));
  border: 1px solid rgba(23, 48, 34, 0.06);
  box-shadow: none;
}

.calendar-month {
  padding: 18px;
}

.calendar-month h3 {
  margin-bottom: 14px;
  font-size: 1rem;
  text-transform: capitalize;
}

.weekday-row,
.days-grid {
  gap: 6px;
}

.weekday-row {
  margin-bottom: 8px;
  font-size: 0.74rem;
}

.day {
  min-height: 70px;
  padding: 7px 6px 6px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  align-content: space-between;
  justify-items: start;
  width: 100%;
  cursor: pointer;
}

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

.day-number {
  font-weight: 700;
  line-height: 1;
}

.day-price {
  display: grid;
  gap: 2px;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.05;
}

.day-price small {
  display: block;
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 1.05;
}

.day:disabled {
  cursor: not-allowed;
}

.day.is-unavailable {
  background: rgba(23, 48, 34, 0.07);
  color: rgba(23, 48, 34, 0.4);
  border-color: rgba(23, 48, 34, 0.08);
  box-shadow: none;
  opacity: 1;
}

.day.is-unavailable:hover {
  transform: none;
}

.day.is-unavailable .day-price {
  display: none;
}

.day.is-external {
  background: rgba(178, 76, 76, 0.16);
  color: #8a2f2f;
  border-color: rgba(178, 76, 76, 0.1);
}

.day.is-local {
  background: rgba(216, 129, 145, 0.2);
  color: #9c4358;
  border-color: rgba(216, 129, 145, 0.12);
}

.day.is-external .day-price,
.day.is-local .day-price {
  display: none;
}

.day.is-selected-start,
.day.is-selected-end {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(47, 111, 82, 0.22);
}

.day.is-selected-start .day-price,
.day.is-selected-end .day-price {
  color: rgba(255, 255, 255, 0.82);
}

.day.is-selected-range {
  background: rgba(47, 111, 82, 0.12);
  border-color: rgba(47, 111, 82, 0.14);
}

.day.is-selected-range .day-price {
  color: var(--primary-dark);
}

.period-list {
  gap: 10px;
}

.period-list li {
  padding: 14px 16px;
  align-items: center;
}

.period-source {
  margin-top: 2px;
}

.pill {
  font-size: 0.84rem;
  white-space: nowrap;
}

.source-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(243, 247, 244, 0.94), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(23, 48, 34, 0.06);
}

.source-card span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.source-card strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.booking-contact-fields {
  display: grid;
  gap: 12px;
}

.booking-contact-fields textarea {
  min-height: 96px;
}

.booking-submit-sidebar {
  width: 100%;
  margin-top: 6px;
}

.booking-form-status {
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero-stage-inner,
  .detail-grid,
  .booking-layout,
  .settings-layout,
  .cta-panel,
  .calendar-grid,
  .gallery-grid,
  .house-intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage-inner {
    align-items: center;
  }

  .page-hero-card {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel-head,
  .hero-mini-cta {
    grid-column: 1 / -1;
  }

  .house-photo {
    min-height: 360px;
  }

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

  .gallery-grid {
    grid-auto-rows: 260px;
  }

  .gallery-card.large {
    grid-row: span 1;
    min-height: 260px;
  }

  .booking-layout-modern {
    grid-template-columns: 1fr;
  }

  .settings-admin-grid,
  .settings-ics-strip,
  .settings-console,
  .guestbook-hero-inner,
  .partner-layout {
    grid-template-columns: 1fr;
  }

  .settings-console-nav,
  .partner-intro {
    position: static;
  }

  .settings-console-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .settings-section-picker {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .settings-section-picker .hero-actions {
    justify-content: flex-start;
  }

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

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

  .booking-summary-card {
    position: static;
    top: auto;
  }

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

  .calendar-toolbar {
    grid-template-columns: auto 1fr 1fr auto;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .brand-logo {
    width: 300px;
    height: auto;
    max-width: none;
  }

  .brand {
    flex: 0 0 auto;
    width: min(100%, 300px);
    height: 102px;
  }

  .nav-links {
    justify-content: space-between;
    gap: 14px;
  }

  .hero-copy,
  .panel,
  .info-card,
  .summary-card,
  .table-card {
    padding: 24px;
  }

  .stats,
  .hero-meta,
  .price-grid,
  .summary-grid,
  .metrics-grid,
  .form-grid,
  .features-grid,
  .settings-access-grid,
  .guestbook-grid,
  .guestbook-grid-wide,
  .guestbook-partner-grid,
  .settings-inline-preview {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-icon,
  .feature-kicker,
  .feature-card h3,
  .feature-card p,
  .feature-list {
    grid-column: 1;
    grid-row: auto;
  }

  .image-upload-grid {
    grid-template-columns: 1fr;
  }

  .booking-main {
    padding-top: 24px;
  }

  .booking-layout-modern,
  .booking-main-column,
  .booking-sidebar {
    gap: 18px;
  }

  .booking-intro-card {
    padding: 0;
  }

  .booking-search-form,
  .calendar-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .settings-topbar,
  .settings-card-head,
  .settings-panel-head {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-console-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
  }

  .settings-console-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .settings-panel,
  .settings-save-head {
    padding: 20px;
    border-radius: 22px;
  }

  .settings-price-period-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-credential-list div {
    grid-template-columns: 1fr;
  }

  .settings-kpi-grid {
    grid-template-columns: 1fr;
  }

  .settings-savebar {
    position: static;
  }

  .legal-nav {
    position: static;
  }

  .legal-footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .search-field input,
  .search-field select {
    height: 58px;
  }

  .calendar-panel-head,
  .periods-head {
    flex-direction: column;
    align-items: start;
  }

  .calendar-nav-button,
  .calendar-select {
    width: 100%;
  }

  .hero-image {
    min-height: 320px;
  }

  .hero-stage,
  .hero-stage-inner {
    min-height: auto;
  }

  .hero-stage-inner {
    padding: 72px 0 62px;
  }

  .hero-glass-panel {
    grid-template-columns: 1fr;
  }

  .page-hero-card {
    padding: 28px;
  }

  .page-hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 5rem);
    max-width: 9.5ch;
  }

  .page-hero-glass,
  .settings-admin-card .page-hero-glass {
    grid-template-columns: 1fr;
  }

  .hero-panel-head strong {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .hero-fact {
    gap: 12px;
  }

  .hero-fact-value {
    flex-basis: 66px;
    width: 66px;
    min-width: 66px;
    height: 58px;
    font-size: 1.34rem;
  }

  .hero-story h1 {
    font-size: clamp(3.1rem, 17vw, 5.3rem);
    max-width: 9.5ch;
  }

  .hero-story .hero-lead {
    max-width: 100%;
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .guestbook-login {
    padding: 38px 0;
  }

  .guestbook-hero {
    padding: 34px 0 28px;
  }

  .guestbook-hero h1 {
    font-size: clamp(2.8rem, 15vw, 5rem);
    max-width: 9ch;
  }

  .guestbook-quick {
    border-radius: 20px;
  }

  .guestbook-card,
  .guestbook-partner-card {
    padding: 20px;
  }

  .partner-shell {
    padding: 34px 0 48px;
  }

  .partner-intro h1 {
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .booking-table,
  .booking-table thead,
  .booking-table tbody,
  .booking-table th,
  .booking-table td,
  .booking-table tr {
    display: block;
    width: 100%;
  }

  .booking-table thead {
    display: none;
  }

  .booking-table tr {
    padding: 18px 0;
    border-bottom: 1px solid rgba(23, 48, 34, 0.08);
  }

  .booking-table td {
    padding: 6px 0;
    border-bottom: 0;
    text-align: left;
  }

  .booking-table td:last-child {
    text-align: left;
  }

  .table-actions {
    justify-content: flex-start;
  }
}
