/* =====================================================
   Zeder Catering – Stylesheet
   Farben: Zederngrün, Creme, Sand, Gold, Terrakotta
   ===================================================== */

:root {
  --cedar: #1f4633;
  --cedar-dark: #14311f;
  --cedar-light: #2e5f45;
  --cream: #faf5ec;
  --sand: #f0e6d4;
  --sand-dark: #e3d5bb;
  --gold: #c9973b;
  --terracotta: #b85c38;
  --ink: #26221b;
  --ink-soft: #5d5546;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 34, 27, 0.10);
  --shadow-soft: 0 4px 14px rgba(38, 34, 27, 0.08);
  --font-display: Georgia, "Times New Roman", "Songti SC", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

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

a { color: var(--cedar); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--cedar); color: var(--white); }
.btn-primary:hover { background: var(--cedar-light); }
.btn-secondary { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cedar); border-color: var(--cedar); }
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--cedar);
}
.brand-logo { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.25rem; }
.brand-text small { color: var(--ink-soft); font-size: 0.78rem; letter-spacing: 0.04em; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.97rem;
}
.main-nav a:hover { color: var(--cedar); }
.nav-cta {
  background: var(--cedar);
  color: var(--white) !important;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--cedar-light); }
.nav-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--cedar);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(201, 151, 59, 0.14), transparent 55%),
    linear-gradient(160deg, var(--cream) 55%, var(--sand) 100%);
  padding: 4.5rem 0 4rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-eyebrow {
  color: var(--terracotta);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: var(--cedar-dark); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; color: var(--ink-soft); font-size: 0.92rem; }
.hero-art svg { width: 100%; max-width: 330px; margin: 0 auto; display: block; }

/* ---------- Steps ---------- */
.steps { padding: 3.5rem 0; background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step { text-align: center; padding: 0 0.5rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--cedar);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.step h3 { color: var(--cedar-dark); margin-bottom: 0.4rem; font-size: 1.15rem; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Anlässe ---------- */
.occasions { padding: 4rem 0 3.5rem; background: var(--cream); }
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.occasion {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
  border-left: 4px solid var(--gold);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.occasion:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.occasion-icon { font-size: 1.7rem; display: block; margin-bottom: 0.5rem; }
.occasion h3 { color: var(--cedar-dark); font-size: 1.08rem; margin-bottom: 0.3rem; }
.occasion p { color: var(--ink-soft); font-size: 0.9rem; }
.occasions-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Section headings ---------- */
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--cedar-dark); text-align: center; }
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0.7rem auto 2.4rem;
}

/* ---------- Pakete ---------- */
.packages { padding: 4rem 0 3rem; }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.package-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--sand-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.package-card.featured { border-top-color: var(--gold); }
.package-flag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.package-card h3 { color: var(--cedar-dark); font-size: 1.3rem; margin-bottom: 0.3rem; }
.package-desc { color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 1rem; }
.package-dishes { list-style: none; margin-bottom: 1.2rem; flex: 1; }
.package-dishes li {
  padding: 0.28rem 0;
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--sand-dark);
}
.package-dishes li::before { content: "· "; color: var(--gold); font-weight: 700; }
.package-pricenote {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 1rem;
}

/* ---------- Menü ---------- */
.menu { padding: 3rem 0 4rem; }
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.filter-btn {
  border: 1.5px solid var(--sand-dark);
  background: var(--white);
  color: var(--ink);
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--cedar); color: var(--cedar); }
.filter-btn.active { background: var(--cedar); border-color: var(--cedar); color: var(--white); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}
.dish-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dish-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dish-card.selected { outline: 3px solid var(--gold); }
.dish-img { width: 100%; height: 165px; object-fit: cover; background: var(--sand); }
.dish-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.dish-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}
.dish-body h3 { font-size: 1.12rem; color: var(--cedar-dark); margin-bottom: 0.3rem; }
.dish-desc { font-size: 0.88rem; color: var(--ink-soft); flex: 1; margin-bottom: 0.9rem; }
.dish-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.dish-heart {
  font-size: 0.82rem;
  color: var(--terracotta);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.dish-add {
  border: 1.5px solid var(--cedar);
  background: var(--white);
  color: var(--cedar);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.dish-add:hover { background: var(--cedar); color: var(--white); }
.dish-card.selected .dish-add { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Bestellen ---------- */
.order { padding: 4rem 0; background: var(--white); }
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  align-items: start;
}
.order-summary {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: sticky;
  top: 90px;
  border: 1px solid var(--sand-dark);
}
.order-summary h3 { color: var(--cedar-dark); margin-bottom: 1rem; font-size: 1.25rem; }
.summary-list { list-style: none; margin-bottom: 1.2rem; max-height: 300px; overflow-y: auto; }
.summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--sand-dark);
  font-size: 0.92rem;
}
.summary-empty { color: var(--ink-soft); font-style: italic; border-bottom: none !important; display: block !important; }
.summary-remove {
  border: none;
  background: none;
  color: var(--terracotta);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0.2rem;
}
.summary-totals { border-top: 2px solid var(--sand-dark); padding-top: 0.9rem; }
.totals-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.97rem; }
.summary-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.8rem; }

.order-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--cedar-dark); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.field-hint { color: var(--ink-soft); font-size: 0.78rem; }
.form-error {
  background: #fbe9e2;
  border: 1px solid var(--terracotta);
  color: #8a3d20;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
}
.form-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 0.4rem; }
.form-alt { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
.gallery { padding: 4rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
  position: relative;
}
.gallery-item img { width: 100%; height: 230px; object-fit: cover; }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(20, 49, 31, 0.82));
  color: var(--white);
  padding: 1.6rem 1rem 0.8rem;
  font-size: 0.88rem;
}
.gallery-item video { width: 100%; height: 230px; object-fit: cover; display: block; background: var(--cedar-dark); }

/* ---------- Über uns ---------- */
.about { padding: 4rem 0; background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about .section-title { text-align: left; }
.about-text p { margin-top: 1rem; color: var(--ink-soft); }
.about-signature { font-family: var(--font-display); font-style: italic; color: var(--cedar) !important; font-size: 1.1rem; }
.about-side { display: flex; flex-direction: column; gap: 1.3rem; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: block;
}
.about-photo figcaption {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.about-card {
  background: var(--cream);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.about-card h3 { color: var(--cedar-dark); margin-bottom: 0.9rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.97rem; }
.contact-note { margin-top: 1rem; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { padding: 3.5rem 0 4rem; min-height: 60vh; }
.legal-inner { max-width: 46rem; }
.legal h1 { color: var(--cedar-dark); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1.5rem; }
.legal h2 { color: var(--cedar-dark); font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.97rem; }
.legal ul { padding-left: 1.3rem; margin: 0.5rem 0; }
.legal mark {
  background: #ffe9a8;
  border: 1px dashed var(--terracotta);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-weight: 600;
  color: #7a4a12;
}
.legal-back { margin-top: 2.5rem; }
.legal-back a { font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cedar-dark);
  color: var(--sand);
  padding: 2.2rem 0 5.5rem;
  text-align: center;
}
.footer-links a { color: var(--sand); }
.footer-copy { font-size: 0.85rem; opacity: 0.7; margin-top: 0.5rem; }

/* ---------- Sticky Bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--cedar-dark);
  color: var(--white);
  box-shadow: 0 -6px 20px rgba(38, 34, 27, 0.25);
}
.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.sticky-info { font-size: 0.95rem; }
.sticky-bar .btn-primary { background: var(--gold); color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .steps-grid, .packages-grid, .gallery-grid, .occasions-grid { grid-template-columns: 1fr 1fr; }
  .order-layout, .about-inner { grid-template-columns: 1fr; }
  .order-summary { position: static; order: 2; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 4%;
    gap: 0.9rem;
    border-bottom: 1px solid var(--sand-dark);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .steps-grid, .packages-grid, .gallery-grid, .occasions-grid, .form-row-2 { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
}
