/* ==========================================================================
   Herrnzimmer Kitzingen – Aufbau nach burgerheart.com, personalisiert
   Maße: Navigation 60 px · Container 1200 px · Textspalte 700 px · Bildbänder 465 px
   ========================================================================== */

:root {
  --dark: #23241E;          /* dunkle Abschnitte + Navigation */
  --light: #EDEDED;         /* helle Abschnitte */
  --black: #000;
  --white: #fff;
  --yellow: #FCD16F;        /* Herrnzimmer-Gelb (Speisekarte / Getränkekarte) */
  --accent: #7A5B12;        /* dunkles Messing für Akzente auf hellem Grund */
  --f-head: "Modak", "Arial Black", Impact, sans-serif;
  --f-text: "Open Sans", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Sacramento", "Brush Script MT", cursive;
  --nav-h: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; background: var(--dark); }
body, .page {
  margin: 0;
  font-family: var(--f-text);
  font-stretch: 75%;
  font-size: 15px;
  line-height: 21.6px;
  font-weight: 400;
  color: var(--black);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; }
.skip { position: absolute; left: 10px; top: -60px; z-index: 200; padding: 8px 12px; background: var(--yellow); color: #000; font-weight: 800; text-transform: uppercase; }
.skip:focus { top: 10px; }

/* ------------------------------------------------------------ Überschriften */
h1, h2 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
}
h1 { font-size: 48px; line-height: 35px; letter-spacing: .7px; margin-bottom: 35px; }
h2 { font-size: 41px; line-height: 30px; letter-spacing: .6px; margin-bottom: 22px; }
h3 {
  margin: 0 0 21.6px;
  font-size: 15px;
  line-height: 21.6px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  text-align: center;
}
.section--white h3.accent, .accent { color: var(--accent); }
.section--black h3.accent { color: var(--white); }
.accent-yellow { color: var(--yellow); font-weight: 800; }
.h2-follow { margin-top: 64px; }
.h3-follow { margin-top: 43px; }
strong { font-weight: 800; }
.caps { text-transform: uppercase; letter-spacing: .3px; }

/* --------------------------------------------------------------- Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  background: var(--dark);
}
.nav__inner { position: relative; width: 1200px; max-width: 100%; height: 100%; margin: 0 auto; display: flex; justify-content: space-between; }
.nav__list { display: flex; justify-content: space-between; width: 520px; margin: 0; padding: 0; list-style: none; }
.nav__list a, .nav__mobile a {
  display: block; padding: 0 5px;
  font-size: 15px; line-height: var(--nav-h); font-weight: 800;
  text-transform: uppercase; color: var(--white);
  transition: color .2s;
}
.nav__list li { padding: 0 20px; }
.nav__list--left li:first-child { padding-left: 0; }
.nav__list--right li:last-child { padding-right: 0; }
.nav__list a:hover, .nav__list a.is-active, .nav__mobile a:hover, .nav__mobile a.is-active { color: var(--yellow); }
.nav__toggle { display: none; }
.nav__mobile { display: none; }

.logo {
  position: fixed; top: 10px; left: 50%; z-index: 60;
  width: 176px; height: 100px;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
.logo svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------- Hero */
.top { position: relative; background: var(--dark); }
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: var(--dark); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.no-js .hero__slide:first-child, .hero__slide:first-child:only-child { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.top--legal { height: var(--nav-h); }

/* Scroll-Button (Sofa mit Pfeil) */
.scroll-btn {
  position: absolute; left: 50%; bottom: 10px; z-index: 5;
  width: 98px; height: 56px;
  transform: translateX(-50%);
  transition: transform .25s ease;
}
.scroll-btn svg { width: 100%; height: 100%; }
.scroll-btn:hover { transform: translateX(-50%) translateY(3px); }
.scroll-btn--light { color: var(--white); --arrow: #000; }
.scroll-btn--dark { color: var(--black); --arrow: #fff; }
.top > .scroll-btn { bottom: 20px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }

.to-top {
  position: absolute; right: 20px; bottom: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; line-height: 21.6px;
}
.to-top .ico { width: 13px; height: 13px; }
.to-top:hover { color: var(--yellow); }
.section--white .to-top:hover { color: var(--accent); }

/* --------------------------------------------------------------- Abschnitte */
.section { position: relative; padding: 60px 20px 150px; }
.section--white { background: var(--light); color: var(--black); }
.section--black { background: var(--dark); color: var(--white); }
.container { width: 1160px; max-width: 100%; margin: 0 auto; }
.text { width: 700px; max-width: 100%; margin: 0 auto; text-align: center; }
.text p + p { margin-top: 21.6px; }
.text a:not([class]) { text-decoration: underline; }
.closing { color: var(--accent); }
.closing strong { text-transform: uppercase; }

/* Bildbänder zwischen den Abschnitten */
.band { position: relative; height: 465px; overflow: hidden; background: var(--dark); }
.band > img { width: 100%; height: 100%; object-fit: cover; }
.band--tri { display: flex; }
.band--tri > img { width: 33.3333%; flex: 1 1 0; min-width: 0; }
.band__icon {
  position: absolute; left: 50%; top: 50%;
  width: 190px; height: 190px;
  transform: translate(-50%, -50%);
  color: var(--white);
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .45));
}
.band__icon use { stroke-width: 2px; }
.band__sign { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: var(--white); }
.band__sofa { width: 170px; height: auto; color: var(--yellow); filter: drop-shadow(0 0 14px rgba(252, 209, 111, .55)); }
.band__word { width: min(760px, 80%); height: auto; filter: drop-shadow(0 0 16px rgba(255, 255, 255, .45)); }

/* -------------------------------------------------------------- Standort */
.locations { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 21.6px; }
.location { width: 300px; padding: 0 20px 40px; text-align: center; }
.location__img { display: block; margin: 0 auto 10px; }
.location__img img { width: 260px; height: 149px; object-fit: cover; }
.location h3 { margin: 0; }
.btn-yellow, .btn-black {
  display: block; width: 100%;
  margin-top: 6px;
  font-size: 15px; line-height: 30px; letter-spacing: .3px;
  text-transform: uppercase; text-align: center;
  transition: filter .2s, background-color .2s;
}
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-black { background: var(--black); color: var(--white); }
.btn-yellow:hover { filter: brightness(1.06); }
.btn-black:hover { background: #2b2b2b; }
.btn-black--inline { display: inline-block; width: auto; padding: 0 22px; }

.btn-white {
  display: inline-block; margin-top: 4px; padding: 5px 22px;
  border: 2px solid var(--white); color: var(--white);
  font-size: 15px; line-height: 21.6px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.btn-white:hover { background: var(--white); color: var(--dark); }
.btn-inline {
  display: inline-block; padding: 5px 22px;
  background: var(--black); color: var(--yellow);
  font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
}
.btn-inline:hover { color: var(--white); }

.pulse-wrap { margin-top: 40px !important; }
.btn-pulse {
  display: inline-block; padding: 12px 30px;
  background: var(--black); color: var(--yellow);
  border: 2px solid var(--black);
  font-size: 15px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  animation: pulse 2s infinite;
}
.btn-pulse:hover { background: var(--yellow); color: var(--black); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, .3); }
  70% { box-shadow: 0 0 0 16px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ---------------------------------------------------- Speisekarte (Burger & mehr) */
.menu { margin-top: -21.6px; }
.menu__rail { position: relative; display: flex; align-items: flex-start; justify-content: center; width: 800px; max-width: 100%; margin: 0 auto; }
.menu__arrow {
  flex: none; width: 50px; height: 50px; margin-top: 70px;
  color: var(--white);
  transition: color .2s, opacity .2s;
}
.menu__arrow .ico { width: 50px; height: 50px; }
.menu__arrow:hover { color: var(--yellow); }
.menu__viewport { width: 680px; overflow: hidden; margin: 0 10px; }
.menu__track { display: flex; transition: transform .45s cubic-bezier(.25, .8, .25, 1); }
.menu__cat { flex: none; width: 136px; display: flex; flex-direction: column; align-items: center; color: var(--white); }
.menu__icon { display: flex; align-items: flex-end; justify-content: center; height: 125px; margin-bottom: 0; }
.menu__icon .ico { width: 80px; height: 80px; transition: transform .25s; }
.menu__label {
  display: block; min-height: 56px; padding-top: 10px;
  font-size: 18px; line-height: 18px; font-weight: 800;
  text-transform: uppercase; text-align: center;
}
.menu__cat:hover .menu__icon .ico { transform: translateY(-3px); }
.menu__cat.is-active, .menu__cat:hover { color: var(--yellow); }
.menu__cat:focus-visible { outline-offset: -2px; }

.menu__panel { display: none; }
.menu__panel.is-active { display: block; animation: fadein .45s ease both; }
.no-js .menu__panel, html:not(.js) .menu__panel { display: block; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.anchor { position: relative; top: -120px; display: block; }

.menu__desc {
  width: 736px; max-width: 100%; margin: 35px auto 20px;
  font-size: 16px; line-height: 21.6px; font-style: italic;
  text-transform: uppercase; text-align: center;
}
.menu__sub {
  width: 850px; max-width: 100%; margin: 10px auto 18px;
  color: var(--yellow);
  font-size: 15px; line-height: 21.6px; font-weight: 800; font-style: italic;
  letter-spacing: .6px; text-transform: uppercase; text-align: center;
}
.menu__items { width: 850px; max-width: 100%; margin: 0 auto; columns: 2; column-gap: 20px; }
.dish { break-inside: avoid; width: 405px; max-width: 100%; margin: 0 auto 30px; text-align: center; }
.dish__name { margin-bottom: 6px; font-size: 16px; line-height: 18px; font-weight: 800; letter-spacing: .32px; text-transform: uppercase; }
.dish__tag { display: inline-block; margin-left: 4px; padding: 0 5px; border: 1px solid var(--yellow); color: var(--yellow); font-size: 11px; line-height: 15px; vertical-align: 2px; }
.dish__desc { font-size: 14px; line-height: 18px; font-style: italic; }
.dish__all { opacity: .7; font-size: 12px; }
.dish__price { margin-top: 4px; color: var(--yellow); font-size: 14px; line-height: 18px; font-weight: 800; letter-spacing: .3px; }
.dish.is-flash { animation: flash 2s ease; }
@keyframes flash { 0%, 40% { background: rgba(252, 209, 111, .18); } 100% { background: transparent; } }

.menu__note { margin-top: 10px; text-align: center; }
.menu__legend { font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--white); }
.menu__legend:hover { color: var(--yellow); }
.menu__allergene { width: 700px; max-width: 100%; margin: 16px auto 0; font-size: 13px; line-height: 19px; text-align: center; opacity: .9; }
.menu__allergene p + p { margin-top: 10px; }

/* --------------------------------------------------------------- Die Herren */
.script { display: flex; flex-direction: column; align-items: center; margin: 10px 0 40px; line-height: 1; }
.script__word { font-family: var(--f-script); font-size: 120px; line-height: .8; color: var(--white); }
.script__tag { margin-top: 8px; font-size: 26px; letter-spacing: 11px; text-transform: lowercase; font-weight: 400; padding-left: 11px; }

/* --------------------------------------------------------------- Footer */
.footer { padding: 20px 20px 34px; background: var(--black); color: var(--white); text-align: center; }
.footer__links { font-size: 12px; line-height: 21.6px; font-weight: 800; letter-spacing: .24px; text-transform: uppercase; }
.footer__links a:hover { color: var(--yellow); }
.footer__copy { margin-top: 10px; font-size: 12px; color: #9a9a92; }

/* ---------------------------------------------------------- Rechtliches */
.section--legal { padding-top: 110px; }
.legal { width: 700px; }
.legal h1 { margin-bottom: 40px; }
.legal h2 { margin: 36px 0 12px; font-family: var(--f-text); font-size: 15px; line-height: 21.6px; font-weight: 800; letter-spacing: .3px; }
.legal p { margin-bottom: 12px; text-align: center; }
.legal a { text-decoration: underline; }
.legal .eyebrow { display: none; }
.legal__stand { color: #666; font-size: 13px; }
.legal__back { margin-top: 36px !important; text-align: center !important; }
.legal__back a { text-decoration: none; }
.todo { padding: 0 4px; background: #fff3c4; border: 1px dashed #b89330; }

/* ============================================================ Tablet & Mobil */
@media (max-width: 1239px) {
  :root { --nav-h: 50px; }
  .nav__inner { width: 100%; padding: 0 20px; }
  .nav__list { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 12px;
    height: var(--nav-h); color: #bdbdb4;
    font-size: 24px; font-weight: 800; letter-spacing: 6px; text-transform: uppercase;
  }
  .nav__toggle .ico { width: 24px; height: 24px; }
  .nav__toggle[aria-expanded="true"], .nav__toggle:hover { color: var(--white); }
  .nav__mobile:not([hidden]) {
    display: block; position: fixed; top: var(--nav-h); left: 0; right: 0;
    margin: 0; padding: 10px 0 20px; list-style: none;
    background: rgba(0, 0, 0, .92);
    text-align: center;
  }
  .nav__mobile a { line-height: 46px; }
  .nav__mobile-order a { color: var(--yellow); }
  .logo { left: auto; right: 10px; top: 8px; width: 132px; height: 75px; transform: none; }
  .hero { height: 450px; min-height: 0; margin-top: var(--nav-h); }
  .band { height: 250px; }
  .menu__viewport { width: 408px; }
  .band__icon { width: 130px; height: 130px; }
}

@media (max-width: 899px) {
  .menu__items { columns: 1; }
}

@media (max-width: 699px) {
  body, .page { font-size: 16px; line-height: 24px; }
  .hero { height: 220px; }
  .top > .scroll-btn { bottom: 12px; width: 78px; height: 45px; }
  .logo { width: 116px; height: 66px; }
  .nav__toggle { font-size: 22px; letter-spacing: 5px; }
  .band { height: 150px; }
  .section { padding: 44px 20px 130px; }
  h1 { font-size: 40px; line-height: 32px; }
  h2 { font-size: 36px; line-height: 28px; }
  .text p + p { margin-top: 24px; }
  .location { width: 100%; padding: 0 0 20px; }
  .location__img img { width: 100%; height: auto; aspect-ratio: 350 / 200; }
  .menu__rail { width: 100%; }
  .menu__viewport { width: 165px; }
  .menu__cat { width: 165px; }
  .menu__desc { margin-top: 24px; }
  .script__word { font-size: 92px; }
  .script__tag { font-size: 18px; letter-spacing: 7px; padding-left: 7px; }
  .band__icon { width: 90px; height: 90px; }
  .band__sofa { width: 90px; }
  .band__sign { gap: 12px; }
  .to-top { right: 14px; bottom: 16px; }
}

/* ======================================================= Bilder & Bewegung */
/* Vorschaubild (im HTML eingebettet) füllt die Fläche, bis das Foto geladen ist */
img.lz { background-size: cover; background-position: center; background-repeat: no-repeat; }
img.is-sharp { animation: sharpen .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes sharpen { from { filter: blur(14px) saturate(.85); } to { filter: none; } }

/* Parallax-Bänder: Foto etwas höher als das Band, JS verschiebt es beim Scrollen */
.band--px > img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; will-change: transform; }
.hero__slide { will-change: transform; }
.fx .hero__img { transform: scale(1.08); transition: transform 7s cubic-bezier(.2, .6, .3, 1); }
.fx .hero__slide.is-active .hero__img { transform: scale(1); }
.top > .scroll-btn { transition: transform .25s ease, opacity .2s linear; }

/* Grundzustand der Auftritte (nur mit JS + ohne „Bewegung reduzieren“) */
.fx [data-rv] { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), clip-path 1.2s cubic-bezier(.7, 0, .2, 1); }
.fx [data-rv="rise"] { opacity: 0; transform: translateY(34px); }
.fx [data-rv="fade"] { opacity: 0; transform: translateY(14px); }
.fx [data-rv="pop"] { opacity: 0; transform: translateY(24px) scale(.94); }
.fx [data-rv="zoom"] { opacity: 0; transform: scale(.96); }
.fx [data-rv].is-in { opacity: 1; transform: none; }

/* Dreierbänder: Vorhang von unten, Bilder nacheinander */
.fx [data-rv="curtain"] > img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.fx [data-rv="curtain"] > img:nth-child(2) { transition-delay: .14s; }
.fx [data-rv="curtain"] > img:nth-child(3) { transition-delay: .28s; }
.fx [data-rv="curtain"].is-in > img { clip-path: inset(0 0 0 0); }

/* Lieferband: der Roller fährt ins Bild */
.fx [data-rv="drive"] .band__icon { transform: translate(-50%, -50%) translateX(-75vw) rotate(-8deg); opacity: 0; transition: transform 1.3s cubic-bezier(.3, 1.35, .5, 1), opacity .4s ease; }
.fx [data-rv="drive"].is-in .band__icon { transform: translate(-50%, -50%); opacity: 1; }

/* „die Herren“: Schriftzug wird geschrieben, Unterzeile rückt zusammen */
.fx [data-rv="write"] .script__word { clip-path: inset(-40% 100% -40% -10%); transition: clip-path 1.6s cubic-bezier(.6, .1, .3, 1); }
.fx [data-rv="write"] .script__tag { opacity: 0; letter-spacing: 22px; transition: opacity .8s ease .9s, letter-spacing 1.2s cubic-bezier(.2, .7, .2, 1) .9s; }
.fx [data-rv="write"].is-in .script__word { clip-path: inset(-40% -10% -40% -10%); }
.fx [data-rv="write"].is-in .script__tag { opacity: 1; letter-spacing: 11px; }

/* Speisekarte: Kategorien fallen nacheinander ein, Gerichte blenden gestaffelt auf */
.fx [data-rv="cats"] .menu__cat, .fx [data-rv="cats"] .menu__arrow { opacity: 0; transform: translateY(-26px); transition: opacity .5s ease, transform .7s cubic-bezier(.3, 1.4, .5, 1), color .2s; }
.fx [data-rv="cats"].is-in .menu__cat, .fx [data-rv="cats"].is-in .menu__arrow { opacity: 1; transform: none; }
.fx [data-rv="cats"] .menu__cat:nth-child(2) { transition-delay: .08s; }
.fx [data-rv="cats"] .menu__cat:nth-child(3) { transition-delay: .16s; }
.fx [data-rv="cats"] .menu__cat:nth-child(4) { transition-delay: .24s; }
.fx [data-rv="cats"] .menu__cat:nth-child(5) { transition-delay: .32s; }
.fx [data-rv="cats"] .menu__arrow:last-child { transition-delay: .4s; }
.fx .menu__panel.is-active .menu__desc, .fx .menu__panel.is-active .dish { animation: dishIn .55s cubic-bezier(.2, .7, .2, 1) both; }
.fx .menu__panel.is-active .dish:nth-child(2) { animation-delay: .05s; }
.fx .menu__panel.is-active .dish:nth-child(3) { animation-delay: .1s; }
.fx .menu__panel.is-active .dish:nth-child(4) { animation-delay: .15s; }
.fx .menu__panel.is-active .dish:nth-child(5) { animation-delay: .2s; }
.fx .menu__panel.is-active .dish:nth-child(n+6) { animation-delay: .25s; }
@keyframes dishIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Schlussband: Neon geht an, erst das Sofa, dann der Schriftzug */
.fx [data-rv="neon"] .band__sofa, .fx [data-rv="neon"] .band__word { opacity: .08; }
.fx [data-rv="neon"].is-in .band__sofa { animation: neon 1.1s steps(1, end) .2s both; }
.fx [data-rv="neon"].is-in .band__word { animation: neon 1.3s steps(1, end) .8s both; }
@keyframes neon { 0% { opacity: .08; } 12% { opacity: 1; } 18% { opacity: .15; } 30% { opacity: 1; } 36% { opacity: .3; } 44%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
