/* Nana Mine v5 – altes Kaffeehaus: dunkles Türkis, Messing, Fotos gerahmt wie Gemälde. */

@font-face { font-family: "Cormorant"; src: url("../assets/fonts/CormorantGaramond-500n.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../assets/fonts/CormorantGaramond-500i.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../assets/fonts/CormorantGaramond-600n.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --ink: #061817;        /* tiefstes Türkis */
  --wall: #0b2423;       /* Wand */
  --wood: #1c130c;       /* Bilderrahmen, Nussbaum */
  --brass: #b9975b;      /* Messing, einfarbig */
  --brass-lt: #dcc38e;   /* Messing auf Dunkel, für Text */
  --cream: #efe6d2;
  --muted: #b3b9ae;
  --font: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --pad: clamp(1.25rem, .5rem + 4vw, 4rem);
  --max: 74rem;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--wall); color: var(--cream);
  font: 500 clamp(1.2rem, 1.05rem + .4vw, 1.4rem)/1.55 var(--font); overflow-x: hidden;
  font-feature-settings: "kern", "liga", "onum"; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 4px; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; z-index: 200; top: 1rem; left: 1rem; background: var(--brass); color: var(--ink); padding: .5rem 1rem; }

/* Logo – einfarbiges Messing */
.logo, .logo-mark { display: block; aspect-ratio: 880 / 250; width: 7rem; background: url("../assets/img/logo-lt.png") center / contain no-repeat; }
.logo--xl { width: min(78vw, 46rem); }
.logo--foot { width: 11rem; margin: 0 auto 2.2rem; background-image: url("../assets/img/logo-dk.png"); }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Kopfleiste */
.bar { position: fixed; z-index: 100; inset: 0 0 auto; display: flex; justify-content: center; align-items: center;
  padding: max(.9rem, env(safe-area-inset-top)) var(--pad) .9rem; transition: background-color .5s var(--ease); }
.bar.is-on { background: rgba(6,24,23,.94); box-shadow: 0 1px 0 rgba(185,151,91,.35); }
.bar__logo { padding: .3rem 0; opacity: 0; transition: opacity .5s var(--ease); }
.bar.is-on .bar__logo { opacity: 1; }
.bar nav { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); font-size: 1.15rem; }
.bar nav a { text-decoration: none; color: var(--cream); padding: .55rem 0; }
.bar nav a:hover { color: var(--brass-lt); }
.bar nav .bar__cta { border: 1px solid var(--brass); padding: .45rem 1.1rem; }
.bar nav .bar__cta:hover { background: var(--brass); color: var(--ink); }

/* Intro */
/* Intro: ganzes 16:9-Bild, nie zugeschnitten (Bali: "zu sehr reingezoomt"). Handy: Logo unter dem Film. */
.intro { position: relative; display: grid; background: var(--ink); padding-top: 4.2rem; }
.intro__video { grid-area: 1 / 1; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: #000; }
.intro__shade { grid-area: 1 / 1; background: linear-gradient(180deg, rgba(6,24,23,.35) 0%, rgba(6,24,23,0) 25%, rgba(6,24,23,0) 60%, rgba(6,24,23,.6) 100%); }
.intro__content { grid-area: 2 / 1; position: relative; display: grid; justify-items: center; gap: 1rem; text-align: center;
  padding: 2.2rem var(--pad) 3rem; }
.intro .logo--xl { width: min(80vw, 46rem); }
@media (min-width: 760px) {
  .intro { padding-top: 0; }
  .intro__video { max-height: 100svh; }
  .intro__shade { background: linear-gradient(180deg, rgba(6,24,23,.55) 0%, rgba(6,24,23,0) 22%, rgba(6,24,23,.1) 50%, rgba(6,24,23,.9) 100%); }
  .intro__content { grid-area: 1 / 1; align-self: end; padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
  .intro .logo--xl { width: min(52vw, 40rem); }
}
.intro__line { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.status { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.1rem; color: var(--muted); }
.status i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--muted); }
.status.is-open i { background: #8fc79a; }
.status b { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .intro__content > * { animation: rise 1.4s var(--ease) both; }
  .intro__content > :nth-child(2) { animation-delay: .25s; }
  .intro__content > :nth-child(3) { animation-delay: .4s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Räume */
.room { padding: clamp(5rem, 4rem + 6vw, 10rem) var(--pad);
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220,195,142,.07), transparent 70%), var(--wall); }
.room--dark { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(220,195,142,.06), transparent 70%), var(--ink); }
.room__head { max-width: var(--max); margin: 0 auto clamp(2.5rem, 2rem + 3vw, 4.5rem); }
h2 { font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.room__head p { margin-top: 1.1rem; max-width: 34ch; color: var(--muted); }

/* Bilderrahmen: Nussbaum, Messingleiste, Schatten an der Wand */
.frame { display: block; width: 100%; padding: clamp(8px, .5rem + .6vw, 18px); background: var(--wood); border: 0; margin: 0; font: inherit; color: inherit;
  box-shadow: inset 0 0 0 1px rgba(185,151,91,.45), 0 28px 50px -18px rgba(0,0,0,.75); }
.frame img, .frame video { width: 100%; box-shadow: 0 0 0 2px var(--brass); }
.frame video { aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
button.frame { cursor: zoom-in; }
button.frame img { transition: filter .4s var(--ease); }
button.frame:hover img { filter: brightness(1.06); }
.piece { margin: 0; }
.piece figcaption { margin-top: .9rem; font-style: italic; font-size: 1.05rem; color: var(--muted); text-align: center; }

/* Salon-Bilderwand: kleine Bilder an Messingnägeln, Kaffee als bewegtes Bild dazwischen. Pendeln per JS (--swing). */
.salon__wall { max-width: 64rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense;
  column-gap: clamp(1rem, 4vw, 2rem); row-gap: 2.5rem; align-items: start; }
.hang { position: relative; margin: 0; padding-top: 2.4rem; transform-origin: 50% .35rem; transform: rotate(var(--swing, 0deg)); will-change: transform; }
.hang::before { content: ""; position: absolute; top: .35rem; left: 22%; right: 22%; height: 2.1rem; opacity: .75;
  background: linear-gradient(to top left, transparent calc(50% - .7px), var(--brass) 50%, transparent calc(50% + .7px)) left / 50% 100% no-repeat,
              linear-gradient(to top right, transparent calc(50% - .7px), var(--brass) 50%, transparent calc(50% + .7px)) right / 50% 100% no-repeat; }
.hang::after { content: ""; position: absolute; top: 0; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3dfae, var(--brass) 45%, #5a4422); box-shadow: 0 2px 3px rgba(0,0,0,.6); }
.hang .frame { padding: clamp(6px, .3rem + .4vw, 12px); }
.hang figcaption { display: table; margin: .8rem auto 0; padding: .1rem .7rem; font-size: .88rem; line-height: 1.5; color: #20160d;
  background: linear-gradient(180deg, #d8bf8a, #a98a52); box-shadow: 0 2px 4px rgba(0,0,0,.55); }
.h-kaffee { grid-column: 1 / -1; width: 92%; justify-self: center; }
.frame--film { padding: clamp(10px, .4rem + .8vw, 18px) !important; box-shadow: inset 0 0 0 1px rgba(185,151,91,.6), inset 0 0 0 5px var(--wood), inset 0 0 0 6px rgba(185,151,91,.35), 0 28px 50px -18px rgba(0,0,0,.75); }
.h-schnecke .frame, .h-schnecke img, .h-schnecke video { border-radius: 50%; }
/* Lebende Bilder: kurze Filmschleifen im Rahmen, Seitenverhältnis aus width/height */
.frame--live video { aspect-ratio: auto; height: auto; object-fit: cover; }
/* Bilderleuchte: warmer Lichtkegel über jedem Bild. Das Licht geht an, wenn das Bild in die Bildmitte kommt (JS: .is-lit). */
@property --glow { syntax: "<number>"; inherits: false; initial-value: .1; }
.hang { --glow: .1; background: radial-gradient(closest-side, rgba(240,205,140,var(--glow)), transparent) 50% 0 / 90% 70% no-repeat;
  transition: --glow 1.1s var(--ease); }
.hang .frame img, .hang .frame video { filter: brightness(.8) saturate(.9); transition: filter 1.1s var(--ease); }
.hang.is-lit { --glow: .3; }
.hang.is-lit .frame img, .hang.is-lit .frame video { filter: none; }
.hang.is-lit figcaption { background: linear-gradient(180deg, #ecd6a2, #b99a5e); }
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .hang .frame img, .hang .frame video { filter: none; }
}
/* Ovaler Rahmen: Draht endet oben am Oval, mit Messingöse */
.h-schnecke::before { left: calc(50% - .7px); right: auto; width: 1.4px; height: calc(2.05rem - 2px); background: var(--brass); }
.h-schnecke .frame { position: relative; }
.h-schnecke .frame::before { content: ""; position: absolute; top: -5px; left: calc(50% - 7px); width: 14px; height: 10px; z-index: 1;
  border: 2px solid var(--brass); border-bottom: 0; border-radius: 7px 7px 0 0; }
.h-schnecke { margin-top: 2rem; }
.h-vitrine { margin-top: -1rem; }
@media (max-width: 759px) {
  .hang figcaption { font-size: .8rem; white-space: nowrap; }
  .h-banane { grid-column: 1 / -1; width: 56%; justify-self: center; }
}
@media (min-width: 760px) {
  .salon__wall { grid-template-columns: repeat(12, 1fr); row-gap: 2.5rem; }
  .h-brownie  { grid-column: 1 / 4;  margin-top: 3rem; }
  .h-kaffee   { grid-column: 4 / 10; width: auto; }
  .h-schnecke { grid-column: 10 / 13; width: 78%; justify-self: center; margin-top: 4.5rem; }
  .h-raum     { grid-column: 2 / 6; }
  .h-vitrine  { grid-column: 6 / 9; margin-top: 2.5rem; }
  .h-banane   { grid-column: 9 / 12; margin-top: .5rem; }
}

/* Besuch */
.visit { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); }
.visit__img { width: 100%; max-width: 28rem; justify-self: center; }
@media (min-width: 900px) {
  .visit { grid-template-columns: 1fr 1fr; align-items: center; padding-inline: max(var(--pad), calc((100% - var(--max)) / 2)); }
}
address { font-style: normal; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.3; margin: 1.6rem 0 1.8rem; }
.hours { margin: 0 0 2.2rem; max-width: 26rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(185,151,91,.28); }
.hours div:first-child { border-top: 1px solid rgba(185,151,91,.28); }
.hours dt, .hours dd { margin: 0; }
.hours dd { color: var(--brass-lt); font-variant-numeric: lining-nums; }
.hours .off dd { color: var(--muted); }
.hours .is-today dt::after { content: ", heute"; color: var(--brass-lt); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.5rem; border: 1px solid var(--brass); text-decoration: none; color: var(--cream); font-size: 1.15rem; transition: background-color .3s, color .3s; }
.btn:hover { background: rgba(185,151,91,.15); }
.btn--solid { background: var(--brass); color: var(--ink); font-weight: 600; }
.btn--solid:hover { background: var(--brass-lt); }
.rating { margin-top: 1.8rem; font-size: 1.05rem; }
.rating a { display: inline-block; padding: .6rem 0; color: var(--muted); text-underline-offset: .25em; text-decoration-color: rgba(185,151,91,.5); }
.rating a:hover { color: var(--brass-lt); }

/* Fusszeile */
.foot, .site-footer { background: var(--ink); text-align: center; padding: 4.5rem var(--pad) max(2.5rem, env(safe-area-inset-bottom)); border-top: 1px solid rgba(185,151,91,.3); }
.foot ul, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.8rem; font-size: 1.05rem; }
.foot a, .footer-links a { color: var(--muted); display: inline-block; padding: .5rem 0; text-decoration: none; }
.foot a:hover, .footer-links a:hover { color: var(--brass-lt); }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1280px); }
.lightbox::backdrop { background: rgba(4,14,14,.92); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; box-shadow: 0 0 0 2px var(--brass); }
.lightbox__close { display: block; margin: 1rem auto 0; background: none; border: 1px solid var(--brass); color: var(--cream); font: inherit; padding: .5rem 1.4rem; cursor: pointer; }

/* Rechtstexte */
.legal-page .site-header { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--pad); background: var(--ink); border-bottom: 1px solid rgba(185,151,91,.3); }
.legal-page .menu { list-style: none; margin: 0; padding: 0; }
.legal-page .menu a { color: var(--brass-lt); padding: .6rem 0; display: inline-block; }
.legal { max-width: 46rem; margin: 0 auto; padding: 8rem var(--pad) 5rem; }
.legal h1 { font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem); font-weight: 600; line-height: 1; }
.legal h2 { font-size: 1.5rem; color: var(--brass-lt); margin-top: 2.5rem; letter-spacing: 0; }
.legal p { margin: .6rem 0; }
.legal a { color: var(--brass-lt); }
.todo { background: #5c3b12; color: #ffe3a8; padding: 0 .3em; }
