/* ==========================================================================
   KnowYourMeal — Restaurant-Showcase-Stylesheet (Feature 1 & 2)
   Eigene "Mini-Website" pro Restaurant. Lädt NACH style.css und nutzt deren
   Design-Tokens (--bg/--primary/--secondary/--accent/--card/--border2/--text/
   --muted/--font). Hier KEINE Tokens neu definieren — nur Showcase-Layout.
   ========================================================================== */

.rs-body {
  margin: 0;
  background: var(--bg, #F3F6F0);
  color: var(--text, #19271D);
  font-family: var(--font, -apple-system, sans-serif);
  -webkit-font-smoothing: antialiased;
}

/* ── Top-Bar (eigene Marke, KYM nur als kleines "powered by") ───────────── */
.rs-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: var(--card, #fff);
  border-bottom: 1px solid var(--border2, #E9EEE6);
  position: sticky; top: 0; z-index: 20;
}
.rs-topbar-name { font-weight: 800; font-size: 1.05rem; color: var(--primary, #0F2A1D); letter-spacing: .01em; text-decoration: none; }
.rs-topbar-links { display: flex; gap: 18px; align-items: center; }
.rs-topbar-links a { color: var(--secondary, #375534); text-decoration: none; font-weight: 600; font-size: .92rem; }
.rs-topbar-links a:hover { color: var(--primary, #0F2A1D); }
.rs-powered { font-size: .72rem; color: var(--muted, #7A877E); text-decoration: none; }
.rs-powered b { color: var(--primary, #0F2A1D); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.rs-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  background: var(--primary, #0F2A1D); overflow: hidden;
}
.rs-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.rs-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,42,29,.15) 0%, rgba(15,42,29,.78) 100%); }
.rs-hero-inner { position: relative; z-index: 2; padding: 48px 26px 40px; max-width: 920px; margin: 0 auto; width: 100%; }
.rs-hero-eyebrow { color: rgba(255,255,255,.78); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.rs-hero-title { color: #fff; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1.05; margin: 0 0 14px; }
.rs-hero-meta { color: rgba(255,255,255,.9); font-size: 1rem; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.rs-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Primäre CTAs ─────────────────────────────────────────────────────── */
.rs-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.rs-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px;
  border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .12s ease, box-shadow .12s ease;
}
.rs-btn:hover { transform: translateY(-1px); }
.rs-btn-primary { background: #fff; color: var(--primary, #0F2A1D); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.rs-btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }

/* ── Content-Container ────────────────────────────────────────────────── */
.rs-wrap { max-width: 920px; margin: 0 auto; padding: 48px 26px 64px; }
.rs-section { margin-bottom: 52px; }
.rs-section-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent, #3E8E5A); margin-bottom: 14px; }
.rs-section h2 { font-size: 1.7rem; color: var(--primary, #0F2A1D); margin: 0 0 16px; line-height: 1.15; }
.rs-about-text { font-size: 1.08rem; line-height: 1.7; color: var(--text, #19271D); white-space: pre-line; }

/* ── Galerie + Lightbox ───────────────────────────────────────────────── */
.rs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.rs-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px;
  border: 1px solid var(--border2, #E9EEE6); cursor: zoom-in; transition: transform .15s ease, box-shadow .15s ease;
}
.rs-gallery img:hover { transform: scale(1.015); box-shadow: 0 10px 30px rgba(15,42,29,.16); }

.rs-lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; background: rgba(10,18,12,.92); cursor: zoom-out;
}
.rs-lightbox.open { display: flex; }
.rs-lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.rs-lightbox-close { position: absolute; top: 18px; right: 24px; color: #fff; font-size: 2rem; background: none; border: 0; cursor: pointer; line-height: 1; }
.rs-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); color: #fff;
  border: 0; font-size: 1.8rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rs-lightbox-nav.prev { left: 18px; } .rs-lightbox-nav.next { right: 18px; }

/* ── Info-Karten (Kontakt / Öffnungszeiten) ───────────────────────────── */
.rs-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rs-info-card { background: var(--card, #fff); border: 1px solid var(--border2, #E9EEE6); border-radius: 16px; padding: 22px; }
.rs-info-card-title { font-weight: 800; color: var(--primary, #0F2A1D); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.rs-info-card-body { color: var(--secondary, #375534); line-height: 1.6; font-size: .98rem; white-space: pre-line; }
.rs-info-card-body a { color: var(--accent, #3E8E5A); text-decoration: none; font-weight: 600; }

/* ── Blog-Index pro Restaurant ────────────────────────────────────────── */
.rs-blog-list { display: grid; gap: 16px; }
.rs-blog-card { display: block; background: var(--card, #fff); border: 1px solid var(--border2, #E9EEE6);
  border-radius: 16px; padding: 22px 24px; text-decoration: none; transition: box-shadow .15s ease, transform .12s ease; }
.rs-blog-card:hover { box-shadow: 0 10px 30px rgba(15,42,29,.10); transform: translateY(-2px); }
.rs-blog-card-meta { font-size: .82rem; color: var(--muted, #7A877E); margin-bottom: 6px; }
.rs-blog-card-title { font-size: 1.25rem; font-weight: 800; color: var(--primary, #0F2A1D); margin-bottom: 6px; }
.rs-blog-card-excerpt { color: var(--secondary, #375534); line-height: 1.6; font-size: .98rem; }
.rs-blog-card-more { color: var(--accent, #3E8E5A); font-weight: 700; margin-top: 10px; display: inline-block; }
.rs-blog-empty { background: var(--card, #fff); border: 1px dashed var(--border2, #E9EEE6); border-radius: 16px; padding: 40px 24px; text-align: center; color: var(--muted, #7A877E); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.rs-footer { background: var(--primary, #0F2A1D); color: rgba(255,255,255,.82); padding: 36px 26px; text-align: center; }
.rs-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.rs-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 14px; }
.rs-footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 560px; margin: 0 auto 10px; line-height: 1.5; }
.rs-footer-copy { font-size: .72rem; color: rgba(255,255,255,.4); }

@media (max-width: 560px) {
  .rs-topbar-links a:not(.rs-powered) { display: none; }
  .rs-hero-inner { padding: 36px 20px 32px; }
  .rs-wrap { padding: 36px 20px 48px; }
}
