/* ==========================================================================
   Gastro CMS — Theme "modern" · lavita reborn (2026)
   DNA des Originals (2015): Vollbild-Foto, transluzente helle Karten,
   Himbeer-Akzent (#c93766), dünne Josefin-Sans-Typografie.
   ========================================================================== */
:root {
  --acc: #c93766;            /* Lavita-Himbeer */
  --acc-dark: #a02450;
  --gold: #c69259;
  --ink: #2b2b2b;
  --ink-soft: #4e4a46;
  --muted: #7d7770;
  --paper: rgba(255, 255, 255, .92);
  --panel-line: rgba(255, 255, 255, .55);
  --font: "Josefin Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: 300; font-size: 17px;
  line-height: 1.65; color: var(--ink); min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--acc-dark); text-decoration: none; transition: color .25s; }
a:hover { color: var(--acc); }

/* ---------- Vollbild-Hintergrund ---------- */
.bg-stage { position: fixed; inset: 0; z-index: -1; background: #2a141c; }
.bg-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.05);
  transition: opacity 2.4s ease, transform 9s ease;
}
.bg-slide.on { opacity: 1; transform: scale(1); }
.bg-fallback { background: linear-gradient(140deg, #4a1a30, #1c0d13); }
.bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25,10,17,.45) 0%, rgba(25,10,17,.32) 40%, rgba(25,10,17,.55) 100%);
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--panel-line);
  transition: box-shadow .3s;
}
.topbar.scrolled { box-shadow: 0 12px 34px -18px rgba(40,10,25,.4); }
.bar-inner {
  max-width: 1220px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand img { max-height: 54px; display: block; }
.brand-name { font-size: 1.5rem; font-weight: 300; letter-spacing: .1em; color: var(--ink); }
.mainnav { display: flex; align-items: center; gap: 24px; }
.mainnav a {
  font-size: .88rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .25s;
}
.mainnav a:not(.pill)::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--acc); transition: width .3s;
}
.mainnav a:not(.pill):hover::after { width: 100%; }
.mainnav a:hover { color: var(--acc-dark); }

.pill {
  display: inline-block; background: var(--acc); color: #fff !important;
  font-family: var(--font); font-weight: 400; font-size: .88rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 11px 30px; border: 1px solid var(--acc); border-radius: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.pill:hover { background: var(--acc-dark); border-color: var(--acc-dark); transform: translateY(-2px); }
.pill-lg { padding: 14px 44px; font-size: .95rem; }
.pill-outline, .pill-line {
  background: transparent !important; color: var(--acc-dark) !important;
  border: 1px solid var(--acc) !important; box-shadow: none;
}
.pill-outline:hover, .pill-line:hover { background: var(--acc) !important; color: #fff !important; }
.pill-line { color: #fff !important; border-color: rgba(255,255,255,.85) !important; }
.pill-line:hover { background: rgba(255,255,255,.16) !important; border-color: #fff !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bühne ---------- */
.stage { max-width: 1180px; margin: 0 auto; padding: 110px 28px 70px; }

/* ---------- Hero (Home) ---------- */
.hero {
  min-height: 78vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; color: #fff; padding: 40px 16px 60px;
}
.hero-logo { max-width: 280px; max-height: 180px; margin-bottom: 24px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.45)); }
.hero-eyebrow { font-size: .9rem; letter-spacing: .5em; text-transform: uppercase;
  color: #f3b7cb; margin: 0 0 14px; font-weight: 400; }
.hero-title {
  font-weight: 200; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: .05em;
  margin: 0; color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero-rule { width: 90px; height: 3px; background: var(--acc); margin: 26px 0; }
.hero-lead {
  font-size: 1.2rem; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.92); max-width: 620px; margin: 0 0 34px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Panels & Karten ---------- */
.panel {
  background: var(--paper);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--panel-line);
  padding: 44px 52px; margin-bottom: 34px;
  box-shadow: 0 30px 60px -28px rgba(30,8,20,.45);
}
.p-title {
  font-weight: 200; font-size: 2.05rem; letter-spacing: .06em; text-align: center;
  margin: 0 0 32px; position: relative; padding-bottom: 16px; color: var(--ink);
}
.p-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--acc);
}
.sec-title {
  font-weight: 200; font-size: 2.2rem; letter-spacing: .08em; text-align: center;
  margin: 0 0 30px; color: #fff; text-shadow: 0 3px 26px rgba(0,0,0,.55);
  position: relative; padding-bottom: 14px;
}
.sec-title::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 3px; background: var(--acc);
}
.cms { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.cms p:first-child { margin-top: 0; }
.cms img { display: block; margin: 18px auto; max-height: 380px; object-fit: cover; }
.center { text-align: center; }
.more { text-align: center; margin: 28px 0 0; }
.more a { color: var(--acc-dark); letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; }
.more a:hover { color: var(--acc); }
.muted { color: var(--muted); font-style: italic; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Karten-Grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.card-grid.dim { opacity: .55; }
.mcard {
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.7);
  border-top: 3px solid var(--acc);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.mcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -20px rgba(60,15,35,.35); }
.mcard.dim { opacity: .55; }
.mcard h3 { font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; margin: 0 0 10px; color: var(--ink); }
.mcard p { margin: 0 0 12px; color: var(--ink-soft); font-size: .97rem; flex: 1; }
.mcard .price { font-size: 1.25rem; color: var(--acc-dark); letter-spacing: .05em; }
.mcard .meta { color: var(--acc); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.mcard.wide { grid-column: 1 / -1; }
.mcard.link-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }

/* Wochenansicht */
.day-title {
  font-weight: 300; font-size: 1.55rem; letter-spacing: .08em; color: var(--acc-dark);
  margin: 36px 0 10px; display: flex; align-items: center; gap: 16px;
}
.day-title::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,.1); }
.week-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.week-head h2 { margin: 0; font-weight: 200; font-size: 2rem; }
.week-head .pill-outline { padding: 9px 22px; font-size: .78rem; }

/* ---------- Formulare ---------- */
.res-form { display: flex; flex-direction: column; gap: 20px; max-width: 660px; }
.res-form label {
  display: flex; flex-direction: column; gap: 8px; font-size: .8rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.res-form input, .res-form select, .res-form textarea {
  padding: 14px 16px; border: 1px solid rgba(0,0,0,.16); border-radius: 0;
  background: #fff; color: var(--ink); font-family: var(--font); font-size: 1rem;
  font-weight: 300; transition: border-color .25s, box-shadow .25s;
}
.res-form input:focus, .res-form select:focus, .res-form textarea:focus {
  outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(201,55,102,.18);
}
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.slot-grid .slot {
  border: 1px solid rgba(0,0,0,.22); color: var(--ink); background: transparent;
  padding: 10px 22px; cursor: pointer; font-family: var(--font); font-weight: 300;
  font-size: .98rem; letter-spacing: .08em; transition: .2s;
}
.slot-grid .slot:hover { border-color: var(--acc); color: var(--acc-dark); }
.slot-grid .slot.sel { background: var(--acc); border-color: var(--acc); color: #fff; }

/* Galerie */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; display: block; transition: transform .7s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { font-size: .85rem; color: var(--muted); padding: 8px 2px 0; }

/* Flash */
.flash { padding: 15px 22px; margin-bottom: 20px; font-size: .95rem; background: rgba(255,255,255,.95); }
.flash-error { border-left: 4px solid #a94442; color: #7a2d24; }
.flash-success { border-left: 4px solid #4c8a3f; color: #2c5a24; }

/* ---------- Footer ---------- */
.site-foot {
  background: rgba(26, 8, 17, .88);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75);
  margin-top: 40px;
}
.foot-inner {
  max-width: 1220px; margin: 0 auto; padding: 52px 28px 30px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px;
}
.f-logo { max-height: 76px; margin-bottom: 14px; }
.f-name { font-size: 1.7rem; font-weight: 300; letter-spacing: .1em; color: #fff; margin-bottom: 12px; }
.f-socials { display: flex; gap: 16px; flex-wrap: wrap; }
.f-socials a { color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.f-socials a:hover { color: #f3b7cb; }
.f-col h4 { font-weight: 400; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: #f3b7cb; margin: 0 0 14px; }
.f-col p { margin: 0 0 8px; font-size: .95rem; }
.f-col a { color: rgba(255,255,255,.75); }
.f-col a:hover { color: #f3b7cb; }
.hours span { display: flex; gap: 12px; }
.hours b { min-width: 26px; color: #fff; font-weight: 400; }
.colophon { text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; letter-spacing: .12em; color: rgba(255,255,255,.4); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .burger { display: flex; }
  .mainnav {
    position: fixed; inset: 0; z-index: 105;
    background: rgba(26,8,17,.97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; gap: 26px;
    transform: translateX(100%); transition: transform .4s ease;
  }
  .mainnav.open { transform: none; }
  .mainnav a { color: #fff !important; font-size: 1.25rem; }
  .burger.active span { background: #fff; }
  .stage { padding: 96px 18px 50px; }
  .panel { padding: 30px 22px; }
  .hero-logo { max-width: 200px; }
  .foot-inner { grid-template-columns: 1fr; gap: 28px; padding: 44px 22px 26px; }
}

/* ---------- Print ---------- */
@media print {
  .bg-stage, .topbar, .site-foot, .print-actions, .more { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .stage { padding: 0; }
  .panel { background: #fff; border: 0; box-shadow: none; padding: 0; }
  .mcard { border: 1px solid #ccc; }
}
