/* ============ TARIM Restaurant ============
   Farbwelt: Kartengrün + Sand + Gold-Akzente
   Typografie: Cormorant Garamond (lokal, DSGVO-sicher)
   ========================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../assets/fonts/cormorant-garamond-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Akzentgrün der Menükarte (Flächen: Header, Hero, Footer …) */
  --brand:      #7d9c68;
  --brand-soft: #8fac7b;
  --brand-deep: #6a8a55;
  --brand-dark: #52683f;
  /* Dunklere Grüntöne nur für Text auf hellem Grund */
  --green-950: #2e3323;
  --green-900: #424b32;
  --green-800: #515c3e;
  --green-700: #66724d;
  --green-600: #7e8c62;
  --green-500: #99a578;
  --green-200: #daddc3;
  --green-100: #edecd9;
  --green-50:  #f5f3e6;
  --cream:     #fbf9f0;
  --gold:      #c2a14e;
  --gold-dark: #9a7d33;
  --gold-pale: #e8dca4;
  --text:      #2d3224;
  --text-soft: #575f49;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 2px 18px rgba(46, 51, 35, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 105px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .serif {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

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

a { color: var(--green-700); }

::selection { background: var(--gold); color: var(--green-950); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-deep);
  border-bottom: 2px solid var(--gold);
}
.nav {
  max-width: 1100px; margin: 0 auto; padding: .6rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img {
  height: 56px; width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
  transition: transform .25s ease;
}
.brand:hover img { transform: rotate(8deg) scale(1.05); }
.brand span {
  font-family: var(--font-display); font-size: 1.8rem; letter-spacing: .22em;
  color: var(--gold-pale); font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}
.nav-links { display: flex; gap: .25rem; list-style: none; align-items: center; }
.nav-links a {
  color: #f2f3e6; text-decoration: none; font-size: .98rem;
  padding: .5rem .9rem; border-radius: 8px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--brand-dark); color: var(--gold-pale); }
.nav-links a.active { color: var(--gold-pale); font-weight: 600; }
.nav-links a.btn-nav {
  background: var(--gold); color: var(--green-950); font-weight: 600; margin-left: .35rem;
}
.nav-links a.btn-nav:hover { background: var(--gold-pale); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--gold);
  color: var(--gold-pale); font-size: 1.25rem; line-height: 1;
  padding: .35rem .6rem; border-radius: 8px; cursor: pointer;
}

/* ---------- Anruf-Button (fixiert unten links) ---------- */
.call-btn {
  position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--gold); color: var(--green-950);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: .75rem 1.25rem; border-radius: 999px;
  box-shadow: 0 4px 18px rgba(46, 51, 35, .35);
  border: 2px solid rgba(255, 255, 255, .5);
  transition: transform .12s, background .15s;
}
.call-btn:hover { background: var(--gold-pale); transform: translateY(-2px); }
.call-btn svg { width: 19px; height: 19px; fill: currentColor; flex: none; }

/* ---------- Nach-oben-Button ---------- */
.scroll-top {
  position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 60;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-deep); color: var(--gold-pale);
  border: 2px solid var(--gold); cursor: pointer;
  font-size: 1.2rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(46, 51, 35, .3);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--brand-dark); }

/* ---------- Logo-Trenner ---------- */
.logo-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.1rem; margin: .9rem auto 0;
}
.logo-divider span { height: 1px; background: var(--gold); width: min(110px, 20vw); opacity: .65; }
.logo-divider img { height: 40px; width: auto; }
.menu-section .logo-divider { margin-bottom: 2.2rem; }
.menu-section .logo-divider img { height: 34px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 26%, rgba(232, 220, 164, .28), transparent 34%),
    radial-gradient(ellipse at 50% -20%, rgba(194, 161, 78, .2), transparent 55%),
    linear-gradient(170deg, var(--brand-deep) 0%, var(--brand) 55%, var(--brand-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1.25rem 5.5rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    url('../assets/ornament-tl.png') top left / clamp(120px, 18vw, 230px) auto no-repeat,
    url('../assets/ornament-tr.png') top right / clamp(120px, 18vw, 230px) auto no-repeat,
    url('../assets/ornament-bl.png') bottom left / clamp(120px, 18vw, 230px) auto no-repeat,
    url('../assets/ornament-br.png') bottom right / clamp(120px, 18vw, 230px) auto no-repeat;
}
.hero > * { position: relative; }
.hero img.hero-logo { height: 175px; width: auto; margin: 0 auto 1.6rem; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .3)); }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .38em; text-indent: .38em;
  font-size: .82rem; font-weight: 600; color: #f2eed6; margin-bottom: .9rem;
}
.hero h1 {
  font-size: clamp(3.2rem, 7.5vw, 5rem);
  letter-spacing: .28em; text-indent: .28em;
  color: var(--gold-pale);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.hero .tagline {
  margin-top: .9rem; font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: #f4f2dd; font-style: italic; font-family: Georgia, serif;
}
.hero-divider { width: 130px; height: 2px; background: var(--gold); margin: 1.6rem auto; position: relative; }
.hero-divider::after {
  content: "✦"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -52%); background: transparent;
  color: var(--gold-pale); font-size: .9rem; padding: 0 .5rem;
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: .8rem 1.7rem; border-radius: 999px; transition: transform .12s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(46, 51, 35, .22); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-pale); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold-pale); }
.btn-outline:hover { background: rgba(194, 161, 78, .15); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section.alt { background: var(--green-100); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.6rem; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 2.9rem); color: var(--green-900); }
.section-head p.lead { margin-top: 1rem; color: var(--text-soft); font-size: 1.06rem; }

/* Über uns Teaser */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-grid > * { min-width: 0; }
.about-grid .photo { border-radius: var(--radius); width: 100%; height: auto; }
.about-text h2 { color: var(--green-900); font-size: 2.3rem; margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; color: var(--text-soft); }
.about-text .btn-gold { color: var(--green-950); margin-top: .4rem; }

/* Featured Gerichte */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem 1.5rem; text-align: center;
  border-top: 3px solid var(--gold);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(46, 51, 35, .18); }
.card img { height: 175px; width: auto; margin: 0 auto 1.1rem; object-fit: contain; transition: transform .35s ease; }
.card:hover img { transform: scale(1.05); }
.card img.photo-round {
  width: 175px; height: 175px; object-fit: cover;
  border-radius: 50%; border: 3px solid var(--gold-pale);
}
.card h3 { color: var(--green-900); font-size: 1.7rem; margin-bottom: .5rem; }
.card p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.card .price { display: block; margin-top: .9rem; color: var(--gold-dark); font-weight: 700; font-size: 1.35rem; font-family: var(--font-display); }

/* Info / Öffnungszeiten / Kontakt */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.info-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.5rem; text-align: center; border-top: 3px solid var(--gold);
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-box:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(46, 51, 35, .16); }
.info-box h3 { color: var(--green-900); margin-bottom: .8rem; font-size: 1.5rem; }
.info-box p { color: var(--text-soft); font-size: .97rem; }
.info-box table { margin: 0 auto; border-collapse: collapse; color: var(--text-soft); font-size: .97rem; }
.info-box td { padding: .15rem .5rem; text-align: left; }
.info-box td:first-child { font-weight: 600; color: var(--text); }
.note-placeholder { color: var(--gold-dark); font-style: italic; font-size: .88rem; margin-top: .6rem; }

/* ---------- Speisekarte ---------- */
.menu-nav {
  position: sticky; top: 84px; z-index: 40;
  background: var(--brand); border-bottom: 1px solid var(--brand-deep);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.menu-nav ul {
  display: flex; gap: .2rem; list-style: none;
  max-width: 1100px; margin: 0 auto; padding: .45rem 1.25rem; white-space: nowrap;
}
.menu-nav a {
  color: #263019; text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: .4rem .75rem; border-radius: 999px;
  transition: background .15s, color .15s;
}
.menu-nav a:hover, .menu-nav a.active { background: var(--brand-dark); color: var(--gold-pale); }

/* Filter-Chips */
.menu-filter {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
  padding-top: 2rem;
}
.chip {
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--text-soft);
  border: 1.5px solid var(--green-200);
  transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--brand-deep); color: var(--gold-pale); border-color: var(--brand-deep); }

.menu-section { padding: 3rem 0 1rem; }
.menu-section h2 {
  text-align: center; color: var(--green-900); font-size: 2.4rem; margin-bottom: .4rem;
}

.menu-list { display: grid; gap: 1.1rem; max-width: 880px; margin: 0 auto; }
.menu-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 1.2rem; align-items: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1rem 1.4rem 1rem 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-item:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(46, 51, 35, .15); }
.menu-item .thumb {
  width: 96px; height: 96px; border-radius: 50%; object-fit: contain;
  background: #fff; border: 2px solid var(--gold-pale); padding: 6px;
  transition: transform .3s ease;
}
.menu-item:hover .thumb { transform: scale(1.06); }
.menu-item .thumb.cover { object-fit: cover; }

.item-head { display: flex; align-items: baseline; gap: .7rem; }
.item-head h3 { color: var(--green-900); font-size: 1.45rem; }
.item-head h3 .num { color: var(--gold-dark); font-size: 1.1rem; margin-right: .15rem; }
.item-head h3 .badges { margin-left: .4rem; }
.item-head h3 sup { color: var(--text-soft); font-weight: 400; font-size: .68rem; letter-spacing: .05em; font-family: var(--font-body); }
.leader { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(154, 125, 51, .45); transform: translateY(-6px); }
.item-head .price {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  color: var(--gold-dark); white-space: nowrap;
}
.item-head .price small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 400; color: var(--text-soft); text-align: right; line-height: 1.3; }

.menu-item .desc { color: var(--text-soft); font-size: .95rem; margin-top: .25rem; }
.menu-item .desc-en { color: var(--green-600); font-size: .88rem; font-style: italic; font-family: Georgia, serif; margin-top: .15rem; }

.badges { display: inline-flex; gap: .35rem; vertical-align: middle; }
.badge {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px;
  letter-spacing: .02em;
}
.badge.veg { background: #e9efd9; color: #4a6428; border: 1px solid #c3d4a3; }
.badge.spice { background: #fbeee4; color: #a3400e; border: 1px solid #eccdb4; }

.legend {
  max-width: 880px; margin: 2.5rem auto 0; padding: 1.5rem 1.6rem;
  background: var(--green-100); border-radius: var(--radius);
  font-size: .85rem; color: var(--text-soft);
}
.legend h3 { color: var(--green-900); font-size: 1.25rem; margin-bottom: .5rem; }
.legend p { margin-bottom: .6rem; }

/* ---------- Über uns Seite ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 1.15rem; color: var(--text-soft); font-size: 1.05rem; }
.prose p.em { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--green-800); font-size: 1.35rem; }
.prose h2 { color: var(--green-900); font-size: 2rem; margin: 2rem 0 1rem; }
.prose-logo { height: 150px; width: auto; margin: 0 auto 2rem; }

/* ---------- Impressum / Datenschutz ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { color: var(--green-900); font-size: 2.6rem; margin-bottom: 1.6rem; }
.legal h2 { color: var(--green-800); font-size: 1.5rem; margin: 1.8rem 0 .6rem; }
.legal p { margin-bottom: .8rem; color: var(--text-soft); }

/* ---------- Page Hero (Unterseiten) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--brand-deep), var(--brand-soft));
  color: var(--gold-pale); text-align: center; padding: 3rem 1.25rem;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background:
    url('../assets/ornament-tl.png') top left / clamp(90px, 13vw, 160px) auto no-repeat,
    url('../assets/ornament-tr.png') top right / clamp(90px, 13vw, 160px) auto no-repeat;
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 3.5rem); letter-spacing: .14em; text-indent: .14em; }
.page-hero p { color: #f0eeda; font-style: italic; font-family: Georgia, serif; margin-top: .4rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--brand-dark); color: #eef0da;
  padding: 3rem 0 2rem; margin-top: 4rem; border-top: 3px solid var(--gold);
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background:
    url('../assets/ornament-tl-gold.png') top left / 150px auto no-repeat,
    url('../assets/ornament-tr-gold.png') top right / 150px auto no-repeat;
}
.site-footer > * { position: relative; }
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  max-width: 1100px; margin: 0 auto; padding: 0 1.25rem;
}
.site-footer h3 { color: var(--gold-pale); font-size: 1.4rem; margin-bottom: .7rem; }
.site-footer a { color: #eef0da; text-decoration: none; }
.site-footer a:hover { color: var(--gold-pale); text-decoration: underline; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .35rem; }
.footer-bottom {
  text-align: center; margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .22); font-size: .85rem; color: #d9dfc0;
}
.footer-logo { height: 64px; width: auto; margin-bottom: .8rem; }

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards, .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--brand-deep);
    padding: .8rem 1.25rem 1.2rem; gap: .3rem; align-items: stretch;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; }
  .menu-nav { top: 78px; }
  .brand img { height: 48px; }
  .brand span { font-size: 1.5rem; }
  .menu-item { grid-template-columns: 72px 1fr; }
  .menu-item .thumb { width: 72px; height: 72px; }
  .item-head { flex-wrap: wrap; row-gap: 0; }
  .item-head .price { font-size: 1.3rem; }
  .hero img.hero-logo { height: 135px; }
  .hero-kicker { font-size: .7rem; letter-spacing: .28em; text-indent: .28em; }
  .scroll-top { bottom: 4.6rem; }
}
