/* =========================================================
   Liberty Café Bistro · Café · Bar · Bistro · Schwaikheim
   Stylesheet · Mobile First · Light Premium (botanisch)
   =========================================================

   LOKALE SCHRIFTEN (DSGVO-konform, keine externen CDNs):
   Um eine eigene Marken-Schrift zu nutzen, Font-Dateien nach
   /assets/fonts/ legen und diesen Block aktivieren:

   @font-face {
     font-family: "Brand";
     src: url("/assets/fonts/brand.woff2") format("woff2");
     font-weight: 400 800;
     font-display: swap;
   }
   Danach "Brand" vorne in --font-display / --font-body ergänzen.
   Standardmäßig werden performante System-Schriften verwendet –
   es werden keinerlei externe Ressourcen geladen.
   ========================================================= */

:root {
  --bg:        #faf6ee;
  --bg-elev:   #f1e9db;
  --surface:   #ffffff;
  --surface-2: #f6efe2;
  --line:      rgba(40, 33, 20, 0.10);
  --line-2:    rgba(40, 33, 20, 0.16);

  --text:      #2a2418;
  --muted:     #6f6754;

  --brand:     #55703c;
  --brand-2:   #6f8b4a;
  --glow:      rgba(85, 112, 60, 0.30);
  --ember:     #c1943a;
  --wowobot:   #1497bd;

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --gap:       clamp(1.25rem, 4vw, 2.5rem);

  --font-display: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow:    0 18px 44px -22px rgba(40, 33, 20, 0.35);
  --shadow-glow: 0 0 0 1px var(--line), 0 22px 55px -26px var(--glow);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-family: var(--font-display); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.15rem, 5vw, 2.5rem); }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.5rem; min-height: 48px;
  border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap; text-align: center;
}
.btn-lg { padding: 1rem 1.9rem; min-height: 54px; font-size: 1.02rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 10px 26px -12px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px var(--glow); }
.btn-ghost { background: rgba(40, 33, 20, 0.04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); background: rgba(85, 112, 60, 0.08); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.28em;
  font-size: 1.2rem; text-transform: uppercase; color: var(--text);
}
.brand-sub { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--brand); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-list { display: flex; gap: 1.4rem; }
.nav-list a { font-size: 0.94rem; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-list a:hover { color: var(--text); }

.burger {
  display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Bild + dunkles Overlay, helle Schrift) ---------- */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 12%, rgba(30, 24, 12, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(24, 20, 12, 0.5) 0%, rgba(24, 20, 12, 0.62) 55%, rgba(24, 20, 12, 0.78) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 5rem 0; max-width: 760px; color: #fff; }
.hero-eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: #eddca6; margin-bottom: 1rem; padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: rgba(255, 255, 255, 0.08);
}
.hero-title { font-size: clamp(2.5rem, 8vw, 4.6rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 1.1rem; color: #fff; }
.grad {
  background: linear-gradient(120deg, #e9cf87, #c7dca0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: #f0ebdf; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.badge {
  font-size: 0.85rem; color: #f4efe4; padding: 0.5rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
}
.badge strong { color: #eddca6; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: #eddca6; border-radius: 2px; animation: scrollcue 1.6s infinite; }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- Trust ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-elev); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; }
.trust-item { padding: 1.6rem 1rem; text-align: center; display: flex; flex-direction: column; gap: 0.35rem; }
.trust-num { font-size: 1.5rem; font-weight: 800; color: var(--brand); font-family: var(--font-display); }
.trust-label { font-size: 0.82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-elev); }
.section-head { max-width: 720px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.7rem; }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; }
.section-intro { color: var(--muted); font-size: 1.05rem; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }

/* ---------- Cards (Angebot) ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: 0 12px 30px -24px rgba(40, 33, 20, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(85, 112, 60, 0.4); box-shadow: var(--shadow-glow); }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; color: var(--brand);
  border-radius: 14px; background: rgba(85, 112, 60, 0.12); border: 1px solid rgba(85, 112, 60, 0.22); margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: center; }
.split-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); height: 320px; object-fit: cover; object-position: center 78%; display: block; }
.split-text h2 { margin-top: 0.3rem; }
.split-text p { color: #504a3c; }
.check-list { margin: 1.3rem 0 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: #423d31; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem;
  display: grid; place-items: center; font-size: 0.75rem; color: #fff; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.feature { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color 0.25s, transform 0.25s; box-shadow: 0 12px 30px -24px rgba(40, 33, 20, 0.4); }
.feature:hover { border-color: rgba(85, 112, 60, 0.4); transform: translateY(-3px); }
.feature-k { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: rgba(85, 112, 60, 0.55); }
.feature h3 { font-size: 1.15rem; margin: 0.4rem 0 0.4rem; }
.feature p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.9rem; }
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.step { position: relative; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 12px 30px -24px rgba(40, 33, 20, 0.4); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 0.9rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px -8px var(--glow);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Hours ---------- */
.hours-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 1.4rem; box-shadow: var(--shadow); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--muted); }
.hours li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours li.is-highlight span:last-child { color: var(--brand); }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 0.8rem; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 1.03rem; font-weight: 600; padding: 1.15rem 1.3rem; min-height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: inherit;
}
.acc-ic { position: relative; width: 16px; height: 16px; flex: none; }
.acc-ic::before, .acc-ic::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform 0.3s ease; }
.acc-ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-ic::after { top: 0; left: 7px; width: 2px; height: 16px; }
.acc-trigger[aria-expanded="true"] .acc-ic::after { transform: scaleY(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-panel p { color: var(--muted); padding: 0 1.3rem 1.2rem; margin: 0; }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: stretch; }
.location-map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.location-map img { width: 100%; height: 280px; object-fit: cover; display: block; }
.location-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: 0 12px 30px -24px rgba(40, 33, 20, 0.4); display: flex; flex-direction: column; justify-content: center; }
.location-info h3 { font-size: 1.5rem; }
.location-addr { color: #504a3c; font-size: 1.1rem; }
.link { color: var(--brand); font-weight: 600; }
.link:hover { text-decoration: underline; }

/* ---------- Contact form ---------- */
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: #423d31; }
.field input, .field textarea {
  width: 100%; padding: 0.85rem 1rem; min-height: 48px; border-radius: var(--radius-sm);
  background: #fbfaf6; border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(85, 112, 60, 0.15); outline: none; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.consent a { color: var(--brand); text-decoration: underline; }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status.is-ok { color: #3f7d3f; }
.form-status.is-err { color: #c0432f; }

/* ---------- Footer (dunkel, für das weiße Logo) ---------- */
.site-footer { background: #1b1913; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: clamp(2.5rem, 6vw, 4rem); color: rgba(255, 255, 255, 0.72); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-logo { width: 92px; height: auto; border-radius: 50%; margin-bottom: 0.8rem; }
.footer-brand { font-size: 1.3rem; color: #fff; }
.footer-sub { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); margin: 6px 0 1rem; }
.footer-addr { color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 0.6rem; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 1.4rem; padding-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.55); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.wowobot { color: var(--wowobot); font-weight: 700; }
.wowobot:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal p { color: #504a3c; }
.legal .notice {
  background: rgba(85, 112, 60, 0.1); border: 1px solid rgba(85, 112, 60, 0.3);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 2rem; color: #3b3a2c;
}
.legal .muted-note { color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .split-media img { height: 430px; }
  .location { grid-template-columns: 1.5fr 1fr; }
  .location-map img { height: 100%; min-height: 340px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 899px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250, 246, 238, 0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 1rem clamp(1.15rem, 5vw, 2.5rem) 1.6rem;
    transform: translateY(-120%); transition: transform 0.35s ease; visibility: hidden;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 1rem 0; font-size: 1.05rem; min-height: 48px; }
  .nav-cta { margin-top: 1.2rem; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
