/* ============================================================
   Restaurant Nouvelle — Redesign-Entwurf
   Gestaltungsidee: die warme Stein/Taupe-Palette und die
   Schreibschrift-Headlines der gedruckten Speisekarte als
   echtes Markenbild weitergedacht — kein Bausteinkasten-Look,
   keine durchgehenden Card-Raster, viel Ruhe und Fotografie.
   ============================================================ */

/* Self-hosted (not loaded from fonts.googleapis.com / fonts.gstatic.com) —
   a direct Google Fonts @import sends every visitor's IP address to
   Google on page load with no consent and no legal basis, which a German
   court (LG München I, Az. 3 O 17493/20, Jan. 2022) ruled unlawful.
   These are the same two typefaces, just served from this domain. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/playfair-display-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('../fonts/playfair-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #FBF9F4;
  --stone: #EDE7DA;
  --stone-dark: #DDD3BE;
  --ink: #26221A;
  --ink-soft: #55503F;
  --ink-faint: #8A8369;
  --bronze: #9C7A46;
  --bronze-deep: #76592F;
  --line: rgba(38, 34, 26, 0.14);
  --line-soft: rgba(38, 34, 26, 0.08);
  --paper-shadow: 0 30px 60px -25px rgba(38, 34, 26, 0.35);
  --serif-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
  --serif-body: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x auf BEIDEN html und body - nur auf body reicht auf vielen
   mobilen Browsern (v.a. iOS Safari) nicht aus, die Seite ließ sich trotzdem
   horizontal wegziehen, sobald irgendwo ein Element auch nur 1-2px
   überstand (z.B. durch Rundungsfehler bei object-fit-Bildern). */
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container--narrow { max-width: 760px; }

/* ---------- Typography ---------- */

h1, h2, h3, .script {
  font-family: var(--serif-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  margin-bottom: 0.9rem;
}

h2.section-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
}

h2.section-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--bronze-deep);
}

p.lede {
  font-size: 1.28rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.rule {
  width: 64px;
  height: 1px;
  background: var(--bronze);
  margin: 1.6rem 0;
}

.rule--center { margin-left: auto; margin-right: auto; }

/* ---------- Ankündigungs-Banner (Schließzeiten etc., per CMS ein/aus) ----------
   Fixed über dem ebenfalls fixed .site-nav (höherer z-index); body.has-banner
   verschiebt Seiteninhalt UND Nav um die Banner-Höhe nach unten, damit nichts
   dahinter versteckt wird. */
.site-banner {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  height: 2.4rem;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
body.has-banner .site-banner { display: block; }
body.has-banner { padding-top: 2.4rem; }
body.has-banner .site-nav { top: 2.4rem; }
.site-banner__track {
  position: absolute;
  top: 50%;
  white-space: nowrap;
  font-family: var(--serif-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transform: translate(100vw, -50%);
  animation: site-banner-scroll 18s linear infinite;
}
@keyframes site-banner-scroll {
  from { transform: translate(100vw, -50%); }
  to { transform: translate(-100%, -50%); }
}

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.5rem, 5vw, 4rem);
  transition: background .5s ease, padding .4s ease, box-shadow .4s ease;
}

/* Before the user scrolls, .site-nav has no background of its own (see
   above) and sits directly on the page-header, which uses the same stone
   tone as the nav's surroundings - the two blend into one flat area with no
   sense of "here ends the navigation." A faint full-width version of the
   bronze line already used under page titles (see .page-header::before)
   gives that boundary back without adding a hard edge. Fades out once
   .is-scrolled's own box-shadow takes over, so there's never two lines at
   once. */
.site-nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--bronze) 15%, var(--bronze) 85%, transparent);
  opacity: 0.55;
  transition: opacity .4s ease;
  pointer-events: none;
}
.site-nav.is-scrolled::after { opacity: 0; }

.site-nav.is-scrolled {
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(14px);
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  box-shadow: 0 1px 0 var(--line-soft);
}

.wordmark {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}

.site-nav.is-scrolled .wordmark,
.nav-dark .wordmark { color: var(--ink); }
.nav-on-photo .wordmark { color: var(--cream); }

.wordmark small {
  display: block;
  font-family: var(--serif-body);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 0.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.3rem);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-on-photo .nav-links { color: var(--cream); }
.site-nav.is-scrolled .nav-links { color: var(--ink); }

.nav-links a { position: relative; padding: 0.2rem 0; opacity: 0.85; transition: opacity .25s; }
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor;
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-on-photo .nav-links,
  .nav-dark .nav-links,
  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    font-size: 1.15rem;
    transform: translateY(-100%);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    color: var(--ink);
    z-index: 550;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle {
    display: block;
    z-index: 600;
    background: none; border: none;
    width: 28px; height: 20px;
    position: relative;
    cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; left: 0; right: 0; height: 1px;
    background: currentColor; transition: all .3s;
  }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 9px; }
  .nav-toggle span:nth-child(3) { top: 18px; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav-on-photo .nav-toggle { color: var(--cream); }
  .nav-toggle.is-open { color: var(--ink) !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,10,.1) 0%, rgba(20,17,10,.08) 40%, rgba(20,17,10,.68) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(3rem, 8vh, 5.5rem);
  color: var(--cream);
}

.hero__kicker {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.04;
  max-width: 16ch;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--stone-dark);
}

.hero__meta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.2rem;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px; height: 54px;
  background: linear-gradient(180deg, rgba(251,249,244,.9), rgba(251,249,244,0));
}
.hero__scroll::after {
  content: '';
  position: absolute; top: 0; left: -2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cream);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 46px; opacity: 0; }
}

/* Mobil: Scroll-Hinweis unter den Hero-Text setzen statt über die Telefonnummer */
@media (max-width: 768px) {
  .hero__content { padding-bottom: 6rem; }
  .hero__scroll { bottom: 1.4rem; height: 40px; }
  .hero__scroll::after { animation-name: scrollDotSm; }
}
@keyframes scrollDotSm {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 34px; opacity: 0; }
}

/* ---------- Editorial split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__text { order: 1; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.split__media::before {
  content: '';
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px; height: 120px;
  border-top: 1px solid var(--bronze);
  border-right: 1px solid var(--bronze);
  z-index: -1;
}
.split--reverse .split__media::before {
  inset: -18px auto auto -18px;
  border-right: none; border-left: 1px solid var(--bronze);
}

.split__text p + p { margin-top: 1.1rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; padding: 4rem 0; }
  .split--reverse .split__media,
  .split--reverse .split__text { order: initial; }
  /* Komplett zentriert auf Mobil (inkl. Fließtext), passend zum Rest der
     Seite bzw. zur Speisekarte-Seite - auf Wunsch, trotz des generellen
     Lesbarkeits-Tradeoffs bei mehrzeiligem zentriertem Fließtext. */
  .split__text { text-align: center; }
  .split__text .rule { margin-left: auto; margin-right: auto; }
  .split__text .btn-row { justify-content: center; }
}

/* ---------- Section wrappers ---------- */

.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section--stone {
  background-color: var(--stone);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-blend-mode: multiply;
  background-repeat: repeat;
}
.section--ink {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
  background-blend-mode: screen;
  background-repeat: repeat;
  color: var(--stone-dark);
}
.section--ink h2 { color: var(--cream); }
.section--ink .eyebrow { color: var(--bronze); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.8rem, 5vw, 4.2rem);
}
.section-head .rule { margin-left: auto; margin-right: auto; }

/* ---------- Ornamental section seams (replaces flat colour-block edges) ---------- */

.section:not(:last-of-type) { position: relative; }
.section:not(:last-of-type)::before {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: clamp(120px, 20vw, 220px);
  height: 1px;
  transform: translate(-50%, 50%);
  background: linear-gradient(to right, transparent, var(--bronze) 15%, var(--bronze) 85%, transparent);
  opacity: 0.55;
  z-index: 4;
  pointer-events: none;
}
.section:not(:last-of-type)::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 7px; height: 7px;
  transform: translate(-50%, 50%) rotate(45deg);
  background: var(--bronze);
  z-index: 5;
  pointer-events: none;
}

/* ---------- Full-bleed banner ---------- */

.banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.banner::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(20,17,10,.52);
}
.banner__content { position: relative; z-index: 2; color: var(--cream); padding: 2rem; }
.banner__content .eyebrow { color: var(--stone-dark); }
.banner h2 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3.2rem); }

/* ---------- Info list (hours etc.) ---------- */

.infolist { display: grid; gap: 1.4rem; }
.infolist__row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.12rem;
}
.infolist__row dt { color: var(--ink); font-weight: 600; }
.infolist__row dd { color: var(--ink-soft); text-align: right; }
.section--ink .infolist__row { border-color: rgba(251,249,244,.14); }
.section--ink .infolist__row dt { color: var(--cream); }
.section--ink .infolist__row dd { color: var(--stone-dark); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif-body);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 2.1rem;
  border: 1px solid currentColor;
  transition: background .3s, color .3s;
}
.btn--dark { color: var(--ink); }
.btn--dark:hover { background: var(--ink); color: var(--cream); }
.btn--light { color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--solid:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Gallery strip (no boxes — a true filmstrip) ---------- */

.filmstrip {
  display: flex;
  gap: clamp(0.6rem, 1.6vw, 1.2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 1rem;
  scrollbar-width: none;
}
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip img {
  scroll-snap-align: start;
  height: clamp(280px, 42vw, 480px);
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
}
.filmstrip img:nth-child(2) { height: clamp(220px, 34vw, 380px); align-self: flex-end; }
/* Opt out of the staggered-second-image look above - all images the same
   height, for a filmstrip where that stagger would look like a mistake
   rather than a deliberate accent (e.g. a run of same-subject food shots). */
.filmstrip--uniform img:nth-child(2) { height: clamp(280px, 42vw, 480px); align-self: auto; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--stone-dark);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(251,249,244,.12);
}
.footer-grid .wordmark { color: var(--cream); }
.footer-grid p { margin-top: 1rem; font-size: 1.02rem; }
.footer-col h3 {
  font-family: var(--serif-body); font-style: italic; font-weight: 500;
  color: var(--cream); font-size: 1.05rem; margin-bottom: 1rem;
}
.footer-col a, .footer-col p { display: block; color: var(--stone-dark); margin-bottom: 0.55rem; font-size: 1.02rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--ink-faint);
}
.footer-bottom nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-bottom nav a { color: var(--ink-faint); }
.footer-bottom nav a:hover { color: var(--stone-dark); }
.footer-bottom span a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom span a:hover { color: var(--stone-dark); }
.footer-bottom button {
  background: none; border: none; font: inherit; color: var(--ink-faint);
  cursor: pointer; padding: 0; font-size: 0.86rem;
}
.footer-bottom button:hover { color: var(--stone-dark); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom nav { justify-content: center; }
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
  position: relative;
  padding: clamp(6rem, 11vw, 7.5rem) 0 clamp(2.2rem, 4vw, 3rem);
  text-align: center;
  background-color: var(--stone);
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 0%, rgba(255,255,255,0.4), rgba(255,255,255,0) 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-blend-mode: normal, multiply;
  background-repeat: no-repeat, repeat;
}
.page-header::before {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: clamp(120px, 20vw, 220px); height: 1px;
  transform: translate(-50%, 50%);
  background: linear-gradient(to right, transparent, var(--bronze) 15%, var(--bronze) 85%, transparent);
  opacity: 0.6;
  z-index: 4;
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 7px; height: 7px;
  transform: translate(-50%, 50%) rotate(45deg);
  background: var(--bronze);
  z-index: 5;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow { justify-content: center; display: flex; }
.page-header h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  /* hyphens: auto wurde bewusst wieder entfernt: die automatische
     Browser-Trennung hat an unsinnigen Stellen getrennt ("Datenschutzerklä-
     rung" statt "Datenschutz-erklärung") und sogar den Markennamen
     "Nouvelle" mitten im Wort zerschnitten. Trennung passiert jetzt NUR noch
     dort, wo im HTML-Text explizit ein &shy; gesetzt ist (siehe
     datenschutz.html) - kein Wort wird mehr ungefragt/falsch getrennt.
     overflow-wrap bleibt als reine Notbremse gegen echtes Überlaufen. */
  overflow-wrap: break-word;
}

@media (max-width: 400px) {
  .page-header h1 { font-size: clamp(1.9rem, 9vw, 4rem); }
}

/* ---------- Speisekarte carousel ---------- */

.carousel {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
/* Das Karussell nutzt natives horizontales Scrollen mit Scroll-Snap statt
   selbstgebauter Touch-Gesten-Erkennung - zwei Versuche, Wisch-Gesten per
   eigenem JS (touchstart/touchend-Delta) zuverlässig zu erkennen, scheiterten
   auf echten Handys trotz touch-action-Hinweis (blieb nach 1-2 Bildern
   hängen, vermutlich durch Gesten-Konflikte mit dem Browser, die sich mit
   synthetischen Touch-Events am Schreibtisch nicht nachstellen lassen).
   Natives Scrollen ist exakt das, was jede Foto-/Galerie-App nutzt - der
   Browser selbst verwaltet die Geste, kein Konflikt mehr möglich. */
.carousel__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: var(--paper-shadow);
  background: var(--stone);
}
.carousel__frame::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex;
  height: 100%;
}
.carousel__track img {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
/* Für Karussells mit hochformatigen (nicht quadratisch zugeschnittenen)
   Seiten, z.B. der Mittagstisch - zeigt die ganze Seite ohne Beschnitt,
   statt sie wie beim quadratischen Haupt-Karussell auszufüllen. */
.carousel--portrait .carousel__frame { aspect-ratio: 3 / 4; }
.carousel--portrait .carousel__track img { object-fit: contain; }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(251,249,244,.92);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .25s;
  z-index: 3;
}
.carousel__btn:hover { background: var(--cream); }
.carousel__btn--prev { left: clamp(-8px, -4vw, -24px); }
.carousel__btn--next { right: clamp(-8px, -4vw, -24px); }
.carousel__btn svg { width: 18px; height: 18px; stroke: var(--ink); }

.carousel__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dots button {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line); border: none; padding: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.carousel__dots button.is-active { background: var(--bronze); transform: scale(1.4); }

.carousel-hint { text-align: center; margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-faint); }

@media (max-width: 640px) {
  .carousel__btn { width: 40px; height: 40px; }
  .carousel__btn--prev { left: 4px; }
  .carousel__btn--next { right: 4px; }
}

/* ---------- Kontakt page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-card dt { font-weight: 600; color: var(--ink); margin-top: 1.6rem; font-size: 0.86rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { font-size: 1.2rem; margin-top: 0.3rem; }
.contact-card a:hover { color: var(--bronze-deep); }
.map-frame { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); filter: grayscale(0.35) contrast(1.05); }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact form ---------- */

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 0.4rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint);
}
.form-field input, .form-field textarea {
  font-family: var(--serif-body); font-size: 1.12rem; color: var(--ink);
  background: none; border: none; border-bottom: 1px solid var(--line);
  padding: 0.5rem 0.1rem; outline: none; resize: vertical;
  transition: border-color 0.25s;
}
.form-field input:focus, .form-field textarea:focus { border-bottom-color: var(--bronze); }
.form-field textarea { min-height: 120px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-consent {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.92rem; color: var(--ink-soft); cursor: pointer;
}
.form-consent input { margin-top: 0.3rem; accent-color: var(--bronze); flex-shrink: 0; }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.contact-form button[type="submit"] {
  align-self: flex-start; cursor: pointer; font-family: var(--serif-body);
  background: var(--ink); color: var(--cream); border: 1px solid var(--ink);
}
.contact-form button[type="submit"]:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.contact-form button[type="submit"]:disabled { opacity: 0.55; cursor: wait; }
.form-status { font-size: 0.92rem; min-height: 1.2rem; margin: 0; }
.form-status.is-success { color: var(--bronze-deep); }
.form-status.is-error { color: #a3402f; }

/* ---------- Video placeholder (Über uns — Video folgt) ---------- */

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px dashed var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--stone);
}
.video-placeholder span {
  font-family: var(--serif-display);
  font-style: italic;
  color: var(--ink-faint);
  font-size: 1.3rem;
  max-width: 26ch;
}
.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}
/* Hochformat-Videos (z. B. vom Handy gefilmt): schmal und mittig statt
   winzig in einem Querformat-Rahmen. Das Seitenverhältnis kommt inline. */
.video-embed--portrait {
  width: min(100%, 380px);
  margin: 0 auto;
}

/* ---------- Legal pages ---------- */

.legal-content h2 { font-size: 1.4rem; margin: 2.4rem 0 0.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 1.08rem; margin-bottom: 0.7rem; color: var(--ink-soft); }
.legal-content ul { padding-left: 1.3rem; }
.legal-content a { color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .legal-content { text-align: center; }
}

/* ---------- Reveal-on-scroll ---------- */

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Cookie banner (shared) ---------- */

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--ink); color: var(--stone-dark);
  padding: 1.3rem clamp(1.5rem, 5vw, 4rem);
  transform: translateY(110%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  align-items: center; justify-content: space-between;
}
.cookie-inner p { font-size: 0.98rem; color: var(--stone-dark); max-width: 60ch; }
.cookie-inner a { text-decoration: underline; color: var(--cream); }
.cookie-actions { display: flex; gap: 0.8rem; flex-shrink: 0; }
.cookie-actions button {
  font-family: var(--serif-body); font-size: 0.95rem;
  padding: 0.6rem 1.3rem; cursor: pointer; border: 1px solid rgba(251,249,244,.4);
  background: none; color: var(--stone-dark);
}
.cookie-actions .cbtn-accept { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ---------- Events-Seite ---------- */

.events-intro { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.events-list { display: grid; gap: clamp(3rem, 6vw, 4.5rem); max-width: 980px; margin: 0 auto; }
.events-empty { text-align: center; color: var(--ink-faint); font-style: italic; font-size: 1.15rem; max-width: 34ch; margin: 0 auto; }
.events-empty a { color: var(--bronze-deep); text-decoration: underline; }
.events-section[hidden], .events-empty[hidden] { display: none; }

.event {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.events-list .event:last-child { border-bottom: none; padding-bottom: 0; }

.event__date {
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--bronze);
  padding: 1rem 0.5rem 0.9rem;
  align-self: start;
  text-align: center;
}
.event__day { font-family: var(--serif-display); font-size: 2.6rem; line-height: 1; color: var(--ink); }
.event__month { font-family: var(--serif-body); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); margin-top: 0.4rem; }

.event__title { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.15; margin-bottom: 0.4rem; }
.event__meta { font-style: italic; color: var(--bronze-deep); font-size: 1.1rem; margin-bottom: 1.2rem; }
.event__text p { margin-bottom: 1rem; }
.event__text p:last-child { margin-bottom: 0; }

.event__video { margin-top: 1.6rem; max-width: 720px; }
.event__video .video-embed--portrait { margin: 0; width: min(100%, 340px); }
.event__gallery { margin-top: 1.6rem; gap: 0.6rem; }
.event__photo { display: block; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.event__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.event__photo:hover img { transform: scale(1.03); }

/* 1 Foto: groß, im eigenen Format (Hoch- oder Querformat) */
.event__gallery--single .event__photo { background: none; }
.event__gallery--single img { height: auto; max-height: 78vh; width: auto; max-width: 100%; }

/* 2 Fotos: nebeneinander */
.event__gallery--duo { display: grid; grid-template-columns: 1fr 1fr; }
.event__gallery--duo .event__photo { aspect-ratio: 4 / 5; }

/* ab 3 Fotos: wischbarer Bildstreifen */
.event__gallery--strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.6rem;
}
.event__gallery--strip .event__photo { flex: 0 0 auto; height: clamp(220px, 30vw, 340px); scroll-snap-align: start; }
.event__gallery--strip img { width: auto; height: 100%; }
.event__strip-wrap { position: relative; }
.event__strip-btn {
  position: absolute; top: calc(50% + 0.8rem); transform: translateY(-50%);
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: none; background: rgba(251, 249, 244, 0.92); color: var(--ink);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(38, 34, 26, 0.25);
  display: flex; align-items: center; justify-content: center; padding-bottom: 0.2rem;
}
.event__strip-btn[hidden] { display: none; }
.event__strip-btn--prev { left: 0.6rem; }
.event__strip-btn--next { right: 0.6rem; }
@media (hover: none) { .event__strip-btn { display: none; } }

@media (max-width: 640px) {
  .event { grid-template-columns: 1fr; gap: 1.2rem; }
  .event__date { flex-direction: row; gap: 0.6rem; align-items: baseline; justify-self: start; padding: 0.5rem 1rem; }
  .event__day { font-size: 1.8rem; }
  .event__month { margin-top: 0; }
  .event__gallery--duo .event__photo { aspect-ratio: 3 / 4; }
}

/* Foto-Großansicht */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 17, 10, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: var(--paper-shadow); }
.lightbox button {
  position: absolute; background: none; border: none; color: var(--cream);
  font-size: 2.4rem; line-height: 1; cursor: pointer; padding: 0.6rem 0.9rem; opacity: 0.85;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 0.6rem; right: 0.8rem; }
.lightbox__prev { left: 0.4rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0.4rem; top: 50%; transform: translateY(-50%); }

/* Optionale CMS-Felder (z.B. Umsatzsteuer-ID): leer = unsichtbar */
.legal-content p:empty { display: none; }
