/* ==========================================================================
   Jägerstübli – öffentliche Webseite
   Stil B «Wirtshaus»: Bordeaux als Grund, Messing als Schmuck.
   Immer hell. Mobil zuerst, ab 900px feste Seitenleiste links.
   ========================================================================== */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bo: #5A1824; --bo-2: #47121C; --bo-3: #7A3340;
  --bo-ink: #F6EBD9; --bo-ink-2: #D9BF8F;
  --brass: #B7925A; --brass-2: #D9BF8F; --brass-d: #85652F;
  --accent: #7E2131; --accent-ink: #fff;
  --paper: #FFFFFF; --stone: #F3EFEA; --stone-2: #E8E1D8;
  --ink: #2A1D1F; --ink-2: #5F4F52; --ink-3: #7A6A66; --line: #E2D9CF;
  --ok: #2E7A4C; --ok-soft: #DDEFE3; --bad: #B42318; --bad-soft: #F8DEDA; --warn: #8A5A0F; --warn-soft: #F6E8CC;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 4px; --line-2: #CDBFB1;
  --shadow-sm: 0 1px 2px rgb(42 29 31 / .05);
  --shadow: 0 1px 2px rgb(42 29 31 / .06), 0 14px 30px -18px rgb(42 29 31 / .35);
  --side: 270px;
  --gut: clamp(18px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--bo-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
a, button, .btn, .cta, .ghost, .input, .tabs a, .chips a, .ppl span, .slots span, .cal-grid button { transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, padding .18s ease; }
::selection { background: var(--brass-2); color: var(--bo-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bo); color: var(--bo-ink); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- Grundgerüst ---------- */
.shell { min-height: 100vh; }
.side { background: var(--bo); color: var(--bo-ink-2); position: sticky; top: 0; z-index: 30; }
.side-in { display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.crest { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bo-ink); }
.crest img { width: 46px; height: 46px; flex: none; }
.crest b { font: 400 21px/1.1 var(--serif); }
.crest small { display: none; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--bo-ink-2); font-weight: 600; margin-top: 6px; }
.burger { margin-left: auto; background: transparent; border: 1px solid var(--bo-ink-2); color: var(--bo-ink); padding: 9px 14px; font-weight: 600; font-size: 14px; min-height: 44px; cursor: pointer; }
.nav { display: none; flex-direction: column; border-top: 1px solid var(--bo-3); }
.nav.open { display: flex; padding: 0 var(--gut) 18px; }
.nav a { display: flex; justify-content: space-between; align-items: center; color: var(--bo-ink-2); text-decoration: none; padding: 12px 2px; border-bottom: 1px solid var(--bo-3); font-size: 15.5px; min-height: 44px; }
.nav a:hover { color: var(--bo-ink); padding-left: 8px; }
.nav a[aria-current="page"] { color: var(--bo-ink); }
.nav a[aria-current="page"]::after { content: "◆"; font-size: 9px; color: var(--brass); }
.side .side-cta { display: none; }
.side-hours { display: none; }

.cta { border-radius: var(--r); }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brass); color: #3A0E16; border: 0; padding: 14px 20px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; text-decoration: none; min-height: 48px; cursor: pointer; }
.cta:hover { background: var(--brass-2); color: #3A0E16; }
.nav .cta { margin-top: 16px; border-bottom: 0; justify-content: center; color: #3A0E16; }

.page { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
main { display: block; flex: 1 0 auto; }
.sec { padding: 56px var(--gut); }
.sec.tight { padding-top: 0; }
.sec.stone { background: var(--stone); }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 680px; margin: 0 auto; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); }
  .side { position: relative; z-index: 2; }
  .side-in { position: sticky; top: 0; flex-direction: column; align-items: stretch; gap: 26px; padding: 34px 26px; min-height: 100vh; }
  .crest { flex-direction: column; text-align: center; gap: 12px; }
  .crest img { width: 120px; height: 120px; }
  .crest b { font-size: 25px; }
  .crest small { display: block; }
  .burger { display: none; }
  .nav, .nav.open { display: flex; padding: 0; }
  .nav .cta { display: none; }
  .side .side-cta { display: flex; }
  .side-hours { display: block; font-size: 13.5px; line-height: 1.75; text-align: center; margin-top: auto; }
  .side-hours b { color: var(--bo-ink); font-weight: 600; }
  .side-hours a { color: var(--bo-ink-2); text-decoration: none; }
}

/* ---------- Kopfbild ---------- */
.hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 48px var(--gut); color: #F6EBD9; background: var(--bo-2); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 70% 90% at 78% 15%, rgb(183 146 90 / .22), transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z' fill='none' stroke='%23D9BF8F' stroke-opacity='.09'/%3E%3Ccircle cx='28' cy='28' r='2' fill='%23D9BF8F' fill-opacity='.13'/%3E%3C/svg%3E"),
  linear-gradient(160deg, #6A1E2C 0%, var(--bo-2) 55%, #2E0B12 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(30 10 14 / .05) 30%, rgb(30 10 14 / .7)); }
.hero-grid { width: 100%; max-width: 1040px; margin: 0 auto; display: grid; gap: 28px; align-items: end; }
.kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; }
.hero h1 { color: #F6EBD9; font-size: clamp(38px, 6vw, 72px); line-height: 1.03; margin: 12px 0 14px; }
.hero .lead { font-size: 18px; max-width: 44ch; color: #EADBC5; }
.ghost { border-radius: var(--r); }
.ghost { display: inline-flex; align-items: center; background: transparent; border: 1px solid var(--brass-2); color: #F6EBD9; padding: 12px 18px; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; min-height: 46px; }
.ghost:hover { background: var(--brass-2); border-color: var(--brass-2); color: var(--bo-2); }
.notice-bar { background: var(--warn-soft); color: var(--warn); padding: 12px var(--gut); font-weight: 600; text-align: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.3fr .9fr; gap: 40px; } .hero { min-height: 520px; padding: 56px 48px; } }

/* Schnellreservation im Kopfbild */
.quick { border-radius: var(--r); }
.quick { background: var(--paper); color: var(--ink); padding: 24px; display: grid; gap: 14px; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); border-top: 4px solid var(--brass); }
.quick h2 { font-size: 22px; }
.quick .row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, .9fr); gap: 8px; }
.quick .input { padding-inline: 10px; min-width: 0; }
.quick .field > span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.quick small { color: var(--ink-3); font-size: 13px; }

/* Infoleiste */
.strip { display: grid; gap: 10px; padding: 18px var(--gut); border-bottom: 1px solid var(--line); font-size: 15px; background: var(--paper); }
.strip > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.strip span { flex: none; width: 72px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); font-weight: 700; }
@media (min-width: 900px) {
  .strip { grid-template-columns: auto auto 1fr; gap: 0; padding-block: 0; }
  .strip > div { padding: 20px 28px; border-left: 1px solid var(--line); }
  .strip > div:first-child { border-left: 0; padding-left: 0; }
  .strip span { width: auto; }
}

/* ---------- Bausteine ---------- */
.orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--brass-d); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }
.orn::before, .orn::after { content: ""; height: 1px; width: 56px; background: currentColor; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.head h1, .head h2 { font-size: clamp(32px, 4vw, 46px); }
main > .sec:first-child { padding-top: 0; }
main > .sec:first-child > .wrap > .head:first-child,
main > .sec:first-child > .narrow > .head:first-child {
  padding: 44px 0 30px; margin-bottom: 36px; background: var(--stone);
  box-shadow: 0 0 0 100vmax var(--stone); clip-path: inset(0 -100vmax); align-items: center;
}
main > .sec:first-child > .wrap > .head:first-child h1::after,
main > .sec:first-child > .narrow > .head:first-child h1::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 14px; background: var(--brass);
}
.intro { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn:active, .cta:active, .ghost:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--bo-2); border-color: var(--bo-2); color: #fff; box-shadow: 0 8px 18px -10px rgb(90 24 36 / .7); }
.btn.block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.link { color: var(--accent); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Tafel (Wochenhits) */
.tafel { max-width: 640px; margin: 0 auto; text-align: center; display: grid; gap: 20px; }
.tafel h2 { font-size: clamp(32px, 4vw, 46px); }
.dish { display: grid; gap: 3px; padding: 15px 0; border-bottom: 1px dotted #C9B9A8; }
.dish:last-child { border-bottom: 0; }
.dish .n { font: 400 22px/1.25 var(--serif); }
.dish .d { font-size: 15px; color: var(--ink-2); font-style: italic; }
.dish .p { font-size: 14.5px; color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.dish .al { font-size: 12.5px; color: var(--ink-3); }

/* Zwei Spalten: Aus dem Haus / Gastgeber */
.two { display: grid; background: var(--stone); }
.two > div { padding: 52px var(--gut); }
.two h2 { font-size: 32px; margin-bottom: 18px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } .two > div { padding: 56px 44px; } }

.news-list { display: grid; }
.ncard { display: grid; grid-template-columns: 66px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.ncard:hover h3 { color: var(--accent); }
.ncard:hover .dt { color: var(--bo-2); }
.ncard .dt { font: 400 34px/.9 var(--serif); color: var(--accent); text-align: center; }
.ncard .dt small { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.ncard h3 { font: 600 17px/1.35 var(--sans); margin-bottom: 4px; }
.ncard p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.ncard .tag { display: inline-block; margin-left: 6px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-d); font-weight: 700; }

.hosts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; margin: 24px 0 28px; }
.host { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.hosts.lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 34px 24px; }
.hosts.lg .av { width: min(150px, 100%); font-size: 48px; }
.hosts.lg b { font: 400 21px/1.2 var(--serif); margin-top: 8px; }
.hosts.lg small { font-size: 14px; }
.host .av { width: min(84px, 100%); height: auto; aspect-ratio: 1; border-radius: 50%; background: var(--bo); color: var(--bo-ink-2); display: grid; place-items: center; font: 400 30px var(--serif); box-shadow: 0 0 0 3px var(--stone), 0 0 0 4px var(--brass); overflow: hidden; }
.host .av img { width: 100%; height: 100%; object-fit: cover; }
.host b { font-weight: 600; font-size: 14.5px; }
.host small { font-size: 12.5px; color: var(--ink-2); }

.infos { display: grid; gap: 28px; border-top: 1px solid var(--line); padding-top: 28px; }
.infos h3 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours .today { font-weight: 700; }
.hours .off { color: var(--ink-3); }
.tel { font: 400 30px/1.15 var(--serif); color: var(--ink); text-decoration: none; }
@media (min-width: 700px) { .infos { grid-template-columns: 1.1fr 1fr 1fr; } }

/* ---------- Karte ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tabs a { border-radius: var(--r); }
.tabs a { padding: 9px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; min-height: 44px; display: inline-flex; align-items: center; }
.tabs a:hover { border-color: var(--brass); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--bo); border-color: var(--bo); color: var(--bo-ink); }
.sheet { max-width: 760px; background: var(--paper); border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: 5px; padding: clamp(20px, 4vw, 48px); margin: 6px; }
.sheet-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; border-bottom: 3px double var(--brass); padding-bottom: 12px; margin-bottom: 18px; }
.sheet-head h2 { font-size: 36px; }
.sheet-head small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; text-align: right; }
.msec { margin-bottom: 28px; }
.msec h3 { font: 400 15px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.mitem { display: grid; grid-template-columns: auto minmax(20px, 1fr) auto; gap: 2px 10px; padding: 11px 0; }
.mitem::before { content: ""; grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 7px; border-bottom: 2px dotted #CDBBA7; }
.mitem .n { grid-column: 1; grid-row: 1; }
.mitem .p { grid-column: 3; grid-row: 1; }
.mitem .n { font-weight: 700; }
.mitem .n sup { font-size: 10px; color: var(--brass-d); letter-spacing: .05em; margin-left: 4px; }
.mitem .p { font-variant-numeric: tabular-nums; text-align: right; white-space: pre-line; font-size: 15px; }
.mitem .d { grid-column: 1 / -1; color: var(--ink-2); font-size: 14.5px; }
.mitem .o { grid-column: 1 / -1; color: var(--ink-3); font-size: 13px; font-style: italic; }
.mitem details { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); }
.mitem summary { cursor: pointer; width: max-content; }
.sheet-foot { border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; color: var(--ink-3); display: grid; gap: 4px; }

/* ---------- Galerie ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; min-height: 40px; display: inline-flex; align-items: center; }
.empty { border: 1px dashed #D5C8BA; background: var(--stone); padding: 56px 24px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.empty .intro { margin: 0 auto; }
.chips a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.gal figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); }
.gal a { display: block; height: 100%; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(20 8 10 / .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 86vh; width: auto; }
.lightbox p { color: #EADBC5; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; top: 14px; right: 14px; background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 14px; cursor: pointer; min-height: 44px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label, .legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input { width: 100%; min-height: 48px; border: 1px solid #CDBFB1; background: #fff; padding: 11px 13px; font-size: 16px; border-radius: var(--r); }
.input:hover { border-color: var(--brass); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(126 33 49 / .18); }
textarea.input { min-height: 110px; resize: vertical; }
.field.has-error .input { border-color: var(--bad); }
.err { color: var(--bad); font-size: 14px; font-weight: 600; }
.hint { color: var(--ink-3); font-size: 13.5px; }
.grid2 { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ppl { display: flex; flex-wrap: wrap; gap: 6px; }
.ppl label { position: relative; }
.ppl input { position: absolute; opacity: 0; inset: 0; }
.ppl span, .slots span, .cal, .cal-grid button, .cal-head button, .event, .empty, .alert { border-radius: var(--r); }
.ppl span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #CDBFB1; font-weight: 700; cursor: pointer; background: #fff; }
.ppl span:hover, .slots span:hover { border-color: var(--accent); }
.ppl input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.ppl input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

.slots { display: flex; flex-wrap: wrap; gap: 6px; min-height: 48px; }
.slots label { position: relative; }
.slots input { position: absolute; opacity: 0; inset: 0; }
.slots span { display: inline-grid; place-items: center; min-width: 70px; height: 46px; padding: 0 10px; border: 1px solid #CDBFB1; font-variant-numeric: tabular-nums; cursor: pointer; background: #fff; }
.slots input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.slots input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; background: var(--stone); }
.slots input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.slots .note { align-self: center; color: var(--ink-3); font-size: 14px; }

/* Kalender */
.cal { border: 1px solid var(--line); padding: 12px; background: #fff; max-width: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font: 400 18px var(--serif); }
.cal-head button { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-grid .dow { font-size: 11.5px; color: var(--ink-3); font-weight: 600; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; min-height: 40px; border: 0; background: var(--stone); cursor: pointer; font-variant-numeric: tabular-nums; }
.cal-grid button:hover:not(:disabled) { background: var(--stone-2); }
.cal-grid button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-grid button:disabled { background: transparent; color: #C4B6AE; cursor: not-allowed; text-decoration: line-through; }
.cal-grid button.full:disabled { text-decoration: none; }
.cal-grid button.today { box-shadow: inset 0 0 0 2px var(--brass); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

.res-layout { display: grid; gap: 34px; }
@media (min-width: 980px) { .res-layout { grid-template-columns: 1.25fr .9fr; align-items: start; } }
.panel { border-radius: var(--r); }
.panel { background: var(--stone); padding: 26px; display: grid; gap: 12px; border-top: 4px solid var(--brass); }
.panel h3 { font-size: 22px; }

.alert { padding: 16px 18px; display: grid; gap: 6px; border-left: 4px solid; }
.alert.ok { background: var(--ok-soft); border-color: var(--ok); }
.alert.bad { background: var(--bad-soft); border-color: var(--bad); }
.alert.info { background: var(--stone); border-color: var(--brass); }
.alert h2, .alert h3 { font-size: 22px; }
.alert .alts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.alert .alts button { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; cursor: pointer; font-variant-numeric: tabular-nums; }

.summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15.5px; }
.summary dt { color: var(--ink-3); }
.summary dd { margin: 0; font-weight: 600; }

/* Bewertung */
.stars { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.stars input { position: absolute; opacity: 0; }
.stars label { font-size: 36px; line-height: 1; color: #D9CFC4; cursor: pointer; padding: 2px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--brass); }
.stars input:focus-visible + label { outline: 3px solid var(--brass); }

/* Anlässe */
.events { display: grid; gap: 14px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 20px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.event { box-shadow: var(--shadow-sm); }
.event:hover { border-color: var(--brass); box-shadow: 0 14px 30px -22px rgb(42 29 31 / .5); }
.event .dt { font: 400 40px/.9 var(--serif); color: var(--accent); text-align: center; }
.event .dt small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: 8px; }
.event h3 { font: 400 24px/1.2 var(--serif); margin-bottom: 4px; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; background: var(--brass-2); color: #3A0E16; }
.badge.full { background: var(--stone-2); color: var(--ink-2); }

/* Fliesstext */
.prose { max-width: 70ch; font-size: 17px; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose img { margin: 1em 0; }

.map { aspect-ratio: 4 / 3; background: var(--stone); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Fuss */
.foot { background: var(--bo-2); color: var(--bo-ink-2); border-top: 3px double var(--brass); padding: 36px var(--gut) calc(36px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; align-items: end; font-size: 14px; line-height: 1.8; }
.foot b { font: 400 21px var(--serif); color: var(--bo-ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--bo-ink-2); text-decoration-color: rgb(217 191 143 / .4); }
.foot a:hover { color: var(--bo-ink); }

/* Handy: Schnellaktionen unten */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgb(255 255 255 / .95); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgb(0 0 0 / .4); }
.quickbar a { min-height: 48px; padding-inline: 10px; }
.quickbar .btn { background: #fff; }
.has-quickbar .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) { .quickbar { display: none; } .has-quickbar .foot { padding-bottom: 36px; } }

/* Fehlerseiten */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px var(--gut); }
.error-page .code { font: 400 96px/1 var(--serif); color: var(--brass); }

/* Druck */
@media print {
  .side, .foot, .hero, .strip, .quick, .btn, .cta, .tabs, .quickbar { display: none !important; }
  .sheet { border: 0; outline: 0; padding: 0; }
  .shell { display: block; }
  body { font-size: 11pt; }
  .sec { padding: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ==========================================================================
   Feinschliff nach Durchsicht aller Seiten
   ========================================================================== */
h1, h2 { overflow-wrap: break-word; hyphens: auto; }

/* Einheitliche Button-Typografie; Versalien nur in Seitenleiste und Menü */
.btn, .cta, .ghost { min-height: 48px; font: 600 15px/1.2 var(--sans); letter-spacing: .01em; text-transform: none; }
.side .cta, .nav .cta { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; }
.cta:hover, .ghost:hover { box-shadow: 0 8px 18px -10px rgb(0 0 0 / .45); }
.btn.start { justify-self: start; }

/* Lesespalte innerhalb .wrap linksbündig, damit Titel nicht springen */
.wrap > .narrow, .wrap .prose { margin-inline: 0; }
.stack { display: grid; gap: 22px; }
.stack h1 { font-size: clamp(26px, 3.4vw, 32px); }
.kicker { color: var(--brass-d); }
.hero .kicker { color: var(--brass-2); }
.head .kicker { margin: 0 0 8px; }
.intro.lead { margin-bottom: 28px; }
.lead-img { margin: 24px 0; border-radius: var(--r); }
.back { margin-top: 32px; }
.pager { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.subhead { font-size: 26px; margin: 44px 0 12px; }
.price { margin-top: 16px; }
h1.title { font-size: clamp(34px, 4.5vw, 52px); margin: 10px 0 18px; }
.hero-acts { margin-top: 24px; }
.more { margin-top: 18px; }
.more-s { margin-top: 8px; }
.two .sub { color: var(--ink-2); }
.bio { font-size: 14px; }
.contact-list { gap: 26px; }
.contact-list .big { font-size: 18px; }
.label { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--brass-d); margin-bottom: 6px; }
.tafel-date { margin: -8px 0 0; color: var(--brass-d); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; }

/* Fliesstext (Impressum, Datenschutz, News) */
.prose { line-height: 1.7; }
.prose h2 { font-size: 24px; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose > h2:first-child, .prose > p + h2:first-of-type { border-top: 0; padding-top: 0; }

/* Abstände in Boxen: nur gap, kein Absatzrand */
.panel p, .empty p, .alert p { margin: 0; }

/* Formular-Gruppen ohne Fieldset-Versatz */
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.legend { padding: 0; }
.stars label:hover, .stars input:checked + label { transform: scale(1.08); }

/* Karte: Punktlinie immer auf der ersten Zeile, Kopf am Handy umbrechen */
.mitem::before { align-self: start; margin: 0; height: 1.05em; }
.sheet-head { flex-wrap: wrap; }
.sheet-head h2 { font-size: clamp(26px, 6vw, 36px); }
@media (max-width: 560px) { .sheet-head small { text-align: left; } }
@media (max-width: 640px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); } .tabs a { flex: none; } }

/* Über uns: kompakter am Handy */
.hosts.lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 180px)); gap: 28px 18px; }
.hosts.lg .av { width: min(130px, 100%); }
@media (max-width: 520px) { .hosts.lg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kalender: Zustände farbig statt durchgestrichen */
.cal-grid button:disabled { text-decoration: none; }
.cal-grid button.closed:disabled, .cal-grid button.off:disabled { opacity: .4; background: transparent; }
.cal-grid button.full:disabled { background: var(--bad-soft); color: var(--bad); opacity: 1; }
.cal-grid button.online_off:disabled { background: transparent; outline: 1px dashed #C9B9A8; outline-offset: -4px; color: var(--ink-3); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-head button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .lg::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--stone); }
.cal-legend .lg.full::before { background: var(--bad-soft); box-shadow: inset 0 0 0 1px var(--bad); }
.cal-legend .lg.closed::before { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.cal-legend .lg.online_off::before { background: transparent; outline: 1px dashed #C9B9A8; outline-offset: -1px; }

/* Hover- und Fokuszustände */
.ncard { padding: 16px 12px; margin-inline: -12px; border-radius: var(--r); border-top-color: var(--line); }
.ncard:hover { background: var(--stone); }
.sec.stone .ncard:hover, .two .ncard:hover { background: var(--paper); }
.chips a:hover { border-color: var(--brass); color: var(--ink); }
.alert .alts button { border-radius: var(--r); }
.alert .alts button:hover { background: var(--ink); color: #fff; }
.lightbox button { border-radius: var(--r); }
.burger { border-radius: var(--r); }
.burger:hover, .burger[aria-expanded="true"] { background: var(--bo-3); }
.event h2 { font-size: 24px; margin-bottom: 4px; }
.event .when { margin-bottom: 6px; }

/* Fehlerseite im Stil der Seite */
.error-page { background: var(--stone); border-top: 6px solid var(--bo); min-height: 100vh; }
.error-card { display: grid; gap: 16px; justify-items: center; max-width: 520px; background: var(--paper); padding: 40px clamp(20px, 5vw, 48px); border-radius: var(--r); box-shadow: var(--shadow); border-top: 4px solid var(--brass); }
.error-card h1 { font-size: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Zweite Durchsicht: Kanten bündig */
.ncard { position: relative; border-top: 0; }
.ncard::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: var(--line); }
.foot { padding-inline: max(var(--gut), calc((100% - 1040px) / 2)); }
@media (min-width: 900px) {
  .two { padding-inline: max(var(--gut), calc((100% - 1040px) / 2)); column-gap: 64px; }
  .two > div { padding: 56px 0; }
}
.hosts.lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 220px)); }
@media (min-width: 521px) { .hosts.lg b { white-space: nowrap; } }
.ppl { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); }
.ppl span { width: auto; }
.ppl-more { grid-column: span 2; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.slots span { min-width: 0; width: 100%; }
.slots .note { grid-column: 1 / -1; }
.empty { max-width: 680px; }

/* ---------- Logo-Test (vorübergehend, nach Entscheid entfernen) ---------- */
.logo-test { position: fixed; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgb(255 255 255 / .96); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); font-size: 13px; color: var(--ink-3); }
.logo-test > span { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.logo-test label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.logo-test input { appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 42px; height: 24px; border-radius: 999px; background: var(--brass); position: relative; cursor: pointer; transition: background-color .2s ease; }
.logo-test input::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .2s ease; }
.logo-test input:checked { background: #8C76B3; }
.logo-test input:checked::before { transform: translateX(18px); }
.logo-test label > span:first-child { font-weight: 600; color: var(--brass-d); }
.logo-test input:checked ~ span { font-weight: 600; color: #6B5694; }
.logo-test label:has(input:checked) > span:first-child { font-weight: 400; color: var(--ink-3); }
@media (min-width: 900px) { .logo-test { right: 20px; bottom: 20px; } }

/* Violettes Farbschema zum Testen (Klasse setzt js/theme-test.js bzw. der Schalter) */
html.theme-violett {
  --bo: #3E2F5C; --bo-2: #2F2348; --bo-3: #574677;
  --bo-ink: #F5F1FA; --bo-ink-2: #D2C7E5;
  --brass: #A08CBE; --brass-2: #CBBFE0; --brass-d: #6B5694;
  --accent: #5B4784; --accent-ink: #fff;
  --stone: #F4F2F7; --stone-2: #E7E2EF;
  --ink: #241E2E; --ink-2: #554D63; --ink-3: #6E677B; --line: #E2DDEA; --line-2: #CAC1D8;
}
.theme-violett .cta, .theme-violett .cta:hover, .theme-violett .nav .cta, .theme-violett .badge { color: #21183A; }
.theme-violett .hero, .theme-violett .hero h1, .theme-violett .ghost { color: #F5F1FA; }
.theme-violett .hero .lead, .theme-violett .lightbox p { color: #E1D8EE; }
.theme-violett .hero-bg { background:
  radial-gradient(ellipse 70% 90% at 78% 15%, rgb(160 140 190 / .28), transparent 60%),
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 4 52 28 28 52 4 28Z' fill='none' stroke='%23D2C7E5' stroke-opacity='.09'/%3E%3Ccircle cx='28' cy='28' r='2' fill='%23D2C7E5' fill-opacity='.13'/%3E%3C/svg%3E"),
  linear-gradient(160deg, #57447F 0%, var(--bo-2) 55%, #1C1430 100%); }
.theme-violett .hero::after { background: linear-gradient(180deg, rgb(20 14 32 / .05) 30%, rgb(20 14 32 / .7)); }
.theme-violett .lightbox { background: rgb(16 11 26 / .92); }
.theme-violett .dish, .theme-violett .mitem::before { border-bottom-color: #C3B8D4; }
.theme-violett .empty { border-color: #D2C9DE; }
.theme-violett .input, .theme-violett .ppl span, .theme-violett .slots span { border-color: var(--line-2); }
.theme-violett .input:focus { box-shadow: 0 0 0 3px rgb(91 71 132 / .2); }
.theme-violett .btn.primary:hover { box-shadow: 0 8px 18px -10px rgb(62 47 92 / .7); }
.theme-violett .foot a { text-decoration-color: rgb(210 199 229 / .4); }
.theme-violett .cal-grid button:disabled { color: #BDB4CA; }
.theme-violett .stars label { color: #D6CFE0; }
.theme-violett ::selection { background: var(--brass-2); color: var(--bo-2); }
@media print { .logo-test { display: none !important; } }
