/* ============================================================
   Spargelhof am Storchennest — Redesign
   Typografie-getriebenes Editorial-Design
   ============================================================ */

:root {
  --cream: #f6f1e4;
  --cream-deep: #ede4cd;
  --paper: #fffdf6;
  --ink: #28301d;
  --ink-soft: #4a523c;
  --green: #44542f;
  --sage: #93a371;
  --sage-soft: #c6cfae;
  --violet: #8a7ba0;
  --line: rgba(40, 48, 29, 0.16);
  --shadow: 0 18px 40px -18px rgba(40, 48, 29, 0.35);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--sage-soft); }

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

a { color: var(--green); text-decoration-color: var(--sage); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 228, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { width: 38px; height: 38px; flex-shrink: 0; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav a:hover { background: var(--cream-deep); color: var(--ink); }
.nav a.is-active { background: var(--green); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    gap: 2px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(147, 163, 113, 0.22), transparent 65%),
    radial-gradient(900px 420px at -10% 110%, rgba(138, 123, 160, 0.14), transparent 60%),
    var(--cream);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--sage);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 420;
  color: var(--green);
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 34px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.btn--primary { background: var(--green); color: var(--paper); }
.btn--primary:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green); transform: translateY(-2px); }

.hero__facts {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
}

.fact span { font-size: 0.82rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* Foto-Collage im Hero */
.hero__collage { position: relative; min-height: 420px; }

.polaroid {
  position: absolute;
  background: var(--paper);
  padding: 10px 10px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.polaroid img { border-radius: 4px; width: 100%; height: auto; }

.polaroid figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding-top: 8px;
  text-align: center;
}

.polaroid:hover { transform: scale(1.04) rotate(0deg) !important; z-index: 5; }

.hero__collage .polaroid:nth-child(1) { width: 230px; top: 0; left: 4%; transform: rotate(-4deg); }
.hero__collage .polaroid:nth-child(2) { width: 215px; top: 110px; right: 0; transform: rotate(3deg); z-index: 2; }
.hero__collage .polaroid:nth-child(3) { width: 225px; bottom: 0; left: 16%; transform: rotate(-2deg); z-index: 3; }

@media (max-width: 920px) {
  .hero { padding: 56px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__collage { min-height: 380px; }
  .hero__collage .polaroid:nth-child(1) { left: 0; }
  .hero__collage .polaroid:nth-child(3) { left: 24%; }
}

/* ---------- Saison-Band ---------- */
.ribbon {
  background: var(--green);
  color: var(--cream);
  padding: 16px 0;
}

.ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
  font-size: 0.95rem;
}

.ribbon strong { font-family: var(--font-display); font-size: 1.05rem; }
.ribbon .dot { opacity: 0.5; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--cream-deep); }

.section-head { max-width: 720px; margin-bottom: 48px; }

h2.title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

h2.title em { font-style: italic; font-weight: 420; color: var(--green); }

.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* Fließtext-Bereiche */
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.35em; color: var(--ink-soft); }
.prose p strong, .prose p b { color: var(--ink); }
.prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--green);
  border-left: 3px solid var(--sage);
  padding-left: 22px;
  margin: 2em 0;
}

/* Zwei-Spalten: Text + Galerie */
.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Foto-Stile ---------- */
.photo-stack { display: grid; gap: 26px; }

.photo {
  background: var(--paper);
  padding: 10px 10px 13px;
  border-radius: 10px;
  box-shadow: 0 10px 28px -14px rgba(40, 48, 29, 0.3);
  margin: 0;
}

.photo img { border-radius: 5px; width: 100%; height: auto; }

.photo figcaption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding-top: 8px;
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 24px;
  align-items: start;
}

.photo--wide { max-width: 420px; margin: 2em auto; }

/* ---------- Kapitel (Vom Feld auf den Tisch) ---------- */
.chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.chapter:first-of-type { border-top: none; }

.chapter__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 420;
  color: var(--sage);
  line-height: 1;
  position: sticky;
  top: 96px;
  height: fit-content;
}

.chapter h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.chapter__sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 26px;
}

.chapter .split { grid-template-columns: 1.6fr 1fr; gap: 48px; }

@media (max-width: 920px) {
  .chapter { grid-template-columns: 1fr; gap: 12px; padding: 56px 0; }
  .chapter__num { position: static; font-size: 2.2rem; }
  .chapter .split { grid-template-columns: 1fr; }
}

/* Kapitel-Sprungleiste */
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chapter-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s;
}

.chapter-nav a:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }

/* ---------- Karten (Restaurants, Teaser) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.25;
}

.card .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(147, 163, 113, 0.18);
  padding: 4px 12px;
  border-radius: 999px;
}

.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card .card__meta { font-size: 0.9rem; color: var(--ink); line-height: 1.6; }

.card a.card__link { font-weight: 600; font-size: 0.92rem; text-decoration: none; color: var(--green); margin-top: auto; }
.card a.card__link:hover { text-decoration: underline; }

/* Teaser-Karten mit Foto */
.teaser {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }

.teaser__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-deep); }
.teaser__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.teaser:hover .teaser__img img { transform: scale(1.05); }

.teaser__body { padding: 22px 24px 26px; }
.teaser__body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.teaser__body p { font-size: 0.92rem; color: var(--ink-soft); }
.teaser__body .more { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--green); }

/* ---------- Video ---------- */
.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Anfahrt / Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 8px; }

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 1rem;
}

.contact-list .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  min-width: 88px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 228, 0.85);
  padding: 64px 0 40px;
  font-size: 0.92rem;
}

.site-footer a { color: var(--cream); text-decoration-color: rgba(246, 241, 228, 0.4); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.site-footer h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 14px;
}

.site-footer ul { list-style: none; display: grid; gap: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(246, 241, 228, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(246, 241, 228, 0.55);
}

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

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

/* ---------- Page-Hero (Unterseiten) ---------- */
.page-hero { padding: 72px 0 56px; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.page-hero h1 em { font-style: italic; font-weight: 420; color: var(--green); }

.page-hero p { color: var(--ink-soft); font-size: 1.08rem; max-width: 44em; }

/* Hinweis-Box */
.note {
  background: rgba(147, 163, 113, 0.14);
  border: 1px solid rgba(147, 163, 113, 0.4);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 1.6em 0;
}

.note strong { color: var(--ink); }
