/* ============================================================
   Alte Dorfschule Ruit – Restaurant & Weinstube
   Statische Website (ohne WordPress)
   ============================================================ */

:root {
  --rot: #900603;
  --rot-dunkel: #6f0402;
  --creme: #fdfaf6;
  --text: #2b2422;
  --text-hell: #6b615d;
  --weiss: #ffffff;
  --schatten: 0 8px 30px rgba(0, 0, 0, .12);
  --radius: 16px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rot); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--rot);
  color: #fff;
  padding: 13px 34px;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: background .2s ease, transform .2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--rot-dunkel); text-decoration: none; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 16px;
}
.btn--ghost:hover { background: #fff; color: var(--rot); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 246, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: 60px; width: auto; display: block; }
.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(144, 6, 3, .08); text-decoration: none; }
.nav-links a.active { color: var(--rot); }
.nav-links .btn { color: #fff; padding: 10px 22px; }
.nav-links .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center right;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero p { font-size: 1.15rem; max-width: 560px; margin-bottom: 30px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

.page-hero {
  min-height: 52vh;
  background-position: center;
}
.page-hero h1 { text-align: center; width: 100%; }
.page-hero::after { background: rgba(0,0,0,.4); }

/* ============================================================
   Willkommen / Intro
   ============================================================ */
.intro { text-align: center; }
.intro .eyebrow {
  color: var(--rot);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: "Roboto", sans-serif;
}
.intro h2 { font-size: 2rem; margin-bottom: 22px; }
.intro p { max-width: 760px; margin: 0 auto; color: var(--text-hell); font-size: 1.08rem; }

.gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
  align-items: start;
}
.gallery-2 img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
/* versetzte (gestaffelte) Anordnung für einen stylischeren Look */
.gallery-2 img:first-child { margin-top: 60px; }
.gallery-2 img:last-child { margin-bottom: 60px; }

/* ---------- Band mit Bild + CTA ---------- */
.band {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 130px 0;
}
.band::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.35); }
.band .container { position: relative; z-index: 2; text-align: center; }
.band h2 { color:#fff; font-size: 2rem; margin-bottom: 26px; text-shadow: 0 2px 16px rgba(0,0,0,.5); }

/* ---------- Reservierungs-CTA ---------- */
.cta { text-align: center; }
.cta h2 { color: var(--rot); font-size: 2rem; margin-bottom: 24px; }
.cta p { max-width: 640px; margin: 0 auto 26px; color: var(--text-hell); }

/* ============================================================
   Menü / Speisekarte
   ============================================================ */
.menu-section { max-width: 860px; margin: 0 auto; }
.menu-cat { text-align: center; margin: 60px 0 30px; }
.menu-cat h2 {
  display: inline-block;
  font-size: 1.7rem;
  color: var(--rot);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rot);
}
.menu-cat:first-child { margin-top: 0; }

.dish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
}
.dish { padding-bottom: 20px; border-bottom: 1px dotted #cbb9b3; }
.dish h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.dish .preis { color: var(--rot); font-family: "Roboto", sans-serif; font-weight: 600; white-space: nowrap; }
.dish p { color: var(--text-hell); font-size: .98rem; }

/* ============================================================
   Über uns
   ============================================================ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 40px;
}
.about-block .fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-block.single .fotos { grid-template-columns: 1fr; }
.about-block img { border-radius: var(--radius); box-shadow: var(--schatten); height: 100%; width: 100%; object-fit: cover; max-height: 520px; }
.about-block h2 { font-size: 1.9rem; color: var(--rot); margin-bottom: 18px; }
.about-block p { color: var(--text-hell); }
.about-block.reverse .fotos { order: 2; }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 2rem; color: var(--rot); }

/* ============================================================
   Legal / Impressum
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: 2.2rem; margin-bottom: 30px; color: var(--rot); }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--rot); }
.legal h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal hr { border: none; border-top: 1px solid #ddd; margin: 40px 0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  position: relative;
  color: #fff;
  background-size: cover;
  background-position: bottom center;
  padding: 90px 0 30px;
}
.site-footer::after { content:""; position:absolute; inset:0; background: rgba(20,8,6,.8); }
.site-footer .container { position: relative; z-index: 2; }
.footer-top { text-align: center; margin-bottom: 50px; }
.footer-top h2 { color: #fff; font-size: 1.7rem; margin-bottom: 22px; }

.socials { display: flex; justify-content: center; gap: 18px; margin-top: 6px; }
.socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--rot); border-color: var(--rot); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 40px 0;
}
.footer-grid h3 { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.footer-grid p { color: rgba(255,255,255,.85); font-size: .98rem; }
.footer-grid a { color: #fff; }

.footer-cta { text-align: center; margin: 40px 0 20px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  padding-top: 16px;
}
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .section { padding: 60px 0; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--creme);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: var(--schatten);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .btn { width: 100%; text-align: center; }
  .gallery-2 { grid-template-columns: 1fr; }
  .gallery-2 img { height: 340px; }
  .gallery-2 img:first-child, .gallery-2 img:last-child { margin-top: 0; margin-bottom: 0; }
  .dish-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-block { grid-template-columns: 1fr; gap: 26px; }
  .about-block.reverse .fotos { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero::after { background: rgba(0,0,0,.5); }
}
