/* =========================================================
   TAP BAR Lüneburg — Stylesheet
   Dark & cinematic. Selbst gehostete Fonts (DSGVO-konform).
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/bodoni-moda-var.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-display: swap;
  font-weight: 400 900;
  src: url('../fonts/bodoni-moda-var-italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-var.woff2') format('woff2-variations');
}

/* ---------- Tokens ---------- */
:root {
  --bg:        #0a0908;
  --bg-2:      #100e0c;
  --bg-3:      #17130f;
  --panel:     #1c1713;
  --line:      rgba(244, 238, 228, .10);
  --line-2:    rgba(244, 238, 228, .18);

  --fg:        #f4eee4;
  --fg-dim:    #a2978a;
  --fg-mute:   #6f6659;

  --copper:    #c27e29;
  --copper-lt: #e5a85c;
  --copper-dk: #8a5718;
  --olive:     #ad9912;

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni MT', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.075rem);
  --step-1:  clamp(1.15rem, 1.08rem + .35vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 2rem);
  --step-3:  clamp(1.9rem, 1.55rem + 1.5vw, 3rem);
  --step-4:  clamp(2.4rem, 1.7rem + 3.2vw, 5rem);
  --step-5:  clamp(3rem, 1.6rem + 6vw, 8rem);

  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1320px;
  --sect: clamp(4.5rem, 10vw, 9rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--copper-lt);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--copper); color: #12100e; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--copper); color: #12100e; padding: .8rem 1.2rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; }
.h-xl { font-size: var(--step-5); }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper-lt);
  display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before {
  content: ""; width: clamp(24px, 4vw, 54px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper));
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: clamp(24px, 4vw, 54px); height: 1px;
  background: linear-gradient(270deg, transparent, var(--copper));
  flex: none;
}

.lead { font-size: var(--step-1); color: var(--fg-dim); line-height: 1.6; font-weight: 300; }
.muted { color: var(--fg-dim); }
.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--copper);
  --btn-fg: #14100b;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: 1.02rem 1.9rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: 999px;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.4), transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -12px rgba(194,126,41,.7); }
.btn:hover::after { transform: translateX(120%); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover { --btn-fg: #14100b; --btn-bg: var(--fg); box-shadow: 0 14px 40px -14px rgba(244,238,228,.4); }
.btn--sm { padding: .72rem 1.35rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--copper-lt);
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(194,126,41,.35);
  transition: color .3s, border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { color: var(--fg); border-color: var(--fg); gap: 1rem; }
.link-arrow svg { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 130;
  padding-block: clamp(.9rem, 2vw, 1.5rem);
  transition: background-color .45s var(--ease), backdrop-filter .45s, padding .45s var(--ease), border-color .45s;
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,9,8,.85), transparent);
  transition: opacity .4s;
}
.header.is-stuck {
  background: rgba(10,9,8,.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
  padding-block: .7rem;
}
.header.is-stuck::before { opacity: 0; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: clamp(120px, 15vw, 178px); transition: width .45s var(--ease); }
.header.is-stuck .brand img { width: clamp(105px, 12vw, 140px); }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.3rem); }
.nav a {
  font-size: var(--step--1); font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--fg-dim);
  position: relative; padding-block: .3rem;
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--copper);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header .btn { flex: none; }
.header__desk { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
/* Mobile Schalterleiste: Ton + Menü, liegt über der Schublade und bleibt immer erreichbar */
.header__mob { display: none; align-items: center; gap: .55rem; position: relative; z-index: 120; }
.header__mob .audio-toggle { width: 46px; height: 46px; }

/* Burger */
.burger {
  display: none; width: 46px; height: 46px; position: relative; z-index: 120; flex: none;
  border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2);
}
.burger span {
  position: absolute; left: 13px; width: 20px; height: 1.5px; background: var(--fg);
  transition: transform .45s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 28px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 46px) 46px); pointer-events: auto; }
.drawer__nav { display: flex; flex-direction: column; gap: .35rem; }
.drawer__nav a {
  font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__nav a:hover { color: var(--copper-lt); }
.drawer__foot { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.drawer__foot .muted { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 940px) {
  .header__desk { display: none; }
  .header__mob { display: flex; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  /* Freiraum für die feste Kopfzeile: ohne ihn wächst der Hero-Inhalt auf kurzen
     Handy-Viewports nach oben aus dem Bild und liegt hinter Logo und Menü. */
  padding-top: clamp(6.5rem, 13vh, 8rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.06);
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 85% at 50% 8%, rgba(10,9,8,.15), rgba(10,9,8,.72) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.1) 35%, rgba(10,9,8,.9) 88%, var(--bg) 100%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__content { position: relative; }
.hero h1 { max-width: 15ch; margin-block: clamp(1.2rem, 3vw, 2rem) clamp(1.2rem, 3vw, 1.8rem); }
.hero h1 .it { font-style: italic; color: var(--copper-lt); }
.hero__lead { max-width: 46ch; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }

.hero__meta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem);
  font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim);
}
.hero__meta b { display: block; color: var(--fg); font-weight: 500; letter-spacing: .06em; }

.scroll-hint {
  position: absolute; right: var(--pad); bottom: clamp(3rem, 8vh, 6rem);
  writing-mode: vertical-rl;
  font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; color: var(--fg-mute);
  display: flex; align-items: center; gap: 1rem;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 60px;
  background: linear-gradient(var(--copper), transparent);
  animation: drop 2.4s var(--ease) infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(.9rem, 2vw, 1.35rem);
  overflow: hidden;
  display: flex;
  --speed: 42s;
}
.marquee__track { display: flex; flex: none; gap: 3rem; padding-right: 3rem; animation: slide var(--speed) linear infinite; }
.marquee span {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-style: italic;
  color: var(--fg-dim); white-space: nowrap; display: flex; align-items: center; gap: 3rem;
}
.marquee span::after { content: "•"; color: var(--copper); font-style: normal; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .09s; } .rv-d2 { transition-delay: .18s; }
.rv-d3 { transition-delay: .27s; } .rv-d4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Intro / split ---------- */
.split { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-l { grid-template-columns: 1.15fr .85fr; }
  .split--wide-r { grid-template-columns: .85fr 1.15fr; }
  .split--rev > *:first-child { order: 2; }
}
.split__text > * + * { margin-top: 1.4rem; }

.figure { position: relative; overflow: hidden; border-radius: 2px; }
.figure img { width: 100%; transition: transform 1.2s var(--ease); }
.figure:hover img { transform: scale(1.045); }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--tall img { height: 100%; object-fit: cover; }
.figure--port { aspect-ratio: 3 / 4; }
.figure--port img { height: 100%; object-fit: cover; }
.figure__cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 2.2rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(10,9,8,.9));
  font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim);
}
.figure__frame { position: relative; }
.figure__frame::before {
  content: ""; position: absolute; inset: clamp(12px, 2vw, 22px);
  border: 1px solid rgba(244,238,228,.22); pointer-events: none; z-index: 2;
  transition: inset .8s var(--ease);
}
.figure__frame:hover::before { inset: clamp(6px, 1.2vw, 12px); }

/* ---------- Cards / Tiles ---------- */
.tiles { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: 2px;
  background: var(--bg-3);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: brightness(.72) saturate(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,.1) 25%, rgba(10,9,8,.88));
  transition: background .5s;
}
/* Beim Überfahren geht das Bild deutlich auf; der Verlauf bleibt unten stehen,
   damit Überschrift und Text lesbar bleiben. */
.tile:hover img,
.tile:focus-visible img { transform: scale(1.07); filter: brightness(1.14) saturate(1.2) contrast(1.04); }
.tile:hover::after,
.tile:focus-visible::after {
  background: linear-gradient(180deg, rgba(10,9,8,0) 30%, rgba(10,9,8,.86));
}
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.4rem, 3vw, 2.2rem); z-index: 2; }
.tile__body h3 { font-size: var(--step-2); margin-bottom: .45rem; }
.tile__body p { color: var(--fg-dim); font-size: var(--step--1); line-height: 1.6; max-width: 32ch; }
.tile__more {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-lt);
  transition: gap .35s var(--ease);
}
.tile:hover .tile__more { gap: .9rem; }
.tile__num {
  position: absolute; top: clamp(1.2rem, 3vw, 2rem); left: clamp(1.4rem, 3vw, 2.2rem); z-index: 2;
  display: inline-block;
  padding: .42rem .95rem; border-radius: 999px;
  background: rgba(10,9,8,.55); backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(229,168,92,.45);
  font-family: var(--font-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--copper-lt);
}

/* ---------- Menu / Karte ---------- */
.menu-grid { display: grid; gap: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 860px) { .menu-grid--2 { grid-template-columns: 1fr 1fr; } }

.menu-block + .menu-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.menu-block__head {
  display: flex; align-items: baseline; gap: 1rem;
  padding-bottom: .9rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-2);
}
.menu-block__head h3 { font-size: var(--step-2); }
.menu-block__head span { font-size: var(--step--1); letter-spacing: .18em; text-transform: uppercase; color: var(--copper); margin-left: auto; }

.item { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding-block: .78rem; align-items: baseline; }
.item + .item { border-top: 1px dashed rgba(244,238,228,.08); }
.item__name { font-weight: 500; font-size: var(--step-0); }
.item__price { font-family: var(--font-display); font-size: var(--step-1); color: var(--copper-lt); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item__desc { grid-column: 1 / -1; font-size: var(--step--1); color: var(--fg-dim); line-height: 1.55; }
.item__sizes { grid-column: 1 / -1; font-size: var(--step--1); color: var(--fg-mute); letter-spacing: .04em; }
.item--hl { background: linear-gradient(90deg, rgba(194,126,41,.09), transparent); padding-inline: 1rem; margin-inline: -1rem; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tabs button {
  padding: .7rem 1.4rem; border-radius: 999px;
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--fg-dim); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .3s, background-color .3s, box-shadow .3s;
}
.tabs button:hover { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-2); }
.tabs button[aria-selected="true"] { background: var(--copper); color: #14100b; box-shadow: none; font-weight: 600; }
.tabpanel[hidden] { display: none; }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; }
.banner__media { position: absolute; inset: 0; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; }
.banner__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.94) 0%, rgba(10,9,8,.75) 45%, rgba(10,9,8,.35) 100%); }
.banner__inner { position: relative; padding-block: clamp(5rem, 14vw, 10rem); }
.banner__inner > * { max-width: 40ch; }
.banner__inner > * + * { margin-top: 1.3rem; }
.price-badge {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--font-display); font-size: var(--step-3); color: var(--copper-lt);
}
.price-badge small { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: clamp(.5rem, 1.2vw, 1rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--bg-3); border-radius: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85); transition: transform 1.1s var(--ease), filter .5s; }
.gallery button:hover img,
.gallery button:focus-visible img { transform: scale(1.08); filter: brightness(1.16) saturate(1.12); }
@media (min-width: 760px) {
  .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-row: span 2; grid-column: span 2; aspect-ratio: 1; }
}

/* Lightbox */
.lb {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(6,5,4,.94); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
  padding: clamp(1rem, 5vw, 4rem);
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 2px; transform: scale(.96); transition: transform .5s var(--ease); }
.lb.is-open img { transform: none; }
.lb__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-size: 1.4rem; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-size: 1.3rem; transition: background-color .3s; }
.lb__nav:hover { background: rgba(244,238,228,.1); }
.lb__prev { left: clamp(.5rem, 2vw, 2rem); }
.lb__next { right: clamp(.5rem, 2vw, 2rem); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.field { display: grid; gap: .5rem; }
.field label { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.1rem;
  background: rgba(244,238,228,.035); color: var(--fg);
  border: 1px solid var(--line); border-radius: 2px;
  font: inherit; font-size: var(--step-0);
  transition: border-color .3s, background-color .3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); background: rgba(244,238,228,.06); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-mute); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a2978a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.field select option { background: var(--panel); color: var(--fg); }
.consent { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--step--1); color: var(--fg-dim); line-height: 1.5; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: .2rem; accent-color: var(--copper); }
.consent a { color: var(--copper-lt); text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: var(--step--1); color: var(--fg-mute); }
.form-msg { padding: 1rem 1.2rem; border-radius: 2px; font-size: var(--step--1); }
.form-msg--ok { background: rgba(173,153,18,.14); border: 1px solid rgba(173,153,18,.4); color: #e2d67a; }
.form-msg--err { background: rgba(180,60,40,.14); border: 1px solid rgba(180,60,40,.45); color: #f0a898; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; padding: clamp(1.6rem, 4vw, 3rem); }

/* ---------- Info / Kontakt ---------- */
.info-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-list { display: grid; gap: 1.6rem; }
.info-list dt { font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-bottom: .35rem; }
.info-list dd { margin: 0; font-size: var(--step-1); font-weight: 300; }
.info-list dd a:hover { color: var(--copper-lt); }

.hours { display: grid; gap: .1rem; margin-top: .4rem; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px dashed rgba(244,238,228,.08); font-size: var(--step-0); }
.hours > div > span:first-child { color: var(--fg); }
.hours > div > span:last-child { color: var(--fg-dim); font-variant-numeric: tabular-nums; text-align: right; }
.hours > .is-closed > span { color: var(--fg-mute); }

.map-consent {
  position: relative; aspect-ratio: 16 / 11; border-radius: 3px; overflow: hidden;
  background: var(--bg-3) center/cover;
  display: grid; place-items: center; text-align: center; padding: 2rem;
  border: 1px solid var(--line);
}
.map-consent p { max-width: 34ch; color: var(--fg-dim); font-size: var(--step--1); margin-bottom: 1.2rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; }
.footer__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { display: grid; gap: .6rem; }
.footer a { color: var(--fg-dim); transition: color .3s; }
.footer a:hover { color: var(--fg); }
.footer__brand img { width: 190px; margin-bottom: 1.3rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: var(--step--1); color: var(--fg-mute);
}
.socials { display: flex; gap: .7rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .35s, color .35s, transform .35s var(--ease); }
.socials a:hover { background: var(--copper); color: #14100b; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* ---------- Page header (Unterseiten) ---------- */
.pagehead { position: relative; padding-block: clamp(9rem, 18vw, 14rem) clamp(3rem, 7vw, 5rem); overflow: hidden; isolation: isolate; }
.pagehead__media { position: absolute; inset: 0; z-index: -1; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.pagehead__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,9,8,.95) 0%, rgba(10,9,8,.78) 40%, rgba(10,9,8,.92) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,9,8,.75), rgba(10,9,8,.25) 70%);
}
.pagehead h1 { margin-block: 1rem .8rem; }
.crumbs { font-size: var(--step--1); color: var(--fg-mute); letter-spacing: .1em; }
.crumbs a:hover { color: var(--copper-lt); }

/* ---------- Legal ---------- */
.legal { max-width: 76ch; }
.legal h2 { font-size: var(--step-2); margin-top: 2.6rem; margin-bottom: .9rem; }
.legal h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: .04em; margin-top: 1.8rem; margin-bottom: .5rem; }
.legal p, .legal li { color: var(--fg-dim); }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .45rem; margin-top: .8rem; }
.legal a { color: var(--copper-lt); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.stack > * + * { margin-top: 1.3rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.allergen-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.allergen-table th, .allergen-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.allergen-table th { color: var(--copper); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; font-size: .72rem; }
.allergen-table td:first-child { font-weight: 500; color: var(--fg); white-space: nowrap; }
.allergen-table td:last-child { color: var(--fg-dim); }
@media (max-width: 640px) {
  .allergen-table td:first-child { white-space: normal; }
  .allergen-table th, .allergen-table td { padding: .7rem .5rem; }
}

.back-to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--copper); color: #14100b;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .4s, transform .4s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* =========================================================
   Custom Cursor
   ========================================================= */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: none; }
.cursor__dot,
.cursor__ring {
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor__dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--copper-lt);
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
}
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(229,168,92,.55);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease),
              background-color .45s, border-color .45s, opacity .3s;
}
.cursor__label {
  font-family: var(--font-body); font-size: .58rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #14100b;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .35s var(--ease);
  white-space: nowrap;
}
/* Hover über Interaktives — ohne Beschriftung bleibt der Ring offen,
   damit er Navigation, Logo oder Schalter darunter nicht verdeckt. */
.cursor.is-hot .cursor__ring {
  width: 48px; height: 48px; margin: -24px 0 0 -24px;
  background: transparent; border-color: rgba(229,168,92,.85);
}
.cursor.is-hot .cursor__dot { opacity: 0; }
/* Nur mit Beschriftung wird die Fläche gefüllt */
.cursor.is-hot.has-label .cursor__ring {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  background: var(--copper); border-color: transparent;
}
.cursor.is-hot.has-label .cursor__label { opacity: 1; transform: none; }
/* Große Flächen (Kacheln, Galerie) */
.cursor.is-wide.has-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
/* Klick */
.cursor.is-down .cursor__ring { transform-origin: center; }
.cursor.is-down .cursor__dot { width: 12px; height: 12px; margin: -6px 0 0 -6px; }

@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  html.has-cursor,
  html.has-cursor * { cursor: none !important; }
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor select { cursor: auto !important; }
  html.has-cursor input ~ *, html.has-cursor textarea ~ * { cursor: none; }
}
@media (prefers-reduced-motion: reduce) { .cursor { display: none !important; } html.has-cursor, html.has-cursor * { cursor: auto !important; } }

/* Spotlight im Hero */
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0; transition: opacity .6s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(229,168,92,.16), rgba(229,168,92,.05) 45%, transparent 70%);
  mix-blend-mode: screen;
}
.hero:hover .hero__spot { opacity: 1; }

/* Magnetische Buttons */
.btn { will-change: transform; }

/* =========================================================
   Audio-Schalter
   ========================================================= */
.audio-toggle {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--fg-dim);
  transition: color .3s, background-color .3s, transform .3s var(--ease);
}
.audio-toggle:hover { color: var(--fg); transform: translateY(-2px); }
.audio-toggle[aria-pressed="true"] { color: var(--copper-lt); box-shadow: inset 0 0 0 1px rgba(229,168,92,.5); }
.audio-toggle svg { width: 17px; height: 17px; }
.audio-toggle .bars { display: none; }
.audio-toggle[aria-pressed="true"] .bars { display: block; }
.audio-toggle[aria-pressed="true"] .muted { display: none; }
.audio-toggle[aria-pressed="true"] .bars rect { animation: eq 1.1s ease-in-out infinite; transform-origin: center bottom; }
.audio-toggle[aria-pressed="true"] .bars rect:nth-child(2) { animation-delay: .18s; }
.audio-toggle[aria-pressed="true"] .bars rect:nth-child(3) { animation-delay: .36s; }
@keyframes eq { 0%,100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .audio-toggle .bars rect { animation: none !important; } }

/* =========================================================
   Consent
   ========================================================= */
.consent-banner {
  position: fixed; z-index: 250;
  left: var(--pad); bottom: clamp(1rem, 3vw, 2rem);
  width: min(430px, calc(100vw - 2 * var(--pad)));
  background: rgba(18,15,12,.96);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--line-2); border-radius: 4px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.9);
  transform: translateY(140%); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
.consent-banner.is-open { transform: none; opacity: 1; }
.consent-banner h2 { font-size: var(--step-1); margin-bottom: .7rem; }
.consent-banner p { font-size: var(--step--1); color: var(--fg-dim); line-height: 1.6; }
.consent-banner a { color: var(--copper-lt); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.consent-actions .btn { flex: 1 1 auto; padding: .8rem 1.1rem; font-size: .68rem; }
.consent-link {
  background: none; padding: .55rem 0 0; font-size: var(--step--1);
  color: var(--fg-mute); text-decoration: underline; text-underline-offset: 3px;
  width: 100%; text-align: left;
}
.consent-link:hover { color: var(--fg-dim); }

.consent-dialog {
  position: fixed; inset: 0; z-index: 260; display: grid; place-items: center;
  background: rgba(6,5,4,.9); backdrop-filter: blur(6px);
  padding: var(--pad);
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.consent-dialog.is-open { opacity: 1; pointer-events: auto; }
.consent-dialog__box {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px;
  width: min(560px, 100%); max-height: 86vh; overflow: auto;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  transform: translateY(20px); transition: transform .5s var(--ease);
}
.consent-dialog.is-open .consent-dialog__box { transform: none; }
.consent-dialog h2 { font-size: var(--step-2); margin-bottom: .8rem; }
.consent-dialog > .consent-dialog__box > p { font-size: var(--step--1); color: var(--fg-dim); }

.consent-option {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.consent-option:first-of-type { border-top: 1px solid var(--line); margin-top: 1.6rem; }
.consent-option__text strong { display: block; font-size: var(--step-0); font-weight: 600; margin-bottom: .3rem; }
.consent-option__text span { font-size: var(--step--1); color: var(--fg-dim); line-height: 1.55; }
.switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: .2rem; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span {
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(244,238,228,.12); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .3s;
}
.switch span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--fg-dim);
  transition: transform .35s var(--ease), background-color .3s;
}
.switch input:checked + span { background: var(--copper); box-shadow: none; }
.switch input:checked + span::after { transform: translateX(20px); background: #14100b; }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--copper-lt); outline-offset: 3px; }

.map-consent.is-loaded { display: block; padding: 0; }
.map-consent code, .legal code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; background: rgba(244,238,228,.07);
  padding: .1em .45em; border-radius: 3px; color: var(--copper-lt);
}

/* ---------- Seitenwechsel ohne Neuladen ----------
   Während die nächste Seite geholt wird, blendet der Inhalt kurz ab. Kopfzeile
   und Ton-Schalter bleiben stehen, damit die Ambiente-Musik weiterläuft. */
main, .footer { transition: opacity .22s var(--ease); }
body.is-leaving main, body.is-leaving .footer { opacity: .3; }
@media (prefers-reduced-motion: reduce) {
  main, .footer { transition: none; }
  body.is-leaving main, body.is-leaving .footer { opacity: 1; }
}
