:root {
  --color-black: #171313;
  --color-ink: #25201c;
  --color-text: #515151;
  --color-muted: #81756d;
  --color-paper: #fffaf2;
  --color-cream: #f8efe2;
  --color-line: #e5d2bc;
  --color-brand: #e7192d;
  --color-brand-dark: #b70d1e;
  --color-accent: #c88a2d;
  --font-script: "Herr Von Muellerhoff", cursive;
  --font-display: "Source Sans 3", Arial, sans-serif;
  --font-body: "Cabin", Arial, sans-serif;
  --shadow-soft: 0 18px 40px rgba(50, 30, 20, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 12px;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-body);
}

body.stop-scroll,
body.hide-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #0b7189;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 60;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--color-black);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.script-title {
  margin: 0 0 -0.42em;
  color: var(--color-accent);
  font-family: var(--font-script);
  font-size: clamp(4.8rem, 13vw, 7.4rem);
  font-weight: 400;
  line-height: 0.9;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  color: #fff;
  font-size: clamp(2.7rem, 10vw, 5.6rem);
  letter-spacing: 0.14em;
}

h2 {
  color: var(--color-ink);
  font-size: clamp(2.1rem, 7vw, 3.55rem);
  letter-spacing: 0.12em;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.7;
}

.button,
.text-link,
.contact-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  padding: 0.78rem 1.2rem;
  color: var(--color-black);
  background: #fff;
}

.text-link {
  width: fit-content;
  color: var(--color-brand-dark);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.3rem;
  font-size: 0.9rem;
}

.loader-wrap,
.loader {
  position: fixed;
  inset: 0;
  margin: auto;
}

.loader-wrap {
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--color-brand);
  transition: opacity 0.22s ease;
}

.loader-wrap.remove {
  display: none;
}

.loader {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 60px;
}

.loader-item {
  width: 4px;
  height: 38px;
  margin-inline: 2px;
  background: #fff;
  animation: loader-pulse 1.35s ease-in-out infinite;
}

.loader-item:nth-child(2) { animation-delay: 0.06s; }
.loader-item:nth-child(3) { animation-delay: 0.12s; }
.loader-item:nth-child(4) { animation-delay: 0.18s; }
.loader-item:nth-child(5) { animation-delay: 0.24s; }
.loader-item:nth-child(6) { animation-delay: 0.3s; }
.loader-item:nth-child(7) { animation-delay: 0.36s; }
.loader-item:nth-child(8) { animation-delay: 0.42s; }
.loader-item:nth-child(9) { animation-delay: 0.48s; }
.loader-item:nth-child(10) { animation-delay: 0.54s; }

@keyframes loader-pulse {
  0%, 100% { transform: scaleY(0.82); }
  45% { transform: scaleY(1.4); }
}

.loader::after {
  content: "Galaxy lädt";
  position: absolute;
  bottom: -1.5rem;
  color: #fff;
  font-family: var(--font-body);
}

.dots {
  position: fixed;
  top: 50%;
  right: 2rem;
  z-index: 25;
  display: grid;
  gap: 0.65rem;
  transform: translateY(-50%);
}

.dots button {
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  padding: 0;
}

.dots button.active {
  background: #fff;
}

.dots button.black {
  border-color: var(--color-black);
}

.dots button.active.black {
  background: var(--color-black);
}

.site-hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 24px);
  padding: 1.25rem clamp(1.25rem, 5vw, 4.5rem);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.28) 42%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.38) 74%);
}

.hero-home {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80");
}

.hero-menu {
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80");
}

.hero-drinks {
  background-image: url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1800&q=80");
}

.hero-contact {
  background-image: url("https://images.unsplash.com/photo-1481833761820-0509d3217039?auto=format&fit=crop&w=1800&q=80");
}

.page-hero {
  min-height: 54svh;
}

.site-nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.active,
.site-nav.menu-open {
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  width: min(46vw, 190px);
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.25));
}

.site-nav.active .logo,
.site-nav.menu-open .logo {
  filter: none;
}

.toggle {
  position: relative;
  z-index: 42;
  display: none;
  width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
}

.toggle span:not(.sr-only) {
  display: block;
  width: 30px;
  height: 2px;
  margin: 0 auto 6px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.site-nav.active .toggle span:not(.sr-only),
.site-nav.menu-open .toggle span:not(.sr-only) {
  background: var(--color-black);
}

.toggle.active .first {
  transform: translateY(8px) rotate(-45deg);
}

.toggle.active .middle {
  opacity: 0;
}

.toggle.active .last {
  transform: translateY(-8px) rotate(45deg);
}

.navigation-bar ul {
  display: flex;
  gap: clamp(1rem, 3vw, 2.3rem);
  align-items: center;
}

.navigation-bar a {
  position: relative;
  display: inline-flex;
  padding-block: 0.5rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav.active .navigation-bar a,
.site-nav.menu-open .navigation-bar a {
  color: var(--color-black);
}

.navigation-bar .underline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 50%;
  height: 2px;
  width: 0;
  background: var(--color-accent);
  transition: left 0.2s ease, width 0.2s ease;
}

.navigation-bar a:hover .underline,
.navigation-bar li.active .underline {
  left: 0;
  width: 100%;
}

.hero-text {
  align-self: center;
  justify-self: center;
  max-width: 860px;
  text-align: center;
  transition: opacity 0.2s ease;
}

.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-block: 1rem;
  color: #fff;
}

.ornament span {
  width: min(22vw, 110px);
  height: 3px;
  background: #fff;
}

.ornament b {
  color: var(--color-accent);
}

.hero-kicker {
  margin-bottom: 1.25rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.arrow-down {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
}

.arrow-down::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 16px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3.2rem, 7vw, 5rem) clamp(1.25rem, 6vw, 4rem);
  background: var(--color-paper);
}

.section-text,
.page-intro,
.contact-text {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.section-text p,
.page-intro p,
.contact-text p {
  max-width: 620px;
}

.small-ornament {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.image-pair img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-pair img {
  aspect-ratio: 3 / 4;
}

.band-section {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.band-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.recipes .band-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)), url("https://images.unsplash.com/photo-1529692236671-f1f6cf9683ba?auto=format&fit=crop&w=1800&q=80");
}

.fixed-image .band-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1800&q=80");
}

.band-text {
  position: relative;
  z-index: 1;
  text-align: center;
}

.band-text h2 {
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.gallery-item img {
  aspect-ratio: 1 / 0.82;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.info-board {
  display: grid;
  gap: 1rem;
}

.info-board article,
.menu-card,
.drink-card,
.featured-card,
.contact-form,
.hours-list,
.map-section iframe {
  border: 1px solid var(--color-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(50, 30, 20, 0.08);
}

.info-board article {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem;
}

.info-board span,
.featured-card span,
.menu-category,
.drink-category {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-board,
.map-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem);
}

.menu-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 1220px;
  margin: 2rem auto 0;
}

.menu-main {
  min-width: 0;
}

.filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 1px solid var(--color-line);
  padding: 0.62rem 0.9rem;
  color: var(--color-text);
  background: #fff;
  font-weight: 700;
}

.filter-button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--color-brand);
  background: var(--color-brand);
}

.menu-list,
.drink-list {
  display: grid;
  gap: 0.85rem;
}

.menu-card,
.drink-card {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
}

.menu-card-head,
.drink-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
}

.menu-card h3,
.drink-card h3 {
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.2;
}

.menu-price,
.drink-price {
  color: var(--color-brand-dark);
  font-family: var(--font-display);
  font-weight: 900;
  white-space: nowrap;
}

.featured-card {
  overflow: hidden;
  align-self: start;
}

.featured-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.featured-card div {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
}

.featured-card h2 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}

.empty-state {
  padding: 1rem;
  color: var(--color-text);
  background: var(--color-cream);
}

.drink-list {
  max-width: 1060px;
  margin: 1.4rem auto 0;
}

.contact-section {
  align-items: start;
}

.hours-list {
  display: grid;
  gap: 0;
  width: min(100%, 560px);
  padding: 0.8rem;
}

.hours-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border-bottom: 1px solid var(--color-line);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list span {
  color: var(--color-muted);
}

.contact-links {
  display: grid;
  gap: 0.55rem;
}

.contact-links a,
.footer-contact a {
  color: var(--color-brand-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.contact-form {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1rem, 4vw, 1.6rem);
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--color-line);
  border-radius: 2px;
  padding: 0.8rem;
  color: var(--color-ink);
  background: #fffaf2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 138, 45, 0.18);
}

.contact-form textarea {
  resize: vertical;
}

.field-error {
  min-height: 1.1rem;
  color: var(--color-brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-status {
  min-height: 1.2rem;
}

.contact-form button {
  padding: 0.85rem 1.2rem;
  color: #fff;
  background: var(--color-black);
}

.map-section {
  background: var(--color-cream);
}

.map-section iframe {
  display: block;
  width: min(100%, 1100px);
  min-height: 430px;
  margin: 2rem auto 0;
  border: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 82svh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 0;
  color: #fff;
  background: transparent;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 2.4rem;
}

.lightbox-arrow {
  top: 50%;
  width: 42px;
  height: 42px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.lightbox-prev {
  left: 1rem;
  transform: rotate(-135deg);
}

.lightbox-next {
  right: 1rem;
  transform: rotate(45deg);
}

.site-footer {
  padding: clamp(3rem, 7vw, 4.5rem) 1.25rem;
  color: #fff;
  text-align: center;
  background: #121212;
}

.footer-about {
  max-width: 620px;
  margin: 0 auto 2rem;
}

.footer-about h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
}

.footer-about p {
  color: #d9d0c7;
}

.footer-contact {
  display: grid;
  gap: 1.5rem;
  max-width: 760px;
  margin: auto;
}

.footer-contact div {
  display: grid;
  gap: 0.5rem;
}

.footer-contact h3 {
  color: #fff;
}

.compact-footer {
  padding-block: 3rem;
}

.copyright {
  position: relative;
  padding: 2rem 1rem;
  color: #b9b2aa;
  text-align: center;
  background: #262526;
}

.arrow-up {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 42px;
  height: 36px;
  border: 0;
  color: #fff;
  background: var(--color-brand);
  transform: translateX(-50%);
}

.copyright .info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
}

@media (min-width: 44rem) {
  .menu-list,
  .drink-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .split-section,
  .contact-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    align-items: center;
  }

  .menu-preview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }

  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .filter-bar {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .featured-card {
    position: sticky;
    top: 7rem;
  }
}

@media (min-width: 78rem) {
  .menu-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 61.98rem) {
  body {
    padding: 0;
  }

  .site-nav {
    top: 0;
    left: 0;
    right: 0;
  }

  .dots {
    display: none;
  }

  .toggle {
    display: block;
  }

  .navigation-bar {
    position: fixed;
    top: 0;
    left: -82%;
    width: min(82%, 330px);
    height: 100svh;
    padding: 5rem 1.3rem 2rem;
    background: #262526;
    transition: left 0.25s ease;
  }

  .navigation-bar.show {
    left: 0;
  }

  .navigation-bar ul {
    display: grid;
    gap: 0.4rem;
  }

  .navigation-bar a,
  .site-nav.active .navigation-bar a,
  .site-nav.menu-open .navigation-bar a {
    min-height: 44px;
    color: #fff;
  }

  .site-hero {
    min-height: 92svh;
  }

  .page-hero {
    min-height: 48svh;
  }

  .band-image {
    background-attachment: scroll;
  }
}

@media (max-width: 35rem) {
  .script-title {
    font-size: 4.4rem;
  }

  h1 {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
  }

  h2 {
    font-size: 1.85rem;
    letter-spacing: 0.08em;
  }

  .image-pair,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .band-image {
    background-attachment: scroll;
  }
}
