/* ==========================================================================
   Strandvilla Baabe, Ferienwohnung "Auszeit"
   Design system: Afacad Flux als einzige Schrift, ein Akzent (Seekiefer),
   ein Radius. Geist bleibt nur als Rückfallebene im Font-Stack.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: 'Afacad Flux';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/afacadflux-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: 'Afacad Flux';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/afacadflux-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;
}

/* Geist bleibt als Rückfallebene, falls Afacad Flux nicht lädt. */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist-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: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/geist-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;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Cool chalk ground, deep fir ink, one sea-pine accent. */
  --ground: #f1f3f0;
  --ground-2: #e7ebe6;
  --surface: #fbfcfa;
  --ink: #16231e;
  --ink-2: #44584f;
  --line: #d7ddd6;
  --line-strong: #c2cbc0;
  --accent: #2f6b57;
  --accent-hover: #24523f;
  --accent-wash: #e4ece7;
  --on-accent: #ffffff;
  --shadow-hue: 150deg 12% 20%;

  /* One radius system. Every box, every image, every control. */
  --r: 4px;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  /* Afacad Flux laeuft schmal: 66ch ergaeben rund 79 Zeichen pro Zeile.
     58ch landet bei etwa 70 und damit im gut lesbaren Bereich. */
  --measure: 58ch;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --max: 1360px;

  /* Depth: offset plus soft blur, tinted to the ground hue. */
  --shadow-sm: 0 1px 2px hsl(var(--shadow-hue) / 0.06),
               0 2px 6px hsl(var(--shadow-hue) / 0.05);
  --shadow-md: 0 2px 4px hsl(var(--shadow-hue) / 0.05),
               0 8px 24px hsl(var(--shadow-hue) / 0.09);
  --shadow-lg: 0 4px 10px hsl(var(--shadow-hue) / 0.07),
               0 22px 50px hsl(var(--shadow-hue) / 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layer scale. Documented, nothing arbitrary. */
  --z-sticky: 40;
  --z-header: 50;
  --z-overlay: 60;
}

/* The page is light, always. `color-scheme: light` above tells the browser to
   keep its own surfaces (form controls, scrollbars, the canvas behind the page)
   light as well, even when the visitor's system runs in dark mode. */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: 'Afacad Flux', 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.13rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; background: var(--ground-2); }
button, input, select, textarea { font: inherit; color: inherit; }

/* Browser surfaces belong to the design, not to the browser. */
::selection { background: var(--accent); color: var(--on-accent); }
:root { accent-color: var(--accent); caret-color: var(--accent); }
@supports (scrollbar-color: red blue) {
  html { scrollbar-color: var(--line-strong) transparent; scrollbar-width: thin; }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r);
}
:where(a) { color: inherit; }

/* --- Typography ----------------------------------------------------------- */
/* Afacad Flux ist eine Variable Font von 100 bis 1000, Zwischengewichte sind
   also echt und nicht gerechnet. Etwas negative Laufweite in den Überschriften,
   wie bei einer Grotesk üblich. */
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.765rem, 5.956vw, 5.052rem); line-height: 1.04; letter-spacing: -0.028em; }
h2 { font-size: clamp(2.021rem, 3.723vw, 3.191rem); }
h3 { font-size: clamp(1.223rem, 1.595vw, 1.383rem); line-height: 1.26; letter-spacing: -0.012em; }
p { text-wrap: pretty; }

.lede {
  font-size: clamp(1.17rem, 1.702vw, 1.383rem);
  line-height: 1.41;
  color: var(--ink-2);
  max-width: 36ch;
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9305rem; line-height: 1.46; }

/* --- Layout --------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-head { max-width: 48ch; }
.section-head p { margin-top: 1rem; color: var(--ink-2); }

.skip-link {
  position: absolute;
  left: var(--gutter); top: 0;
  transform: translateY(-120%);
  z-index: var(--z-overlay);
  background: var(--accent); color: var(--on-accent);
  padding: 0.7rem 1.1rem; border-radius: var(--r);
  text-decoration: none; font-weight: 500;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0.75rem); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 0.997rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.12s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn-lg { padding: 1rem 1.6rem; font-size: 1.064rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--accent); font-weight: 500; text-decoration: none;
  text-underline-offset: 0.25em;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky; top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }
@supports not (backdrop-filter: blur(1px)) {
  .header { background: var(--ground); }
}

.header-inner {
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; line-height: 1.08;
  min-width: 0;
}
/* Die Bildmarke setzt die Höhe, die Wortmarke richtet sich daran aus. */
.brand-mark {
  width: 2.5rem; height: 2.5rem;
  flex: none;
  background: none;
}
.brand-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.brand b { font-size: 1.064rem; font-weight: 600; letter-spacing: -0.015em; }
.brand span { font-size: 0.7974rem; color: var(--ink-2); letter-spacing: 0.02em; }

/* Auf schmalen Geräten trägt die Bildmarke allein, die Wortmarke würde das
   Logo sonst gegen den Menü-Knopf drücken. */
@media (max-width: 420px) {
  .brand-text b { font-size: 0.9461rem; }
  .brand-text span { display: none; }
}

.nav { display: none; }
.nav ul {
  display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.75rem);
  list-style: none; padding: 0;
}
.nav a {
  font-size: 0.9305rem; text-decoration: none; color: var(--ink-2);
  padding-block: 0.4rem; position: relative;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current='true']::after { transform: scaleX(1); }
.nav a[aria-current='true'] { color: var(--ink); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--r); padding: 0.55rem 0.9rem;
  font-size: 0.9305rem; cursor: pointer;
}
.menu-toggle:hover { border-color: var(--ink); }

@media (min-width: 1120px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.menu {
  border: 0; padding: 0; margin: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--ground); color: var(--ink);
}
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: hsl(var(--shadow-hue) / 0.5); }
.menu-head {
  height: 4.5rem; display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter); border-bottom: 1px solid var(--line);
}
.menu-body { padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto; }
.menu-body ul { list-style: none; padding: 0; }
.menu-body li + li { border-top: 1px solid var(--line); }
.menu-body li a {
  display: block; padding: 1rem 0; text-decoration: none;
  font-size: 1.33rem; letter-spacing: -0.02em;
}
.menu-body .btn {
  display: flex; width: 100%; justify-content: center;
  margin-top: 1.75rem; padding: 1rem 1.6rem; font-size: 1.064rem;
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: var(--r); cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }

/* --- Hero: asymmetric split ---------------------------------------------- */
.hero {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  min-height: calc(100dvh - 4.5rem);
  padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: stretch;
  }
}
.hero-copy > * + * { margin-top: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
.hero-media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  /* The photograph carries the full height of the first viewport. */
  .hero-copy { align-self: center; }
  .hero-media { aspect-ratio: auto; height: 100%; min-height: 26rem; }
}

/* --- Facts rail ----------------------------------------------------------- */
.facts { border-block: 1px solid var(--line); padding-block: 1.1rem; }
.facts ul {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap;
  column-gap: clamp(1.25rem, 3vw, 2.75rem); row-gap: 0.6rem;
  font-size: 0.9305rem; color: var(--ink-2);
}
.facts li { display: flex; align-items: center; gap: 0.5rem; }
.facts .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.facts b { color: var(--ink); font-weight: 500; }

/* --- Editorial section ---------------------------------------------------- */
.editorial-media {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--r); overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-cols {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
}
@media (min-width: 820px) {
  .editorial-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.editorial-cols p { color: var(--ink-2); }

.note {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  background: var(--accent-wash);
  border-radius: var(--r);
  max-width: 64ch;
}
.note .icon { color: var(--accent); margin-top: 0.15rem; }
.note p { font-size: 0.997rem; line-height: 1.46; }

/* --- Rooms: horizontal pan ------------------------------------------------ */
.rooms-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.pan {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15rem, 76vw);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Full-bleed rail whose first card still lines up with the page gutter. */
  --rail-inset: calc((100% - min(100%, var(--max))) / 2 + var(--gutter));
  padding-inline: var(--rail-inset);
  scroll-padding-inline: var(--rail-inset);
  padding-bottom: 0.75rem;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.pan::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .pan { grid-auto-columns: minmax(19rem, 36vw); } }
@media (min-width: 1100px) { .pan { grid-auto-columns: 24rem; } }

.room { scroll-snap-align: start; }
.room figure { margin: 0; }
.room img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r);
}
.room h3 { margin-top: 1.1rem; }
.room p { margin-top: 0.45rem; color: var(--ink-2); font-size: 0.997rem; }

.pan-controls { display: none; gap: 0.5rem; }
@media (min-width: 720px) { .pan-controls { display: flex; } }
.pan-controls button:disabled { opacity: 0.35; cursor: default; }
.pan-controls button:disabled:hover { border-color: var(--line-strong); }

/* --- Amenities: three clusters -------------------------------------------- */
.clusters { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2.75rem; }
@media (min-width: 900px) {
  .clusters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3.5rem); }
}
.cluster { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.cluster-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.cluster-head .icon { width: 1.3rem; height: 1.3rem; color: var(--accent); }
.cluster ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.cluster li { font-size: 0.997rem; line-height: 1.36; color: var(--ink-2); }

/* --- Floor plan split ----------------------------------------------------- */
.plan { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .plan { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}
.plan-figure {
  margin: 0; padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.plan-figure img { width: 100%; }
.plan-figure figcaption { margin-top: 1rem; font-size: 0.8639rem; color: var(--ink-2); }
.seal { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.75rem; }
.seal img { width: 4.5rem; height: 4.5rem; border-radius: var(--r); }
.seal p { font-size: 0.997rem; color: var(--ink-2); }

/* --- Gallery -------------------------------------------------------------- */
.gallery {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
}
@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(90px, 9.2vw, 140px);
    grid-auto-flow: dense;
  }
  /* Landscape tiles land near 3:2, portrait tiles near 3:4, so no photo
     is squeezed and the mosaic still has rhythm. */
  .gallery .g-4 { grid-column: span 4; grid-row: span 4; }
  .gallery .g-3 { grid-column: span 3; grid-row: span 3; }
  .gallery .g-2 { grid-column: span 2; grid-row: span 2; }
  .gallery .g-p { grid-column: span 2; grid-row: span 4; }
  .gallery button { aspect-ratio: auto; height: 100%; }
  .gallery img { aspect-ratio: auto; }
}
.gallery button {
  padding: 0; border: 0; background: var(--ground-2);
  border-radius: var(--r); overflow: hidden; cursor: pointer;
  display: block; width: 100%;
  aspect-ratio: 4 / 3;
}
.gallery .g-p { aspect-ratio: 3 / 4; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery button:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .gallery button:hover img { transform: none; }
}

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: 0; inset: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: var(--ground-2); color: var(--ink);
  overflow: hidden;
}
.lightbox::backdrop { background: hsl(var(--shadow-hue) / 0.9); }
.lightbox-inner {
  height: 100%; display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.lightbox-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem var(--gutter);
}
.lightbox-bar p { font-size: 0.9305rem; color: var(--ink-2); }
.lightbox-stage {
  position: relative;
  padding-inline: var(--gutter);
  min-height: 0; overflow: hidden;
}
/* Absolute inside a definite box: the only way a replaced element reliably
   resolves against the available height rather than its own aspect. */
.lightbox-stage img {
  position: absolute;
  inset: 0 var(--gutter);
  margin-inline: auto;
  width: auto; height: 100%; max-width: 100%;
  object-fit: contain;
  border-radius: var(--r);
}
.lightbox-foot {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem var(--gutter) 1.5rem;
}
.lightbox-foot p { font-size: 0.997rem; text-align: center; flex: 1; }

/* --- Location ------------------------------------------------------------- */
.loc { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 960px) {
  .loc { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
}
.address { font-style: normal; margin-top: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.contact-list li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.997rem; }
.contact-list .icon { width: 1.1rem; height: 1.1rem; color: var(--accent); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.25em; }

.map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 3;
}
@media (min-width: 960px) { .map { aspect-ratio: 16 / 11; } }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  gap: 0.9rem; text-align: center; padding: 2rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px,
      color-mix(in srgb, var(--line) 45%, transparent) 14px 15px),
    var(--surface);
}
.map-placeholder p { font-size: 0.9305rem; color: var(--ink-2); max-width: 38ch; }
.map-placeholder .icon { width: 1.75rem; height: 1.75rem; color: var(--accent); }

/* --- Surroundings --------------------------------------------------------- */
.around { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .around { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.around img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }

/* --- Booking -------------------------------------------------------------- */
.booking { background: var(--surface); border-block: 1px solid var(--line); }
.booking-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 900px) {
  .booking-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.booking-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
/* Eigenes Element statt Flex-Kind: eine max-width im Flex-Container verhindert
   den Umbruch, der Hinweis stünde sonst neben dem Button. */
.booking-note { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; }
.booking-media {
  margin-top: clamp(2rem, 4vw, 3rem);
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r);
}
.terms { display: grid; gap: 2rem; }
.terms h3 { margin-bottom: 0.9rem; }
.terms ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.terms li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.997rem; }
.terms .icon { width: 1.15rem; height: 1.15rem; color: var(--accent); margin-top: 0.18rem; }

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ground-2); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
}
.footer h2 { font-size: 1.117rem; letter-spacing: -0.015em; margin-bottom: 1rem; }
.footer nav ul, .footer-intro ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
/* :not(.btn) so the footer link colour never overrides a button's own
   foreground. Without it the CTA label inherits the muted ink and drops
   to roughly 1.6:1 against the accent fill. */
.footer a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 0.997rem; }
.footer a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.footer-intro p { color: var(--ink-2); font-size: 0.997rem; max-width: 34ch; margin-top: 0.75rem; }
.footer-intro .btn { margin-top: 1.5rem; }

/* Touch targets: on a phone the sitemap links need a real hit area. */
@media (max-width: 760px) {
  .footer nav ul { gap: 0.1rem; }
  .footer nav a { display: block; padding-block: 0.8rem; }
  .contact-list li { min-height: 2.75rem; }
  .contact-list a { padding-block: 0.5rem; }
}
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8639rem; color: var(--ink-2);
}

/* --- Legal pages ---------------------------------------------------------- */
.legal { padding-block: clamp(3rem, 6vw, 5rem); }
.legal .prose > * + * { margin-top: 1.1em; }
.legal h2 { font-size: clamp(1.489rem, 2.34vw, 1.862rem); margin-top: 2.5rem; }
.legal dl { display: grid; gap: 0.4rem 1.5rem; margin-top: 1.5rem; }
@media (min-width: 560px) { .legal dl { grid-template-columns: 11rem 1fr; } }
.legal dt { color: var(--ink-2); font-size: 0.997rem; }
.legal dd { margin: 0; }
.legal a { color: var(--accent); text-underline-offset: 0.25em; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 2rem;
  font-size: 0.997rem; color: var(--ink-2); text-decoration: none;
}
.back-link:hover { color: var(--ink); }
.back-link .icon { width: 1rem; height: 1rem; }

/* --- Motion: one authored moment, then quiet reveals ---------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .hero-copy > * {
    opacity: 0;
    animation: rise 0.85s var(--ease) forwards;
    animation-delay: calc(0.08s + var(--i, 0) * 90ms);
  }
  .hero-media {
    clip-path: inset(0 0 100% 0);
    animation: unmask 1.1s var(--ease) 0.1s forwards;
  }
  .hero-media img {
    transform: scale(1.08);
    animation: settle 1.8s var(--ease) 0.1s forwards;
  }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes unmask { to { clip-path: inset(0 0 0 0); } }
@keyframes settle { to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .header, .menu, .pan-controls, .lightbox, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
