/* Beach Club Bütgenbach — waiting page.
   Palette = the booking application's tokens (lake blue / sand); two tones added
   for depth (--lake-night, --foam). Fonts are self-hosted, no third-party requests. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
}

:root {
  /* from the application's site.css */
  --lake-deep: #0e4f6e;
  --lake: #1479a8;
  --lake-light: #e8f3f8;
  --sand: #f2e7d5;
  --sand-dark: #c9b489;
  --ink: #1c2b33;
  --paper: #ffffff;
  /* added for this page */
  --lake-night: #093a52;
  --foam: #fbf7ef;
  --muted: #4a5b64;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.14vw, 0.92rem);
  --step-0: clamp(1.02rem, 0.97rem + 0.24vw, 1.16rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --step-5: clamp(2.5rem, 1.75rem + 3.4vw, 4.1rem);

  --gutter: clamp(1.25rem, 0.6rem + 3.2vw, 3rem);
  --max: 76rem;
  --radius: 14px;
  --header-h: clamp(4.4rem, 4rem + 1.6vw, 5.6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }

h1, h2, h3, p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon { width: 1em; height: 1em; flex: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--sand-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--lake-deep);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Hero (header + intro share one lake-blue field) ---------- */

.top {
  position: relative;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(20, 121, 168, 0.55) 0%, rgba(20, 121, 168, 0) 60%),
    linear-gradient(170deg, var(--lake-deep) 0%, var(--lake-night) 100%);
  overflow: hidden;
}

/* fine horizontal ripples, pure CSS */
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 30%, #000 100%);
  pointer-events: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.3rem);
  letter-spacing: 0.005em;
  line-height: 1.15;
  text-decoration: none;
  color: #fff;
}
.brand .icon { width: 1.35em; height: 1.35em; color: var(--sand-dark); }

.lang-switch ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0; padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}
.lang-switch a {
  display: block;
  min-width: 2.5rem;
  padding: 0.38rem 0.55rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.lang-switch a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.lang-switch a[aria-current] { background: var(--sand); color: var(--lake-night); }

.hero {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 1.5rem + 3vw, 4rem);
  align-items: center;
  padding-block: calc(var(--header-h) + clamp(1.75rem, 1rem + 3.5vw, 4.5rem)) clamp(5rem, 3.5rem + 7vw, 9.5rem);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}
.status::before {
  content: "";
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--sand-dark);
  box-shadow: 0 0 0 0 rgba(201, 180, 137, 0.7);
  animation: pulse 2.6s ease-out infinite;
}

.hero h1 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 420;
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 380;
  color: var(--sand);
}

.lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}

.opening {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.9rem;
  padding: 0.7rem 1.35rem;
  background: var(--sand);
  color: var(--lake-night);
  border-radius: 999px;
  font-weight: 650;
}
.opening .icon { color: var(--lake); }

/* photo pair: arched lake view + overlapping deck photo */
.hero-art {
  position: relative;
  width: min(100%, 30rem);
  margin-inline: auto;
  padding-bottom: 12%;
}
.hero-art .arch {
  width: 86%;
  margin-left: auto;
  aspect-ratio: 1 / 1;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--lake);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.55);
}
.hero-art .arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .inset {
  position: absolute;
  left: 0; bottom: 0;
  width: 52%;
  border: 5px solid var(--foam);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, 0.6);
}
.hero-art .inset img { width: 100%; }

.shoreline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  color: var(--foam);
}

@media (min-width: 56rem) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .hero-art { width: 100%; max-width: 33rem; margin-inline: auto 0; }
}

/* ---------- Preview ---------- */

.section { padding-block: clamp(3.25rem, 2.2rem + 4.5vw, 6.5rem); }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lake);
}

.section h2 {
  margin-top: 0.6rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 440;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--lake-deep);
  text-wrap: balance;
}

.offers {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.6rem, 0.4rem + 0.9vw, 1.1rem);
  list-style: none;
  margin: clamp(1.75rem, 1.2rem + 2vw, 3rem) 0 0;
  padding: 0;
}

.offer {
  position: relative;
  grid-column: span 6;
  border-radius: var(--radius);
  overflow: hidden;
}

.offer--photo { background: var(--lake-deep); aspect-ratio: 3 / 2; }
.offer--photo picture, .offer--photo img { width: 100%; height: 100%; }
.offer--photo img { object-fit: cover; transition: transform 0.9s var(--ease); }
.offer--photo:hover img { transform: scale(1.035); }
.offer--photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  background: linear-gradient(180deg, rgba(9, 58, 82, 0) 0%, rgba(9, 58, 82, 0.86) 100%);
  pointer-events: none;
}
.offer--photo h3 {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  color: #fff;
}

.offer h3 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: var(--step-1);
  line-height: 1.15;
}
.offer--photo h3 .icon { font-size: 1.05em; color: var(--sand); }

.offer--tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
}
.offer--tile .icon { font-size: 1.7rem; }
.offer--tile h3 { font-size: var(--step-1); }
@media (min-width: 30rem) {
  .offer--tile {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 8.25rem;
    padding: clamp(0.9rem, 0.5rem + 1.2vw, 1.4rem);
  }
  .offer--tile .icon { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.6rem); }
  .offer--tile h3 { font-size: clamp(1.02rem, 0.8rem + 0.8vw, 1.5rem); }
}
.tile--deep { background: var(--lake-deep); color: #fff; }
.tile--deep .icon { color: var(--sand); }
.tile--sand { background: var(--sand); color: var(--lake-night); }
.tile--sand .icon { color: var(--lake); }
.tile--light { background: var(--lake-light); color: var(--lake-night); }
.tile--light .icon { color: var(--lake); }

@media (min-width: 44rem) {
  .offer--photo { grid-column: span 3; }
  .offer--lead { grid-column: span 6; aspect-ratio: 16 / 9; }
}

@media (min-width: 62rem) {
  .offers { grid-template-rows: repeat(2, minmax(9.5rem, 1fr)) auto; }
  .offer--lead { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
  .offer--photo:not(.offer--lead) { grid-column: span 2; }
  .offer--tile { min-height: 0; }
  .offer--tile .icon { font-size: 3.1rem; }
}

/* ---------- Audiences ---------- */

.audience {
  padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  background: var(--paper);
  border-block: 1px solid var(--sand);
}
.audience .wrap {
  display: grid;
  gap: 1.25rem 2.5rem;
  align-items: center;
}
.audience h2 {
  font-family: var(--font-display);
  font-weight: 440;
  font-style: italic;
  font-size: var(--step-1);
  color: var(--lake-deep);
}
.audience ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0; padding: 0;
}
.audience li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  font-size: var(--step-0);
}
.audience li .icon {
  width: 2.6rem; height: 2.6rem;
  padding: 0.72rem;
  border-radius: 50%;
  background: var(--lake-light);
  color: var(--lake-deep);
}
@media (min-width: 40rem) {
  .audience ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
}
@media (min-width: 62rem) {
  .audience .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .audience ul { padding-left: 2.5rem; border-left: 1px solid var(--sand-dark); }
}

/* ---------- Closing band ---------- */

.closing { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 14rem + 22vw, 30rem);
  border-radius: calc(var(--radius) * 1.6);
  overflow: hidden;
  background: var(--lake-night);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.band picture, .band picture img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}
.band picture img { object-fit: cover; }
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 58, 82, 0.5) 0%, rgba(9, 58, 82, 0.78) 100%);
}
.band-inner { padding: 2.5rem var(--gutter); }
.band h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-weight: 420;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.band p.bye {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--sand);
}
.band .opening { margin-top: 1.75rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--lake-night);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--step--1);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  padding-block: 1.6rem;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.site-footer a { text-decoration: none; padding-block: 0.35rem; display: inline-block; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer a[aria-current] { color: var(--sand); font-weight: 600; }

.site-footer .login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}
.site-footer .login .icon { font-size: 0.8em; }
.site-footer .login:hover { color: #fff; }

.site-footer .meta-links { display: flex; align-items: center; gap: 1.5rem; }
.site-footer .legal-link { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 4px; color: #fff; }
.site-footer .legal-link:hover { text-decoration-color: #fff; }

/* ---------- Legal pages ---------- */

.top--short { padding-block: calc(var(--header-h) + clamp(1.5rem, 1rem + 2.5vw, 3rem)) clamp(4rem, 3rem + 5vw, 7rem); }
.top--short h1 {
  position: relative;
  font-family: var(--font-display);
  font-weight: 420;
  font-size: var(--step-5);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.legal {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2rem, 1rem + 5vw, 5rem);
  max-width: 62rem;
  padding-block: clamp(2rem, 1.4rem + 3vw, 4rem) clamp(3rem, 2rem + 4vw, 6rem);
}
@media (min-width: 48rem) {
  .legal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal .wide { grid-column: 1 / -1; }
}
.legal h2 {
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-weight: 460;
  font-size: var(--step-1);
  line-height: 1.2;
  color: var(--lake-deep);
}
.legal h2.minor { margin-top: 2rem; }
.legal address { font-style: normal; }
.legal dl { margin: 1.25rem 0 0; }
.legal dl div { padding-block: 0.7rem; border-top: 1px solid var(--sand); }
.legal dt { font-size: var(--step--1); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.legal dd { margin: 0.1rem 0 0; }
.legal section.wide { padding-top: clamp(1.75rem, 1.3rem + 2vw, 3rem); border-top: 1px solid var(--sand-dark); }
.legal section.wide p { max-width: 44rem; }
.legal section.wide p + p { margin-top: 0.9rem; }
.legal a { color: var(--lake-deep); text-decoration-color: var(--sand-dark); text-underline-offset: 3px; }
.legal a:hover { color: var(--lake); text-decoration-color: currentColor; }
.legal .back { font-weight: 600; }

/* ---------- /preview/ placeholder ---------- */

.preview { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.preview main { flex: 1; display: grid; align-items: center; }
.preview-box {
  position: relative;
  max-width: 44rem;
  padding-block: calc(var(--header-h) + 2rem) 4rem;
}
.preview-box h1 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 420;
  font-size: var(--step-3);
}
.preview-box h1 .icon { font-size: 0.6em; color: var(--sand-dark); }
.preview-box ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.preview-box li { padding-block: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.preview-box li p { color: rgba(255, 255, 255, 0.92); }
.preview-box li p + p { margin-top: 0.3rem; font-size: var(--step--1); }
.preview-box a { color: var(--sand); text-underline-offset: 3px; }

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 180, 137, 0.7); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgba(201, 180, 137, 0); }
}

.hero-copy > *, .hero-art { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-art { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .offer--photo:hover img { transform: none; }
}
