/* =====================================================
   DREI KLEINE IMKER – Gemeinsames Stylesheet
   ===================================================== */

/* === RESET & TOKENS === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --honey:       #f4c542;
  --honey-dark:  #d4a017;
  --honey-deep:  #b06b00;
  --brown:       #5c3a1e;
  --brown-mid:   #8B5E3C;
  --green:       #3c6b2f;
  --green-light: #4caf50;
  --cream:       #fffbe6;
  --cream-dark:  #fff2cc;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 4px 18px rgba(0,0,0,0.10);
}

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  color: #333;
  background-color: #fdf3d0;
  background-image: url('Drei_kleine_Imker.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center bottom;
  background-repeat: no-repeat;
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: 'Pacifico', cursive;
  color: var(--brown);
  line-height: 1.25;
}

a { color: var(--honey-deep); }
a:hover { color: var(--brown); }

img { max-width: 100%; height: auto; }

/* ── STICKY NAVIGATION ────────────────────────────── */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.12);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.nav-logo-text {
  font-family: 'Pacifico', cursive;
  color: var(--honey-deep);
  font-size: 1.25rem;
  line-height: 1;
  white-space: nowrap;
}

/* Font Awesome Icons – globales Styling */
.fa-solid, .fa-brands, .fa-regular {
  font-size: 0.95em;
  vertical-align: middle;
  line-height: 1;
}
.sec-title .fa-solid,
.sec-title .fa-brands {
  font-size: 1.1em;
  margin-right: 0.3rem;
  color: var(--honey-deep);
}
.prinzip-icon .fa-solid {
  font-size: 2rem;
  color: var(--honey-deep);
}
.kind-icon .fa-solid {
  font-size: 2.8rem;
  color: var(--honey-deep);
}
.empty-icon .fa-solid {
  font-size: 4rem;
  color: var(--honey-deep);
  display: block;
  margin-bottom: 1rem;
}
.acc summary .fa-solid {
  margin-right: 0.4rem;
  color: var(--honey-deep);
}
.filter-btn .fa-solid,
.filter-btn .fa-brands {
  margin-right: 0.3rem;
}

/* Desktop links */
.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--honey);
  color: var(--brown);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--brown);
  z-index: 2100;
  flex-shrink: 0;
}
.nav-hamburger .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--brown);
  border-radius: 3px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; }
.nav-hamburger.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobiles Overlay-Menü */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 251, 230, 0.98);
  backdrop-filter: blur(8px);
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  text-decoration: none;
  color: var(--brown);
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  padding: 0.6rem 2rem;
  border-radius: 12px;
  transition: background 0.18s;
  text-align: center;
}
.nav-overlay a:hover,
.nav-overlay a.active {
  background: var(--honey);
}
.overlay-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--brown);
  line-height: 1;
}
.nav-overlay-logo {
  font-family: 'Pacifico', cursive;
  color: var(--honey-deep);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}
.nav-overlay-logo img {
  height: 50px;
  display: block;
  margin: 0 auto 0.4rem;
}

/* ── FLOATING SOCIAL ──────────────────────────────── */
.social-float {
  position: fixed;
  top: 80px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}
.soc-link {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.soc-link:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}
.soc-link img { width: 26px; height: 26px; }

/* ── PAGE WRAPPER ─────────────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto 0;
  background: rgba(255,255,255,0.93);
  min-height: calc(100vh - 62px);
}

/* ── PAGE HERO (klein, für Unterseiten) ──────────── */
.page-hero {
  background: linear-gradient(135deg, rgba(244,197,66,0.82) 0%, rgba(180,107,0,0.72) 100%);
  padding: 4rem 2rem 3rem;
  text-align: center;
  /* Das Hintergrundbild (body) scheint durch den halbtransparenten Farbverlauf */
}
.page-hero h1 {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
}
.page-hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  margin: 0;
  max-width: 600px;
  margin-inline: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* ── SECTIONS ─────────────────────────────────────── */
.section {
  padding: 3rem 2rem;
}
.section + .section {
  border-top: 2px dashed rgba(212,160,23,0.35);
}
.sec-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.4rem;
}
.sec-sub {
  text-align: center;
  color: var(--brown-mid);
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

/* ── INFO CARD ────────────────────────────────────── */
.info-card {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 2px solid var(--honey);
  border-radius: 18px;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  color: var(--brown);
  font-size: 1rem;
  line-height: 1.8;
}
.info-card.green { border-color: var(--green); }

/* ── GRID UTILITIES ───────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }

/* ── PRODUCT CARDS ────────────────────────────────── */
.produkt-card {
  background: var(--white);
  border: 2px solid var(--honey);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.produkt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.14);
}
.produkt-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--cream);
  padding: 0.5rem;
}
.produkt-body {
  padding: 1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.produkt-body h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--brown);
  margin: 0 0 0.4rem;
}
.produkt-body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  flex: 1;
  margin: 0 0 0.5rem;
}
.produkt-preis {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--honey-deep);
  margin: 0.3rem 0 0.4rem;
}
.p-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.badge {
  padding: 3px 9px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  display: inline-block;
}
.badge-f { background: var(--green-light); }
.badge-s { background: var(--honey-dark); color: var(--brown); }
.badge-info { background: #6baed6; }

/* ── DETAIL ACCORDIONS ────────────────────────────── */
details.acc {
  background: #fffdf7;
  border: 2px solid var(--honey-dark);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
details.acc.green { border-color: var(--green); }
details.acc:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); }
details.acc > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  color: var(--honey-deep);
  padding: 0.2rem 0;
  user-select: none;
}
details.acc.green > summary { color: var(--green); }
details.acc[open] { animation: fadein 0.3s ease; }
.acc-body {
  margin-top: 0.9rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--brown);
}

/* ── STEPS ────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 0.9rem; max-width: 780px; margin: 0 auto; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-left: 5px solid var(--honey);
}
.step.green { border-left-color: var(--green); }
.step-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
  line-height: 1.1;
}
.step-text h4 {
  margin: 0 0 0.3rem;
  font-weight: 800;
  color: var(--brown);
  font-size: 1.02rem;
  font-family: 'Nunito', sans-serif;
}
.step-text p { margin: 0; font-size: 0.93rem; color: #555; line-height: 1.65; }

/* ── FACT CARDS ───────────────────────────────────── */
.fact-card {
  background: var(--white);
  border: 2px solid var(--honey);
  border-radius: var(--radius);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.fact-card:hover { transform: scale(1.04); }
.fact-icon { font-size: 2.6rem; }
.fact-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--honey-deep);
  display: block;
  margin: 0.3rem 0 0.2rem;
}
.fact-card p { margin: 0; font-size: 0.83rem; color: var(--brown-mid); line-height: 1.45; }

/* ── TABS ─────────────────────────────────────────── */
.tab-nav {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.tab-btn {
  padding: 0.48rem 1.1rem;
  border-radius: 30px;
  border: 2px solid var(--honey);
  background: var(--cream);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.tab-btn.active, .tab-btn:hover { background: var(--honey); color: var(--brown); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadein 0.3s ease; }
.tab-bg {
  background: linear-gradient(180deg, #f0fae8 0%, #fffdf5 100%);
  border-radius: 18px;
  padding: 2rem 1.5rem;
}

/* ── QUIZ ─────────────────────────────────────────── */
.quiz-wrap { max-width: 740px; margin: 0 auto; }
.quiz-q {
  background: var(--white);
  border: 2px solid var(--honey);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.quiz-q h4 {
  margin: 0 0 1rem;
  color: var(--brown);
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
}
.quiz-opts { display: flex; flex-direction: column; gap: 0.5rem; }
.quiz-opt {
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--honey);
  background: var(--cream);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--brown);
  text-align: left;
  transition: background 0.15s;
}
.quiz-opt:hover { background: var(--honey); }
.quiz-opt.correct { background: #c8f7c5; border-color: var(--green); color: #1a6e1a; }
.quiz-opt.wrong   { background: #ffd0d0; border-color: #cc0000; color: #990000; }
.quiz-fb { margin-top: 0.5rem; font-weight: 700; font-size: 0.9rem; min-height: 1.4em; }
.quiz-btn {
  display: block;
  margin: 1.4rem auto 0;
  padding: 0.75rem 2rem;
  background: var(--honey);
  color: var(--brown);
  border: none;
  border-radius: 30px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s;
}
.quiz-btn:hover { background: var(--honey-dark); color: #fff; }
.quiz-result {
  display: none;
  text-align: center;
  padding: 1.8rem;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border-radius: var(--radius);
  border: 2px solid var(--honey);
  margin-top: 1rem;
}

/* ── TIMELINE ─────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 740px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--honey), var(--green));
  border-radius: 3px;
}
.tl-item {
  position: relative;
  margin-bottom: 1.4rem;
  padding-left: 1.4rem;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--honey);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--honey-dark);
}
.tl-item .tl-month {
  font-weight: 800;
  color: var(--honey-deep);
  font-size: 0.97rem;
  margin-bottom: 0.2rem;
}
.tl-item .tl-text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* ── HIGHLIGHT BOX ────────────────────────────────── */
.highlight-box {
  border: 2px solid var(--honey);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  color: var(--brown);
}
.highlight-box.green { border-color: var(--green); }
.highlight-box h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--honey-deep);
  margin: 0 0 0.6rem;
}
.highlight-box.green h4 { color: var(--green); }
.highlight-box p, .highlight-box ul { font-size: 0.93rem; line-height: 1.7; margin: 0; }
.highlight-box ul { padding-left: 1.3rem; }
.highlight-box li { margin: 0.3rem 0; }

/* ── VERKAUF CARDS ────────────────────────────────── */
.verkauf-card {
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border: 2px solid var(--honey);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  color: var(--brown);
  box-shadow: var(--shadow);
}
.verkauf-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--honey-deep);
  margin: 0 0 0.8rem;
}
.verkauf-card p { font-size: 0.93rem; line-height: 1.75; margin: 0; }
.verkauf-card a { color: var(--honey-deep); font-weight: 700; text-decoration: none; }
.verkauf-card a:hover { text-decoration: underline; }

/* ── ZERTIFIKATE ──────────────────────────────────── */
details.zert {
  flex: 1;
  min-width: 270px;
  background: #fffdf7;
  border: 2px solid var(--honey-dark);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
details.zert.green { border-color: var(--green); }
details.zert > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.97rem;
  list-style: none;
  text-align: center;
  padding: 0.25rem 0;
  user-select: none;
}
details.zert > summary { color: var(--honey-deep); }
details.zert.green > summary { color: var(--green); }
details.zert[open] { animation: fadein 0.3s ease; }
.zert-nr {
  border: 1px solid currentColor;
  display: inline-block;
  padding: 2px 8px;
  font-weight: 800;
  border-radius: 5px;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}
.zert-body { margin-top: 0.8rem; font-size: 0.92rem; line-height: 1.65; }
.zert-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }

/* ── FOOTER ───────────────────────────────────────── */
footer.main-footer {
  background: var(--brown);
  color: #e8d5b7;
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1050px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem;
}
.footer-grid h4 {
  font-family: 'Pacifico', cursive;
  color: var(--honey);
  margin: 0 0 0.7rem;
  font-size: 1rem;
}
.footer-grid p,
.footer-grid li  { font-size: 0.88rem; line-height: 1.75; margin: 0; }
.footer-grid a   { color: var(--honey); }
.footer-grid ul  { list-style: none; padding: 0; }
footer hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 900px;
  margin: 1.2rem auto;
}
.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.62;
}

/* ── ANIMATIONS ───────────────────────────────────── */
@keyframes fadein  { from { opacity: 0; }              to { opacity: 1; } }
@keyframes slideup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wiggle  {
  0%,100% { transform: rotate(-4deg); }
  50%     { transform: rotate(4deg); }
}
.bee-wiggle { display: inline-block; animation: wiggle 1.8s ease-in-out infinite; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links      { display: none !important; }
  .nav-hamburger  { display: flex; flex-direction: column; align-items: center; }

  .social-float {
    top: auto;
    bottom: 16px;
    right: 14px;
    flex-direction: row;
  }

  .section { padding: 2rem 1rem; }
  body { background-attachment: scroll; }
  .page-wrap { margin: 0; }
}

@media (min-width: 769px) {
  .nav-overlay { display: none !important; }
}
