/* ----Header---- */

/* ----Header---- */

body {
  background: #b6b3b300; /* neutral */
  color: #333; /* Standard-Textfarbe */
}

.site-header {
  background: #5de94b00; /* Header bleibt weiß */
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 10;
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.site-header .brand {
  font-weight: 700;
  color: var(--honey-700);
  font-size: 1.125rem;
}
.brand img {
  max-width: 200px;
  height: 100px;
  display: block;
}
/* Nur für Desktop */
@media (min-width: 1382px) {
  .brand img {
    margin-left: -100px;
    height: 100px;
  }
}

/* Desktop-Navigation */
.desktop-nav {
  display: flex;
  gap: 1.25rem;
}

.desktop-nav a {
  color: #333;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--honey-600);
}

/* Warenkorb Icon */
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #d97706;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cart-icon:hover {
  color: var(--honey-600);
}

/* ================= Burger ================= */
.nav {
  --color: var(--honey-700);
  position: relative;
  width: 60px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001; /* Burger bleibt klickbar */
}

.nav svg {
  width: 50px;
  height: 28px;
  fill: none;
  stroke: var(--color);
  stroke-width: 7px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav use:nth-of-type(1) {
  opacity: 1;
  stroke-dashoffset: 221;
  stroke-dasharray: 46 249;
  transition: stroke-dashoffset 0.12s linear 0.2s,
    stroke-dasharray 0.12s linear 0.2s, opacity 0s linear 0.2s;
}

.nav use:nth-of-type(2) {
  animation: stroke-animation-reverse 1.2s ease-out forwards;
}

/* Unsichtbarer Toggle */
#nav-toggle {
  position: absolute;
  /* nur den Burger-Bereich klickbar machen */
  width: 60px;
  height: 56px;
  right: 0;
  top: 0;
  left: auto;
  z-index: 2;
  cursor: pointer;
  opacity: 0;
}

/* Aktiv → Animation */
#nav-toggle:checked + label use:nth-of-type(1) {
  stroke-dashoffset: 175;
  stroke-dasharray: 0 295;
  opacity: 0;
  transition: stroke-dashoffset 0.07s linear 0.07s,
    stroke-dasharray 0.07s linear 0.07s, opacity 0s linear 0.14s;
}

#nav-toggle:checked + label use:nth-of-type(2) {
  animation: stroke-animation 1.2s ease-out forwards;
}

/* Overlay sichtbar wenn Burger aktiv */
#nav-toggle:checked + label + .mobile-menu {
  transform: translateY(0);
}

/* ================= Overlay Menü ================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  font-size: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.mobile-menu a:hover {
  color: var(--honey-400);
}

/* ================= Keyframes ================= */
@keyframes stroke-animation {
  0% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  50% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  65% {
    stroke-dashoffset: 59;
    stroke-dasharray: 59 236;
  }
  100% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
}

@keyframes stroke-animation-reverse {
  0% {
    stroke-dashoffset: 68;
    stroke-dasharray: 59 236;
  }
  50% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
  65% {
    stroke-dashoffset: 295;
    stroke-dasharray: 25 270;
  }
  100% {
    stroke-dashoffset: 290;
    stroke-dasharray: 25 270;
  }
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .nav {
    display: flex;
  }
}

@media (min-width: 769px) {
  .desktop-nav {
    display: flex;
    gap: 1.25rem;
  }
  .nav {
    display: none;
  }
}
/* ---------- Desktop-only ---------- */
@media (min-width: 769px) {
  /* Desktop-Menü sichtbar, Burger & Toggle aus */
  .desktop-nav {
    display: flex;
    gap: 1.25rem;
  }
  .nav {
    display: none;
  }
  #nav-toggle {
    display: none;
  } /* verhindert ungewollte Klicks */
  .mobile-menu {
    display: none !important;
    transform: none !important;
  }
}

/* ----Footer---- */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 0 0 0;
  background: #1a1a1a; /* dunkelgrau */
  color: #ccc;
  margin-top: 3rem;
  font-size: 0.95rem;
}

.site-footer .footer-main {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  padding: 2.5rem 1rem;
}

.site-footer .footer-col h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 0.5rem;
}

.site-footer .footer-col a {
  color: #ccc;
  text-decoration: none;
}

.site-footer .footer-bottom {
  background: #1111115e;
  text-align: center;
  color: #aaa;
  padding: 1rem;
  font-size: 0.91rem;
}

/* Legal Links als separate Liste unter dem Footer-Bottom */
.site-footer > li {
  display: inline-block;
  margin: 0 0.75rem;
}

.site-footer > li a {
  color: #aaa;
  text-align: center;
  text-decoration: none;
  font-size: 0.85rem;

  transition: color 0.3s ease;
}

.site-footer > li a:hover {
  color: var(--honey-600);
  text-decoration: underline;
}

/* Container für die Legal-Links */
.site-footer::after {
  content: "";
  display: block;
  text-align: center;
  padding: 0.1rem 0;
  background: #11111100;
}

.site-footer > li:first-of-type {
  margin-left: 0;
}

.site-footer > li:last-of-type {
  margin-right: 0;
}

/* Legal Links zentrieren */
.legal-links-wrapper {
  text-align: center;
  padding: 0.5rem 0;
  background: #11111100;
}

.legal-links-wrapper li {
  display: inline-block;
  margin-top: 20px;
  margin: 0.75rem;
}
/* Responsive */
@media (max-width: 768px) {
  .site-footer > li {
    display: block;
    margin: 0.25rem 0;
    text-align: center;
  }
}

/* Back-to-Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(34, 23, 23, 0.5);
  cursor: pointer;
  display: none; /* erst sichtbar nach Scroll */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, background 0.3s ease;
}

#back-to-top:hover {
  background: rgba(9, 156, 70, 0.8);
}

#back-to-top svg {
  width: 24px;
  height: 24px;
  stroke: rgba(184, 196, 17, 0.808); /* Farbe des Pfeils */
  stroke-width: 3.1; /* etwas kräftiger */
}
/* Back-to-Top eigene Animation */
#back-to-top.backtop-anim {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#back-to-top.backtop-anim.show {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile: weiter vom Rand entfernt */
@media (max-width: 768px) {
  #back-to-top {
    bottom: 70px; /* etwas höher, über dem mobilen Browser-UI */
    right: 20px; /* nicht abgeschnitten */
    width: 42px; /* etwas kleiner */
    height: 42px;
  }
}
@media (max-width: 768px) {
  #back-to-top.reveal-right {
    transform: none !important; /* verhindert weißen Rand beim Laden */
  }
}

/* -- Hover bei TEXT -- */
.site-footer a {
  color: #aaa;

  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 80%;
  height: 2px;
  background: var(--honey-400); /* Honiggelb als Akzent */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-footer a:hover {
  color: #fff; /* Text wird heller */
}

.site-footer a:hover::after {
  transform: scaleX(1);
}

/*VANSCHWAB-Footer */
/* Eigenes Hover-Styling nur für den Credit-Link */
.footer-bottom .credit-link {
  position: relative;
  font-family: "Electrolize", sans-serif;
  font-size: 1.1em;

  text-transform: uppercase;
  letter-spacing: 0.115em;
  text-decoration: none;
  color: whitesmoke; /* Erbt die Standard-Farbe */
}

.footer-bottom .credit-link:hover {
  color: var(--honey-400); /* Honiggelb beim Hover */
  /* Entfernt die Unterstrich-Animation */
}

.footer-bottom .credit-link::after {
  display: none; /* Versteckt die bestehende Unterstrich-Animation */
}

/* Optional: Eigenen Hover-Effekt für Credit-Link */
.footer-bottom .credit-link:hover {
  transform: translateY(-1px); /* Leichter Lift-Effekt */
  transition: all 0.2s ease;
}
/* Bubble Effekt im Footer */
.site-footer {
  position: relative;

  overflow: visible;
}

.site-footer .bubbles {
  position: absolute;
  top: -5rem;
  left: 4%;
  right: 4%;
  height: -1rem;

  pointer-events: none;
  z-index: 1;
}
@media (max-width: 768px) {
  .site-footer .bubbles {
    left: 12%;
    right: 12%;
  }
}

.site-footer .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--honey-600); /* Honigfarbe */
  width: var(--size, 4rem);
  height: var(--size, 4rem);
  clip-path: polygon(
    25% 6.7%,
    75% 6.7%,
    100% 50%,
    75% 93.3%,
    25% 93.3%,
    0% 50%
  ); /* Hexagon */
  animation: bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

@keyframes bubble-move {
  0% {
    bottom: -4rem;
    opacity: 0.7;
  }
  100% {
    bottom: var(--distance, 10rem);
    opacity: 0;
  }
}

/* Deaktiviert in Shop, Warenkorb und Checkout */
body.shop .site-footer .bubbles,
body.cart .site-footer .bubbles,
body.checkout .site-footer .bubbles {
  display: none;
}

/* ===== Cookie Modal ===== */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-dialog {
  max-width: 560px;
  width: calc(100% - 2rem);
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.cookie-dialog h3 { margin: 0 0 .5rem 0; font-size: 1.25rem; }
.cookie-dialog p { margin: .5rem 0 1rem; line-height: 1.5; }
.cookie-buttons { display: flex; gap: .75rem; flex-wrap: wrap; }
.cookie-btn { padding: .6rem 1rem; border-radius: 8px; border: 0; cursor: pointer; font-weight: 600; }
.cookie-btn.accept { background: var(--honey-600); color: #fff; }
.cookie-btn.decline { background: #eee; color: #222; }
