/* Gemeinsame Basis für alle Seiten: Farben, Button, Kopfzeile, Menü */

/* Schrift Inter lokal (keine Verbindung zu Google beim Seitenaufruf) – variable Schrift, Gewichte 300–600 */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #000;
  --fg: #f2efe9;
  --muted: #8d8a84;
  --accent: #c9a76a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block; position: relative;
  font: 500 13px/1 "Inter", sans-serif; letter-spacing: .28em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
  padding: 13px 26px 13px 30px;
  border: 1.5px solid var(--fg); border-radius: 4px;
  overflow: hidden; isolation: isolate;
  transition: color .3s ease;
}
/* Hover: weiße Füllung läuft von unten ein, Schrift wird schwarz */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fg);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover, .btn:focus-visible { color: #000; outline: none; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }

/* ---------- Kopfzeile: Menü links, Logo mittig, Buchen rechts – alle auf einer Höhe ---------- */
:root {
  --head-top: clamp(16px, 3.2vh, 32px); --head-h: 34px;
  --row2: var(--head-top);                                   /* Höhe von Menü + Buchen (Desktop: gleiche Zeile wie das Logo) */
  --head-total: calc(var(--row2) + var(--head-h) + var(--head-top));
}
.btn.book {
  position: absolute; top: var(--row2); right: clamp(16px, 4vw, 56px);
  z-index: 3;
  height: var(--head-h); display: inline-flex; align-items: center;
  padding: 0 14px 0 17px; font-size: 11px; letter-spacing: .26em; border-width: 1px;
}
.brand {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: var(--head-top); height: var(--head-h);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; padding: 0 16px;
}
.brand h1 { line-height: 0; }
.brand a { pointer-events: auto; display: block; }
.brand h1 img { width: clamp(220px, 24vw, 400px); height: auto; display: block; }
/* Handy: nur das Logo groß oben – Menü + Buchen sitzen in der Leiste unten (siehe Ende der Datei) */
@media (max-width: 720px) {
  :root { --logo-w: min(82vw, 340px); --head-total: calc(var(--head-top) * 2 + var(--logo-w) * .07); }
  .brand { height: calc(var(--logo-w) * .07); }
  .brand h1 img { width: var(--logo-w); }
}

/* Menü-Symbol: drei Striche, wird offen zum × */
.menu-toggle {
  position: absolute; z-index: 12; top: var(--row2); left: clamp(16px, 4vw, 56px);
  width: 34px; height: var(--head-h); padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.menu-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--fg);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .2s, width .3s;
}
.menu-toggle span:nth-child(2) { width: 16px; }
.menu-toggle:hover span:nth-child(2), .menu-toggle:focus-visible span:nth-child(2) { width: 24px; }
.menu-toggle:focus-visible { outline: 1px solid var(--muted); outline-offset: 4px; }
html.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
html.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
html.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Ausklappmenü ---------- */
html.menu-open { overflow: hidden; }
html.menu-open .brand { z-index: 12; }   /* Logo bleibt über dem Menü sichtbar */
.menu {
  position: fixed; inset: 0; z-index: 11;
  background: rgba(0, 0, 0, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--head-total) + 24px) clamp(24px, 8vw, 120px) 40px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s;
}
html.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .4s ease; }
/* Mittig nur, solange alles passt – sonst oben anfangen statt unter Logo und Leiste zu rutschen */
.menu > :first-child { margin-top: auto; }
.menu > :last-child { margin-bottom: auto; }
.menu { justify-content: flex-start; }
.menu nav { display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 26px); }
.menu nav a {
  align-self: flex-start; position: relative;
  font: 500 clamp(26px, 4.2vw, 52px)/1 "Inter", sans-serif; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg); text-decoration: none;
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}
.menu nav a::after {
  content: ""; position: absolute; left: 0; right: .18em; bottom: -8px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.menu nav a:hover::after, .menu nav a:focus-visible::after, .menu nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu nav a:focus-visible { outline: none; }
html.menu-open .menu nav a { opacity: 1; transform: none; }
html.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; }
html.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
html.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
.menu .m-info {
  margin-top: clamp(36px, 7vh, 72px); padding-top: 24px; border-top: 1px solid #262626;
  display: flex; flex-wrap: wrap; gap: 24px 56px;
  font: 300 14px/1.7 "Inter", sans-serif; color: #cfccc6;
}
.menu .m-info h3 { margin-bottom: 8px; font: 500 11px/1 "Inter", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.menu .m-info a { color: inherit; text-decoration: none; }
.menu .m-info a:hover, .menu .m-info a:focus-visible { color: var(--fg); outline: none; }
.menu .m-info .m-route { display: inline-block; margin-top: 6px; font: 400 10px/1.4 "Inter", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.m-legal { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.m-legal a { font: 400 11px/1 "Inter", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.m-legal a:hover, .m-legal a:focus-visible { color: var(--fg); outline: none; }

/* ---------- Feste Kopfzeile (alle Seiten) ---------- */
.site-head {
  position: fixed; z-index: 10; inset: 0 0 auto 0;
  height: var(--head-total);
  background: linear-gradient(#000 70%, rgba(0, 0, 0, 0));
}

/* ---------- Abschnitte mit Text ---------- */
.eyebrow { font: 500 11px/1 "Inter", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.sec-title {
  margin-top: 18px;
  font: 500 clamp(28px, 4.4vw, 54px)/1.08 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 560px) { .sec-title { font-size: 26px; letter-spacing: .08em; } }
.lead { font: 300 16px/1.7 "Inter", sans-serif; color: #cfccc6; }
.lead + .lead { margin-top: 1em; }

/* Info-Raster: Öffnungszeiten, Adresse, Kontakt */
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 4vw, 64px);
  padding-top: 28px; border-top: 1px solid #262626;
}
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.info-grid h3 { margin-bottom: 12px; font: 500 11px/1 "Inter", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.info-grid p, .info-grid dl { font: 300 15px/1.75 "Inter", sans-serif; color: #d9d6d0; }
.info-grid a { color: inherit; text-decoration: none; border-bottom: 1px solid #3a3a3a; transition: border-color .2s, color .2s; }
.info-grid a:hover, .info-grid a:focus-visible { color: var(--fg); border-color: var(--fg); outline: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0 20px; }
.hours dd { color: var(--fg); }
.hours .off { color: var(--muted); }

/* Footer */
.site-foot {
  max-width: 1240px; margin: clamp(80px, 14vh, 160px) auto 0;
  padding: 28px clamp(16px, 4vw, 56px) 40px; border-top: 1px solid #1c1c1c;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  font: 400 11px/1.4 "Inter", sans-serif; letter-spacing: .14em; color: var(--muted);
}
.site-foot .m-legal { margin-top: 0; }

/* ---------- Handy: feste Leiste unten mit Menü + Buchen (Daumen-Bereich) ---------- */
:root { --bar-h: 0px; }
@media (max-width: 720px) {
  :root { --bar-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--bar-h); }
  /* Hintergrund der Leiste */
  .site-head::after {
    content: ""; position: fixed; z-index: 1; left: 0; right: 0; bottom: 0; height: var(--bar-h);
    background: rgba(0, 0, 0, .94); border-top: 1px solid #1f1f1f;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .menu-toggle, .btn.book { position: fixed; top: auto; bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }
  .menu-toggle { left: 16px; width: auto; padding-right: 64px; }
  .menu-toggle::after {
    content: "Menü"; position: absolute; left: 36px; top: 50%; transform: translateY(-50%);
    font: 500 11px/1 "Inter", sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--fg);
  }
  html.menu-open .menu-toggle::after { content: "Schließen"; }
  /* Buchen gefüllt: die wichtigste Aktion */
  .btn.book {
    right: 16px; z-index: 12; padding: 0 20px 0 23px; letter-spacing: .26em;
    background: var(--fg); color: #000; border-color: var(--fg);
  }
  .btn.book::before { background: #000; }
  .btn.book:hover, .btn.book:focus-visible { color: var(--fg); }
  /* Menü endet über der Leiste, damit unten nichts unter Menü/Buchen rutscht */
  .menu { top: var(--head-total); bottom: var(--bar-h); padding-top: 20px; padding-bottom: 32px; }
}

/* ---------- Rechtliche Seiten: Impressum, Datenschutz, Widerrufsrecht ---------- */
.legal {
  max-width: 820px; margin: 0 auto;
  padding: calc(var(--head-total) + clamp(40px, 9vh, 110px)) clamp(16px, 4vw, 56px) 0;
}
.legal section { margin-top: clamp(36px, 6vh, 56px); padding-top: 28px; border-top: 1px solid #262626; }
.legal h1 + section, .legal .stand + section { margin-top: clamp(32px, 5vh, 48px); }
.legal h2 { margin-bottom: 16px; font: 500 12px/1.4 "Inter", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: var(--fg); }
.legal p, .legal li { font: 300 15px/1.75 "Inter", sans-serif; color: #d9d6d0; }
.legal p + p { margin-top: 1em; }
.legal ul { margin: 1em 0 0 1.1em; display: grid; gap: 6px; }
.legal strong { font-weight: 500; color: var(--fg); }
.legal a { color: inherit; text-decoration: none; border-bottom: 1px solid #3a3a3a; transition: border-color .2s, color .2s; }
.legal a:hover, .legal a:focus-visible { color: var(--fg); border-color: var(--fg); outline: none; }
.legal .stand { margin-top: 18px; font: 400 11px/1 "Inter", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.legal .form-box { margin-top: 16px; padding: 20px 22px; border: 1px solid #262626; border-radius: 4px; background: #0b0b0b; }
.legal .form-box p { margin-top: .4em; }
.m-legal a[aria-current="page"] { color: var(--fg); }
