/* ================================
   Basis-Stile (für alle Geräte)
================================== */
body {
  background-color: #fefcf9;
  font-family: 'Quicksand', sans-serif;
  color: #100f0d;
  line-height: 1.6;
  font-size: 1rem;
  
}
:root {
  --kr-header-icon-color: #7B6655;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #100f0d;
}

/* ================================
   Sektionen & Container
================================== */
.section {
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ================================
   Struktur & Layout-Klassen
================================== */
.k-section-light {
  background-color: #f6f1eb;
}

.k-section-dark {
  background-color: #b8a398;
  color: #fff;
}

.k-two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.k-two-columns > * {
  flex: 1 1 50%;
}

.k-text-center {
  text-align: center;
}

/* ================================
   Header Basis
================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 9999;
  background-color: var(--ast-global-color-4);
  box-shadow: none !important;
}
/* ================================
   Header Höhe & vertikale Ausrichtung gelöscht
================================== */

/* ================================
   Header Höhe & Ausrichtung
================================== */

.site-header .ast-primary-header-bar,
.site-header .site-primary-header-wrap,
.site-header .ast-builder-grid-row {
  min-height: 64px;
}

.site-header .ast-builder-grid-row {
  align-items: center;
}

.site-header .site-header-section,
.site-header .ast-builder-layout-element,
.site-header .ast-builder-layout-element > div {
  display: flex;
  align-items: center;
}

/* ================================
   Logo im Header
================================== */
.kranatu-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem 1rem;
}

.kranatu-logo {
  height: auto;
  width: 100px;
  max-height: 180px;
  transition: all 0.3s ease;
}

.site-header .kranatu-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header .kranatu-logo {
  transform: translateY(-2px);
}

/* HTML-Logo im Header (Customizer-Modul) */
.kr-header-logo-html {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.kr-header-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
}

.kr-header-logo-img {
  display: block;
  width: 180px;
  height: auto;
  transform: translateY(-2px);
}
/* ================================
   Desktop-Menü
================================== */
@media (min-width: 1025px) {
  .ast-desktop .main-header-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .ast-desktop .main-header-menu > .menu-item {
    position: relative;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: transparent !important;
    width: auto !important;
    color: inherit;
  }

  .ast-desktop .main-header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    min-width: 220px;
    background: var(--ast-global-color-4);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
  }

  .ast-desktop .main-header-menu .sub-menu .menu-item {
    width: 100%;
  }

  .ast-desktop .main-header-menu .sub-menu .menu-link {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    background: transparent !important;
    color: inherit;
  }

  .ast-desktop .main-header-menu .sub-menu .menu-link:hover {
    background: var(--ast-global-color-7) !important;
  }
}

/* ================================
   Astra Off-Canvas wirklich begrenzen
   Mobile + Tablet bis 1024px
================================== */
@media (max-width: 1024px) {
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner,
  .ast-mobile-popup-content,
  .ast-popup-nav-wrap,
  .ast-builder-menu-mobile,
  .ast-header-break-point .main-header-bar-navigation,
  .ast-builder-menu-mobile .main-navigation {
    width: min(360px, calc(100vw - 2rem)) !important;
    max-width: min(360px, calc(100vw - 2rem)) !important;
    box-sizing: border-box !important;
  }

  .ast-mobile-popup-drawer,
  .ast-popup-nav-wrap,
  .ast-header-break-point .main-header-bar-navigation {
    left: 1rem !important;
    right: auto !important;
    top: 0 !important;
    transform: none !important;
  }

  .ast-mobile-popup-content {
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  /* Menüstruktur im Drawer */
  .ast-mobile-popup-content .main-header-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .ast-mobile-popup-content .main-header-menu .menu-item {
    width: 100%;
    margin: 0;
  }

  /* Hauptpunkte: Farben aus Astra übernehmen */
  .ast-mobile-popup-content .main-header-menu .menu-link {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--ast-global-color-1);
    color: var(--ast-global-color-3);
    border-bottom: 1px solid var(--ast-border-color);
    text-align: left;
  }

  /* Unterpunkte immer sichtbar */
  .ast-mobile-popup-content .sub-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    box-shadow: none !important;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .ast-mobile-popup-content .sub-menu .menu-item {
    width: 100%;
  }

  /* Unterpunkte: Farben aus Astra übernehmen */
  .ast-mobile-popup-content .sub-menu .menu-link {
    width: 100%;
    padding-left: 2rem;
    background: var(--ast-global-color-4);
    color: var(--ast-global-color-3);
    border-bottom: 1px solid var(--ast-border-color);
  }

  /* Optionales Hover im Off-Canvas */
  .ast-mobile-popup-content .main-header-menu .menu-link:hover,
  .ast-mobile-popup-content .sub-menu .menu-link:hover {
    background: var(--ast-global-color-7);
    color: var(--ast-global-color-3);
  }
}

/* ================================
   HeroA-Textbox (zentrierter Textcontainer auf Bild)
================================== */
.hero-textbox.center {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  box-shadow: none;
}

.hero-textbox.center h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #100f0d;
}

.hero-textbox.center p {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 2rem;
}

.hero-buttons.center {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-buttons .k-button {
  margin: 0.5rem;
}

/* ================================
   HeroB-Textbox (linker Textcontainer auf Bild)
================================== */
.hero-section.left {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  position: relative;
}

.hero-textbox.left {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.hero-textbox.left h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #100f0d;
  line-height: 1.3;
}

.hero-textbox.left p {
  font-size: 1.125rem;
  color: #444;
  margin-bottom: 2rem;
}

.hero-buttons.left {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ================================
   HERO – Full Bleed (Startseite)
================================== */
.kr-hero,
.hero-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: 0;
  padding-right: 0;
}

.kr-hero .wp-block-cover {
  min-height: 85vh;
  width: 100%;
}

.kr-hero .wp-block-cover__image-background {
  object-fit: cover;
}

.kr-hero .wp-block-cover__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ================================
   Mobile (unter 768px)
================================== */
@media (max-width: 767px) {
  h1 { font-size: 1.75rem; text-align: center; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  h4 { font-size: 1.3rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.8rem; }
  body, p { font-size: 0.9375rem; }

  .kranatu-logo {
    width: 60px;
  }

  .header-logo {
    width: 80%;
    margin: 0 auto;
  }

  .main-navigation {
    font-size: 0.875rem;
  }

  .heroa-section {
    padding: 1.5rem;
    text-align: center;
  }

  .hero-textbox.center {
    padding: 1.25rem;
    margin: 1rem;
    text-align: center;
  }

  .hero-textbox.center h1 {
    font-size: 1.75rem;
  }

  .hero-textbox.center p {
    font-size: 1rem;
  }

  .hero-buttons.center {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero-buttons,
  .hero-buttons.center {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ================================
   Tablet (768px – 1024px)
================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.8rem; }
  p, body { font-size: 1rem; }

  .header-logo {
    width: 60%;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .main-navigation {
    font-size: 0.9rem;
  }

  .section {
    padding: 1rem 1.25rem;
    margin-bottom: 2.5rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ================================
   Desktop (ab 1025px)
================================== */
@media (min-width: 1025px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.5rem; }
  h5 { font-size: 1.2rem; }
  h6 { font-size: 1rem; }
  p, body { font-size: 1.125rem; }

  .header-logo {
    width: 40%;
  }

  .hero-section {
    padding: 3rem;
  }

  .main-navigation {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 2rem;
    margin-bottom: 3rem;
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ================================
   WOOCOMMERCE – SINGLE PRODUCT
================================== */

/* Grundfläche */
.single-product {
  background-color: #fefcf9;
}

/* Grundabstände des Inhaltsbereichs */
.single-product .site-content .ast-container,
.single-product .site-content .ast-woocommerce-container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Produktbereich */
.single-product .product.type-product {
  margin-top: 1rem;
  margin-bottom: 4rem;
}

/* Linke Bildbühne */
.single-product .woocommerce-product-gallery {
  background: #f6f1eb;
  border-radius: 1.5rem;
  padding: 1.5rem;
  position: sticky;
  top: 7.5rem;
}

/* Hauptbild */
.single-product .woocommerce-product-gallery__wrapper {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Rechter Bereich */
.single-product div.product .summary {
  padding-top: 0.25rem;
}

/* Breadcrumbs */
.single-product .woocommerce-breadcrumb {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(16, 15, 13, 0.55);
  margin-bottom: 0.75rem;
}

/* Kategorie oberhalb */
.single-product .single-product-category,
.single-product .single-product-category a {
  font-size: 0.95rem;
  color: #c55254;
  text-decoration: none;
}

/* Titel */
.single-product .product_title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

/* Preis */
.single-product p.price,
.single-product span.price {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0.75rem 0 0.35rem;
  color: #100f0d;
}

/* Versandhinweis */
.single-product .ast-shipping-text {
  display: inline-block;
  font-size: 0.95rem;
  color: rgba(16, 15, 13, 0.65);
  margin-bottom: 0.9rem;
}

/* Kurzbeschreibung */
.single-product .woocommerce-product-details__short-description {
  font-size: 1rem;
  line-height: 1.75;
  color: #100f0d;
  margin-bottom: 1.5rem;
}

.single-product .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

/* Nutzenliste mit Icons */
.kr-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.kr-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.kr-benefits-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  color: #c55254;
  opacity: 0.9;
}

.kr-benefits-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.kr-benefits-text strong {
  display: block;
  font-weight: 600;
  color: #100f0d;
  line-height: 1.35;
}

.kr-benefits-text span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(16, 15, 13, 0.62);
}

/* Falls du noch die einfache Listenvariante nutzt */
.k-benefits {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.k-benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #100f0d;
}

.k-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #c55254;
  opacity: 0.8;
}

/* Kaufbox / Variantenbereich */
.single-product form.cart,
.single-product form.variations_form {
  background: #fffaf6;
  border: 1px solid rgba(16, 15, 13, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* Variations-Tabelle beruhigen */
.single-product .variations {
  margin-bottom: 1rem;
  border: 0;
}

.single-product .variations td,
.single-product .variations th {
  border: 0;
  padding: 0.35rem 0;
  vertical-align: middle;
}

.single-product .variations label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #100f0d;
}

/* Dropdown / Select / Eingaben */
.single-product .variations select,
.single-product form.cart select,
.single-product form.cart input[type="text"],
.single-product form.cart textarea {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgba(16, 15, 13, 0.1);
  border-radius: 1rem;
  background: #fff;
  color: #100f0d;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  box-shadow: none;
}

/* Zusatzoptionen Plugin harmonisieren */
.single-product .tm-extra-product-options,
.single-product .tc-extra-product-options {
  margin-top: 0.75rem;
}

.single-product .tm-extra-product-options .tmcp-field-wrap,
.single-product .tc-extra-product-options .tmcp-field-wrap {
  margin-bottom: 0.85rem;
}

.single-product .tm-extra-product-options label,
.single-product .tc-extra-product-options label {
  font-size: 0.95rem;
  color: #100f0d;
}

/* Menge + Button */
.single-product div.product form.cart .quantity {
  margin-right: 0.75rem;
}

.single-product .quantity .qty {
  min-height: 3rem;
  min-width: 4.5rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 15, 13, 0.12);
  background: #fff;
}

/* CTA */
.single-product .single_add_to_cart_button,
.single-product button.single_add_to_cart_button.button.alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  background: #100f0d;
  color: #fefcf9;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.single-product .single_add_to_cart_button:hover,
.single-product button.single_add_to_cart_button.button.alt:hover {
  background: #2a2521;
  transform: translateY(-1px);
  opacity: 1;
}

/* Verfügbarkeit / Out of stock */
.single-product .stock.out-of-stock,
.single-product p.stock.out-of-stock {
  background: #f6f1eb;
  border: 1px solid rgba(16, 15, 13, 0.08);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  color: #100f0d;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 1rem 0;
}

/* Zahlung / Payment Block */
.single-product .ast-single-product-payments {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid rgba(16, 15, 13, 0.06);
  border-radius: 1rem;
}

.single-product .ast-single-product-payments legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(16, 15, 13, 0.7);
  margin-bottom: 0.4rem;
}

.single-product .ast-single-product-payments ul {
  margin: 0;
  padding: 0;
}

/* Meta unten */
.single-product .product_meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 15, 13, 0.08);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(16, 15, 13, 0.58);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.single-product .product_meta a {
  color: inherit;
  text-decoration: none;
}

/* Tabs / Beschreibung unten */
.single-product .woocommerce-tabs,
.single-product .ast-woocommerce-accordion {
  margin-top: 3rem;
}

.single-product .woocommerce-Tabs-panel,
.single-product .ast-accordion-content .ast-accordion-wrap {
  background: #fffaf6;
  border: 1px solid rgba(16, 15, 13, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
}

/* Accordion Header */
.single-product .ast-accordion-header {
  font-size: 1rem;
  font-weight: 600;
  color: #100f0d;
}

/* Related / Upsells */
.single-product .related,
.single-product .up-sells {
  margin-top: 4rem;
}

.single-product .related > h2,
.single-product .up-sells > h2 {
  margin-bottom: 1.5rem;
}

/* MOBILE */
@media (max-width: 767px) {
  .single-product .site-content .ast-container,
  .single-product .site-content .ast-woocommerce-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .single-product .woocommerce-product-gallery {
    position: relative;
    top: 0;
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .single-product .product_title {
    max-width: none;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }

  .single-product .woocommerce-product-details__short-description {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: none;
  }

  .single-product form.cart,
  .single-product form.variations_form {
    padding: 1rem 0.9rem;
    border-radius: 1rem;
  }

  .single-product div.product form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .single-product div.product form.cart .quantity {
    margin-right: 0;
  }

  .single-product .single_add_to_cart_button,
  .single-product button.single_add_to_cart_button.button.alt {
    width: 100%;
  }

  .single-product .woocommerce-Tabs-panel,
  .single-product .ast-accordion-content .ast-accordion-wrap {
    padding: 1rem;
  }

  .single-product .product_meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1024px) {
  .single-product .woocommerce-product-gallery {
    top: 6.5rem;
    padding: 1.25rem;
  }

  .single-product .product_title {
    font-size: 2.15rem;
    max-width: none;
  }

  .single-product .woocommerce-product-details__short-description {
    max-width: none;
  }
}

/* DESKTOP */
@media (min-width: 1200px) {
  .single-product .ast-woocommerce-container {
    max-width: 1360px !important;
    width: 100% !important;
  }

  .single-product .ast-product-img-summary-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 2.5rem !important;
    width: 100% !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
  }

  .single-product .ast-product-img-summary-wrapper > .woocommerce-product-gallery {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    width: 46% !important;
  }

  .single-product .ast-product-img-summary-wrapper > .summary.entry-summary {
    flex: 0 0 46% !important;
    max-width: 46% !important;
    width: 46% !important;
  }

  .single-product .summary.entry-summary {
    padding-top: 2.25rem !important;
  }

  .single-product .summary.entry-summary .product_title {
    width: 100% !important;
    max-width: none !important;
    font-size: 3rem !important;
    line-height: 1.06 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1rem !important;
  }

  .single-product .summary.entry-summary .woocommerce-breadcrumb,
  .single-product .summary.entry-summary .woocommerce-product-details__short-description,
  .single-product .summary.entry-summary form.cart,
  .single-product .summary.entry-summary .product_meta,
  .single-product .summary.entry-summary .ast-single-product-payments {
    width: 100% !important;
    max-width: none !important;
  }

  .single-product .summary.entry-summary .woocommerce-product-details__short-description {
    font-size: 1.02rem !important;
    line-height: 1.8 !important;
  }

  .single-product .woocommerce-product-gallery .flex-viewport {
    height: auto !important;
  }

  .single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .single-product .product_meta {
    font-size: 0.9rem !important;
    margin-top: 1rem !important;
  }
}

/* ================================
   Kranatu Icon System
================================== */

.kr-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.kr-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ================================
   Search Icon ersetzen
================================== */

/* Klickbares Such-Element stabil aufbauen */
.ast-search-icon .astra-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  position: relative;
  cursor: pointer;
  line-height: 1;
}

/* Original-SVG unsichtbar machen, aber nicht hart entfernen */
.ast-search-icon .astra-search-icon svg {
  opacity: 0 !important;
  width: 20px;
  height: 20px;
  display: block;
}

/* Eigenes Icon darüberlegen */
.ast-search-icon .astra-search-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  display: block;
  background-color: var(--kr-header-icon-color);
  pointer-events: none;
  -webkit-mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-search.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-search.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* ================================
   Menü- und Close-Icon ersetzen
================================== */

/* Alle Astra-Standardicons im Toggle ausblenden */
.main-header-menu-toggle .ast-menu-svg,
.main-header-menu-toggle .ast-close-svg,
.main-header-menu-toggle .ahfb-svg-iconset {
  display: none !important;
}

/* Button sauber ausrichten */
.main-header-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  line-height: 1;
}

/* Eigenes Menü-Icon */
.main-header-menu-toggle::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background-color: var(--kr-header-icon-color);
  pointer-events: none;

  -webkit-mask: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-menu2-1.svg') no-repeat center / contain;
  mask: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-menu2-1.svg') no-repeat center / contain;
}

/* Wenn Menü geöffnet ist: Close-Icon zeigen */
.main-header-menu-toggle[aria-expanded="true"]::before {
  -webkit-mask: url('https://kranatu.com/wp-content/uploads/2026/03/kr-icon-close.svg') no-repeat center / contain;
  mask: url('https://kranatu.com/wp-content/uploads/2026/03/kr-icon-close.svg') no-repeat center / contain;
}

/* ================================
   Cart Icon ersetzen
================================== */

/* Nur das eigentliche Cart-Linkelement vorbereiten */
.ast-site-header-cart a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  line-height: 1;
}

/* Nur das originale Cart-SVG ausblenden */
.ast-site-header-cart a svg {
  opacity: 0 !important;
}

/* Eigenes Cart-Icon */
.ast-site-header-cart a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: block;
  background-color: var(--kr-header-icon-color);
  pointer-events: none;

  -webkit-mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-cart1.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-cart1.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
/* ================================
   Cart Badge im Header feinjustieren
================================== */

.ast-site-header-cart .count,
.ast-site-header-cart .cart-badge,
.ast-site-header-cart .count.ast-header-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  transform: none;
  z-index: 2;
}

/* ================================
   Account / User Icon ersetzen
================================== */

/* Nur den eigentlichen Account-Link vorbereiten */
.ast-header-account-wrap a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  min-height: 22px;
  line-height: 1;
}

/* Original-Account-Icon unsichtbar machen */
.ast-header-account-wrap a svg,
.ast-header-account-wrap a i,
.ast-header-account-wrap a .avatar,
.ast-header-account-wrap a .ast-icon {
  opacity: 0 !important;
}

/* Eigenes User-Icon */
.ast-header-account-wrap a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: block;
  background-color: var(--kr-header-icon-color);
  pointer-events: none;

  -webkit-mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-user1.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url('https://kranatu.com/wp-content/uploads/2026/04/kr-icon-user1.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

/* Produkt-Optimierung gelöscht */
/* =========================================
   STARTSEITE HERO MOBIL
   Seite: 1490
========================================= */

/* ---------- Globale Absicherung ---------- */
html,
body {
  overflow-x: hidden;
}

/* ---------- Astra / Seiten-Wrapper neutralisieren ---------- */
.page-id-1490 .site-content,
.page-id-1490 .ast-container,
.page-id-1490 #primary,
.page-id-1490 .entry-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.page-id-1490 .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-id-1490 .site-content,
.page-id-1490 .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-id-1490 .entry-content > .alignfull,
.page-id-1490 .entry-content > .kr-home-hero-mobile,
.page-id-1490 .entry-content > .kr-home-hero-mobile:first-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ---------- Hero-Grundstruktur ---------- */
.kr-home-hero-mobile {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100svh;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fefcf9;
  box-sizing: border-box;
  isolation: isolate;
}

/* ---------- Bild-Ebene ---------- */
.kr-home-hero-mobile__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.kr-home-hero-mobile__media figure,
.kr-home-hero-mobile__media .wp-block-image,
.kr-home-hero-mobile__media .uagb-image,
.kr-home-hero-mobile__media .uagb-image__outer-wrap,
.kr-home-hero-mobile__image,
.kr-home-hero-mobile__image img,
.kr-home-hero-mobile__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center center;
}

/* ---------- Lesbarkeits-Overlay ---------- */
.kr-home-hero-mobile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(16, 15, 13, 0.05) 0%,
    rgba(16, 15, 13, 0.06) 35%,
    rgba(16, 15, 13, 0.16) 72%,
    rgba(16, 15, 13, 0.28) 100%
  );
}

/* ---------- Overlay-Ebene ---------- */
.kr-home-hero-mobile__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ---------- Headline ---------- */
.kr-home-hero-mobile__overlay .kr-home-hero-mobile__headline {
  position: absolute !important;
  top: 16svh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: calc(100% - 2rem);
  max-width: 20rem;
  margin: 0 !important;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
  box-sizing: border-box;
  background: rgba(123, 102, 85, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.15rem;
}

.kr-home-hero-mobile__headline .uagb-heading-text,
.kr-home-hero-mobile__headline h1,
.kr-home-hero-mobile__headline h2,
.kr-home-hero-mobile__headline p {
  margin: 0 !important;
  padding: 0 !important;
  color: #fefcf9;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

/* ---------- Untere Karte ---------- */
.kr-home-hero-mobile__card {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 5;
  width: calc(100% - 2rem);
  max-width: 20rem;
  margin: 0;
  padding: 1.4rem 1rem 1.5rem;
  border-radius: 1.15rem;
  box-sizing: border-box;
  background: rgba(123, 102, 85, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0px solid rgba(254, 252, 249, 0.08);
}

.kr-home-hero-mobile__card p,
.kr-home-hero-mobile__card h2,
.kr-home-hero-mobile__card h3,
.kr-home-hero-mobile__card .uagb-heading-text {
  margin: 0;
  text-align: center;
  color: #fefcf9;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.3rem, 4.5vw, 1.3rem);
  line-height: 1.35;
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

/* ---------- Responsive ---------- */
@media (min-width: 769px) {
  .kr-home-hero-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .kr-home-hero-mobile__overlay {
    padding: 0 0.9rem;
  }

  .kr-home-hero-mobile__overlay .kr-home-hero-mobile__headline {
    top: 14svh;
    width: calc(100% - 1.8rem);
    max-width: 21rem;
  }

  .kr-home-hero-mobile__card {
    width: calc(100% - 1.8rem);
    max-width: 21rem;
    padding: 1.15rem 0.95rem 1.2rem;
    border-radius: 1rem;
  }
}
/* =========================================
   STARTSEITE ABSCHNITT
   PRODUKTE, DIE BLEIBEN
========================================= */

.kr-home-feature {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.kr-home-feature__title {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem) auto;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.kr-home-feature__title .uagb-heading-text,
.kr-home-feature__title h1,
.kr-home-feature__title h2,
.kr-home-feature__title h3,
.kr-home-feature__title p {
  margin: 0;
  padding: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

.kr-home-feature__media-text {
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

.kr-home-feature__media-text figure,
.kr-home-feature__media-text .wp-block-image,
.kr-home-feature__media-text .uagb-image,
.kr-home-feature__media-text .uagb-image__outer-wrap,
.kr-home-feature__media-text img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.kr-home-feature__content {
  position: relative;
  width: 100%;
  max-width: 30rem;
  padding-left: 0.5rem;
}

.kr-home-feature__content::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: rgba(16, 15, 13, 0.2);
  margin-bottom: 1.2rem;
}

.kr-home-feature__eyebrow {
  margin-bottom: 1.4rem;
  opacity: 0.9;
}

.kr-home-feature__eyebrow .uagb-heading-text,
.kr-home-feature__eyebrow h2,
.kr-home-feature__eyebrow h3,
.kr-home-feature__eyebrow p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.kr-home-feature__text {
  margin-bottom: 1.6rem;
  max-width: 30ch;
  opacity: 0.85;
}

.kr-home-feature__text .uagb-heading-text,
.kr-home-feature__text p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  font-weight: 500;
}

.kr-home-feature__closing {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.kr-home-feature__closing .uagb-heading-text,
.kr-home-feature__closing h2,
.kr-home-feature__closing h3,
.kr-home-feature__closing p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.kr-home-feature__actions {
  margin-top: 1.2rem;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .kr-home-feature__title {
    max-width: 30rem;
  }

  .kr-home-feature__content {
    max-width: 28rem;
  }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  .kr-home-feature {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .kr-home-feature__title {
    max-width: 18rem;
    margin-bottom: 1.75rem;
  }

  .kr-home-feature__title .uagb-heading-text,
  .kr-home-feature__title h1,
  .kr-home-feature__title h2,
  .kr-home-feature__title h3,
  .kr-home-feature__title p {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
    line-height: 1.15;
  }

  .kr-home-feature__media-text {
    gap: 1.5rem;
  }

  .kr-home-feature__content {
    max-width: 100%;
    padding-left: 0;
  }

  .kr-home-feature__content::before {
    margin-bottom: 1rem;
  }

  .kr-home-feature__text {
    max-width: 100%;
  }
}

/* =========================================
   STARTSEITE ABSCHNITT
   PRODUKTKATEGORIEN / SHOP EINSTIEG
========================================= */

.kr-home-cats {
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.kr-home-cats__title {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1rem auto;
  text-align: center;
}

.kr-home-cats__title .uagb-heading-text,
.kr-home-cats__title h1,
.kr-home-cats__title h2,
.kr-home-cats__title h3,
.kr-home-cats__title p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

.kr-home-cats__intro {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
  text-align: center;
}

.kr-home-cats__intro .uagb-heading-text,
.kr-home-cats__intro p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  font-weight: 500;
  opacity: 0.9;
}

.kr-home-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.kr-home-cats__card {
  height: 100%;
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
}

.kr-home-cats__card > .uagb-container-inner-blocks-wrap,
.kr-home-cats__card > .block-editor-block-list__layout,
.kr-home-cats__card {
  background: #f3efe9;
  border-radius: 1.35rem;
  overflow: hidden;
  box-sizing: border-box;
}

.kr-home-cats__image,
.kr-home-cats__image figure,
.kr-home-cats__image .wp-block-image,
.kr-home-cats__image .uagb-image,
.kr-home-cats__image .uagb-image__outer-wrap {
  margin: 0;
}

.kr-home-cats__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.kr-home-cats__card-content {
  padding: 1.4rem 1.4rem 1.5rem;
}

.kr-home-cats__card-title {
  margin-bottom: 0.55rem;
}

.kr-home-cats__card-title .uagb-heading-text,
.kr-home-cats__card-title h2,
.kr-home-cats__card-title h3,
.kr-home-cats__card-title p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

.kr-home-cats__card-text .uagb-heading-text,
.kr-home-cats__card-text p {
  margin: 0;
  color: #100f0d;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  opacity: 0.88;
}

.kr-home-cats__card-link {
  margin-top: 1rem;
}

.kr-home-cats__card-link .uagb-heading-text,
.kr-home-cats__card-link p,
.kr-home-cats__card-link a {
  margin: 0;
  color: #7b6655;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.kr-home-cats__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

/* ---------- Hover optional ---------- */
@media (hover: hover) {
  .kr-home-cats__card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .kr-home-cats__card:hover {
    transform: translateY(-3px);
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .kr-home-cats__title {
    max-width: 34rem;
  }

  .kr-home-cats__intro {
    max-width: 36rem;
  }
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  .kr-home-cats {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .kr-home-cats__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .kr-home-cats__title {
    max-width: 18rem;
  }

  .kr-home-cats__title .uagb-heading-text,
  .kr-home-cats__title h1,
  .kr-home-cats__title h2,
  .kr-home-cats__title h3,
  .kr-home-cats__title p {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .kr-home-cats__intro {
    max-width: 100%;
    margin-bottom: 1.75rem;
  }

  .kr-home-cats__card-content {
    padding: 1.2rem 1.15rem 1.3rem;
  }
}