/* ==========================================================================
   Lichtspielhaus Schwabach – Stylesheet
   Nachbau der bisherigen Website (Sitehub/creek8) als schlankes statisches CSS.
   Breakpoints wie im Original:  Tablet <= 975px  ·  Smartphone <= 575px
   ========================================================================== */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/raleway-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/fraunces-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Bad Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/badscript-400.woff2") format("woff2");
}

/* ---------- Farben & Maße ---------- */
:root {
  --gold: #d7aa4e;          /* Primärfarbe */
  --gold-dark: #946e1f;     /* Sekundärfarbe */
  --gold-hover: #c5932d;    /* Button-Hover */
  --brown: #45341b;         /* Drinks-Bereich, Overlay */
  --dark: #1f1302;          /* Hintergrund */
  --text: #e8e8e8;
  --grey: #bcbcbc;
  --input-text: #2e2e2e;
  --boxed: 1080px;
  --header-height: 10vh;

  /* Flipbook (Speisekarte): Farben nur über diese Variablen, flipbook.css bleibt unverändert */
  --fb-akzent: #d7aa4e;
  --fb-akzent-kontrast: #1f1302;
  --fb-text: #e8e8e8;
  --fb-hintergrund: #1f1302;
  --fb-linie: rgba(215, 170, 78, .35);
  --fb-zoom-hintergrund: rgba(15, 9, 1, .96);
  --fb-kante-hell: #4a3a22;
  --fb-kante-dunkel: #0e0801;
  --fb-sticky-top: var(--header-height);  /* mobile Leiste unter der fixierten Kopfzeile */
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--dark);
  overflow-x: hidden;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { vertical-align: middle; border: 0; }
figure { margin: 0; }
strong, b { font-weight: 700; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: all .3s ease-in-out;
}
a:hover { color: var(--gold-dark); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 3px;
  color: var(--gold);
}
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }
h6 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-size: 96px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

input, button, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
textarea { overflow: auto; resize: vertical; }

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

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  max-width: 100%;
  padding: .5rem 1rem;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--dark);
  background: var(--gold);
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.button:hover,
.button:focus-visible { color: var(--dark); background: var(--gold-hover); text-decoration: none; }
.button--small { padding: 4px 8px; }
.button--large {
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.button--block { width: 100%; }

/* ---------- Standard-Bereich (zentriert, 1080px) ---------- */
.section__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 80px 16px;
}
.section__inner > * { flex: 0 0 100%; }
.section { display: flex; }
.section__title { text-align: center; }

/* ==========================================================================
   Titelbereich (Hero) + Kopfzeile
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  height: 100vh;
  overflow: clip;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.hero__bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: rgba(14, 9, 4, .65);
  pointer-events: none;
}

/* Kopfzeile */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  flex: 0 0 100%;
  width: 100%;
  height: var(--header-height);
  background: rgba(14, 9, 4, .751);
  border-bottom: 1px solid var(--gold);
  transition: all .3s ease-in-out;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: calc(var(--header-height) - 1px);
  padding: 0 100px;
}
.site-header__logo { flex: 0 0 auto; line-height: 0; }
.site-header__logo img { display: inline; width: 350px; max-width: 100%; height: auto; }

/* feste Kopfzeile beim Scrollen */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  background: var(--dark);
  box-shadow: 0 1px 5px 2px #000;
}
.site-header.is-sticky + * { margin-top: var(--header-spacer, 0px); }

/* Hauptnavigation (Desktop) */
.main-nav { flex: 1 0 auto; }
.main-nav ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
}
.main-nav li + li { margin-left: 2.5rem; }
.main-nav a,
.footer-nav a { -webkit-tap-highlight-color: transparent; }
.main-nav a {
  position: relative;
  z-index: 10;
  display: inline-block;
  padding: 1rem 0;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: lowercase;
  color: var(--grey);
  transition: all .3s ease-in-out;
  transition-property: background-color, color, margin;
}
.main-nav a::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold-dark);
  opacity: 0;
  transition: all .3s ease;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--grey); text-decoration: none; }
.main-nav a:hover::before,
.main-nav a.is-active::before { opacity: 1; }

/* Instagram-Icon */
.site-header__social {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 80px;
  max-width: 80px;
}
.social-icon {
  display: block;
  padding: .5rem;
  background: var(--gold);
  border-radius: 50%;
  transition: all .3s ease-in-out;
}
.social-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: var(--dark);
  transition: all .3s ease-in-out;
}
.social-icon:hover { background: var(--grey); }

/* Burger-Menü (nur mobil) */
.burger {
  position: relative;
  z-index: 101;
  display: none;
  flex: 0 0 auto;
  padding: 0;
  line-height: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger__box {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 25px;
}
.burger__inner,
.burger__inner::before,
.burger__inner::after {
  position: absolute;
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--gold);
  transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
}
.burger__inner { top: 0; left: 0; }
.burger__inner::before,
.burger__inner::after { content: ""; left: 0; }
.burger__inner::before { top: 11px; }
.burger__inner::after { top: 22px; }

body.menu-open .burger__inner { transform: translate3d(0, 11px, 0) rotate(45deg); }
body.menu-open .burger__inner::before { transform: rotate(-45deg) translate3d(-4.2857px, -8px, 0); opacity: 0; }
body.menu-open .burger__inner::after { transform: translate3d(0, -22px, 0) rotate(-90deg); }
body.menu-open .burger__inner,
body.menu-open .burger__inner::before,
body.menu-open .burger__inner::after { background-color: var(--gold-dark); }

/* Inhalt im Titelbereich */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 100%;
  height: 85vh;
}
.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  width: 100%;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 80px 16px;
}
.hero__inner > * { flex: 0 0 100%; }
.hero__logo { line-height: 0; }
.hero__logo img { width: 100%; max-width: 100%; height: auto; }
.hero__address { margin-top: 20px; text-align: center; }
.hero__scroll {
  position: relative;
  top: 150px;
  display: flex;
  justify-content: center;
}
.scroll-down {
  position: relative;
  display: block;
  width: 92.8px;
  height: 92.8px;
}
.scroll-down__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 2rem;
  height: 2rem;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translate(-50%, -1rem) rotate(-45deg);
  animation: arrow 1.4s infinite;
}
@keyframes arrow {
  0%   { opacity: 0; transform: translate(-50%, -2rem) rotate(-45deg); }
  50%  { opacity: 1; transform: translate(-50%, -1rem) rotate(-45deg); }
  100% { opacity: 0; transform: translate(-50%, 0) rotate(-45deg); }
}

/* Einblend-Animationen wie im Original */
.anim-slide { animation: slideReveal 1s ease both; }
.anim-rise { animation: riseIn 1s ease .5s both; }
@keyframes slideReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.js .anim-fade { opacity: 0; transition: opacity 1s ease; }
.js .anim-fade.is-visible { opacity: 1; }

/* ==========================================================================
   Services (zwei Bilder, Slogan in der Mitte)
   ========================================================================== */
.services {
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  align-items: stretch;
  height: 60vh;
  overflow: hidden;
}
.services__col {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 50%;
  max-width: 50%;
}
.services__col--rechts { min-height: 24px; }
.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services__claim {
  position: relative;
  left: 50%;
  z-index: 1;
  flex: 0 0 100%;
  text-align: center;
  text-shadow: rgba(0, 0, 0, .604) 2px 2px 30px;
}

/* ==========================================================================
   Öffnungszeiten
   ========================================================================== */
.opening { min-height: 15vh; background-color: var(--dark); }
.opening .section__title { margin-bottom: 50px; }
.opening__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: -8px;
  width: calc(100% + 16px);
  flex-basis: calc(100% + 16px) !important;
}
.opening__box {
  position: relative;
  display: block;
  flex: 1 0 auto;
  max-width: 100%;
  margin: 8px;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gold);
  border-radius: 10px;
}
.opening__box p { font-size: .9rem; color: var(--text); }
.opening__box strong { font-size: .815rem; text-transform: uppercase; color: var(--text); }

/* ==========================================================================
   Drinks, Food & Play
   ========================================================================== */
.drinks { background-color: var(--brown); }
.drinks .section__title { margin-bottom: 50px; }
/* Die Galerie steckt in einem Flex-Rahmen: So werden die Bilder mobil
   gleich hoch verteilt – genau wie im Original. */
.gallery-wrap { display: flex; }
.gallery {
  display: flex;
  flex: 1 0 auto;
  width: 100%;
  flex-direction: row;
  gap: .5rem;
  justify-content: center;
}
.gallery__item {
  flex: 1;
  width: 100%;
  height: 500px;
  overflow: auto;
  transition: all .5s ease;
  outline: none;
}
.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .5s ease;
}
.gallery__item:hover,
.gallery__item:focus-within,
.gallery__item:focus { flex: 2; }
.drinks__cta { margin-top: 25px; text-align: center; }

/* ==========================================================================
   Kontakt (Karte, Adresse, Formular)
   ========================================================================== */
.contact {
  display: flex;
  flex-wrap: wrap;
  color: var(--dark);
  background: var(--gold);
}
.contact a:not(.privacy-link),
.contact a:not(.privacy-link):hover { color: var(--dark); }

/* Karte mit Klick-zum-Laden */
.map {
  position: relative;
  flex: 0 0 100%;
  height: 325px;
  color: #333;
  background: #e5e3df;
  overflow: hidden;
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 24px 104px;
  text-align: center;
  background:
    linear-gradient(0deg, rgba(229, 227, 223, .82), rgba(229, 227, 223, .82)),
    repeating-linear-gradient(90deg, transparent 0 118px, #fff 118px 124px),
    repeating-linear-gradient(0deg, transparent 0 88px, #fff 88px 93px),
    #e5e3df;
}
.map__text { max-width: 520px; font-size: 14px; line-height: 1.5; color: #333; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.contact__content {
  display: flex;
  justify-content: center;
  flex: 0 0 100%;
  overflow-x: clip;
}
.contact__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: calc(100% + 16px);
  max-width: calc(var(--boxed) + 16px);
  margin: -8px 0;
  flex: 0 0 auto;
  padding: 80px 16px;
}
.contact__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  flex: 1 1 0%;
  max-width: 100%;
  margin: 8px;
  word-break: break-all;
}
.contact__box > * { flex: 0 0 100%; }
.contact__box > .contact__icon { flex: 0 0 auto; }
.contact__icon svg {
  display: block;
  width: 3rem;
  height: 3rem;
  fill: var(--dark);
}
.contact__box h3 { text-align: center; color: var(--dark); }
.contact__text p { text-align: center; }

.contact__form-box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  flex: 0 0 calc(50% - 16px);
  max-width: 100%;
  margin: calc(-10rem + 8px) 8px 8px;
  padding: 2rem;
  color: var(--dark);
  background: #fff;
  border: 3px solid var(--gold);
  border-radius: 10px;
}
.contact__form-box > * { flex: 0 0 100%; }
.contact__form-box h2 { margin-bottom: 15px; text-align: center; }

.contact-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: -8px;
  flex-basis: calc(100% + 16px) !important;
}
.contact-form__field {
  flex: 1 1 calc(100% - 1rem);
  max-width: 100%;
  margin: .5rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  color: var(--input-text);
  background: none;
  border: 1px solid var(--dark);
  border-radius: 0;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: all .3s ease-in-out;
}
.contact-form textarea { height: auto; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey); opacity: 1; }
.contact-form input[type="text"]:hover,
.contact-form input[type="email"]:hover,
.contact-form textarea:hover,
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus { outline: 0; background: #fff; color: var(--input-text); }
.contact-form input:hover::placeholder,
.contact-form textarea:hover::placeholder { color: var(--input-text); }
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder { color: #3b3b3b; }

.contact-form__privacy { color: var(--dark); }
.contact-form__privacy input[type="checkbox"] { margin: 0; vertical-align: middle; }
.contact-form__privacy label { display: block; margin: 0 1rem 0 0; color: var(--grey); }
.contact-form__privacy .privacy-link { color: var(--gold); }
.contact-form__privacy .privacy-link:hover { color: var(--gold-dark); }

.contact-form__submit {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: .5rem 1rem;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark);
  background: var(--gold);
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  -webkit-appearance: none;
  transition: all .3s ease-in-out;
}
.contact-form__submit:hover { color: var(--dark); background: var(--gold-hover); }

/* Honeypot: für Menschen unsichtbar */
.contact-form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Rückmeldung nach dem Absenden */
.form-message {
  margin-bottom: 1rem;
  padding: .5rem;
  text-align: center;
  color: #fff;
}
.form-message[hidden] { display: none; }
.form-message--success { background: #28a745; }
.form-message--failure { background: #bd2130; }

/* ==========================================================================
   Fußzeile
   ========================================================================== */
.site-footer { display: flex; background: var(--dark); }
.site-footer__inner {
  width: 100%;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 80px 16px;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: -8px;
}
.site-footer__box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 0 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  min-width: 0;
  margin: .5rem;
  color: var(--text);
}
.site-footer__box--nav { justify-content: flex-end; }
.site-footer__box--nav h3 { flex: 0 0 auto; order: 0; }
.site-footer__box--nav::before { content: ""; flex: 0 0 100%; height: 12px; order: 1; }
.site-footer__box--nav .footer-nav { flex: 0 0 auto; order: 2; }
.site-footer__logo { line-height: 0; }
.site-footer__logo img { width: 220px; max-width: 100%; height: auto; }
.footer-nav ul { display: flex; flex-wrap: nowrap; }
.footer-nav li { margin-right: 1rem; white-space: nowrap; }
.footer-nav li:last-child { margin: 0; }
.site-footer a,
.site-footer a:hover { color: var(--text); }

.site-footer__separator {
  height: 1px;
  margin: 24px 0;
  background: var(--gold-dark);
  border: 0;
}
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  color: var(--text);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  max-width: 100%;
  margin-right: .5rem;
}
.site-footer__legal > * { flex: 0 0 100%; }
.site-footer__legal-text { margin-right: 1rem; }
.site-footer__legal-links { margin-top: 16px; }
.site-footer__payment { display: flex; align-items: center; flex: 0 0 auto; }
.site-footer__payment svg {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-right: .5rem;
  fill: var(--text);
}
.site-footer__payment svg:last-child { margin-right: 0; }

/* ==========================================================================
   Nach-oben-Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  margin: 2rem;
  padding: .5rem;
  background: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top svg { display: block; width: 1.8rem; height: 1.8rem; fill: var(--gold); }

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz)
   ========================================================================== */
.page-legal .site-header { flex: none; }
.legal-page__title { margin-bottom: 20px; }
.legal-page__subtitle { margin-top: 50px; margin-bottom: 20px; }
.imprint p { text-align: start; }

.legal h1 { margin-bottom: 0; }
.legal p { margin-bottom: 1rem; text-align: justify; }
.legal h2 { margin-top: 2rem; }
.legal h3 { margin-top: 1rem; }
.legal ul { margin: 0; padding: 0 0 0 1rem; list-style: none; }
.legal ul > li { min-height: 25px; padding: 0; }
.legal ul > li::before {
  /* kleines goldenes Dreieck wie im Original */
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: -1rem;
  margin-right: calc(1rem - 5px);
  border-left: 5px solid var(--gold);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  vertical-align: 1px;
}
.legal a { word-break: break-all; }

/* ==========================================================================
   Unterseite Speisekarte (Flipbook)
   ========================================================================== */
.speisekarte__inner {
  width: 100%;
  max-width: var(--boxed);
  margin: 0 auto;
  padding: 50px 16px 64px;
}
.speisekarte h1 { margin-bottom: 20px; font-size: 32px; }
.speisekarte__zurueck { display: inline-block; margin-bottom: 1.5rem; }

/* Desktop/Tablet: Titel, Buch und Leiste passen ohne Scrollen unter die Kopfzeile */
@media (min-width: 701px) {
  .speisekarte {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 480px;
  }
  .speisekarte__inner {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas: "titel zurueck" "buch buch";
    align-items: baseline;
    column-gap: 24px;
    padding: 22px 16px 24px;
  }
  .speisekarte h1 { grid-area: titel; margin: 0 0 12px; line-height: 1.25; }
  .speisekarte__zurueck { grid-area: zurueck; margin: 0; }
  .speisekarte .flipbook { grid-area: buch; align-self: stretch; min-height: 0; }
}

/* ==========================================================================
   Tablet (<= 975px)
   ========================================================================== */
@media screen and (max-width: 975px) {
  h1 { font-size: 34px; }
  h2 { font-size: 27px; }
  h3 { font-size: 24px; }
  h6 { font-size: 16px; }
  .speisekarte h1 { font-size: 27px; }

  .site-header__inner { padding: 0 24px; justify-content: center; }
  .site-header__social {
    flex: 0 0 auto;
    max-width: 50px;
    margin: 0 15px 0 auto;
  }
  .burger { display: block; }

  /* mobiles Vollbild-Menü */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow-y: auto;
    text-align: center;
    background: var(--dark);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: all .5s cubic-bezier(.16, 0, .28, .99);
  }
  .main-nav ul { display: block; max-height: 100%; padding: 1rem; text-align: center; }
  .main-nav li + li { margin-left: 0; }
  .main-nav li:not(:last-child) { margin-bottom: 2.5rem; }
  .main-nav a { margin: 5px 0; }
  body.menu-open .main-nav { opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0); }

  .hero__scroll { top: 100px; }

  .opening__box { flex-basis: calc(100% / 3 - 1rem); }
  .gallery__item { height: 400px; }
}

@media screen and (max-width: 767px) {
  .legal h1 { font-size: 1.5rem; }
  .legal h2 { font-size: 1.2rem; }
  .legal h3 { font-size: 1rem; }
}

/* ==========================================================================
   Smartphone (<= 575px)
   ========================================================================== */
@media screen and (max-width: 575px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }
  .speisekarte h1 { font-size: 22px; }

  .section__inner,
  .hero__inner,
  .site-footer__inner { padding-top: 64px; padding-bottom: 64px; }

  .site-header__inner { padding: 0 12px; }
  .site-header__logo img { width: 225px; }

  .hero__scroll { top: 80px; }

  .services__col { flex: 0 1 100%; max-width: 100%; }

  .opening__list { flex-direction: column; }
  .opening__box { flex: 1 0 auto; }

  .gallery { flex-direction: column; }
  .gallery__item { height: 300px; }

  .contact__inner { padding-top: 64px; padding-bottom: 64px; }
  .contact__form-box { flex-basis: calc(100% - 16px); margin-top: 1rem; }
  .map__placeholder { padding-bottom: 24px; }

  .site-footer__box { flex: 0 1 calc(100% - 1rem); max-width: calc(100% - 1rem); }
  .site-footer__box--nav { justify-content: flex-start; }
  .site-footer__box--nav .footer-nav { flex-basis: 100%; }
  .footer-nav ul { flex-wrap: wrap; }

  .back-to-top svg { width: 1rem; height: 1rem; }

}

/* weniger Bewegung, wenn im System so eingestellt */
@media (prefers-reduced-motion: reduce) {
  .anim-slide, .anim-rise, .scroll-down__arrow { animation: none; }
  .js .anim-fade { opacity: 1; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Tablet & Handy – Feinschliff
   Bewusste Abweichung vom Original: Unter 976 px gilt ein sauberes, ruhiges
   Erscheinungsbild vor pixelgenauer Kopie. Desktop bleibt unverändert.
   ========================================================================== */
@media screen and (max-width: 975px) {

  /* Kopfzeile: Logo und Icons bleiben über dem offenen Menü sichtbar */
  .site-header__logo,
  .site-header__social { position: relative; z-index: 5; }

  /* Titelbereich: Adresse sauber umbrechen statt Einzelwort in Zeile 2 */
  .hero__address { text-wrap: balance; }

  /* Services: Slogan in lesbarer Größe auf der Bildkante */
  .services__claim {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1;
    text-shadow: rgba(0, 0, 0, .7) 2px 2px 24px;
  }

  /* Öffnungszeiten: vier gleich breite Kacheln in einer Reihe */
  .opening .section__title { margin-bottom: 32px; }
  .opening__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
    margin: 0;
    flex-basis: 100% !important;
  }
  .opening__box { margin: 0; padding: 24px 12px; }

  .drinks .section__title { margin-bottom: 32px; }

  /* Karte: kompakter, Platzhalter im Lichtspielhaus-Look */
  .map { height: 260px; }
  .map__placeholder {
    padding: 24px;
    color: var(--text);
    background:
      radial-gradient(circle at 50% 45%, rgba(215, 170, 78, .18), transparent 65%),
      var(--dark);
  }
  .map__text { color: var(--text); }

  /* Kontakt: Adresse + Kontakt nebeneinander, Formular darunter in voller Breite
     (vorher: drei schmale Spalten mit zerrissenen Wörtern) */
  .contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "adresse kontakt" "form form";
    gap: 40px 24px;
    flex: 0 0 auto;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 72px;
  }
  .contact__box { margin: 0; word-break: normal; overflow-wrap: anywhere; }
  .contact__box:first-child { grid-area: adresse; }
  .contact__box:last-child { grid-area: kontakt; }
  .contact__form-box { grid-area: form; max-width: none; margin: 0; }

  /* Datenschutz-Häkchen neben dem Text statt allein in einer Zeile */
  .contact-form__privacy { display: flex; align-items: flex-start; gap: 4px; }
  .contact-form__privacy input[type="checkbox"] { flex: 0 0 auto; margin-top: 6px; }
  .contact-form__privacy label { flex: 1; margin: 0; }

  /* Speisekarte: etwas weniger Luft über dem Titel */
  .speisekarte__inner { padding-top: 32px; }
}

@media screen and (max-width: 575px) {

  /* Adresse in einer Zeile (passt bis 360 px Bildschirmbreite) */
  .hero__address { font-size: min(16px, 4.1vw); letter-spacing: 1.5px; }

  /* Services: Bilder im ruhigen Querformat, Slogan vollständig im Cocktail-Bild */
  .services { height: auto; }
  .services__col { height: 64vw; }
  .services__col--links::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(20, 12, 2, .35);
  }
  .services__claim { left: 0; font-size: 44px; }

  /* Öffnungszeiten 2 × 2 */
  .opening__list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .opening__box { padding: 20px 8px; }

  /* Galerie: großes Bild oben, zwei Bilder darunter nebeneinander */
  .gallery-wrap { display: block; }
  .gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery__item,
  .gallery__item:hover,
  .gallery__item:focus,
  .gallery__item:focus-within { flex: none; height: 240px; overflow: hidden; }
  .gallery__item:first-child { grid-column: 1 / -1; height: 220px; }

  /* Kontakt untereinander: Adresse, Kontakt, Formular */
  .map { height: 220px; }
  .contact__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "adresse" "kontakt" "form";
    gap: 32px;
    padding: 48px 16px 56px;
  }
  .contact__form-box { padding: 28px 20px; }

  .site-footer__inner { padding-top: 48px; padding-bottom: 48px; }
  .speisekarte__inner { padding-top: 24px; }
}
