/* === Naturkraft Imkerei – Base Styles === */
:root {
  --honey-100: #fff3d1;
  --honey-200: #ffe199;
  --honey-300: #ffce61;
  --honey-400: #ffba29;
  --honey-600: #ffa500;
  --honey-700: #996300;
  --nature-800: #1f452b;
  --text-800: #333333;
  --bg-plain: #f5f5f5;
  --maxw: 1200px;
  --radius-lg: 16px;
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
}

body {
  background: var(--bg-plain);
  color: var(--text-800);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
}

/* Utility */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Hero Bild Full-Width */
#hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
#hero .hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild füllt die Box */
  object-position: center;
  border-radius: 0; /* kein abgerundetes Bild im Hero */
  box-shadow: none;

  /* Animation */
  transform: scale(1.1);
  opacity: 0;
  animation: zoomInHero 2s ease-out forwards;
}

/* Zoom Effekt dezenter */
@keyframes zoomInHero {
  0% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero Text */
#hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* wirklich zentriert */
  text-align: center;
  color: #fff;
  z-index: 2;
}

#hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
}

/* Split heading animation */
#hero .hero-heading {
  display: inline-block;
  line-height: 1.05;
}
#hero .hero-heading .heading-line {
  display: block;
  letter-spacing: 0.05em;
  margin-bottom: 3.5rem;
}

#hero p {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: #f5f5f5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  #hero {
    height: 100vh; /* voller Screen am Handy */
    overflow: hidden;
  }

  #hero .hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover; /* kein Weißrand mehr */
    object-position: 35% center;
    border-radius: 0;
  }
}

@keyframes zoomInHeroMobile {
  0% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#hero .hero-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1rem;
}

#hero h1 {
  font-size: clamp(1.8rem, 12vw, 6.5rem);
  line-height: 1.8;
}

#hero p {
  font-size: clamp(1rem, 4vw, 1.1rem);
}

/* Buttons (scoped variants by section) */
.btn {
  display: inline-block;
  padding: 1.2rem 1.6rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: x-large;
  border: 0;
  transition: 0.2s transform, 0.2s box-shadow;
}
.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 3px;
}
.btn:hover {
  transform: translateY(-2px);
}
#hero .btn-primary {
  background: var(--honey-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 165, 0, 0.35);
}
#hero .btn-primary:hover {
  box-shadow: 0 12px 26px rgba(255, 165, 0, 0.5);
}
#hero .btn-secondary {
  background: #fff;
  color: var(--honey-700);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
#hero .btn-secondary:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input {
  -moz-appearance: textfield;
  appearance: textfield;
}

.btn-group {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-box {
  background: linear-gradient(
    135deg,
    rgba(216, 52, 11, 0.192),
    rgba(255, 166, 0, 0.966)
  );
  border-radius: 16px;
  padding: 3rem 1.5rem;
  margin: 3rem 3rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/*--- INTRO SCTION ---*/ 
.hero-intro {
  position: relative;
  background: linear-gradient(to bottom, #fff8e1 0%, #fff 100%);
  padding: 4rem 1rem 0;
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s ease, transform 1.6s ease;
   
}

.hero-intro h2 {
  font-size: 2rem;
  color: #5c420d;
  margin-bottom: 1rem;
  
}

.hero-intro p {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #4a3b05;
  line-height: 1.6;
}


/* hero-intro cards (not full width) */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0 auto 2.8rem;
  padding: 0 0.6rem;
}
.hero-card {
  background: #ffffffcc;
  backdrop-filter: blur(2px);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 186, 41, 0.25);
}
.hero-card h3 {
  margin: 0 0 0.4rem;
  color: #5c420d;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
}
.hero-card p {
  margin: 0;
  color: #4a3b05;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .hero-cards { grid-template-columns: repeat(2, minmax(200px, 1fr)); }
}
@media (max-width: 640px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 520px; }
}


.honey-drip {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.honey-drip svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(180deg); /* falls nötig */
}

.honey-drip {
  color: #f5c34c; /* Honiggelb */
  line-height: 0; /* Verhindert unerwünschten Abstand */
  margin-top: -2px; /* Sanfter Übergang zur Hero-Section */
}

/* Alternative Farbvariante für dunklere Honigtöne */
.honey-drip.dark {
  color: #e6b03a;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .honey-drip {
    margin-top: -1px;
  }
  
  .honey-drip svg {
    height: 80px; /* Kleinere Höhe auf Mobilgeräten */
  }
}

@media (max-width: 480px) {
  .honey-drip svg {
    height: 60px;
  }
}




/* ----------About Section---------- */
#about-box {
  background: #fff;
  padding: 6rem 0;
}

/* Header zentriert */
#about .about-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Eyebrow (kleiner Titel über Headline) */
#about .eyebrow {
  color: var(--honey-600);
  font-size: 2.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 5rem;
}

/* Headline */
#about .headline {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nature-800);
  margin: 0.5rem 0;
}

/* Intro-Text */
#about .lead {
  font-size: 1.2rem;
  color: #4b5563;
  max-width: 60ch;
  margin: 1rem auto 0;
}

/* Feature Grid */
#about .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* Einzelnes Feature */
#about .feature {
  text-align: center;
  padding: 1rem;
}

/* Icon-Box */
#about .feature .icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--honey-100);
  color: var(--honey-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

/* Feature Titel */
#about .feature h4 {
  font-size: 1.125rem;
  color: var(--nature-800);
  margin: 0.5rem 0;
}

/* Feature Text */
#about .feature p {
  color: #6b7280;
  max-width: 40ch;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
  #about .features {
    grid-template-columns: 1fr;
  }
}

/* ===-- Featured Products --=== */

/* Featured Section */
#featured {
  background: var(--nature-50);
  padding: 2rem 0;
}

#featured .featured-container {
  max-width: 1550px;
  margin: 0 auto;
  padding: 5rem 1rem;
}
#featured .product-grid {
  max-width: 1700px; /* breiter als normal */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* Tablet */
@media (max-width: 1100px) {
  #featured .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 700px) {
  #featured .product-grid {
    grid-template-columns: 1fr;
  }
}

#featured .featured-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

#featured .featured-header h3 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--nature-900);
}

#featured .featured-header p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 60ch;
  margin: 1rem auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px; /* kannst du anpassen */
  margin-inline: auto;
}

.product-card.index-card {
  background: #8d948b21;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.product-card .media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.product-card .body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card h4 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--nature-900);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.product-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--honey-600);
}

/* Button für Produkte */
.product-card .btn.add {
  background: var(--honey-500);
  color: #c18c00;
  padding: 0.6rem 3.4rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: margin-right 2s;
}

.product-card .btn.add:hover {
  background: var(--honey-600);
  color: #fff; /* beim Hover weiß */
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ----ShopCTA BUTTON----*/

.cta-center {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.btn-featured {
  background: var(--honey-500);
  color: #f7f3f3bd;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 1.5rem 3.5rem;
  background: var(--honey-700);
  transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.btn-featured:hover {
  background: var(--honey-600);
  color: #fff; /* beim Hover weiß */
  transform: scale(1.05);
}

/* Shop section wrapper (styles won't leak) */
#shop {
  background: #ad0f0f;
  padding: 4rem 0;
}

/* === Newsletter Section === */

#newsletter .section-head {
  text-align: center;
  margin-bottom: 2rem;
}

#newsletter .section-head h2 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--nature-900);
}

#newsletter .section-head p {
  font-size: 1.1rem;
  color: #555;
  margin-top: 0.5rem;
}

#newsletter {
  background: linear-gradient(135deg, var(--honey-100), var(--honey-300));
  padding: 4rem 1rem;
}

#newsletter .container.cols {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Text Column */
#newsletter .col.text h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--nature-900);
  margin-bottom: 1rem;
}

#newsletter .col.text p {
  font-size: 1.1rem;
  color: #555;
}

/* Form Column */
#newsletter .col.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#newsletter .col.form input {
  padding: 0.9rem 1.2rem;
  border: 2px solid var(--honey-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#newsletter .col.form input:focus {
  border-color: var(--honey-600);
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.2);
}

#newsletter .col.form .btn {
  background: var(--honey-500);
  color: #afaaaa7a;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#newsletter .col.form .btn:hover {
  background: var(--honey-600);
  color: #fff; /* beim Hover weiß */
  transform: scale(1.05);
}

#newsletter .col.form .note {
  font-size: 0.85rem;
  color: #777;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 800px) {
  #newsletter .container.cols {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #newsletter .col.form {
    align-items: center;
  }

  #newsletter .col.form input {
    width: 100%;
    max-width: 400px;
  }
}

/* ---Mini FAQ accordion--- */

/* Accordion Grundlayout */
#faq .section-head h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.accordion {
  max-width: 1000px;

  margin: 0 auto 3rem;
}
/* Tablet */
@media (max-width: 1024px) {
  .accordion {
    max-width: 90%; /* statt fixer Pixel */
    margin: 0 auto 2rem;
  }
}

/* Smartphone */
@media (max-width: 600px) {
  .accordion {
    max-width: 95%; /* fast volle Breite, aber mit Rand */
    margin: 0 auto 1.5rem;
  }
}

.accordion-item {
  border-bottom: 1px solid #ffffff;
  margin-bottom: 25px;
  margin-block: 3;
}

.accordion-header {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  font-weight: bold;
  font-size: 1.1rem;
  background: #d3d3d383; /* grauer Balken */
  border-radius: 5px;
  border-style: hidden;
  overflow-anchor: none; /* verhindert Springen beim Auf-/Zuklappen */
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #c7c7c7;
}

.accordion-body {
  max-height: 0; /* Start: geschlossen */
  overflow: hidden;
  opacity: 0;
  margin-top: 12px;
  padding: 0 1rem;
  background: #ffffff;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
}
/* Mobile & Tablet spezielle Fixes */
@media (max-width: 1024px) {
  .accordion-body {
    /* etwas stabilisieren, damit Browser nicht springt */
    padding: 0 1rem; /* nie ganz 0, verhindert Layout-Sprung */
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }
}

.accordion-body.open {
  opacity: 1;
}

/* Extra Wrapper für Inhalt → hier darf Padding/Margin rein */
.accordion-content {
  padding: 1rem; /* Innenabstand für Text */
  margin-top: 10px; /* optischer Abstand nach oben */
}

.cta-center1 {
  text-align: center;
  margin-top: 0.3rem;
  margin-bottom: 2rem;
}

/* --- NEWSLETTER ANMELDUNGS POPUP --- */
.newsletter-popup {
  position: fixed;
  bottom: 480px; /* Desktop */
  right: 700px; /* Desktop */
  background: #2d572cdc; /* grün für Erfolg */
  color: #fff;
  padding: 1.5rem 1.9rem;
  border-radius: 8px;
  font-size: 1.3rem;
  opacity: 0;
  transform: scale(1.5, 0.8);
  transition: all 0.6s ease;
  z-index: 9999;
}

.newsletter-popup.error {
  background: #b3261e; /* rot für Fehler */
}

.newsletter-popup.show {
  opacity: 1;
  transform: translateY(0);
}

/* === Mobile Optimierung === */
@media (min-width: 320px) and (max-width: 1200px) {
  .newsletter-popup {
    bottom: 220px; /* nah am unteren Rand */
    right: 10%; /* mittig */
    transform: translateX(50%) scale(1.5, 1);
    font-size: 1rem; /* etwas kleiner */
    padding: 1rem 1.4rem; /* kompakter */
    border-radius: 6px;
  }
}

/* ---- SHOP SEITE ---*/

body {
  background: #fff; /* wirklich neutral */
}

.shop-intro,
.shop-products {
  background: #f9f9f9;
}

.shop-products .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1.2rem;
  text-align: center;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card .product-image {
  background: #f2f2f2;
  height: 160px; /* Einheitliche Boxhöhe */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden; /* falls was übersteht */
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Bild bleibt komplett sichtbar */
  display: block;
}

.product-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card .price {
  font-weight: bold;
  color: #c18c00; /* Honigfarbe */
  margin-bottom: 1rem;
}

.product-card .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #e0a800;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.product-card .btn:hover {
  background: #c18c00;
}

/* ---- WARENKORB ---- */
.cart-section h1 {
  margin-bottom: 1rem;
}

/* Ensure footer sticks to bottom on cart page */
body.cart {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.cart .site-main {
  flex: 1;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cart-table th,
.cart-table td {
  padding: 0.8rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.cart-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.remove-link {
  color: rgba(255, 0, 0, 0.5);
  text-decoration: none;
}

.remove-link:hover {
  text-decoration: underline;
}

.cart-total {
  text-align: right;
  font-weight: bold;
  margin-top: 1rem;
}

.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #e0a800;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #c18c00;
}

.btn-light {
  background: #f0f0f0;
  color: #333;
}

.btn-light:hover {
  background: #ddd;
}

.btn-success {
  background: #28a745;
}

.btn-success:hover {
  background: #218838;
}

/* Mobile Warenkorb */
.mobile-cart {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cart {
    display: block;
    margin-right: 15px;
    position: relative;
    z-index: 1001; /* Höher als das Burger-Menü */
  }

  .desktop-nav .cart-icon {
    display: none;
  }

  /* Optional: Abstand zwischen Warenkorb und Burger-Menü */
  .mobile-cart + .nav {
    margin-left: 5px;
  }
}

/*Button mit <-- */
/* Schicker Button wie im CodePen */
.btn-back {
  position: relative;
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1em;
  text-transform: uppercase;
  color: #000;
  border: 0.1px solid #ceb524b2;
  padding: 0.8em 2em;
  border-radius: 5px;
  text-decoration: none;
  overflow: hidden;
  transition: padding 0.3s ease;
}

/* Hintergrund-Animation */
.btn-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  right: 0%;
  bottom: 0;
  background: #ceb524b2;
  z-index: -1;
  transition: all 0.3s cubic-bezier(0.1, 0, 0.1, 1),
    right 0.3s cubic-bezier(0.1, 0, 0.1, 1);
}

/* Pfeil nach links */
.btn-back::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% - 2em); /* Start ganz rechts */
  right: calc(100% - 2em);
  bottom: 0;
  background-image: url("https://cdn-icons-png.flaticon.com/128/109/109618.png"); /* ← Icon */
  background-size: 1.5em;
  background-repeat: no-repeat;
  background-position: right;
  transition: right 0.3s cubic-bezier(0.1, 0, 0.1, 1);
}

/* Hover-Effekt */
.btn-back:hover {
  padding: 0.8em 2em 0.8em 3.5em; /* rechts etwas mehr Platz */
}
.btn-back:hover::before {
  left: 0;
  right: calc(100% - 3em);
}
.btn-back:hover::after {
  left: 0;
}

/* --- Mobile Fix für "Weiter einkaufen" Button --- */
@media (max-width: 768px) {
  .btn-back {
    font-size: 1.1em;
    padding: 0.6em 1em 0.6em 2.5em; /* kompakter, aber Platz für Pfeil */
  }

  .btn-back::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0.4em; /* Pfeil dauerhaft sichtbar */
    bottom: 0;
    width: 1.2em;
    background-image: url("https://cdn-icons-png.flaticon.com/128/109/109618.png"); /* ← Icon */
    background-size: 1.2em;
    background-repeat: no-repeat;
    background-position: center;
    transition: none; /* kein Hover auf Mobile */
  }

  .btn-back::before {
    left: 0;
    right: calc(100% - 2em); /* Hintergrund wie beim Hover-Effekt */
  }
}

/* ---- ÜBER-UNS ---- */

/* Über uns Seite */
.about-intro {
  padding: 2rem 0;
  text-align: center;
}

.about-story {
  padding: 3rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.story-image {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  border-radius: 8px;
  color: #888;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.check-list li::before {
  content: "✔";
  margin-right: 0.5rem;
  color: #c18c00;
}

.about-values {
  background: #fafafa;
  padding: 3rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.value-card .icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #c18c00;
}

.about-team {
  padding: 3rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.team-member .avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #f0f0f0;
}

.icon {
  font-size: 2.5rem;
  display: inline-block;
  background: linear-gradient(5deg, #f7b733, #eb3204);
  background-clip: text; /* Standard */
  -webkit-background-clip: text; /* Chrome/Safari */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(223, 219, 15, 0.6);
}

/* ---- KONTAKT ---- */

/* Kontaktseite */
.contact-section {
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form h1 {
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font: inherit;
}

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

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-info ul li {
  margin-bottom: 0.5rem;
}

.map-placeholder {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  height: 350px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* eine Spalte */
  }

  .contact-info {
    order: 1; /* oben: So erreichst du uns */
  }

  .map-placeholder {
    order: 2; /* darunter: Karte */
    margin-top: 1.5rem; /* kleiner Abstand als Desktop */
    height: 250px; /* etwas höher für Handy */
  }

  .contact-form {
    order: 3; /* zuletzt: Kontaktformular */
    margin-top: 2rem;
  }
}

/* Button für Mobile optimieren */
.contact-form .btn {
  width: 100%; /* volle Breite */
  padding: 1rem; /* größer zum Antippen */
  font-size: 1.1rem; /* etwas größerer Text */
}

/* ===== Checkout Layout ===== */
.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1rem; /* py-10 px-4 */
}

.checkout-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

/* ===== Hero ===== */
.checkout-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-hero .icon-credit-card {
  width: 3rem;
  height: 3rem;
  color: #d97706; /* honey-600 */
}

.checkout-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: bold;
  margin-top: 0.5rem;
}

/* ===== Cards ===== */
.checkout-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.checkout-heading {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkout-heading i {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
  color: #d97706; /* honey-600 */
}

/* ===== Warenkorb Liste ===== */
.checkout-list {
  border-top: 1px solid #e5e7eb; /* divide-y */
  border-bottom: 1px solid #e5e7eb;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.checkout-summary {
  text-align: right;
  margin-top: 1rem;
}

.checkout-summary p {
  margin: 0.25rem 0;
}

.checkout-total {
  font-weight: bold;
}

/* ===== Country Select ===== */
.checkout-country-form {
  display: inline-block;
  margin-bottom: 1rem;
}

.country-select {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
}

.shipping-warning {
  color: #dc2626; /* red-600 */
}

/* ===== Form Inputs ===== */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* space-y-4 */
}

.input-field {
  width: 100%;
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 1rem;
}

/* ===== Zahlungsdaten ===== */
.payment-card {
  background: #f9fafb; /* nature-50 Ersatz */
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.payment-heading {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.payment-heading i {
  margin-right: 0.5rem;
  color: #d97706; /* honey-600 */
}

.card-element {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.card-errors {
  color: #dc2626; /* red-600 */
  margin-top: 0.5rem;
}

/* ===== Button- Jetzt Sicher Bezahlen ===== */
.checkout-button-wrap {
  text-align: center;
  margin-top: 1rem;
}

.checkout-button {
  padding: 0.75rem 6.5rem;
  background: #ca8a04; /* yellow-600 */
  color: #fff;
  font-size: x-large;
  border: none;
  border-radius: 0.375rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkout-button:hover {
  background: #a16207; /* yellow-700 */
}

.agb-checkbox {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: var(--radius);
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-container input {
  margin-right: 10px;
}

.checkbox-container a {
  color: var(--primary-color);
  text-decoration: underline;
}
/* 👇 MOBILE FIX */
@media (max-width: 768px) {
  .agb-checkbox {
    padding: 0.8rem;
    margin: 1rem 0;
  }

  .checkbox-container {
    font-size: 0.8rem; /* Etwas kleiner auf Mobile */
    line-height: 1.4; /* Bessere Lesbarkeit */
    flex-wrap: wrap; /* Erlaubt Umbruch */
  }

  .checkbox-container br {
    display: none; /* Keine manuellen Zeilenumbrüche */
  }
}

/* Loading button nach Kauf */
/* Loading Popup */
.loading-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-popup.active {
  display: flex;
}

.loading-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popupAppear 0.3s ease-out;
}

@keyframes popupAppear {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading Spinner */
.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #4caf50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-content p {
  font-size: 18px;
  margin: 10px 0;
  font-weight: bold;
}

.loading-sub {
  font-size: 14px !important;
  color: #666;
  font-weight: normal !important;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mengen-Regler -- PRODUCT-CART---*/
.quantity-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.quantity-selector {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  background: #f8f8f8;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #e8e8e8;
}

.qty-input {
  width: 50px;
  border: none;
  text-align: center;
  padding: 0.5rem;
  font-size: 1rem;
}

/* Cart quantity controls */
.qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty-stack {
  display: flex;
  flex-direction: row; /* Desktop: Buttons nebeneinander */
  gap: 6px;
}
.qty-form .qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 600;
}

/* Mobile: stack + on top, value, then - */
@media (max-width: 768px) {
  .cart-table td {
    vertical-align: middle;
  }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) {
    width: 80px;
    text-align: center;
  }
  .qty-form.qty-vertical {
    flex-direction: row; /* Zahl neben dem Button-Stack */
    align-items: center;
  }
  .qty-stack {
    flex-direction: column; /* Mobile: + oben, - unten */
    gap: 4px;
  }
  .qty-form .qty-btn {
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .qty-form .qty-value {
    min-width: 2rem;
    font-size: 1.05rem;
    margin-top: 0;
    margin-left: 8px; /* Abstand rechts vom Button-Stack */
  }
  .qty-form.qty-vertical {
    flex-direction: row;
    gap: 8px;
  }
  .qty-form .qty-btn {
    width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}

/* ===== Feather Icons ===== */

/* Standard: alle Feather-Icons gleich groß + honigfarben */
.feather {
  width: 1.25rem; /* ca. 36px */
  height: 1rem;
  stroke: #37d906bb; /* honey-600 (grün testweise) */
  stroke-width: 2;
  vertical-align: middle;
}

/* Hero-Icon (oben, großes Kreditkarten-Icon) */
.checkout-hero .feather {
  width: 2rem; /* ~128px */
  height: 3rem;
}

/* Warenkorb- und User-Icon in Überschriften */
.checkout-heading .feather {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Kreditkarten-Icon in der Zahlungsdaten-Box */
.payment-heading .feather {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* --- SUCCESS-SEITE --- */
/* Success Page */
.success-page {
  background-color: #f9fafb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.success-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px; /* Abstand zum Header */
}

.success-container {
  max-width: 500px;
  text-align: center;
  background: white;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.success-icon {
  margin-bottom: 30px;
}

.success-icon i {
  width: 80px;
  height: 80px;
  color: #4caf50;
}
.success-icon svg {
  width: 80px;
  height: 80px;
  color: #4caf50;
}

.success-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 20px;
}

.success-text p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 30px;
}

.success-button {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.success-button:hover {
  background: #45a049;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

/* Cancel variant (red theme) */
.is-cancel .success-icon i,
.is-cancel .success-icon svg {
  color: #e53935;
}
.is-cancel .success-button {
  background: #e53935;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}
.is-cancel .success-button:hover {
  background: #d32f2f;
  box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2d3748;
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  display: none; /* Standardmäßig ausgeblendet */
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #4caf50;
  color: white;
}

.cookie-btn.accept:hover {
  background: #45a049;
}

.cookie-link {
  color: #cbd5e0;
  text-decoration: underline;
}

.cookie-link:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

/* Map placeholder (shows when only essential cookies) */
.map-placeholder {
  background: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}
.map-placeholder .map-static {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  display: block;
}
.map-placeholder .map-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #555;
}
.map-placeholder .map-note a {
  color: var(--honey-700);
  text-decoration: underline;
}
/* Alerts for contact form */
.alert {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin: 0.75rem 0;
  font-weight: 600;
}
.alert.success {
  background: #e6ffed;
  color: #0b5;
  border: 1px solid #bdf5cd;
}
.alert.error {
  background: #ffe9e9;
  color: #b00020;
  border: 1px solid #ffbcbc;
}
.form-note {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0 1rem;
}
