@font-face { font-family: Quicksand; src: url("./fonts/quicksand-light.ttf"); font-weight: 300; font-display: swap; }
@font-face { font-family: Quicksand; src: url("./fonts/quicksand-regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: Quicksand; src: url("./fonts/quicksand-medium.ttf"); font-weight: 500; font-display: swap; }
@font-face { font-family: Mali; src: url("./fonts/mali-light.ttf"); font-weight: 300; font-display: swap; }
@font-face { font-family: Mali; src: url("./fonts/mali-regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: Mali; src: url("./fonts/mali-medium.ttf"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("./fonts/greatvibes-regular.ttf"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Material Icons"; src: url("./fonts/material.woff"); }
@font-face { font-family: "Outline Icons"; src: url("./fonts/flaticon.woff"); }
@font-face { font-family: "Solid Icons"; src: url("./fonts/fa-solid-900.woff"); }

:root {
  --sage: #d0d9cd;
  --olive: #72884d;
  --dark-green: #516a30;
  --dark: #2d2c2a;
  --white: #fafafa;
  --taupe: #bdb6ae;
  --line: 30px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-width: none; }
body { margin: 0; background: var(--sage); color: var(--white); font: 300 18px/var(--line) Quicksand, sans-serif; }
body:has(dialog[open]), body.menu-open { overflow: hidden; }
h1, h2, h3, h4, h5, p, ul, dl, dd, fieldset { margin: 0; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #af8b39; outline-offset: 4px; }
.wrap { width: min(1180px, 100%); margin-inline: auto; }
.symbol { display: inline-block; flex: none; font: normal 24px/1 "Material Icons"; }
.symbol.outline { font-family: "Outline Icons"; }
.symbol.solid { font-family: "Solid Icons"; }
.visually-hidden, .trap {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.section-title {
  font: 400 46px/56px Mali, sans-serif; letter-spacing: 2px; text-align: center;
  text-transform: uppercase; color: var(--olive);
}
.wave { position: absolute; left: 0; right: 0; height: 20px; overflow: clip; pointer-events: none; z-index: 1; color: var(--sage); }
.wave svg { position: absolute; inset: 0; width: calc(100% + 1.3px); height: 100%; fill: currentColor; }
.wave-bottom { bottom: -1px; }
.wave-top { top: 0; transform: scaleY(-1); }

.site-header { position: absolute; z-index: 5; inset: 0 0 auto; padding: 25px 30px; display: flex; align-items: center; justify-content: space-between; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav a {
  padding: 15px; font: 500 16px/16px Mali, sans-serif; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; color: var(--dark-green); transition: color .3s;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--olive); }
.menu-toggle, .drawer-close, .site-header .phone { display: none; }
.action {
  display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 54px;
  padding: 15px 25px; border-radius: 20px; color: var(--olive); background: var(--white);
  font: 500 18px/24px Quicksand, sans-serif; letter-spacing: 1px; text-decoration: none;
  text-transform: uppercase; transition: background-color .3s, color .3s, border-color .3s;
}
.action:hover, .action:focus-visible { background: var(--olive); color: var(--white); }
.back-top {
  position: fixed; right: 25px; bottom: 65px; z-index: 6; width: 61px; height: 61px;
  display: grid; place-items: center; border-radius: 20px; background: var(--white);
  color: var(--dark); box-shadow: 0 10px 20px #0002; transition: background-color .3s, color .3s;
}
.back-top:hover { background: var(--olive); color: var(--white); }
.back-top .symbol { font-size: 31px; }

/* Startseite */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; display: flex;
  align-items: center; padding-bottom: 19px; background: #e9ede7; overflow: clip;
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; inset: 0 0 19px; }
.hero::before { background: var(--sage) url("../images/design-ohne-titel.webp") center / cover no-repeat; }
.hero-copy { width: 41.6667%; text-align: center; }
.hero h1 { color: var(--dark-green); font: 400 50px/60px Mali, sans-serif; }
.hero h1 span { display: block; margin-top: 25px; font: 400 150px/140px "Great Vibes", cursive; animation: grow-text 1s both; }
.hero-copy p { margin: 10px 0 55px; font: 400 34px/44px Mali, sans-serif; letter-spacing: 1px; }
.book-hero { width: 238px; max-width: 100%; }
.hero .book-hero { animation: bounce-up 1s .6s both; }

.welcome { position: relative; background: var(--dark); padding: 130px 50px 250px; }
.welcome-grid { margin-top: 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.welcome-text { padding-bottom: 25px; }
.welcome-photo { position: relative; overflow: hidden; }
.welcome-photo > div {
  position: absolute; inset: -10%; background: url("../images/seite-wohnungen2.webp") center top / contain no-repeat;
  transform: translate(var(--photo-x, 0), var(--photo-y, 0));
}
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 105px; }
.badges img { width: 100%; height: auto; }
.booking-award {
  display: flex;
  align-items: flex-end;
  width: 100%;
  aspect-ratio: 320 / 302;
  background: #003b95;
}

.rooms { padding: 150px 50px 125px; background: var(--sage); }
.rooms-layout {
  max-width: 1600px; margin: 75px auto 0; display: grid; grid-template-columns: 25% minmax(0, 1fr);
  align-items: stretch;
}
.room-tabs { display: flex; flex-direction: column; align-items: stretch; }
.room-tabs button {
  width: 100%; position: relative; padding: 20px; color: #1d1d1f66; font: 500 20px/30px Quicksand, sans-serif;
  letter-spacing: 2px; text-align: center; text-transform: uppercase; transition: color .3s;
}
.room-tabs button:hover, .room-tabs button[aria-selected="true"] { color: var(--dark); }
.room-tabs button[aria-selected="true"]::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--dark); }
.tab-short { display: none; }
.room-body { background: #fcfcfc; border-left: 1px solid var(--olive); color: var(--dark); min-width: 0; }
.room-panel { padding: 45px 45px 45px 44px; }
.room-panel h3, .directions h2 { color: var(--taupe); font: 500 34px/44px Quicksand, sans-serif; letter-spacing: 1px; }
.room-intro { margin-top: 25px; }
.room-intro > br { display: none; }
.room-1 .room-intro { padding-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 25px 0 0; }
.feature-list li { display: flex; align-items: start; gap: 20px; padding-right: 25px; min-height: 39px; }
.feature-list li + li { margin-top: 20px; }
.feature-list .symbol { color: var(--olive); margin-top: 3px; width: 24px; text-align: center; }
.gallery { display: grid; position: relative; min-width: 0; margin-top: 50px; --visible-photos: 3; }
.gallery-track { display: flex; gap: 30px; overflow: auto hidden; scrollbar-width: none; scroll-snap-type: x mandatory; }
.gallery-track button { flex: 0 0 calc((100% - (var(--visible-photos) - 1)*30px)/var(--visible-photos)); height: 250px; scroll-snap-align: start; min-width: 0; }
.gallery-track button:focus-visible { outline-offset: -4px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute; z-index: 1; top: 125px; width: 48px; height: 48px; translate: 0 -50%;
  border-radius: 50%; background: #2d2c2ab3; color: #fff; font: 400 37px/44px Quicksand, sans-serif;
  opacity: 0; transition: opacity .25s, background-color .25s;
}
.gallery:focus-within .gallery-arrow, .gallery-arrow:focus-visible { opacity: 1; }
.gallery-arrow:hover { background: var(--dark); }
.gallery-arrow.previous { left: 15px; }
.gallery-arrow.next { right: 15px; }
.gallery-pages { display: flex; gap: 28px; align-items: center; justify-content: center; margin-top: 14px; height: 35px; }
.gallery-pages button { width: 20px; height: 20px; border-radius: 50%; background: var(--taupe); }
.gallery-pages button:hover, .gallery-pages button[aria-current="true"] { background: var(--olive); }
.swipe-note, .tour > .feature-list { display: none; }
.tour { margin-top: 100px; text-align: center; }
.tour h3 { margin-bottom: 25px; font: 400 34px/44px Mali, sans-serif; letter-spacing: 1px; color: var(--dark); }
.reveal-word, .reveal-letter { display: inline-block; }
.tour h3.has-entered .reveal-letter { animation: slide-text .35s ease both; animation-delay: calc(var(--letter-index) * 23ms); }
.tour-link, .book-contact, .legal-home-link { border: 3px solid var(--olive); background: transparent; min-height: 70px; padding-block: 20px; }
.tour-link { min-height: 76px; font-size: 25px; line-height: 30px; padding-inline: 25px; min-width: min(355px, 100%); }
.tour-link .symbol { font-size: 30px; }

.prices {
  position: relative; padding: 150px 25px; background-color: #000;
  background-image: linear-gradient(#2e2d2b99,#2e2d2b99), url("../images/statue-buddha-sitting-meditation-with-black-copy-space.jpg");
  background-position: center top; background-attachment: scroll, fixed; background-repeat: no-repeat;
}
.price-grid { margin-top: 100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.price-card { padding: 25px 25px 0; text-align: center; }
.price-card h3 { font: 400 26px/36px Mali, sans-serif; letter-spacing: 2px; }
.price-card img {
  box-sizing: content-box; width: min(278px, calc(100% - 22px)); height: auto; aspect-ratio: 1;
  margin: 25px auto; border-radius: 50%; border: 11px solid #ffffff1a; object-fit: cover;
}
.price-card dl > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; text-align: left; font: 500 20px/30px Quicksand, sans-serif; }
.price-card dd { white-space: nowrap; text-align: right; }
.price-end { margin-top: 50px; text-align: center; }
.book-price { min-height: 64px; color: var(--dark); background: var(--taupe); margin-bottom: 50px; }

.leisure { position: relative; background: var(--sage); color: var(--dark); padding: 150px 25px 200px; }
.leisure-intro { margin-top: 50px; }
.leisure-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 75px 25px; margin-top: 75px; }
.flip-card { --flip-duration: .9s; height: 250px; }
.flip-inner { position: relative; width: 100%; height: 100%; isolation: isolate; }
.flip-front, .flip-back {
  position: absolute; inset: 0; border-radius: 9px; color: var(--white); backface-visibility: hidden;
  overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  transition: transform var(--flip-duration) ease-in-out;
}
.flip-front { align-items: center; padding: 0 15px; background: var(--dark); }
.flip-card.is-flipped .flip-front { transform: perspective(1100px) rotateY(180deg); pointer-events: none; }
.flip-front img, .flip-front::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flip-front::after { content: ""; background: #0003; }
.flip-front span {
  position: relative; z-index: 1; font: 400 40px/50px Mali, sans-serif; letter-spacing: 2px; text-transform: uppercase;
  backface-visibility: hidden; transition: visibility 0s var(--flip-duration);
}
.flip-card.is-flipped .flip-front span { visibility: hidden; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .flip-card { --flip-duration: 0s; }
}
.flip-back {
  transform: perspective(1100px) rotateY(-180deg);
  background: var(--dark); padding: 18px 25px; font-size: 16px; line-height: 26px;
  visibility: hidden; pointer-events: none;
  transition: transform var(--flip-duration) ease-in-out, visibility 0s calc(var(--flip-duration) / 2);
}
.flip-card.is-flipped .flip-back { transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.flip-back a { align-self: center; margin-top: 25px; text-transform: uppercase; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: 4px; }
.flip-back a:hover { color: var(--taupe); }
.flip-back .symbol { vertical-align: middle; font-size: 20px; }

.contact { position: relative; background: var(--dark); padding: 155px 25px 125px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 3.19fr) minmax(238px, 1fr); align-items: center; gap: 25px; }
.contact h2 { color: var(--olive); font: 500 34px/44px Quicksand, sans-serif; letter-spacing: 1px; }
.contact p { margin-top: 25px; font: 500 20px/30px Quicksand, sans-serif; }
.book-contact { justify-self: center; width: 238px; max-width: 100%; }

.site-footer {
  color: var(--white); background: linear-gradient(#121212ba,#121212ba), url("../images/7b0d4cea-5c57-4240-b51f-4c91ba070261.webp") center / cover;
  padding: 100px 25px 50px; font-weight: 400; letter-spacing: 1px; text-align: center;
}
.footer-grid { display: grid; grid-template-columns: 1fr 2.09fr 1fr; gap: 25px; }
.footer-grid section > .symbol { display: block; font-size: 48px; margin-inline: auto; }
.footer-title { margin-top: 25px; font: 300 20px/42px Mali, sans-serif; letter-spacing: normal; }
.footer-title span { display: block; font: 400 50px/60px "Great Vibes", cursive; letter-spacing: 1px; }
.footer-address { margin: 30px auto 25px; width: max-content; max-width: 100%; text-align: left; }
.footer-route {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px auto 0;
  font: 500 18px/30px Quicksand, sans-serif; letter-spacing: 2px; text-decoration: none; text-transform: uppercase;
}
.footer-route + .footer-route { margin-top: 60px; }
.footer-route:hover, .footer-nav a:hover { color: var(--taupe); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 10px; margin-top: 50px; }
.footer-nav a { padding: 15px; font: 300 16px/16px Quicksand, sans-serif; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; }

/* Dialoge und Buchungsformular */
dialog { color: var(--dark); background: var(--white); border: 0; padding: 0; }
dialog::backdrop { background: #0008; }
dialog[open] { animation: dialog-in .3s both; }
.dialog-close {
  position: absolute; z-index: 2; top: 9px; right: 9px; width: 42px; height: 42px;
  font: 300 33px/1 Quicksand, sans-serif; display: grid; place-items: center;
}
.dialog-close:hover { opacity: .7; }
.directions {
  width: min(650px, 100%); max-width: 100%; max-height: calc(100% - 30px);
  padding: 50px 20px 75px; box-shadow: 0 20px 45px #0003;
}
.directions h2 { text-align: center; margin-bottom: 25px; }
.directions strong { font-weight: 400; }
.lightbox { overflow: hidden; position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; background: transparent; }
.lightbox img { margin: auto; width: auto; height: auto; max-width: calc(100% - 120px); max-height: calc(100% - 15px); object-fit: contain; touch-action: pan-y; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox .dialog-close { right: 3.5%; top: 5%; color: white; font-size: 43px; }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); color: white; width: 45px;
  height: 60px; z-index: 1; font: 300 45px/55px Quicksand, sans-serif;
}
.lightbox-arrow.previous { left: 3.3%; }
.lightbox-arrow.next { right: 3.3%; }
.booking {
  --booking-focus: #95a67a;
  width: min(600px, 100%); max-width: 100%; position: fixed; inset: 28px 0 0; margin: 0 auto;
  max-height: calc(100% - 28px); padding: 125px 25px 50px; background: var(--olive);
  color: var(--white); font: 500 16px/26px Quicksand, sans-serif; scrollbar-width: thin;
}
.booking::backdrop { background: #181818cc; }
.booking .dialog-close { top: 17px; right: 15px; color: white; font: 400 29px/1 Arial, sans-serif; }
.booking form { display: grid; gap: 47px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row.identity { grid-template-columns: 2fr 3fr; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.booking b { font-weight: 500; margin-left: 5px; }
.booking input:not([type=radio], [type=checkbox]), .booking select, .booking textarea {
  border: 1px solid #ddd; background: #eee; color: var(--dark); border-radius: 0;
  padding: 12px; width: 100%; min-height: 56px; font-size: 16px;
}
.booking textarea { resize: vertical; }
.booking fieldset { min-width: 0; padding: 0; border: 0; }
.booking legend { padding: 0; }
.booking :focus-visible,
.booking-calendar button:focus,
.booking :is(input:not([type=radio], [type=checkbox]), select, textarea):focus {
  outline: 3px solid var(--booking-focus);
  outline-offset: 4px;
}
.radio-options { display: flex; flex-wrap: wrap; gap: 15px 25px; padding: 17px 0 9px; }
.radio-options.countries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 0; }
.radio-options label, .form-check { display: flex; align-items: center; gap: 22px; cursor: pointer; }
.radio-options label { color: #fff; font: 400 14px/20px Quicksand, sans-serif; }
.date-display { position: relative; }
.date-display input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.date-display button {
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-end; gap: 10px;
  width: 100%; min-height: 56px; padding: 12px; border: 1px solid #ddd; text-align: left;
  background: #eee; color: var(--dark); font-size: 16px;
}
.date-display button::after { content: "\f332"; font: 400 22px/1 "Material Icons"; }
.date-display:focus-within button { outline: 3px solid var(--booking-focus); outline-offset: 3px; }
.booking-calendar {
  --calendar-cell: clamp(32px, 11vw, 50px);
  width: 432px; max-width: calc(100% - 6px); max-height: calc(100% - 24px);
  padding: clamp(12px, 5vw, 28px); border-radius: 6px;
  color: #fff; background: #2d3041f5; box-shadow: 0 18px 45px #0005;
}
.booking-calendar::backdrop { background: transparent; }
.calendar-navigation {
  display: grid; grid-template-columns: repeat(2, var(--calendar-cell)) minmax(0, 1fr) repeat(2, var(--calendar-cell));
  gap: 5px; align-items: center; text-align: center;
}
.calendar-navigation h2 { font: 700 clamp(14px, 4vw, 18px)/1.15 Quicksand, sans-serif; }
.booking-calendar button { min-height: var(--calendar-cell); border-radius: 4px; font-weight: 700; }
.calendar-navigation button, .calendar-today { background: #ffffff06; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.calendar-weekdays { margin: 26px 0 12px; color: #8eafb6; font-weight: 700; text-transform: uppercase; }
.calendar-days button { color: #dae0e8; margin-inline: 2px; }
.calendar-days button:disabled { opacity: .53; cursor: default; }
.calendar-days button[aria-current="date"], .calendar-days button[aria-pressed="true"] { background: #54544e; color: white; }
.calendar-navigation button:hover, .calendar-days button:enabled:hover, .calendar-today:hover { background: #ffffff24; }
.calendar-today { width: 100%; margin-top: 5px; text-transform: uppercase; }
@media (max-width: 600px) {
  .calendar-today { text-transform: none; }
}
.booking input[type=radio], .booking input[type=checkbox] {
  appearance: none; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--booking-focus); margin: 0; cursor: pointer;
}
.booking input[type=checkbox] { border-radius: 0; }
.booking input[type=radio]:checked { background: var(--white); box-shadow: inset 0 0 0 10px #526634; }
.booking input[type=checkbox]:checked { background: var(--white); color: var(--dark); display: grid; place-items: center; }
.booking input[type=checkbox]:checked::before { content: "✓"; font-size: 22px; }
.form-check a:hover { color: #fff; text-decoration-thickness: 2px; }
.booking .send {
  width: 100%; min-height: 58px; background: var(--white); color: var(--dark); padding: 12px 30px;
  text-transform: uppercase; font-weight: 500; letter-spacing: 1px;
}
.booking .send:hover { background: #e9ede7; }
.booking .send:disabled { opacity: .65; cursor: progress; }
.form-status { background: #3b4827; padding: 14px; }
.success { width: min(550px, calc(100% - 30px)); text-align: center; padding: 60px 35px 40px; }
.success h2 { font: 400 34px/44px Mali, sans-serif; color: var(--dark-green); }
.success p { margin: 20px 0 25px; }
.success .action { border: 2px solid var(--olive); }

.legal-page { background: var(--dark); }
.legal { padding: 206px 0 100px; }
.legal h1 { font: 300 60px/72px Mali, sans-serif; text-align: center; margin-bottom: 70px; overflow-wrap: anywhere; }
.legal article { overflow-wrap: anywhere; font-weight: 400; }
.legal article h2 { font: 400 46px/56px Mali, sans-serif; text-transform: uppercase; color: var(--olive); letter-spacing: 2px; margin: 48px 0 24px; }
.legal article h3 { font: 500 34px/44px Quicksand, sans-serif; color: var(--taupe); letter-spacing: 1px; margin: 32px 0 6px; }
.legal article h4 { font: 400 26px/36px Mali, sans-serif; margin: 25px 0 10px; }
.legal article > :first-child { margin-top: 0; }
.legal article p + p { margin-top: 9px; }
.legal article a { text-decoration: underline; text-underline-offset: 3px; }
.legal article a:hover, .legal article a:focus-visible { color: #d0d9b7; }
.legal-home { display: flex; justify-content: center; margin-top: 65px; text-align: center; }
.legal-impressum article h2 {
  margin: 32px 0 6px; color: var(--taupe);
  font: 500 34px/44px Quicksand, sans-serif; letter-spacing: 1px; text-transform: none;
}

@keyframes grow-text { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes dialog-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-left { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.3); } 50% { opacity: 1; } }
@keyframes bounce-horizontal {
  0% { opacity: 0; transform: translateX(var(--start, -200vw)); }
  60% { opacity: 1; transform: translateX(var(--cross, 25px)); }
  75% { transform: translateX(var(--return, -10px)); }
  90% { transform: translateX(var(--last, 5px)); }
  100% { transform: translateX(0); }
}
@keyframes bounce-up {
  0% { opacity: 0; transform: translateY(200vh); }
  60% { opacity: 1; transform: translateY(-20px); }
  75% { transform: translateY(10px); }
  90% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
@keyframes slide-text { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
[data-enter="up"] { --entrance: fade-up; }
[data-enter="fade-left"] { --entrance: fade-left; --duration: .9s; }
[data-enter="bounce-up"] { --entrance: bounce-up; }
[data-enter="bounce-left"], [data-enter="bounce-right"] { --entrance: bounce-horizontal; }
[data-enter="bounce-right"] { --start: 200vw; --cross: -25px; --return: 10px; --last: -5px; }
[data-enter="zoom"] { --entrance: zoom-in; }
[data-delay="2"] { --enter-delay: .2s; }
[data-delay="4"] { --enter-delay: .4s; }
[data-delay="5"] { --enter-delay: .5s; }
[data-delay="6"] { --enter-delay: .6s; }
[data-delay="8"] { --enter-delay: .8s; }
.is-waiting { opacity: 0; }
.has-entered { animation: var(--entrance) var(--duration, 1s) var(--enter-delay, 0s) both; }
.prices, .leisure { overflow: clip; }

@media (max-width: 1279px) {
  .legal { padding-inline: 40px; }
}
@media (max-width: 1024px) {
  .section-title { font-size: 42px; line-height: 52px; }
  .site-header { height: 104px; padding: 10px 45px 0 25px; align-items: flex-start; }
  .site-header .phone { display: inline-flex; color: var(--dark); border-radius: 2px; margin-top: 20px; }
  .menu-toggle { display: grid; width: 64px; height: 70px; place-items: center; }
  .menu-toggle span { width: 34px; height: 4px; background: var(--white); box-shadow: 0 -9px var(--white), 0 9px var(--white); }
  .drawer-close { display: block; align-self: end; width: 42px; height: 50px; color: var(--taupe); font-size: 22px; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, calc(100vw - 22px)); display: flex; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--dark); padding: 0 5px 25px 35px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s, visibility .35s;
  }
  .menu-open .site-nav { transform: translateX(0); visibility: visible; box-shadow: -100vw 0 0 100vw #0002; }
  .site-nav a { padding-inline: 35px; }
  .hero::after { background: #2121214d; }
  .hero::before { background-position: center top; }
  .hero-copy { width: calc((100% - 50px)*2/3); margin-left: 25px; transform: translateY(-25px); }
  .hero h1 { color: var(--white); }
  .hero-copy p { margin-bottom: 25px; }
  .welcome { padding: 130px 40px 200px; }
  .welcome-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .welcome-text { padding-bottom: 0; }
  .welcome-photo { height: 600px; background: url("../images/seite-wohnungen2.webp") right top / cover no-repeat fixed; }
  .welcome-photo > div { display: none; }
  .badges { margin-inline: 5px; gap: 10px; }
  .rooms { padding-top: 130px; }
  .rooms-layout { grid-template-columns: minmax(0, 1fr); }
  .room-tabs { flex-direction: row; }
  .room-tabs button { font: 500 16px/26px Quicksand, sans-serif; letter-spacing: 1px; }
  .room-tabs button[aria-selected="true"]::after { top: auto; left: 0; width: 100%; height: 4px; }
  .room-body { border-left: none; border-top: 1px solid var(--olive); }
  .room-panel { padding-inline: 45px; }
  .gallery { --visible-photos: 1; }
  .gallery-track button { height: 350px; }
  .gallery-pages { gap: 5px; flex-wrap: wrap; }
  .gallery-pages button { width: 12px; height: 12px; }
  .tour { margin-top: 75px; }
  .prices { padding: 130px 25px 220px; }
  .price-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .price-card { padding-inline: min(13vw, 100px); }
  .leisure { padding: 130px 50px 170px; }
  .leisure-grid { grid-template-columns: 1fr; gap: 50px; }
  .flip-card:first-child { width: 91.6667%; }
  .flip-card:nth-child(4) { margin-top: 25px; }
  .flip-front span { font-size: 30px; line-height: 40px; }
  .contact { padding: 125px 50px 105px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid > div { width: 91.6667%; }
  .site-footer { padding-inline: 50px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .footer-grid section:first-child { grid-column: 1 / -1; width: 75%; }
  .footer-nav { margin-top: 75px; }
}
@media (max-width: 600px) {
  :root { --line: 28px; }
  body { font-size: 16px; }
  .section-title { font-size: 36px; line-height: 46px; }
  .site-header { height: 80px; padding: 10px 25px 0; align-items: center; }
  .site-header .phone { width: 174px; margin-top: 5px; border-radius: 0; }
  .hero::before { background-position: center; background-size: auto; background-attachment: fixed; }
  .hero::after { background: linear-gradient(90deg, #0f0f0f85 27%, #21384f00 100%); }
  .hero-copy { width: 100%; margin-left: 0; padding: 25px; transform: translateY(25px); }
  .hero h1 { font-size: clamp(32px, 10.26vw, 40px); line-height: 50px; }
  .hero h1 span { font-size: 120px; line-height: 130px; }
  .hero-copy p { margin-bottom: 25px; font-size: 26px; line-height: 36px; }
  .welcome { padding: 130px 30px 170px; }
  .welcome-text { text-align: center; }
  .welcome-photo { background-size: contain; }
  .badges { grid-template-columns: 1fr; gap: 50px; justify-items: center; }
  .badges > * { width: min(100%, 320px); }
  .rooms { padding: 130px 25px 105px; }
  .room-tabs button { padding-inline: 5px; padding-bottom: 21px; }
  .tab-long { display: none; }
  .tab-short { display: inline; }
  .room-panel { padding: 45px 20px 16px; }
  .room-panel h3, .directions h2 { font-size: 26px; line-height: 36px; }
  .room-1 .room-intro { padding-bottom: 0; }
  .feature-list li { font-size: 18px; line-height: 28px; min-height: 38px; }
  .gallery { margin-top: 50px; }
  .gallery-track button { height: 220px; }
  .gallery-arrow { display: none; }
  .gallery-pages { display: none; }
  .swipe-note { display: block; text-align: center; margin: 50px 0 50px; }
  .tour { margin-top: 100px; }
  .tour > .feature-list { display: block; text-align: left; margin: 0 0 50px; color: var(--dark); }
  .tour h3 { overflow-wrap: anywhere; }
  .tour-link { min-width: min(305px, 100%); font-size: 20px; padding-inline: 16px; }
  .prices { padding: 130px 50px 220px; }
  .price-card { padding-inline: 0; }
  .price-end p { text-align: center; }
  .leisure { padding: 130px 25px 195px; }
  .leisure-intro { text-align: center; }
  .leisure-grid { grid-template-columns: 1fr; gap: 50px; }
  .flip-card:first-child { width: 100%; }
  .flip-card:nth-child(4) { margin-top: 0; }
  .flip-front span { font-size: 30px; line-height: 40px; }
  .contact { padding: 125px 50px 105px; text-align: center; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .contact-grid > div { width: auto; }
  .contact h2 { font-size: 26px; line-height: 36px; }
  .site-footer { padding-inline: 50px; }
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-grid section:first-child { width: 100%; }
  .footer-nav { padding-inline: 10px; }
  .back-top { width: 61px; height: 61px; }
  .legal { padding: 140px 25px 75px; }
  .legal h1 { font-size: 42px; line-height: 52px; margin-bottom: 50px; }
  .legal article h2 { font-size: 30px; line-height: 40px; }
  .legal-impressum article h2 { font-size: 26px; line-height: 36px; }
  .legal article h3 { font-size: 26px; line-height: 36px; }
  .legal article h4 { font-size: 23px; line-height: 32px; }
  .booking { width: calc(100% - 50px); inset: 25px 0 0; max-height: calc(100% - 25px); padding: 112px 20px 45px; }
  .booking .dialog-close { top: 12px; right: 11px; }
  .form-row, .form-row.identity { grid-template-columns: 1fr; gap: 47px; }
  .radio-options, .radio-options.countries { display: grid; grid-template-columns: 1fr; gap: 24px; }
  .booking input[type=radio], .booking input[type=checkbox] { width: 30px; height: 30px; }
  .radio-options label, .form-check { gap: 20px; }
  .lightbox img { max-width: 100%; }
  .lightbox-arrow { background: #0005; border-radius: 5px; }
}
@media (max-width: 360px) {
  .welcome, .rooms, .prices, .leisure, .contact, .site-footer { padding-inline: 20px; }
  .section-title { overflow-wrap: anywhere; }
  .footer-address { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .welcome-photo > div { transform: none; }
}
