/* ── SELF-HOSTED FONTS ───────────────────────────────────────────────────── */
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/urbanist-300.ttf') format('truetype'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/urbanist-400.ttf') format('truetype'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/urbanist-500.ttf') format('truetype'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/urbanist-600.ttf') format('truetype'); }
@font-face { font-family: 'Urbanist'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/urbanist-700.ttf') format('truetype'); }

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

html, body {
  height: 100%;
}

body {
  font-family: 'Urbanist', sans-serif;
  background-color: hsla(300, 100%, 99%, 1);
  background-image:
    radial-gradient(at 5% 9%, hsla(0, 84%, 92%, 1) 0px, transparent 50%),
    radial-gradient(at 83% 12%, hsla(200, 77%, 85%, 1) 0px, transparent 50%),
    radial-gradient(at 53% 1%, hsla(44, 66%, 86%, 1) 0px, transparent 50%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #000;
}

/* ── Top bar ── */
.top-bar {
  text-align: center;
  padding: 32px 24px 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: #000;
}

/* ── Main content ── */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 40px 56px;
  text-align: center;
}

.main-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-heading {
  font-size: clamp(1.9rem, 4.6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #000;
  white-space: nowrap;
  margin-bottom: 36px;
}

.hero-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #000;
  max-width: 680px;
  margin-bottom: 72px;
}

/* ── Opening date ── */
.opening-date {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 400;
  color: #000;
}

/* ── Email CTA — sits in the lower portion of the screen ── */
.email-cta {
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.8;
  text-align: center;
}

.email-cta a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.email-cta a:hover {
  opacity: 0.6;
}

.email-cta a:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}

/* ── Footer ── */
.footer {
  padding: 0 32px 28px;
  text-align: right;
}

.footer-links {
  font-size: 0.85rem;
  font-weight: 400;
  color: #888;
}

.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #000;
}

.footer-links a:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}

.footer-links span {
  margin: 0 6px;
}

/* ── Place rotator ── */
.place-rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
  text-align: left;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.place-word {
  display: block;
  will-change: transform, opacity;
}

/* Entry: slide in from above */
.place-word.enter {
  animation: placeEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Exit: slide out to below */
.place-word.exit {
  animation: placeExit 0.45s cubic-bezier(0.55, 0, 0.78, 0) forwards;
}

@keyframes placeEnter {
  from {
    transform: translateY(-110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes placeExit {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(110%);
    opacity: 0;
  }
}

/* ── Legal pages (Impressum / Datenschutz) ── */
.legal-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 40px;
}

.legal-article {
  width: 100%;
  max-width: 640px;
  text-align: left;
}

.legal-article h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.legal-article h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-article p,
.legal-article ul {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 12px;
}

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

.legal-article a {
  color: #000;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.legal-article a:hover {
  opacity: 0.6;
}

.legal-article strong {
  font-weight: 600;
  display: block;
  margin-top: 24px;
  margin-bottom: 4px;
  font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 760px) {
  .hero-heading {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .top-bar {
    padding-top: 20px;
  }

  .main {
    padding: 40px 24px;
  }

  .hero-body {
    margin-bottom: 64px;
  }

  .opening-date {
    margin-bottom: 36px;
  }

  .footer {
    text-align: center;
    padding: 0 24px 24px;
  }
}
