/* ============================================================
   Bistro Schaarschmidt — design system
   Ported from the design handoff (DESIGN-HANDOFF-ORIGINAL.md).
   Dark, warm, editorial fine-dining. High fidelity.
   Served statically (no build step) — referenced from the layout.
   ============================================================ */

:root {
  --bg-base:      #14110D;
  --bg-dark:      #100D0A;
  --hero-inner:   #1F1A12;
  --form-card:    #1A150F;
  --img-ph:       #1A1611;
  --gold:         #C6A766;
  --gold-light:   #E3CF9E;
  --cream:        #F3ECDD;
  --body:         #BCAB82;
  --descriptor:   #8C7E5E;
  --label:        #7E7152;
  --placeholder:  #6E6448;
  --copyright:    #5C5236;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-brand:   "Cinzel", Georgia, serif;
  --f-body:    "EB Garamond", Georgia, serif;
  --f-ui:      "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(22px, 5vw, 56px);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
::selection { background: var(--gold); color: var(--bg-base); }

/* No border-radius anywhere (intentionally square). */

.page { flex: 1 0 auto; display: flex; flex-direction: column; }

/* ---------- shared type helpers ---------- */
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 300;
  letter-spacing: 0.42em;
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
}
.label {
  font-family: var(--f-ui);
  font-weight: 400;
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--label);
  text-transform: uppercase;
}
.display { font-family: var(--f-display); font-weight: 500; color: var(--cream); line-height: 1.08; }
.subline { font-family: var(--f-display); font-style: italic; color: var(--gold); }

/* ============================================================
   HEADER (sticky)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,17,13,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,167,102,0.16);
  transition: transform 0.4s ease, background-color 0.3s ease;
  will-change: transform;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { background: rgba(16,13,10,0.94); }
.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--f-brand);
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 18px;
  color: var(--gold);
}
/* wordmark QuickEdit (admin): pencil sits inline to the right, not over the text */
.wordmark-qe { display: inline-flex; align-items: center; }
.wordmark-qe .qe-pencil { position: static; margin-left: 10px; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.4vw, 46px);
  flex-wrap: wrap;
}
.nav__link {
  font-family: var(--f-ui);
  font-weight: 300;
  letter-spacing: 0.24em;
  font-size: 12.5px;
  color: var(--body);
  text-transform: uppercase;
  transition: color 0.35s ease;
  cursor: pointer;
}
.nav__link:hover { color: var(--gold-light); }
.nav__link.is-active { font-weight: 400; color: var(--gold); }
.nav__link.is-active:hover { color: var(--gold); }

/* dropdown nav */
.nav__item--dd { position: relative; }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: rgba(16,13,10,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(198,167,102,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.nav__item--dd:hover .nav__dropdown,
.nav__item--dd:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li { margin: 0; }
.nav__dropdown a {
  display: block;
  padding: 8px 22px;
  font-family: var(--f-ui);
  font-weight: 300;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--body);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.nav__dropdown a:hover { color: var(--gold-light); background: rgba(198,167,102,0.06); }
.nav__dd-header {
  padding: 8px 22px 4px;
  font-family: var(--f-ui);
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--label);
  text-transform: uppercase;
}
.nav__cta { padding: 12px 26px; letter-spacing: 0.24em; font-size: 11px; }

/* burger */
.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  padding: 6px;
  margin: -6px;
  font-size: 22px;
  line-height: 1;
}
.nav-burger svg { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(198,167,102,0.14);
  padding: clamp(48px,7vw,72px) var(--pad-x) 44px;
  margin-top: auto;
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(36px, 6vw, 64px);
}

/* Anfahrts-Karte im freien Raum zwischen Marke und Navigation */
.footer-map {
  flex: 1 1 clamp(260px, 30vw, 380px);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-map .label { margin-bottom: 4px; }
.footer-map__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(198,167,102,0.22);
}
.footer-map__frame :is(iframe, img) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* dezent gedämpft, passend zum warmen dunklen Look */
  filter: grayscale(0.25) contrast(0.95) brightness(0.92);
}
.footer-brand__name {
  font-family: var(--f-brand);
  font-weight: 500;
  letter-spacing: 0.18em;
  font-size: 22px;
  color: var(--gold);
}
.footer-brand__tag {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  margin-top: 10px;
}
.footer-cols { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 64px); }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col .label { margin-bottom: 4px; }
.footer-col a {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--body);
  transition: color 0.35s ease;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1180px;
  margin: 48px auto 0;
  border-top: 1px solid rgba(198,167,102,0.1);
  padding-top: 26px;
  font-family: var(--f-ui);
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--copyright);
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS / LINKS
   ============================================================ */
.btn-outline-gold {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--f-ui);
  font-weight: 400;
  letter-spacing: 0.32em;
  font-size: 12.5px;
  text-transform: uppercase;
  padding: 18px 40px;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--bg-base); }

.btn-solid-gold {
  display: inline-block;
  width: 100%;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--bg-base);
  font-family: var(--f-ui);
  font-weight: 500;
  letter-spacing: 0.3em;
  font-size: 12.5px;
  text-transform: uppercase;
  padding: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.btn-solid-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(198,167,102,0.5);
  color: var(--gold-light);
  font-family: var(--f-ui);
  letter-spacing: 0.26em;
  font-size: 11.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  cursor: pointer;
  transition: border-color 0.35s ease, color 0.35s ease;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--cream); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-ui);
  font-weight: 400;
  letter-spacing: 0.26em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(198,167,102,0.4);
  padding-bottom: 8px;
  transition: color 0.35s ease, border-color 0.35s ease;
}
.text-link:hover { color: #fff; border-color: var(--gold); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  padding: 64px var(--pad-x) 80px;
  background: radial-gradient(120% 100% at 50% 18%, var(--hero-inner) 0%, var(--bg-base) 62%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 78vh;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 46%, rgba(198,167,102,0.07), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero .eyebrow { margin-bottom: 36px; }
.hero__logo {
  width: min(660px, 90vw);
  margin: 0 auto;
  filter: drop-shadow(0 10px 44px rgba(0,0,0,0.55));
}
.hero__tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 38px);
  color: var(--cream);
  margin-top: 42px;
}
.hero__cta { margin-top: 44px; }

/* ============================================================
   SECTIONS / TEASERS
   ============================================================ */
.section {
  padding: clamp(80px,10vw,128px) var(--pad-x);
}
.section--dark { background: var(--bg-dark); }
.section--base { background: var(--bg-base); }
.section--bordered { border-top: 1px solid rgba(198,167,102,0.1); }

.section__inner { max-width: 1180px; margin: 0 auto; }

/* Sektion mit abgesoftetem Hintergrundbild (z.B. „Einen Tisch für Sie") */
.section--bg { position: relative; overflow: hidden; isolation: isolate; }
.section--bg > .section__inner { position: relative; z-index: 1; }
.section__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  /* abgesoftet + zum warmen, dunklen Look passend (~20% heller) */
  filter: saturate(0.8) brightness(0.5) sepia(0.12);
}
.section__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 50% 40%, rgba(20,17,13,0.42), rgba(16,13,10,0.86) 100%),
    rgba(16,13,10,0.42);
}

/* two-column teaser */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.split--wide { gap: clamp(48px, 7vw, 96px); }
.split__media img { width: 100%; }
.split--image-left .split__media { order: -1; }
.split--image-right .split__media { order: 1; }

.block-eyebrow { margin-bottom: 22px; }
.block-heading {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--cream);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.block-body {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.9;
  color: var(--body);
  max-width: 30em;
  margin-bottom: 30px;
}

/* centered teaser */
.centered { text-align: center; }
.centered .block-body { margin-left: auto; margin-right: auto; }
.centered--narrow .section__inner { max-width: 760px; }
.centered--xnarrow .section__inner { max-width: 680px; }
.centered--menu .section__inner { max-width: 1080px; }
.centered .eyebrow { margin-bottom: 22px; }
.centered .block-heading { font-size: clamp(30px, 4vw, 48px); }
.centered .subline { display: block; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 30px; }
.centered .text-link { margin-top: 8px; }

/* ============================================================
   MENU ROW (reused: speisekarte + home mini-menu)
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  column-gap: clamp(48px, 7vw, 80px);
  row-gap: 24px;
  text-align: left;
}
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.menu-row__main { flex: 0 1 auto; display: flex; flex-direction: column; }
.menu-row__name {
  font-family: var(--f-body);
  font-size: 20px;
  color: var(--cream);
}
.menu-row__desc {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 16px;
  color: var(--descriptor);
}
.menu-row__leader {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(198,167,102,0.4);
  transform: translateY(-4px);
  min-width: 24px;
}
.menu-row__price {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--gold);
  white-space: nowrap;
}
.menu-row__price--text {
  font-style: italic;
  font-size: 16px;
}

/* mini-menu (home) is a single column */
.mini-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
  margin: 0 auto 34px;
  text-align: left;
}

/* speisekarte category groups */
.menu-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vw, 104px);
}
.menu-group__title {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--gold-light);
  margin-bottom: 14px;
}
.gold-rule {
  width: 46px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}
.menu-group__title + .gold-rule { margin-top: 0; }

.menu-footer-cta { text-align: center; margin-top: clamp(64px, 9vw, 104px); }

/* ============================================================
   STATS (bistro)
   ============================================================ */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 36px;
}
.stat__value {
  font-family: var(--f-display);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

/* ============================================================
   CREDO (bistro)
   ============================================================ */
.credo .gold-rule { margin: 14px 0 30px; }
.credo__quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.18;
  color: var(--cream);
  max-width: 14ch;
  margin-bottom: 28px;
}
.credo__attribution {
  font-family: var(--f-ui);
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--label);
  text-transform: uppercase;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  max-width: 980px;
  margin: 48px auto 0;
}
.team-card { text-align: center; }
.team-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--img-ph);
  overflow: hidden;
  margin-bottom: 20px;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(75% 75% at 50% 40%, transparent 40%, rgba(16,13,10,0.85) 100%);
  pointer-events: none;
}
.team-card__name {
  font-family: var(--f-display);
  font-size: 27px;
  color: var(--cream);
  margin-bottom: 6px;
}
.team-card__role {
  font-family: var(--f-ui);
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
}

/* team teaser (home) — 3 portraits, smaller */
.team-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  max-width: 760px;
  margin: 36px auto 34px;
}

/* ============================================================
   EVENTS — Startseiten-Kacheln + Detailseite
   ============================================================ */
.events-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  max-width: 1040px;
  margin: 40px auto 34px;
  text-align: left;
}
.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--bg-dark);
  border: 1px solid rgba(198,167,102,0.16);
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.event-card:hover { border-color: rgba(198,167,102,0.5); transform: translateY(-3px); }
.event-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--cream);
  line-height: 1.15;
}
.event-card__time { color: var(--gold); }
.event-card__teaser {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin: 2px 0 4px;
}
.event-card__more {
  margin-top: auto;
  font-family: var(--f-ui);
  letter-spacing: 0.22em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* detail list on /events */
.events-list {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.5vw, 44px); /* kleine Abstände zwischen den Angeboten */
}
.event-detail__body { max-width: 62ch; }
/* Titel im Schriftaufbau der Sektionen: groß, hell */
.event-detail .block-heading {
  font-size: clamp(38px, 4.8vw, 62px);
  color: #fff;
  margin-bottom: 0;
}
.event-detail .gold-rule { margin: 14px 0 22px; }
.event-meta {
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.event-meta__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
}
.event-meta__row dt { margin: 0; }
.event-meta__row dd {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  color: var(--gold-light);
}
.event-cta { margin-top: 26px; }
/* split when an event has an image */
.event-detail--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.event-detail--split .event-detail__body { max-width: none; }
.event-detail__media img { width: 100%; }
@media (max-width: 560px) {
  .event-meta__row { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================================================
   KONTAKT (info + reservation form)
   ============================================================ */
.kontakt-info { display: flex; flex-direction: column; }
.kontakt-info .block-body { margin-bottom: 32px; }
.info-block {
  border-top: 1px solid rgba(198,167,102,0.16);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.info-item .label { display: block; margin-bottom: 8px; }
.info-item__value {
  font-size: 18px;
  color: var(--gold-light);
}
.info-item__value a { color: var(--gold-light); transition: color 0.35s ease; }
.info-item__value a:hover { color: var(--cream); }

.form-card {
  background: var(--form-card);
  border: 1px solid rgba(198,167,102,0.18);
  padding: clamp(28px, 4vw, 46px);
}
.field { margin-bottom: 26px; }
.field > label {
  display: block;
  font-family: var(--f-ui);
  letter-spacing: 0.22em;
  font-size: 10.5px;
  color: var(--label);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(198,167,102,0.3);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 18px;
  padding: 8px 2px;
  transition: border-color 0.3s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input[type="date"],
.field input[type="time"],
.field select { color-scheme: dark; }
.field textarea { resize: vertical; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
}
.form-submit { margin-top: 8px; }
/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* success state */
.res-success {
  text-align: center;
  animation: ssFade 0.5s ease both;
}
.res-success__mark {
  font-family: var(--f-display);
  font-size: 54px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
}
.res-success__heading {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 34px;
  color: var(--cream);
  margin-bottom: 18px;
}
.res-success__line {
  font-family: var(--f-body);
  font-size: 18px;
  color: var(--body);
  max-width: 36ch;
  margin: 0 auto 30px;
  line-height: 1.7;
}
@keyframes ssFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   QuickEdit wrapper base (pencil + lightbox CSS live in the
   admin-only partial so the public never downloads them)
   ============================================================ */
.qe { position: relative; }

/* ============================================================
   OFF-CANVAS (mobile nav)
   ============================================================ */
html.oc-lock, body.oc-lock { overflow: hidden; }
.oc-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.oc-backdrop.is-open { opacity: 1; visibility: visible; }
.oc-panel {
  position: fixed; top: 0; right: 0; z-index: 71;
  width: min(360px, 86vw); height: 100%;
  background: var(--bg-dark);
  border-left: 1px solid rgba(198,167,102,0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  padding: 22px var(--pad-x) 40px;
  overflow-y: auto;
}
.oc-panel.is-open { transform: translateX(0); }
.oc-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(198,167,102,0.14);
}
.oc-close {
  background: transparent; border: 0; color: var(--gold);
  font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.oc-nav { display: flex; flex-direction: column; gap: 4px; }
.oc-link, .oc-group__title {
  display: block;
  font-family: var(--f-ui);
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 14px;
  color: var(--body);
  text-transform: uppercase;
  padding: 12px 0;
}
.oc-link.is-active { color: var(--gold); }
.oc-link:hover { color: var(--gold-light); }
.oc-group__title { color: var(--gold); border-top: 1px solid rgba(198,167,102,0.1); margin-top: 6px; }
.oc-sub { list-style: none; margin: 0 0 8px; padding: 0 0 0 4px; }
.oc-sub li { margin: 0; }
.oc-sub a {
  display: block; padding: 8px 0;
  font-family: var(--f-body); font-size: 16px; color: var(--body);
}
.oc-sub a:hover { color: var(--gold-light); }
.oc-sub__header { font-family: var(--f-ui); letter-spacing: 0.2em; font-size: 10px; color: var(--label); text-transform: uppercase; padding: 8px 0 2px; }
.oc-cta { margin-top: 20px; text-align: center; }

/* ============================================================
   HERO BLOCK (reusable hero collection renderer)
   ============================================================ */
.hero-block { position: relative; }
.hero-viewport { overflow: hidden; }
.hero-track { display: flex; }
.hero-block:not(.hero-block--slider) .hero-track { display: block; }
.hero-slide { flex: 0 0 100%; min-width: 0; }

/* logo-center reuses .hero (radial bg, min-height) via the inner .hero element */
.hero-slide--logo-center { display: block; }
.hero__heading { margin-top: 24px; }

/* split-image acts like a base/dark section */
.hero-slide--split-image,
.hero-slide--page-header {
  padding: clamp(90px,12vw,150px) var(--pad-x) clamp(72px,9vw,110px);
}
.hero-slide--bg-base { background: var(--bg-base); }
.hero-slide--bg-dark { background: var(--bg-dark); }
.hero-slide--logo-center.hero-slide--bg-dark,
.hero-slide--logo-center.hero-slide--bg-base { background: transparent; }
.hero-slide--split-image .section__inner { max-width: 1180px; margin: 0 auto; }

/* page-header: centered eyebrow + heading */
.hero-slide--page-header { text-align: center; }
.hero-slide--page-header .section__inner { max-width: 1080px; margin: 0 auto; }
.hero-slide--page-header .block-heading { font-size: clamp(40px,6vw,80px); margin-bottom: 0; }
.hero-slide--page-header .eyebrow { display: block; margin-bottom: 22px; }
.hero-slide--page-header .subline { display: block; font-size: clamp(20px,2.6vw,28px); margin-top: 14px; }
.hero-slide--page-header .block-body { margin: 22px auto 0; }

/* the content section right after a page-header/split hero tightens its top padding */
.section--after-hero { padding-top: clamp(40px,6vw,72px); }

/* slider dots + autoplay (only when >1 slide) */
.hero-block--slider .hero-track {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none;
}
.hero-block--slider .hero-track::-webkit-scrollbar { display: none; }
.hero-block--slider .hero-slide { scroll-snap-align: start; }
.hero-dots {
  display: flex; justify-content: center; gap: 12px;
  padding: 22px 0 0;
}
.hero-dot {
  width: 9px; height: 9px; padding: 0;
  background: transparent; border: 1px solid var(--gold);
  cursor: pointer; transition: background-color 0.3s ease;
}
.hero-dot.is-active { background: var(--gold); }

/* inline solid-gold button (hero/teaser CTA) — auto width, not full-width */
.btn-solid-gold--inline { width: auto; padding: 16px 40px; }

/* ============================================================
   GALLERY MARQUEE (full-bleed, slow right→left film-strip)
   ============================================================ */
.gallery-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  --gallery-duration: 90s; /* "sehr langsam" — tune here */
}
.gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: gallery-marquee var(--gallery-duration) linear infinite;
}
.gallery-strip:hover .gallery-track { animation-play-state: paused; }
.gallery-item {
  height: clamp(200px, 26vw, 340px);
  width: auto;
  display: block;
  object-fit: cover;
  flex: 0 0 auto; /* randlos: images sit flush, no gaps */
}
@keyframes gallery-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

/* ============================================================
   JUSTIFIED GALLERY (lückenlos, gemischte Formate) — z.B. Bistro
   ============================================================ */
.jgal {
  display: flex;
  flex-wrap: wrap;
  gap: 0; /* lückenlos */
}
.jgal__item {
  margin: 0;
  height: clamp(170px, 20vw, 280px);
  /* wächst proportional zum Seitenverhältnis → gemeinsame Zeilenhöhe, füllt die Breite */
  flex: var(--ar, 1.5) 1 calc(var(--ar, 1.5) * clamp(170px, 20vw, 280px));
  overflow: hidden;
}
.jgal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   RECHTSSEITEN (Impressum, Datenschutz) — builder/pages/legal.twig
   Fließtext aus dem styledtext-Feld: die Tags kommen aus dem Editor,
   deshalb wird hier auf Element-Ebene gestylt statt über Klassen.
   ============================================================ */
.legal { max-width: 780px; margin: 0 auto; }
.legal__title { margin-bottom: clamp(28px, 4vw, 44px); }

.legal__body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.85;
  color: var(--body);
}
.legal__body h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--cream);
  margin: 46px 0 12px;
}
.legal__body h3 {
  font-family: var(--f-ui);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 32px 0 10px;
}
.legal__body > :first-child { margin-top: 0; }
.legal__body p { margin-bottom: 18px; }
.legal__body ul, .legal__body ol { margin: 0 0 18px; padding-left: 1.3em; }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--cream); font-weight: 500; }
.legal__body a {
  color: var(--gold-light);
  border-bottom: 1px solid rgba(198, 167, 102, 0.4);
  /* Lange URLs (OSM-Datenschutzlink) dürfen das Layout nicht sprengen. */
  overflow-wrap: anywhere;
}
.legal__body a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.legal__stand {
  margin-top: 52px;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 167, 102, 0.14);
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
}

/* Dev badge lives in builder/partials/dev-badge.twig (self-contained, inline-styled). */
