/* ==========================================================================
   Vesperstüble Kehlen, Meckenbeuren-Kehlen — Demo-Gestaltungsvorschlag
   Charakter: rustikal-schwäbisches Wirtshaus — gemütlich, ländlich,
   bodenständig, warm. Lust auf einen Vesperabend in geselliger Runde.
   Farbwelt: Creme #F4E9D4 · Holzbraun #33241A · Weinrot #8A342E ·
             Senf-Ocker #C28A33 · Text #2E2117
   Schriften: Zilla Slab (Headlines) + Asap (Text), lokal gehostet
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zilla Slab";
  src: url("../fonts/zilla-slab-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Asap";
  src: url("../fonts/asap.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Designsystem ---------- */
:root {
  --cream: #f4e9d4;        /* Grundton, warmes Creme */
  --cream-deep: #ecdcbf;   /* abgesetzte helle Flächen */
  --wood: #33241a;         /* Holzbraun dunkel — dunkle Flächen/Text */
  --wood-soft: #4a3527;    /* abgesetztes Holzbraun */
  --wine: #8a342e;         /* Weinrot/Burgund — Hauptakzent */
  --wine-dark: #6f2823;    /* Hover */
  --ocker: #c28a33;        /* Senf-Ocker — Zweitakzent */
  --ocker-deep: #a5712290; /* gedämpfter Ocker */
  --ink: #2e2117;          /* Fließtext dunkel */
  --ink-soft: #5b4634;     /* abgesetzter Fließtext */
  --line: #ddc9a6;         /* Trennlinien auf Creme */
  --paper: #fbf4e6;        /* Karten-Weiß, warm */

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Asap", "Segoe UI", system-ui, sans-serif;

  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--wine); text-decoration: none; }

::selection { background: var(--wine); color: var(--cream); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--wood);
  text-wrap: balance;
  hyphens: manual;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

.mark { color: var(--wine); }
.mark--ocker { color: var(--ocker); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 0.9rem;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ---------- Karo-Band (dezente Wirtshaus-Wiedererkennung) ---------- */
.checker {
  height: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(138, 52, 46, 0.16) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(-45deg, rgba(138, 52, 46, 0.16) 0 10px, transparent 10px 20px),
    var(--cream);
}
.checker--on-wine {
  background:
    repeating-linear-gradient(45deg, rgba(244, 233, 212, 0.16) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(-45deg, rgba(244, 233, 212, 0.16) 0 10px, transparent 10px 20px),
    var(--wine);
}

/* ---------- Demo-Leiste ---------- */
.demo-bar {
  background: var(--wood);
  color: var(--cream);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.45rem var(--pad);
  line-height: 1.45;
}
.demo-bar strong { color: var(--ocker); font-weight: 600; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 233, 212, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--wood);
}
.brand__mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
}
.brand__name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocker);
  margin-top: 0.22rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.9rem);
}
.nav a {
  color: var(--wood);
  font-weight: 600;
  font-size: 0.97rem;
  padding-block: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--wine); }
.nav a[aria-current="page"] {
  color: var(--wine);
  border-bottom-color: var(--wine);
}
.nav__cta {
  background: var(--wine);
  color: var(--cream) !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--wine-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 7vw, 4.5rem);
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-block: 0.4rem 1.2rem; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero__art { display: grid; place-items: center; }
.hero__emblem {
  width: min(330px, 70vw);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(51, 36, 26, 0.22));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--wine);
  color: var(--wine);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--wine); color: var(--cream); }
.btn--solid:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--wine); }
.btn--ocker { border-color: var(--ocker); color: var(--wood); }
.btn--ocker:hover { background: var(--ocker); color: var(--wood); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--cream-deep { background: var(--cream-deep); }
.section--wine { background: var(--wine); color: var(--cream); }
.section--wine h2, .section--wine h3 { color: var(--cream); }
.section--wine p { color: rgba(244, 233, 212, 0.9); }
.section--wine .eyebrow { color: var(--ocker); }
.section--wood { background: var(--wood); color: var(--cream); }
.section--wood h2, .section--wood h3 { color: var(--cream); }
.section--wood p { color: rgba(244, 233, 212, 0.86); }
.section--wood .eyebrow { color: var(--ocker); }

.section__head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head h2 { margin-bottom: 0.8rem; }
.section__head p { color: var(--ink-soft); }
.section--wine .section__head p,
.section--wood .section__head p { color: rgba(244, 233, 212, 0.9); }

/* ---------- Gerichte / Vesper-Karten ---------- */
.dishes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.3rem;
}
.dish {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.dish::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--wine) 0 55%, var(--ocker) 55% 100%);
}
.dish h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.dish p { font-size: 0.96rem; color: var(--ink-soft); }
.dish__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.85rem;
}

/* ---------- Hinweis-Karte ---------- */
.note-card {
  margin-top: 1.9rem;
  background: var(--cream-deep);
  border-left: 5px solid var(--ocker);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.15rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.note-card strong { color: var(--wood); font-weight: 600; }
.section--cream-deep .note-card { background: var(--paper); }

/* ---------- Foto-Platzhalter ---------- */
.photo-ph {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--radius);
  border: 2px dashed var(--ocker);
  background:
    repeating-linear-gradient(45deg, rgba(194, 138, 51, 0.06) 0 14px, transparent 14px 28px),
    var(--cream-deep);
  color: var(--wood-soft);
  padding: 2rem 1.5rem;
  min-height: 220px;
}
.photo-ph svg { width: 46px; height: 46px; opacity: 0.55; margin-bottom: 0.7rem; }
.photo-ph span { font-size: 0.9rem; font-weight: 500; line-height: 1.5; max-width: 18rem; }
.photo-ph small {
  display: block;
  font-size: 0.78rem;
  margin-top: 0.4rem;
  color: var(--ocker);
}

/* ---------- Merkmal-Spalten ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.feature {
  border-top: 2px solid rgba(244, 233, 212, 0.28);
  padding-top: 1.1rem;
}
.feature__icon { width: 34px; height: 34px; margin-bottom: 0.6rem; }
.feature h3 { font-size: 1.32rem; margin-bottom: 0.45rem; }
.feature p { font-size: 0.97rem; }
.section:not(.section--wine):not(.section--wood) .feature { border-top-color: var(--line); }
.section:not(.section--wine):not(.section--wood) .feature p { color: var(--ink-soft); }

/* ---------- Split (Text + Bildplatzhalter) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split__text h2 { margin-bottom: 0.9rem; }
.split__text p + p { margin-top: 0.9rem; }

/* ---------- Trust / Bewertungen ---------- */
.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.trust__score { text-align: center; }
.trust__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 1;
  color: var(--wine);
}
.trust__stars {
  color: var(--ocker);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  margin-block: 0.3rem;
}
@supports (-webkit-background-clip: text) {
  .trust__stars {
    background: linear-gradient(90deg, var(--ocker) 0 88%, var(--line) 88%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.trust__src {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 14rem;
  margin-inline: auto;
  line-height: 1.5;
}
.trust__points { list-style: none; }
.trust__points li {
  padding: 0.7rem 0 0.7rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}
.trust__points li:last-child { border-bottom: none; }
.trust__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  background: var(--wine);
  border-radius: 2px;
  opacity: 0.85;
}
.trust__points strong { color: var(--wood); font-weight: 600; }

/* ---------- Öffnungszeiten ---------- */
.hours-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 36rem;
}
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.99rem;
}
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }
.hours th { font-weight: 600; color: var(--wood); width: 46%; }
.hours td { color: var(--ink-soft); }
.hours .is-closed td { color: var(--wood-soft); font-style: italic; }
.hours-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--wood-soft);
  line-height: 1.55;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--wine);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band h2 { color: var(--cream); margin-bottom: 0.6rem; }
.cta-band p {
  color: rgba(244, 233, 212, 0.9);
  max-width: 34rem;
  margin-inline: auto;
}
.cta-band .tel {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  color: var(--cream);
  margin-block: 1.4rem 1.2rem;
  border-bottom: 3px solid rgba(244, 233, 212, 0.45);
  transition: border-color 0.2s;
}
.cta-band .tel:hover { border-color: var(--cream); }
.cta-band .btn { display: inline-block; }

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}
.contact-card h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-card .tel-big {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  color: var(--wine);
  line-height: 1.1;
  margin-block: 0.3rem 0.8rem;
}
.contact-card address {
  font-style: normal;
  color: var(--ink-soft);
  line-height: 1.65;
}
.contact-card ul { list-style: none; color: var(--ink-soft); }
.contact-card li { padding-block: 0.25rem; padding-left: 1.4rem; position: relative; }
.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--ocker);
  border-radius: 2px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wood);
  margin: 0.25rem 0.35rem 0.25rem 0;
}
.info-pill svg { width: 18px; height: 18px; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 1.6rem; }
.legal h2 {
  font-size: 1.45rem;
  margin: 2.2rem 0 0.7rem;
}
.legal p, .legal address { color: var(--ink-soft); font-style: normal; }
.legal p + p { margin-top: 0.8rem; }
.legal ul { margin: 0.6rem 0 0.6rem 1.3rem; color: var(--ink-soft); }
.legal li { padding-block: 0.15rem; }

.demo-note {
  background: var(--cream-deep);
  border-left: 5px solid var(--wine);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.demo-note strong { color: var(--wine); font-weight: 600; }

.placeholder {
  display: inline-block;
  background: var(--cream-deep);
  border: 1px dashed var(--ocker);
  border-radius: 6px;
  padding: 0.05rem 0.55rem;
  font-size: 0.88rem;
  color: var(--wood-soft);
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--wood);
  color: var(--cream-deep);
  padding-block: clamp(2.2rem, 5vw, 3.5rem) 1.4rem;
}
.site-foot a { color: var(--cream); }
.site-foot a:hover { text-decoration: underline; }
.site-foot h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.site-foot ul { list-style: none; font-size: 0.95rem; }
.site-foot li { padding-block: 0.18rem; }
.site-foot small { color: rgba(244, 233, 212, 0.65); }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.foot-meta {
  border-top: 1px solid rgba(244, 233, 212, 0.22);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__emblem { width: min(230px, 55vw); }
  .trust { grid-template-columns: 1fr; }
  .hours-grid, .contact-grid, .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.8rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav__cta {
    margin-top: 0.9rem;
    text-align: center;
    border-radius: 12px;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .brand__name { font-size: 1.12rem; }
  .brand__mark { width: 40px; height: 40px; }
}
