/* =========================================================
   Gasthof Lindenhof — Design System
   Weinrot, Buttercreme, Waldgrün, Senfgold
   Signatur: Karo-Textur (Wachstuch) + Stempel-Badges
   Display: Bitter · Body: Mulish
   ========================================================= */

:root {
  --r-wine: #6B1E23;
  --r-wine-dark: #4E1519;
  --r-forest: #3A4A2F;
  --r-mustard: #CC8B1F;
  --r-mustard-light: #E09F34;
  --r-cream: #FBF4E7;
  --r-surface: #FFFFFF;
  --r-charcoal: #2B2420;
  --r-muted: #7A6F5E;
  --r-border: #E6D9BE;

  --font-display: 'Bitter', 'Georgia', serif;
  --font-body: 'Mulish', 'Nunito Sans', sans-serif;

  --radius-md: 10px;
  --shadow-sm: 0 3px 12px rgba(43,36,32,0.1);
  --shadow-md: 0 16px 38px rgba(43,36,32,0.2);
  --container-w: 1160px;
  --space-section: clamp(60px, 8vw, 116px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body { margin: 0; background: var(--r-cream); color: var(--r-charcoal); font-family: var(--font-body); font-size: 17px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--r-wine);
  line-height: 1.14;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); }

p { margin: 0 0 1em; }
.lede { font-size: 1.14rem; color: var(--r-muted); }
a { color: var(--r-wine); }
:focus-visible { outline: 3px solid var(--r-mustard); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--space-section) 0; }
.section-tight { padding: calc(var(--space-section) * 0.5) 0; }
.section-alt { background: var(--r-surface); }
.section-dark { background: var(--r-wine); color: rgba(255,255,255,0.9); }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--r-mustard); margin-bottom: 0.8em; }
.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; padding: 0.85em 1.7em; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; text-decoration: none; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--r-wine); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--r-wine-dark); box-shadow: var(--shadow-md); }
.btn-mustard { background: var(--r-mustard); color: #2B2005; }
.btn-mustard:hover { background: #b67a17; }
.btn-ghost { background: transparent; border-color: var(--r-wine); color: var(--r-wine); }
.btn-ghost:hover { background: var(--r-wine); color: #fff; }
.btn-on-dark { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--r-wine); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--r-wine); border-bottom: 3px solid var(--r-mustard); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 0.65em; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.64rem; color: #EBC98A; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.nav-primary { display: flex; align-items: center; gap: 2.1rem; }
.nav-primary ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; }
.nav-primary a { color: rgba(255,255,255,0.85); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; }
.nav-primary a:hover { color: #fff; text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-primary { position: fixed; top: 80px; left: 0; right: 0; height: calc(100vh - 80px); background: var(--r-wine); flex-direction: column; align-items: flex-start; padding: 2rem 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-primary ul { flex-direction: column; gap: 1.3rem; width: 100%; }
  .nav-primary .btn { width: 100%; margin-top: 1.5rem; }
}

/* Hero with gingham accent */
.hero {
  background: var(--r-wine);
  color: #fff;
  padding: clamp(60px, 9vw, 110px) 0 clamp(64px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero .eyebrow, .section-dark .eyebrow { color: var(--r-mustard-light); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,0.82); max-width: 48ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.stamp {
  width: 130px; height: 130px;
  border: 3px solid var(--r-mustard);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--r-mustard);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  line-height: 1.3;
  transform: rotate(-8deg);
  flex-shrink: 0;
}
.hero-plate { display: flex; align-items: center; justify-content: center; }
.hero-plate .plate-frame { border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-md); border: 8px solid var(--r-cream); aspect-ratio: 1/1; width: 100%; max-width: 380px; }
.hero-plate .plate-frame img { width: 100%; height: 100%; }

/* Menu — Speisekarte, torn-card style */
.menu-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 3.2rem; }
@media (max-width: 760px) { .menu-columns { grid-template-columns: 1fr; } }
.menu-group h3 { display: flex; align-items: center; gap: 0.7em; color: var(--r-wine); border-bottom: 2px solid var(--r-mustard); padding-bottom: 0.5em; margin-bottom: 1.1rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7em 0; border-bottom: 1px dashed var(--r-border); }
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 700; color: var(--r-charcoal); }
.menu-item-desc { display: block; font-weight: 400; color: var(--r-muted); font-size: 0.88rem; margin-top: 0.15em; }
.menu-item-price { font-family: var(--font-display); font-weight: 700; color: var(--r-wine); white-space: nowrap; }
.menu-badge { display: inline-block; background: var(--r-mustard); color: #2B2005; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2em 0.5em; border-radius: 3px; margin-left: 0.5em; vertical-align: middle; }

/* Philosophy */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .philosophy-grid { grid-template-columns: 1fr; } }
.philosophy-figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.philosophy-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Opening hours table */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours-table td { padding: 0.65em 0; border-bottom: 1px solid var(--r-border); }
.hours-table td:first-child { font-weight: 700; color: var(--r-wine); font-family: var(--font-display); }
.hours-table td:last-child { text-align: right; color: var(--r-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.3rem; }
.contact-detail .ic { width: 22px; height: 22px; color: var(--r-mustard); flex-shrink: 0; margin-top: 2px; }
.contact-detail a, .contact-detail span { font-weight: 700; color: var(--r-wine); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--r-border); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(35%) sepia(8%) contrast(1.03); }
.map-embed { position: relative; min-height: 260px; }
.map-embed-trigger { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35em; background: var(--r-cream); border: 0; cursor: pointer; font-family: var(--font-display); color: var(--r-charcoal); text-align: center; padding: 1em; transition: background 0.2s ease; }
.map-embed-trigger:hover { background: var(--r-border); }
.map-embed-trigger-label { font-size: 1.05rem; font-weight: 700; }
.map-embed-trigger-label::before { content: "📍 "; }
.map-embed-trigger-note { font-size: 0.78rem; font-weight: 500; color: var(--r-muted); font-family: var(--font-body); }

form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; color: var(--r-wine); margin-bottom: 0.4em; }
input, textarea, select { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 0.8em 1em; border: 1.5px solid var(--r-border); border-radius: 6px; background: var(--r-surface); color: var(--r-charcoal); transition: border-color 0.2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--r-wine); outline: none; }
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--r-muted); }
.form-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; }
.form-consent label { display: flex; align-items: flex-start; gap: 0.6em; font-family: var(--font-body); font-weight: 400; text-transform: none; cursor: pointer; }
.form-consent input[type="checkbox"] { margin-top: 0.2em; flex-shrink: 0; width: 1.15em; height: 1.15em; accent-color: var(--r-wine); }
.form-consent span { font-size: 0.86rem; color: var(--r-muted); }
.form-consent a { color: inherit; }
.form-consent.has-error span { color: #B3261E; }
.form-success { display: none; background: #F3E7C9; color: #7A5A0A; border-radius: 6px; padding: 1em 1.2em; font-weight: 700; font-family: var(--font-display); }
.form-success.is-visible { display: block; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--r-border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; text-align: left; padding: 1.4rem 0.2rem; font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; color: var(--r-wine); cursor: pointer; }
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .icon::before, .faq-question .icon::after { content: ""; position: absolute; background: var(--r-mustard); transition: transform 0.25s ease; }
.faq-question .icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { color: var(--r-muted); padding-bottom: 1.4rem; margin: 0; max-width: 65ch; }
.faq-item.is-open .faq-answer { max-height: 400px; }

.reviews-widget { border: 1px solid var(--r-border); border-radius: var(--radius-md); padding: 2rem; text-align: center; background: var(--r-surface); color: var(--r-muted); }

/* Footer */
.site-footer { background: var(--r-charcoal); color: rgba(255,255,255,0.75); padding: 3.8rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 36ch; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.84rem; }
.footer-legal { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,0.55); }
.back-to-ad { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 1.4rem; }
.back-to-ad:hover { color: rgba(255,255,255,0.75); }
.legal-back-link { font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; font-family: var(--font-body); }
.legal-back-link a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.legal-back-link a:hover { color: rgba(255,255,255,0.85); }

.page-hero { background: var(--r-wine); color: #fff; padding: clamp(52px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.page-hero h1 { color: #fff; margin-bottom: 0.4em; }
.page-hero .lede { color: rgba(255,255,255,0.8); max-width: 60ch; }
.breadcrumb { font-size: 0.84rem; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); }

.legal-text { max-width: 70ch; }
.legal-text h2 { margin-top: 2em; }
.legal-placeholder-note { border-left: 3px solid var(--r-mustard); background: var(--r-cream); border-radius: var(--radius-md); padding: 1.2em 1.4em; color: var(--r-muted); font-style: italic; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Rückweg zu Iller Digital */
.ad-bar { display: flex; align-items: center; justify-content: center; gap: 0.6em; background: #0F1B2D; color: rgba(255,255,255,0.88); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.82rem; padding: 0.6em 1em; text-decoration: none; }
.ad-bar:hover { background: #16263D; color: #fff; text-decoration: none; }
.ad-bar strong { color: #C9A227; font-weight: 600; }
.ad-bar svg, .ad-bar img { width: 16px; height: 16px; flex-shrink: 0; }

.text-center { text-align: center; }
.mt-lg { margin-top: 2.6rem; }

/* Sticky Mobile-CTA */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--r-charcoal); padding: 0.8rem 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,0.2); }
  .sticky-cta .btn { width: 100%; justify-content: center; }
}

/* Skip-Link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--r-wine); color: #fff; padding: 1em 1.5em; font-family: var(--font-display); font-weight: 700; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus { left: 0; }
