/* Bootshaus v4 layout. Reference measurements: refs/figl/REFERENCE-CONTRACT.md. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--brand); font: 400 var(--t-body)/var(--lh-body) var(--f); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 20px; font-weight: 400; }
p { margin: 0 0 30px; }
p:last-child { margin-bottom: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 20000; background: var(--white); padding: 12px 16px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* bar (s3) */
.bar { position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 10000; background: transparent; box-shadow: none;
  transition: background .6s var(--ease), box-shadow .6s var(--ease); }
.scrolled .bar, .solid .bar { background: var(--white); box-shadow: 0 0 50px rgba(0,0,0,.25); }
.logo { position: absolute; left: 50%; top: 100px; height: 149px; transform: translateX(-50%); transition: top .6s var(--ease), height .6s var(--ease); }
.logo img { height: 100%; width: auto; }
.scrolled .logo, .solid .logo { top: 15px; height: 70px; }
.toggle { position: absolute; left: var(--inset); top: 76px; display: flex; align-items: center; gap: 14px; min-height: 48px;
  padding: 0; border: 0; background: none; color: var(--brand); font: 400 var(--t-link)/24px var(--f); text-transform: uppercase; letter-spacing: .8px; cursor: pointer;
  transition: top .6s var(--ease); }
.toggle svg { width: 22px; height: 20px; }
.scrolled .toggle, .solid .toggle { top: 26px; }
.bar-order { position: absolute; left: calc(var(--inset) + 140px); top: 76px; min-height: 48px; display: flex; align-items: center;
  font: 400 var(--t-link)/24px var(--f); text-transform: uppercase; letter-spacing: .8px; color: var(--brand);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; transition: top .6s var(--ease); }
.scrolled .bar-order, .solid .bar-order { top: 26px; }
/* s4 reserve badge */
.badge-res { position: absolute; right: var(--inset); top: -25px; width: 150px; height: 150px; border-radius: 50%; background: var(--brand); color: var(--white);
  border: 2px solid var(--brand); display: grid; place-items: center; padding-top: 25px; text-align: center; text-decoration: none;
  font: 400 var(--t-link)/22px var(--f); letter-spacing: .4px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.badge-res:hover { color: var(--accent); border-color: var(--accent); }
/* menu panel */
.panel { position: fixed; left: 0; top: 0; bottom: 0; width: 580px; z-index: 9999; background: rgba(var(--brand-rgb), .9); color: var(--white);
  padding: 159px 80px 20px 100px; overflow-y: auto; opacity: 0; transform: translateX(-100%); visibility: hidden;
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.menu-open .panel { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .toggle { color: var(--white); }
.menu-open.scrolled .toggle, .menu-open.solid .toggle { color: var(--brand); }
.panel ul { list-style: none; margin: 0 0 40px; padding: 0; }
.panel li a { display: flex; align-items: center; min-height: 52px; color: var(--white); text-decoration: none; font: 400 var(--t-link)/24px var(--f);
  text-transform: uppercase; letter-spacing: .8px; transition: color .3s var(--ease); }
.panel li a:hover, .panel li a[aria-current] { color: var(--accent); }
.panel p { font-size: var(--t-link); line-height: 28px; }
.panel p a { color: var(--white); }
@media (max-width: 1599px) { .panel { width: 500px; } }

/* layout */
main { display: block; }
.center { max-width: var(--c); margin: 0 auto; padding: 0 var(--pad); }
.ce { margin-bottom: var(--gap); }
.article { padding-top: 180px; }
.h1, .display { text-align: center; font-size: var(--t-h1); line-height: var(--lh-h1); text-transform: uppercase; }
.h2 { font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: 700; }
.two { display: grid; grid-template-columns: 500px 500px; gap: 50px; justify-content: center; }
.two .h2 { margin: 0; }
.col8 { max-width: var(--c-col); margin-left: auto; margin-right: auto; text-align: center; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 36px; }
.tl { display: inline-flex; align-items: center; min-height: 48px; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 7px; font: 400 var(--t-link)/36px var(--f); text-transform: uppercase; letter-spacing: .8px; }
.tl:hover { text-decoration-thickness: 2px; }
.note { font-style: italic; font-size: 18px; line-height: 27px; }
figure { margin: 0; position: relative; }
.ph-badge { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); color: var(--brand); font: 400 18px/1 var(--f); padding: 6px 10px; }
.wideimg { max-width: 1107px; margin-left: auto; margin-right: auto; }
.wideimg img { width: 100%; aspect-ratio: 1107 / 658; object-fit: cover; }
.wide { max-width: var(--c-wide); margin-left: auto; margin-right: auto; }

/* hero slider (s5.1) */
.hero { width: min(1300px, calc(100% - 140px)); margin: 50px auto 180px; position: relative; aspect-ratio: 1300 / 950; overflow: hidden; touch-action: pan-y; }
.track { display: flex; height: 100%; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.arrow { position: absolute; top: 50%; width: 55px; height: 48px; margin-top: -24px; padding: 9px 0; border: 0; background: none; color: var(--white); cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); z-index: 2; }
.arrow svg { width: 100%; height: 30px; }
.arrow.prev { left: 50px; } .arrow.next { right: 50px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* p4 menu (funnel-teardown s6): tabs, sticky category nav, rows with right-aligned price */
.small { font-size: 18px; line-height: 27px; }
.mk { max-width: var(--c-wide); margin: 0 auto var(--gap); padding: 0 var(--pad); }
.tabs { display: flex; justify-content: center; gap: 0 48px; margin: 0 0 10px; }
.tab { display: inline-flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--brand); text-decoration: none; border-bottom: 3px solid transparent;
  font: 400 var(--t-link)/24px var(--f); text-transform: uppercase; letter-spacing: .8px; transition: border-color .3s var(--ease); }
.tab[aria-selected="true"] { border-bottom-color: var(--brand); font-weight: 700; }
.catnav { position: sticky; top: var(--bar); z-index: 50; display: flex; justify-content: safe center; gap: 0 28px; overflow-x: auto; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--pad)) 50px; padding: 0 var(--pad); background: var(--cream); border-bottom: 1px solid rgba(var(--brand-rgb), .25); scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 52px; color: var(--brand); text-decoration: none; font-size: 18px; line-height: 24px;
  border-bottom: 3px solid transparent; }
.catnav a.on { border-bottom-color: var(--brand); font-weight: 700; }
.menu3 { max-width: var(--c-text); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 25px; align-items: start; }
.cat { break-inside: avoid; margin: 0 0 50px; scroll-margin-top: calc(var(--bar) + 70px); }
.cat h2, .lunch h2 { font-size: var(--t-mh); line-height: var(--lh-mh); text-transform: uppercase; letter-spacing: 1px; text-align: center; margin: 0 0 20px; }
.band { margin: 0 0 20px; }
.band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.items { list-style: none; margin: 0; padding: 0; text-align: left; }
.items li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; margin: 0 0 14px; }
.items li > span:first-child { font-weight: 700; }
.items .price { grid-column: 2; grid-row: 1; text-align: right; white-space: nowrap; }
.items .desc { grid-column: 1; grid-row: 2; font-style: italic; font-size: 18px; line-height: 26px; }
.items .tbd { font-style: italic; font-size: 18px; }
.after p { font-size: 18px; line-height: 27px; margin: 10px 0 0; font-style: italic; }
/* B: dish cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 25px; margin-bottom: var(--gap); }
.card { background: var(--white); }
.card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-txt { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 22px 26px; }
.card-txt h3 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; }
.card-txt .price { white-space: nowrap; font-size: 22px; line-height: 28px; }
.card-txt p { grid-column: 1 / -1; margin: 0; font-style: italic; font-size: 18px; line-height: 26px; }
/* C: sticky photo left, list right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 60px; align-items: start; }
.stage { position: sticky; top: calc(var(--bar) + 76px); height: calc(100vh - var(--bar) - 116px); max-height: 760px; }
.stage figure { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.stage figure.on { opacity: 1; }
.stage img { width: 100%; height: 100%; object-fit: cover; }
.split-list .cat h2 { text-align: left; }
/* p4 content blocks */
.two.media { align-items: center; }
.media figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.media .h2 { margin: 0 0 20px; }
.media .links { justify-content: flex-start; }
@media (min-width: 761px) { .media.flip > figure { order: 2; } }
.lunch { max-width: var(--c-col); margin: 0 auto var(--gap); background: var(--white); padding: 50px 60px; }
.lunch .note { margin: 20px 0 0; text-align: center; }
@media (max-width: 1150px) and (min-width: 761px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .menu3 { grid-template-columns: minmax(0, 1fr); }
  .tabs { gap: 0 32px; }
  .catnav { justify-content: flex-start; gap: 0 22px; margin-bottom: 30px; }
  .cards { grid-template-columns: 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; }
  .stage { top: calc(var(--bar) + 53px); height: 170px; max-height: none; z-index: 40; margin: 0 calc(-1 * var(--pad)) 24px; }
  .lunch { padding: 30px 20px; }
}

/* facts, faq, contact */
.kv { margin: 0; }
.kv dt { font-weight: 700; }
.kv dd { margin: 0 0 20px; }
.faq details { border-top: 2px solid var(--brand); }
.faq details:last-child { border-bottom: 2px solid var(--brand); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-weight: 700; font-size: 22px; line-height: 30px; padding: 14px 0; text-align: left; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 30px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { text-align: left; padding-bottom: 20px; }
.two h3 { font-size: var(--t-body); line-height: var(--lh-body); font-weight: 700; margin: 0 0 10px; }
.fassade img { width: 100%; aspect-ratio: 2.6; object-fit: cover; }
.legal-col { max-width: var(--c-text); margin: 0 auto var(--gap); }
.legal-col h2 { font-size: var(--t-h2); line-height: var(--lh-h2); font-weight: 700; margin-top: 40px; }
.fehlt { background: #fff2b3; color: #4a3b00; padding: 0 4px; }

/* reservation demo, 1300 embed block */
.res { max-width: var(--c-wide); margin: 0 auto var(--gap); padding: 60px var(--pad); background: var(--white); }
.res-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px 30px; max-width: 1050px; margin: 0 auto; }
.res-form label { display: flex; flex-direction: column; gap: 6px; font-size: 18px; font-weight: 700; }
.res-form .full { grid-column: 1 / -1; }
.res-form input, .res-form select, .res-form textarea { font: 400 20px/28px var(--f); color: var(--brand); min-height: 56px; padding: 12px 14px;
  border: 2px solid var(--brand); border-radius: 0; background: var(--cream); width: 100%; }
.res-form textarea { min-height: 110px; }
.res-btn { min-height: 56px; border: 2px solid var(--brand); border-radius: 0; background: var(--brand); color: var(--white); cursor: pointer;
  font: 400 var(--t-link)/24px var(--f); text-transform: uppercase; letter-spacing: .8px; transition: background .3s var(--ease), color .3s var(--ease); }
.res-btn:hover { background: var(--white); color: var(--brand); }
.res-err { color: #8a1c1c; font-weight: 700; }
.res-ok { max-width: var(--c-col); margin: 0 auto; text-align: center; }
.res-ok dl { display: grid; grid-template-columns: auto auto; gap: 6px 20px; justify-content: center; text-align: left; margin: 0 0 30px; }
.res-ok dt { font-weight: 700; } .res-ok dd { margin: 0; }

/* footer (s5.7) */
.foot { background: var(--brand); color: var(--white); padding: 100px var(--pad) 60px; }
.foot a { color: var(--white); transition: color .3s var(--ease); }
.foot a:hover { color: var(--accent); }
.foot-top { display: grid; grid-template-columns: repeat(3, 350px); justify-content: center; align-items: start; text-align: center; }
.foot-top ul { list-style: none; margin: 0; padding: 0; }
.foot-top li a, .foot-tiles a { text-decoration: none; text-transform: uppercase; letter-spacing: .8px; font-size: var(--t-link); line-height: 24px;
  display: inline-flex; min-height: 44px; align-items: center; }
.foot-logo { display: block; }
.foot-logo img { height: 100px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.foot-top p { font-size: var(--t-link); line-height: 28px; }
.foot hr { border: 0; border-top: 2px solid var(--white); max-width: 1050px; margin: 60px auto 80px; }
.foot-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 25px; list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; }
.foot-tiles li { width: 190px; text-align: center; margin-bottom: 40px; }
.foot-tiles a { display: flex; flex-direction: column; width: 100%; }
.foot-tiles img { width: 190px; height: 190px; object-fit: cover; filter: grayscale(1) brightness(1.25); margin-bottom: 20px; }
.foot-small { max-width: 1050px; margin: 40px auto 0; font-size: 18px; line-height: 24px; text-align: center; }

/* reveal (s7) */
.js .ce { opacity: 0; transform: translateY(100px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .ce.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .ce { opacity: 1; transform: none; transition: none; }
  .track, .bar, .logo, .panel, .toggle, .bar-order { transition: none !important; }
}

@media (max-width: 1150px) {
  .two { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
/* phone: own 390 layout, not the reference 480 render */
@media (max-width: 760px) {
  .bar { background: var(--white); box-shadow: 0 0 50px rgba(0,0,0,.25); }
  .logo, .scrolled .logo, .solid .logo { top: 10px; height: 55px; }
  .toggle, .scrolled .toggle, .solid .toggle { left: 20px; top: 13.5px; }
  .bar-order { display: none; }
  .badge-res { right: 12px; top: -30px; width: 100px; height: 100px; padding-top: 30px; font-size: 14px; line-height: 17px; }
  .panel { width: 100%; background: var(--brand); padding: 114px 30px 20px 50px; }
  .hero { width: calc(100% - 40px); margin: 100px auto 60px; }
  .arrow.prev { left: 6px; } .arrow.next { right: 6px; }
  .arrow { width: 44px; }
  .article { padding-top: 135px; }
  .two { grid-template-columns: 1fr; gap: 20px; }
  .res { padding: 30px 20px; }
  .res-form { grid-template-columns: 1fr; }
  .foot { padding: 60px 25px 40px; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot hr { margin: 40px auto 50px; }
  .foot-tiles { gap: 0 20px; }
  .foot-tiles li { width: calc(50% - 10px); }
  .foot-tiles img { width: 100%; height: auto; aspect-ratio: 1; }
}
