/* Speisekarte — adapted from Andre draft (alt/speisekarte.html), Albertz CI */
body.albertz-speisekarte-page {
  background: #fff;
  color: #3f4a54;
  text-align: center;
}

body.albertz-speisekarte-page .site-header {
  position: sticky;
  top: 0;
}

.speisekarte-main {
  background: #fff;
}

.speisekarte-hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--albertz-grey, #323e48);
}

.speisekarte-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speisekarte-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(50, 62, 72, .35) 0%, rgba(50, 62, 72, .62) 100%);
}

.speisekarte-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
}

.speisekarte-hero-logo {
  display: block;
  margin: 0 auto;
  height: min(40vh, 320px);
  max-width: 72vw;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

.speisekarte-hero-title {
  margin-top: 18px;
  color: var(--albertz-orange, #ed682b);
  font-family: "Trade Gothic Bold", sans-serif;
  letter-spacing: .22em;
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

.speisekarte-back {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .04em;
  background: rgba(50, 62, 72, .5);
  padding: 8px 14px;
}

.speisekarte-back:hover {
  background: rgba(50, 62, 72, .72);
}

.speisekarte-cover {
  padding: 52px 20px 40px;
  max-width: 640px;
  margin: 0 auto;
}

.speisekarte-cover-h {
  color: var(--albertz-orange, #ed682b);
  font-family: "Trade Gothic Bold", sans-serif;
  letter-spacing: .18em;
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.speisekarte-hours {
  font-size: 1.1rem;
  color: #3f4a54;
  margin-bottom: 6px;
}

.speisekarte-hours-note {
  font-size: .9rem;
  margin-top: 14px;
}

.speisekarte-quote {
  font-style: italic;
  margin-top: 40px;
  font-size: .95rem;
}

.speisekarte-quote-author {
  font-style: italic;
  font-size: .9rem;
  margin-top: 14px;
}

.speisekarte-filterbar {
  position: sticky;
  top: 76px;
  z-index: 12;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(5px);
  border-top: 1px solid #e6e2dd;
  border-bottom: 1px solid #e6e2dd;
  padding: 12px 16px;
}

.speisekarte-filter-row {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.speisekarte-filter-row + .speisekarte-filter-row {
  margin-top: 8px;
}

.speisekarte-chip {
  border: 1px solid #e6e2dd;
  background: #fff;
  color: #3f4a54;
  font-family: inherit;
  font-size: .83rem;
  font-weight: 500;
  padding: 6px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}

.speisekarte-chip:hover {
  border-color: var(--albertz-orange, #ed682b);
}

.speisekarte-chip:focus-visible {
  outline: 2px solid var(--albertz-orange, #ed682b);
  outline-offset: 2px;
}

.speisekarte-chip.active {
  background: var(--albertz-orange, #ed682b);
  border-color: var(--albertz-orange, #ed682b);
  color: #fff;
}

.speisekarte-body {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 20px 40px;
}

.speisekarte-section {
  margin-top: 56px;
  scroll-margin-top: 140px;
}

.speisekarte-section:first-child {
  margin-top: 36px;
}

/* Category visual card (Tagesgerichte flat-lay) */
.speisekarte-cat-card {
  margin: 0 auto 28px;
  max-width: 100%;
  overflow: hidden;
  background: var(--albertz-grey, #323e48);
}

.speisekarte-cat-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.speisekarte-section-period {
  margin-top: 10px;
  color: var(--albertz-orange, #ed682b);
  font-family: "Trade Gothic Bold", sans-serif;
  letter-spacing: .08em;
  font-size: .95rem;
}

.speisekarte-section--card .speisekarte-dish:first-of-type {
  margin-top: 36px;
}

.speisekarte-section-h,
.speisekarte-section-h-en {
  color: var(--albertz-orange, #ed682b);
  font-family: "Trade Gothic Bold", sans-serif;
  letter-spacing: .16em;
  font-size: 1.05rem;
  font-variant: small-caps;
  text-transform: lowercase;
}

.speisekarte-section-h-en {
  font-style: italic;
  letter-spacing: .14em;
  font-size: .95rem;
  margin-top: 2px;
}

.speisekarte-dish {
  margin-top: 44px;
}

.speisekarte-dish-name {
  font-family: "Trade Gothic Bold", sans-serif;
  color: #323e48;
  font-size: 1.02rem;
}

.speisekarte-dish-name .price {
  font-weight: 700;
}

.speisekarte-dish .leaf {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 8px;
}

.speisekarte-dish-desc {
  margin-top: 2px;
}

.speisekarte-dish-en-name {
  font-weight: 700;
  font-style: italic;
  font-size: .9rem;
  margin-top: 2px;
}

.speisekarte-dish-en {
  font-style: italic;
  font-size: .9rem;
}

.speisekarte-extras {
  margin-top: 26px;
}

.speisekarte-extras-h {
  margin-bottom: 2px;
}

.speisekarte-extras b {
  color: #323e48;
}

.speisekarte-extras-en {
  font-style: italic;
  font-size: .9rem;
  margin-top: 6px;
}

.speisekarte-extras-en b {
  font-style: italic;
}

.speisekarte-allergen {
  margin-top: 64px;
}

.speisekarte-allergen-de {
  font-family: "Trade Gothic Bold", sans-serif;
  color: #323e48;
  font-size: .92rem;
}

.speisekarte-allergen-en {
  font-style: italic;
  font-weight: 700;
  font-size: .88rem;
  margin-top: 4px;
}

.speisekarte-legend {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  font-size: .9rem;
}

.speisekarte-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speisekarte-cta-row {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.speisekarte-cta-row .button,
.speisekarte-cta-row .button-reservieren {
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: none;
}

body.albertz-speisekarte-page .speisekarte-cta-row .button-reservieren {
  background: #323e48;
  color: #fafafa;
  border: 1px solid #323e48;
}

body.albertz-speisekarte-page .speisekarte-cta-row .button-reservieren:hover {
  background: #263039;
  border-color: #263039;
  color: #fafafa;
}

.speisekarte-end-logo {
  margin: 44px 0 30px;
}

.speisekarte-end-logo a {
  display: inline-block;
}

.speisekarte-end-logo img {
  width: min(180px, 50vw);
  height: auto;
}

.speisekarte-empty {
  display: none;
  margin-top: 60px;
  color: #3f4a54;
}

.speisekarte-empty.show {
  display: block;
}

.speisekarte-empty button {
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--albertz-orange, #ed682b);
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
  font-family: inherit;
}

@media (max-width: 860px) {
  .speisekarte-filterbar {
    top: 64px;
  }

  .speisekarte-hero {
    min-height: 420px;
    height: 64vh;
  }

  .speisekarte-back {
    top: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .speisekarte-chip {
    transition: none;
  }
}
