/* ============================================================================
   HAUPT-STYLESHEET - FINAL OPTIMIERT
   Version: 2.1
   Datum: 2025
   
   Konflikte wurden behoben und integriert.
   Siehe Changelog am Ende der Datei für Details.
   
   INHALTSVERZEICHNIS:
    1. CSS Custom Properties (Variablen)
    2. Reset & Basis-Styles
    3. Typografie
    4. Layout & Container
    5. Header & Navigation
    6. Suche
    7. Breadcrumbs
    8. Hero Section & Carousel
    9. Kategorie-Listings
   10. Produkt-Grids
   11. Produkt-Details
   12. Bilder & Galerien
   13. Preise & Badges
   14. Buttons & Actions
   15. Info-Boxen & Features & FAQ
   16. Spezifikationen
   17. Angebote & Related Products
   18. Sidebar & Offcanvas
   19. Swiper Slider
   20. Footer
   21. Checkout & Warenkorb
   22. Kontaktformular
   23. Utilities & Helper Classes
   24. Media Queries
   25. Print Styles
   26. Animations
============================================================================ */


/* ============================================================================
   1. CSS CUSTOM PROPERTIES (Variablen)
============================================================================ */
:root {
    /* Farben - Primär */
    --primary-green: #185441;
    --primary-green-hover: #229954;
    --dark-text: #2c3e50;
    --medium-text: #3a3a3a;
    --light-text: #7f8c8d;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-gray: #f0f0f0;
    --white: #ffffff;
    --red-accent: #e74c3c;
    
    /* Farben - Sekundär (für Checkout/Forms) */
    --secondary-color: #6c757d;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.8rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --border-radius: 8px;

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.1);
    --box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --box-shadow-hover: 0 4px 16px rgba(0,0,0,0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    --transition: all 0.3s ease;

    /* Aliase für Checkout-Sektion */
    --light-bg: #f8f9fa;
    
    /* Z-Index Hierarchie (GELÖST: Konflikt #3) */
    --z-dropdown: 999;
    --z-category-tab: 900;
    --z-category-tab-active: 910;
    --z-sticky: 1000;
    --z-fixed: 1020;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-offcanvas: 1060;
    --z-tooltip: 1070;
}


/* ============================================================================
   2. RESET & BASIS-STYLES
============================================================================ */

#toggleSidebar {
    all: unset !important;
    display: inline-flex !important;
    cursor: pointer !important;
    align-items: center;
    justify-content: center;
}


button#toggleSidebar.open-sidebar-btn.me-2 {
    margin-right: 0.5rem !important;
}


.info-wrapper {
    display: none;
}

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

html {
    background: var(--bg-gray);
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

body {
    background-color: var(--bg-gray);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a {
    color: var(--medium-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

b, strong {
    font-weight: 500;
}

/* Listen mit Einrückung */
ul, ol {
    padding-left: 1.5rem;
    margin-left: 0.5rem;
    list-style-position: outside;
}

#boxen .boxcontent ul {
    margin-left: 0rem !important;
}

h2 + ul, 
h2 + ol {
    margin-top: var(--spacing-xs);
}

/* HR verstecken */
hr {
    display: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================================================
   3. TYPOGRAFIE
============================================================================ */
h1, .h1 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--dark-text);
}

h2, .h2 {
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    color: var(--dark-text);
}

h3, .h3,
.anfrage-section h2,
.manufacturer-section h2 {
    font-size: clamp(1rem, 1vw, 1.3rem);
    color: var(--dark-text);
}

h4, .h4 {
    font-size: clamp(0.9rem, 0.8vw, 1.1rem);
    color: var(--dark-text);
}

h5, .h5 {
    font-size: 1rem;
}

p, .text, .box-text {
    font-size: clamp(0.85rem, 0.8vw, 1rem);
    line-height: 1.6;
    color: var(--dark-text);
}

.description-section p,
.description-section li,
.description-section td {
  font-size: clamp(0.85rem, 0.8vw, 1rem);
  line-height: 1.6;
  color: var(--dark-text);
}

.fs85 {
    font-size: 0.85rem;
}

.fake-h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
}

p {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
/* ============================================================================
   4. LAYOUT & CONTAINER
============================================================================ */
/* Hauptcontainer */
.container-custom,
.custom-homepage-content,
.footerinner {
    width: 100%;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 var(--spacing-md);
}

.custom-homepage-content {
    min-height: calc(100vh - var(--footer-height, 418px)) !important;
}

.product-container {
    max-width: 1200px;
    margin: 0 auto;

}

.categorie_listing {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Content - GELÖST: Konflikt #11 */
.main {
    position: relative;
    background: transparent;
    padding: 0;
    margin: var(--spacing-sm) 0;
}

.main_content {
    padding: 0;
    display: block;
    background-color: var(--bg-gray);
}

/* Row System */
.row {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

/* Volle Breite Row */
.row2 {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: calc(-50vw + 0.8%);
}

/* No Gutters */
.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}


/* ============================================================================
   5. HEADER & NAVIGATION
============================================================================ */

.container-sm, .container {
    max-width: 100% !important;
}

/* Header Base */
header {
    background-color: #fff;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: var(--z-sticky);
}

.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-header__logo,
#logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo img {
    max-width: 100%;
    height: auto;
}

/* Top Header */
.headertop,
.cheadertop {
    padding: 0.25rem var(--spacing-sm);
    color: var(--white);
    font-weight: 300;
}

.cheadertop {
    color: var(--medium-text);
    box-shadow: 0px 2px 6px -2px rgba(0, 0, 0, 0.4);
    background-color: #fff;
}

/* Navbar */
.navbar {
    padding: var(--spacing-xs) 0;
}

.navbar-light .navbar-toggler {
    color: #333;
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler,
.navbar-toggler2 {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none !important;
    background: transparent;
}

/* Desktop Navigation */
.header-item--navigation {
    flex: 1;
    text-align: center;
    position: relative;
}

.site-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
}

.site-nav__item {
    position: static;
}

.site-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--medium-text);
    padding: 10px 0.6vw;
    transition: all var(--transition-base);
}

.site-nav__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-nav__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-nav__title {
    font-size: clamp(0.7rem, 1.2vw + 0rem, 1rem);
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.site-nav__title--underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--medium-text);
    transition: width var(--transition-base);
}

.site-nav__item:hover .site-nav__title--underline::after {
    width: 100%;
}

.lnr {
    font-size: 1.5rem;
}

svg.lnr {
    height: 1.6rem;
    width: 1.6rem;
    text-align: center;
}

.site-nav ol, ul, dl {
    margin-bottom: 0rem;
}

/* Dropdown Megamenu */
.site-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    padding: 40px 0;
    z-index: var(--z-dropdown);
    transition: opacity var(--transition-base), visibility 0s linear var(--transition-base);
    pointer-events: none;
}

.site-nav__item.show-dropdown .site-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s, 0s;
    pointer-events: auto;
}

body.dropdown-active .site-nav__item.show-dropdown .site-nav__dropdown {
    transition-duration: var(--transition-fast), 0s;
}

.megamenu .site-nav__dropdown-link:not(.site-nav__dropdown-link--top-level) {
    display: block;
    padding: 2px 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-bottom: 0.5rem;
}

.megamenu .site-nav__dropdown-link:not(.site-nav__dropdown-link--top-level):hover {
    background-color: rgba(0,0,0,0.05);
}

/* Megamenu Grid */
.grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 0 10vw;
}

.grid__item {
    flex: 0 0 calc(20% - 24px);
    max-width: 12vw;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.grid__item.appear-delay-1 { animation-delay: 0.1s; }
.grid__item.appear-delay-2 { animation-delay: 0.2s; }
.grid__item.appear-delay-3 { animation-delay: 0.3s; }
.grid__item.appear-delay-4 { animation-delay: 0.4s; }

.megamenu__colection-image {
    display: block;
    width: 100%;
    height: 7vw;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.megamenu__colection-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* User Navigation Icons - GELÖST: Konflikt #5 (vereinfachte Breakpoints) */
.header-icon {
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
}

.header-icon .badge {
    position: absolute;
    top: -5px;
    right: 5px;
    font-size: 10px;
    padding: 2px 5px;
    min-width: 18px;
}


/* ============================================================================
   6. SUCHE
============================================================================ */
#search {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.search-wrapper .search-input {
    position: absolute;
    right: 2.5rem;
    top: 0;
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    background-color: transparent;
    z-index: 1;
    transition: width var(--transition-base), opacity var(--transition-base), padding var(--transition-base);
}

.search-wrapper:hover .search-input,
.search-wrapper:focus-within .search-input {
    width: 200px;
    opacity: 1;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ccc;
    background-color: var(--white);
}

.formsearch {
    background: transparent;
    border: none;
    color: #5f7285;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Suchvorschläge */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
    display: none;
}

#search_suggest {
    min-width: 380px;
}

#search_suggest img {
    max-width: 35px;
    height: auto;
}


/* ============================================================================
   7. BREADCRUMBS
============================================================================ */
.navtrailinner {
    font-size: 0.75rem;
    color: #777 !important;
    padding: 0rem 0.5rem 0.5rem 0.5rem;
    margin-left: var(--spacing-xs);
    background: transparent;
}

.navtrailinner span a {
    background: transparent;
    color: #777 !important;
    padding: 0;
    margin: 0;
    transition: color var(--transition-fast), text-decoration var(--transition-fast);
    text-decoration: none;
}

.navtrailinner span a span {
    text-decoration: underline;
}

.navtrailinner span a:hover span {
    text-decoration: none;
}

.breadcrumb-sep {
    margin: 0 6px;
    font-weight: normal;
    text-decoration: none;
}

/* Haus-Symbol für Startseite */
.navtrailinner > span:first-of-type a::before {
    content: "⌂";
    font-size: 1.3rem;
    margin-right: 4px;
    position: relative;
    top: 1px;
    text-decoration: none;
}

.navtrailinner > span:first-of-type a span {
    font-size: 0;
    text-decoration: none;
}


/* ============================================================================
   8. HERO SECTION & CAROUSEL
============================================================================ */

.slider-desktop .container-fluid {
    padding-bottom: 1rem;

}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.hero-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(52, 73, 94, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Carousel */
.carousel-inner {
    z-index: 0;
}

/* Carousel Captions - Stil 1 */
.carousel-caption {
    position: absolute;
    right: 0;
    left: auto;
    text-align: left;
    bottom: 3rem;
    z-index: 99;
    background: rgba(78, 119, 85, 0.8);
    padding: var(--spacing-sm) var(--spacing-lg);
    width: 40%;
    color: var(--white);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px 0 rgb(70 73 109 / 37%);
}

.carousel-caption::after {
    content: '';
    position: absolute;
    bottom: -3rem;
    left: var(--spacing-lg);
    border: 1.5rem solid transparent;
    border-top: 1.5rem solid rgba(78, 119, 85, 0.7);
}

.carousel-caption b.sliderh5,
.carousel-caption2 b.sliderh5,
.carousel-caption3 b.sliderh5 {
    color: #eee;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.7px;
}

.carousel-caption2 {
    top: 1vw;
    left: 10vw;
    right: auto;
    bottom: 1vw;
    width: 80%;
    text-align: left;
    position: absolute;
    z-index: 99;
    padding: 1rem 2rem;
    color: #fff;
    display: block;
}

.carousel-caption2 h2,
.carousel-caption3 h2 {
    font-size: 5vw;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    color: #fff !important;
}

.carousel-caption2 p,
.carousel-caption3 p {
    font-size: 2vw;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    color: #fff !important;
}

/* GELÖST: Konflikt #1 - Carousel Button Positionen */
.carousel-caption2 .btn {
    position: absolute;
    right: 2.5rem;
    bottom: 5rem;
    font-size: 3vw;
    color: #fff;
    background-color: rgba(58, 58, 58, 0.8);
    border: none;
    padding: 0em 0.3em;
    border-radius: 0.2em;
    transition: background-color 0.3s ease;
}

.carousel-caption2 .btn:hover,
.carousel-caption3 .btn:hover {
    background-color: rgba(58, 58, 58, 0.9);
    color: #fff !important;
}

/* Mobile Slider - GELÖST: Konflikt #4 */
.slider-mobile {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #fff;
    display: none;
}

.slider-desktop {
    display: block;
}

.slider-item-mobile {
    position: relative;
    width: 100%;
    margin-bottom: 0.5rem;
}

.slider-item-mobile a {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 5px;
}

.slider-item-mobile img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}






.carousel-caption3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
  padding: 0.5rem 1rem;
  text-align: left;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
}

.carousel-caption3 h2 {
  margin: 0;
  font-size: 2.5rem;
  color: #fff;
}

.carousel-caption3 p {
  margin: 0;
  font-size: 1rem;
  color: #fff;
  max-width: 80%;
}

.carousel-caption3 .btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.2rem 1rem 0.5rem 1rem;
  background-color: rgba(58, 58, 58, 0.8);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}










.carousel-caption3 .btn:hover {
  background-color: #f0f0f0;
}










/* Hover-Effekt für Mobile Slider */
.slider-item-mobile a:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


/* ============================================================================
   9. KATEGORIE-LISTINGS
============================================================================ */

/* Page Headers - GELÖST: Konflikt #6 & #7 */
.product-listing-page-header,
.categorie-listing-page-header {
    background: var(--primary-green);
    color: var(--white);
    padding: var(--spacing-xs);
    overflow: hidden;
}

.product-listing-header {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.categorie-listing-page-header {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-listing-page-header-content {
    max-width: 1400px;
    margin: 0 auto;
}

.product-listing-page-header h1,
.categorie-listing-page-header h1 {
    font-size: 2rem;
    color: var(--white);
}

.product-listing-page-header p,
.categorie-listing-page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 0px;
}

.section-header h1 {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-text);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.section-header-offers {
    margin-bottom: 0rem;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: var(--spacing-lg);
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all var(--transition-slow);
    position: relative;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.category-image {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 100%);
    transition: all var(--transition-slow);
    pointer-events: none;
}

.category-card:hover .category-image::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.15) 100%);
}

.category-content {
    padding: var(--spacing-lg);
}

.category-content h3 {
    font-size: 1.6rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.category-content p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.7;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e67e22;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.category-card:hover .category-link {
    gap: 15px;
}

/* Category Tabs - GELÖST: Konflikt #3 (Z-Index) & #10 (Padding) */
.categories-wrapper {
    background: var(--white);
    padding: 1.5rem var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.category-tabs {
    display: flex;
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
    position: relative;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: visible;
    margin-right: -8px;
    top: 2px;
    z-index: var(--z-category-tab);
}

/* Z-Index von links nach rechts steigern */
.category-tab:nth-child(1) { z-index: 5; }
.category-tab:nth-child(2) { z-index: 4; }
.category-tab:nth-child(3) { z-index: 3; }
.category-tab:nth-child(4) { z-index: 2; }

.category-tab:hover {
    background: #f0f0f0;
    color: var(--primary-green);
}

.category-tab.active {
    background: var(--white);
    color: var(--primary-green);
    border-color: #ccc;
    z-index: var(--z-category-tab-active);
    top: 0;
}

.category-content-start {
    display: none;
}

.category-content-start.active {
    display: block;
    animation: fadeIn var(--transition-base) ease;
}

/* Subcategories - GELÖST: Konflikt #15 */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.subcategory-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none !important;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
    color: inherit;
}

.subcategory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.subcategory-image {
    width: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.subcategory-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.subcategory-info h4 {
    color: var(--dark-text);
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
    font-weight: 600;
}

.subcategory-info p {
    color: var(--light-text);
    font-size: 0.85rem;
    flex: 1;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

.subcategory-link {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xs);
}

.subcategory-link:hover {
    color: var(--primary-green-hover);
    gap: 0.75rem;
}

/* ============================================================================
   13. PREISE & BADGES
============================================================================ */

/* Price Section */
.price-section {
    background: var(--bg-gray);
    border-radius: 6px;
    margin: 1.5rem 0;
    padding: 0.3rem var(--spacing-sm) var(--spacing-sm) var(--spacing-sm);
}


.price-row {
    display: flex;
    flex-direction: column;
    font-size: 2rem
}

.price-main {
    display: flex;
    gap: 0.5em;
    align-items: baseline;
}

/* Prices */
.old-price,
.productOldPriceDiscount {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.95rem;
}

.productOldPriceDiscount {
    font-size: 1rem;
    color: #888888;
    font-weight: normal;
    margin-bottom: -0.5rem;
}

.current-price,
.new-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.product-price {
    margin-bottom: var(--spacing-sm);
}

.product-price .new-price {
    display: block;
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.price-info,
.tax-shipping-text {
    font-size: 0.9rem;
    color: var(--light-text);
}

.tax-shipping-text {
    font-size: 11px;
}

.gm_products_vpe {
    margin-top: 0.3em;
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: var(--spacing-xs);
}

.price-unit {
    color: var(--light-text);
    font-size: 0.8rem;
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* VAT Info Popup */
.price-note {
    position: relative;
    font-size: 0.9em;
    color: #666;
    display: inline-block;
}

.vat-trigger {
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.vat-popup {
    position: absolute;
    background: #f0f0f0;
    color: var(--primary-green);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 1.5em;
    line-height: 1.3;
    min-width: 150px;
    max-width: 240px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.6em;
    z-index: 9999;
    display: none;
    border: 1px solid var(--border-color);
}

.info-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 14px;
    height: 14px;
    color: black;
    border: 1px solid #333;
    font-size: 10px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    position: relative;
    top: -2px;
    cursor: pointer;
    margin-left: 0.3rem;
}

.info-circle:hover {
    background-color: #000;
    color: var(--white);
}

/* Option Section */
.option-section {
    background: var(--bg-gray);
    border-radius: 6px;
    margin: 1.5rem 0;
    padding: var(--spacing-sm);
}

#properties_selection_container dt, #properties_selection_container dd, #attributes_selection_container dt, #attributes_selection_container dd {
    float: left;
    width: 50%;
    padding: 0px !important;
}

/* Stock Info */
.stock-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.stock-item {
    background: var(--bg-gray);
    padding: var(--spacing-sm);
    border-radius: 6px;
}

.stock-label {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.stock-value {
    font-weight: 600;
    color: var(--dark-text);
}

/* Badges & Ribbons */
.product-badges {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    z-index: 10;
}

.product-badges .badge,
.product-badge {
    background: var(--red-accent);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
    display: block;
}

.ribbons {
    left: 0;
    top: 0;
    position: relative;
    z-index: 999;
}

.ribbons > div {
    height: 40px;
    width: 55px;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    border-right: 1px solid var(--white);
    padding: var(--spacing-xs) 0.7rem var(--spacing-xs) 0.5em;
}

.ribbons > div:last-of-type {
    border-right: 0;
}

.ribbons > .ribbon-new {
    background: #424542;
    color: var(--white);
}

.ribbons > .ribbon-special {
    background: #cc0000;
    color: var(--white);
}

.ribbons > .ribbon-recommendation {
    background: var(--medium-text);
    color: var(--white);
}

.bg-success,
#product_info .badge-success {
    background-color: #226846;
    color: var(--white);
}



/* ============================================================================
   15. INFO-BOXEN & FEATURES
============================================================================ */
.info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-top: 1.5rem;
    margin-bottom: 0rem;
}

.info-box, .rechner-karte {
    background: linear-gradient(135deg, #e8f8f0 0%, #f0fcf8 100%);
    border-left: 4px solid var(--primary-green);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.info-box strong {
    color: var(--primary-green);
}

/* Info Section */
.info-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);
    padding: 80px 20px;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-content h2 {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 25px;
    font-weight: 700;
}

.info-content p {
    color: #5a6c7d;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.info-list {
    list-style: none;
    margin: 30px 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.checkmark {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: bold;
}

.info-image {
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.info-wrapper {
    background: var(--white);
    padding: var(--spacing-lg);
    max-width: 1400px;
    margin: var(--spacing-lg) auto 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 1400px;

}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    color: var(--primary-green);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
}

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

#main_blog {
    padding: 2rem 2rem;
    background: white;
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
}

/* ============================================================================
   16. SPEZIFIKATIONEN
============================================================================ */

dd {
    margin-bottom: 0rem;
}
#attributes_selection_container {
    padding: 0.5rem;
}

#attributes_selection_container dd {
    padding: 0rem;
}

#attributes_selection_container dt {
    padding: 11px;
}

.specs-section {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.specs-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    background: var(--bg-light);
    padding: var(--spacing-xs);
    border-radius: 6px;
    border-left: 4px solid var(--primary-green);
}

.spec-label {
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: var(--spacing-xs);
    display: block;
}

.spec-value {
    color: var(--dark-text);
    font-size: 1rem;
}

/* Options & Forms */
.options {
    margin: var(--spacing-lg) 0;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.option-select,
.option-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    margin-bottom: 0.5rem;
}

.option-select:focus,
.option-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Product Info Page Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
}
.product-image-wrapper {
    width: 100%;
}  

.product-images,
.product-info {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50%);
    box-sizing: border-box;
}

.product-info-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-sm);
}

/* Product Listing Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-green);
}

/* Category Product Grid (row.prlcat) - Vereinfachte Breakpoints */
.row.prlcat {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .row.prlcat {
        grid-template-columns: repeat(4, 1fr);
    }
}

.row.prlcat > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    text-align: center;
}

.row.prlcat img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
}

.row.prlcat .col-12 b.h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    display: block;
    font-weight: 600;
}

.row.prlcat > .col-12 {
    grid-column: 1 / -1;
}

.col-md-3.text-center.col-6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.col-md-3.text-center.col-6 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.row.prlcat .text-center {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.row.prlcat > div.col-md-3 a:last-of-type {
    padding: 1rem; /* gewünschtes Padding */
}

.row.prlcat .text-center:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--primary-green);
}

.row.prlcat br {
    display: none;
}

.row.prlcat .h3 {
    margin-bottom: 0 !important;
}


/* ===========================================================================
   11-13. PRODUKT-DETAILS, BILDER, PREISE (Kompakt)
============================================================================ */

/* Produkt-Details */
.product-info h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-text);
}

.product-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-text);
    line-height: 1.4;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--primary-green);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    color: #f39c12;
}

.rating-stars {
    position: relative;
    display: inline-block;
    color: var(--border-color);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.rating-stars-mask {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.rating-stars-inside {
    color: #f39c12;
}

.product-specs,
.pdesc {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-bottom: 0.2rem;
    padding-top: 0.2rem;
    border-top: 1px solid var(--border-color);
}

.product-footer {
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.product-footer .product-buttons {
    margin-top: 0.5rem; /* Abstand über den Buttons */
}

/* Text Sections */
#content,
.text-section,
.description-section,
.anfrage-section,
.manufacturer-section,
.success-section{
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.text-section-lager{
    padding: var(--spacing-sm);
}

.intro-text-lager {
    font-size: var(--bs-body-font-size);
    margin-bottom: 0;
}

.text-section h2,
.description-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-text);
    padding-bottom: 0.75rem;
}

.anfrage-section {
    border: 2px solid var(--primary-green);
}

/* Bilder & Galerien */
.product-image {
    border-radius: var(--radius-sm);
    width: 100%;
    height: auto;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    display: block;
}

.pimg {
    overflow: hidden;
    border-radius: 0;
    position: relative;
    margin: 0;
    padding: 0;
}

.pimg img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform var(--transition-base);
    will-change: transform;
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: var(--spacing-sm);
    width: 100%;
}

.gallery-item {
    width: 100%;
    height: auto;
    background: var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover,
.gallery-item.active {
    border-color: var(--primary-green);
}


/* Anfrage */
#anfrage-form-container,
#manufacturer-form-container {
    margin-top: 1rem;
    border-top: 2px solid var(--border-color);;
    padding-top: 0.5rem;
}

#gm_privacy.red.accept_box {
  color: #000000;
}

#gm_privacy.red.accept_box a {
  color: #000000;
}

/* ============================================================================
   15-17. INFO, SPECS, ANGEBOTE, FAQ (Kompakt)
============================================================================ */

.spec-item, .info-box {
    background: var(--bg-light);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary-green);
}

/* Angebote - GELÖST: Konflikt #9 */
.offers-section {
    padding: var(--spacing-lg);
    background: var(--white) !important;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.section-header-offers h1 {
    font-size: 2.8rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.offers-section .section-header-offers p {
    margin-bottom: 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto  var(--spacing-lg);
}

.offer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.offer-image {
    width: 100%;
    height: auto;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-content {
    padding: 1.5rem;
}

/* FAQ Accordion */
.faq-container {
    display: grid;
    grid-template-columns: 1fr;        /* Standard: 1 Spalte */
    gap: 0.5rem;
    align-items: start;                /* verhindert, dass Spalten gleich hoch gezogen werden */
}

.faq-item {
    /* FAQ Boxen müssen als Block angezeigt werden,
    sonst werden sie innerhalb der Spalte getrennt */
    break-inside: avoid;
    display: block;
}

.faq-question {
    background-color: #f1f1f1;
    color: #333;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: background-color var(--transition-base);
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-icon {
    font-size: 19px;
    margin-right: 10px;
    transition: color var(--transition-base);
    line-height: 1;
    vertical-align: middle;
}

.faq-answer {
    margin-top: 0.5rem;
    background-color: #fafafa;
    padding: 15px;
    display: none;
    font-size: 14px;
    color: #666;
}

.faq-question.active .faq-icon {
    color: #007BFF;
}

.faq-question.active + .faq-answer {
    display: block;
}


/* ============================================================================
   18-20. SIDEBAR, SWIPER, FOOTER (Kompakt)
============================================================================ */

#boxen {
    padding: 0;
    margin-top: 0;
    background: var(--white);
}

#boxen .box {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    box-shadow: none;
    border: none;
}

#boxen .box-heading {
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-xs);
    font-weight: 500;
    color: var(--medium-text);
    background: var(--bg-gray);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

#boxen .boxcontent {
    padding: var(--spacing-xs);
    background: transparent;
}

#boxen .boxcontent li {
    list-style: none;
}

#boxen .boxcontent li a {
    border-bottom: 1px solid #d2d2d2;
    padding: var(--spacing-xs) 1.2rem;
    margin-top: -1px;
    display: block;
}

#boxen .boxcontent li a:hover {
    background: var(--primary-green);
    color: var(--white);
}

#boxen ul {
    padding-left: 0rem;
}

#boxen li.main_level_1 > ul {
    padding-left: 1.5rem;   /* gewünschte Einrückung */
}

.offcanvas-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--bg-gray);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    padding: 0;
    transition: left var(--transition-base);
    z-index: 1050;
    display: none;
    overflow-y: auto;
}

.offcanvas-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1049;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.swiper-container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch;
    will-change: transform;
    margin: 0;
    width: auto;
    overflow: visible;
    flex-wrap: nowrap;
    margin-bottom: var(--spacing-xs);
}

.swiper-slide {
    box-sizing: border-box;
    display: block;
    width: auto;
    flex-shrink: 0;
    height: auto !important;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0;
    padding: 0;
}

.plbox {
    margin: 0;
    padding: 0.5rem 0;
}

.box-text {
    display: none;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.copy .col-12 {
    color: var(--medium-text);
}

footer {
    border-top: 1px solid #eee;
    background: var(--white);
    float: left;
    width: 100%;
}

.footerinner {
    font-size: 0.85rem;
    display: block;
    float: none !important;
    color: var(--medium-text);
}

.box_information .box-heading,
.box_content .box-heading,
.box_blog .box-heading {
    margin-bottom: 8px; /* oder 10px, wie du magst */
}


footer > .container-fluid,
footer > .container-fluid > .footerinner,
footer > .container-fluid > .footerinner > .container {
    padding: 0 !important;
}

.box.box_information,
.box.box_content,
.box.box_blog {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    transition: all var(--transition-base);
}

.withdrawal-box {
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.copy {
    padding: var(--spacing-sm);
    font-size: 0.85rem;
    display: block;
    float: left;
    width: 100%;
    color: #ddd;
}


/* ============================================================================
   21. CHECKOUT & WARENKORB (Kompakt)
============================================================================ */

#dropdown_shopping_cart_inner {
    gap: 1rem;
    display: grid;
}



















/* ========================================================================
   2. CONTAINER & LAYOUT
   ======================================================================== */

.shopping_cart,
.checkout-payment-container,
.checkout-shipping-container,
.checkout-confirmation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.shopping_cart,
#wish_list {
    padding: 0rem 1rem;
}

.checkout-confirmation-container {
    padding: 1rem 1rem 0;
}

.cart-container {
    width: 100%;
}

/* Grid Layout für Warenkorb */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cart-items-column,
.summary-column {
    min-width: 0;
}


/* ========================================================================
   3. NAVIGATION & BREADCRUMB
   ======================================================================== */

.cart-breadcrumb,
.checkout-breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: var(--primary-green);
    font-weight: 600;
}

.breadcrumb-item svg {
    width: 20px;
    height: 20px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin-right: 1rem;
    color: var(--border-color);
    font-size: 1.2rem;
}

/* Page Header */
.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.page-header h1:has(+ .text_information) {
    margin-bottom: 1rem;
}

.text_information {
    color: var(--secondary-color);
    line-height: 1.6;
}

.cart-actions-top {
    margin-bottom: 1.5rem;
}

.cart-actions-bottom {
    margin-top: 1.5rem;
}

/* ========================================================================
   4. CHECKOUT STEPS
   ======================================================================== */

.checkout-steps {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--light-bg);
    color: var(--secondary-color);
    transition: var(--transition);
}

.step.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(24, 84, 65, 0.3);
}

.step-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.step.active .step-icon {
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

.step-text {
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


/* ========================================================================
   5. ALERTS & NOTIFICATIONS
   ======================================================================== */

.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
    animation: slideIn 0.3s ease;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    color: #664d03;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    color: #842029;
}


/* ========================================================================
   6. CART ITEMS (WARENKORB ARTIKEL)
   ======================================================================== */

.cart-items {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

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

.cart-item:hover {
    background: var(--light-bg);
}

.cart-item.gratis-item {
    background: #f0fcf8;
    border-left: 4px solid var(--primary-green);
}

/* Item Image */
.item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image .no-image {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* Item Content */
.item-content {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.item-name:hover {
    text-decoration: underline;
}

.item-name.deposit-item,
.item-name.surcharge-item {
    color: var(--danger-color);
}

.item-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.meta-item {
    display: block;
    margin-bottom: 0.25rem;
}

.gratis-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-error {
    color: var(--danger-color);
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 1.2rem;
}

/* Item Controls (Mengensteuerung) */
.item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap; /* bleibt wrap */
    margin-top: 1rem;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    overflow: hidden;
    flex-shrink: 0; /* ← neu */
    flex-wrap: nowrap; /* ← neu */
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.qty-btn:focus,
.qty-input:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 1px;
}

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

.qty-static {
    font-weight: 600;
    color: var(--secondary-color);
}

.unit-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.unit-label {
    white-space: nowrap; /* ← neu */
    flex-shrink: 0;      /* ← neu */
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0; /* ← neu */
    flex-wrap: nowrap; /* ← neu */
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-green);
}

.btn-icon:hover {
    border-color: var(--primary-green);
    background: #f0fcf8;
}

.btn-icon:focus {
    outline: 3px solid rgba(24, 84, 65, 0.5);
    outline-offset: 2px;
}

/* Item Price */
.item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 100px;
    flex-shrink: 0;
}

.price-single {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.price-vpe {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.price-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
}

.gratis-select {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    text-align: right;
}


/* ========================================================================
   7. ORDER SUMMARY (BESTELLÜBERSICHT)
   ======================================================================== */

.order-summary {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.summary-row:last-of-type {
    border-top: 1px solid var(--border-color);
    border-bottom: none;
}

.summary-value {
    font-weight: 600;
}

.discount-row {
    color: var(--danger-color);
}

.total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    border-bottom: none;
}

.coupon-row {
    color: var(--primary-green);
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.coupon-row .summary-value {
    color: var(--danger-color);
}

/* Summary Actions */
.summary-actions {
    margin-top: 1.5rem;
}

/* Shipping Info */
.shipping-info {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.shipping-text {
    margin-top: 0.5rem;
    line-height: 1.6;
    color: var(--secondary-color);
}

.shipping-value {
    font-weight: 600;
    color: var(--primary-green);
}

.shipping-link {
    color: var(--primary-green);
    text-decoration: none;
}

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


/* ========================================================================
   8. ADDRESSES (ADRESSEN KARTEN)
   ======================================================================== */

.addresses-section,
.info-section {
    margin-bottom: 2rem;
}

.address-grid,
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-grid {
    margin-bottom: 2rem;
}

.address-card,
.info-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeIn 0.3s ease;
}

.address-card:hover,
.info-card:hover {
    box-shadow: var(--box-shadow-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--light-bg);
    border-bottom: 2px solid var(--border-color);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
}

.card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary-green);
}

.edit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: white;
    color: var(--primary-green);
    transition: var(--transition);
    text-decoration: none;
}

.edit-button:hover {
    background: var(--primary-green);
    color: white;
    transform: scale(1.1);
}

.edit-button:focus {
    outline: 3px solid rgba(24, 84, 65, 0.5);
    outline-offset: 2px;
}

.card-content {
    padding: 1.5rem;
    line-height: 1.8;
    color: var(--secondary-color);
}

.address-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.parcel-notice {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--light-bg);
    border-radius: 6px;
}


/* ========================================================================
   9. SHIPPING SELECTION (VERSANDAUSWAHL)
   ======================================================================== */

.shipping-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shipping-selection > * {
    width: 100%;
}

.shipping-selection .cart_shipping_costs_select_result,
.shipping-selection .shipping-calculator-gambioultra-info {
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
}

.shipping-calculator-gambioultra-info {
    line-height: 0.5 !important;
}

.shipping-result-wrapper {
    display: block !important;
}

.shipping-result-wrapper > * + * {
    margin-top: 10px;
}

.shipping-result-wrapper > div {
    display: block !important;
    width: 100% !important;
}

.cart_shipping_costs_headline {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0 !important;
    font-weight: 700;
    border-bottom: none !important;
    padding-bottom: 0.5rem;
    position: relative;
    padding-right: 20px;
}

.cart_shipping_costs_headline b {
    color: #333 !important;
}

.cart_shipping_costs_select,
.cart_shipping_costs_select_result {
    grid-template-columns: 110px 1fr !important;
}

.cart_shipping_costs_select_result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 2px solid #27ae60;
}


.cart_shipping_costs_select_main,
.cart_shipping_costs_select,
.cart_shipping_costs_select_result {
    padding: 0 0 0 0.7rem !important;
}

#cart_shipping_costs_selection {
    padding-top: 1rem !important;
}




.cart_shipping_costs_select_result label {
    display: inline-block;
    margin: 0;
    margin-right: 1.1rem;
}

.cart_shipping_costs_select_result .shipping_costs {
    display: inline-block;
    margin: 0;
}

.cart_shipping_costs_value {
    text-align: right;
}

.shipping-note {
    font-size: 0.85rem;
    color: var(--danger-color);
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fff5f5;
    border-radius: 4px;
    line-height: 1.5;
}


/* ========================================================================
   10. PAYMENT METHODS (ZAHLUNGSARTEN)
   ======================================================================== */

.payment-section,
.shipping-section,
.products-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0rem;
    border-bottom: none;
}

.section-title svg {
    width: 24px;
    height: 24px;
}

/* Amazon Payment */
.amazon-payment-widget {
    padding: 1rem 0;
}

.amazon-actions {
    margin-top: 1rem;
}

#amzPayAddressBook,
#amzPayWallet {
    margin-bottom: 1rem;
}

/* PayPal Installments */
.paypal-installments {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Info Box */
.info-box {
    padding: 1.5rem;
}

.info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.info-content {
    color: var(--secondary-color);
    line-height: 1.6;
}


/* ========================================================================
   11. COLLAPSIBLE SECTIONS (AUSKLAPPBARE BEREICHE)
   ======================================================================== */

.collapsible-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.collapsible-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--light-bg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.collapsible-header:hover {
    background: #e9ecef;
}

.collapsible-header:focus {
    outline: 3px solid rgba(24, 84, 65, 0.5);
    outline-offset: 2px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green);
}

.header-title svg {
    width: 20px;
    height: 20px;
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    transition: var(--transition);
}

.collapsible-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(45deg);
}

.collapsible-content {
    padding: 0rem;
    border-top: none;
    padding-top: 1rem;
}

.collapsible-content.collapse:not(.show) {
    display: none;
}

.section-description {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}


/* ========================================================================
   12. FORMS & CHECKBOXES
   ======================================================================== */

/* Form Elements */
.form-control {
    font-size: 1.1rem !important;
}

.form-textarea {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(24, 84, 65, 0.1);
}

.form-textarea[readonly] {
    background: var(--light-bg);
    cursor: default;
}

/* Checkboxes Section */
.checkboxes-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.checkbox-item:hover {
    border-color: var(--primary-green);
    background: #f0f8f4;
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-input {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--primary-green);
}

.checkbox-input:focus {
    outline: 3px solid rgba(24, 84, 65, 0.5);
    outline-offset: 2px;
}

.checkbox-label {
    flex: 1;
    cursor: pointer;
    line-height: 1.6;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Accept Box (IP Confirmation) */
.accept_box {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem !important;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accept_box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.accept_box label {
    margin: 0;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Legal Links */
.conditions-list {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.conditions-list li:last-child {
    margin-bottom: 0;
}

.conditions_info_link {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.conditions_info_link:hover {
    color: var(--primary-green-hover);
    text-decoration: underline;
}

.info-link {
    padding: 0.75rem 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.link-primary {
    color: var(--primary-green) !important;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.link-primary:hover {
    color: var(--primary-green-hover) !important;
    text-decoration: underline;
    text-decoration-color: var(--primary-green-hover) !important;
}

/* PDF Links */
.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-left: 1rem;
}

.pdf-link:hover {
    color: var(--primary-green-hover);
    text-decoration: underline;
}

.pdf-link svg {
    width: 16px;
    height: 16px;
}

.pdf-link-small {
    color: var(--primary-green);
    text-decoration: underline;
    font-size: 0.85rem;
    transition: var(--transition);
}

.pdf-link-small:hover {
    color: var(--primary-green-hover);
}

/* iFrame */
.legal-iframe {
    width: 100%;
    min-height: 400px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
}


/* ========================================================================
   13. TABLES (TABELLEN)
   ======================================================================== */

.table {
    width: 100%;
    margin-bottom: 0rem !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--light-bg);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: none !important;
}

.table-bordered {
    border: 1px solid var(--border-color);
}

.table td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border-top: 1px solid var(--border-color);
}

.table td:first-child {
    border-left: none;
}

.table td:last-child {
    border-right: none;
}

.table tr:last-child td {
    border-bottom: none;
}

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

.checkout_table {
    border-radius: 5px;
}

/* Payment Info Table */
.payment-info-table {
    margin-top: 1rem;
}

/* ========================================================================
   15. EMPTY CART (LEERER WARENKORB)
   ======================================================================== */

.gift_cart_empty {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem 2rem;
    text-align: center;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.gift_cart_empty p {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

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

.success-section{
    background: var(--white);
    padding: var(--spacing-lg) var(--spacing-lg) 0.5rem var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}
/* ============================================================================
   22. Checkout Success
============================================================================ */

.order-info-section-main {
    border-radius: var(--radius-md);
    overflow: hidden; /* Rundung erzwingen */
    margin-bottom: 1.5rem;
}


.order-info-section {
    margin-bottom: 0rem
}

.order-info-section-main .info-card {
    border-radius: 0 !important;
}

.order-info-section-main .card-content {
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}




/* ============================================================================
   22. WISHLIST
============================================================================ */

.shopping_cart_list,
.payment-info-section,
.thankyou-section {
    margin-bottom: 1rem !important;
}























/* ============================================================================
   22. KONTAKTFORMULAR - GELÖST: Konflikt #2
============================================================================ */

/* ===========================
   CSS Variablen
   =========================== */

/* ===========================
   Container
   =========================== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0rem 1rem;
}

/* ===========================
   Header
   =========================== */
.contact-header {
    text-align: left;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0rem;
}

.contact-description {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===========================
   Success Message
   =========================== */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    animation: slideIn 0.5s ease;
}

.success-message svg {
    width: 64px;
    height: 64px;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-message h2 {
    color: var(--success-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #155724;
    font-size: 1.1rem;
}

/* ===========================
   Form Card
   =========================== */
.form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* ===========================
   Alerts
   =========================== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f1aeb5);
    color: #842029;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

.alert svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ===========================
   Form Groups
   =========================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.required-sign {
    color: var(--danger-color);
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    max-height: 3rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(24, 84, 65, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

/* ===========================
   Sketch Tool
   =========================== */
.sketch-section {
    margin-bottom: 2rem;
}

.sketch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sketch-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
}

.sketch-tools {
    display: flex;
    gap: 0.5rem;
}

.tool-button {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.tool-button:hover {
    border-color: var(--primary-green);
    background: var(--light-bg);
}

.tool-button.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.sketch-container {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: white;
    position: relative;
    overflow: hidden;
}

.sketch-canvas {
    display: block;
    cursor: crosshair;
    width: 100%;
    height: 500px;
}

.sketch-info {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sketch-info svg {
    width: 16px;
    height: 16px;
}

/* ===========================
   Privacy Checkbox
   =========================== */
.privacy-box {
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.privacy-box.accepted {
    border-color: var(--success-color);
    background: #d4edda;
}

.privacy-box.error {
    border-color: var(--danger-color);
    background: #f8d7da;
}

.privacy-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.privacy-box label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
    color: var(--secondary-color);
}

.privacy-box a {
    color: var(--primary-green);
    text-decoration: underline;
}

/* ===========================
   Captcha
   =========================== */
.captcha-box {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

/* ===========================
   Submit Button
   =========================== */
.submit-section {
    display: flex;
    justify-content: left;
    padding-top: 0.5rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(39, 174, 96, 0.3);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}


.form-card {
    animation: fadeIn 0.5s ease;
}

/* ===========================
   Responsive - Tablet
   =========================== */
@media (max-width: 768px) {

    .specs-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    .contact-container {
        padding: 1.5rem 1rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .form-card {
        padding: 1.5rem;
    }

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

    .sketch-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sketch-tools {
        width: 100%;
        justify-content: space-between;
    }

    .sketch-canvas {
        height: 400px;
    }
}

/* ===========================
   Responsive - Mobile
   =========================== */
@media (max-width: 480px) {
    .contact-container {
        padding: 1rem 0.5rem;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .contact-header h1 {
        font-size: 1.75rem;
    }

    .form-card {
        padding: 1.25rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .sketch-canvas {
        height: 300px;
    }

    .tool-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .btn-submit {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}


/* ============================================================================
   23. UTILITIES
============================================================================ */

.mb-3 {
  margin-bottom: var(--spacing-sm);
}

.db {
  display: block;
  float: left;
}

.inside {
  width: 100%;
  float: left;
  position: relative;
}

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

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

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

.float-start {
  float: left;
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.float-end {
  float: right;
  margin-left: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.toolbar {
  background: var(--white);
  padding: 0.25rem;
  display: flex;
  flex-wrap: wrap !important;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.toolbar-left {
    flex: 0 0 auto !important;
    margin-left: 0.2rem;
}

.toolbar-right {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    max-width: 50%;
}

.toolbar-right .panel {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
}

.toolbar-right .panel form {
    flex-shrink: 1 !important;
    min-width: 0 !important;
}

.toolbar-right .panel select {
    min-width: 150px !important;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin: var(--spacing-lg) 0;
}

.page-link {
  position: relative;
  display: block;
  padding: var(--spacing-xs) 0.75rem;
  margin-left: 5px;
  color: var(--white);
  background-color: #999;
  border: 1px solid #999;
  border-radius: 3rem;
}

.page-link:hover,
.page-link.active {
  color: var(--white);
  background-color: var(--medium-text);
  border-color: var(--medium-text);
}

#back-top {
  position: fixed;
  bottom: 5rem;
  right: var(--spacing-sm);
  z-index: 3;
  display: none;
}

.fixed-bottom {
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  background: #fff;
  padding-top: 0.3rem;
}

.flexcolbox {
  border: none !important;
}

@media only screen and (min-width: 1025px) {
    .flexcol, .flexcol_3 {
        grid-template-columns: repeat(3, 1fr);
    }
}























/* ============================================================================
   24. MEDIA QUERIES - ALLE KONFLIKTE GELÖST
============================================================================ */

@media (max-width: 1280px) {
    .site-nav__link {
        pointer-events: none;
        cursor: default;
    }
}


@media (min-width: 1020px) {
    .container {
        width: 95%;
        max-width: 95%;
    }

    #logo .img-fluid {
        margin-left: var(--spacing-xs);
    }

    .stickytop #logo .img-fluid {
        width: 33%;
        max-width: 33%;
    }

    .vat-trigger:hover + .vat-popup {
        display: block;
    }

    .swiper-container-wrapper .pimg:hover img {
        transform: scale(1.1);
        transition: transform var(--transition-slow);
    }

    .category-tabs::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--border-color);
        z-index: 904;
    }
}

@media (max-width: 1020px) {
    .cart-grid {
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
    }

    #main_blog,
    .text-section,
    .offers-grid,
    .offers-section,
    .features,
    .categories-wrapper,
    .product-listing-header,
    .row.prlcat,
    .anfrage-section,
    .manufacturer-section,
    .description-section,
    .product-grid {
        margin-bottom: var(--spacing-md);

    }
    
    .features,
    .subcategories-grid,
    .products-grid {
         gap: var(--spacing-md);
    }
    






    .order-summary {
        position: static;
    }
    
    .address-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Disable Hover Effects on Touch */
    .feature-card:hover,
    .subcategory-card:hover,
    .category-card:hover {
        transform: none !important;
        transition: none !important;
    }

    .offer-content p {
        display: none;
    }

    .flexcolbox {
        border: none !important;
    }
}

@media (max-width: 992px) {

    .offers-grid {
        gap: var(--spacing-md);
    }

      .subcategory-link {
    display: none;
  }

    .subcategory-info p {
        display: none;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .address-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Carousel - Konflikt #1 gelöst */
    .carousel-caption2 .btn {
        bottom: 2rem;
    }

    /* Main Content - Konflikt #11 */
    .main {
        margin-top: 0;
    }


    /* Categories Wrapper - Konflikt #10 */
    .categories-wrapper {
        padding: 1.5rem var(--spacing-sm) var(--spacing-lg) var(--spacing-sm);
    }

    /* Text Section - Konflikt #14 */
    .text-section {
        margin-bottom: 0.5rem;
    }

    /* Hover Effects - Konflikt #16 */
    .feature-card:hover,
    .subcategory-card:hover,
    .category-card:hover {
        transform: none !important;
        transition: none !important;
    }




























    
    .row.prlcat > div.col-md-3 a:last-of-type {
        padding: 0.5rem; /* gewünschtes Padding */
    }
    
    #content, .text-section, .description-section, .anfrage-section, .manufacturer-section, {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    
    .feature-card,
    .category-content {
        padding: var(--spacing-xs);
        padding-bottom: calc(1.5 * var(--spacing-xs));
    } 
    
    .category-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .categorie-listing-page-header,
    .product-listing-header{
        margin-bottom: 0.5rem;
    }
    
    .categories-grid,
    .products-grid{
        grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile Navigation Styles */
    .nav-mobile {
        background-color: var(--bg-gray);
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        width: 100vw;
    }
    
    .nav-mobile-inner {
        position: relative;
        padding: var(--spacing-xs) var(--spacing-xs) 0rem var(--spacing-xs);
        margin-bottom: 1rem
    }
    
    .nav-mobile-inner::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.9rem;
        width: 100%;
        height: 5px;
        background: var(--border-color);
    }

    /* Mobile Sections */
    .mobile-section {
        margin-top: 24px;
        margin-bottom: 8px;
    }
    
    .mobile-section:first-child {
        margin-top: 0;
    }
    
    .section-header {
        padding: var(--spacing-xs) !important;
        background: #fff;
        border-radius: var(--radius-md);
        margin: 0 0px;
    }
    
    .section-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #333;
        letter-spacing: 0.5px;
    }

    /* Mobile Dropdowns */
    .mobile-dropdown,
    .mobile-simple-link {
        margin: 4px 0;
    }
    
    .mobile-dropdown .nav-link,
    .mobile-simple-link .nav-link {
        display: flex;
        align-items: center;
        padding: 0.5rem !important;
        margin: 0 0px;
        background: var(--white);
        border: 1px solid #e9ecef;
        border-radius: 5px;
        transition: all var(--transition-base);
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    
    .mobile-dropdown .nav-link:active,
    .mobile-simple-link .nav-link:active {
        transform: scale(0.98);
        background: var(--bg-light);
    }

    .menu-icon {
        font-size: 1.3rem;
        margin-right: 12px;
        min-width: 24px;
        text-align: center;
    }
    
    .menu-text {
        flex: 1;
        font-size: 0.95rem;
        font-weight: 500;
        color: #212529;
    }
    
    .arrow-icon {
        color: #6c757d;
        font-weight: 300;
        margin-right: 0.25rem;
    }

    /* Mobile Megamenu */
    .mobile-megamenu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: var(--spacing-xs) !important;
        margin-bottom: var(--spacing-xs) !important;
        padding: 0 !important;
        border: none !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
        transform: none !important;
        background: var(--white);
    }
    
    .mobile-menu-header {
        padding: var(--spacing-xs);
        background: var(--primary-green);
        border-radius: 12px 12px 0 0;
        color: var(--white);
        font-weight: 600;
        font-size: 1rem;
        text-align: center;
    }
    
    .mobile-menu-items {
        padding: 8px;
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        padding: 0.25rem;
        margin: 4px 0;
        background: var(--bg-light);
        border-radius: var(--radius-md);
        text-decoration: none;
        transition: all var(--transition-fast);
        border: 1px solid transparent;
    }
    
    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        background: #e9ecef;
        border-color: #dee2e6;
        transform: translateX(4px);
    }
    
    .btn-mobile-main {
        display: flex;
        align-items: center;
        padding: 0.25rem;
        margin: 4px 0;
        background: #185441;
        border-radius: var(--radius-md);
        text-decoration: none;
        transition: all var(--transition-fast);
        border: 1px solid transparent;
        color: white
    }
    
    .row.prlcat {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xs);
        
    }

    .navbar {
        padding-bottom: 0 !important;
    }
    
    #logo img {
        max-height: 55px;
        width: auto;
    }
    
    #search {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        position: relative;
    }
    
    .order-summary {
        padding: 1rem;

    }
























}

/* Tablet & Mobile */
@media (max-width: 768px) {

    /* Offers Section - Konflikt #9 */
    .offers-section {
        padding: 0.5rem 0.5rem 0.2rem 0.5rem!important;
        background: white !important;
        border-radius: 0px;
        margin: 0 0rem 0.5rem;
    }
    
    .product-images, .product-info {
        max-width: 100%;
    }
    
    .categorie-listing-page-header,
    .product-listing-header {
        margin: 1rem;
    }
    
    .categorie_listing {
        width: 100%;

    }
    
    #main_blog {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        margin: 0 0.5rem 0.5rem;
    }
    
    .categories-wrapper {
        padding: 0;
         border-radius: 0;
    }
    
    .custom-homepage-content {
        width: 100%;
        padding: 0;
    }
    
    .shopping_cart,
    .checkout-payment-container,
    .checkout-shipping-container,
    .checkout-confirmation-container {
        padding: 0.75rem;
    }

    .product-container {
        padding: 0.5rem 0.5rem 0rem 0.5rem;
    }

    .product-grid {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .product-image {
        max-height: 300px;
    }

    .current-price,
    .new-price {
        font-size: 1.5rem;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }

    .specs-section,
    .description-section,
    .anfrage-section,
    .manufacturer-section,
    .text-section {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .text-section {
        padding: 1rem;
        margin: 0 0.5rem 0.5rem;
    }

    .product-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xs);
    }

    .product-desc {
        display: none;
    }

    .section-header h2,
    .product-listing-page-header h1,
    .categorie-listing-page-header h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 500px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-image-container:nth-child(2),
    .hero-image-container:nth-child(3) {
        display: none;
    }

    .row.prlcat {
        padding: 1.5rem;
    }

    .category-tabs {
        gap: 1rem;
        padding: 0.5rem 1rem 0.5rem 0.5rem;
        margin-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        flex: 0 0 auto;
        padding: 10px 20px;
        border: 2px solid #ddd;
        border-radius: 5px;
        background: white;
        font-weight: 500;
        font-size: 14px;
        border-bottom: 2px solid #ddd;
    }

    .category-tab.active {
        background: #185441;
        color: white;
        border-color: #185441;
        border-bottom-color: #185441;
    }

    .subcategories-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem 0.5rem;
    }

    .subcategory-info p {
        display: block;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 0 1rem 1rem;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .features {
        padding: 0.6rem 0.5rem !important;
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .site-header {
        display: none !important;
    }

    .offer-content {
        padding: 0.5rem;
    }

    .offer-content p {
        display: none;
    }

    .slider-desktop {
        display: none;
    }

    .slider-mobile {
        display: block;
    }

    h5,
    .h5 {
        font-size: 1rem;
    }

    #short-desc {
        display: none;
    }

    .toolbar {
        padding: 0.5rem;
        gap: 0.2rem;
    }
    
    .shopping_cart,
    .checkout-payment-container,
    .checkout-shipping-container,
    .checkout-confirmation-container {
        padding: 0.75rem;
    }
    
    /* Checkout Steps */
    .checkout-steps {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .step {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .step-text {
        font-size: 0.85rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item svg {
        width: 16px;
        height: 16px;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    /* Grid Layouts */
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .address-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Actions */
    .cart-actions-top,
    .cart-actions-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .actions-left,
    .actions-right {
        width: 100%;
        flex-direction: column;
    }
    
    /* Cart Items */
    .cart-item {
        flex-direction: column;
        padding: 1rem;
    }
    
    .item-image {
        width: 100%;
        height: 200px;
    }
    
    .item-controls {
        width: 100%;
        flex-direction: wrap;
        align-items: flex-start;
    }
    
    .item-actions {
        margin-left: 0;
        justify-content: flex-start;
    }
    
    .item-price {
        align-items: flex-start;
        width: 100%;
    }
    
    /* Cards */
    .card-header {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    /* Sections */
    .payment-section,
    .checkboxes-section,
    .shipping-section,
    .products-section {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    /* Collapsible */
    .collapsible-header {
        padding: 1rem;
    }
    
    .header-title {
        font-size: 1rem;
    }
    
    .collapsible-content {
        padding: 1rem;
    }
    
    /* Navigation */
    .checkout-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-grün,
    .btn-weiß,
    .action_submit,
    .action_page_back {
        width: 100%;
    }
    
    /* Alerts */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Empty Cart */
    .gift_cart_empty {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        font-size: 3rem;
    }
    
    .pagination {
        margin: 1rem 0 !important;
    }
    
    /* Tables */
    .table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .features,
    .categories-wrapper {
        margin-bottom: 0rem;
    }

    #content {
        margin: 1rem;
    }

    #content .row {
        gap: 1rem;
    }
}

@media (min-width: 568px) {
    .slider-mobile {
        display: none;
    }

    .slider-desktop {
        display: block;
    }
    
    .feature-card {
        padding: var(--spacing-xs);
    }    
}

@media (max-width: 568px) {

    .feature-card p {
        font-size: 0.8rem;
    }
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .subcategory-info p,
    .subcategory-info span {
    display: none;
    }
    
    .row.prlcat > div.col-md-3 a:last-of-type {
        padding: 0.5rem; /* gewünschtes Padding */
    }
    
    #content, .text-section, .description-section, .anfrage-section, .manufacturer-section, {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-xs);
    }
    
    .toolbar-left {
        font-size: 0.9rem;
    }
    
    .feature-card,
    .category-content {
        padding: var(--spacing-xs);
        padding-bottom: calc(1.5 * var(--spacing-xs));
    } 
    
    .category-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .categorie-listing-page-header,
    .product-listing-header{
        margin: 0.5rem;
    }
    
    .categories-grid,
    .products-grid{
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        padding: 0 0.5rem 0.5rem;
        gap: 0.5rem;
        margin-bottom: 0rem;
    }

    .row.prlcat {
        padding: var(--spacing-md);
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xs);
        
    }

    .navbar {
        padding-bottom: 0 !important;
    }
    
    #logo img {
        max-height: 55px;
        width: auto;
    }
    
    #search {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        position: relative;
    }
    
    .order-summary {
        padding: 1rem;

    }

}

















/* Small Mobile - GELÖST: Konflikt #8 & #12 */
@media (max-width: 480px) {
    
    .btn-grün,
    .btn-weiß,
    .action_submit,
    .action_page_back {
        height: 44px;
        font-size: 0.95rem;
    }
    
    .shopping_cart,
    .checkout-payment-container,
    .checkout-shipping-container,
    .checkout-confirmation-container {
        padding: 0.5rem;
    }
    
    /* Steps */
    .steps-grid {
        gap: 0.5rem;
    }
    
    .step {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .step-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .step-text {
        font-size: 0.75rem;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        display: none;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 1.3rem;
    }
    
    /* Cart Items */
    .item-image {
        height: 150px;
    }
    
    .item-name {
        font-size: 0.95rem;
    }
    
    .price-total {
        font-size: 1.1rem;
    }
    
    /* Cards */
    .card-header {
        padding: 0.75rem;
        flex-wrap: wrap;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .edit-button {
        width: 32px;
        height: 32px;
    }
    
    .edit-button svg {
        width: 16px;
        height: 16px;
    }
    
    .card-content {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Sections */
    .payment-section,
    .checkboxes-section,
    .info-box,
    .shipping-section,
    .products-section {
        padding: 1rem;
    }
    
    .section-title {
        display: flex;
        align-items: center;     /* vertikal zentrieren */
        justify-content: left; /* horizontal zentrieren */
        font-size: 1.2rem;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
        
    /* Collapsible */
    .collapsible-header {
        padding: 0.75rem;
    }
    
    .header-title {
        font-size: 0.95rem;
    }
    
    .collapsible-content {
        padding: 0.75rem;
    }
    
    /* Forms */
    .form-textarea {
        min-height: 120px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Checkboxes */
    .checkbox-item {
        padding: 0.75rem;
    }
    
    .checkbox-input {
        width: 20px;
        height: 20px;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn-grün,
    .btn-weiß,
    .action_submit,
    .action_page_back {
        height: 44px;
        font-size: 0.95rem;
    }
    
    /* PDF Links */
    .pdf-link {
        font-size: 0.85rem;
        margin-left: 0;
        margin-top: 0.5rem;
        display: flex;
    }
}

@media (max-width: 420px) {
    .btn-grün,
    .btn {
        font-size: 0.8rem;
        height: 44px;
    }
}

@media (max-width: 350px) {
    .toolbar-right {
        flex: 1 1 100% !important;
        justify-content: stretch !important;
        max-width: 100%;
    }
    
    .toolbar-right .panel {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    
    .toolbar-right .panel form {
        flex: 1 1 100% !important;
    }
    
    .feature-card h3 {
        font-size: 1.4rem;

    }
}



#manufacturerdropdown {
  width: 100%;
}


a.btn.withdrawal {
  height: auto;
}



























/* ============================================================================
   25. PRINT STYLES
============================================================================ */
@media print {
    .toolbar,
    .buttons,
    .pagination,
    .category-tabs,
    .hero,
    .product-badges,
    .ribbons {
        display: none !important;
    }

    .product-grid {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .product-image {
        max-height: 400px;
    }
}


/* ============================================================================
   26. ANIMATIONS
============================================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






@media (max-width: 568px) {
    #content {
        margin: 0.5rem;
        padding: 0.5rem;
    }

    .calc-info-box {
        margin-top: 0.5rem !important;
    }

    .calculator-wrapper .calc-two-column-grid-2 {
        gap: 0.5rem !important;
    }

}

/* Dynamic Links - Styling mit Underline & Animation */
a.dynamic-link {
	color: #000;
	text-decoration: none;
	border-bottom: 2px solid #27ae60;
	transition: all 0.3s ease;
	position: relative;
	padding-bottom: 1px;
}

a.dynamic-link:hover {
	color: #27ae60;
	padding-left: 3px;
}

a.dynamic-link:hover::after {
	transform: translate(2px, -2px);
}

/* Herstellerinformationen*/
.manufacturer-info {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 1rem;
    row-gap: 0.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);;
    padding-bottom: 0.5rem;
}

.manufacturer-info .label {
    font-weight: bold;
    white-space: nowrap;
}

/* cookie Banner ausblenden*/
.cc-revoke {
    display: none !important;
}