/* beeliebt.de — golden honey theme, light */

:root {
  --bg: #faf5e8;
  --bg-soft: #f3ecd9;
  --bg-card: #fffdf6;
  --line: rgba(78, 76, 90, 0.14);
  --gold: #ebda4c;
  --gold-soft: #f5ea85;
  --gold-deep: #a8860f;
  --slate: #4e4c5a;
  --ink: #33313d;
  --cream: #f6efdd;
  --muted: #6d6979;
  --shadow: rgba(78, 76, 90, 0.15);
  --radius: 18px;
  --font: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(235, 218, 76, 0.18), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

::selection { background: var(--gold); color: var(--slate); }

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--slate); }

h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
h3 { font-size: 1.25rem; }

em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-deep), #c9a227, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--slate); }

button { font: inherit; cursor: pointer; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 3rem);
  background: rgba(250, 245, 232, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; }

.brand img { height: 38px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover { color: var(--slate); }

.nav-cta {
  border: 1px solid var(--slate);
  background: transparent;
  color: var(--slate);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--slate); }

/* ---------- burger ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--slate);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 8rem) 1.5rem 5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(168, 134, 15, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: rgba(235, 218, 76, 0.18);
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: min(460px, 82vw);
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(168, 134, 15, 0.2));
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--muted);
  max-width: 36ch;
  margin: 1.5rem auto 2.5rem;
}

.hero-sub em { font-size: 1em; }

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-facts {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-facts li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.55rem;
  vertical-align: middle;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-top: 3.5rem;
  box-shadow: 0 24px 60px var(--shadow);
  display: block;
}

.section-img {
  display: block;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px var(--shadow);
  margin-bottom: 2rem;
}

/* ---------- about ---------- */

.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-text p { color: var(--muted); margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.5rem; }

.about-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px var(--shadow);
  display: block;
}

/* ---------- products ---------- */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.product {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.product:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 18px 40px var(--shadow);
}

.product-img,
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  display: grid;
  place-items: center;
  background: rgba(235, 218, 76, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.product-body { padding: 1.6rem; }
.product-body h3 { margin-bottom: 0.6rem; }
.product-body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.1rem; }

.verein {
  text-align: center;
  padding: 2.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
}

.verein-logo {
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.verein-logo:hover { transform: scale(1.04); opacity: 1; }

.verein img {
  height: 110px;
  width: auto;
  opacity: 0.92;
  margin-bottom: 0.8rem;
}

.modal-img.modal-img--logo {
  aspect-ratio: auto;
  border: none;
  background: none;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
}

.modal-img--logo img {
  width: auto;
  height: 140px;
  object-fit: contain;
}

.modal-source {
  font-size: 0.8rem;
  opacity: 0.65;
  margin: 1rem 0 1.2rem;
}

.verein p {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ---------- buttons / links ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, #d9bc2e);
  color: var(--slate);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
}

.btn-gold:hover { box-shadow: 0 10px 40px rgba(201, 162, 39, 0.45); transform: translateY(-1px); }

.btn-ghost {
  border-color: rgba(78, 76, 90, 0.3);
  color: var(--slate);
  background: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover { border-color: var(--slate); background: rgba(255, 255, 255, 0.7); }

.link {
  background: none;
  border: none;
  color: var(--gold-deep);
  padding: 0;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
}

.link:hover { color: var(--slate); border-bottom-color: var(--slate); }

/* ---------- sections ---------- */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6rem) 1.5rem;
}

.section-alt {
  max-width: none;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(235, 218, 76, 0.2), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-alt .statement { max-width: 800px; margin: 0 auto; text-align: center; }
.statement .section-text { margin-left: auto; margin-right: auto; }

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}

.section h2 { max-width: 22ch; margin-bottom: 2.5rem; }
.section-alt h2 { margin: 0 auto 2.5rem; }
.section-text { color: var(--muted); max-width: 55ch; margin-bottom: 2rem; }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 18px 40px var(--shadow);
}

.card-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.2rem; }

/* ---------- stats ---------- */

.stats {
  list-style: none;
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted);
}

.stats strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold-deep);
  letter-spacing: -0.02em;
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.footer-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--slate); }

/* ---------- modal ---------- */

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.5rem; }
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(51, 49, 61, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(51, 49, 61, 0.3);
  animation: modal-in 0.25s ease;
}

.modal-box h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.modal-box p { color: var(--muted); }

.modal-img {
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(168, 134, 15, 0.4);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(235, 218, 76, 0.12);
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.modal-img:has(img) {
  border: 1px solid var(--line);
  background: none;
}

.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-facts {
  list-style: none;
  margin-top: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.modal-facts li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 1.3rem;
  position: relative;
}

.modal-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
}

.modal-close:hover { color: var(--slate); border-color: var(--slate); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  min-height: 55vh;
}

.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }

.legal h2 {
  font-size: 1.15rem;
  color: var(--gold-deep);
  margin: 2rem 0 0.7rem;
}

.legal p { color: var(--muted); margin-bottom: 0.8rem; }

.legal ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  color: var(--muted);
}

.legal li { margin-bottom: 0.3rem; }

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

.legal-note {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  opacity: 0.7;
}

/* ---------- bee ---------- */

.bee {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 20px;
  z-index: 999;
  pointer-events: none;
  will-change: transform;
}

.bee-body {
  position: absolute;
  inset: 3px 0;
  border-radius: 50%;
  background: repeating-linear-gradient(100deg, var(--gold) 0 5px, var(--slate) 5px 9px);
  box-shadow: 0 2px 8px rgba(78, 76, 90, 0.3);
}

.bee-wing {
  position: absolute;
  top: -4px;
  width: 12px;
  height: 9px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(78, 76, 90, 0.15);
  transform-origin: 50% 100%;
  animation: bee-flutter 0.09s linear infinite alternate;
}

.bee-wing--left { left: 4px; }
.bee-wing--right { right: 4px; animation-delay: 0.045s; }

.bee-eye {
  position: absolute;
  top: 5px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--slate);
}

.bee-stinger {
  position: absolute;
  top: 7px;
  left: -4px;
  width: 6px;
  height: 6px;
  background: var(--slate);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
}

.bee-flight {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 998;
  pointer-events: none;
  will-change: transform;
}

.bee-flight .bee {
  position: absolute;
  left: -13px;
  top: -10px;
  transform: scale(var(--bs, 1)) scaleX(var(--fx, 1));
}

.bee-flower {
  position: absolute;
  left: -5px;
  top: 9px;
  width: 12px;
  height: 12px;
  background: #e05585;
  clip-path: polygon(50% 100%, 12% 62%, 0% 38%, 6% 15%, 24% 4%, 42% 8%, 50% 24%, 58% 8%, 76% 4%, 94% 15%, 100% 38%, 88% 62%);
  opacity: 0;
}

.bee-flower::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 5px;
  width: 2px;
  height: 5px;
  background: #4d7c3a;
  border-radius: 1px;
}

.bee .bee-flower {
  top: 12px;
  left: 7px;
  transform: scale(0.9);
  transition: opacity 0.4s;
}

.bee.has-heart .bee-flower { opacity: 1; }

/* ---------- black hole ---------- */

.hole {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  z-index: 997;
  pointer-events: none;
  will-change: transform;
}

.hole-core {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #26242e 0%, #0a0a0d 60%);
  box-shadow:
    0 0 14px 4px rgba(235, 218, 76, 0.35),
    inset 0 0 8px #000;
}

.hole-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(235, 218, 76, 0.55);
  animation: hole-spin 7s linear infinite;
}

@keyframes hole-spin {
  to { transform: rotate(360deg); }
}

@keyframes bee-flutter {
  from { transform: rotate(-24deg) scaleY(1); }
  to { transform: rotate(24deg) scaleY(0.7); }
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive / motion ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.2rem clamp(1rem, 5vw, 3rem) 1.6rem;
    background: rgba(250, 245, 232, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .about { grid-template-columns: 1fr; }
  .about-img { order: -1; }
}

@media (max-width: 640px) {
  .site-footer { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bee, .hole { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-box { animation: none; }
}
