/* =========================================================
   Café Engels – styles.css
   Colours and fonts live in the :root tokens below.
   ========================================================= */

/* Self-hosted Google Fonts (Fraunces, DM Sans – SIL Open Font License). Latin + Latin Extended only. */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/dmsans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  /* Palette (light only). All text colours pass WCAG AA on --bg / --bg-alt */
  --bg: #FAF6EF;          /* light warm beige: one background colour for the whole page */
  --bg-alt: #F3EBDD;      /* a touch darker, for hover states */
  --surface: #FFFDF9;     /* cards */
  --text: #3B2618;        /* deep coffee brown */
  --muted: #6B5444;       /* secondary text */
  --line: #E2D5C2;        /* hairlines */
  --accent: #3F6359;      /* deep sage green from the dining-room panelling; 5.7:1 on --bg, 6.7:1 with white text */
  --accent-dark: #2F4D45;
  --accent-soft: #DCE6DF;
  --floor: #8A3B26;       /* deep red-brown of the café floor; used for the small section labels (6.6:1 on --bg) */
  --open: #2F6B3A;        /* "open now" green */
  --focus: #1F5FBF;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(59, 38, 24, .06), 0 8px 24px rgba(59, 38, 24, .08);
  --header-h: 64px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.55rem); font-weight: 500; }
h3 { font-size: 1.4rem; }
.h4 { font-size: 1.2rem; }
h1 em, h2 em, .wordmark em { font-style: italic; color: var(--accent); }

p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Language switching: hide whatever language isn't active */
html[lang="de"] [data-lang="en"],
html[lang="en"] [data-lang="de"] { display: none !important; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: .6em 1em; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--bg); }

main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }

.small { font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

.placeholder-note {
  display: inline-block; font-size: .8rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 999px; padding: .2em .9em; margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: 500 1rem/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: #fff; color: var(--text); }
.btn-sm { min-height: 40px; padding: .45em 1em; font-size: .95rem; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  cursor: pointer; text-decoration: none;
}
.icon-btn:hover { border-color: var(--text); color: var(--text); }

.text-link { font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(59,38,24,.06); }

.header-inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }

.wordmark {
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600;
  color: var(--text); text-decoration: none; white-space: nowrap; margin-right: auto; letter-spacing: -.01em;
}
.wordmark:hover { color: var(--text); }
.wordmark-logo { display: inline-flex; align-items: center; padding: 6px 0; }
.wordmark-logo img { height: 24px; width: auto; }
@media (min-width: 900px) { .wordmark-logo img { height: 28px; } }
.footer-logo { margin: 0 0 .6em; }
.footer-logo img { width: 200px; height: auto; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface);
}
.lang-toggle button {
  font: 500 .85rem/1 var(--font-sans); color: var(--muted);
  background: none; border: 0; border-radius: 999px; padding: .55em .7em; min-width: 38px; min-height: 36px; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* Mobile nav: a panel under the header */
.main-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(59,38,24,.1);
  display: none;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.main-nav a {
  display: block; padding: .8em 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.35rem; color: var(--text); text-decoration: none;
}
.main-nav li:last-child a { border-bottom: 0; }

/* Very small phones: icon-only directions button */
@media (max-width: 379px) {
  .directions-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .directions-btn { padding: 0; width: 44px; min-height: 44px; }
  .wordmark { font-size: 1.15rem; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 5px; }
  .icon-btn { width: 40px; height: 40px; }
  .directions-btn { width: 40px; min-height: 40px; }
  /* Only show the language you can switch to */
  .header-actions .lang-toggle button[aria-pressed="true"] { display: none; }
  .header-actions .lang-toggle button { min-width: 34px; padding: .55em .4em; }
}

@media (min-width: 900px) {
  .mobile-only, .nav-toggle { display: none; }
  .main-nav {
    position: static; display: block; background: none; border: 0; box-shadow: none; margin-right: 8px;
  }
  .main-nav ul { display: flex; gap: 4px; padding: 0; }
  .main-nav a {
    border: 0; padding: .5em .8em; border-radius: 999px;
    font-family: var(--font-sans); font-size: 1rem; font-weight: 500;
  }
  .main-nav a:hover { background: var(--bg-alt); }
  .wordmark { margin-right: auto; }
}

/* Events dropdown in the menu */
.nav-sub-toggle { display: none; }
.sub-menu { list-style: none; margin: 0; padding: 0; }
@media (max-width: 899px) {
  /* Phone menu: "Events" as a small label, both sub-items listed underneath */
  .has-sub::before {
    content: "Events"; display: block; padding: .9em 0 .2em;
    font: 700 .75rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  }
  .main-nav .sub-menu a { padding-left: .6em; }
}
@media (min-width: 900px) {
  .has-sub { position: relative; }
  .nav-sub-toggle {
    display: inline-flex; align-items: center; gap: .3em;
    border: 0; background: none; cursor: pointer; color: var(--text);
    font-family: var(--font-sans); font-size: 1rem; font-weight: 500; line-height: inherit; padding: .5em .8em; border-radius: 999px;
  }
  .nav-sub-toggle:hover { background: var(--bg-alt); }
  .nav-sub-toggle svg { transition: transform .2s; }
  .has-sub.is-open .nav-sub-toggle svg, .has-sub:hover .nav-sub-toggle svg { transform: rotate(180deg); }
  .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 200px; padding: 8px;
    background: rgba(20, 20, 20, .45); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
    border: 1px solid rgba(255,255,255,.18); border-radius: 14px; box-shadow: 0 14px 36px rgba(0,0,0,.18);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub-menu { display: block; }
  .main-nav .sub-menu a { display: block; white-space: nowrap; color: #fff; text-shadow: none; border-radius: 10px; }
  .main-nav .sub-menu a:hover { background: rgba(255,255,255,.16); color: #fff; }
  /* over the light page the see-through box needs to be darker so the white text stays readable */
  .site-header--overlay.is-solid .sub-menu, .site-header:not(.site-header--overlay) .sub-menu { background: rgba(34, 34, 34, .82); }
  .site-header--overlay:not(.is-solid) .nav-sub-toggle { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  .site-header--overlay:not(.is-solid) .nav-sub-toggle:hover { background: rgba(255,255,255,.16); }
  .site-header--overlay:not(.is-solid) .main-nav .sub-menu a { color: #fff; text-shadow: none; }
  .site-header--overlay:not(.is-solid) .main-nav .sub-menu a:hover { background: rgba(255,255,255,.16); }
}

/* Header over the hero image: transparent at the top, solid once you scroll */
.site-header .logo-light { display: none; }
.site-header--overlay {
  position: fixed; left: 0; right: 0;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.site-header--overlay:not(.is-solid) .logo-dark { display: none; }
.site-header--overlay:not(.is-solid) .logo-light { display: block; }
.site-header--overlay:not(.is-solid) .icon-btn {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff;
}
.site-header--overlay:not(.is-solid) .lang-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.site-header--overlay:not(.is-solid) .lang-toggle button { color: #fff; }
.site-header--overlay:not(.is-solid) .lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--text); }
.site-header--overlay:not(.is-solid) { border-color: transparent; box-shadow: none; }
.site-header--overlay.is-solid {
  background: rgba(250, 246, 239, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-color: var(--line); box-shadow: 0 4px 18px rgba(59,38,24,.06);
}
@media (min-width: 900px) {
  .site-header--overlay:not(.is-solid) .main-nav a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
  .site-header--overlay:not(.is-solid) .main-nav a:hover { background: rgba(255,255,255,.16); }
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: -1;
  background: linear-gradient(180deg, rgba(20,12,6,.55), rgba(20,12,6,0));
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh;
  min-height: 100svh; /* full screen, also with mobile browser bars */
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30,18,10,.15) 0%, rgba(30,18,10,.45) 45%, rgba(30,18,10,.82) 100%);
}
.hero-content { padding-top: 120px; padding-bottom: clamp(40px, 9vh, 96px); }
.hero h1 { margin-bottom: .3em; max-width: 12ch; }
.hero h1 em { color: #B9D2C7; }
.hero-sub { font-size: clamp(1.1rem, 2.4vw, 1.35rem); max-width: 36ch; margin-bottom: 1.6em; color: #F5ECE1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero with the big logo in the middle */
.hero:has(.hero-content--center) { align-items: center; }
.hero:has(.hero-content--center) .hero-overlay {
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgba(30,18,10,.45), rgba(30,18,10,0) 70%),
    linear-gradient(180deg, rgba(30,18,10,.25) 0%, rgba(30,18,10,.45) 50%, rgba(30,18,10,.7) 100%);
}
.hero-content--center {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px;
}
.hero-logo { margin: .3em 0 .8em; max-width: none; width: min(64vw, 480px); line-height: 0; }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 2px 18px rgba(0,0,0,.35)); }
.hero-content--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero-content--center .hero-ctas { justify-content: center; }
/* No second logo in the header while it sits on top of the big one */
.site-header--overlay:not(.is-solid) .wordmark-logo { visibility: hidden; }
@media (min-width: 900px) {
  /* Menu links on the left, buttons on the right */
  .site-header--overlay .wordmark { margin-right: 8px; }
  .site-header--overlay .main-nav { margin-right: auto; }
  .site-header--overlay .main-nav ul { margin-left: -.8em; }
  .site-header--overlay.is-solid .main-nav ul { margin-left: 0; }
  .site-header--overlay:not(.is-solid) .wordmark-logo { display: none; }
}

/* ---------- Open / closed badge ---------- */
.status-badge {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .45em 1em .45em .8em; margin: 0 0 1.4em;
  border-radius: 999px; font-size: .95rem; font-weight: 500;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.status-badge-light { background: var(--surface); color: var(--text); border-color: var(--line); margin-bottom: 1.2em; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #c9b8a6; flex: none; }
.is-open .status-dot { background: #2E8A47; } /* darker green, no blinking */
.status-badge-light.is-open .status-dot { background: var(--open); }
.is-closed .status-dot { background: #E37B52; }
.status-badge-light.is-closed .status-dot { background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt {
  background: var(--bg); /* same colour everywhere now */
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-lead { color: var(--muted); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8em;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--floor); margin-bottom: 1em;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.about-text .eyebrow::before { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.1fr .9fr; } }
.about-text p { font-size: 1rem; }
.about-text > p:first-of-type::first-letter {
  font-family: var(--font-serif); float: left; font-size: 3.6em; line-height: .85; padding: .06em .1em 0 0; color: var(--accent);
}
.about-facts {
  list-style: none; padding: 1.4em 0 0; margin: 1.6em 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px;
}
.about-facts li { color: var(--muted); font-size: .95rem; line-height: 1.35; }
.about-facts strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; font-weight: 500; color: var(--text); }

.about-photo { position: relative; margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.menu-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .menu-tabs { justify-content: center; flex-wrap: wrap; } }

.menu-tab {
  flex: none; min-height: 44px; padding: .55em 1.2em; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text);
  font: 500 1rem/1.2 var(--font-sans); cursor: pointer; white-space: nowrap;
}
.menu-tab:hover { border-color: var(--text); }
.menu-tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

.menu-panel {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 44px);
}
.menu-panel[hidden] { display: none; }
.menu-panel:focus-visible { outline-offset: 4px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 48px; }
@media (min-width: 860px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.menu-item { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item-head { display: flex; align-items: baseline; gap: 10px; }
.menu-item-name { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; margin: 0; }
.menu-item-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.menu-item-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item-desc { color: var(--muted); margin: .3em 0 .4em; font-size: .98rem; }
.menu-item-diets { display: flex; gap: 6px; }

.diet {
  display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px;
  border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.diet-vegan { background: #E1ECD9; color: #24502D; }
.diet-veg { background: #EEF0D5; color: #4A4D12; }
.diet-gf { background: #F6E3C8; color: #6E4310; }

.diet-legend {
  list-style: none; padding: 0; margin: 28px 0 8px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  font-size: .9rem; color: var(--muted);
}
.diet-legend li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Gallery (masonry via CSS columns) ---------- */
/* Photo collages in "Über uns" and "Brunch": up to 6 photos in different sizes,
   loosely arranged on a 14-column grid. No straight outer edge: top, left, right
   and bottom are all staggered. Click = big view. */
.photo-collage { width: 100%; max-width: 720px; margin: 0 auto; container-type: inline-size; }
.collage {
  --gap: 10px;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(14, 1fr);
  grid-auto-rows: 32px; /* fallback */
  grid-auto-rows: calc((100cqw - 13 * var(--gap)) / 14); /* square cells */
}
.collage li { min-width: 0; }
.collage .gallery-link { height: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage li:nth-child(1) { grid-column: 2 / 9;   grid-row: 2 / 9; }   /* big, inset from top and left */
.collage li:nth-child(2) { grid-column: 9 / 14;  grid-row: 1 / 5; }   /* sticks out at the top */
.collage li:nth-child(3) { grid-column: 9 / 15;  grid-row: 5 / 10; }  /* sticks out on the right */
.collage li:nth-child(4) { grid-column: 1 / 5;   grid-row: 9 / 13; }  /* sticks out on the left */
.collage li:nth-child(5) { grid-column: 5 / 9;   grid-row: 9 / 15; }  /* reaches lowest */
.collage li:nth-child(6) { grid-column: 9 / 13;  grid-row: 10 / 14; }
.collage li:nth-child(n+7) { display: none; } /* max. 6 photos */
/* "Über uns" gets its own arrangement: big photo on the right, smaller ones stepping down on the left */
#about .collage li:nth-child(1) { grid-column: 6 / 14;  grid-row: 1 / 8; }
#about .collage li:nth-child(2) { grid-column: 1 / 6;   grid-row: 3 / 7; }
#about .collage li:nth-child(3) { grid-column: 2 / 6;   grid-row: 7 / 12; }
#about .collage li:nth-child(4) { grid-column: 6 / 10;  grid-row: 8 / 12; }
#about .collage li:nth-child(5) { grid-column: 10 / 15; grid-row: 8 / 11; }
#about .collage li:nth-child(6) { grid-column: 10 / 14; grid-row: 11 / 15; }
.gallery-link { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery-link img { width: 100%; transition: transform .5s ease; }
.gallery-link::after {
  content: ""; position: absolute; inset: 0; background: rgba(59,38,24,0); transition: background .3s;
}
.gallery-link:hover img { transform: scale(1.04); }
.gallery-link:hover::after { background: rgba(59,38,24,.12); }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: auto; background: transparent; color: #fff;
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(20, 12, 6, .92); }
.lightbox figure { margin: 0; max-width: min(92vw, 1200px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { margin-top: 12px; font-size: .95rem; color: #E9DCCB; padding: 0 56px; }
.lightbox-close, .lightbox-nav {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox :focus-visible { outline-color: #fff; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 20px; margin-bottom: 28px; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  margin: 0; background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.stars { color: var(--accent); letter-spacing: .15em; margin-bottom: 10px; }
.review-card blockquote { margin: 0 0 1em; flex: 1; }
.review-card blockquote p { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.45; margin: 0; }
.review-card figcaption { color: var(--muted); font-size: .92rem; }

.rating-summary {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 28px;
}
.rating-score { font-family: var(--font-serif); font-size: clamp(3.6rem, 10vw, 5rem); font-weight: 500; line-height: 1; margin: 0; }
.rating-stars {
  position: relative; display: inline-block; font-size: 1.6rem; letter-spacing: .12em; line-height: 1;
  color: #D9C9B4;
}
.rating-stars::before { content: "★★★★★"; }
.rating-stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--accent); }
.rating-stars-fill::before { content: "★★★★★"; }
.rating-count { margin: 6px 0 0; color: var(--muted); }
.reviews-intro { margin-bottom: 20px; }
.topic-card { text-align: center; align-items: center; }
.topic-icon { font-size: 2rem; margin: 0 0 .2em; }
.topic-card h3 { margin-bottom: .2em; }
.topic-count { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .8em; }
.topic-card p:last-of-type { color: var(--muted); margin: 0; }
.topic-cta { margin-top: 18px; }

/* ---------- Events (ticket style) ---------- */
.events { display: grid; gap: 20px; margin-bottom: 24px; }
@media (min-width: 820px) { .events { grid-template-columns: repeat(3, 1fr); } }
.event-card {
  position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.event-card::before, .event-card::after {
  content: ""; position: absolute; top: 58px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line);
}
.event-card::before { left: -12px; clip-path: inset(0 0 0 50%); }
.event-card::after { right: -12px; clip-path: inset(0 50% 0 0); }
.event-when {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1.5px dashed var(--line);
}
.event-card p:last-child { margin: 0; color: var(--muted); }

/* Event cards with the real posters */
@media (min-width: 820px) { .events-posters { grid-template-columns: repeat(2, 1fr); } }
.event-dates { color: var(--muted); margin: .6em 0 .3em; }


/* Private events: text first on phones, photo left on desktop */
.private-grid .about-photo { max-width: 420px; margin: 0 auto; }
@media (max-width: 859px) { .private-grid .about-text { order: -1; } }
@media (min-width: 860px) {
  /* text left, photo right: alternates with Brunch above */
  .private-grid { grid-template-columns: 1.15fr .85fr; }
  .private-grid .about-photo { order: 2; }
}
.event-card-poster {
  display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 20px; align-items: center; padding: 18px;
}
.event-card-poster::before, .event-card-poster::after { display: none; }
.event-poster { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-1.5deg); transition: transform .3s; }
.event-card-poster:nth-child(even) .event-poster { transform: rotate(1.5deg); }
/* Upcoming events: same 2x2 grid and even spacing, each card just tilted a little,
   each one differently, so it looks pinned up by hand rather than perfectly aligned.
   (translate/rotate instead of transform, so the fade-in animation does not reset it) */
@media (min-width: 820px) {
  .events-posters .event-card-poster:nth-child(1) { rotate: -.4deg; }
  .events-posters .event-card-poster:nth-child(2) { rotate: -.8deg; }
  .events-posters .event-card-poster:nth-child(3) { rotate: .25deg; }
  .events-posters .event-card-poster:nth-child(4) { rotate: -.6deg; }
  .events-posters .event-card-poster:nth-child(1) .event-poster { transform: rotate(-1.5deg); }
  .events-posters .event-card-poster:nth-child(2) .event-poster { transform: rotate(1deg); }
  .events-posters .event-card-poster:nth-child(3) .event-poster { transform: rotate(-.5deg); }
  .events-posters .event-card-poster:nth-child(4) .event-poster { transform: rotate(2deg); }
  .events-posters .event-card-poster .event-poster:hover { transform: rotate(0) scale(1.02); }
}
.event-poster:hover, .event-card-poster:nth-child(even) .event-poster:hover { transform: rotate(0) scale(1.02); }
.event-poster img { width: 100%; }
.event-body h3 { font-size: 1.25rem; }
@media (max-width: 420px) {
  .event-card-poster { grid-template-columns: 1fr; }
  .event-poster { max-width: 240px; margin: 0 auto; }
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: clamp(28px, 5vw, 56px); margin-bottom: clamp(28px, 5vw, 48px); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.visit-hours .h4 { margin-top: 0; }
@media (min-width: 900px) { .visit-hours { padding-top: 9px; } } /* heading level with the "open now" badge */

.visit-address { font-style: normal; font-size: 1.2rem; line-height: 1.5; margin-bottom: 1.1em; }
.visit-address strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.visit-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.6em; }

.contact-list { margin: 0 0 2em; display: grid; gap: 8px; }
.contact-list div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--accent-soft); font-weight: 700; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th { border-radius: 8px 0 0 8px; }
.hours tr.is-today td { border-radius: 0 8px 8px 0; }
.today-tag {
  display: inline-block; margin-left: .5em; padding: .1em .55em; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .05em; vertical-align: middle;
}
.hours .closed { color: var(--muted); }
.range-label { font-size: .85em; color: var(--accent); font-weight: 700; }
.range-note { display: inline-block; margin-top: .2em; font-size: .88em; color: var(--accent); font-weight: 500; }

.map-consent {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 380px;
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(59,38,24,.035) 22px 44px),
    var(--surface);
  border: 1.5px solid var(--line);
  display: grid; place-items: center; text-align: center;
}
@media (min-width: 900px) { .map-consent { height: auto; aspect-ratio: 4 / 3; } }
.visit-grid > *, .about-grid > * { min-width: 0; }
.nowrap { white-space: nowrap; }
/* About + Brunch: photos get more room, text a bit smaller */
@media (min-width: 860px) { #about .about-grid { grid-template-columns: .85fr 1.15fr; } }
#about h2, #brunch h2, #private h2 { font-size: clamp(1.75rem, 3.1vw, 2.3rem); }

/* Brunch: photo left, text right (text first on phones) */
@media (min-width: 860px) { .brunch-grid { grid-template-columns: 1.15fr .85fr; } }
@media (max-width: 859px) { .brunch-grid .brunch-text { order: -1; } }
.brunch-text p { font-size: 1rem; }
.brunch-text .eyebrow::before { display: none; }
.brunch-text .btn { margin-top: .4em; }
.map-consent-inner { padding: 28px; max-width: 420px; display: grid; justify-items: center; gap: 14px; }
.map-consent-inner svg { color: var(--accent); }
.map-consent-inner p { margin: 0; color: var(--muted); font-size: .95rem; }
.exterior-photo { margin: 0; }
.exterior-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.exterior-photo figcaption { margin-top: 10px; font-size: .92rem; color: var(--muted); }
.cash-only {
  display: inline-block; margin: 0 0 .8em; padding: .3em .9em; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
}
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.info-cards { display: grid; gap: 20px; }
@media (min-width: 820px) { .info-cards { grid-template-columns: 1.6fr 1fr; } }
.info-card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.info-card ul { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .55em; }
.info-card p:last-child { margin: 0; }
.check-list li { position: relative; padding-left: 1.6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .5em;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- Reservation (Lightspeed embed) ---------- */
.reserve-embed {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.reserve-embed iframe { display: block; width: 100%; height: min(760px, 68vh); border: 0; }
.reserve-embed .reserve-consent { margin: 0 auto; padding: 44px 28px; text-align: center; }
.reserve-note { margin-top: 16px; }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.link-btn:hover { color: var(--accent-dark); }

/* ---------- Contact pop-ups ---------- */
.contact-dialog {
  width: min(92vw, 440px); border: 0; border-radius: var(--radius); padding: 32px 28px 28px;
  background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(30,18,10,.3);
  text-align: center;
}
.contact-dialog::backdrop { background: rgba(30, 18, 10, .55); }
.contact-dialog h3 { font-size: 1.7rem; }
.contact-dialog .eyebrow::before, .contact-dialog .eyebrow::after { display: none; }
.contact-value { font-family: var(--font-serif); font-size: clamp(1.25rem, 5vw, 1.55rem); font-weight: 600; margin: .6em 0 1em; overflow-wrap: anywhere; }
.contact-value a { color: var(--text); text-decoration: none; }
.contact-value a:hover { color: var(--accent); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dialog-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--bg-alt); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { background: var(--line); }

/* Reservation pop-up: wider, scrolls inside on small screens */
.reserve-dialog { width: min(94vw, 640px); max-height: 92vh; overflow-y: auto; padding: 28px 20px 20px; }
.reserve-dialog .section-lead { font-size: 1rem; margin: 0 auto 18px; max-width: 46ch; }
.reserve-dialog .reserve-embed { box-shadow: none; border: 1.5px solid var(--line); text-align: left; }
.reserve-dialog .reserve-embed .reserve-consent { text-align: center; padding: 28px 20px; }
@media (max-width: 520px) {
  .reserve-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border-radius: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: #222222; color: #EDE7DE; padding: 56px 0 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #B9D2C7; }
.site-footer :focus-visible { outline-color: #9CC2FF; }
.footer-grid { display: grid; gap: 28px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid rgba(234,223,207,.18); }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr auto; } }
.wordmark-footer { color: #fff; margin: 0 0 .3em; }
.wordmark-footer em { color: #B9D2C7; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.lang-toggle-footer { background: transparent; border-color: rgba(234,223,207,.3); }
.lang-toggle-footer button { color: #EADFCF; padding: .55em 1em; }
.lang-toggle-footer button[aria-pressed="true"] { background: #EDE7DE; color: #222222; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; }
.footer-bottom p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(40px, 8vw, 96px) 0; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }

/* ---------- Scroll reveal (only when JS is on and motion is OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .hero-ctas, .visit-map, #reserve, .lightbox, .contact-dialog { display: none !important; }
  body { background: #fff; }
}

.about-signoff { font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; color: var(--accent); }
