/* Ängel oder Aff: site styles (v2)
   Tokens follow copy/brand-kit.md */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #F6F1E7;          /* Altstadt Papier */
  --surface: #FFFBF4;     /* Kreide */
  --text: #1F1B16;        /* Tinte */
  --text-muted: #6B6255;  /* Kopfstein */
  --accent: #D2B12C;      /* Engelsgold: fills only */
  --accent-hover: #E0C142;
  --accent-text: #7D6000; /* Altgold: gold text on light */
  --accent-2: #A2412E;    /* Münsterrot: sparing */
  --border: #DDD3C1;      /* Fuge */
  --border-strong: #CFC3AD;
  --on-dark: #F6F1E7;
  --on-dark-muted: #B5AA97;
  --line-dark: #3A342C;
  --ok: #3F7D3A;

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 78rem;
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: clamp(4rem, 9vw, 7.5rem);

  --radius-s: 6px;
  --radius-m: 14px;
  --arch: 999px 999px var(--radius-m) var(--radius-m);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .on-hero :focus-visible { outline-color: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 var(--space-2); text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
p { margin: 0 0 var(--space-2); max-width: 62ch; text-wrap: pretty; }
.lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.5; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }

.skip-link { position: absolute; left: var(--space-2); top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: var(--space-2); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-5); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--text);
  font: 500 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s, transform .15s var(--ease-out);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.dark .btn-ghost, .hero .btn-ghost { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 70%, transparent); }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { background: var(--on-dark); color: var(--text); border-color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.text-link:hover { text-decoration-color: var(--text); }

/* ---------- Header (fixed; transparent over the home hero) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--text); transition: color .3s var(--ease-out); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 97%, transparent);
  border-bottom: 1px solid var(--border);
  transition: opacity .3s var(--ease-out);
}
.site-header.on-hero { color: var(--on-dark); }
.site-header.on-hero::before { opacity: 0; }
body.menu-open .site-header { color: var(--text); }
body.menu-open .site-header::before { opacity: 1; background: var(--bg); }
.page { padding-top: var(--header-h); }

.header-inner { display: flex; align-items: center; gap: var(--space-2); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--bg); }
.brand span { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .8vw, 1.4rem); line-height: 1; white-space: nowrap; }

.nav-list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; color: inherit; text-decoration: none; font-weight: 500; border-radius: 999px; transition: background-color .2s; }
.nav-list a:hover { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.nav-list a[aria-current="page"] { background: var(--accent); color: var(--text); }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.social-links { display: flex; align-items: center; gap: .15rem; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 44px; height: 44px; border-radius: 999px; color: inherit; text-decoration: none; transition: background-color .2s, border-color .2s; }
.icon-link:hover { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.icon-link svg { width: 20px; height: 20px; flex: none; }
.icon-label, .lang-label { display: none; }

/* language: a small DE | EN segmented switch; the active language is filled */
.site-header { --seg-on-bg: var(--text); --seg-on-fg: var(--bg); }
.site-header.on-hero { --seg-on-bg: var(--on-dark); --seg-on-fg: var(--text); }
body.menu-open .site-header { --seg-on-bg: var(--text); --seg-on-fg: var(--bg); }
.lang-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, currentColor 35%, transparent); }
.lang-seg a {
  display: inline-grid; place-items: center; min-width: 40px; min-height: 36px; padding: 0 .6rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem; letter-spacing: .02em; color: inherit; text-decoration: none; transition: background-color .2s, color .2s;
}
.lang-seg a:not([aria-current]):hover { background: color-mix(in srgb, currentColor 14%, transparent); }
body .site-header .site-nav .lang-seg a[aria-current] { background: var(--seg-on-bg); color: var(--seg-on-fg); }

.menu-toggle { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--text); color: var(--bg); cursor: pointer; }
.on-hero .menu-toggle { background: var(--on-dark); color: var(--text); }
body.menu-open .menu-toggle { background: var(--text); color: var(--bg); }
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 5px; }
.menu-toggle .bars::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; background: var(--bg); color: var(--text);
    padding: var(--space-3) var(--gutter) var(--space-4); display: flex; flex-direction: column; gap: var(--space-4);
    overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .45s var(--ease-out), visibility 0s linear .45s;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease-out), visibility 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--border); }
  .nav-list a { font-family: var(--font-display); font-size: 2.1rem; font-weight: 400; min-height: 68px; padding: 0; border-radius: 0; width: 100%; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { background: none; color: var(--accent-text); }
  .nav-extra { display: grid; gap: var(--space-2); }
  .nav-extra .status { margin: 0; }
  .header-tools { display: grid; gap: var(--space-3); }
  .social-links { gap: .6rem; flex-wrap: wrap; }
  .social-links .icon-link { width: auto; height: 48px; padding: 0 1.1rem 0 .9rem; border: 1.5px solid var(--border-strong); font-weight: 500; }
  .icon-label { display: inline; }
  .lang-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: var(--space-3); border-top: 1px solid var(--border); }
  .lang-label { display: inline; color: var(--text-muted); }
  .lang-seg a { min-width: 52px; min-height: 42px; font-size: .95rem; }
}
@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; gap: var(--space-2); }
  .nav-extra { display: flex; align-items: center; gap: var(--space-2); }
  .nav-extra .status { display: none; }
}
body.menu-open { overflow: hidden; }

/* ---------- Open-now status ---------- */
.status { display: inline-flex; align-items: flex-start; gap: .55rem; font-weight: 500; margin: 0; }
.status::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: var(--text-muted); flex: none; margin-top: .45em; }
.status[data-open="true"]::before { background: #5BB053; box-shadow: 0 0 0 4px color-mix(in srgb, #5BB053 25%, transparent); }
.status[data-open="false"]::before { background: var(--accent-2); }
.status[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .status[data-open="true"]::before { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #5BB053 0%, transparent); } }

/* ---------- Hero (full-bleed) ---------- */
.hero { position: relative; min-height: max(36rem, 100svh); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--text); isolation: isolate; overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(31 27 22 / .55) 0%, rgb(31 27 22 / 0) 22%),
    linear-gradient(0deg, rgb(31 27 22 / .88) 0%, rgb(31 27 22 / .35) 42%, rgb(31 27 22 / 0) 70%);
}
.hero-inner { display: grid; gap: var(--space-4); align-items: end; padding-block: calc(var(--header-h) + 2rem) clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--space-5); } }
.hero h1 { margin: 0; }
.hero h1 .h1-name { display: block; font-size: clamp(4rem, 1.5rem + 10vw, 10.5rem); line-height: .86; letter-spacing: -.035em; }
.hero h1 .h1-line { display: block; margin-top: .9rem; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); line-height: 1.15; color: color-mix(in srgb, var(--on-dark) 88%, transparent); }

.today-card {
  position: relative; background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--text);
  border-radius: var(--radius-m); padding: 1.5rem 1.5rem 1.35rem; display: grid; gap: .85rem;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55);
}
.today-card h2 { font-size: 1.5rem; margin: 0; padding-right: 4.75rem; }
.today-card .today-hours { font-size: 1.05rem; margin: 0; }
.today-card address { font-style: normal; color: var(--text-muted); font-size: 1rem; }
.today-card .btn-row { gap: .5rem; }
.today-card .btn { flex: 1 1 auto; padding-inline: 1rem; }
.today-card .btn-ghost { color: var(--text); border-color: var(--text); }
.today-card .btn-ghost:hover { background: var(--text); color: var(--bg); }
.sign {
  position: absolute; right: 1rem; top: -2.75rem; width: 5.75rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--bg) 94%, transparent);
  display: block; padding: .55rem;
}
.sign img { width: 100%; height: 100%; object-fit: contain; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { animation: settle 1.8s var(--ease-out) both; }
  .js .hero h1 > * { animation: rise .9s var(--ease-out) both; }
  .js .hero h1 > :nth-child(2) { animation-delay: .12s; }
  .js .today-card { animation: rise .9s var(--ease-out) .25s both; }
  .js .sign { transform-origin: 50% -30%; animation: swing 1.3s var(--ease-out) .85s both; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes swing { 0% { opacity: 0; transform: rotate(-14deg); } 45% { opacity: 1; transform: rotate(6deg); } 75% { transform: rotate(-2deg); } 100% { opacity: 1; transform: rotate(0); } }

/* ---------- Welcome ---------- */
.welcome-grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) { .welcome-grid { grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 7rem); } }
.welcome-text .lead { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2rem); line-height: 1.35; font-family: var(--font-display); max-width: 26ch; }
.photo { margin: 0; }
.photo img { border-radius: var(--radius-m); width: 100%; }
.photo figcaption { margin-top: .6rem; font-size: .875rem; color: var(--text-muted); }

/* ---------- Karte preview (tabs) ---------- */
.menu-preview { background: var(--surface); border-block: 1px solid var(--border); }
.menu-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
@media (min-width: 900px) { .menu-head { grid-template-columns: .8fr 1.2fr; align-items: end; gap: var(--space-4); } .menu-head p { margin: 0; } }
.tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px 2px var(--space-3); margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; scroll-snap-align: start; min-height: 46px; padding: .6rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: transparent; color: var(--text);
  font: 500 1rem var(--font-body); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.tab:hover { border-color: var(--text); }
.tab[aria-selected="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.tab-panel { display: grid; gap: var(--space-4); align-items: center; }
.tab-panel[hidden] { display: none; }
@media (min-width: 900px) { .tab-panel { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.tab-panel .arch { aspect-ratio: 4 / 3.4; }
.tab-panel h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.02; }
.tab-panel p { color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
  .tab-panel.is-entering .arch img { animation: settle .7s var(--ease-out) both; }
  .tab-panel.is-entering .tab-copy { animation: rise .5s var(--ease-out) both; }
}

.arch { border-radius: var(--arch); overflow: hidden; background: var(--border); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dark band ---------- */
.dark { background: var(--text); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--accent); }
.dark .muted { color: var(--on-dark-muted); }

/* ---------- Visit (hours + Google map) ---------- */
.visit-grid { display: grid; gap: var(--space-4); }
@media (min-width: 960px) { .visit-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; } }
.hours { width: 100%; border-collapse: collapse; margin: var(--space-2) 0 var(--space-3); }
.hours th, .hours td { text-align: left; padding: .85rem .8rem; border-bottom: 1px solid var(--border); font-weight: 400; vertical-align: top; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today { background: var(--accent); }
.hours tr.is-today th, .hours tr.is-today td { border-bottom-color: var(--accent); font-weight: 500; }
.hours .today-label { font-size: .8rem; font-weight: 500; margin-left: .4rem; }
address { font-style: normal; }
.visit-address { font-size: 1.2rem; margin-bottom: var(--space-2); }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .7rem; min-height: 48px; color: var(--text); text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover span { text-decoration: underline; text-decoration-color: var(--accent-text); }
.contact-list svg { width: 1.25rem; height: 1.25rem; color: var(--accent-text); flex: none; }
.contact-list small { color: var(--text-muted); font-size: .85rem; }

.map { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--surface); border: 1px solid var(--border); aspect-ratio: 4 / 3.2; margin-bottom: var(--space-2); }
@media (min-width: 960px) { .map { aspect-ratio: auto; min-height: 34rem; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; padding: var(--space-3);
  background:
    radial-gradient(circle at 50% 42%, var(--accent) 0 .6rem, color-mix(in srgb, var(--accent) 35%, transparent) .65rem 1.6rem, transparent 1.65rem),
    linear-gradient(115deg, transparent 0 38%, color-mix(in srgb, var(--border) 90%, transparent) 38% 41%, transparent 41%),
    linear-gradient(25deg, transparent 0 55%, color-mix(in srgb, var(--border) 90%, transparent) 55% 57.5%, transparent 57.5%),
    repeating-linear-gradient(0deg, transparent 0 54px, color-mix(in srgb, var(--border) 60%, transparent) 54px 55px),
    repeating-linear-gradient(90deg, transparent 0 54px, color-mix(in srgb, var(--border) 60%, transparent) 54px 55px),
    var(--surface);
}
.map-placeholder .btn { margin-top: 4.5rem; background: var(--surface); }
.map-placeholder p { margin: 0; max-width: 34ch; color: var(--text-muted); font-size: .9rem; }

/* ---------- Archive / closing ---------- */
.archive { position: relative; color: var(--on-dark); background: var(--text); isolation: isolate; }
.archive > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.archive::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(31 27 22 / .72) 0%, rgb(31 27 22 / .25) 45%, rgb(31 27 22 / 0) 70%), linear-gradient(180deg, rgb(31 27 22 / 0) 35%, rgb(31 27 22 / .85) 100%); }
.archive-inner { min-height: clamp(26rem, 72vh, 44rem); display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--space-4); }
.archive-signoff { font-family: var(--font-display); font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); line-height: 1.02; margin: 0 0 .6rem; max-width: 16ch; }
.archive .credit { font-size: .85rem; color: var(--on-dark-muted); margin: var(--space-2) 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: var(--on-dark); padding-block: var(--space-5) var(--space-3); border-top: 1px solid var(--line-dark); }
.site-footer a { color: var(--on-dark); }
.footer-top { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto 1fr; align-items: center; gap: var(--space-4); } }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand img { width: 92px; }
.footer-brand p { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.05; margin: 0; max-width: 14ch; }
.footer-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
@media (min-width: 900px) { .footer-cta { justify-content: flex-end; } }
.footer-cta .btn-ghost { color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.footer-cta .btn-ghost:hover { background: var(--on-dark); color: var(--text); }

.footer-grid { display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); padding-block: var(--space-4); }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1.45fr 1.25fr 1.1fr; } }
.footer-grid h2 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; letter-spacing: .01em; }
.footer-grid p, .footer-grid address { font-size: 1rem; margin: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer-grid li a { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; }
.footer-grid li a:hover span { text-decoration: underline; }
.footer-grid li small { color: var(--on-dark-muted); font-size: .85rem; }
.footer-grid svg { width: 1.15rem; height: 1.15rem; color: var(--accent); flex: none; }
.footer-hours { display: grid; grid-template-columns: auto auto; gap: .25rem 1.25rem; font-size: 1rem; margin: 0; }
.footer-hours dt, .footer-hours dd { margin: 0; }
.footer-hours dd { text-align: right; white-space: nowrap; }
.social { display: flex; gap: .6rem; }
.social a { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: 0 1rem 0 .85rem; border: 1.5px solid var(--line-dark); border-radius: 999px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.social a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--line-dark); font-size: .9rem; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--on-dark-muted); display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Mobile quick-action bar ---------- */
.quickbar { display: none; }
@media (max-width: 959px) {
  .quickbar {
    position: fixed; left: .75rem; right: .75rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 45;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .25rem; padding: .35rem;
    background: var(--text); border-radius: 999px; box-shadow: 0 18px 40px -16px rgb(0 0 0 / .6);
    transform: translateY(160%); transition: transform .4s var(--ease-out);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px; border-radius: 999px; color: var(--on-dark); text-decoration: none; font-size: .8rem; font-weight: 500; }
  .quickbar a:first-child { background: var(--accent); color: var(--text); }
  body .quickbar a { color: var(--on-dark); }
  body .quickbar a:first-child { color: var(--text); }
  .quickbar svg { width: 1.2rem; height: 1.2rem; }
  body.has-quickbar .site-footer { padding-bottom: calc(var(--space-3) + 5rem); }
  body.menu-open .quickbar { transform: translateY(160%); }
}

/* ---------- Sub pages ---------- */
.page-head { padding-block: clamp(2.5rem, 7vw, 5.5rem) var(--space-4); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.75rem); line-height: .96; letter-spacing: -.025em; max-width: 16ch; }
.page-head p { margin-bottom: 0; }
.two-col { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: var(--space-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-3); }


/* Karte page */
.menu-nav { position: sticky; top: var(--header-h); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
/* category bar: an even index of text tabs, the active one underlined in gold */
.menu-nav .tabs { display: flex; gap: 0; padding-block: 0; margin: 0; padding-inline: 0; overflow-x: auto; scroll-snap-type: x proximity; }
.menu-nav a.tab {
  flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 1.25rem;
  border: 0; border-radius: 0; background: none; color: var(--text-muted); text-decoration: none; white-space: nowrap;
  font-weight: 500; font-size: 1rem; position: relative; scroll-snap-align: start; transition: color .25s var(--ease-out);
}
.menu-nav a.tab::after {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: -1px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-out);
}
.menu-nav a.tab:hover { color: var(--text); background: none; border-color: transparent; }
.menu-nav a.tab.is-active { color: var(--text); background: none; border-color: transparent; }
.menu-nav a.tab.is-active::after { transform: scaleX(1); }
.menu-nav a.tab + a.tab { border-left: 1px solid var(--border); }
@media (min-width: 760px) { .menu-nav a.tab { flex: 1 1 0; } }
@media (max-width: 759px) { .menu-nav .tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: calc(var(--gutter) - 1.25rem + .25rem); } .menu-nav a.tab + a.tab { border-left: 0; } }
/* menu page: a printed menu card, with one image per category */
.menu-vat { margin-top: var(--space-2); color: var(--text-muted); font-size: .95rem; }
.menu-section { padding-block: var(--space-5) 0; scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.menu-section:last-of-type { padding-bottom: var(--space-5); }
.menu-section + .menu-section .menu-section-grid { border-top: 1px solid var(--border); padding-top: var(--space-5); }
.menu-section-grid { display: grid; gap: var(--space-3) clamp(2rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) { .menu-section-grid { grid-template-columns: 19rem minmax(0, 1fr); } }
.menu-aside { position: relative; }
@media (min-width: 960px) { .menu-aside { position: sticky; top: calc(var(--header-h) + 5.5rem); } }
.menu-img { border-radius: 999px 999px var(--radius-m) var(--radius-m); overflow: hidden; background: var(--border); aspect-ratio: 4 / 5; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .menu-img { aspect-ratio: 16 / 7; border-radius: var(--radius-m); } }
.menu-main { max-width: 44rem; }
.menu-main h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: .95; letter-spacing: -.025em; margin: 0 0 .6rem; }
.menu-intro { color: var(--text-muted); margin: 0 0 var(--space-4); }
.mg + .mg { margin-top: var(--space-4); }
.mg-title { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 .25rem; color: var(--accent-text); }
.mi-list { list-style: none; margin: 0; padding: 0; }
.mi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--border); align-items: start; }
.mi-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .55rem; }
.mi-name { font-weight: 500; font-size: 1.08rem; }
.mi-desc { flex-basis: 100%; color: var(--text-muted); font-size: .95rem; line-height: 1.45; }
.badge { display: inline-flex; align-items: center; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 500; line-height: 1.5;
  border: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent); color: var(--accent-text); white-space: nowrap; }
.mi-prices { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; justify-items: end; }
.mi-prices li { display: flex; gap: .9rem; align-items: baseline; justify-content: flex-end; white-space: nowrap; }
.mi-prices .v { color: var(--text-muted); font-size: .9rem; }
.mi-prices .pr { font-weight: 500; min-width: 3.4rem; text-align: right; }
.menu-note { margin-top: var(--space-3); color: var(--text-muted); font-size: .95rem; }
@media (max-width: 520px) {
  .mi { grid-template-columns: 1fr; }
  .mi-prices { justify-items: start; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .15rem 1rem; }
  .mi-prices li { justify-content: flex-start; }
  .mi-single { grid-template-columns: minmax(0, 1fr) auto; }
  .mi-single .mi-prices { grid-template-columns: auto; }
}

/* ---------- Form ---------- */
.form { display: grid; gap: var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; }
.field .req { color: var(--accent-2); }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--border-strong); border-radius: var(--radius-s); padding: .8rem .9rem; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: var(--accent-2); }
.field .error { color: var(--accent-2); font-size: .9rem; margin: 0; }
.field .error:empty { display: none; }
.form-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-status { margin: 0; padding: .9rem 1rem; border-radius: var(--radius-s); background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
.form-status[hidden] { display: none; }
.form-hint { font-size: .9rem; color: var(--text-muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.mg .menu-note { margin-top: .75rem; padding: .9rem 1rem; border: 1px dashed var(--border-strong); border-radius: var(--radius-s); }
.menu-price-note { display: inline-flex; margin: -1.25rem 0 var(--space-4); padding: .35rem .9rem; border-radius: 999px; background: color-mix(in srgb, var(--accent) 26%, transparent); font-weight: 500; }
.mi-noprice { grid-template-columns: 1fr; }
