/* ===== Honig Shop – Modern, warm, vertrauensvoll ===== */
:root {
  --honey: #c9a227;
  --honey-dark: #a67c00;
  --honey-light: #f5e6c8;
  --cream: #faf8f5;
  --bark: #3d2914;
  --forest: #2d5016;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #6b6b6b;
  --border: #e8e0d4;
  --shadow: 0 4px 20px rgba(61, 41, 20, 0.08);
  --shadow-hover: 0 8px 30px rgba(61, 41, 20, 0.12);
  --radius: 12px;
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--honey-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  content-visibility: auto;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

picture {
  display: block;
  overflow: hidden;
}

body {
  padding-top: 70px;
  /* Höhe des Headers */
}

/* ----- Header ----- */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

.site-header.menu-open {
  z-index: 100250;
  transform: none !important;
  will-change: auto !important;
}

.site-header.header-hidden {
  transform: translateY(-101%);
}

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

.mobile-actions {
  display: none;
  /* Desktop versteckt */
  align-items: center;
  gap: 1rem;
}

.cart-btn-mobile {
  position: relative;
  color: var(--bark);
  display: flex;
  align-items: center;
  padding: 0.25rem;
  text-decoration: none;
}

.cart-btn-mobile .cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--honey-dark);
  color: var(--white);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 2px solid var(--white);
}

@media (max-width: 768px) {
  .mobile-actions {
    display: flex;
  }
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bark);
}

.logo .logo-brand {
  color: var(--bark);
}

.logo span:not(.logo-brand) {
  color: var(--honey);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  color: var(--honey-dark);
  background: var(--honey-light);
}

.nav a.active {
  background: var(--honey);
  color: var(--white);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--honey-light);
  color: var(--bark);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cart-btn:hover {
  background: var(--honey);
  color: var(--white);
  transform: translateY(-1px);
}

.cart-btn.active {
  background: var(--honey);
  color: var(--white);
}

.lang-switcher {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lang-switcher .lang-link {
  color: var(--text-muted);
  font-weight: 500;
}

.lang-switcher .lang-link:hover,
.lang-switcher .lang-link.active {
  color: var(--honey-dark);
}

.lang-sep {
  margin: 0 0.25rem;
}

.cart-count {
  background: var(--honey-dark);
  color: var(--white);
  font-size: 0.75rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ----- Container ----- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Hero (Startseite) ----- */
.hero {
  background: linear-gradient(135deg, var(--honey-light) 0%, var(--cream) 50%);
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.hero-with-image {
  background-size: cover;
  background-position: center;
  padding: 5rem 1.5rem 6rem;
}

.hero-with-image h1 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-with-image p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.95);
}

.hero-with-image p {
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--bark);
  margin-bottom: 0.75rem;
}

.hero-with-image h1 {
  color: #fff;
}

.hero h1 span {
  color: var(--honey);
}

.hero-with-image h1 span {
  color: var(--honey-light);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero-with-image p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background: var(--honey);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--honey-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--honey-dark);
  border: 2px solid var(--honey);
}

.btn-outline:hover {
  background: var(--honey-light);
  color: var(--bark);
}

/* ----- Sektionen ----- */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  color: var(--bark);
  margin-bottom: 2rem;
  text-align: center;
}

/* ----- Shop Slideshow (Hero Section only) ----- */
.shop-hero-section {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  /* Mehr Platz für die Bilder */
  min-height: 480px;
  display: flex;
  align-items: center;
  text-align: center;
  background: #f5e6c8;
}

.slideshow-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slideshow-bg .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow-bg .slide.active {
  opacity: 1;
}

/* Dunkler Verlauf nur ganz leicht für Textkontrast */
.slideshow-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.relative-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.shop-title {
  color: #ffffff;
  /* Weißer Text */
  font-size: 3.2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 5px 25px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem !important;
}

.shop-hero-section .shop-intro {
  color: #ffffff !important;
  /* Reines Weiß erzwingen */
  font-weight: 600;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* ----- Produktkarten (Shop) ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  contain: layout style;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateZ(0);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.product-image {
  aspect-ratio: 1;
  background: var(--honey-light);
  object-fit: cover;
}

.product-image-wrap picture {
  display: block;
}

.product-image-wrap {
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image-wrap .product-image {
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.product-image-wrap:hover .product-image {
  opacity: 0.95;
}

.product-gallery-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.15rem;
  color: var(--bark);
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.product-footer .product-price {
  margin-right: 0.25rem;
}

.product-footer .product-btns {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
}

.product-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--honey-dark);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.qty-btn:hover {
  background: var(--honey-light);
  border-color: var(--honey);
}

.qty-display {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--honey-dark);
}

.product-footer .add-to-cart {
  margin-left: 0;
}

.product-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--honey-dark);
}

.add-to-cart {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-checkout-inline {
  animation: slideInRight 0.3s ease-out;
  white-space: nowrap;
}

.btn-success-temporary {
  background: var(--forest) !important;
  border-color: var(--forest) !important;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ----- Warenkorb (Seite / Drawer) ----- */
.cart-section {
  max-width: 700px;
  margin: 0 auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--honey-light);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: var(--bark);
}

.cart-item-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-item-qty-controls .qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--honey-dark);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cart-item-qty-controls .qty-btn:hover {
  background: var(--honey-light);
  border-color: var(--honey);
}

.cart-item-qty-display {
  min-width: 1.75rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--honey-dark);
}

.cart-item-price {
  font-weight: 700;
  color: var(--honey-dark);
  min-width: 4rem;
  text-align: right;
}

.cart-total {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bark);
  display: flex;
  justify-content: space-between;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* ----- Checkout ----- */
.checkout-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.payment-notice {
  background: var(--honey-light);
  border: 1px solid var(--honey);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--bark);
}

.payment-notice strong {
  color: var(--honey-dark);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--bark);
  color: var(--cream);
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--honey-light);
}

.footer-links {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  margin: 0 0.25rem;
}

.footer-sep {
  margin: 0 0.25rem;
  opacity: 0.5;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.trust-badge {
  color: var(--honey-light);
  opacity: 0.95;
}

.trust-badge a {
  color: var(--honey-light);
}

.footer-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

/* ----- Rückgabe-/Beschwerde-Formular im Footer ----- */
.returns-form-section {
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.returns-form-title {
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 1rem;
  font-weight: 600;
}

.returns-form .form-group label {
  color: var(--bark);
  opacity: 1;
}

.returns-form .form-group input,
.returns-form .form-group textarea,
.returns-form .form-group select {
  background: #fff;
  border-color: var(--border);
  color: var(--bark);
}

.returns-form .form-group select {
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}

.returns-form .form-group input::placeholder,
.returns-form .form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.returns-form .form-group input:focus,
.returns-form .form-group textarea:focus,
.returns-form .form-group select:focus {
  border-color: var(--honey);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.returns-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.returns-form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  opacity: 0.8;
  color: var(--bark);
}

.returns-form .btn {
  margin-top: 0.5rem;
}

.returns-form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.returns-form-status-error {
  color: #f5a0a0;
}

.returns-form-open-btn {
  margin-top: 0.75rem;
}

.returns-photos-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.returns-photos-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .returns-form-row {
    grid-template-columns: 1fr;
  }
}

.returns-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.returns-modal.is-open {
  display: flex;
}

.returns-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.returns-modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--cream);
  color: var(--bark);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  width: 100%;
  max-width: 32rem;
  box-shadow: var(--shadow-strong);
}

.returns-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: var(--bark);
  font-size: 1.4rem;
  cursor: pointer;
}

body.returns-modal-open {
  overflow: hidden;
}

.share-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--cream);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.share-btn:hover {
  background: rgba(201, 162, 39, 0.3);
  border-color: var(--honey);
}

.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--honey);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scroll-to-top[style*="opacity: 1"],
.scroll-to-top:hover {
  pointer-events: auto;
}

.sticky-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cart-bar.visible {
  display: flex;
}

.sticky-cart-bar .btn {
  white-space: nowrap;
}

.shipping-badge {
  text-align: center;
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(45, 80, 22, 0.08);
  border-radius: 10px;
}

.recently-viewed-section {
  display: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.recently-viewed-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--bark);
}

.recently-viewed-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.recently-viewed-card {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem;
  background: var(--cream);
  transition: transform 0.2s;
}

.recently-viewed-card:hover {
  transform: translateY(-2px);
}

.recently-viewed-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.rv-name {
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.2;
}

.rv-price {
  font-weight: 700;
  color: var(--honey-dark);
  font-size: 0.9rem;
}

.wishlist-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 2;
  transition: background 0.2s;
}

.wishlist-btn:hover {
  background: #fff;
}

.wishlist-btn.in-wishlist {
  color: #e74c3c;
}

.product-share-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.product-share-row .share-btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
}

.product-share-row .share-btn-sm:hover {
  border-color: var(--honey);
  color: var(--honey-dark);
}

/* ----- Features kreativ (Bilder, Bento-Style) ----- */
.container-wide {
  max-width: 1200px;
}

.section-title-muted {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 500;
}

.video-box {
  width: 100%;
  max-width: 100%;
  margin-top: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(45, 41, 20, 0.08);
  box-shadow: 0 4px 24px rgba(45, 41, 20, 0.12);
}

.video-box-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shop-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.shop-video-box {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(45, 41, 20, 0.08);
  box-shadow: 0 4px 24px rgba(45, 41, 20, 0.12);
}

.shop-video-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shop-video-box .feature-video-play {
  z-index: 3;
}

@media (max-width: 900px) {
  .shop-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil: 2×2 kompakt, Klick öffnet vergrößert – !important gegen Cache/Override */
@media (max-width: 768px) {
  .shop-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: row;
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .shop-video-box {
    cursor: pointer;
    border-radius: 12px;
    min-width: 0; /* Grid-Overflow verhindern */
  }
  .shop-video-player {
    aspect-ratio: 16 / 9;
    pointer-events: none;
  }
}
@media (max-width: 480px) {
  .shop-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
}

/* Video-Modal (vergößerte Ansicht) – nur sichtbar wenn .is-open */
.shop-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  visibility: hidden;
  pointer-events: none;
}
.shop-video-modal.is-open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}
.shop-video-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.shop-video-modal-inner {
  position: relative;
  z-index: 1;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
}
.shop-video-modal-inner video {
  width: 100%;
  height: auto;
  max-height: 85vh;
  border-radius: 8px;
  background: #000;
}
.shop-video-modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.shop-video-modal-close:hover {
  background: rgba(255,255,255,0.35);
}
body.shop-video-modal-open {
  overflow: hidden;
}

/* Produkt-Detail-Modal */
.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.85);
  visibility: hidden;
  pointer-events: none;
}
.product-detail-modal.is-open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}
body.product-detail-modal-open {
  overflow: hidden;
}
.product-detail-modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.product-detail-modal-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.product-detail-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--honey);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 2;
}
.product-detail-modal-close:hover {
  background: var(--honey-dark);
}
.product-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: start;
}
.product-detail-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.product-detail-image-wrap {
  position: relative;
  width: 100%;
  background: var(--honey-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
  vertical-align: middle;
}
.product-detail-gallery {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.product-detail-gallery img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
}
.product-detail-gallery img:hover,
.product-detail-gallery img.active {
  border-color: var(--honey);
}
.product-detail-purchase {
  padding: 1rem;
  background: rgba(201, 162, 39, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}
.product-detail-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--honey-dark);
  margin: 0;
}
.product-detail-btns {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.product-detail-body {
  display: flex;
  flex-direction: column;
}
.product-detail-name {
  font-size: 1.4rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}
.product-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.product-detail-long {
  margin-bottom: 0;
  padding: 1rem;
  background: var(--honey-light);
  border-radius: 10px;
}
.product-detail-section-title {
  font-size: 0.9rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-detail-long-text {
  font-size: 0.9rem;
  color: var(--bark);
  line-height: 1.6;
  margin: 0;
}
.product-detail-health {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 1rem;
  background: rgba(201, 162, 39, 0.08);
  border-radius: 10px;
  border-left: 4px solid var(--honey);
}
.product-detail-health-text {
  font-size: 0.9rem;
  color: var(--bark);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .product-detail-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-detail-image-wrap img {
    max-height: 240px;
  }
  .product-detail-purchase {
    padding: 0.9rem;
    gap: 0.75rem;
  }
  .product-detail-price {
    font-size: 1.15rem;
  }
  .product-detail-btns {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
  }
  .product-detail-btns .add-to-cart,
  .product-detail-btns .btn-checkout-inline {
    flex: 1;
    min-width: 0;
  }
}

.video-box-with-play {
  position: relative;
}

.feature-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.feature-tile-video {
  cursor: pointer;
}

.feature-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: rgba(45, 41, 20, 0.75);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-video-play:hover {
  background: rgba(201, 162, 39, 0.9);
  transform: translate(-50%, -50%) scale(1.08);
}

.feature-video-play-icon {
  font-size: 1.25rem;
  margin-left: 0.2rem;
}

.feature-video-play.hidden {
  display: none;
}

/* Mobil: Nur native Video-Controls, kein doppelter Play-Button */
@media (max-width: 768px) {
  .feature-video-play,
  .shop-video-box .feature-video-play,
  .video-box-with-play .feature-video-play {
    display: none !important;
  }
}

.features-creative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-tile {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
  will-change: transform;
  transform: translateZ(0);
}

.feature-tile:hover {
  transform: scale(1.02);
}

.feature-tile-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 100%;
}

.feature-overlay {
  background: linear-gradient(to top, rgba(45, 41, 20, 0.95) 0%, rgba(45, 41, 20, 0.4) 60%, transparent 100%);
  padding: 2rem 1.5rem;
  width: 100%;
  color: var(--cream);
}

.feature-tile-accent .feature-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
}

.feature-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--honey-light);
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.feature-tile h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-tile p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* Honigarten-Sektion mit visuellem Hook */
.section-honigarten .section-title {
  margin-bottom: 0.5rem;
}

.section-honigarten .section-intro {
  margin-bottom: 2rem;
}

.honigarten-visual {
  max-width: 200px;
  margin: 1.5rem auto 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(61, 41, 20, 0.2);
  border: 4px solid var(--white);
}

.honig-preview-img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* Produktkarten verfeinert */
.products-preview .product-card {
  border: 1px solid var(--border);
}

.products-preview .product-image {
  aspect-ratio: 4/3;
}

/* ----- Features (Legacy/Fallback) ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section-alt {
  background: var(--white);
  box-shadow: 0 -1px 0 var(--border);
}

.section-why {
  background: linear-gradient(180deg, var(--cream) 0%, rgba(245, 230, 200, 0.3) 100%);
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: -1rem auto 2rem;
  line-height: 1.6;
}

.origin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0 1rem;
  contain: layout style;
}

.origin-gallery picture {
  display: block;
  width: 100%;
}

.origin-gallery img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
  width: 100%;
  content-visibility: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--honey);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ----- Util ----- */
.mt-2 {
  margin-top: 2rem;
}

.text-center {
  text-align: center;
}

@media (max-width: 768px) {
  .features-creative {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-tile-large {
    grid-column: 1;
    grid-row: auto;
    min-height: 300px;
  }

  .feature-tile {
    min-height: 240px;
  }
}

/* ----- Hamburger Menu (Mobile) ----- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--bark);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 100220;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    height: 100vh !important;
    background: var(--white);
    flex-direction: column;
    padding: 5rem 1rem 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 100220;
    gap: 0.5rem;
    align-items: stretch;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
    pointer-events: auto;
  }

  .nav.open {
    display: flex;
  }

  .nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--bark);
  }

  .nav-close-btn:hover {
    background: rgba(0, 0, 0, 0.12);
  }

  .nav a {
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    background: transparent;
    color: var(--bark);
  }

  .nav a.active {
    background: var(--honey-light);
    color: var(--honey-dark);
  }

  .cart-btn {
    width: 100%;
    justify-content: flex-start;
  }

  .lang-switcher {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .lang-link {
    background: transparent !important;
    border-radius: 8px !important;
    padding: 0.6rem 1rem !important;
    width: auto !important;
    color: var(--text-muted) !important;
    font-size: 1rem;
    display: inline-block;
  }

  .lang-link.active {
    color: var(--honey-dark) !important;
    font-weight: 700;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    z-index: 100210;
    pointer-events: auto;
  }

  .nav-overlay.open {
    display: block;
  }

  /* Admin Area Responsiveness */
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .admin-card {
    overflow-x: auto;
    padding: 1rem !important;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

@media (max-width: 600px) {

  /* Shop: Kompakte 2-Spalten-Ansicht auf Mobile – weniger Scrollen */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .product-card {
    padding: 0;
  }

  .product-image,
  .product-image-wrap {
    aspect-ratio: 1;
    min-height: 0;
  }

  .product-image-wrap picture,
  .product-image-wrap .product-image {
    aspect-ratio: 1;
  }

  .product-body {
    padding: 0.6rem 0.5rem 0.75rem;
  }

  .product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-desc {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 0;
  }

  .product-footer .product-btns {
    flex-direction: column;
  }

  .product-price {
    font-size: 1rem;
    margin-bottom: 0.15rem;
  }

  .product-footer .add-to-cart,
  .product-footer .btn-checkout-inline {
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .product-gallery-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    bottom: 0.35rem;
    right: 0.35rem;
  }

  /* Shop-Hero auf Mobile kompakter */
  .shop-hero-section {
    padding: 3rem 1rem;
    min-height: 220px;
  }

  .shop-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem !important;
  }

  .shop-hero-section .shop-intro {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .shop-page main.section {
    padding-top: 1.5rem !important;
  }

  .hero-with-image {
    padding: 3rem 1rem 4rem;
  }

  .honigarten-visual {
    max-width: 140px;
  }

  .product-card:hover {
    transform: none;
  }

  .feature-tile:hover {
    transform: none;
  }

  .section-honig-herkunft {
    content-visibility: auto;
  }

  .section-why .features-creative {
    content-visibility: auto;
  }

  .origin-gallery {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  /* Shop-Bereich auf Mobile kompakter */
  .shop-page main .container {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
  }
}

/* ----- Custom Modal (Honeyshop Style) ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-text {
  font-size: 1.15rem;
  color: var(--bark);
  font-weight: 500;
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

.modal-btn {
  padding: 0.8rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 1rem;
  min-width: 120px;
}

.modal-btn-confirm {
  background: var(--bark);
  color: var(--white);
}

.modal-btn-confirm:hover {
  background: #3d2419;
  transform: translateY(-2px);
}

.modal-btn-cancel {
  background: #f1ede4;
  color: var(--bark);
}

.modal-btn-cancel:hover {
  background: #e5dfd2;
}

/* Sehr schmale Handys: noch kompakter */
@media (max-width: 400px) {
  .products-grid {
    gap: 0.5rem;
  }

  .product-body {
    padding: 0.5rem 0.4rem 0.6rem;
  }

  .product-name {
    font-size: 0.85rem;
  }

  .product-desc {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
  }

  .product-price {
    font-size: 0.95rem;
  }

  .product-footer .add-to-cart,
  .product-footer .btn-checkout-inline {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  .shop-page main .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-actions {
    flex-direction: column-reverse;
    /* Abbrechen unten auf Mobile */
  }

  .modal-btn {
    width: 100%;
  }
}

/* ----- CTA Buttons Layout ----- */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 1.5rem;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
  }
}