@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/playfair-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #17201b;
  --muted: #66716c;
  --paper: #fbfaf7;
  --soft: #f0eee8;
  --line: #ddd8cc;
  --forest: #254438;
  --moss: #7f8b5a;
  --clay: #b46f45;
  --gold: #d5b46b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(20, 28, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 8px 30px rgba(23, 32, 27, 0.08);
  backdrop-filter: blur(14px);
}

.legal-header {
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Playfair Display", serif;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background-image: linear-gradient(90deg, rgba(9, 14, 12, 0.22), rgba(9, 14, 12, 0.28) 18%, rgba(9, 14, 12, 0.12)), url("assets/images/traumhaus-totale-03.webp");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(0.99) contrast(1.4);
}

.hero::after {
  background:
    radial-gradient(circle at 72% 18%, rgba(213, 180, 107, 0.22), transparent 28%),
    linear-gradient(0deg, rgba(9, 14, 12, 0.28), transparent 44%),
    linear-gradient(120deg, rgba(37, 68, 56, 0.42), rgba(180, 111, 69, 0.12) 52%, rgba(9, 14, 12, 0.08));
  mix-blend-mode: multiply;
}

.hero-shade {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 0 clamp(18px, 6vw, 86px) 17vh;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 940px;
  font-size: clamp(3rem, 7.4vw, 7rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy sup a {
  margin-left: 2px;
  color: var(--white);
  font-size: 0.72em;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-footnote {
  max-width: 620px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.page-footnotes {
  padding-top: 0;
  padding-bottom: 28px;
}

.page-footnotes .hero-footnote {
  color: var(--muted);
}

.hero-footnote sup {
  margin-right: 3px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-facts {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 4vw, 54px);
  bottom: 34px;
  display: flex;
  max-width: min(760px, calc(100% - 36px));
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hero-facts span,
.hero-facts a {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(9, 14, 12, 0.2);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-facts a {
  color: var(--ink);
  border-color: rgba(213, 180, 107, 0.7);
  background: rgba(213, 180, 107, 0.92);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-dark {
  color: var(--white);
  background: var(--forest);
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 4vw, 54px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.legal-main {
  min-height: 70vh;
}

.legal-section {
  padding-top: clamp(80px, 10vw, 132px);
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.legal-content .agb-intro {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content .agb-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.legal-block {
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.25rem;
}

.legal-block p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-block a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.98rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--soft);
}

.legal-block ul {
  margin: 12px 0;
  padding-left: 1.4em;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid,
.welcome-grid,
.calendar-grid,
.guestbook-grid,
.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro-grid p,
.welcome-text,
.section-heading.split p,
.calendar-grid > div:first-child p,
.guestbook-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.welcome-grid {
  align-items: start;
}

.welcome-lead {
  position: sticky;
  top: 110px;
}

.welcome-text {
  display: grid;
  gap: 18px;
  padding-top: 7px;
  max-width: 680px;
}

.welcome-text p:first-child {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.rating-strip,
.booking-review-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
}

.rating-strip {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid rgba(213, 180, 107, 0.55);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(213, 180, 107, 0.28), rgba(255, 255, 255, 0.72));
}

.rating-score,
.booking-review-score {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.rating-strip strong,
.booking-review-card strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.rating-strip small,
.booking-review-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-review-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(20, 28, 24, 0.1);
}

.booking-review-score {
  background: var(--clay);
}


.feature-band {
  color: var(--white);
  background: var(--forest);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.feature-grid article {
  min-height: 230px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--forest);
}

.feature-grid p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.price-section {
  background: var(--soft);
}

.price-section .section-heading {
  max-width: 720px;
}

.price-section .section-heading > p:last-child {
  color: var(--muted);
}

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

.price-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--paper);
}

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

.price-card p,
.price-note {
  color: var(--muted);
}

.price-card p {
  margin-top: 12px;
  font-size: 0.95rem;
}

.price-note {
  margin-top: 24px;
  font-size: 0.9rem;
}

.price-note a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.news-section,
.calendar-section {
  background: var(--soft);
}

.news-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 150px minmax(190px, 0.7fr) minmax(260px, 1fr);
  gap: 28px;
  padding: 28px 0;
  background: var(--soft);
}

.news-item time {
  color: var(--clay);
  font-size: 0.9rem;
  font-weight: 700;
}

.news-item p {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, 24vw);
  gap: 14px;
}

.gallery-tile {
  position: relative;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.gallery-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 18, 15, 0.65), transparent 48%);
}

.gallery-tile span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-weight: 700;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.guestbook-section {
  background: var(--paper);
}

.guestbook-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guestbook-list {
  display: grid;
  gap: 18px;
}

.guest-entry {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.guest-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.guest-entry-head strong {
  color: var(--forest);
  font-size: 0.95rem;
}

.guest-entry-head span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--white);
  background: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.guest-entry blockquote {
  margin: 0;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.28;
}

.guest-entry figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.guestbook-form {
  /*display: grid;*/
  display: none;
  gap: 16px;
  margin-top: 28px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.calendar-grid > div:first-child {
  display: grid;
  gap: 22px;
}

.calendar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.calendar-head button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.calendar-head button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

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

.calendar-weekdays span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.calendar-days {
  margin-top: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #24412c;
  background: #dff2df;
  font-size: 0.9rem;
  font-weight: 700;
}

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

.calendar-day.is-reserved,
.calendar-day.is-occupied {
  color: #765115;
  background: #f5e7c7;
  border-color: #e6cd94;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.calendar-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.calendar-legend .free {
  border: 1px solid #b9dfbd;
  background: #dff2df;
}

.calendar-legend .reserved,
.calendar-legend .occupied {
  border: 1px solid #e6cd94;
  background: #f5e7c7;
}

.calendar-sync {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

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

.lightbox {
  width: min(980px, calc(100vw - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.lightbox::backdrop {
  background: rgba(8, 12, 10, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}

.lightbox p {
  padding: 16px 18px 18px;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--white);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    inset: 74px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .intro-grid,
  .welcome-grid,
  .calendar-grid,
  .guestbook-grid,
  .section-heading.split,
  .news-item {
    grid-template-columns: 1fr;
  }

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

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

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, 36vw);
  }

  .gallery-tile.large,
  .gallery-tile.wide {
    grid-column: span 2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero::before {
    background-size: cover;
    background-position: 58% top;
  }

  .hero-content {
    padding-bottom: 19vh;
  }

  .hero-facts {
    right: auto;
    left: 18px;
    justify-content: flex-start;
  }

  .welcome-lead {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 13px 14px;
  }

  .brand span:last-child {
    max-width: 180px;
    line-height: 1.15;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-bottom: 19vh;
  }

  .hero-facts {
    bottom: 18px;
    left: 14px;
    gap: 7px;
  }

  .hero-facts span {
    padding: 7px 10px;
    font-size: 0.76rem;
  }

  .button {
    width: 100%;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, 64vw);
  }

  .gallery-tile.large,
  .gallery-tile.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .guestbook-panel,
  .calendar-card {
    padding: 18px;
  }

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

  .calendar-day {
    font-size: 0.78rem;
  }
}
