:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --surface: #fffdf8;
  --ink: #221c1a;
  --muted: #665954;
  --rule: #dcd0c5;
  --wine: #822b39;
  --wine-dark: #62212c;
  --serif: Georgia, "Times New Roman", serif;
  --radius: clamp(1.1rem, 2vw, 1.55rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; }
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.shell { width: min(75rem, calc(100% - clamp(2rem, 8vw, 7rem))); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 110;
  top: .5rem;
  left: .5rem;
  transform: translateY(-160%);
  background: var(--surface);
  padding: .65rem 1rem;
}
.skip-link:focus { transform: none; }
.demo-ribbon {
  padding: .38rem 1rem;
  background: #2b211f;
  color: #f7ece3;
  text-align: center;
  font-size: .77rem;
  font-weight: 650;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--rule);
  background: #f7f3ecf2;
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 2rem;
  min-height: 4.65rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: .7rem;
  width: fit-content;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--wine);
  color: #fff6eb;
  font: italic 1.8rem/1 var(--serif);
}
.brand-name { display: flex; flex-direction: column; gap: .18rem; line-height: 1; }
.brand-name strong { font: 700 1.58rem/1 var(--serif); letter-spacing: -.045em; }
.brand-name small { font-weight: 750; font-size: .59rem; letter-spacing: .24em; padding-left: .09rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(.75rem, 2.7vw, 2.3rem); }
.site-header nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .91rem;
  font-weight: 660;
  text-decoration: none;
}
.site-header nav a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: .24em; }
.site-header nav #home-test-access {
  padding-inline: .75rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  color: var(--wine);
}

.location-landing { padding-block: clamp(1.35rem, 3.8vw, 3.7rem) clamp(1.6rem, 4vw, 3.8rem); }
.location-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(1.5rem, 5.5vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 7.5vw, 6rem);
}
.welcome-copy { min-width: 0; padding-block: .65rem; }
.eyebrow {
  display: block;
  color: var(--wine);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.location-heading h1 {
  margin: .66rem 0 0;
  font: 400 clamp(3.45rem, 7.9vw, 7.1rem)/.94 var(--serif);
  letter-spacing: -.069em;
}
.location-heading h1 em { color: var(--wine); font-weight: 400; }
.welcome-copy > p {
  max-width: 32rem;
  margin: clamp(1rem, 2.3vw, 1.55rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.17rem);
}
.welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: 1.5rem; }
.primary-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  color: #fffdf7;
  font-size: .97rem;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
}
.primary-cta {
  padding: .6rem 1.28rem;
  cursor: pointer;
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: .62rem;
}
.primary-cta:hover:not(:disabled) { background: var(--wine-dark); border-color: var(--wine-dark); }
.primary-cta:disabled { opacity: .56; cursor: not-allowed; }
.text-link { color: var(--wine); text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--wine-dark); text-decoration-thickness: 2px; }
.welcome-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: clamp(20rem, 34vw, 27rem);
  padding: clamp(.75rem, 2.2vw, 1.6rem);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 51% 59%, #d4a365 0, #8e493e 33%, transparent 70%),
    linear-gradient(137deg, #3f1c24, #21191a 90%);
}
.welcome-scene::before,
.welcome-scene::after {
  position: absolute;
  pointer-events: none;
  content: "";
}
.welcome-scene::before {
  inset: clamp(.7rem, 1.62vw, 1.22rem);
  border: 1px solid #ffe5c25e;
  border-radius: calc(var(--radius) - .34rem);
}
.welcome-scene::after {
  inset: 0;
  z-index: -1;
  background: conic-gradient(from 35deg at 63% 0, transparent 0 112deg, #ffe2a927 132deg, transparent 151deg 218deg, #ffe6b326 242deg, transparent 262deg);
}
.location-teddy {
  width: min(85%, 18.7rem);
  border: 1px solid #f9d7ab50;
  border-radius: 49% 49% .86rem .86rem / 23% 23% .86rem .86rem;
  box-shadow: 0 .7rem 2.1rem #2b170fb0;
  animation: location-teddy 6.5s ease-in-out infinite;
}
@keyframes location-teddy { 50% { transform: translateY(-4px); } }

.location-section-head,
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .6rem 1.25rem;
  margin: 0 0 1.05rem;
}
.location-section-head h2,
.section-header h2,
.teddy-game h2 {
  margin: 0;
  font: 400 clamp(2.15rem, 4.2vw, 3.4rem)/1.03 var(--serif);
  letter-spacing: -.055em;
}
.location-section-head p,
.section-header > p { max-width: 28rem; margin: 0; color: var(--muted); }
.section-header .eyebrow { margin-bottom: .35rem; }
.location-strips { display: grid; gap: .86rem; }
.location-strip {
  --strip-color: #142036;
  --strip-accent: #f6d598;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 15.5rem;
  overflow: hidden;
  border: 1px solid #ffffff30;
  border-radius: var(--radius);
  background: var(--strip-color);
  color: #fff9f0;
}
.location-strip--twisteden { --strip-color: #1d3025; --strip-accent: #ead4a3; }
.location-strip--straelen { --strip-color: #3b2630; --strip-accent: #efd0bd; }
.location-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  min-width: 0;
  padding: clamp(1.25rem, 3.6vw, 2.65rem);
}
.location-content h2 {
  margin: 0;
  font: 400 clamp(2.6rem, 5.2vw, 4.45rem)/.95 var(--serif);
  letter-spacing: -.055em;
}
.location-content p { margin: 0; }
.location-caption { color: var(--strip-accent); }
.location-content .location-closed {
  margin-block-start: .35rem;
  padding: .31rem .68rem;
  border: 1px solid #fff6eb63;
  border-radius: .45rem;
  color: #fff6ee;
  font-size: .88rem;
  font-weight: 650;
}
.location-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .7rem; }
.location-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem .85rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--wine);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.location-action:hover { background: #f0e5dc; }
.location-strip .location-action { border-color: transparent; background: var(--strip-accent); color: #201717; }
.location-strip .location-action:hover { background: #fff0d2; }
.location-strip .location-action--outline { border-color: #fff6eb75; background: transparent; color: #fff9f0; }
.location-strip .location-action--outline:hover { background: #ffffff1b; }
.location-strip :focus-visible { outline-color: #fdecba; }
.location-visual { display: grid; place-items: center; min-height: 10.5rem; }
.location-visual--sofa {
  background:
    radial-gradient(ellipse at 68% 85%, #b17e6c5e 0, #b17e6c5e 28%, transparent 29%),
    linear-gradient(140deg, #5e3b43, #3b2b3b 58%, #7b514d);
}
.straelen-lounge { position: relative; width: min(82%, 17.5rem); height: 8.6rem; }
.straelen-sofa {
  position: absolute;
  inset: 1.6rem 0 1.65rem;
  border: .65rem solid #986154;
  border-bottom-width: 1.2rem;
  border-radius: 1.35rem 1.35rem .8rem .8rem;
  background: linear-gradient(90deg, #be8b76 32%, #a36f5d 33%, #b98471 35% 65%, #a36f5d 66%, #be8b76 68%);
  box-shadow: 0 .7rem 1rem #20132470;
}
.straelen-bears {
  position: absolute;
  inset: auto 1.2rem 2.55rem;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: .3rem;
}
.straelen-bear {
  width: min(23%, 2.6rem);
  aspect-ratio: 1;
  border: 1px solid #e9c0a5;
  border-radius: 50%;
  background: url('/familie/familie.png') 9% 40% / 400% auto no-repeat;
}
.straelen-bear:nth-child(2) { background-position: 32% 61%; }
.straelen-bear:nth-child(3) { background-position: 64% 73%; }
.straelen-bear:nth-child(4) { background-position: 97% 77%; }
.straelen-playmat {
  position: absolute;
  inset: auto .9rem 0;
  height: 1.2rem;
  transform: rotate(-4deg);
  border: 2px solid #e6b18c;
  border-radius: 70%;
  background: repeating-linear-gradient(100deg, #deaa7e 0 .6rem, #9a695f .6rem 1rem, #efd0ad 1rem 1.3rem);
}
.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.1rem;
}
.teddy-family { margin-bottom: clamp(2rem, 5vw, 4rem); }
.teddy-family summary {
  width: fit-content;
  min-height: 44px;
  padding: .62rem .8rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  color: var(--ink);
  font-weight: 680;
  cursor: pointer;
}
.teddy-family summary:hover { background: #efe5db; }
.teddy-family-image { width: min(100%, 42rem); margin-top: .7rem; border-radius: var(--radius); }

.section { padding-block: clamp(1.25rem, 4vw, 3rem); }
.menu-section { border-top: 1px solid var(--rule); }
.menu-location-controls { margin-block: 1rem; }
.menu-location-controls button { cursor: pointer; }
.menu-location-controls button[aria-pressed="true"], .filter[aria-pressed="true"] {
  border-color: var(--wine);
  background: var(--wine);
  color: #fffdf7;
}
.notice {
  margin: 0;
  padding: .9rem 1.12rem;
  border: 1px solid var(--rule);
  border-radius: .65rem;
  background: var(--surface);
  color: var(--muted);
}
.notice.error { border-color: var(--wine); color: var(--wine-dark); }
.tools { display: grid; gap: .75rem; margin-block: .8rem 1rem; }
.search { width: min(100%, 29rem); }
.search input,
.drinks-controls input,
.drinks-controls select,
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem .75rem;
  border: 1px solid #a7978b;
  border-radius: .52rem;
  background: var(--surface);
  color: var(--ink);
}
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter,
.demo-add {
  min-height: 44px;
  padding: .4rem .78rem;
  border: 1px solid var(--rule);
  border-radius: .55rem;
  background: var(--surface);
  color: var(--wine);
  cursor: pointer;
  font-weight: 680;
}
.filter:hover:not([aria-pressed="true"]), .demo-add:hover { background: #f0e5dc; }
.draft-toggle { display: flex; align-items: center; min-height: 44px; gap: .55rem; color: var(--muted); width: fit-content; cursor: pointer; }
.draft-toggle input { accent-color: var(--wine); width: 1.18rem; height: 1.18rem; margin: 0; }
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .82rem; }
.menu-item {
  display: flex;
  flex-direction: column;
  gap: .57rem;
  min-width: 0;
  padding: .68rem;
  border: 1px solid var(--rule);
  border-radius: .85rem;
  background: var(--surface);
}
.menu-item > :not(.dish-photo) { margin-inline: .38rem; }
.dish-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: .6rem;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 24%, #98526425 24.5% 25%, transparent 25.5% 29%, #98526422 29.5% 30%, transparent 30.5%),
    linear-gradient(145deg, #f0e7df, #e7d6ca);
}
.dish-photo-placeholder {
  color: #684952;
  font-size: .8rem;
  font-weight: 650;
  text-align: center;
}
.dish-photo-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item-top, .menu-item .price { display: flex; justify-content: space-between; align-items: baseline; gap: .35rem; }
.item-top { margin-top: .32rem; }
.item-number { font-size: .75rem; font-weight: 760; color: var(--wine); }
.status-pill { color: var(--muted); font-size: .75rem; text-align: right; }
.menu-item h3 { margin-block: 0; font: 700 clamp(1.18rem, 2vw, 1.43rem)/1.15 var(--serif); letter-spacing: -.018em; overflow-wrap: anywhere; }
.menu-item .description { margin-block: 0; color: var(--muted); font-size: .92rem; }
.menu-item .price { margin-top: auto; padding-block: .62rem .18rem; color: var(--wine); font-weight: 720; }
.menu-item .price small { color: var(--muted); font-size: .75rem; font-weight: 520; text-align: right; }
.menu-item .demo-add { margin-bottom: .3rem; }
.empty { grid-column: 1 / -1; }
.footnote { color: var(--muted); font-size: .9rem; }
.drinks-section {
  margin-top: 1rem;
  border: 1px solid var(--rule);
  border-radius: .8rem;
  background: var(--surface);
}
.drinks-section summary {
  padding: .8rem 1rem;
  color: var(--ink);
  font-weight: 740;
  cursor: pointer;
}
.drinks-section summary small { display: inline-block; color: var(--muted); margin-left: .5rem; font-weight: 500; }
.drinks-inner { padding: 0 1rem 1rem; }
.drinks-controls { display: flex; flex-wrap: wrap; gap: .64rem; margin-bottom: .9rem; }
.drinks-controls label { display: grid; flex: 1 1 13rem; gap: .3rem; }
.drinks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .58rem; }
.drink-card { display: grid; gap: .28rem; padding: .75rem; border: 1px solid var(--rule); border-radius: .55rem; }
.drink-type, .drink-number, .drink-card small { color: var(--muted); font-size: .77rem; }
.drink-price { color: var(--wine); font-weight: 690; }

.context-panel { padding: 1.15rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.demo-order-layout { display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 1rem; }
.demo-form, .customer-fields { display: grid; gap: .52rem; }
.demo-form label { color: var(--muted); }
.demo-form textarea { resize: vertical; }
.customer-fields h3 { margin: .65rem 0 0; }
.demo-order-warning { margin: 0; color: var(--wine); font-weight: 680; }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.cart-line strong { flex: 1 1 10rem; }
.quantity-btn { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: .5rem; background: var(--surface); color: var(--ink); cursor: pointer; }

.teddy-game {
  display: grid;
  grid-template-columns: minmax(0, .66fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0 0 .85rem;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: #29211f;
  color: #fff6e9;
}
.teddy-game img { width: min(100%, 16rem); border-radius: .8rem; margin-inline: auto; }
.teddy-game h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
.teddy-game p { margin: .5rem 0; }
.teddy-game .game-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin: .75rem 0; }
.teddy-game button {
  min-height: 44px;
  padding: .4rem .7rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  background: #eed4a6;
  color: #261b17;
  font-weight: 720;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.teddy-game button:hover { background: #fff0d0; }
.teddy-game button:focus-visible { outline-color: #fff0d0; }
.teddy-game .game-reset { border-color: #eed4a6; background: transparent; color: #fff0d0; }
.teddy-game .game-reset:hover { background: #ffffff12; }
.teddy-game progress { width: 100%; height: .76rem; accent-color: #eed4a6; }
#game-recipe { font: 700 clamp(1.21rem, 3vw, 1.65rem)/1.2 var(--serif); color: #eed4a6; }

#testHinweise { padding-top: .45rem; }
#testHinweise a { color: var(--wine); text-underline-offset: .25em; }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1rem; }
.footer-grid address { margin-top: .25rem; color: var(--muted); font-size: .9rem; font-style: normal; }

@media (max-width: 800px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .location-section-head, .section-header { align-items: start; flex-direction: column; }
}
@media (max-width: 660px) {
  html { scroll-padding-top: 7.4rem; }
  .header-inner { flex-wrap: wrap; gap: .2rem; padding-top: .62rem; }
  .site-header nav { flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 0 .32rem; }
  .site-header nav a { font-size: .82rem; }
  .site-header nav #home-test-access { padding-inline: .42rem; }
  .location-heading { grid-template-columns: 1fr; }
  .location-heading h1 { font-size: clamp(3.2rem, 12vw, 5.3rem); }
  .welcome-scene { min-height: clamp(12rem, 52vw, 20rem); }
  .location-teddy { width: min(61%, 14.5rem); }
  .location-strip { grid-template-columns: 1fr; }
  .location-content h2 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .teddy-game, .demo-order-layout { grid-template-columns: 1fr; }
  .teddy-game img { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid .wordmark { grid-column: 1 / -1; }
}
@media (max-width: 485px) {
  .menu-grid { grid-template-columns: 1fr; }
  .location-action { font-size: .87rem; }
  .location-links { gap: .4rem; }
  .location-links .location-action { justify-content: flex-start; width: 100%; }
}
@media (max-width: 350px) {
  .site-header nav a { font-size: .77rem; }
  .site-header nav #home-test-access { padding-inline: .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .location-teddy { animation: none; }
}
