/* ============================================================
   Luma Garden — Website UI kit v2 (Fidalgo-style layout)
   ============================================================ */

.site { background: var(--pine-950); color: var(--text-on-dark); overflow-x: hidden; }

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

/* ---- Photo placeholders (drop real Luma photography here) ---- */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 130% at 25% 8%, rgba(196,152,113,.40), transparent 55%),
    radial-gradient(130% 120% at 90% 100%, rgba(43,45,48,.85), transparent 60%),
    linear-gradient(150deg, #34363a 0%, #24262a 48%, #17181a 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScwLjA1Jy8+PC9zdmc+");
  mix-blend-mode: overlay; opacity: .5;
}
.ph--warm { background:
    radial-gradient(120% 120% at 30% 10%, rgba(212,184,146,.55), transparent 55%),
    linear-gradient(160deg, #b89469 0%, #8c6f4e 45%, #4e3e2c 100%); }
.ph--dark { background:
    radial-gradient(120% 130% at 70% 0%, rgba(196,152,113,.22), transparent 55%),
    linear-gradient(160deg, #1c1b18 0%, #121110 60%, #0a0a09 100%); }
.ph__tag {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(243,236,224,.62); text-align: center;
}
.ph__tag img { width: 38px; height: 38px; object-fit: contain; opacity: .75; }
.ph__tag span { font-family: var(--font-sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.ph > img.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ---- Kopfbereich ---- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background var(--dur-base) var(--ease-soft),
              padding var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft);
}
.hd--scrolled {
  background: rgba(14,26,22,.86);
  backdrop-filter: blur(12px) saturate(1.1);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line-gold);
}
.hd__logo { display: flex; align-items: center; gap: 12px; height: 46px; }
.hd__logo img { height: 100%; width: auto; }
.hd__nav { display: flex; align-items: center; gap: 34px; }
.hd__nav a {
  font-family: var(--font-sans); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mist-300); text-decoration: none;
  transition: color var(--dur-base) var(--ease-soft); position: relative;
}
.hd__nav a:hover { color: var(--accent-hover); }
.hd__right { display: flex; align-items: center; gap: 18px; }
.hd__ig.sg-iconbtn { width: auto; height: auto; padding: 0; border: none; border-radius: 0; background: transparent; }
.hd__ig.sg-iconbtn svg { width: 32px; height: 32px; }
.hd__burger { display: none; }

/* ---- Mobiles Menü ---- */
.mnav {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(8,12,11,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-soft);
}
.mnav--open { opacity: 1; pointer-events: auto; }
.mnav a { font-family: var(--font-display); font-weight: 300; font-size: 34px; color: var(--cream-50); text-decoration: none; letter-spacing: .04em; }
.mnav a:hover { color: var(--accent-hover); }
.mnav__close { position: absolute; top: 24px; right: 24px; }

/* ---- Hero (Hintergrundvideo, Fidalgo-Slider-Stil) ---- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: 120px var(--gutter) 80px; overflow: hidden;
  background: var(--pine-950);
}
.hero__videowrap {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: opacity 1.2s ease;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(8,9,8,.18) 0%, rgba(8,9,8,.50) 78%, rgba(8,9,8,.84) 100%),
    rgba(0,0,0,.30);
}
.hero__fan-outline {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  pointer-events: none;
}
.hero__fan-tri {
  fill: none; stroke: var(--gold-400); stroke-width: 2;
  filter: drop-shadow(0 0 3px rgba(196,152,113,.35));
}
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62vh; z-index: 1;
  background: linear-gradient(to bottom,
    rgba(23,24,26,0) 0%,
    rgba(23,24,26,.55) 55%,
    var(--pine-950) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__logo { width: clamp(180px, 24vw, 280px); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.45)); }
.hero__cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--mist-300); display: grid; place-items: center; gap: 8px; animation: bob 2.4s var(--ease-in-out) infinite; text-decoration: none; }
.hero__cue span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }
@media (max-height: 620px) { .hero__cue { display: none; } }

/* ---- Intro (Icon + zentrierter Titel + Schreibschrift, Fidalgo-Stil) ---- */
.intro { text-align: center; }
.intro__mark { width: 84px; height: 84px; object-fit: contain; margin-bottom: 26px; }
.intro__title {
  font-family: var(--font-display); font-weight: 300; color: var(--cream-50);
  font-size: clamp(1.7rem, 2.9vw, 2.6rem); line-height: 1.25; letter-spacing: .01em;
  max-width: 21ch; margin: 0 auto 18px;
}
.intro__script { font-family: var(--font-script); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--gold-400); line-height: 1; display: block; }
.intro__pattern {
  display: block; width: 100vw; height: 56px;
  margin-top: -8px; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background-image: url("/assets/logos/luma-muster-waagrecht.png");
  background-repeat: repeat-x; background-position: center center;
  background-size: auto 584px;
}

/* ---- Allgemeiner Abschnitt ---- */
.sec { padding-block: var(--section-y); position: relative; }
.sec--pine { background: var(--sage-800); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--rev > :last-child { order: 1; }

/* Wasserzeichen-Wort */
.bigword {
  font-family: var(--font-display); font-weight: 300; line-height: .9;
  font-size: clamp(4rem, 11vw, 9rem); letter-spacing: .1em; text-transform: uppercase;
  color: var(--watermark);
}

/* ---- Gestapelte Bilder (quadratische Formen) ---- */
.stack { position: relative; padding-bottom: 64px; padding-left: 40px; }
.stack__main { aspect-ratio: 1/1; border-radius: 8px; }
.stack__small {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1/1;
  border-radius: 8px; box-shadow: var(--shadow-md);
  outline: 6px solid var(--pine-950); z-index: 2;
}
.sec--pine .stack__small { outline-color: var(--pine-800); }
.stack--rev { padding-left: 0; padding-right: 40px; }
.stack--rev .stack__small { left: auto; right: 0; border-radius: 8px; }
/* Garten-Abschnitt: an Basishintergrund angepasst + größere Bilder */
/* ---- Gerahmte Bilder (abgerundetes Rechteck + Kreis, Luma-Rahmenform) ---- */
.framephoto { position: relative; aspect-ratio: 1/1; width: 100%; }
#cuisine .split > .reveal { min-width: 0; }
#cuisine .framephoto.in { transform: scale(1.12); }
.framephoto__tri {
  position: absolute; left: 27.95%; top: 3.05%; width: 68.75%; height: 74.2%;
  border-radius: 3%; box-sizing: border-box;
  border: 5px solid var(--gold-400);
}
.framephoto__circle {
  position: absolute; left: 3.1%; top: 56.6%; width: 39.1%; aspect-ratio: 1/1;
  border-radius: 50%; box-sizing: border-box; box-shadow: var(--shadow-md);
  border: 5px solid var(--gold-400); z-index: 2;
}
/* Gespiegelte Variante (Garten-Abschnitt): kehrt nur die horizontale Platzierung um */
.framephoto--rev .framephoto__tri { left: 3.3%; }
.framephoto--rev .framephoto__circle { left: 57.8%; }
#kaffee .framephoto.in { transform: scale(1.12); }

#kaffee .split { grid-template-columns: 1.35fr 0.9fr; }
#kaffee .split > .reveal { min-width: 0; }
#kaffee .split > .reveal .bigword { max-width: 100%; font-size: clamp(3.5rem, 7vw, 7rem); }
#kaffee .stack { padding-bottom: 84px; padding-right: 0; }
#kaffee .stack__small { width: 50%; }

/* ---- Showcase (Vorschau-Kacheln) ---- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 78vh; }
.showcase__panel {
  position: relative; overflow: hidden; cursor: pointer; text-decoration: none;
  display: flex; align-items: flex-end; padding: 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: flex var(--dur-slow) var(--ease-soft);
}
.showcase__panel:last-child { border-right: 0; }
.showcase__panel .ph { position: absolute; inset: 0; z-index: 0; transition: transform var(--dur-slow) var(--ease-soft), filter var(--dur-base) var(--ease-soft); filter: grayscale(.3) brightness(.62); }
.showcase__panel:hover .ph { transform: scale(1.06); filter: grayscale(0) brightness(.82); }
.showcase__body { position: relative; z-index: 2; }
.showcase__sub { font-family: var(--font-script); font-size: 1.7rem; color: var(--gold-300); line-height: .8; display: block; }
.showcase__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem,2.6vw,2.5rem); letter-spacing: .04em; text-transform: uppercase; color: var(--cream-50); margin: 8px 0 0; }
.showcase__desc { font-family: var(--font-sans); font-weight: 300; font-size: 14px; line-height: 1.6; color: var(--mist-200); margin: 12px 0 0; max-width: 30ch; }
.showcase__head { padding: var(--section-y) var(--gutter) 2.6rem; text-align: center; }

/* ---- Landing-Menü (dunkel, Fidalgo-Stil) ---- */
.lmenu { display: grid; grid-template-columns: 0.85fr 1fr 1fr 0.85fr; gap: clamp(1.6rem, 3.4vw, 3.4rem); align-items: start; }
.lmenu__imgcol { display: flex; flex-direction: column; gap: 26px; }
.lmenu__imgcol .i-arch { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__imgcol .i-oval { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__imgcol .i-leaf { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__group { text-align: center; margin-bottom: 44px; }
.lmenu__cat {
  font-family: var(--font-display); font-weight: 400; font-size: 1.65rem;
  color: var(--cream-50); margin: 0 0 10px; letter-spacing: .02em;
}
.lmenu__sep { width: 22px; height: 22px; object-fit: contain; opacity: .85; margin-bottom: 16px; }
.lmenu__item { font-family: var(--font-sans); font-weight: 300; font-size: 17px; line-height: 1.95; color: var(--sage-200, #CED8D8); margin: 0; }
.lmenu__item b { font-weight: 400; color: var(--cream-100); }
.lmenu__code { font-size: 11px; letter-spacing: .08em; color: var(--text-faint-on-dark); vertical-align: super; margin-left: 4px; }
.lmenu__cta { text-align: center; margin-top: 14px; }
.lmenu__note { margin-top: 1.4rem; font-size: 13px; color: var(--text-faint-on-dark); letter-spacing: .04em; text-align: center; }

/* ---- Reservierung ---- */
.resv { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,6vw,5.5rem); align-items: center; }
.resv__media { position: relative; }
.resv__media .ph { border-radius: 18vw 0 0 0; aspect-ratio: 4/5; }

/* ---- Reservierung: gerahmtes Foto (Torbogen mit Goldrahmen) ---- */
.frame-arch { position: relative; width: 100%; aspect-ratio: 900 / 1274; }
.frame-arch__mask {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 130% at 25% 8%, rgba(196,152,113,.40), transparent 55%),
    radial-gradient(130% 120% at 90% 100%, rgba(43,45,48,.85), transparent 60%),
    linear-gradient(150deg, #34363a 0%, #24262a 48%, #17181a 100%);
  -webkit-mask-image: url("/assets/frames/rahmen-silhouette.png");
  mask-image: url("/assets/frames/rahmen-silhouette.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.frame-arch__tag {
  position: absolute; z-index: 1; left: 50%; top: 56%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(243,236,224,.62); text-align: center;
}
.frame-arch__tag img { width: 34px; height: 34px; object-fit: contain; opacity: .75; }
.frame-arch__tag span { font-family: var(--font-sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.frame-arch__border {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
}
.resv__script { position: absolute; right: -8px; bottom: 38px; max-width: 240px; text-align: right; transform: rotate(-6deg); }
.resv__hint { font-size: 13px; color: var(--text-faint-on-dark); letter-spacing: .04em; margin-top: 14px; }

/* ---- Momente / Veranstaltungen ---- */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); align-items: start; }
.event { text-decoration: none; display: flex; flex-direction: column; }
.event__ph { aspect-ratio: 1/1; border-radius: 8px; margin-bottom: 20px; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-soft); }
.event:hover .event__ph { transform: translateY(-6px); }
.event--mid .event__ph { border-radius: 46% 46% 10px 10px / 28% 28% 10px 10px; }
.event__date { font-family: var(--font-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 9px; }
.event__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; color: var(--cream-50); margin: 0 0 8px; letter-spacing: .01em; }
.event__desc { font-family: var(--font-sans); font-weight: 300; font-size: 14.5px; color: var(--mist-300); line-height: 1.65; margin: 0; max-width: 34ch; }

/* ---- Galerie-Karussell ---- */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .ph { flex: 0 0 clamp(260px, 33vw, 420px); aspect-ratio: 1/1; border-radius: 8px; scroll-snap-align: center; box-shadow: var(--shadow-md); }
.carousel__hint { text-align: center; font-family: var(--font-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-faint-on-dark); margin-top: 18px; }

/* ---- Fußzeile (Fidalgo-Stil) ---- */
.ft { background: var(--pine-950); padding-top: 20px; }
.ft__cols { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 80px 64px; }
.ft-col { text-align: center; padding-inline: 40px; position: relative; }
.ft-col + .ft-col::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-on-dark); }
.ft-col__h { font-family: var(--font-sans); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-50); margin: 0 0 26px; }
.ft-col__line { font-family: var(--font-display); font-weight: 300; font-size: 19px; color: var(--mist-300); line-height: 2.1; margin: 0; }
.ft__brand { display: flex; align-items: center; gap: 36px; padding-bottom: 30px; }
.ft__brand .ln { flex: 1; height: 1px; background: var(--line-on-dark); }
.ft__brand img { height: 52px; width: auto; }
.ft__base { display: flex; align-items: center; justify-content: space-between; padding-bottom: 40px; }
.ft__social { display: flex; align-items: center; gap: 20px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.ft__social a { color: var(--cream-50); text-decoration: none; transition: color var(--dur-base) var(--ease-soft); }
.ft__social a:hover { color: var(--accent-hover); }
.ft__social .dia { color: var(--accent); font-size: 10px; }
.ft__right { display: flex; align-items: center; gap: 32px; }
.ft__copy { font-family: var(--font-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint-on-dark); }
.ft__top-btn { width: 64px; height: 64px; flex: none; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: var(--cream-50); text-decoration: none; font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: background var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft), border-color var(--dur-base) var(--ease-soft); }
.ft__top-btn:hover { background: var(--gold-400); color: var(--ink-950); border-color: var(--gold-400); }

/* ---- Einblenden beim Scrollen (JS-gesteuerte .in-Klasse; aktiviert über html.sg-anim) ---- */
.reveal { opacity: 1; }
.ph .ph__img { will-change: transform; }

/* Start-Zustände gelten NUR, wenn JS sie aktiviert (html.sg-anim) → ohne JS/beim Drucken/mit reduced-motion bleibt alles sichtbar */
.sg-anim .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.sg-anim .reveal.in { opacity: 1; transform: none; }

.sg-anim .ph .ph__img { transform: scale(1.26); transition: transform 1.6s var(--ease-out); }
.sg-anim .ph.in .ph__img { transform: scale(1); }

.sg-anim .events .event:nth-child(2) { transition-delay: .12s; }
.sg-anim .events .event:nth-child(3) { transition-delay: .24s; }
.sg-anim .events .event:nth-child(2) .ph__img { transition-delay: .12s; }
.sg-anim .events .event:nth-child(3) .ph__img { transition-delay: .24s; }

/* ---- Responsive Anpassungen ---- */
@media (max-width: 1080px) {
  .lmenu { grid-template-columns: 1fr 1fr; }
  .lmenu__imgcol { display: none; }
}
@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__right .sg-btn { display: none; }
  .hd__burger { display: inline-grid; }
  .split, .resv { grid-template-columns: 1fr; }
  .ft__cols { grid-template-columns: 1fr; gap: 40px; }
  .ft-col { padding-inline: 0; }
  .ft-col + .ft-col::before { display: none; }
  .ft__base { flex-direction: column; gap: 24px; text-align: center; }
  .ft__right { flex-direction: column; gap: 18px; }
  .split--rev > :first-child { order: 1; }
  .split--rev > :last-child { order: 2; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__panel { min-height: 320px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lmenu { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .resv__script { position: static; transform: none; text-align: left; margin-top: 18px; max-width: none; }
}
@media (max-width: 600px) {
  /* Reservierungsformular → einspaltig auf Smartphones */
  .resv-form { grid-template-columns: 1fr !important; }
  /* Hero-Wasserzeichen-Wörter laufen nie über */
  .bigword { font-size: clamp(3rem, 17vw, 5rem); }
  /* Showcase-Kacheln auf Smartphones etwas niedriger */
  .showcase__panel { min-height: 260px; }
  /* Footer-Nach-oben-Button zentriert sich unter dem Text */
  .ft__top-btn { margin-inline: auto; }
  /* Hero-Titel + Intro bekommen mehr Luft */
  .hero { padding-top: 96px; }
  .intro__title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue { animation: none; }
}
