/* Erzeugt aus dem Handoff-Paket wiedemann-menu.css, gekapselt unter
   .ww-karte. Nicht von Hand bearbeiten — Änderungen gehören in die Quelle
   und werden neu umgeformt (scratchpad/css-kapseln.mjs).

   Entfernt wurden: globale Resets, Seiten-Kopf und -Fuß der Einzelseite
   sowie der ungenutzte .opening-*-Block. Die Höhenangaben rechnen im
   Original mit calc(100dvh - 128px) für Kopf und Fuß; fürs Overlay werden
   sie in overlay.css überschrieben. */

.ww-karte {
  --ink: #111110;
  --surface: #191918;
  --surface-raised: #232321;
  --paper: #f2ede2;
  --muted: #b9b3a7;
  --gold: #c6a24d;
  --gold-bright: #ddb95f;
  --line: rgb(198 162 77 / 0.42);
}
.ww-karte .text-button {
  border: 0;
  border-bottom: 1px solid var(--gold);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  line-height: 1.2;
  padding: 8px 0 6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.ww-karte .text-button:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.ww-karte .closed-scene {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
  width: min(100% - 48px, 1180px);
  min-height: calc(100dvh - 128px);
  margin: 0 auto;
  padding: 32px 0;
}
.ww-karte .closed-copy {
  align-self: center;
  padding-left: clamp(0px, 3vw, 52px);
}
.ww-karte .closed-copy > p {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ww-karte .closed-copy h1 {
  max-width: 480px;
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.ww-karte .closed-copy > span {
  display: block;
  max-width: 33ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.ww-karte .cover-trigger {
  display: grid;
  justify-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  padding: 0;
}
.ww-karte .cover-trigger img {
  display: block;
  width: min(100%, 620px);
  max-height: calc(100dvh - 210px);
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgb(0 0 0 / 0.26));
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms ease;
}
.ww-karte .cover-trigger > span {
  margin-top: 12px;
  border-bottom: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  padding-bottom: 6px;
  text-transform: uppercase;
}
.ww-karte .cover-trigger:hover img {
  filter: drop-shadow(0 34px 34px rgb(0 0 0 / 0.4));
  transform: translateY(-6px) scale(1.012);
}
.ww-karte .cover-trigger:active img {
  transform: translateY(-2px) scale(0.995);
}
.ww-karte .opened-scene {
  min-height: calc(100dvh - 128px);
  animation: sceneIn 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ww-karte .reader {
  width: 100%;
  min-height: calc(100dvh - 128px);
  padding: 18px 24px 28px;
  outline: none;
}
.ww-karte .reader-toolbar {
  display: grid;
  grid-template-columns: 44px auto 44px 1fr;
  align-items: center;
  gap: 10px;
  width: min(100%, 1000px);
  margin: 0 auto 14px;
  transition: opacity 220ms ease;
}
.ww-karte .reader.is-auto-opening .reader-toolbar,
.ww-karte .reader.is-auto-opening .reader-hint {
  pointer-events: none;
  opacity: 0;
}
.ww-karte .reader-toolbar .text-button {
  justify-self: end;
}
.ww-karte .icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(198 162 77 / 0.38);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.ww-karte .icon-button span {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-1px);
}
.ww-karte .icon-button:hover:not(:disabled) {
  border-color: var(--gold-bright);
  background: #2b2b28;
}
.ww-karte .icon-button:active:not(:disabled) {
  transform: scale(0.96);
}
.ww-karte .icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}
.ww-karte .page-status {
  min-width: 108px;
  color: var(--muted);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-align: center;
}
.ww-karte .book-stage {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
  opacity: 0.3;
  transition: opacity 380ms ease;
}
.ww-karte .book-stage.is-ready {
  opacity: 1;
}
.ww-karte .book-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid rgb(198 162 77 / 0.18);
  background: linear-gradient(110deg, #191918 20%, #232321 40%, #191918 60%);
  background-size: 220% 100%;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: loadingSweep 1.8s ease-in-out infinite;
}
.ww-karte .book-shell,
.ww-karte .book-root {
  width: 100%;
  margin: 0 auto;
}
.ww-karte .stf__parent {
  position: relative;
  display: block;
  box-sizing: border-box;
  transform: translateZ(0);
  touch-action: pan-y;
}
.ww-karte .stf__wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.ww-karte .stf__block {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  perspective: 2000px;
}
.ww-karte .stf__item {
  position: absolute;
  display: none;
  transform-style: preserve-3d;
}
.ww-karte .stf__outerShadow,
.ww-karte .stf__innerShadow,
.ww-karte .stf__hardShadow,
.ww-karte .stf__hardInnerShadow {
  position: absolute;
  top: 0;
  left: 0;
}
.ww-karte .menu-page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 35% 20%, rgb(255 255 255 / 0.035), transparent 34%),
    radial-gradient(ellipse at 70% 75%, rgb(0 0 0 / 0.2), transparent 48%),
    repeating-radial-gradient(circle at 40% 30%, #242422 0, #242422 1px, #21211f 2px, #232321 4px);
  box-shadow: inset 0 0 46px rgb(0 0 0 / 0.38);
  color: var(--paper);
}
.ww-karte .menu-cover-page {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.ww-karte .menu-cover-page > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ww-karte .menu-page-welcome {
  background:
    radial-gradient(circle at 50% 31%, rgb(198 162 77 / 0.1), transparent 32%),
    radial-gradient(ellipse at 70% 75%, rgb(0 0 0 / 0.22), transparent 48%),
    repeating-radial-gradient(circle at 40% 30%, #242422 0, #242422 1px, #21211f 2px, #232321 4px);
}
.ww-karte .welcome-frame {
  align-items: center;
  justify-content: center;
  padding-inline: 52px;
  text-align: center;
}
.ww-karte .welcome-crest {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  object-fit: contain;
}
.ww-karte .welcome-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ww-karte .welcome-frame h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}
.ww-karte .welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: 26px 0 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  line-height: 1.68;
}
.ww-karte .welcome-signoff {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgb(198 162 77 / 0.5);
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.75rem;
  font-style: italic;
}
.ww-karte .page-frame {
  position: absolute;
  inset: 17px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--gold);
  padding: 42px 42px 34px;
}
.ww-karte .page-frame::after {
  position: absolute;
  inset: 5px;
  border: 1px solid rgb(198 162 77 / 0.18);
  content: "";
  pointer-events: none;
}
.ww-karte .page-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(198 162 77 / 0.38);
}
.ww-karte .page-heading h2 {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.ww-karte .page-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.ww-karte .page-crest {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.ww-karte .dish-list {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 20px;
  padding-top: 28px;
}
.ww-karte .dish-item {
  opacity: 0;
  transform: translateY(9px);
  animation: dishIn 520ms cubic-bezier(0.16, 1, 0.3, 1) var(--dish-delay) forwards;
}
.ww-karte .dish-line {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(14px, 1fr) auto;
  align-items: baseline;
  gap: 9px;
}
.ww-karte .dish-line h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.17;
}
.ww-karte .dish-leader {
  min-width: 12px;
  border-bottom: 1px dotted rgb(198 162 77 / 0.5);
}
.ww-karte .dish-line data {
  color: var(--gold-bright);
  font-size: 0.77rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
.ww-karte .dish-item > p {
  max-width: 36ch;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.42;
}
.ww-karte .menu-page-compact .dish-list {
  gap: 25px;
}
.ww-karte .menu-page-compact .dish-line h3 {
  font-size: 1rem;
}
.ww-karte .page-number {
  position: absolute;
  right: 21px;
  bottom: 14px;
  z-index: 1;
  color: rgb(198 162 77 / 0.66);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}
.ww-karte .menu-page-info .page-frame {
  align-items: center;
  padding-top: 34px;
  text-align: center;
}
.ww-karte .page-crest-large {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
}
.ww-karte .page-heading-centered {
  display: block;
  width: 100%;
}
.ww-karte .house-details {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  margin: 26px 0 0;
}
.ww-karte .house-details div {
  padding: 13px 0;
}
.ww-karte .house-details div + div {
  border-top: 1px solid rgb(198 162 77 / 0.2);
}
.ww-karte .house-details dt {
  margin-bottom: 4px;
  color: var(--gold-bright);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ww-karte .house-details dd {
  margin: 2px 0;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.87rem;
}
.ww-karte .house-details a {
  text-underline-offset: 3px;
}
.ww-karte .price-note {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  margin: auto 0 14px;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.45;
}
.ww-karte .reader-hint {
  margin: 12px auto 0;
  color: #8f8a80;
  font-size: 0.69rem;
  text-align: center;
}
.ww-karte .book-error {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100dvh - 128px);
  padding: 32px;
  text-align: center;
}
.ww-karte .book-error h2 {
  max-width: 26ch;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}
.ww-karte .book-error p {
  max-width: 46ch;
  color: var(--muted);
}
.ww-karte .button-primary {
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  padding: 12px 18px;
}
.ww-karte .list-view {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 54px 0 90px;
}
.ww-karte .list-view-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}
.ww-karte .list-view-header p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ww-karte .list-view-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.ww-karte .category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 80px;
}
.ww-karte .category-section {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ww-karte .category-section:nth-child(4),
.ww-karte .category-section:nth-child(5) {
  grid-column: 1 / -1;
}
.ww-karte .category-section h2 {
  margin: 0;
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}
.ww-karte .category-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.ww-karte .list-dishes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 36px;
  margin-top: 28px;
}
.ww-karte .category-section:not(:nth-child(4)):not(:nth-child(5)) .list-dishes {
  grid-template-columns: 1fr;
}
.ww-karte .list-dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
}
.ww-karte .list-dish h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.28;
}
.ww-karte .list-dish p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.46;
}
.ww-karte .list-dish data {
  color: var(--gold-bright);
  font-size: 0.79rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
}
@keyframes sceneIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes bookOpenSettle {
  0% {
    transform: translateX(-25%) scale(0.93) rotateX(1deg);
  }
  34% {
    transform: translateX(-25%) scale(0.95) rotateX(1deg);
  }
  100% {
    transform: translateX(0) scale(1) rotateX(0deg);
  }
}
@keyframes coverOpen {
  0%,
  12% {
    transform: rotateY(0deg);
  }
  58% {
    transform: rotateY(-118deg);
  }
  82% {
    transform: rotateY(-166deg);
  }
  100% {
    transform: rotateY(-179deg);
  }
}
@keyframes openingPageReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spineReveal {
  to {
    opacity: 0.86;
  }
}
@keyframes dishIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes loadingSweep {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@media (max-width: 767px) {
  .ww-karte .text-button {
    font-size: 0.69rem;
  }
  .ww-karte .closed-scene {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    width: calc(100% - 30px);
    min-height: calc(100dvh - 116px);
    padding: 22px 0 30px;
  }
  .ww-karte .closed-copy {
    padding: 0 8px;
    text-align: center;
  }
  .ww-karte .closed-copy > p {
    margin-bottom: 11px;
  }
  .ww-karte .closed-copy h1 {
    margin: 0 auto 10px;
    font-size: clamp(2.4rem, 14vw, 3.8rem);
  }
  .ww-karte .closed-copy > span {
    margin: 0 auto;
    font-size: 0.88rem;
  }
  .ww-karte .cover-trigger img {
    width: min(76vw, 420px);
    max-height: 53dvh;
  }
  .ww-karte .cover-trigger > span {
    font-size: 0.74rem;
  }
  .ww-karte .opened-scene,
  .ww-karte .reader {
    min-height: calc(100dvh - 116px);
  }
  .ww-karte .reader {
    padding: 12px 8px 20px;
  }
  .ww-karte .reader-toolbar {
    grid-template-columns: 40px auto 40px 1fr;
    gap: 5px;
    padding: 0 6px;
  }
  .ww-karte .icon-button {
    width: 38px;
    height: 38px;
  }
  .ww-karte .page-status {
    min-width: 82px;
    font-size: 0.66rem;
  }
  .ww-karte .book-loading {
    min-height: 440px;
  }
  .ww-karte .page-frame {
    inset: 10px;
    padding: 29px 25px 26px;
  }
  .ww-karte .welcome-frame {
    padding-inline: 30px;
  }
  .ww-karte .welcome-crest {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
  }
  .ww-karte .welcome-kicker {
    margin-bottom: 10px;
    font-size: 0.5rem;
  }
  .ww-karte .welcome-frame h2 {
    font-size: 1.8rem;
  }
  .ww-karte .welcome-copy {
    margin-top: 18px;
    font-size: 0.72rem;
    line-height: 1.55;
  }
  .ww-karte .welcome-signoff {
    margin-top: 20px;
    padding-top: 13px;
    font-size: 0.65rem;
  }
  .ww-karte .page-heading {
    gap: 11px;
    padding-bottom: 15px;
  }
  .ww-karte .page-heading h2 {
    font-size: 1.38rem;
  }
  .ww-karte .page-heading p {
    font-size: 0.55rem;
  }
  .ww-karte .page-crest {
    width: 36px;
    height: 36px;
  }
  .ww-karte .dish-list {
    gap: 14px;
    padding-top: 19px;
  }
  .ww-karte .dish-line h3,
  .ww-karte .menu-page-compact .dish-line h3 {
    font-size: 0.79rem;
  }
  .ww-karte .dish-line data {
    font-size: 0.65rem;
  }
  .ww-karte .dish-item > p {
    margin-top: 3px;
    font-size: 0.57rem;
    line-height: 1.32;
  }
  .ww-karte .menu-page-compact .dish-list {
    gap: 20px;
  }
  .ww-karte .menu-page-info .page-frame {
    padding-top: 22px;
  }
  .ww-karte .page-crest-large {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  .ww-karte .house-details {
    margin-top: 16px;
  }
  .ww-karte .house-details div {
    padding: 8px 0;
  }
  .ww-karte .house-details dd {
    font-size: 0.73rem;
  }
  .ww-karte .reader-hint {
    display: none;
  }
  .ww-karte .list-view {
    width: calc(100% - 32px);
    padding: 42px 0 64px;
  }
  .ww-karte .list-view-header {
    align-items: start;
    margin-bottom: 48px;
  }
  .ww-karte .list-view-header h1 {
    font-size: 3rem;
  }
  .ww-karte .category-grid,
  .ww-karte .list-dishes,
  .ww-karte .category-section:nth-child(4) .list-dishes,
  .ww-karte .category-section:nth-child(5) .list-dishes {
    grid-template-columns: 1fr;
  }
  .ww-karte .category-grid {
    gap: 52px;
  }
  .ww-karte .category-section:nth-child(4),
  .ww-karte .category-section:nth-child(5) {
    grid-column: auto;
  }
}
@keyframes bookOpenSettleMobile {
  0% {
    transform: translateX(-25%) scale(1.48) rotateX(1deg);
  }
  34% {
    transform: translateX(-25%) scale(1.42) rotateX(1deg);
  }
  100% {
    transform: translateX(0) scale(1) rotateX(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ww-karte *::before,
  .ww-karte *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ww-karte .dish-item {
    opacity: 1;
    transform: none;
  }
}
