:root {
  --lacquer: #8A1F1B;
  --lacquer-deep: #6B1714;
  --ink: #221512;
  --gold: #B8912F;
  --gold-soft: #D9BE7A;
  --wood: #5B3A29;
  --paper: #F2E8D3;
  --paper-warm: #EADFC4;
  --paper-line: rgba(34, 21, 18, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(
      rgba(242, 232, 211, 0.94),
      rgba(242, 232, 211, 0.94)
    ),
    url("../images/drachen-bg.gif");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--ink);
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: "Frank Ruhl Libre", serif;
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 96px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(242, 232, 211, 0.94);
  backdrop-filter: blur(8px);

  border-bottom: 1px solid var(--paper-line);
}

.nav-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 14px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brandmark {
  display: block;
  max-width: 150px;
  text-decoration: none;
}

.brandmark img {
  width: 100%;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink);

  padding-bottom: 3px;
  border-bottom: 1px solid transparent;

  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

nav a:hover {
  border-color: var(--gold);
  color: var(--lacquer);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;

  font-size: 1.5rem;
  color: var(--ink);

  cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 88vh;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      180deg,
      rgba(34, 21, 18, 0.76),
      rgba(107, 23, 20, 0.9)
    ),
    url("../images/drachen-bg.gif");

  background-size: cover;
  background-position: center;

  color: var(--paper);

  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    repeating-linear-gradient(
      115deg,
      transparent 0 64px,
      rgba(217, 190, 122, 0.05) 64px 65px
    );

  pointer-events: none;
}

.hero-lattice {
  position: absolute;
  right: -60px;
  top: -40px;

  width: 420px;
  height: 420px;

  opacity: 0.14;
}

.hero-inner {
  position: relative;

  width: 100%;
  max-width: 1080px;

  margin: 0 auto;
  padding: 0 28px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  color: var(--gold-soft);

  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);

  color: var(--paper);

  line-height: 1.08;
  max-width: 640px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero p.claim {
  margin-top: 26px;

  max-width: 460px;

  font-size: 1.08rem;

  color: rgba(242, 232, 211, 0.82);
}

.hero-actions {
  margin-top: 40px;

  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;

  padding: 14px 30px;

  font-size: 0.95rem;
  text-decoration: none;

  border: 1px solid var(--gold-soft);

  color: var(--paper);

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  background: rgba(217, 190, 122, 0.12);
}


/* =========================================================
   ÜBER UNS
   ========================================================= */

.about {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 64px;

  align-items: center;
}

.about .kicker,
.gallery .kicker {
  font-family: "Frank Ruhl Libre", serif;

  font-size: 1.1rem;

  color: var(--lacquer);

  margin-bottom: 18px;
}

.about h2,
.gallery h2 {
  font-size: 2rem;
  margin-bottom: 22px;
}

.about p {
  max-width: 56ch;
  color: #3a2a24;
}

.about-figure {
  border: 1px solid var(--paper-line);

  background: var(--paper-warm);

  aspect-ratio: 4 / 5;

  overflow: hidden;
}

.about-figure img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* =========================================================
   SPEISEKARTE
   ========================================================= */

/* Hauptbereich */
.specialties {
  max-width: 1050px;

  margin: 0 auto;

  padding: 45px 28px;
}

/* Schmale Box für die Gerichte */
.dish-list,
.specialties-extra {
  max-width: 900px;

  margin: 0 auto;
}


/* ---------------------------------------------------------
   Einzelnes Gericht
   --------------------------------------------------------- */

.dish-row {
  display: grid;

  grid-template-columns:
    55px
    minmax(0, 1fr)
    auto;

  align-items: center;

  column-gap: 18px;

  padding: 12px 16px;
  margin-bottom: 6px;

  background: rgba(242, 232, 211, 0.82);

  border: 1px solid rgba(138, 31, 27, 0.18);

  border-radius: 4px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


/* Hover */
.dish-row:hover {
  background: rgba(234, 223, 196, 0.95);

  border-color: rgba(138, 31, 27, 0.32);
}


/* Gerichtenummer */
.dish-row .dish-code {
  color: var(--lacquer);

  font-weight: 700;

  white-space: nowrap;
}


/* Beschreibung */
.dish-row .dish-info {
  min-width: 0;
}

.dish-row .dish-name {
  display: block;

  line-height: 1.45;

  font-size: 0.95rem;

  color: var(--ink);
}


/* Preis */
.dish-row .dish-price {
  justify-self: end;

  white-space: nowrap;

  font-weight: 700;

  color: var(--lacquer);

  text-align: right;
}


/* ---------------------------------------------------------
   Ausklappbarer Bereich
   --------------------------------------------------------- */

.specialties-extra {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.65s ease,
    opacity 0.4s ease;
}

.specialties-extra.open {
  max-height: 3000px;

  opacity: 1;
}


/* ---------------------------------------------------------
   Mehr anzeigen Button
   --------------------------------------------------------- */

.show-more-btn {
  margin: 28px auto 0;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 12px 24px;

  background: var(--lacquer);

  color: var(--paper);

  border: 1px solid var(--lacquer);

  border-radius: 999px;

  cursor: pointer;

  font: inherit;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.show-more-btn:hover {
  background: var(--lacquer-deep);

  border-color: var(--lacquer-deep);

  transform: translateY(-2px);
}


/* Pfeil */
.show-more-icon {
  font-size: 1.25rem;

  transition:
    transform 0.3s ease;
}

.show-more-btn[aria-expanded="true"] .show-more-icon {
  transform: rotate(180deg);
}


/* =========================================================
   KOMPLETTE SPEISEKARTE BUTTON
   ========================================================= */

.menu-page-action {
  display: flex;

  justify-content: center;

  margin-top: 22px;
}

.menu-page-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 13px 26px;

  background: var(--lacquer);

  color: var(--paper);

  border: 1px solid var(--lacquer);

  border-radius: 4px;

  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 500;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.menu-page-btn:hover {
  background: var(--lacquer-deep);

  border-color: var(--lacquer-deep);

  transform: translateY(-2px);

  box-shadow:
    0 6px 18px rgba(107, 23, 20, 0.18);
}

.menu-page-arrow {
  font-size: 1.15rem;

  transition:
    transform 0.25s ease;
}

.menu-page-btn:hover .menu-page-arrow {
  transform: translateX(4px);
}


/* =========================================================
   GALERIE
   ========================================================= */

.gallery h2 {
  margin-bottom: 8px;
}

.gallery-grid {
  margin-top: 44px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 2px;

  background: var(--wood);

  border: 2px solid var(--wood);
}

.lattice-cell {
  background: var(--paper-warm);

  aspect-ratio: 1;

  overflow: hidden;
}

.lattice-cell img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.35s ease;
}

.lattice-cell:hover img {
  transform: scale(1.04);
}


/* =========================================================
   KONTAKT UND ÖFFNUNGSZEITEN
   ========================================================= */

.contact {
  background: var(--ink);

  color: var(--paper);
}

.contact-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: 64px;

  align-items: start;
}

.contact h2 {
  color: var(--paper);

  font-size: 2rem;

  margin-bottom: 30px;
}

.contact .kicker {
  color: var(--gold-soft);

  font-family: "Frank Ruhl Libre", serif;

  font-size: 1.1rem;

  margin-bottom: 14px;
}

.contact-list {
  list-style: none;

  padding: 0;
  margin: 0;
}

.contact-list li {
  display: grid;

  grid-template-columns:
    minmax(105px, 0.35fr)
    minmax(0, 1fr);

  gap: 24px;

  padding: 18px 0;

  border-bottom:
    1px solid rgba(242, 232, 211, 0.12);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list .label {
  color: var(--gold-soft);

  font-size: 0.85rem;

  padding-top: 2px;
}

.contact-list .value {
  color: rgba(242, 232, 211, 0.9);

  font-size: 0.98rem;

  overflow-wrap: anywhere;
}

.contact-list .value a {
  text-decoration: none;
}

.contact-list .value small {
  display: block;

  color: rgba(242, 232, 211, 0.55);

  font-size: 0.82rem;

  margin-top: 4px;
}


/* ---------------------------------------------------------
   Karte
   --------------------------------------------------------- */

.map-frame {
  border: 1px solid rgba(242, 232, 211, 0.18);

  width: 100%;

  aspect-ratio: 4 / 3.4;

  min-width: 0;
}

.map-frame iframe {
  width: 100%;
  height: 100%;

  border: 0;

  filter:
    sepia(12%)
    saturate(85%);
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--lacquer-deep);

  color: rgba(242, 232, 211, 0.8);

  padding: 44px 0 32px;
}

.footer-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  flex-wrap: wrap;

  gap: 18px;
}

.footer-brand {
  font-family: "Ma Shan Zheng", cursive;

  font-size: 1.3rem;

  color: var(--gold-soft);
}

.footer-links {
  list-style: none;

  display: flex;

  gap: 22px;

  padding: 0;
  margin: 0;

  font-size: 0.85rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-bottom {
  margin-top: 26px;

  padding-top: 22px;

  border-top:
    1px solid rgba(242, 232, 211, 0.12);

  font-size: 0.78rem;

  color: rgba(242, 232, 211, 0.5);

  display: flex;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 860px) {

  section {
    padding: 64px 0;
  }

  .wrap {
    padding: 0 22px;
  }

  .nav-inner {
    padding: 12px 22px;
  }


  /* -------------------------------------------------------
     Navigation
     ------------------------------------------------------- */

  .nav-toggle {
    display: block;
  }

  nav ul {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    background: var(--paper);

    flex-direction: column;

    gap: 0;

    border-bottom:
      1px solid var(--paper-line);

    display: none;
  }

  nav ul.open {
    display: flex;
  }

  nav li {
    border-top:
      1px solid var(--paper-line);
  }

  nav a {
    display: block;

    padding: 16px 22px;
  }


  /* -------------------------------------------------------
     Über uns
     ------------------------------------------------------- */

  .about {
    grid-template-columns: 1fr;

    gap: 32px;
  }

  .about-figure {
    order: -1;

    aspect-ratio: 16 / 9;
  }


  /* -------------------------------------------------------
     Überschriften
     ------------------------------------------------------- */

  .about h2,
  .contact h2,
  .gallery h2 {
    font-size: 1.8rem;
  }


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

  .contact-inner {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .contact-list li {
    grid-template-columns:
      minmax(90px, 0.4fr)
      minmax(0, 1fr);

    gap: 18px;
  }

  .map-frame {
    aspect-ratio: 16 / 11;
  }


  /* -------------------------------------------------------
     Galerie
     ------------------------------------------------------- */

  .gallery-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


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

  .hero {
    min-height: 78vh;
  }

  .hero-inner {
    padding: 0 22px;
  }

  .hero h1 {
    font-size:
      clamp(2.25rem, 9vw, 3.4rem);
  }

  .hero p.claim {
    font-size: 1rem;
  }


  /* -------------------------------------------------------
     Speisekarte Tablet / Mobile
     ------------------------------------------------------- */

  .dish-row {
    grid-template-columns:
      45px
      minmax(0, 1fr)
      auto;

    column-gap: 12px;
  }

  .menu-page-action {
    margin-top: 20px;
  }
}


/* =========================================================
   KLEINE HANDYS
   ========================================================= */

@media (max-width: 520px) {

  section {
    padding: 52px 0;
  }

  .wrap {
    padding: 0 18px;
  }

  .nav-inner {
    padding: 10px 18px;
  }

  .brandmark {
    max-width: 125px;
  }

  .brandmark img {
    max-height: 50px;
  }


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

  .hero-inner {
    padding: 0 18px;
  }

  .hero-eyebrow {
    font-size: 0.78rem;

    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p.claim {
    font-size: 0.95rem;

    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .btn {
    width: 100%;

    text-align: center;

    padding: 13px 18px;
  }


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

  .specialties {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dish-row {
    grid-template-columns:
      38px
      minmax(0, 1fr)
      auto;

    column-gap: 8px;

    padding: 11px 10px;

    margin-bottom: 5px;
  }

  .dish-row .dish-code {
    font-size: 0.8rem;
  }

  .dish-row .dish-name {
    font-size: 0.88rem;

    line-height: 1.45;
  }

  .dish-row .dish-price {
    font-size: 0.88rem;
  }

  .menu-page-btn {
    width: 100%;

    padding: 13px 20px;
  }


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

  .contact-list li {
    grid-template-columns: 1fr;

    gap: 5px;

    padding: 16px 0;
  }

  .contact-list .label {
    font-size: 0.82rem;
  }

  .contact-list .value {
    font-size: 0.95rem;
  }


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

  .footer-inner,
  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;

    gap: 14px;
  }


  /* -------------------------------------------------------
     Karte
     ------------------------------------------------------- */

  .map-frame {
    aspect-ratio: 4 / 3;
  }
}


/* =========================================================
   REDUZIERTE ANIMATIONEN
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}