/* Aslans Welt – Obst & Gemüse Ecke
   Selbst-gehostetes Stylesheet, keine externen Schriften/Tracker (DSGVO-konform) */

:root {
  --green-900: #14361f;
  --green-700: #1f7a3d;
  --green-600: #2e9e51;
  --green-100: #e7f4ea;
  --orange:    #f08a24;
  --orange-d:  #d9741a;
  --logo-red:  #d23f6a;
  --cream:     #fbfaf4;
  --ink:       #1f2a24;
  --muted:     #5d6b62;
  --line:      #e4e6e0;
  --white:     #ffffff;
  --shadow:    0 8px 30px rgba(20, 54, 31, .10);
  --radius:    18px;
  --maxw:      1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 244, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 22px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.logo-plant { width: 40px; height: 40px; flex: 0 0 auto; }
.wordmark {
  font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", "Snell Roundhand", cursive;
  color: var(--logo-red); font-weight: 700; line-height: 1; white-space: nowrap;
  font-size: clamp(1.15rem, 4.6vw, 1.6rem);
}
/* Logo im dunklen Footer heller/weiß, damit es lesbar bleibt */
.site-footer .wordmark { color: #fff; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-cta {
  background: var(--orange); color: #fff !important; padding: 9px 16px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 4px 14px rgba(240,138,36,.35);
}
.nav-cta:hover { background: var(--orange-d); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--green-100), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  padding: 64px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-100); color: var(--green-700);
  font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: 999px; letter-spacing: .03em;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; color: var(--green-900); margin: 18px 0 14px; letter-spacing: -.01em; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 2px solid transparent; transition: .18s;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--green-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-600); text-decoration: none; }

/* Hero card: heutiger Status */
.hero-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 26px;
}
.hero-card h3 { font-size: 1.05rem; color: var(--green-900); margin-bottom: 4px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem;
  padding: 8px 16px; border-radius: 999px; margin: 12px 0 6px;
}
.status-open  { background: var(--green-100); color: var(--green-700); }
.status-closed{ background: #fde8e4; color: #c0392b; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(46,158,81,.18); }
.hero-card .today-line { color: var(--muted); font-size: .95rem; }

.produce-band { font-size: 1.6rem; letter-spacing: 6px; margin-top: 20px; opacity: .9; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--green-900); letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin-top: 10px; }

.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Sortiment cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: .18s; box-shadow: 0 2px 0 rgba(20,54,31,.02);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card .ic { font-size: 2rem; }
.card h3 { margin: 12px 0 6px; color: var(--green-900); font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Öffnungszeiten ---------- */
.hours-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hours-table th { text-align: left; background: var(--green-700); color: #fff; padding: 14px 20px; font-size: 1rem; }
.hours-table td { padding: 13px 20px; border-top: 1px solid var(--line); font-size: 1rem; }
.hours-table tr td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.hours-table tr.closed td:last-child { color: #c0392b; }
.hours-table tr.is-today { background: var(--green-100); }
.hours-table tr.is-today td:first-child { font-weight: 800; color: var(--green-900); position: relative; }
.hours-table tr.is-today td:first-child::before { content: "▸ "; color: var(--orange); }
.hours-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

.contact-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-box h3 { color: var(--green-900); margin-bottom: 14px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row .ic { font-size: 1.25rem; width: 26px; text-align: center; }
.contact-row a { font-weight: 600; }
.contact-box .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d7e6dc; padding: 50px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1.05rem; }
.site-footer a { color: #bfe0cb; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #9bbfa6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: #9bbfa6; }
.footer-bottom a { color: #9bbfa6; }

/* ---------- Rechtstexte (Impressum/Datenschutz) ---------- */
.legal { padding: 56px 0 70px; }
.legal h1 { color: var(--green-900); font-size: 2rem; margin-bottom: 8px; }
.legal h2 { color: var(--green-700); font-size: 1.25rem; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 8px; }
.legal ul { margin-left: 20px; }
.legal .back { display: inline-block; margin-bottom: 26px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hours-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 14px 22px; gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
