:root {
  --blue: #0b1b4d;
  --blue-2: #142A68;
  --white: #F3EBDD;
  --cream: #F3EBDD;
  --cream-light: #F8F4ED;
  --ink: #171717;
  --muted: #62584B;
  --line: #D8CCBA;
  --soft: #F8F4ED;
  --soft-blue: #EFE5D5;
  --shadow: 0 22px 55px rgba(11, 27, 77, .14);
  --max: 1180px;
  --header-h: 116px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white) url("../img/bg_pattern.jpg") repeat;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
figure {
  margin: 0;
}

/* Accessibility helpers: visually hidden content and keyboard focus states. */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 16px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
}

.site-header :focus-visible,
.reservation :focus-visible,
.site-footer :focus-visible {
  outline-color: #ffdf80;
}

main:focus {
  outline: none;
}

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; padding-top: 92px; }

.container.small-padding { padding-top: 32px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white) url("../img/bg_pattern.jpg") repeat;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,27,77,.18);
  box-shadow: 0 10px 30px rgba(11, 27, 77, .10);
}
.header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 92px;
  object-fit: contain;
  object-position: left center;
}
.main-nav { display: flex; justify-content: center; gap: 22px; font-size: 14px; letter-spacing: .02em; }
.main-nav a { color: var(--blue); font-weight: 700; position: relative; padding: 42px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  height: 3px;
  left: 0;
  right: 0;
  bottom: 30px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--blue);
  color: var(--cream);
  font-weight: 800;
  font-size: 14px;
  border: 2px solid var(--blue);
  transition: .2s ease;
}
.header-cta:hover { background: var(--cream); color: var(--blue); }

.ornament-band {
  height: 50px;
  background: url("../img/ornament_blau.png") repeat-x;
  background-size: auto 50px;
  overflow: hidden;
}
.ornament-band.white {
  background: url("../img/ornament_weiss.png") repeat-x;
  background-size: auto 50px;
  background-position: center;
  height: 42px;
}
.ornament-small {
  width: min(580px, 100%);
  height: 32px;
  margin: 20px auto 0;
  overflow: hidden;
  background: var(--blue);
}
.ornament-small img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 0 0 92px 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.section-tight { padding: 72px 0; }
.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -.03em;
}
.section-intro { margin: 0; color: var(--muted); font-size: 18px; }
.section-head { margin-bottom: 44px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split-top { align-items: start; }

.hero {
  padding: 0 0 92px 0;
  position: relative;
  display: grid;
  align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 60px; align-items: stretch; }
.eyebrow {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 48px; height: 2px; background: var(--blue); }
.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: .95;
  color: var(--blue);
  margin: 0 0 24px;
  letter-spacing: -.055em;
}
.hero-lead { max-width: 640px; margin: 0 0 80px; color: #2F2A24; font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 900;
  border: 2px solid var(--blue);
  transition: .2s ease;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}
.btn-primary { background: var(--blue); color: var(--cream); }
.btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); }
.btn-secondary { background: var(--cream); color: var(--blue); }
.btn-secondary:hover { background: var(--soft-blue); }
.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(243,235,221,.82);
  box-shadow: var(--shadow);
}
.fact { padding: 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact b { display: block; color: var(--blue); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.fact span { display: block; font-size: 15px; line-height: 1.45; color: #2F2A24; }

.hero-phone-link {
  color: var(--blue);
}

.hero-phone-link:hover,
.hero-phone-link:focus-visible {
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fact small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.climate-note {
  margin: 0 0 44px 0 !important;
  padding: 18px 20px;
  background: var(--soft-blue);
  color: #2F2A24 !important;
  font-weight: 800;
}
.climate-note strong { display: block; margin-bottom: 4px; color: var(--blue); }

.hero-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--blue);
  color: var(--cream);
  padding: 28px;
  box-shadow: 0 24px 70px rgba(11,27,77,.30);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.logo-panel { margin-bottom: 20px; }
.logo-panel img { width: 100%; height: auto; }
.hero-card h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; margin: 18px 0 8px; line-height: 1.08; }
.hero-card p { margin: 0; color: rgba(243,235,221,.86); }

.text-panel p { margin: 0 0 18px; color: #352F28; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 30px; }
.principle { background: var(--blue); color: var(--cream); padding: 22px 18px; }
.principle strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 23px; line-height: 1.1; margin-bottom: 8px; }
.principle span { display: block; color: rgba(243,235,221,.80); font-size: 14px; line-height: 1.45; }
.photo-block { min-height: 570px; position: relative; background: #0B1B4D; box-shadow: var(--shadow); overflow: hidden; }
.photo-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/gastraum.jpg") center/cover;
}
.hausmarkt .photo-block::before {
  background: url("../img/hausmarkt.jpg") center/cover;
}
.hero .photo-block {
  min-height: 725px;
}
.hero .photo-block::before {
  background: url("../img/schild.jpg") center/cover;
}
.photo-caption { position: absolute; left: 28px; right: 28px; bottom: 28px; color: var(--cream); border-top: 1px solid rgba(243,235,221,.45); padding-top: 18px; }
.photo-caption b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.photo-caption span { font-family: Georgia, 'Times New Roman', serif; font-size: 30px; line-height: 1.08; display: block; }

.menu-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-tabs { background: var(--blue); color: var(--cream); padding: 42px 26px; }
.menu-tabs h3 { margin: 0 0 18px; font-family: Georgia, 'Times New Roman', serif; font-size: 30px; }
.menu-tabs p { margin: 0 0 22px; color: rgba(243,235,221,.78); font-size: 14px; }
.tab-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  background: transparent;
  color: var(--cream);
  border: 0;
  border-top: 1px solid rgba(243,235,221,.22);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.tab-button:last-child { border-bottom: 1px solid rgba(243,235,221,.22); }
.tab-button[aria-selected="true"] { color: var(--cream); }
.tab-button[aria-selected="true"]::after { content: "→"; }
.menu-content { padding: 42px; min-height: 520px; }
.menu-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 26px;
}
.tab-button:first-child {
  border-top: 0;
  padding-top: 0;
}
.tab-button:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.menu-content h3 { margin: 0 0 8px; color: var(--blue); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.menu-content .desc { margin: 0; color: var(--muted); max-width: 620px; }
.menu-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px;
  border: 2px solid var(--blue);
  background: var(--cream);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}
.icon-btn:hover { background: var(--blue); color: var(--cream); }
.dishes { display: grid; gap: 18px; }
.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish h4 { margin: 0 0 4px; color: #241F1A; font-size: 18px; }
.dish p { margin: 0; color: var(--muted); font-size: 14px; }
.price { color: var(--blue); font-weight: 900; font-size: 18px; white-space: nowrap; }
.menu-note { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--blue); background: var(--soft); color: #4C443A; font-size: 14px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 255px;
  gap: 18px;
  align-items: stretch;
}

.gallery-item {
  position: relative;
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  background: var(--blue);
  color: var(--cream);
  min-height: 0;
  isolation: isolate;
}

.gallery-item.gallery-wide {
  grid-column: span 8;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.065);
  filter: saturate(1.05) contrast(1.03);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(11,27,77,.78), rgba(11,27,77,.18) 58%, rgba(11,27,77,.02));
  pointer-events: none;
}

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  max-width: 560px;
}

.gallery-caption b {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 27px;
  line-height: 1.05;
}

.gallery-caption span {
  display: block;
  color: rgba(243,235,221,.86);
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
}


/* Sonntags-Buffet */
.buffet .split {
  grid-template-columns: .95fr 1.05fr;
}

.buffet .photo-block::before {
  background: url("../img/buffet.jpg") center/cover;
}

.buffet-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.buffet-dates span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  background: var(--blue);
  color: var(--cream);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
}

.buffet-grid {
  display: grid;
  gap: 22px 28px;
  margin: 28px 0 22px;
}

.buffet-grid h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.1;
}

.buffet-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.buffet-grid li + li {
  margin-top: 4px;
}

.buffet-price {
  display: inline-block;
  margin: 4px 0 18px !important;
  padding: 10px 18px;
  background: var(--soft-blue);
  color: var(--blue) !important;
  font-size: 22px;
  font-weight: 900;
}

.buffet-actions {
  margin-top: 24px;
}

@media (max-width: 680px) {
  .buffet-grid {
    grid-template-columns: 1fr;
  }

  .buffet-dates span {
    width: 100%;
    justify-content: center;
  }
}

.reservation { background: var(--blue); color: var(--cream); position: relative; overflow: hidden; }
.reservation .container { position: relative; z-index: 2; }
.reservation .section-label, .reservation .section-title { color: var(--cream); }
.reservation .section-intro { color: rgba(243,235,221,.80); }
.reservation-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: stretch; }
.contact-card { padding: 30px; background: var(--white) url("../img/bg_pattern.jpg") repeat; color: var(--blue); }
.contact-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; line-height: 1.05; margin: 0 0 18px; }
.contact-list { display: grid; gap: 18px; margin: 28px 0; }
.contact-row { border-top: 1px solid var(--blue); padding-top: 16px; }
.contact-row b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.contact-row a, .contact-row span { font-size: 19px; font-weight: 800; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reservation .btn-primary { background: var(--blue); color: var(--cream); }
.reservation .btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); }
.reservation .btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.reservation .btn-secondary:hover { background: var(--soft-blue); }
.map {
  min-height: 440px;
  background: var(--white) url("../img/bg_pattern.jpg") repeat;
  position: relative;
  overflow: hidden;
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
  filter: saturate(.85);
}
.map-consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 32px;
  color: var(--blue);
  text-align: center;
}
.map-consent[hidden] {
  display: none;
}
.map-consent-inner {
  width: min(560px, 100%);
}
.map-consent strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  margin-bottom: 12px;
}
.map-consent p {
  margin: 0 0 22px;
  color: #2F2A24;
}
.map-consent-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.map-text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.map-noscript {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 32px;
  color: var(--blue);
  text-align: center;
  background: linear-gradient(135deg, #F8F4ED, #F3EBDD);
}
.map-noscript a {
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hours-content { display: block; }
.hours-section .section-head { margin-bottom: 34px; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--cream);
}
.hours-table th,
.hours-table td {
  padding: 19px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table th {
  width: 38%;
  color: var(--blue);
  font-weight: 900;
  background: var(--soft-blue);
}
.hours-table td {
  color: #2F2A24;
  font-weight: 700;
}
.closed { color: #8a1f1f; }

.site-footer { background: var(--blue); color: var(--cream); padding: 0 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 44px; align-items: start; }
.footer-logo { width: 300px; background: transparent; padding: 0; margin-bottom: 20px; }
.site-footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,235,221,.70); }
.site-footer p, .site-footer a { color: rgba(243,235,221,.78); margin: 0 0 8px; display: block; }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; color: rgba(243,235,221,.58); font-size: 13px; }


/* Mobile Navigation */
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
}

.menu-toggle-line {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white) url("../img/bg_pattern.jpg") repeat;
}

.mobile-nav a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--soft-blue);
}

body.mobile-nav-open {
  overflow: hidden;
}


@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto auto; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) { display: block; }
  .hero-grid, .split, .hausmarkt .split, .reservation-grid { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .menu-shell { grid-template-columns: 1fr; }
  .menu-tabs { display: block; }
  .gallery-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 230px; }
  .gallery-item,
  .gallery-item.gallery-wide { grid-column: span 3; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 88px; }
  .container { width: min(100% - 28px, var(--max)); padding-top: 64px; }
  .header-inner { min-height: 80px; gap: 12px; }
  .brand { min-width: 0; }
  .brand-logo { height: 66px; }
  .header-cta { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .hero { padding: 64px 0; }
  .section, .hero { padding: 0 0 64px 0; }
  .hero-card, .menu-content, .contact-card { padding: 22px; }
  .principles { grid-template-columns: 1fr; }
  .photo-block, .hero .photo-block { min-height: 430px; }
  .menu-topline { flex-direction: column; }
  .dish { grid-template-columns: 1fr; gap: 6px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery-item,
  .gallery-item.gallery-wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-caption { left: 18px; right: 18px; bottom: 18px; }
  .gallery-caption b { font-size: 23px; }
  .hours-table th,
  .hours-table td {
    display: block;
    width: 100%;
  }
  .hours-table th {
    padding-bottom: 6px;
  }
  .hours-table td {
    padding-top: 8px;
  }
  .footer-bottom { flex-direction: column; }
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.menu-loading {
  margin: 0;
  color: rgba(243,235,221,.82);
  font-weight: 800;
}

.icon-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Google-Maps-2-Klick-Platzhalter zentrieren */
.map {
  display: grid;
  place-items: center;
}

.map iframe {
  grid-area: 1 / 1;
}

.map-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.map-consent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(560px, 100%);
  margin: auto;
  text-align: center;
}

.map-consent-actions {
  width: 100%;
  justify-content: center;
}


/* Speisekarte: Suche */
.menu-search {
  margin: 0 0 28px;
  padding-bottom: 26px;
}

.menu-search label {
  display: block;
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.menu-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid rgba(243,235,221,.58);
  background: rgba(243,235,221,.08);
  color: var(--cream);
  font: inherit;
  font-weight: 800;
  outline: none;
}

.menu-search input::placeholder {
  color: rgba(243,235,221,.62);
  font-weight: 700;
}

.menu-search input:focus-visible {
  border-color: var(--cream);
  box-shadow: 0 0 0 3px rgba(243,235,221,.22);
}

.menu-search-clear {
  width: 46px;
  height: 46px;
  border: 2px solid rgba(243,235,221,.58);
  background: transparent;
  color: var(--cream);
  font: inherit;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.menu-search-clear:hover,
.menu-search-clear:focus-visible {
  border-color: var(--cream);
  background: rgba(243,235,221,.10);
}

.menu-search-status {
  min-height: 20px;
  margin: 10px 0 0 !important;
  color: rgba(243,235,221,.78) !important;
  font-size: 13px !important;
  font-weight: 800;
}

.dish-category {
  display: inline-block;
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-empty {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}


/* Speisekarte: Nummern, Kennzeichnungen und Legende */
.dish-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.dish-number {
  min-width: 42px;
  color: var(--blue);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.35;
  white-space: nowrap;
}

.dish-text {
  min-width: 0;
}

.dish h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.dish-markings {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: normal;
}

.price-empty {
  color: var(--muted);
}

.menu-legend {
  margin-top: 38px;
  padding-top: 32px;
  color: rgba(243,235,221,.82);
  font-size: 12px;
  line-height: 1.45;
}

.menu-legend summary {
  color: var(--cream);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-legend summary:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.legend-section {
  margin-top: 18px;
}

.legend-section h5 {
  margin: 0 0 8px;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legend-section ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend-section li {
  display: grid;
  grid-template-columns: minmax(32px, auto) 1fr;
  gap: 8px;
  align-items: start;
}

.legend-code {
  color: var(--cream);
  font-weight: 900;
}

.legend-hint {
  margin: 14px 0 0;
  color: rgba(243,235,221,.82);
  font-weight: 800;
}

@media (max-width: 680px) {
  .dish-info {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .dish-number {
    min-width: 0;
  }
}


/* Rechtliche Unterseiten */
.legal-page {
  padding-top: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.legal-card,
.legal-note {
  background: var(--white) url("../img/bg_pattern.jpg") repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-card {
  padding: 38px;
}

.legal-note {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px;
  color: var(--blue);
}

.legal-note h2,
.legal-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--blue);
  line-height: 1.1;
}

.legal-note h2 {
  font-size: 28px;
}

.legal-card h2 {
  font-size: 30px;
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-card p,
.legal-note p {
  margin: 0;
  color: var(--muted);
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card strong {
  color: var(--blue);
}

@media (max-width: 1020px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-note {
    position: static;
  }
}

@media (max-width: 680px) {
  .legal-card,
  .legal-note {
    padding: 24px;
  }

  .legal-card h2 {
    font-size: 25px;
  }
}


.legal-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-list + p {
  margin-top: 18px;
}

.legal-list li + li {
  margin-top: 6px;
}



@media (max-width: 680px) {
  .menu-search-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-search input {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
}

/* Mobile Feinschliff: Abstände und kleine Auflösungen */
@media (max-width: 1020px) {
  .buffet .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--max));
    padding-top: 56px;
  }

  .header-inner {
    padding-top: 0;
  }

  .section,
  .hero {
    padding-bottom: 56px;
  }

  .hero-lead {
    margin-bottom: 48px;
  }

  .hero-actions {
    margin-bottom: 48px;
  }

  .photo-block,
  .hero .photo-block {
    min-height: 360px;
  }

  .gallery-caption b {
    font-size: 20px;
  }

  .gallery-caption span {
    font-size: 13px;
  }

  .hero-card,
  .menu-content,
  .contact-card {
    padding: 20px;
  }

  .map,
  .map iframe,
  .map-consent {
    min-height: 380px;
  }
}

/* Maximale Safari-Kompatibilität: Galerie ohne <picture>, ohne lazy-loading, nur klassische JPG-IMGs */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  inset: auto;
  z-index: 1;
}

.gallery-item:hover img {
  transform: none;
}

.gallery-caption {
  z-index: 2;
}
