/* ============================================================
   LOTUS · Startseite (landing page)
   Implementation of "Lotus Startseite.dc.html" — pixel-faithful
   port of the Claude Design prototype. All values map to the
   Lotus design-system tokens in css/tokens/*.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@keyframes lotusFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lotusFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Page shell ------------------------------------------- */
.site {
  min-height: 100vh;
  background: var(--black);
  color: var(--text-body);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   Nav link (shared pattern for both nav and footer)
   ============================================================ */
.lt-navlink {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 240ms cubic-bezier(.22,.61,.36,1);
}
.lt-navlink:hover { color: var(--silver-50); }
.lt-navlink::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--violet-400);
  box-shadow: 0 0 8px var(--violet-400);
  transition: right 280ms cubic-bezier(.22,.61,.36,1);
}
.lt-navlink:hover::after { right: 0; }

/* ============================================================
   Sticky Navigation
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8,8,11,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-nav__mark {
  width: 34px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(139,63,230,.5));
}
.site-nav__wordmark {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  color: var(--silver-50);
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}
.site-nav__karte {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 240ms cubic-bezier(.22,.61,.36,1),
              box-shadow  240ms cubic-bezier(.22,.61,.36,1);
}
.site-nav__karte:hover {
  border-color: var(--gold-400);
  box-shadow: var(--glow-gold);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,11,.74), rgba(8,8,11,.62) 45%, var(--black));
  pointer-events: none;
}
.hero__haze {
  position: absolute;
  inset: 0;
  background: var(--haze-violet);
  pointer-events: none;
}
.hero__content {
  position: relative;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.hero__mark {
  width: 96px;
  height: auto;
  filter: drop-shadow(0 0 26px rgba(139,63,230,.6));
  animation: lotusFade 1s var(--ease-out) both;
}
.hero__text {
  animation: lotusFadeUp .9s var(--ease-out) .1s both;
}
.hero__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 20px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 1.02;
  letter-spacing: var(--ls-display);
  color: var(--silver-50);
}
.hero__title em {
  color: var(--violet-400);
  text-shadow: var(--text-glow-violet);
  font-style: italic;
}
.hero__lede {
  max-width: 560px;
  margin: 6px 0 0;
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--text-body);
  text-wrap: pretty;
  animation: lotusFadeUp .9s var(--ease-out) .2s both;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
  animation: lotusFadeUp .9s var(--ease-out) .3s both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--violet-500), var(--violet-700));
  border: 1px solid var(--violet-400);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--glow-violet-sm);
  transition: transform 240ms cubic-bezier(.22,.61,.36,1),
              box-shadow 240ms cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--glow-violet);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 240ms cubic-bezier(.22,.61,.36,1);
}
.btn-ghost:hover { border-color: var(--border-violet); }

/* ============================================================
   Erlebnis (intro section)
   ============================================================ */
.section-erlebnis {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 120px) var(--gutter);
  text-align: center;
}
.section-erlebnis__kicker {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 18px;
}
.section-erlebnis__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 46px);
  line-height: var(--lh-snug);
  color: var(--silver-50);
  text-wrap: balance;
}
.section-erlebnis__lead {
  margin: 0 0 20px;
  font-size: var(--t-lead);
  line-height: var(--lh-body);
  color: var(--text-body);
  text-wrap: pretty;
}
.section-erlebnis__body {
  margin: 0;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--text-muted);
  text-wrap: pretty;
}
.section-erlebnis__divider {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Shared divider component (matches karte.css) */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 240px;
  max-width: 100%;
}
.divider__line {
  height: 1px;
  flex: 1;
  background: var(--rule-violet);
}
.divider__ornament {
  width: 22px;
  height: auto;
  opacity: .9;
  filter: drop-shadow(0 0 8px rgba(181,123,255,.6));
}

/* ============================================================
   Drei Welten (three pillars)
   ============================================================ */
.welten {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(60px, 9vw, 100px);
}
.welten__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.pillar {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
}
.pillar__img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pillar__body {
  padding: 26px 26px 30px;
}
.pillar__kicker {
  font-size: var(--t-caption);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
.pillar__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 25px;
  color: var(--silver-50);
}
.pillar__desc {
  margin: 0;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ============================================================
   Galerie
   ============================================================ */
.section-galerie {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--gutter);
}
.section-galerie__head {
  text-align: center;
  margin-bottom: 44px;
}
.section-galerie__kicker {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 14px;
}
.section-galerie__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 42px);
  color: var(--silver-50);
}
.section-galerie__title em {
  color: var(--violet-400);
  text-shadow: var(--text-glow-violet);
  font-style: italic;
}
.galerie__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.galerie__item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
}
.galerie__item--wide  { grid-column: span 2; }
.galerie__item--tall  { grid-column: span 2; grid-row: span 2; }
.galerie__item--full  { grid-column: span 4; }
.galerie__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.galerie__item:hover .galerie__img,
.galerie__item:focus-visible .galerie__img {
  transform: scale(1.04);
}

/* ============================================================
   Lightbox (Galerie-Großansicht)
   ============================================================ */
body.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 14, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox__frame {
  position: relative;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - clamp(96px, 16vw, 160px));
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}
.lightbox__caption {
  color: var(--silver-300, #b9b4c4);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  text-wrap: balance;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(20, 16, 30, 0.65);
  color: var(--silver-50, #f2f0f6);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(122, 76, 220, 0.45);
  border-color: rgba(190, 155, 255, 0.6);
}
.lightbox__close {
  top: clamp(14px, 3vw, 26px);
  right: clamp(14px, 3vw, 26px);
  font-size: 30px;
}
.lightbox__nav--prev { left: clamp(8px, 2.5vw, 26px); }
.lightbox__nav--next { right: clamp(8px, 2.5vw, 26px); }

/* ============================================================
   Karte CTA band
   ============================================================ */
.cta-band {
  position: relative;
  margin: clamp(40px, 7vw, 80px) 0;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/texture-stone.jpeg');
  background-size: cover;
  background-position: center;
  opacity: .4;
}
.cta-band__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--black), rgba(14,14,19,.7), var(--black));
}
.cta-band__haze {
  position: absolute;
  inset: 0;
  background: var(--haze-violet);
}
.cta-band__content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 104px) var(--gutter);
  text-align: center;
}
.cta-band__eyebrow {
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.cta-band__title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 48px);
  line-height: var(--lh-snug);
  color: var(--silver-50);
  text-wrap: balance;
}
.cta-band__body {
  margin: 0 auto 34px;
  max-width: 480px;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--text-body);
}
.btn-primary--lg {
  padding: 17px 40px;
  font-size: 14px;
  letter-spacing: 0.16em;
}

/* ============================================================
   Besuch (info section)
   ============================================================ */
.section-besuch {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(70px, 10vw, 110px);
}
.besuch__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.besuch__card {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  background-image: var(--sheen-top);
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
}
.besuch__label {
  font-size: var(--t-caption);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: 16px;
}
.besuch__line {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}
/* Öffnungszeiten: Tage und Uhrzeit in zwei Spalten, damit die Zeiten
   untereinander stehen — mit Leerzeichen richtet das keine Proportionalschrift aus. */
.besuch__line--hours {
  display: grid;
  grid-template-columns: 5.5em auto;
  justify-content: start;
  column-gap: 14px;
}

/* Instagram-Handle in der Kontaktkarte */
.besuch__link {
  color: var(--violet-300);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--violet-300) 45%, transparent);
  transition: color 200ms ease, border-color 200ms ease;
}
.besuch__link:hover,
.besuch__link:focus-visible {
  color: var(--text-body);
  border-bottom-color: currentColor;
}
/* Kleingedruckter Zusatz unter einer Zeile ("Unser Instagram — …") */
.besuch__hint {
  margin-top: 8px;
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--text-dim);
}
.besuch__note {
  text-align: center;
  margin: 38px auto 0;
  max-width: 520px;
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 54px var(--gutter);
  text-align: center;
}
.site-footer__mark {
  width: 46px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(139,63,230,.45));
  margin-bottom: 18px;
}
.site-footer__wordmark {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--silver-50);
}
.site-footer__tagline {
  margin-top: 10px;
  font-size: var(--t-caption);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-footer__links {
  margin-top: 24px;
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
}
.site-footer__copy {
  margin-top: 26px;
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.site-footer__credit {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  opacity: .75;
}
.site-footer__credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 240ms, border-color 240ms;
}
.site-footer__credit a:hover,
.site-footer__credit a:focus-visible { color: var(--violet-300); border-bottom-color: currentColor; }

/* ============================================================
   Karte-page lockup link (back to home)
   ============================================================ */
.lockup--link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 600px) {
  .site-nav__links { gap: 14px; }
  .site-nav__links .lt-navlink { display: none; }  /* anchor links hidden; page is scroll-navigable */
  .site-nav__karte { padding: 9px 16px; }

  /* Reduce hero padding so CTAs stay above the fold */
  .hero__content { padding: 48px var(--gutter); gap: 20px; }
  .hero__mark { width: 72px; }

  /* Stack CTAs vertically on narrow screens */
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }

  /* Gallery collapses to 2-col on mobile */
  .galerie__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  /* Reset wide/tall spans on very small screens */
  .galerie__item--wide { grid-column: span 2; }
  .galerie__item--tall { grid-column: span 2; grid-row: span 1; }
  .galerie__item--full { grid-column: span 2; }
  /* Lightbox arrows tighter to the edge on small screens */
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
}

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