/* =============================================
   Card4Fun — Haupt-Stylesheet
   Design-Referenz: denkriesen.com
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    /* === Brand === */
    --color-primary:        #e74c3c;   /* unverändertes Brand-Rot */
    --color-primary-dark:   #c0392b;
    --color-primary-light:  #fdecea;   /* NEU: für Hover-Hintergründe, Badges */

    --color-secondary:      #F5C518;   /* war #FFD700 — wärmeres Gold, weniger grell */
    --color-secondary-dark: #d4a80f;   /* angepasst */
    --color-secondary-light: #fef9e7;  /* NEU: für sanfte Highlights */

    /* === Semantisch korrekte Status-Farben === */
    --color-accent:   #f39c12;         /* Orange — für dekorative Highlights */
    --color-success:  #1e8449;         /* war #27ae60 — besser WCAG AA auf weiß */
    --color-warning:  #d68910;         /* war #f39c12 — dunkleres Amber für Lesbarkeit */
    --color-danger:   #c0392b;         /* war = primary, jetzt eigener Wert */
    --color-info:     #1a6fa8;         /* war #3498db — besser Kontrast auf hellgrau */

    /* === Oberflächen === */
    --color-bg:           #ffffff;
    --color-bg-light:     #f8f9fa;
    --color-bg-dark:      #1e2d3d;     /* war #2c3e50 — etwas tiefer/moderner */
    --color-surface:      #ffffff;     /* NEU: für Cards/Panels */
    --color-overlay:      rgba(0,0,0,0.45); /* NEU: für Modals/Backdrop */

    /* === Text === */
    --color-text:         #1a1a1a;     /* war #383838 — höherer Kontrast */
    --color-text-light:   #555555;     /* war #666666 */
    --color-text-muted:   #888888;     /* war #999999 — bleibt ähnlich */
    --color-text-inverse: #ffffff;     /* NEU: Text auf dunklen Flächen */

    /* === Borders === */
    --color-border:       #d4d4d4;     /* war #e0e0e0 — etwas definierter */
    --color-border-light: #ebebeb;     /* war #f0f0f0 */

    /* === Fokus (Accessibility) === */
    --color-focus:        #3b82f6;     /* NEU: für :focus-visible Outline-Ringe */


    /* Typografie */
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 60px;
    --space-3xl: 80px;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max: 1280px;
    --header-height: 70px;
    --announcement-height: 40px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;   /* ← NEU */
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;   /* ← NEU */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary-dark);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.section-title {
    color: var(--color-baground-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
    font-size: 2.85rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    border-width: 5px;
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
    margin-bottom: var(--space-lg);
}

.btn-outline:hover {
    background: transparent;
    color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-text);
    border-width: 5px;
    color: #fff;
    border-color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
    background: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
    overflow: hidden;
}

.announcement-bar p {
    margin: 0;
    color: var(--color-text);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.announce-arrow {
    display: inline-block;
    font-size: 0.9rem;
    opacity: 0.6;
    animation: nudge 1.4s ease-in-out infinite;
}

.announce-arrow:nth-child(2) {
    animation-delay: 0.15s;
    opacity: 0.4;
}

.announce-arrow--right:nth-last-child(1) {
    animation-delay: 0.15s;
    opacity: 0.4;
}

.announce-text-short {
    display: none;
}

@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    40%       { transform: translateX(3px); }
    60%       { transform: translateX(-3px); }
}

.announce-cta {
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    padding-bottom: 1px;
    letter-spacing: 0.3px;
    animation: pulse-cta 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pulse-cta {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.8; transform: scale(1.04); }
}

.announce-cta:hover {
    color: #fff;
    border-bottom-color: #fff;
    animation: none;
    transform: scale(1.06);
    transition: color 0.15s, transform 0.15s;
}

.announcement-bar a {
    font-weight: 1200;
    text-shadow: 1px 1px 5px var(--color-secondary-dark);
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.6px;
}

.announcement-bar a:hover {
    color: #fff;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--space-lg);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 42px;
    width: auto;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-secondary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Animated Hamburger Styles */
.navbar-toggler {
    border: 0 !important;
    background: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.toggler-icon {
    width: 30px;
    height: 3px;
    background-color: #e74c3c;
    display: block;
    transition: all 0.2s;
}

.middle-bar {
    margin: 5px auto;
}

.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .toggler-icon {
    background-color: #2c3e50;
}

/* --- Main Navigation --- */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    height: var(--header-height);
    color: var(--color-bg-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-primary);
    transition: width var(--transition-base);
    border-radius: 2px 2px 0 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* --- Dropdown Menu --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    padding: var(--space-sm) 0;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    display: flex;
    flex-direction: column;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    padding-left: 24px;
}

/* --- Mega Menu --- */
.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 700px;
    background: #fff;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 999;
    padding: var(--space-xl);
}

.nav-item:hover > .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.megamenu-column h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border-light);
}

.megamenu-column a {
    display: block;
    padding: 6px 0;
    color: var(--color-text);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.megamenu-column a:hover {
    color: var(--color-primary);
}

.cat-count {
    color: var(--color-text-light);
    font-size: 0.8rem;
}

/* --- Catalog Overlay --- */
.catalog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
}

.catalog-overlay.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 60px;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}

.catalog-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
}

.catalog-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.catalog-filter {
    position: relative;
}

.catalog-filter input {
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    width: 220px;
    background: var(--color-bg-light);
    transition: border-color var(--transition-fast);
}

.catalog-filter input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.catalog-filter svg {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

.catalog-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--color-bg-light);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.catalog-close:hover {
    background: var(--color-text);
    color: #fff;
}

.catalog-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px 30px;
}

.catalog-column-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.catalog-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-link-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--color-text);
    font-size: 0.92rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-fast);
}

.catalog-link-item a:hover {
    color: var(--color-primary);
    padding-left: 6px;
    border-bottom-color: var(--color-border-light);
}

.catalog-brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-right: 8px;
    flex-shrink: 0;
}

.catalog-link-name {
    margin-left: 6px;
    flex: 1;
}

.catalog-link-count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
    min-width: 28px;
    text-align: center;
}

.catalog-link-item.hidden {
    display: none;
}

.catalog-column.hidden {
    display: none;
}

/* --- Header Icons --- */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: #2c3e50;
    transition: all var(--transition-fast);
    position: relative;
}

.icon-btn:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* --- Search Overlay --- */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 998;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.search-input:focus {
    border-color: var(--color-primary);
}

.search-submit {
    padding: 14px 28px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-submit:hover {
    background: var(--color-primary-dark);
}

.search-close {
    padding: 14px;
    font-size: 1.2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.search-results {
    margin-top: var(--space-md);
}

.search-results a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
}

.search-results a:hover {
    color: var(--color-primary);
}

.search-results img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* =============================================
   MOBILE NAVIGATION
   ============================================= */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 1002;
    overflow-y: auto;
    transition: left var(--transition-base);
    padding: var(--space-xl) var(--space-lg);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    padding: var(--space-sm);
}

.mobile-nav-list {
    font-weight: bold;
    margin-top: var(--space-xl);
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-list > li > a,
.mobile-nav-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    color: var(--color-baground-dark);
    font-weight: 600;
    font-size: 1.3rem;
}

.mobile-nav-toggle {
    position: relative;
    padding-right: 30px;
}

.mobile-nav-toggle::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.mobile-nav-toggle[aria-expanded="true"]::after {
    content: '−';
}

.mobile-subnav {
    display: none;
    padding: 0 0 var(--space-md) var(--space-md);
}

.mobile-subnav.open {
    display: block;
}


.mobile-subnav a {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #222 !important;
    font-size: 1rem;
    background: none !important;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.mobile-subnav a img {
    min-width: 22px;
    min-height: 22px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    margin-right: 8px;
}

.mobile-subnav a:hover {
    color: var(--color-primary);
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 500;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.slide.active {
    opacity: 1;
}

.slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slide-content {
    position: absolute;
    bottom: 15%;
    left: 8%;
    max-width: 500px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-content h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    opacity: 0.95;
}

.slider-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--color-secondary);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* =============================================
   USP BAR
   ============================================= */
.usp-bar {
    background: var(--color-bg-light);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.usp-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    background: var(--color-bg-light);
}

.usp-item {
    display: flex;
    text-align: center;
    align-items: center;
    gap: var(--space-md);
    color: var(--color-secondary-dark);
}

.usp-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.usp-item strong {
    color: var(--color-bg-dark);
    display: block;
    font-size: 0.9rem;
}

.usp-item span {
    font-size: 0.8rem;
    color: var(--color-text);
}

/* =============================================
   CATEGORY HIGHLIGHTS
   ============================================= */
.category-highlights {
    padding: var(--space-2xl) 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.highlight-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
}

.highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.highlight-card:hover img {
    transform: scale(1.08);
}

.highlight-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

/* =============================================
   GAME WORLD (3 Banner)
   ============================================= */
.game-world {
    padding: var(--space-lg) 0;
    background: var(--color-bg);
}

.banner-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.banner-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.1);

    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.banner-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
    transform: scale(1.1);
}

.banner-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-base);
}

.banner-card:hover img {
    transform: scale(1.03);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 10px 0;
    color: #fff;
}

.banner-overlay span {
    font-size: 0.85rem;
    opacity: 0.9;
    letter-spacing: 0.02em;
    font-weight: bold;
}

.banner-overlay strong {
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.banner-cta {
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
    transition: opacity var(--transition-base), border-color var(--transition-base);
}

.banner-card:hover .banner-cta {
    opacity: 1;
    border-color: #fff;
}

/* =============================================
   THEME TILES
   ============================================= */
.theme-tiles {
    margin-top: var(--space-lg);
    padding: 0px;
    margin-bottom: var(--space-lg);
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.theme-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    aspect-ratio: 340 / 240;
}

.theme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.theme-card:hover img {
    transform: scale(1.05);
}

.theme-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
    background: rgba(26, 111, 168, 0.70);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.8px);
    -webkit-backdrop-filter: blur(5.8px);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0 14px 0 0;
}

.theme-card span svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #fff;
    stroke: #fff;
}

/* =============================================
   BRAND LOGO CAROUSEL
   ============================================= */
.brand-carousel-section {
    padding: var(--space-md) 0;
}

.brand-carousel {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
    display: flex;
    width: max-content;
    animation: brandScroll 16s linear infinite;
}

.brand-track:hover {
    animation-play-state: paused;
}

.brand-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base), opacity var(--transition-base);
    opacity: 0.6;
}

.brand-logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.brand-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   TABS (Discover + Player Count)
   ============================================= */
.discover-section {
    margin-top: var(--space-xl);
    padding: var(--space-xl) 0;
    margin-right: 16px;
    margin-left: 16px;
    border-radius: var(--radius-xl);
    background: var(--color-info);
    position: relative;
}

.player-count-section {
    margin-top: 16px;
    padding: var(--space-xl) 0;
    margin-right: 16px;
    margin-left: 16px;
    border-radius: var(--radius-xl);
    background: var(--color-info);
    position: relative;
}

/* Decorative Section Images — overlap between sections */
.deco-discover-tl {
    position: absolute;
    width: 250px;
    height: 200px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    top: -25px;
    left: 30px;
    transform: rotate(-15deg);
}

.deco-discover-br {
    position: absolute;
    width: 250px;
    height: 250px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    top: -50px;
    right: 50px;
    transform: rotate(24deg);
}

.deco-player-tr {
    position: absolute;
    width: 220px;
    height: 220px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    top: -10px;
    left: 50px;
    transform: rotate(350deg);
}

.deco-player-bl {
    position: absolute;
    width: 280px;
    height: 280px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    top: -40px;
    right: 50px;
    transform: rotate(260deg);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-light);
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    transition: all var(--transition-fast);
}

.player-count-section .tab-btn {
    background: #fff;
}

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.empty-msg {
    text-align: center;
    color: var(--color-text-muted);
    padding: var(--space-xl);
    grid-column: 1 / -1;
}

/* =============================================
   PRODUCT GRID
   ============================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card {
    background: #fff;
    padding: 10px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
}

.product-card-link:hover {
    color: inherit;
}

/* Product Image */
.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-bg-light);
}

.product-card-image .img-primary,
.product-card-image .img-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition-base);
}

.product-card-image .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.product-card:hover .img-hover {
    opacity: 1;
}

.product-card:hover .img-primary {
    opacity: 0;
}

/* Badges */
.product-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--color-accent);
    color: #fff;
}

.badge-sale {
    background: var(--color-danger);
    color: #fff;
}

.badge-age {
    background: var(--color-info);
    color: #fff;
}

/* Product Info */
.product-card-info {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    font-style: italic;
}

/* Rating */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.stars {
    display: inline-flex;
    gap: 1px;
}

.star {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.star.empty {
    color: var(--color-border);
}

.rating-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Price */
.product-card-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-original {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-savings {
    font-size: 0.75rem;
    color: var(--color-success);
    font-weight: 600;
}

/* Add to Cart Button */
.btn-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
    width: 100%;
    padding: 12px;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

/* =============================================
   SOCIAL PROOF
   ============================================= */
.social-proof {
    margin: 16px;
    border-radius: var(--radius-xl);
    background: var(--color-secondary-dark);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.social-proof::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}

.proof-eyebrow {
  text-shadow: 2px 2px 40px #000;
  color: var(--color-bg-light);
  text-align: center;
  margin-bottom: var(--space-xl);
  font-size: 2.85rem;
  font-weight: 700;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Kein gap + kein background-trick — stattdessen border */
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.proof-item {
  background: #F5C300;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 1.2s;
  /* Trennlinie per border, nicht per gap */
  border-right: 1px solid rgba(0,0,0,0.1);
}

.proof-item:last-child {
  border-right: none;
}

.proof-item:hover {
  background: #FFCF00;
}

.proof-item1 {
  background: #F5C300;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 2.2s;
  /* Trennlinie per border, nicht per gap */
  border-right: 1px solid rgba(0,0,0,0.1);
}

.proof-item1:last-child {
  border-right: none;
}

.proof-item1:hover {
  background: #FFCF00;
}

.proof-item2 {
  background: #F5C300;
  padding: 1.75rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background 3.2s;
  /* Trennlinie per border, nicht per gap */
  border-right: 1px solid rgba(0,0,0,0.1);
}

.proof-item2:last-child {
  border-right: none;
}

.proof-item2:hover {
  background: #FFCF00;
}

.proof-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-number {
  text-shadow: 2px 2px 50px #000;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-stars {
  display: flex;
  margin-top: 2px;
}

.proof-label {
  text-shadow: 2px 2px 50px #000;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   REVIEWS CAROUSEL
   ============================================= */
.reviews-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
}

.reviews-carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-md);
    scrollbar-width: thin;
}

.review-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.review-stars {
    margin-bottom: var(--space-md);
}

.review-text {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.review-meta strong {
    font-size: 0.85rem;
    color: var(--color-secondary);
}

.verified-badge {
    font-size: 0.75rem;
    color: var(--color-success);
    font-weight: 600;
}

.review-meta em {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section {
    padding: var(--space-3xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-text .btn {
    margin-top: var(--space-md);
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.aboutustitle {
    padding-bottom: 20px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1122CC;
    text-decoration: underline;
    margin-bottom: var(--space-sm);
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg-light);
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.faq-tab {
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    color: #383838;
    background: #fff;
    border: 2px solid var(--color-border);
    transition: all var(--transition-fast);
}

.faq-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.faq-tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.faq-panel {
    max-width: 800px;
    margin: 0 auto;
    display: none;
}

.faq-panel.active {
    display: block;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-item summary:hover {
    background: var(--color-bg-light);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--color-primary);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* =============================================
   NEWSLETTER SECTION (in Footer)
   ============================================= */
.newsletter-section {
    background: var(--color-secondary);
    margin-top: 50px;
    color: #383838;
    padding: var(--space-3xl) 0;
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h3 {
    color: #383838;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.newsletter-text p {
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.newsletter-fields {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-fields input {
    flex: 1;
    padding: 4px 1px 6px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.978);
    color: #383838;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-fields input::placeholder {
    color: #383838;
}

.newsletter-fields input:focus {
    border-color: var(--color-accent);
}

.newsletter-fields input[type="date"] {
    color: var(--color-bg-dark);
    max-width: 160px;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.5;
}

.newsletter-disclaimer a {
    color: var(--color-text);
}

.newsletter-success p {
    background: rgba(39,174,96,0.2);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(39,174,96,0.4);
}

/* =============================================
   FOOTER
   ============================================= */
.footer-main {
    background: #141d26;
    color: #ffffff;
    padding: var(--space-2xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.footer-column a {
    display: block;
    padding: 5px 0;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

/* Footer Bottom */
.footer-bottom {
    background: #141d26;
    padding: var(--space-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-primary);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.badge-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-badges img {
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-badges img:hover {
    opacity: 1;
}

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* =============================================
   PAGE: PRODUCTS / CATEGORY
   ============================================= */
.page-header {
    background: var(--color-bg-light);
    padding: var(--space-xl) 0;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.breadcrumb {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    color: var(--color-text-muted);
}

/* Filter & Sort Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.filter-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--color-text);
    font-size: 0.85rem;
    cursor: pointer;
}

.result-count {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =============================================
   PAGE: PRODUCT DETAIL
   ============================================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.product-description {
    text-align: justify;
    margin-left: 16px;
    margin-right: 356px;
    padding: 4px;
}

.gallery-main {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-light);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--color-primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
}

.product-info .product-brand {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.product-info h1 {
    color: var(--color-text);
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
}

.product-info .product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.product-price-block .price-current {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
}

.product-price-block .price-original {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-savings-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: var(--color-danger);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.product-availability {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.stock-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--color-success);
}

.stock-dot.out {
    background: var(--color-danger);
}

/* Variant Pills */
.variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.variant-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.variant-pill:hover {
    border-color: var(--color-primary);
}

.variant-pill.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

.variant-pill[data-stock="out_of_stock"] {
    opacity: 0.45;
    text-decoration: line-through;
    cursor: not-allowed;
}

/* Add to Cart */
.add-to-cart-form {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-input button {
    width: 40px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text);
    background: var(--color-bg-light);
    transition: background var(--transition-fast);
}

.quantity-input button:hover {
    background: var(--color-border);
}

.quantity-input input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    outline: none;
}

.add-to-cart-form .btn-primary {
    background: var(--color-secondary);
    font-weight: 600;
    color: var(--color-text);
    flex: 1;
    font-size: 1rem;
}

.btn-add-to-cart:hover {
    color: var(--color-bg-light);
    background: var(--color-primary);
}

.btn-add-to-cart .cart-icon-wrap {
    display: inline-flex;
    align-items: center;
}

.btn-add-to-cart .icon-hover {
    display: none;
}

.btn-add-to-cart:hover .icon-default {
    display: none;
}

.btn-add-to-cart:hover .icon-hover {
    display: inline;
}

/* Product Tabs */
.product-tabs {
    margin-top: var(--space-2xl);
}

.product-tab-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border-light);
    gap: 0;
}

.product-tab-btn {
    padding: 14px 24px;
    font-weight: 600;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
}

.product-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.product-tab-content {
    padding: var(--space-xl) 0;
    display: none;
}

.product-tab-content.active {
    display: block;
}

/* Product Specs */
.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

/* USP-Grid: gestapelte Variante für Produktdetailseite */
.usp-grid--stacked {
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding: var(--space-md);
}

.cart-page {
    padding: var(--space-xl) 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-xl);
}

.cart-table th {
    text-align: left;
    padding: var(--space-md);
    border-bottom: 2px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.cart-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-product img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-product-name {
    font-weight: 600;
    color: var(--color-secondary);
}

.cart-variant-name {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.cart-remove {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.cart-remove:hover {
    color: var(--color-danger);
}

.cart-summary {
    max-width: 400px;
    margin-left: auto;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 0.95rem;
}

.cart-summary-row.total {
    font-weight: 800;
    font-size: 1.15rem;
    border-top: 2px solid var(--color-border);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
}

.coupon-form {
    display: flex;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* =============================================
   PAGE: CHECKOUT
   ============================================= */
.checkout-page {
    padding: var(--space-xl) 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
}

.checkout-form h3 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border-light);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-danger);
    margin-top: var(--space-xs);
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.payment-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.payment-option:hover,
.payment-option.selected {
    border-color: var(--color-primary);
}

.payment-option input[type="radio"] {
    width: auto;
    accent-color: var(--color-primary);
}

/* Checkout Sidebar */
.checkout-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-lg));
}

.checkout-order-summary {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.checkout-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.checkout-item-qty {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.checkout-item-price {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Checkbox (AGB/Widerruf) */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: var(--color-primary);
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* =============================================
   PAGE: BLOG
   ============================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.blog-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-body {
    padding: var(--space-lg);
}

.blog-card-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.blog-card-title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* =============================================
   PAGE: CONTACT
   ============================================= */
.contact-page {
    padding: var(--space-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-item svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

/* =============================================
   TOAST / NOTIFICATION
   ============================================= */
.toast {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: var(--color-secondary);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 350px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: var(--color-success);
}

.toast.error {
    background: var(--color-danger);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.pagination-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-link.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Visually hidden for A11y */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Hamburger-Toggler nur mobil sichtbar */
.navbar-toggler {
    display: none;
}

@media (max-width: 1024px) {
    .navbar-toggler {
        display: flex;
    }
}
