/* =============================================================
   ARTEMIS RESTAURANT & HOTEL — Stylesheet
   Colors + fonts taken 1:1 from the live Wix theme:
   cream page, sand header/footer, navy navbar, teal accents,
   EB Garamond headings, Open Sans body text.

   HOW TO USE:
   - Every color lives in :root below. Change it there, never
     type a hex code further down in this file.
   - Sections are in page order. Use Ctrl+F on the ── headers.
   ============================================================= */

/* Fonts are hosted on OUR server (folder /fonts) — nothing is loaded from
   Google, so no visitor data goes to third parties (DSGVO).
   Same fonts + weights as before. Licence: SIL OFL, see /fonts/LICENSE-*.txt */
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/eb-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'EB Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/eb-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans';   font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans';   font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/open-sans-latin-600-normal.woff2') format('woff2'); }


/* ─────────────────────────────────────────────────────────────
   1. DESIGN TOKENS (variables)
   ───────────────────────────────────────────────────────────── */
:root {
  /* Colors — locked design tokens */
  --cream:    #fffefa;   /* page background                        */
  --sand:     #f7ece0;   /* header, footer, highlighted sections   */
  --navy:     #0a4a6e;   /* main text, navbar, buttons, headings   */
  --teal:     #547873;   /* accents: quote marks, icons            */
  --hover-bg: #c3d5d3;   /* borders, hover states                  */
  --muted:    #3d5654;   /* secondary / body text                  */

  /* Extra tokens (also from the Wix theme) */
  --ivory:    #fafaf2;   /* "Wer wir sind" section bg, button hover text */
  --open:     #2e7d4f;   /* "geöffnet" dot on the house                    */
  --red:      #b22222;   /* "geschlossen" on the opening hours page      */

  /* Derived colors — built from the tokens above, no new hex codes */
  --navy-overlay: color-mix(in srgb, var(--navy) 40%, transparent);
  --line-soft:    color-mix(in srgb, var(--hover-bg) 60%, transparent);
  --nav-text:     color-mix(in srgb, var(--cream) 90%, transparent);
  --nav-line:     color-mix(in srgb, var(--cream) 12%, transparent);
  --shadow:       color-mix(in srgb, var(--navy) 35%, transparent);

  /* Fonts */
  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'Open Sans', system-ui, sans-serif;

  /* Layout */
  --brand-h:    5.75rem;  /* height of the brand row (names + house) above the navy bar */
  --wide:       64rem;    /* width of the content column (grows with the text size) */
  --transition: 0.2s ease;
}


/* ─────────────────────────────────────────────────────────────
   2. RESET + BASE
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Text size grows with the screen: 16px on phones … about 20px on a big monitor.
   Everything else is measured in rem, so the whole page scales with it. */
html { scroll-behavior: smooth; font-size: clamp(100%, 0.75rem + 0.42vw, 131%); scroll-padding-top: 4rem; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* All headings share the serif font */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
}


/* ─────────────────────────────────────────────────────────────
   3. VACATION BANNER (shown by JS when config.json says so)
   ───────────────────────────────────────────────────────────── */
#vacation-banner {
  background: var(--teal);
  color: var(--cream);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}
#vacation-banner[hidden] { display: none; }


/* ─────────────────────────────────────────────────────────────
   4. HEADER — sand logo row, navy navbar below
   ───────────────────────────────────────────────────────────── */
.site-header {
  background: var(--sand);
  position: sticky;
  /* The header sticks with its brand row pushed out of the screen: only the navy bar stays visible.
     Its height never changes while scrolling → the page cannot jump. */
  top: calc(-1 * var(--brand-h));
  z-index: 200;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px var(--shadow); }

/* Brand row: ARTEMIS | HOTEL Waldschlössel in the middle, the house top right */
.header-brand {
  position: relative;
  height: var(--brand-h);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  padding: 0 7.5rem;               /* room for the house on the right (and the same on the left to stay centred) */
}
.brand { display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.brand img { width: auto; }
.brand-artemis img { height: 2.5rem; }
.brand-hotel img   { height: 3rem; }
.brand:hover, .brand:focus-visible { transform: translateY(-2px); opacity: 0.8; }
.brand-divider { width: 1px; height: 2.6rem; background: var(--hover-bg); }

/* The house: picture + small "open / closed" label */
.house-btn {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--muted);
}
.house-btn img { height: 3rem; width: auto; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 100%; }
.house-btn:hover img, .house-btn[aria-expanded="true"] img { transform: scale(1.1) rotate(-2deg); }
.house-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.house-status::before {            /* the dot: green = open, red = closed */
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red);
}
.house-btn[data-state="open"] .house-status::before { background: var(--open); box-shadow: 0 0 0 0 var(--open); animation: house-pulse 2.2s ease-out infinite; }
.house-btn[data-state="vacation"] .house-status::before { background: var(--teal); }
@keyframes house-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--open) 60%, transparent); }
  100% { box-shadow: 0 0 0 0.5rem transparent; }
}

/* Info box under the house */
.house-panel {
  position: absolute;
  top: calc(100% - 0.4rem);
  right: 1rem;
  width: min(19rem, calc(100vw - 2rem));
  background: var(--cream);
  border: 1px solid var(--hover-bg);
  border-radius: 6px;
  box-shadow: 0 14px 34px var(--shadow);
  padding: 1.1rem 1.2rem 1rem;
  text-align: left;
  z-index: 400;
  animation: panel-in 0.25s cubic-bezier(.2,.7,.2,1) both;
}
.house-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(-0.5rem) scale(0.97); } to { opacity: 1; transform: none; } }
.house-panel-state { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin-bottom: 0.4rem; }
.house-panel-state[data-state="open"] { color: var(--open); }
.house-panel-today { font-size: 0.85rem; color: var(--navy); }
.house-panel-today span { font-weight: 600; margin-right: 0.3rem; }
.house-panel-note  { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.8rem; }
.house-panel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.7rem; }
.house-panel-link { font-size: 0.8rem; text-decoration: underline; text-underline-offset: 2px; }

/* Buttons used in the house box, the map and the Merkzettel */
.btn {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.btn-ghost { background: none; color: var(--navy); }
.btn-ghost:hover { color: var(--cream); }

/* Navbar row */
.navbar {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
  min-height: 44px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-links a {
  display: block;
  position: relative;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--nav-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-links a:hover  { color: var(--hover-bg); }
.nav-links a::after {              /* thin line that grows under the link on hover */
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--sand); font-weight: 600; }

/* Language switcher (DE / EN) */
.lang-switcher {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: 1px solid var(--nav-line);
  color: var(--nav-text);
  padding: 0.15rem 0.5rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--hover-bg);
  color: var(--navy);
  border-color: var(--hover-bg);
}

/* Social links. Text by default; the app icon as soon as the file
   images/icons/instagram.svg / facebook.svg exists (js/app.js → setupSocialIcons). */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.social { display: inline-flex; align-items: center; transition: color var(--transition), transform var(--transition); }
.nav-social .social { color: var(--nav-text); font-size: 0.8rem; }
.nav-social .social:hover { color: var(--hover-bg); }
.social:hover { transform: translateY(-2px); }
.has-icon-instagram .social-instagram span,
.has-icon-facebook  .social-facebook span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.has-icon-instagram .social-instagram::before,
.has-icon-facebook  .social-facebook::before {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;        /* the icon takes the text colour */
}
.has-icon-instagram .social-instagram::before { -webkit-mask: url('/images/icons/instagram.svg') center / contain no-repeat; mask: url('/images/icons/instagram.svg') center / contain no-repeat; }
.has-icon-facebook  .social-facebook::before  { -webkit-mask: url('/images/icons/facebook.svg') center / contain no-repeat;  mask: url('/images/icons/facebook.svg') center / contain no-repeat; }
.footer-social .social::before { width: 1.5rem; height: 1.5rem; }

/* Phone menu button: three bars that turn into an ✕ (hidden on desktop, see RESPONSIVE) */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.55rem 0.4rem;
  color: var(--cream);
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
#nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s cubic-bezier(.6,0,.2,1), opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
#nav-toggle:hover span:nth-child(2) { width: 16px; }
#nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────────────────────────
   5. HERO (homepage) + PAGE BANNER (subpages)
   ───────────────────────────────────────────────────────────── */
/* Photo show: js/app.js → setupHero puts one layer per photo in here.
   Summer = Biergarten, rest of the year = dining room (data/config.json → hero) */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(24rem, 76vh, 58rem);   /* TO CHANGE the size of the big photo: the middle value */
  background-color: var(--navy);   /* shows while the photo loads */
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;   /* photos fade into each other */
}
.hero-slide.is-active {
  opacity: 1;
  animation: hero-zoom 9s ease-out both;   /* very slow zoom while it is shown */
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

/* Subpage banner with a title on top */
.page-banner {
  width: 100%;
  height: clamp(18rem, 56vh, 42rem);   /* big photo at the top of Restaurant / Hotel */
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.page-banner::after {              /* dark tint so the title stays readable */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy-overlay);
}
.page-banner-title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  text-align: center;
  padding: 1rem;
}


/* ─────────────────────────────────────────────────────────────
   6. HOMEPAGE — Welcome
   ───────────────────────────────────────────────────────────── */
.welcome-section {
  background: var(--cream);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}
.welcome-section h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  margin-bottom: 0.75rem;
}
.welcome-section .subtitle {
  font-size: 1.2rem;
  color: var(--navy);
}


/* ─────────────────────────────────────────────────────────────
   7. HOMEPAGE — About ("Wer wir sind"): text left, photo right
   ───────────────────────────────────────────────────────────── */
.about-section {
  background: var(--ivory);
}
.about-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  /* minmax(0, 1fr) = both columns ALWAYS exactly half,
     no matter how big the photo inside wants to be */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.about-text {
  padding: 5rem 2.5rem 3rem;
}
.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.about-image {
  background: var(--sand);         /* placeholder color until the photo exists */
  min-height: 420px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* photo fills the box, cropped if needed */
}

/* "Mehr erfahren" pill button — same look as on Wix */
.mehr-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.55rem 1.8rem;
  border: 1px solid var(--navy);
  border-radius: 100px;
  color: var(--navy);
  font-size: 0.95rem;
  box-shadow: -2px 2px 0 var(--shadow);
  transition: background var(--transition), color var(--transition);
}
.mehr-btn:hover {
  background: var(--navy);
  color: var(--ivory);
}


/* ─────────────────────────────────────────────────────────────
   8. HOMEPAGE — Reviews: 3 cream cards on a thin navy frame
   ───────────────────────────────────────────────────────────── */
.reviews-section {
  background: var(--cream);
}
.reviews-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;                        /* the navy "lines" between cards */
  padding: 1px;
  background: var(--navy);
}
.review-card {
  background: var(--cream);
  padding: 4rem 1.75rem 3rem;
  text-align: center;
}
.review-card::before {             /* big teal quote mark */
  content: '\201C';
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--teal);
  line-height: 0.8;
  margin-bottom: 1rem;
}
.review-card p {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   9. HOMEPAGE — "Unsere Speisen" teaser + 3 food photos
   ───────────────────────────────────────────────────────────── */
.speisen-section {
  background: var(--cream);
  padding: 4.5rem 1.5rem 0;
  text-align: center;
}
.speisen-section h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.speisen-section h2 a {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color var(--transition);
}
.speisen-section h2 a:hover { color: var(--teal); }
.speisen-section p {
  max-width: 60ch;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  color: var(--navy);
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  /* The sand band reaches from the left to the right edge of the screen;
     the photos stay in the content column (that is what the padding does). */
  margin: 0 -1.5rem;
  padding: 3.5rem max(2rem, calc((100% + 3rem - var(--wide)) / 2));
  background: var(--sand);
}
.food-grid a { display: block; overflow: hidden; box-shadow: 0 10px 28px var(--shadow); }
.food-grid img {
  width: 100%;
  aspect-ratio: 356 / 335;         /* same ratio as the Wix photos */
  object-fit: cover;
  transition: transform 0.3s ease;
}
.food-grid a:hover img { transform: scale(1.04); }


/* ─────────────────────────────────────────────────────────────
   10. HOMEPAGE — Kontakt
   ───────────────────────────────────────────────────────────── */
.kontakt-section {
  background: var(--cream);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}
.kontakt-section h2 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 0.5rem;
}
.kontakt-section .subtitle {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.phone-link {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}
.phone-link:hover { color: var(--teal); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.kontakt-block h3 {
  font-size: 1.6rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  margin-bottom: 0.5rem;
}
.kontakt-block p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.8;
}


/* ─────────────────────────────────────────────────────────────
   11. ÖFFNUNGSZEITEN PAGE
   ───────────────────────────────────────────────────────────── */
.hours-page {
  background: var(--cream);
  min-height: 60vh;
  padding: 3rem 1.5rem 4rem;
}
.hours-page .container {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.text-center { text-align: center; }
.hours-page .section-title { font-size: clamp(2rem, 4vw, 2.8rem); }
.hours-page .divider {
  width: 5rem;
  height: 1px;
  background: var(--teal);
  margin: 0.75rem auto 1.5rem;
}
.hours-block p { font-size: 1rem; color: var(--navy); }
.hours-intro {
  text-align: center;
  margin-bottom: 2rem;
}
.hours-intro p { font-size: 0.95rem; color: var(--navy); }

.hours-warm-kitchen {
  margin: 0 auto 1.5rem;
  max-width: 420px;
}
.hours-warm-kitchen .hw-block {
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}
.hours-warm-kitchen .hw-block p { font-size: 0.9rem; color: var(--navy); }

.hours-divider {
  width: 5rem;
  height: 1px;
  background: var(--hover-bg);
  margin: 1.5rem auto;
}

#hours-list { max-width: 32rem; margin: 0 auto; text-align: left; }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.hours-row:last-child { border-bottom: none; }
.hours-day  { font-size: 1rem; color: var(--navy); min-width: 9rem; }
.hours-time { font-size: 1rem; color: var(--muted); text-align: right; }
.hours-row.closed .hours-time { color: var(--red); font-style: italic; }


/* ─────────────────────────────────────────────────────────────
   12. SPEISEN / MENU PAGE
   ───────────────────────────────────────────────────────────── */
.menu-page { background: var(--cream); min-height: 60vh; }

/* Category tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5rem 1.5rem 0;
  background: var(--cream);
  border-bottom: 2px solid var(--sand);
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--muted);
  padding: 0.85rem 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.menu-tab:hover  { color: var(--navy); }
.menu-tab.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }

/* Menu content */
.menu-content {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}
.menu-cat-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.2rem;
  text-align: center;
}
.menu-cat-subtitle { text-align: center; }
.menu-cat-subtitle {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.menu-cat-image {
  width: 100%;
  height: clamp(14rem, 40vh, 26rem);
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* 2-column dish list */
.menu-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
}
.menu-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.menu-item-header {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}
.menu-item-nr {
  font-size: 0.95rem;
  color: var(--teal);
  flex-shrink: 0;
  min-width: 2rem;
}
.menu-item-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  /* dotted line between dish name and price */
  background-image: radial-gradient(circle, var(--muted) 1px, transparent 1px);
  background-size: 5px 1px;
  background-repeat: repeat-x;
  background-position: bottom 0.3em left;
}
.menu-item-price {
  font-size: 1.05rem;
  color: var(--navy);
  flex-shrink: 0;
  padding-left: 0.4rem;
  background: var(--cream);        /* must match .menu-page bg to hide dots */
  white-space: nowrap;
}
.menu-item-desc {
  font-size: 0.92rem;
  padding-left: 2.3rem;
  padding-right: 2.2rem;
  color: var(--muted);
  line-height: 1.5;
}
.menu-coming-soon {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* Sections inside a category ("Vom Grill", "Schnitzel" …) */
.menu-section { padding-top: 1.6rem; scroll-margin-top: 4rem; }
.menu-section-title {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  margin-bottom: 0.3rem;
}
.menu-section-title::after {       /* short line under the heading */
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--hover-bg);
  margin: 0.35rem auto 0.6rem;
}
.menu-section-note { text-align: center; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.5rem; }
.menu-item-codes { font-size: 0.8rem; color: var(--teal); white-space: nowrap; }

/* Row of jump buttons at the top of a long category */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.menu-jump a {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--hover-bg);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-jump a:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }

/* − amount + next to a dish → Merkzettel */
.note-stepper {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.5rem;
  align-self: center;
  border-radius: 999px;
  transition: background var(--transition);
}
.note-stepper.is-on { background: color-mix(in srgb, var(--teal) 12%, transparent); padding: 0.1rem; }
.note-count {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  animation: count-in 0.25s cubic-bezier(.3,1.6,.5,1);
}
@keyframes count-in { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.note-add {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--hover-bg);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.note-add:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); transform: scale(1.12); }
.note-stepper.is-on .note-add { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.note-stepper.is-on .note-minus { background: var(--cream); color: var(--teal); }

/* Allergen list in the note at the bottom */
.allergen-title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.allergen-list {
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  columns: 2;
  column-gap: 2.5rem;
}
.allergen-list li { break-inside: avoid; padding: 0.12rem 0; }

/* Note at the bottom of the menu */
.menu-bottom-note {
  background: var(--sand);
  padding: 3rem 1.5rem;
  text-align: center;
}
.menu-bottom-note h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.note-divider {
  width: 2.5rem;
  height: 2px;
  background: var(--teal);
  margin: 0.4rem auto 1.5rem;
}
.menu-bottom-note p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 55ch;
  margin: 0 auto 0.4rem;
}


/* ─────────────────────────────────────────────────────────────
   13. RESTAURANT PAGE
   ───────────────────────────────────────────────────────────── */
.restaurant-intro {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.restaurant-intro-text h2 {
  font-size: 2rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  margin-bottom: 0.75rem;
}
.restaurant-intro-text p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.85;
}
.restaurant-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.4;
  text-align: right;
}
.restaurant-quote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--teal);
  margin-top: 0.6rem;
}



/* ─────────────────────────────────────────────────────────────
   13b. PHOTO MOSAIC + BIG VIEW (Restaurant and Biergarten)
   Tiles of different sizes. In the HTML each photo is
     <a href="big photo"><img src="same photo" alt="…"></a>
   and the size is chosen with a class on the <a>:
     (none) = small · tile-wide = 2 wide · tile-tall = 2 high · tile-big = 2 × 2
   A row holds 4 small tiles (2 on phones). Click = big view (js/app.js → setupLightbox).
   ───────────────────────────────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 19rem);   /* height of one small tile */
  grid-auto-flow: dense;
  gap: 0.5rem;
  max-width: 100rem;                 /* wider than the text column on purpose */
  margin: 0 auto;
  padding: 0 0.5rem 4rem;
}
.mosaic a {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mosaic .tile-wide { grid-column: span 2; }
.mosaic .tile-tall { grid-row: span 2; }
.mosaic .tile-big  { grid-column: span 2; grid-row: span 2; }

/* Big view of one photo */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1.5rem;
  border: 0;
  background: color-mix(in srgb, var(--navy) 35%, black);
}
.lightbox::backdrop { background: black; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figure img {
  max-width: min(100%, 92vw);
  max-height: 82vh;
  margin: 0 auto;
  box-shadow: 0 20px 60px black;
}
.lightbox figcaption {
  margin-top: 0.8rem;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.lightbox button {
  position: fixed;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--nav-line);
  border-radius: 50%;
  background: color-mix(in srgb, black 45%, transparent);
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox button:hover { background: var(--teal); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Small arrow at the bottom of the start page photo: "scroll down" */
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: -1.3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--nav-text);
  border-radius: 50%;
  background: var(--navy-overlay);
}
.hero-cue span {
  width: 0.6rem;
  height: 0.6rem;
  margin-top: -0.3rem;
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(45deg);
}
.hero::after {                     /* soft dark edge at the bottom of the photo */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  z-index: 1;
  background: linear-gradient(to top, var(--shadow), transparent);
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   14. BIERGARTEN PAGE
   ───────────────────────────────────────────────────────────── */
/* Photo slider at the top (js/app.js → setupSliders) */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(22rem, 72vh, 56rem);   /* TO CHANGE the size: the middle value */
  background: var(--navy);
  outline: none;
}
.slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: hidden;
  transition: transform 0.7s cubic-bezier(.6,0,.2,1);   /* the sideways slide */
}
.slider-slide.is-active { visibility: visible; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: var(--navy-overlay);
  color: var(--cream);
  font-size: 1.8rem;
  line-height: 1;
  padding-bottom: 0.2rem;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), transform var(--transition);
}
.slider-arrow:hover { background: var(--navy); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.slider-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 1px solid var(--cream);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.slider-dot.is-active { width: 1.8rem; background: var(--cream); }
.biergarten-content {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}
.biergarten-content h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.biergarten-content p {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}


/* ─────────────────────────────────────────────────────────────
   15. HOTEL PAGE
   ───────────────────────────────────────────────────────────── */
.hotel-content {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.hotel-content h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.3rem;
}
.hotel-subtitle {
  text-align: center;
  font-style: italic;
  color: var(--teal);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.hotel-text p {
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.hotel-text strong { color: var(--navy); font-weight: 600; }
.hotel-text ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.hotel-text li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

/* Photo gallery: big image + clickable thumbnails */
.hotel-gallery { margin: 2rem 0; }
.hotel-gallery-main {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 0.5rem;
}
.hotel-gallery-thumbs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}
.hotel-gallery-thumbs img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition);
}
.hotel-gallery-thumbs img:hover,
.hotel-gallery-thumbs img.active { opacity: 1; }

/* Bottom: navy contact block + booking form */
.hotel-bottom {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  /* The two colours still run to the screen edges, but the content (address + form)
     stays inside the normal page width (--wide) instead of stretching over the whole screen. */
  --hotel-side: max(2rem, calc((100vw - var(--wide)) / 2));
}
.hotel-bottom .hotel-contact-block { padding-left: var(--hotel-side); }
.hotel-bottom .hotel-form          { padding-right: var(--hotel-side); }
.hotel-contact-block {
  background: var(--navy);
  color: var(--cream);
  padding: 2.5rem 2rem;
}
.hotel-contact-block h3 {
  color: var(--cream);
  font-size: 1.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  margin-bottom: 1rem;
}
.hotel-contact-block p {
  font-size: 0.9rem;
  color: var(--nav-text);
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.hotel-contact-block a {
  color: var(--hover-bg);
  text-decoration: underline;
  font-size: 0.9rem;
}

.hotel-form {
  background: var(--sand);
  padding: 2.5rem 2rem;
}
.hotel-form h3 {
  font-size: 1.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  margin-bottom: 0.2rem;
}
.form-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.2rem; }
.form-done { margin: 1rem 0 0; color: var(--navy); }
.form-done[hidden] { display: none; }
/* Big phone button above the form — calling is preferred */
.call-btn {
  display: block;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.call-btn:hover { background: var(--teal); transform: translateY(-2px); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.6rem;
}
.form-group label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.form-group input,
.form-group textarea {
  border: 1px solid var(--hover-bg);
  background: var(--cream);
  padding: 0.55rem 0.7rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { min-height: 100px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  border-radius: 100px;
  padding: 0.7rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.form-submit:hover { background: var(--cream); color: var(--navy); }


/* ─────────────────────────────────────────────────────────────
   16. FOOTER — sand, centered
   ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--sand);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}
.footer-phone {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.footer-social .social { font-size: 0.85rem; color: var(--muted); }
.footer-social .social:hover { color: var(--navy); }
.footer-phone a:hover { text-decoration: underline; }

/* The big "A": shape from images/logo-a.png, colour from --navy.
   (The letter in the HTML is only a fallback and is hidden.) */
.footer-logo {
  display: block;
  width: 2.6rem;
  height: 3.6rem;
  margin: 0.6rem auto 0.9rem;
  background: var(--navy);
  -webkit-mask: url('/images/logo-a.png') center / contain no-repeat;
  mask: url('/images/logo-a.png') center / contain no-repeat;
  font-size: 0;
}

.footer-links {
  font-size: 0.85rem;
  color: var(--navy);
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }


/* ─────────────────────────────────────────────────────────────
   16b. MAP (start page, above the footer)
   ───────────────────────────────────────────────────────────── */
.map-section { padding: 4rem 1.5rem 3.5rem; text-align: center; background: var(--cream); }
.map-section h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.map-section .subtitle { color: var(--muted); margin-bottom: 1.8rem; }
.map-frame {
  position: relative;
  max-width: var(--wide);
  height: clamp(20rem, 55vh, 32rem);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 1px solid var(--hover-bg);
  background: var(--navy) url('/images/restaurant/exterior.jpg') center / cover no-repeat;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--navy) 72%, transparent);
  color: var(--cream);
}
.map-pin {                         /* drawn with CSS: a round pin with a point */
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50% 50% 50% 0;
  background: var(--sand);
  transform: rotate(-45deg);
  position: relative;
  margin-bottom: 0.6rem;
}
.map-pin::after { content: ''; position: absolute; inset: 0.65rem; border-radius: 50%; background: var(--navy); }
.map-address { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.map-load {
  padding: 0.75rem 1.6rem;
  background: var(--sand);
  border: none;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.map-load:hover { background: var(--cream); transform: translateY(-2px); }
.map-hint { font-size: 0.78rem; opacity: 0.85; max-width: 34ch; }
.map-hint a { text-decoration: underline; text-underline-offset: 2px; }
.map-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }


/* ─────────────────────────────────────────────────────────────
   16c. MERKZETTEL — round button bottom right + list
   (js/app.js → setupNoteList. Reminder for the phone call, no ordering.)
   ───────────────────────────────────────────────────────────── */
.note-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px var(--shadow);
  transition: background var(--transition), transform var(--transition);
}
.note-fab[hidden] { display: none; }
.note-fab:hover { background: var(--teal); transform: translateY(-3px); }
.note-fab-icon {                   /* three small lines = a list */
  width: 1rem;
  height: 0.8rem;
  background: linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) 0 100% / 60% 2px no-repeat;
}
.note-fab-count {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1.6rem;
  text-align: center;
}
.note-fab.is-empty .note-fab-count { display: none; }
.note-fab.is-empty { padding-right: 1.1rem; }
.note-fab.pop { animation: fab-pop 0.4s cubic-bezier(.3,1.6,.5,1); }
@keyframes fab-pop { 0% { transform: scale(1); } 45% { transform: scale(1.14); } 100% { transform: scale(1); } }

.note-panel {
  position: fixed;
  inset: 0 0 0 auto;               /* sheet on the right side */
  width: min(26rem, 100vw);
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: none;
  background: var(--cream);
  color: var(--navy);
  box-shadow: -10px 0 40px var(--shadow);
  overflow-y: auto;
}
.note-panel::backdrop { background: color-mix(in srgb, var(--navy) 55%, transparent); }
.note-panel[open] { animation: sheet-in 0.35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
.note-body { padding: 2.2rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.note-body h2 { font-size: 2rem; }
.note-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
}
.note-hint { font-size: 0.88rem; line-height: 1.55; background: var(--sand); padding: 0.8rem 0.9rem; border-left: 3px solid var(--teal); }
.note-empty { font-style: italic; color: var(--muted); }
.note-row {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.note-row-nr { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--teal); }
.note-row-name { font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.note-row-name small { display: block; font-weight: 400; color: var(--muted); }
.note-row-qty { display: flex; align-items: center; gap: 0.45rem; }
.note-row-qty b { min-width: 1.2rem; text-align: center; }
.note-row-qty button {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid var(--hover-bg);
  border-radius: 50%;
  background: none;
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.note-row-qty button:hover { background: var(--navy); color: var(--cream); }
.note-total { display: flex; justify-content: space-between; font-size: 1.05rem; padding-top: 0.2rem; }
.note-call { font-size: 1rem; padding: 0.9rem 1rem; }
.note-clear { background: none; border: none; color: var(--muted); font-family: var(--sans); font-size: 0.85rem; text-decoration: underline; cursor: pointer; }
.note-stored { font-size: 0.75rem; color: var(--muted); text-align: center; }


/* ─────────────────────────────────────────────────────────────
   16d. PHONE BAR — Anrufen · Anfahrt · Merkzettel
   Floating "glass" capsule in the style of Apple's iOS 26 (Liquid Glass):
   see-through, blurred background, light rim, soft shadow, springy taps.
   Only on phones (see RESPONSIVE); js/app.js → setupTabBar builds it.
   ───────────────────────────────────────────────────────────── */
.tabbar { display: none; }
.tabbar {
  --glass:        color-mix(in srgb, var(--cream) 62%, transparent);
  --glass-rim:    rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 12px 32px rgba(10, 45, 70, 0.22), 0 2px 6px rgba(10, 45, 70, 0.10);
  position: fixed;
  left: 50%;
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 160;
  width: min(calc(100vw - 1.5rem), 24rem);
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: 2rem;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(255, 255, 255, 0.25);
  animation: tabbar-in 0.6s cubic-bezier(.2,.9,.25,1.15) 0.3s backwards;   /* backwards: after the entry the normal values rule again (hiding works) */
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.2,.9,.25,1.15);
}
@keyframes tabbar-in { from { opacity: 0; transform: translate(-50%, 140%); } to { opacity: 1; transform: translate(-50%, 0); } }
.tabbar-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 3.4rem;
  border-radius: 1.65rem;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(.3,1.6,.5,1), background 0.2s ease;
}
.tabbar-item svg { width: 1.55rem; height: 1.55rem; fill: currentColor; }
.tabbar-item:active { transform: scale(0.9); background: rgba(255, 255, 255, 0.55); }
.tabbar-call { background: var(--navy); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.tabbar-call:active { background: var(--teal); }
.tabbar-badge {
  position: absolute;
  top: 0.3rem;
  left: calc(50% + 0.45rem);
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.2rem;
  text-align: center;
  box-shadow: 0 0 0 2px var(--cream);
}
.tabbar-badge[hidden] { display: none; }
.tabbar-note.pop svg { animation: fab-pop 0.4s cubic-bezier(.3,1.6,.5,1); }
.nav-open .tabbar { opacity: 0; pointer-events: none; transform: translate(-50%, 1rem); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tabbar { --glass: var(--cream); }
}


/* ─────────────────────────────────────────────────────────────
   17. RESPONSIVE — tablets & phones (≤ 768px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 38vw; gap: 0.3rem; padding: 0 0.3rem 2rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox figure img { max-height: 70vh; }

  /* Mobile nav: links drop down under the navy bar.
     Bigger on the phone: bar 3.5rem high, menu button 48 × 48 px (Apple's minimum touch size is 44). */
  .navbar { position: relative; min-height: 3.5rem; padding: 0 0.5rem 0 1rem; }
  #nav-toggle { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; gap: 6px; padding: 0; }
  #nav-toggle span { width: 28px; height: 3px; }
  #nav-toggle:hover span:nth-child(2) { width: 28px; }
  #nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  #nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .lang-btn { font-size: 0.9rem; padding: 0.35rem 0.75rem; }
  .nav-social { gap: 1.1rem; }
  .nav-social .social { font-size: 0.95rem; min-width: 2rem; min-height: 2rem; justify-content: center; }
  .has-icon-instagram .nav-social .social-instagram::before,
  .has-icon-facebook  .nav-social .social-facebook::before { width: 1.5rem; height: 1.5rem; }

  /* Phone bar at the bottom replaces the round Merkzettel button */
  .tabbar { display: grid; }
  .has-tabbar .note-fab { display: none; }
  .has-tabbar body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }

  /* Merkzettel on the phone: a sheet that slides up from the bottom (like iOS sheets) */
  .note-panel {
    inset: auto 0 0 0;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    max-height: 88dvh;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -10px 40px var(--shadow);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .note-panel::before {            /* the little grab bar at the top */
    content: '';
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.6rem auto 0;
    border-radius: 999px;
    background: var(--hover-bg);
  }
  .note-panel[open] { animation: sheet-up 0.4s cubic-bezier(.2,.9,.25,1.05) both; }
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
  .note-body { padding-top: 1rem; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid var(--nav-line);
    padding: 0.5rem 0 0.8rem;
    z-index: 300;
    box-shadow: 0 18px 30px var(--shadow);
    /* closed: rolled up and invisible. JS adds .open */
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s cubic-bezier(.6,0,.2,1), opacity 0.3s ease, visibility 0s 0.45s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 -2rem 0);
    transition: clip-path 0.45s cubic-bezier(.6,0,.2,1), opacity 0.3s ease, visibility 0s;
  }
  .nav-links a {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--nav-line);
  }
  .nav-links a.active { box-shadow: inset 3px 0 0 var(--sand); }
  /* the links glide in one after the other */
  .nav-links li { opacity: 0; transform: translateX(-1.2rem); transition: opacity 0.2s ease, transform 0.2s ease; }
  .nav-links.open li { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.45s cubic-bezier(.2,.7,.2,1); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.13s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.18s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.23s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.28s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.33s; }

  /* Brand row on the phone: names on the left, house on the right */
  :root { --brand-h: 4.6rem; }
  .header-brand { justify-content: flex-start; gap: 0.8rem; padding: 0 5.2rem 0 1rem; }
  .brand-artemis img { height: 1.75rem; }
  .brand-hotel img   { height: 2.15rem; }
  .brand-divider { height: 2rem; }
  .house-btn { right: 0.6rem; }
  .house-btn img { height: 2.3rem; }
  .house-status { font-size: 0.7rem; }
  .house-panel { right: 0.6rem; }

  .menu-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding: 0.5rem 0.5rem 0; }
  .menu-item-name { white-space: normal; background-image: none; }
  .allergen-list { columns: 1; }
  .slider { height: 58vh; min-height: 18rem; }
  .slider-arrow { width: 2.4rem; height: 2.4rem; font-size: 1.5rem; }
  .map-section { padding: 3rem 1rem 2.5rem; }
  .note-fab { right: 0.8rem; bottom: 0.8rem; }

  /* Every multi-column grid becomes one column */
  .about-grid,
  .reviews-grid,
  .food-grid,
  .kontakt-grid,
  .menu-items-grid,
  .restaurant-intro,
  .hotel-bottom,
  .form-row { grid-template-columns: minmax(0, 1fr); }   /* minmax(0,…): a wide photo can never push the page wider than the phone */

  /* Smaller spacing & image heights */
  .nav-links a::after { display: none; }
  .hero        { height: 62vh; min-height: 20rem; }
  .page-banner { height: 44vh; min-height: 15rem; }

  .about-text  { padding: 3rem 1.5rem 2rem; }
  .about-image img { min-height: 260px; }

  .review-card { padding: 2.5rem 1.5rem 2rem; }
  .food-grid   { padding: 2rem 1.5rem; }
  .kontakt-grid { gap: 1.5rem; text-align: center; }

  .restaurant-quote { text-align: left; }

  .hotel-contact-block,
  .hotel-bottom { --hotel-side: 1.25rem; }
  .hotel-form { padding: 2rem 1.25rem; }
}


/* ─────────────────────────────────────────────────────────────
   17b. MOTION — soft fade-in while scrolling, hover effects
   (js/app.js → setupReveal adds .reveal / .is-visible;
    only active when the device does not ask for "reduce motion")
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(2rem) scale(0.98);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0s);   /* neighbours come in one after the other */
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Content drawn by JavaScript (menu, opening hours) fades in too */
  .menu-cat-title, .menu-cat-subtitle, .menu-cat-image, .menu-jump, .menu-section, .menu-coming-soon, .hours-row {
    animation: fade-up 0.5s ease both;
  }
  .menu-cat-image  { animation-delay: 0.08s; }
  .menu-section    { animation-delay: 0.16s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
  }

  /* Cards lift a little, photos zoom a little under the mouse */
  .review-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .review-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px var(--shadow); }
  .mosaic img { transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.4s ease; }
  .mosaic a:hover img, .mosaic a:focus-visible img { transform: scale(1.07); filter: brightness(1.1); }
  .lightbox[open] { animation: lightbox-in 0.3s ease both; }
  .lightbox[open] figure img { animation: lightbox-zoom 0.35s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes lightbox-in   { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lightbox-zoom { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
  .hero-cue span { animation: cue 1.8s ease-in-out infinite; }
  @keyframes cue { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }
  .page-banner-title { animation: fade-up 0.9s 0.15s ease both; }
}

/* ─────────────────────────────────────────────────────────────
   18. ACCESSIBILITY — respect "reduce motion" in the OS settings
   (works without !important: all animations use --transition)
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :root { --transition: 0s; }
  html  { scroll-behavior: auto; }
  .food-grid img { transition: none; }
  .hero-slide { transition: none; }
  .slider-slide { transition: none; }
  .house-btn[data-state="open"] .house-status::before { animation: none; }
  .nav-links, .nav-links li, #nav-toggle span { transition: none; }
  .note-panel[open], .house-panel, .note-fab.pop, .tabbar, .tabbar-note.pop svg, .note-count { animation: none; }
  .hero-slide.is-active { animation: none; }
}