/* ==========================================================================
   Eisdiele Tungendorf — Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --mint: #8fd3c7;
  --mint-dark: #4ea795;
  --pink: #f6b9cf;
  --pink-dark: #e0729a;
  --cream: #fffaf3;
  --cream-2: #fff3e6;
  --choc: #4a3428;
  --choc-dark: #2e2019;
  --text: #3a2e28;
  --muted: #7a695f;
  --white: #ffffff;
  --star: #e0a500;

  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Verdana, sans-serif;
  --font-display: Georgia, "Times New Roman", "Iowan Old Style", serif;

  --wrap: 1140px;
  --wrap-narrow: 820px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(74, 52, 40, 0.08);
  --shadow: 0 10px 30px rgba(74, 52, 40, 0.12);
  --shadow-lg: 0 22px 50px rgba(74, 52, 40, 0.18);

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Keeps anchored sections clear of the fixed header. */
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--choc);
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { text-wrap: pretty; }

a { color: inherit; }

img,
picture,
iframe {
  display: block;
  max-width: 100%;
}

ul { list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--pink-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--mint);
  color: var(--choc-dark);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 500;
  background: var(--choc);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.section {
  padding-block: clamp(64px, 9vw, 110px);
}

.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--pink-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--mint-dark);
  color: var(--white);
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(46, 32, 25, 0.22);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(46, 32, 25, 0.28);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--choc);
}

.btn--sm { padding: 10px 22px; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 52, 40, 0.07);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 250, 243, 0.97);
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--choc);
  text-decoration: none;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.logo span { color: var(--pink-dark); }
.logo svg { flex: 0 0 auto; width: 30px; height: 30px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--pink-dark);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover { color: var(--pink-dark); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--pink-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(74, 52, 40, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bars {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: var(--choc);
  border-radius: 2px;
  transition: background 0.2s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--choc);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Simple back-link header used on the legal pages. */
.back-link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.back-link:hover { color: var(--pink-dark); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 900px);
  padding-top: var(--header-h);
  overflow: hidden;
  color: var(--white);
  background: var(--choc);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(30, 20, 15, 0.88) 0%, rgba(30, 20, 15, 0.42) 45%, rgba(30, 20, 15, 0.3) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 88px);
  padding-top: 60px;
}
.hero .eyebrow {
  background: var(--pink-dark);
  color: var(--white);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.12em;
}
.hero h1 {
  max-width: 18ch;
  margin: 18px 0 16px;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero__lead {
  max-width: 54ch;
  margin-bottom: 30px;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero__status[hidden] { display: none; }

.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #9ad37f;
  box-shadow: 0 0 0 4px rgba(154, 211, 127, 0.28);
}
.is-closed .status-dot {
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(246, 185, 207, 0.25);
}

/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 14px;
}
.about__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__images .is-tall { grid-row: span 2; }

.about__text h2 { margin: 12px 0 16px; }
.about__text p {
  color: #5d4c42;
  margin-bottom: 14px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 34px);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(74, 52, 40, 0.1);
}
.badge__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--mint-dark);
  line-height: 1.1;
}
.badge__label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   8. Menu
   -------------------------------------------------------------------------- */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.menu-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.menu-card:hover .menu-card__media img { transform: scale(1.06); }

.menu-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 22px 24px 24px;
}
.menu-card__body p {
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}
.price {
  align-self: flex-start;
  background: var(--mint);
  color: #17423a;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.menu__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 44px);
}
.menu__note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Gallery + lightbox
   -------------------------------------------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, 1fr);
  gap: 12px;
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 32, 25, 0);
  transition: background 0.3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { background: rgba(46, 32, 25, 0.14); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(24, 16, 12, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 76svh;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}
.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }
.lightbox__prev { left: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(10px, 2.5vw, 28px); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   10. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  background: linear-gradient(160deg, var(--mint) 0%, #a9ded4 100%);
  color: #0f3730;
}
.testimonials .eyebrow { color: #12564a; }
.testimonials h2 { color: #0f3730; }
.testimonials .section-head p { color: rgba(15, 55, 48, 0.82); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 26px);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(15, 55, 48, 0.12);
}
.quote__stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1rem;
}
.quote blockquote {
  color: #5d4c42;
  font-size: 0.98rem;
  flex: 1;
}
.quote figcaption {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--choc);
}

/* --------------------------------------------------------------------------
   11. Info: hours, contact, map
   -------------------------------------------------------------------------- */
.info {
  background: var(--choc);
  color: #fdf2e4;
}
.info h2,
.info h3 { color: var(--white); }
.info .eyebrow { color: var(--pink); }
.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}
.info__card + .info__card { margin-top: 36px; }
.info h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.hours {
  width: 100%;
  border-collapse: collapse;
}
.hours th {
  text-align: left;
  font: inherit;
}
.hours td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}
.hours td:first-child { color: rgba(253, 242, 228, 0.85); }
.hours td:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hours tr.is-today td {
  color: var(--white);
  font-weight: 700;
}
.hours tr.is-today td:first-child::before {
  content: "→ ";
  color: var(--mint);
}

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}
.hours-status[hidden] { display: none; }

.fineprint {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(253, 242, 228, 0.62);
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.96rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list svg {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 3px;
  color: var(--mint);
}
.contact-list a {
  color: #fdf2e4;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 211, 199, 0.5);
}
.contact-list a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.map {
  position: relative;
  min-height: 380px;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #3b2a20;
  box-shadow: var(--shadow-lg);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.map__consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 100%;
  min-height: 380px;
  padding: 32px 26px;
  text-align: center;
  background: var(--cream);
  color: var(--text);
}
.map__consent h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--choc);
}
.map__consent p {
  max-width: 42ch;
  font-size: 0.88rem;
  color: var(--muted);
}
.map__consent a.plain {
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--choc-dark);
  color: #c9b8ab;
  padding-block: 44px 34px;
  font-size: 0.88rem;
  text-align: center;
}
.site-footer .logo {
  color: var(--white);
  justify-content: center;
  margin-bottom: 10px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-top: 20px;
}
.site-footer__links a,
.site-footer__links button {
  background: none;
  border: none;
  padding: 0;
  color: #e2d5c9;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.site-footer__links a:hover,
.site-footer__links button:hover { color: var(--white); }
.site-footer__note {
  max-width: 62ch;
  margin: 22px auto 0;
  font-size: 0.78rem;
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   13. Consent banner
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: var(--choc);
  color: #fdf2e4;
  padding: 18px clamp(16px, 4vw, 24px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}
.consent.is-open { transform: translateY(0); }
.consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: var(--wrap);
  margin-inline: auto;
}
.consent p {
  max-width: 66ch;
  font-size: 0.88rem;
  color: #e8dcce;
}
.consent p a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.consent__btn {
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.consent__btn--accept { background: var(--mint-dark); color: var(--white); }
.consent__btn--accept:hover { background: var(--pink-dark); transform: translateY(-1px); }
.consent__btn--decline {
  background: transparent;
  color: #e8dcce;
  border-color: rgba(255, 255, 255, 0.35);
}
.consent__btn--decline:hover { background: rgba(255, 255, 255, 0.1); }

/* --------------------------------------------------------------------------
   14. Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--choc);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease), background 0.2s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover { background: var(--pink-dark); }

/* --------------------------------------------------------------------------
   15. Legal pages
   -------------------------------------------------------------------------- */
.legal {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  padding: clamp(90px, 12vw, 120px) clamp(20px, 5vw, 32px) clamp(64px, 9vw, 96px);
}
.legal h1 { margin-bottom: 10px; }
.legal__meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 32px;
}
.legal .box {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 30px);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.legal .box h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.legal .box p { margin-bottom: 12px; color: #5d4c42; }
.legal .box p:last-child { margin-bottom: 0; }
.legal .box a {
  color: var(--pink-dark);
  text-underline-offset: 3px;
}
.legal .toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 28px;
  font-size: 0.9rem;
}
.legal .toc a { color: var(--mint-dark); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   16. Speisekarte (Unterseite)
   -------------------------------------------------------------------------- */
.karte {
  padding: clamp(100px, 13vw, 140px) 0 clamp(64px, 9vw, 96px);
}
.karte__head {
  max-width: 660px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.karte__head h1 { margin: 12px 0 14px; }
.karte__head p { color: var(--muted); }

.karte-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(20px, 3vw, 28px);
  border-bottom: 1px solid rgba(74, 52, 40, 0.12);
}
.karte-toc a {
  padding: 7px 16px;
  background: var(--white);
  border: 1px solid rgba(74, 52, 40, 0.12);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.karte-toc a:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  color: var(--white);
}

.karte-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 26px);
  align-items: start;
}
.karte-group {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 34px);
  box-shadow: var(--shadow-sm);
}
.karte-group--wide { grid-column: 1 / -1; }
.karte-group h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--mint);
}

.karte-lead {
  margin: 22px 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.karte-lead strong {
  color: var(--mint-dark);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.karte-list { margin-top: 6px; }
.karte-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(74, 52, 40, 0.16);
}
.karte-row:last-child { border-bottom: none; }
.karte-row__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-weight: 600;
}
.karte-row__name small {
  font-weight: 400;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.45;
}
.karte-row__price {
  flex: 0 0 auto;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--choc);
}
.karte-row.is-highlight .karte-row__price {
  background: var(--mint);
  color: #17423a;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-list li {
  padding: 6px 14px;
  background: var(--cream-2);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--choc);
}
.chip-list--plain li {
  background: transparent;
  border: 1px solid rgba(74, 52, 40, 0.16);
  font-weight: 400;
  color: var(--text);
}

.cocktails {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 20px;
}
.cocktail {
  padding: 20px 22px;
  background: var(--cream);
  border-radius: var(--radius);
}
.cocktail h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cocktail p {
  font-size: 0.9rem;
  color: var(--muted);
}

.karte-hint {
  margin-top: clamp(26px, 4vw, 38px);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}
.karte-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   17. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Without JS everything must stay visible. */
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .about__grid,
  .info__grid { grid-template-columns: 1fr; }
  .about__images { order: -1; }
  .map { min-height: 320px; }
  .karte-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 52, 40, 0.1);
    box-shadow: var(--shadow);
    padding: 8px clamp(20px, 5vw, 32px) 20px;
    transform: translateY(-140%);
    transition: transform 0.3s var(--ease);
    visibility: hidden;
  }
  .nav-list.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .nav-list li + li { border-top: 1px solid rgba(74, 52, 40, 0.08); }
  .nav-list a {
    display: block;
    padding: 14px 2px;
    font-size: 1rem;
  }
  .nav-list a::after { display: none; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(130px, 1fr);
  }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 560px) {
  /* Kurzform der Rückwärts-Navigation, damit der Kopf einzeilig bleibt. */
  .back-link__long { display: none; }
  .hero { min-height: 88svh; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__images { grid-template-rows: repeat(2, minmax(110px, 1fr)); }
  .consent__inner { flex-direction: column; align-items: stretch; }
  .consent__actions .consent__btn { flex: 1; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .consent,
  .to-top,
  .lightbox,
  .hero__actions,
  .karte-toc,
  .karte-cta,
  .map { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 20px; }
  .karte { padding-block: 0; }
  .karte-grid { grid-template-columns: 1fr; gap: 0; }
  .karte-group {
    box-shadow: none;
    padding: 0 0 16px;
    break-inside: avoid;
  }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}