/* ════════════════════════════════════════════
   POLTENHOF  –  Pure CSS (no framework)
   ════════════════════════════════════════════ */

:root {
  --yellow:   #ECEC75;
  --yellow-d: #d4d45e;
  --black:    #0f172a;
  --white:    #ffffff;
  --gray:     #6b7280;
  --gray-l:   #f9fafb;
  --radius:   0.75rem;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --shadow-l: 0 2px 8px  rgba(0,0,0,.08);
  --font-serif: 'Crimson Text', 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--black); line-height: 1.6; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utility ── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section        { padding: 5rem 0; }
.bg-white       { background: var(--white); }
.bg-yellow      { background: var(--yellow); }
.section-title  { font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; margin-bottom: .75rem; text-align: center; }
.section-sub    { color: var(--gray); text-align: center; max-width: 680px; margin: 0 auto 3rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; transition: opacity .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover  { opacity: .85; }
.btn:active { transform: scale(.97); }
.btn-dark    { background: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn-sm      { padding: .5rem 1.1rem; font-size: .875rem; }

/* ════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-l);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
}
.nav-links {
  display: flex; gap: 2rem;
}
.nav-links a {
  font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #666; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; height: 32px; justify-content: center; align-items: center;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--black); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  padding-top: 64px; /* navbar height */
  background: linear-gradient(180deg, var(--yellow) 0%, #e6e67c 100%);
  min-height: 100vh; display: flex; align-items: center;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-logo   { width: min(280px, 90%); margin-bottom: 1.5rem; }
.hero-text h2 {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.hero-text p  { font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.hero-btns    { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-image img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; object-fit: cover; aspect-ratio: 4/3;
}

/* ════════════════════════════════════════════
   ÜBER UNS
   ════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-text h3 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700; margin-bottom: 1rem;
}
.about-text p  { color: #374151; margin-bottom: 1rem; }
.badges        { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: .75rem;
}
.badge-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); flex-shrink: 0;
  border: 2px solid var(--black);
}
.badge strong { display: block; font-weight: 700; }
.badge span   { font-size: .85rem; color: var(--gray); }
.about-photo img {
  border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0,0,0,.15);
  width: 100%; object-fit: cover; aspect-ratio: 3/4;
}

/* ════════════════════════════════════════════
   PRODUKTE
   ════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-l); overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card > img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.product-body {
  padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1;
}
.product-body h4   { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; }
.product-body em   { font-size: .85rem; color: var(--gray); }
.product-body p    { font-size: .9rem; color: #374151; flex: 1; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* ════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 2000;
  overflow-y: auto; padding: 2rem 1rem;
  align-items: flex-start; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius);
  max-width: 680px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 1.5rem; line-height: 1; color: #555;
  transition: color .2s;
}
.modal-close:hover { color: var(--black); }
.modal-box > img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-content { padding: 1.5rem 2rem 2rem; }
.modal-content h4 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; margin-bottom: .25rem; }
.modal-content em { color: var(--gray); font-size: .9rem; }
.modal-content p  { margin-top: .75rem; }
.modal-section    { margin-top: 1.25rem; }
.modal-section h5 { font-weight: 700; margin-bottom: .5rem; }
.modal-section ul { list-style: disc; padding-left: 1.25rem; }
.modal-section ul li { margin-bottom: .25rem; font-size: .95rem; }

/* ════════════════════════════════════════════
   GESUNDHEIT & REZEPTE
   ════════════════════════════════════════════ */
.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start;
}
.benefits-card {
  background: var(--yellow); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-l);
}
.benefits-card h4 {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem;
}
.check-list { display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check {
  width: 24px; height: 24px; background: var(--black); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0; font-weight: 700;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: .5rem; }
.acc-item   { background: rgba(255,255,255,.7); border-radius: .5rem; overflow: hidden; }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: .5rem;
  padding: .9rem 1rem; font-weight: 600; font-size: .95rem;
  text-align: left;
}
.acc-head span:first-child { flex: 1; }
.acc-meta   { font-size: .8rem; color: var(--gray); font-weight: 400; white-space: nowrap; }
.acc-arrow  { font-size: .75rem; transition: transform .25s; color: var(--gray); }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body {
  display: none; padding: 0 1rem 1rem;
}
.acc-body p  { font-size: .9rem; margin-bottom: .75rem; }
.acc-body ol { list-style: decimal; padding-left: 1.25rem; }
.acc-body ol li { font-size: .9rem; margin-bottom: .35rem; }
.acc-item.open .acc-body { display: block; }

/* ════════════════════════════════════════════
   MARKT
   ════════════════════════════════════════════ */
.market-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.market-block-full { grid-column: 1 / -1; }

.market-block-title {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem;
}
.market-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-l);
}
.market-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.market-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.badge-regular {
  background: var(--black); color: var(--white);
  font-size: .75rem; font-weight: 600; padding: .25rem .75rem; border-radius: 999px;
}
.market-card h5 { font-weight: 700; margin-bottom: .5rem; }
.market-card p  { font-size: .9rem; margin-bottom: .25rem; }

/* Coops */
.coops-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem;
}
.coop-card {
  background: var(--white); border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-l); display: flex; flex-direction: column;
  align-items: center; gap: .75rem; text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.coop-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.coop-card img { height: 56px; width: auto; max-width: 160px; object-fit: contain; }
.coop-card span { font-size: .9rem; font-weight: 600; }

/* Gastro */
.gastro-box {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-l);
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.gastro-icon {
  width: 52px; height: 52px; background: var(--yellow);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.gastro-box h4 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.gastro-box p  { font-size: .95rem; margin-bottom: .75rem; }

/* ════════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem;
}
.contact-card {
  background: var(--yellow); border-radius: var(--radius);
  padding: 2rem 1.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.contact-icon {
  width: 52px; height: 52px; background: var(--black);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.contact-card h4 { font-weight: 700; font-size: 1rem; }
.contact-card a  { font-size: .95rem; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p  { font-size: .95rem; }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  background: var(--black); color: var(--white);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; margin-bottom: 3rem;
}
.footer-grid h5 { font-weight: 700; margin-bottom: .75rem; font-size: 1rem; }
.footer-grid p, .footer-grid address { font-size: .9rem; color: #9ca3af; line-height: 1.7; }
.footer-grid ul li a  { font-size: .9rem; color: #9ca3af; transition: color .2s; }
.footer-grid ul li { margin-bottom: .35rem; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-grid address a { color: #9ca3af; }
.footer-grid address a:hover { color: var(--white); }

.footer-legal {
  border-top: 1px solid #1f2937;
  padding-top: 2rem; margin-bottom: 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.footer-legal h6 { font-size: .85rem; font-weight: 700; margin-bottom: .4rem; }
.footer-legal p  { font-size: .8rem; color: #6b7280; }
.footer-copy {
  text-align: center; font-size: .8rem; color: #6b7280;
  border-top: 1px solid #1f2937; padding-top: 1.5rem;
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid    { grid-template-columns: 1fr; }
  .about-photo   { order: -1; }
  .about-photo img { aspect-ratio: 16/9; }
  .benefits-grid { grid-template-columns: 1fr; }
  .market-sections { grid-template-columns: 1fr; }
  .footer-legal  { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block; padding: .8rem 2rem; font-size: 1rem;
    border-bottom: 1px solid #f3f4f6;
  }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .hero-inner { padding: 2.5rem 1.5rem; }
  .hero-text h2 { font-size: 1.6rem; }
  .modal-content { padding: 1.25rem 1.25rem 1.5rem; }
  .gastro-box { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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