/* Restaurant Split – Stylesheet
   Nachbau des früheren WordPress-Designs (Theme "Finedine") als statische Seite. */

/* ---------- Schriften (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/great-vibes.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("../fonts/roboto-slab.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Maße ---------- */
:root {
  --dark: #171c12;          /* Seitenleiste */
  --accent: #9e926e;        /* Gold/Oliv aus dem Original */
  --accent-dark: #7a6f4f;   /* dunklere Variante für Text & Buttons (besser lesbar) */
  --accent-soft: rgba(158, 146, 110, 0.18);
  --text: #5f5f5f;
  --heading: #171c12;
  --bg: #ffffff;
  --sidebar-width: 260px;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --slab: "Roboto Slab", Georgia, serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

a { color: var(--accent-dark); }
a:hover, a:focus-visible { color: var(--dark); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--dark);
  color: #fff;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* ---------- Seitenleiste / Kopf ---------- */
.site-header {
  background:
    linear-gradient(rgba(23, 28, 18, 0.92), rgba(23, 28, 18, 0.92)),
    var(--dark) url("../img/header-960.jpg") center / cover no-repeat;
  color: #fff;
  z-index: 50;
}

.logo {
  display: inline-block;
  color: #fff;
  font-family: var(--sans);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.15;
  text-decoration: none;
}
.logo:hover, .logo:focus-visible { color: #fff; }

.tagline {
  margin: 0.9rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

.main-nav a {
  display: block;
  padding: 0.55rem 0;
  color: #fff;
  font-family: var(--slab);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle { display: none; }

/* Desktop: feste Seitenleiste links wie im Original */
@media (min-width: 960px) {
  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  .brand {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .logo::after {
    content: "";
    display: block;
    width: 64px;
    height: 1px;
    margin: 0.4rem auto 0;
    background: rgba(255, 255, 255, 0.6);
  }
  .main-nav a { padding-left: 1rem; }
  .site-main { margin-left: var(--sidebar-width); }
}

/* Mobil & Tablet: Kopfleiste mit Menü-Button */
@media (max-width: 959.98px) {
  .site-header {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  .logo { font-size: 1.6rem; }
  .tagline { margin-top: 0.15rem; font-size: 0.6rem; letter-spacing: 0.25em; }

  .js .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle-bar {
    display: block;
    height: 2px;
    background: #fff;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav { flex-basis: 100%; }
  .js .main-nav { display: none; }
  .js.nav-open .main-nav { display: block; }
  .main-nav ul {
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .main-nav a { padding: 0.8rem 0.25rem; }
}

/* ---------- Infoleiste ---------- */
.info-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.75rem;
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
}
.info-bar a { color: var(--accent-dark); font-weight: 700; text-decoration: none; }
.info-bar a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .info-bar { justify-content: center; padding: 0.6rem 1rem; text-align: center; }
  .info-bar .info-welcome { display: none; }
}

/* ---------- Titelbild ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35)),
    #3a2a20 url("../img/header.jpg") center 40% / cover no-repeat;
  text-align: center;
}
.hero h1 {
  margin: 0;
  max-width: 14ch;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.12;
  text-shadow: 0 0 10px #000;
}
@media (max-width: 600px) {
  .hero {
    min-height: 220px;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.35)),
      url("../img/header-960.jpg");
  }
}

/* ---------- Inhalt ---------- */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
}
.content--wide { max-width: 1120px; }
.content--text { text-align: left; }

.content h2 {
  margin: 3.5rem 0 1rem;
  color: var(--heading);
  font-family: var(--script);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
}
.content > h2:first-child { margin-top: 0; }

.content p { margin: 0 0 1.2rem; }

.signature {
  margin-top: 2rem !important;
  font-family: var(--script);
  font-size: 2rem;
  color: var(--heading);
}

/* Gestrichelter Hinweiskasten (Aktionen, z. B. Gänse-Saison) */
.notice {
  margin: 0 auto 3.5rem;
  padding: 1.75rem 1.5rem 1rem;
  border: 2px dashed var(--accent);
  font-family: var(--slab);
}
.notice h2 { margin: 0 0 0.75rem; }

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--slab);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s;
}
.button:hover, .button:focus-visible { background: var(--dark); color: #fff; }

/* Info-Kacheln (Über uns) */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1rem;
}
@media (min-width: 640px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}
.info-tile {
  padding: 1.25rem 1.25rem 0.5rem;
  background: var(--accent-soft);
  border-top: 3px solid var(--accent);
}
.info-tile h3 {
  margin: 0 0 0.5rem;
  color: var(--heading);
  font-family: var(--slab);
  font-size: 1.05rem;
}
.info-tile p { margin-bottom: 0.75rem; }
.info-tile a[href^="tel:"] { white-space: nowrap; }

/* ---------- Speisekarte ---------- */
.menu-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}
.menu-jump a {
  display: block;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  text-decoration: none;
}
.menu-jump a:hover, .menu-jump a:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* Handy: Kategorien als wischbare Leiste statt vieler Zeilen */
@media (max-width: 600px) {
  .menu-jump {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 -1.5rem 2.5rem;
    padding: 0 1.5rem 0.5rem;
    scrollbar-width: thin;
  }
  .menu-jump a { white-space: nowrap; }
  .dish { grid-template-columns: 1.9rem 1fr auto; gap: 0 0.75rem; }
}

.menu-cat { scroll-margin-top: 90px; }
.menu-cat h2 { margin: 3.5rem 0 0.75rem; }
.menu-cat:first-of-type h2 { margin-top: 0; }
.content .menu-cat-note { margin: -0.5rem 0 0.75rem; font-size: 0.9rem; }

.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 3.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
@media (min-width: 1200px) {
  .menu-list { grid-template-columns: 1fr 1fr; }
}

.dish {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  gap: 0 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted rgba(158, 146, 110, 0.6);
}
.dish-nr { color: var(--accent-dark); font-family: var(--slab); font-size: 0.9rem; padding-top: 0.1rem; }
.dish-name { display: block; color: var(--heading); font-family: var(--slab); font-weight: 700; line-height: 1.4; }
.dish-desc { display: block; margin-top: 0.15rem; font-size: 0.95rem; line-height: 1.55; }
.dish-price { color: var(--heading); font-family: var(--slab); font-weight: 700; white-space: nowrap; }

sup.al {
  margin-left: 0.2em;
  color: var(--accent-dark);
  font-family: var(--sans);
  font-size: 0.65em;
  font-weight: 700;
  white-space: nowrap;
  cursor: help;
}

.menu-notes {
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  background: var(--accent-soft);
  text-align: left;
  font-size: 0.95rem;
}
.menu-notes h2 { text-align: center; margin-top: 0; }
.menu-notes p { margin-bottom: 0.6rem; }
.menu-notes h3 {
  margin: 1.75rem 0 0.5rem;
  color: var(--heading);
  font-family: var(--slab);
  font-size: 1rem;
}

.legend {
  columns: 15rem;
  column-gap: 2rem;
  margin: 0;
  font-size: 0.9rem;
}
.legend div { break-inside: avoid; padding: 0.1rem 0; }
.legend dt { display: inline; color: var(--heading); font-weight: 700; }
.legend dd { display: inline; margin: 0 0 0 0.35rem; }

/* ---------- Impressum ---------- */
.content--text h2 {
  margin: 3rem 0 1rem;
  font-family: var(--slab);
  font-size: 1.5rem;
  font-weight: 700;
}
.content--text h3 {
  margin: 2rem 0 0.5rem;
  color: var(--heading);
  font-family: var(--slab);
  font-size: 1.1rem;
}
.address { font-style: normal; }

/* ---------- Fußzeile ---------- */
.site-footer {
  padding: 3rem 2rem 2rem;
  background: #f6f4ef;
  border-top: 3px solid var(--accent);
  font-size: 0.95rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.footer-cols h2 {
  margin: 0 0 0.35rem;
  color: var(--heading);
  font-family: var(--slab);
  font-size: 1rem;
}
.footer-cols p { margin: 0; }
.footer-meta {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e3dfd3;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Druck (z. B. Speisekarte ausdrucken) ---------- */
@media print {
  .site-header, .info-bar, .menu-jump, .site-footer, .button, .skip-link { display: none !important; }
  .site-main { margin: 0 !important; }
  .hero { min-height: 0; padding: 0 0 1rem; background: none; }
  .hero h1 { color: #000; text-shadow: none; max-width: none; }
  .content { padding: 0; max-width: none; }
  .menu-list { grid-template-columns: 1fr 1fr; }
  .dish { break-inside: avoid; }
  body { font-size: 11pt; color: #000; }
}
