/* =========================
   FONTS
========================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'),
       url('../fonts/inter-v20-latin-800.woff') format('woff');
}

/* =========================
   RESET & DESIGN SYSTEM
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --border-strong: #eaeaea;
  --hover-gray: #f4f4f4;
  --dark-hover: #333;
  --btn-text: #555;
  --rivano-green: #004b23;
  --rivano-green-dark: #003619;
  --rivano-green-light: #6db884; /* Helles Grün für Akzente */
  --rivano-green-bg: #e6f2eb; /* Sehr helles Grün für Hintergründe */
  --rivano-green-rgb: 0, 75, 35;
  --luxury-dark: #0a0a0a;
  --luxury-dark-rgb: 10, 10, 10;
  --soft-white: #fbfbf9; /* Slightly warmer white for premium feel */
  --pure-white: #ffffff;
  --line: rgba(0, 0, 0, 0.08); /* Softer borders */
  --muted-gray: #757575;
  --error-red: #900a0a;
  --valid-green: #116f3c;
  
  --transition-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bouncy: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  --transition-fast: 0.3s ease;
}

html {
  scroll-behavior: auto !important; /* Managed by JS/OS for smoothness without jumping */
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--soft-white);
  color: var(--luxury-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 85px; /* Offset for fixed nav */
}

/* =========================
   CUSTOM SCROLLBAR
========================= */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--soft-white);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--luxury-dark-rgb), 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--luxury-dark-rgb), 0.4);
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  color: var(--muted-gray);
}

/* =========================
   GLOBAL NAVIGATION
========================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
  z-index: 1000;
  transition: transform 0.4s var(--transition-lux), background 0.4s var(--transition-lux);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin: 0 15px;
}

.logo {
  height: 48px;
  transition: transform 0.4s var(--transition-bouncy);
}

.logo-link:hover .logo {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--luxury-dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 500;
  position: relative;
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.4s var(--transition-lux);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: var(--rivano-green);
  transition: 0.4s var(--transition-lux);
  transform: translateX(-50%);
  opacity: 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rivano-green);
  background: var(--rivano-green-bg);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 40%;
  opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: absolute;
  right: 5%;
}

.mobile-menu-btn span {
  width: 28px;
  height: 2px;
  background: var(--luxury-dark);
  transition: 0.4s var(--transition-lux);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================
   DEMO BANNER
========================= */
.demo-banner {
  background-color: var(--rivano-green);
  color: #fff;
  text-align: center;
  padding: 8px 40px;
  font-size: 0.85rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.demo-banner strong {
  font-weight: 600;
  margin-right: 5px;
}

.demo-banner .close-demo-banner {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.demo-banner .close-demo-banner:hover {
  opacity: 1;
}

body.has-demo-banner {
  padding-top: calc(85px + var(--demo-banner-height, 35px));
}

body.has-demo-banner nav {
  top: var(--demo-banner-height, 35px);
}

@media (max-width: 900px) {
  body.has-demo-banner {
    padding-top: calc(70px + var(--demo-banner-height, 35px));
  }
  
  body.has-demo-banner .nav-links {
    top: calc(70px + var(--demo-banner-height, 35px));
    height: calc(100vh - 70px - var(--demo-banner-height, 35px));
  }
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 60px 8%;
  border-top: 1px solid var(--line);
  background: var(--pure-white);
  color: var(--muted-gray);
  font-size: 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  letter-spacing: 1px;
  font-weight: 500;
}

@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-self: end;
}

@media (max-width: 768px) {
  .footer-links {
    justify-self: center;
    justify-content: center;
  }
}

.footer-links a {
  color: var(--muted-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--rivano-green);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.dev-credit {
  color: var(--muted-gray);
  margin: 0;
}

.dev-credit a {
  color: var(--muted-gray);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px dotted var(--muted-gray);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.dev-credit a:hover {
  color: var(--rivano-green);
  border-bottom-color: var(--rivano-green);
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid var(--luxury-dark);
  background: transparent;
  color: var(--luxury-dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s var(--transition-lux), border-color 0.4s var(--transition-lux), background-color 0.4s var(--transition-lux);
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--luxury-dark);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--transition-lux);
  z-index: -1;
}

.btn:hover {
  color: var(--pure-white);
}

.btn:hover::before {
  transform: scaleY(1);
}

.btn.primary {
  background: var(--luxury-dark);
  color: var(--pure-white);
}

.btn.primary::before {
  background: var(--rivano-green);
}

.btn.primary:hover {
  border-color: var(--rivano-green);
}

/* =========================
   NOTIFICATIONS (TOAST)
========================= */
.global-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--pure-white);
  border-left: 4px solid var(--rivano-green);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 20px 25px;
  width: 320px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.5s var(--transition-lux), opacity 0.5s var(--transition-lux);
}

.global-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.global-toast h4 {
  color: var(--rivano-green);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.global-toast p {
  font-size: 0.8rem;
  color: var(--luxury-dark);
  margin: 0;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: var(--muted-gray);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
  transition: color var(--transition-fast);
}

.toast-close-btn:hover {
  color: var(--luxury-dark);
}

/* =========================
   UTILITIES
========================= */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--transition-lux), transform 1s var(--transition-lux);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 900px) {
  body {
    padding-top: 70px;
  }

  nav {
    height: 70px;
    padding: 0 5%;
  }

  .logo {
    height: 40px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.5s var(--transition-lux);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 3px;
  }

  footer {
    padding: 40px 5%;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .global-toast {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 20px;
  }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: #000;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)),
    url("../img/hero_bg_new.jpg") center/cover no-repeat;
  transform: scale(1.02);
  transition: transform 1.4s var(--transition-lux);
}

.hero:hover .hero-bg {
  transform: scale(1.06);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--pure-white);
}


.hero .btn.primary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--pure-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--transition-lux);
}
.hero .btn.primary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.hero .btn.primary::before {
  display: none;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 25px;
  transition: letter-spacing 0.6s var(--transition-lux);
}

.hero:hover h1 {
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e5e5e5;
  max-width: 520px;
  margin-bottom: 40px;
}

/* =========================
   SECTIONS BASE
========================= */
.section {
  padding: 140px 8%;
}

/* =========================
   SPLIT SECTION
========================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.split-image-wrapper {
  overflow: hidden;
  position: relative;
}

.split img {
  width: 100%;
  display: block;
  transition: transform 1s var(--transition-lux);
}

.split img:hover {
  transform: scale(1.04);
}

.split-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  transition: 0.4s var(--transition-lux);
}

.split:hover .split-text h2 {
  transform: translateX(10px);
  color: var(--rivano-green);
}

.split-text p {
  color: var(--muted-gray);
  line-height: 1.8;
}

/* =========================
   PRODUCTS GRID
========================= */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.4s var(--transition-lux);
}

.product:hover {
  transform: translateY(-8px);
}

.product-image {
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}

.product img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--transition-lux);
}

.product:hover img {
  transform: scale(1.07);
}

.product h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.product h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--rivano-green);
  transition: 0.35s;
}

.product:hover h3::after {
  width: 100%;
}

.product p {
  color: var(--muted-gray);
  margin-top: 8px;
}

/* =========================
   INTERACTIVE CUSTOM CURSOR
========================= */
#luxury-cursor-ring {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(var(--rivano-green-rgb), 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition:
    width 0.3s var(--transition-bouncy),
    height 0.3s var(--transition-bouncy),
    background-color 0.3s;
}

body.hovering #luxury-cursor-ring {
  width: 55px;
  height: 55px;
  background: rgba(var(--rivano-green-rgb), 0.08);
  border-color: rgba(var(--rivano-green-rgb), 1);
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  #luxury-cursor-ring {
    display: none;
  }
}


/* === STYLES FROM index.html === */
/* Page-specific overrides can go here if needed, but core styles are in main.css */

/* === STYLES FROM shop.html === */
/* --- SHOP SPECIFIC STYLES --- */
      .header {
        padding: 140px 8% 40px;
      }
      .header h1 {
        font-size: 3.2rem;
      }
      .header p {
        margin-top: 10px;
        color: var(--muted-gray);
        max-width: 600px;
      }
      .filters {
        padding: 0 8% 40px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }
      .filters button {
        padding: 10px 14px;
        border: 1px solid var(--border-strong);
        background: var(--pure-white);
        text-transform: uppercase;
        font-size: 0.75rem;
        cursor: pointer;
        transition: 0.3s;
        color: var(--luxury-dark);
      }
      .filters button:hover, .filters button.active {
        border-color: var(--rivano-green);
        color: var(--rivano-green);
      }
      .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        padding: 0 8% 120px;
        align-items: start;
      }
      .card {
        position: relative;
        transition: transform 0.4s var(--transition-lux);
        cursor: pointer;
      }
      .card:hover {
        transform: translateY(-10px);
      }
      .img {
        overflow: hidden;
        background: var(--hover-gray);
        border: 1px solid var(--border-strong);
        position: relative;
      }
      .img img {
        width: 100%;
        display: block;
        transition: transform 0.7s var(--transition-lux);
      }
      .card:hover img {
        transform: scale(1.08);
      }
      .sale-badge {
        position: absolute;
        bottom: 12px;
        left: 12px;
        background: var(--error-red);
        color: var(--pure-white);
        font-size: 0.7rem;
        font-weight: 600;
        padding: 5px 10px;
        letter-spacing: 1px;
        text-transform: uppercase;
        z-index: 5;
      }
      .card h3 {
        margin-top: 16px;
        font-size: 1.05rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        display: inline-block;
      }
      .card h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0%;
        height: 2px;
        background: var(--rivano-green);
        transition: 0.3s;
      }
      .card:hover h3::after {
        width: 100%;
      }
      .card p {
        margin-top: 6px;
        color: var(--muted-gray);
      }
      .price {
        margin-top: 10px;
        font-weight: 600;
        display: flex;
        gap: 10px;
        align-items: center;
      }
      .price .old-price {
        text-decoration: line-through;
        color: var(--muted-gray);
        font-weight: 400;
        font-size: 0.95rem;
      }
      .price .new-price {
        color: var(--error-red);
        font-weight: 700;
      }
      .cart-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        background: var(--pure-white);
        border: 1px solid var(--border-strong);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s ease;
        z-index: 10;
      }
      .cart-btn::before, .cart-btn::after {
        content: "";
        position: absolute;
        background: var(--luxury-dark);
        transition: 0.3s;
      }
      .cart-btn::before { width: 12px; height: 2px; }
      .cart-btn::after { width: 2px; height: 12px; }
      .cart-btn:hover {
        transform: scale(1.1);
        border-color: var(--rivano-green);
        background: var(--rivano-green);
      }
      .cart-btn:hover::before, .cart-btn:hover::after {
        background: var(--pure-white);
      }
      .cart-btn.added {
        background: var(--rivano-green);
        border-color: var(--rivano-green);
      }
      .cart-btn.added::before, .cart-btn.added::after { display: none; }
      .cart-btn.added::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 10px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        top: 11px;
        display: block;
        background: none;
      }
      
      /* PRODUCT MODAL */
      .product-modal-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 2000;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.5s var(--transition-lux);
      }
      .product-modal-overlay.open {
        display: flex;
        opacity: 1;
      }
      .product-modal-window {
        background: #ffffff;
        width: 90%;
        max-width: 1200px;
        height: 85vh;
        max-height: 750px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 0;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        display: flex;
        position: relative;
        transform: translateY(60px) scale(0.94);
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
      }
      .product-modal-overlay.open .product-modal-window {
        transform: translateY(0) scale(1);
      }
      .modal-close-trigger {
        position: absolute;
        top: 25px; right: 25px;
        background: rgba(0, 0, 0, 0.04); border: none;
        border-radius: 0;
        font-size: 1.6rem; font-weight: 300;
        color: var(--luxury-dark); cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10;
        width: 44px; height: 44px;
        display: flex; align-items: center; justify-content: center;
      }
      .modal-close-trigger:hover {
        background: rgba(0, 0, 0, 0.9);
        color: var(--pure-white);
      }
      .modal-close-trigger:hover .close-icon {
        transform: rotate(90deg);
      }
      .close-icon {
        display: inline-block;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .modal-left-gallery {
        width: 55%; height: 100%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex; align-items: center; justify-content: center;
        padding: 60px; position: relative;
        overflow: hidden;
      }
      .modal-left-gallery img {
        max-width: 100%; max-height: 100%;
        object-fit: contain;
        transform: scale(1);
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        /* drop-shadow removed for performance */
      }
      .modal-left-gallery:hover img {
        transform: scale(1.06);
      }
      .modal-right-panel {
        width: 45%; height: 100%;
        padding: 60px 50px; overflow-y: auto;
        display: flex; flex-direction: column; justify-content: space-between;
      }
      .modal-product-meta h2 {
        font-size: 2.2rem; text-transform: uppercase;
        letter-spacing: 2px; margin-bottom: 12px; line-height: 1.1;
        font-weight: 700;
      }
      .modal-product-meta .modal-desc {
        font-size: 1.05rem; color: #555;
        line-height: 1.7; margin-bottom: 30px;
        font-weight: 300;
      }
      .modal-product-meta .modal-price-box {
        font-size: 1.7rem; font-weight: 600; margin-bottom: 35px;
        display: flex; gap: 15px; align-items: center;
      }
      .variant-configurator { margin-bottom: 30px; }
      .variant-configurator h4 {
        font-size: 0.8rem; text-transform: uppercase;
        letter-spacing: 1.5px; color: #888; margin-bottom: 15px;
      }
      .color-swatches { display: flex; gap: 12px; }
      .swatch {
        width: 32px; height: 32px; border-radius: 0;
        border: 1px solid rgba(0, 0, 0, 0.1); cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
      }
      .swatch:hover { transform: scale(1.15); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
      .swatch.active { box-shadow: 0 0 0 2px white, 0 0 0 4px var(--rivano-green); }
      .inventory-tracker {
        display: flex; align-items: center; gap: 10px;
        font-size: 0.9rem; font-weight: 500; margin-bottom: 35px;
        padding: 14px 20px; background: #fff8f8;
        border-radius: 0;
        color: var(--error-red);
      }
      .inventory-tracker.in-stock {
        background: #f4fdf6; color: var(--rivano-green);
      }
      .inventory-pulse {
        width: 8px; height: 8px; border-radius: 0;
        background: currentColor; animation: pulse 1.6s infinite ease-in-out;
      }
      .modal-action-btn {
        width: 100%; padding: 22px; background: var(--luxury-dark);
        color: var(--pure-white); border: none; text-transform: uppercase;
        font-size: 0.95rem; letter-spacing: 3px; font-weight: 600;
        cursor: pointer; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-radius: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      }
      .modal-action-btn:hover { 
        background: var(--rivano-green); 
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(29, 185, 84, 0.2);
      }
      @keyframes pulse {
        0% { opacity: 0.4; transform: scale(0.8); }
        50% { opacity: 1; transform: scale(1.3); }
        100% { opacity: 0.4; transform: scale(0.8); }
      }
      @media (max-width: 900px) {
        .grid { grid-template-columns: 1fr; }
        .product-modal-window { flex-direction: column; height: 90vh; max-height: none; }
        .modal-left-gallery { width: 100%; height: 45%; padding: 20px; }
        .modal-right-panel { width: 100%; height: 55%; padding: 30px; }
      }

/* === STYLES FROM cart.html === */
/* --- CART SPECIFIC STYLES --- */

      /* CONTAINER */
      .container {
        padding: 140px 8% 60px;
        max-width: 1600px;
        margin: 0 auto;
      }

      .container h1 {
        font-size: 2.5rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 40px;
        font-weight: 400;
      }

      /* 2-SPALTEN LAYOUT */
      .cart-wrapper {
        display: flex;
        gap: 50px;
      }
      .cart-items-column {
        flex: 2;
      }
      .cart-summary-column {
        flex: 1;
      }

      /* CLEAN EDITORIAL EMPTY STATE */
      .empty-cart-message {
        padding: 140px 0;
        text-align: center;
        border-top: 1px solid var(--line);
      }

      .empty-cart-message p {
        color: var(--muted-gray);
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
        font-weight: 300;
      }

      .empty-cart-message a {
        color: var(--luxury-dark);
        text-decoration: none;
        text-transform: uppercase;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 2px;
        display: inline-block;
        position: relative;
        padding-bottom: 4px;
      }

      .empty-cart-message a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 1px;
        background: var(--rivano-green);
        transition: all 0.3s var(--transition);
      }

      .empty-cart-message a:hover {
        color: var(--rivano-green);
      }

      .empty-cart-message a:hover::after {
        width: 100%;
        left: 0;
      }

      /* PRODUKT ZEILE */
      .item {
        display: table;
        width: 100%;
        padding: 25px 0;
        border-bottom: 1px solid var(--line);
      }

      .item-cell {
        display: table-cell;
        vertical-align: middle;
      }

      .item-img {
        width: 110px;
        padding-right: 20px;
      }

      .item-img img {
        width: 90px;
        height: 90px;
        object-fit: cover;
        background: var(--hover-gray);
        border: 1px solid var(--border-strong);
      }

      .item-details {
        width: 40%;
      }

      .item-details h3 {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        margin-bottom: 4px;
      }

      .item-details p {
        font-size: 0.85rem;
        color: var(--muted-gray);
      }

      /* QUANTITY ENGINE */
      .item-quantity {
        width: 25%;
        text-align: center;
      }

      .qty-picker {
        display: inline-flex;
        align-items: center;
        border: 1px solid var(--border-strong);
        background: var(--pure-white);
      }

      .qty-btn {
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.2s;
      }

      .qty-btn:hover {
        background: var(--hover-gray);
        color: var(--rivano-green);
      }

      .qty-val {
        width: 35px;
        text-align: center;
        font-size: 0.85rem;
        font-weight: 500;
      }

      .item-price-delete {
        width: 20%;
        text-align: right;
      }

      .item-price {
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 8px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 2px;
      }

      .item-price .old-price {
        text-decoration: line-through;
        color: var(--muted-gray);
        font-weight: 400;
        font-size: 0.85rem;
      }

      .item-price .new-price {
        color: var(--sale-red);
        font-weight: 700;
      }

      .delete-btn {
        background: none;
        border: none;
        color: var(--muted-gray);
        cursor: pointer;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: 0.2s;
        padding: 4px 0;
      }

      .delete-btn:hover {
        color: var(--error-red);
      }

      .cart-actions {
        margin-top: 30px;
        text-align: left;
      }

      .clear-cart-link {
        background: none;
        border: none;
        color: var(--muted-gray);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        cursor: pointer;
        padding: 10px 20px;
        font-weight: 500;
        display: inline-block;
        position: relative;
        z-index: 1;
        transition: color 0.3s var(--transition);
      }

      .clear-cart-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(221, 0, 0, 0.06);
        border: 1px solid rgba(221, 0, 0, 0.18);
        z-index: -1;
        transform: scale(0.85);
        opacity: 0;
        transition:
          transform 0.4s var(--transition),
          opacity 0.3s var(--transition);
      }

      .clear-cart-link:hover {
        color: var(--error-red);
      }

      .clear-cart-link:hover::before {
        transform: scale(1);
        opacity: 1;
      }

      /* SHIPPING PROGRESS BAR */
      .shipping-progress-container {
        margin-bottom: 25px;
      }
      .shipping-progress-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
        font-weight: 500;
      }
      .shipping-progress-bar-bg {
        width: 100%;
        height: 4px;
        background: var(--line);
        position: relative;
        overflow: hidden;
      }
      .shipping-progress-bar-fill {
        height: 100%;
        background: var(--rivano-green);
        width: 0%;
        transition: width 0.5s var(--transition);
      }

      /* MODALS */
      .custom-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backgroundrgba(var(--luxury-dark-rgb), 0.2);
        backdrop-filter: blur(8px);
        z-index: 6000;
        display: none;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.4s var(--transition);
      }

      .custom-modal-overlay.open {
        display: flex;
        opacity: 1;
      }

      .custom-modal {
        background: var(--pure-white);
        padding: 40px;
        width: 100%;
        max-width: 480px;
        border: 1px solid var(--border-strong);
        text-align: center;
        transform: translateY(30px) scale(0.95);
        transition: transform 0.4s var(--transition);
      }

      .custom-modal-overlay.open .custom-modal {
        transform: translateY(0) scale(1);
      }

      .custom-modal h3 {
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 500;
        margin-bottom: 15px;
      }

      .custom-modal p {
        font-size: 0.9rem;
        color: var(--muted-gray);
        line-height: 1.6;
        margin-bottom: 30px;
      }

      .modal-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
      }

      .modal-btn {
        padding: 12px 24px;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        background: none;
        transition: all 0.3s var(--transition);
      }

      .modal-btn.cancel {
        background: var(--luxury-dark);
        color: var(--pure-white);
      }

      .modal-btn.cancel:hover {
        background: var(--dark-hover);
      }

      .modal-btn.confirm-delete {
        color: var(--muted-gray);
        position: relative;
        z-index: 1;
      }

      .modal-btn.confirm-delete::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(221, 0, 0, 0.06);
        border: 1px solid rgba(221, 0, 0, 0.18);
        z-index: -1;
        transform: scale(0.85);
        opacity: 0;
        transition:
          transform 0.4s var(--transition),
          opacity 0.3s var(--transition);
      }

      .modal-btn.confirm-delete:hover {
        color: var(--error-red);
      }

      .modal-btn.confirm-delete:hover::before {
        transform: scale(1);
        opacity: 1;
      }

      .modal-btn.error-close {
        background: var(--luxury-dark);
        color: var(--pure-white);
        width: 100%;
      }

      .modal-btn.error-close:hover {
        background: var(--rivano-green);
      }

      /* SUMMARY RIGHT SIDE */
      .summary-title {
        font-size: 1.3rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 25px;
        font-weight: 500;
        border-bottom: 1px solid var(--line);
        padding-bottom: 15px;
      }

      .summary-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
        font-size: 0.9rem;
        color: var(--muted-gray);
      }

      .shipping-methods {
        margin: 20px 0;
        padding: 20px 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      .shipping-methods h4 {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 15px;
        color: var(--luxury-dark);
      }

      .shipping-option {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        background: var(--pure-white);
        padding: 14px;
        border: 1px solid var(--border-strong);
        margin-bottom: 10px;
        cursor: pointer;
        transition: 0.2s;
      }

      .shipping-option:hover {
        border-color: var(--luxury-dark);
      }

      .shipping-option input {
        width: auto;
        margin-top: 3px;
        cursor: pointer;
        accent-color: var(--rivano-green);
      }

      .shipping-text-wrapper {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 0.85rem;
      }

      .shipping-details span {
        display: block;
        font-weight: 600;
      }

      .shipping-details small {
        color: var(--muted-gray);
        display: block;
        margin-top: 2px;
      }

      .shipping-price {
        font-weight: 600;
      }

      /* COUPON SYSTEM */
      .coupon-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--line);
      }
      .coupon-section h4 {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 12px;
        color: var(--luxury-dark);
      }
      .coupon-input-wrapper {
        display: flex;
        gap: 10px;
      }
      .coupon-input-wrapper input {
        flex: 1;
        padding: 10px;
        border: 1px solid var(--border-strong);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
      }
      .coupon-btn {
        padding: 0 20px;
        background: var(--luxury-dark);
        color: var(--pure-white);
        border: none;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
        cursor: pointer;
        transition: background 0.3s;
      }
      .coupon-btn:hover {
        background: var(--rivano-green);
      }
      .coupon-msg {
        font-size: 0.75rem;
        margin-top: 6px;
        display: none;
      }

      .tax-disclaimer {
        font-size: 0.75rem;
        color: var(--muted-gray);
        text-align: right;
        margin-top: 4px;
      }

      .summary-row.final-total {
        margin-top: 20px;
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--luxury-dark);
      }

      .btn {
        width: 100%;
        padding: 16px;
        background: var(--luxury-dark);
        color: var(--pure-white);
        border: none;
        cursor: pointer;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 2px;
        font-weight: 500;
        transition: 0.3s var(--transition);
        margin-top: 20px;
      }

      .btn:hover {
        background: var(--rivano-green);
      }

      /* CHECKOUT FORM & VALIDATION */
      .checkout-section {
        margin-top: 35px;
        border-top: 1px solid var(--line);
        padding-top: 30px;
        display: none;
      }

      .checkout-section h2 {
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        font-weight: 500;
      }

      .input-group {
        margin-bottom: 12px;
      }

      .input-row {
        display: flex;
        gap: 12px;
        margin-bottom: 12px;
      }

      .input-row .input-group {
        margin-bottom: 0;
        flex: 1;
      }

      .input-row .input-group.zip-code {
        flex: 0 0 35%;
      }

      input[type="text"],
      input[type="email"],
      input[type="tel"] {
        width: 100%;
        padding: 14px;
        border: 1px solid var(--border-strong);
        background: var(--pure-white);
        font-family: inherit;
        font-size: 0.85rem;
        transition:
          border-color 0.3s,
          box-shadow 0.3s;
      }

      input:focus {
        outline: none;
        border-color: var(--rivano-green);
      }

      /* Live-Validation-Klassen */
      input.input-valid {
        border-color: var(--valid-green) !important;
        box-shadow: 0 0 4px rgba(40, 167, 69, 0.15);
      }
      input.input-invalid {
        border-color: var(--sale-red) !important;
        box-shadow: 0 0 4px rgba(144, 10, 10, 0.15);
      }

      /* ALLOCATION STATE / MINIMALIST LOADER */
      .allocation-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(4px);
        z-index: 5500;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
      .allocation-spinner {
        width: 40px;
        height: 40px;
        border: 2px solid var(--line);
        border-top: 2px solid var(--rivano-green);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 20px;
      }
      .allocation-text {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 500;
        color: var(--luxury-dark);
      }
      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

      /* SUCCESS OVERLAY */
      .order-success-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--pure-white);
        z-index: 5000;
        display: none;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px;
      }

      .success-content {
        max-width: 650px;
        animation: fadeInOrder 0.8s var(--transition);
      }

      .success-content .checkmark-icon {
        width: 60px;
        height: 60px;
        background: var(--rivano-green);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 30px;
      }

      .success-content .checkmark-icon::after {
        content: "";
        width: 12px;
        height: 24px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        margin-top: -4px;
      }

      .success-content h2 {
        font-size: 2.2rem;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 400;
        margin-bottom: 20px;
      }

      .success-content p {
        color: var(--muted-gray);
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
      }

      .success-content .order-id {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--muted-gray);
        margin-top: 30px;
      }

      .success-content .redirect-notice {
        font-size: 0.8rem;
        color: var(--rivano-green);
        margin-top: 15px;
        letter-spacing: 1px;
        text-transform: uppercase;
      }

      @keyframes fadeInOrder {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @media (max-width: 1024px) {
        .cart-wrapper,
        .cart-items-column,
        .cart-summary-column {
          display: block;
          width: 100%;
        }

        .mobile-menu-btn {
          display: flex;
        }

        .nav-links {
          position: fixed;
          top: 85px;
          right: -100%;
          width: 100%;
          height: calc(100vh - 85px);
          background: var(--soft-white);
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 30px;
          transition: right 0.3s ease;
          box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        }

        .nav-links.active {
          right: 0;
        }

        .nav-links a {
          font-size: 1.2rem;
        }

        .cart-wrapper {
          margin: 0;
          border-spacing: 0;
        }
        .cart-summary-column {
          margin-top: 50px;
        }
      }

      footer {
        padding: 80px 8%;
        border-top: 1px solid var(--line);
        color: var(--muted-gray);
      }

      ::-webkit-scrollbar {
        width: 6px;
      }
      ::-webkit-scrollbar-track {
        background: var(--bg-light);
      }
      ::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
      }

/* === STYLES FROM story.html === */
/* ==========================================================================
         DYNAMIC HERO SECTION
         ========================================================================== */

      .story-hero {
        min-height: 100vh;
        padding: 90px 8% 0 8%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        background: radial-gradient(
          circle at 85% 30%,
          rgba(var(--rivano-green-rgb), 0.04) 0%,
          transparent 60%
        );
      }

      .story-hero .meta-tag {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 7px;
        color: var(--rivano-green);
        font-weight: 700;
        margin-bottom: 25px;
        overflow: hidden;
      }

      .story-hero .meta-tag span {
        display: block;
        transform: translateY(100%);
        animation: revealText 1.2s var(--transition-lux) forwards;
      }

      .story-hero h1 {
        font-size: clamp(2.2rem, 5.5vw, 4.8rem);
        font-weight: 800;
        line-height: 1.2;
        max-width: 1200px;
        letter-spacing: -2px;
        text-transform: uppercase;
      }

      .story-hero h1 .line-wrap {
        display: block;
        overflow: hidden;
        padding-top: 5px;
        padding-bottom: 15px;
        margin-bottom: -10px;
      }

      .story-hero h1 .line-child {
        display: block;
        transform: translateY(105%);
        animation: revealText 1.5s var(--transition-lux) 0.1s forwards;
      }

      .story-hero h1 strong {
        font-weight: 800;
        color: var(--rivano-green);
        position: relative;
        display: inline-block;
        padding: 0 10px 0 2px;
        transition: transform 0.4s var(--transition-bouncy);
        transform-origin: left center;
      }

      .story-hero h1 strong:hover {
        transform: scale(1.03) skewX(-3deg);
      }

      @keyframes revealText {
        to {
          transform: translateY(0);
        }
      }

      /* ==========================================================================
         EDITORIAL STORIES (Einheitliches Nebeneinander-Layout für 01, 02 & 03)
         ========================================================================== */

      .editorial-section {
        padding: 120px 8%;
        display: flex;
        align-items: center;
        gap: 6%;
        position: relative;
      }

      .editorial-section.reverse {
        flex-direction: row-reverse;
      }

      .img-parallax-wrapper {
        width: 55%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        position: relative;
        background: #f0f0ed;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
        border-radius: 0px;
        transition:
          transform 0.6s var(--transition-lux),
          box-shadow 0.6s;
      }

      .img-parallax-wrapper:hover {
        transform: translateY(-6px) scale(1.01) rotate(0.6deg);
        box-shadow: 0 40px 80px rgba(var(--rivano-green-rgb), 0.1);
      }

      .editorial-section.reverse .img-parallax-wrapper:hover {
        transform: translateY(-6px) scale(1.01) rotate(-0.6deg);
      }

      .editorial-img {
        width: 100%;
        height: 115%;
        object-fit: cover;
        transition: transform 0.8s var(--transition-lux);
      }

      .img-parallax-wrapper:hover .editorial-img {
        transform: scale(1.04) translateY(-4px);
      }

      .editorial-text {
        width: 39%;
        position: relative;
        transition: transform 0.5s var(--transition-lux);
      }

      .section-num {
        font-size: 13rem;
        font-weight: 900;
        color: rgba(var(--rivano-green-rgb), 0.03);
        position: absolute;
        top: -130px;
        left: -30px;
        z-index: -1;
        user-select: none;
        letter-spacing: -8px;
        transition:
          color 0.5s ease,
          transform 0.6s var(--transition-bouncy);
      }

      .editorial-text:hover .section-num {
        color: rgba(var(--rivano-green-rgb), 0.06);
        transform: scale(1.05) translate(8px, -8px);
      }

      .editorial-text h2 {
        font-size: 2.3rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: -1px;
        margin-bottom: 25px;
        position: relative;
        display: inline-block;
        transition:
          color 0.4s,
          transform 0.4s var(--transition-lux);
      }

      .editorial-text h2::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 0%;
        height: 3px;
        background: var(--rivano-green);
        transition: width 0.4s var(--transition-lux);
      }

      .editorial-text:hover h2 {
        color: var(--rivano-green);
        transform: translateX(10px);
      }

      .editorial-text:hover h2::after {
        width: 60px;
      }

      .editorial-text p {
        color: #4a4a4a;
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 20px;
        font-weight: 400;
      }

      /* ==========================================================================
         CLEAN MANIFESTO BLOCK
         ========================================================================== */

      .manifesto-banner {
        padding: 140px 8%;
        text-align: center;
        background: #f3f3f0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        position: relative;
      }

      .manifesto-banner h3 {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 6px;
        color: var(--rivano-green);
        margin-bottom: 30px;
        font-weight: 700;
      }

      .manifesto-banner p {
        font-size: clamp(1.5rem, 3.2vw, 2.4rem);
        max-width: 1000px;
        margin: 0 auto;
        line-height: 1.4;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: -0.5px;
        color: var(--luxury-dark);
        transition: transform 0.4s;
      }

      .manifesto-banner:hover p {
        transform: scale(1.02);
        color: var(--rivano-green);
      }

      /* ==========================================================================
         INTERACTIVE ARCHIVE CARD ACCORDIONS
         ========================================================================== */

      .archive-split-row {
        padding: 100px 8%;
        display: flex;
        gap: 40px;
      }

      .archive-card {
        flex: 1;
        border-top: 2px solid var(--luxury-dark);
        padding-top: 40px;
        position: relative;
        transition:
          transform 0.4s var(--transition-lux),
          background-color 0.4s;
        padding: 40px 20px 30px 20px;
      }

      .archive-card:hover {
        transform: translateY(-12px);
        background-color: rgba(var(--rivano-green-rgb), 0.03);
        border-top-color: var(--rivano-green);
      }

      .archive-card span {
        font-size: 0.75rem;
        letter-spacing: 3px;
        color: var(--rivano-green);
        text-transform: uppercase;
        font-weight: 700;
      }

      .archive-card h4 {
        font-size: 1.8rem;
        font-weight: 800;
        text-transform: uppercase;
        margin: 15px 0;
        letter-spacing: -0.5px;
        transition: color 0.3s;
      }

      .archive-card:hover h4 {
        color: var(--rivano-green);
      }

      .archive-card p {
        color: var(--muted-gray);
        font-weight: 400;
        font-size: 0.95rem;
        line-height: 1.7;
      }

      /* ==========================================================================
         MAGNETIC RIVANO HIGH-END CTA BUTTON
         ========================================================================== */

      .story-cta {
        padding: 140px 8%;
        text-align: center;
      }

      .story-cta h2 {
        font-size: 3.5rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: -1px;
        margin-bottom: 45px;
      }

      .luxury-btn-container {
        display: inline-block;
        position: relative;
        padding: 20px 30px;
        margin: -20px -30px;
      }

      .luxury-btn {
        display: inline-block;
        padding: 16px 45px;
        border: 2px solid #0a0a0a;
        background: transparent;
        color: var(--luxury-dark);
        text-decoration: none;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 4px;
        font-weight: 700;
        position: relative;
        overflow: hidden;
        z-index: 1;
        transition:
          color 0.4s var(--transition-lux),
          border-color 0.4s,
          transform 0.2s ease-out;
        will-change: transform;
      }

      .luxury-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--rivano-green);
        transition: left 0.4s var(--transition-lux);
        z-index: -1;
      }

      .luxury-btn:hover {
        color: var(--soft-white);
        border-color: var(--rivano-green);
      }

      .luxury-btn:hover::before {
        left: 0;
      }

      /* ==========================================================================
         SCROLL REVEAL ENGINE
         ========================================================================== */

      .reveal-element {
        opacity: 0;
        transform: translateY(60px);
        transition:
          opacity 1.2s var(--transition-lux),
          transform 1.2s var(--transition-lux);
      }

      .reveal-element.active {
        opacity: 1;
        transform: translateY(0);
      }

      /* ==========================================================================
         FOOTER
         ========================================================================== */

      footer {
        padding: 60px 8%;
        border-top: 1px solid var(--line);
        color: var(--muted-gray);
        background: var(--pure-white);
        display: flex;
        justify-content: space-between;
        font-size: 1rem;
        font-weight: 500;
      }

      /* ==========================================================================
         RESPONSIVE STYLING
         ========================================================================== */

      @media (max-width: 1024px) {
        #luxury-cursor-ring {
          display: none !important;
        }

        nav {
          height: 85px;
          padding: 0 5%;
        }
        .nav-links {
          gap: 20px;
        }

        .editorial-section,
        .editorial-section.reverse,
        .archive-split-row {
          flex-direction: column;
          align-items: center;
          gap: 50px;
          padding: 80px 5%;
        }

        .img-parallax-wrapper,
        .editorial-text {
          width: 100%;
        }

        .section-num {
          font-size: 9rem;
          top: -100px;
          left: 0;
          transform: none !important;
        }

        .story-cta h2 {
          font-size: 2.6rem;
        }
        .luxury-btn-container {
          padding: 0;
          margin: 0;
        }
      }

/* === STYLES FROM impressum.html === */
.legal-page { font-family: 'Inter', sans-serif; padding: 40px 8%; color: var(--luxury-dark); background: var(--bg-light); }
        .legal-page h1 { color: var(--rivano-green); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
        .legal-page .box { background: var(--pure-white); border: 1px solid var(--line); padding: 20px; margin-top: 20px; line-height: 1.6; }

/* === STYLES FROM datenschutz.html === */
.legal-page { font-family: 'Inter', sans-serif; padding: 140px 8% 40px; color: var(--luxury-dark); background: var(--bg-light); line-height: 1.6; }
        .legal-page h1 { color: var(--rivano-green); text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
        .legal-page h2 { color: var(--rivano-green); font-size: 1.2rem; margin-top: 30px; }
        .legal-page p, .legal-page li { color: var(--luxury-dark); }

/* === COOKIE BANNER STYLES === */
.rivano-cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: calc(100% - 60px);
  max-width: 400px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  color: #ffffff;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rivano-cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.rivano-cookie-banner h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rivano-cookie-banner h3 span {
  color: #004b23;
}

.rivano-cookie-banner p {
  font-size: 12px;
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.rivano-cookie-banner p a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.rivano-cookie-banner p a:hover {
  color: #004b23;
}

.rivano-cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rivano-cookie-btn {
  width: 100%;
  padding: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.rivano-cookie-btn.accept {
  background: #004b23;
  color: #ffffff;
}

.rivano-cookie-btn.accept:hover {
  background: #00602d;
}

.rivano-cookie-btn.decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rivano-cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .rivano-cookie-banner {
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    max-width: none;
    padding: 20px;
  }
}

/* =========================
   AI BADGE
========================= */
.ai-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  pointer-events: none;
  font-weight: 500;
  text-transform: uppercase;
}

/* ==========================================================================
   MOBILE & TOUCH OPTIMIZATIONS (COMPREHENSIVE RESPONSIVE SUITE)
   ========================================================================== */

/* Touch Device Feedback & Sticky Hover Prevention */
@media (hover: none), (pointer: coarse) {
  #luxury-cursor-ring {
    display: none !important;
  }

  a:active,
  button:active,
  .product:active,
  .card:active,
  .btn:active,
  .luxury-btn:active,
  .archive-card:active,
  .qty-btn:active,
  .cart-btn:active,
  .filters button:active,
  .shipping-option:active {
    opacity: 0.85;
    transform: scale(0.97) !important;
    transition: transform 0.1s ease, opacity 0.1s ease !important;
  }

  .nav-links a.active {
    color: var(--rivano-green);
    background: var(--rivano-green-bg);
  }

  .filters button.active {
    border-color: var(--rivano-green);
    color: var(--rivano-green);
    background: var(--rivano-green-bg);
  }

  .logo-link:hover .logo,
  .hero:hover .hero-bg,
  .split img:hover,
  .product:hover,
  .product:hover img,
  .card:hover,
  .card:hover img,
  .img-parallax-wrapper:hover,
  .img-parallax-wrapper:hover .editorial-img,
  .editorial-text:hover,
  .archive-card:hover,
  .manifesto-banner:hover p {
    transform: none !important;
  }

  .product:hover h3::after,
  .card:hover h3::after,
  .editorial-text:hover h2::after {
    width: 0 !important;
  }
}

/* Tablet & Mobile Layout Refinements (max-width: 900px) */
@media (max-width: 900px) {
  body {
    padding-top: 75px;
  }

  nav {
    height: 75px;
    padding: 0 5%;
  }

  .logo {
    height: 38px;
  }

  .mobile-menu-btn {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    transition: right 0.4s var(--transition-lux);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 12px 28px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero Section */
  .hero {
    height: calc(100vh - 75px);
    min-height: 520px;
    padding: 0 6%;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 8vw, 4.2rem);
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  /* Section Spacing */
  .section {
    padding: 70px 6%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .split-text h2 {
    font-size: 2.2rem;
  }

  /* Shop Grid & Filters */
  .header {
    padding: 110px 6% 30px;
  }

  .header h1 {
    font-size: 2.4rem;
  }

  .filters {
    padding: 0 6% 25px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.75rem;
    border-radius: 20px;
    min-height: 44px;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 0 6% 80px;
  }

  .products {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  /* Product Cards & Touch Targets */
  .cart-btn {
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }

  .product-modal-window {
    flex-direction: column;
    width: 92%;
    max-width: 500px;
    height: auto;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 0;
  }

  .modal-left-gallery {
    width: 100%;
    height: 250px;
    padding: 20px;
  }

  .modal-right-panel {
    width: 100%;
    height: auto;
    padding: 25px 20px;
  }

  .modal-product-meta h2 {
    font-size: 1.5rem;
  }

  .modal-close-trigger {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #333;
    z-index: 20;
  }

  /* Cart Layout */
  .container {
    padding: 110px 6% 40px;
  }

  .container h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .cart-wrapper {
    flex-direction: column;
    gap: 35px;
  }

  .cart-summary-column {
    margin-top: 20px;
  }

  /* Story Page Mobile */
  .story-hero {
    min-height: auto;
    padding: 110px 6% 40px;
  }

  .story-hero h1 {
    font-size: clamp(2rem, 6.5vw, 3.2rem);
  }

  .editorial-section,
  .editorial-section.reverse {
    flex-direction: column !important;
    gap: 35px;
    padding: 60px 6%;
  }

  .img-parallax-wrapper,
  .editorial-text {
    width: 100%;
  }

  .img-parallax-wrapper {
    aspect-ratio: 4 / 3;
  }

  .section-num {
    font-size: 6rem;
    top: -60px;
    left: -5px;
    letter-spacing: -4px;
  }

  .manifesto-banner {
    padding: 70px 6%;
  }

  .manifesto-banner p {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  }

  .archive-split-row {
    flex-direction: column;
    gap: 30px;
    padding: 60px 6%;
  }

  .story-cta {
    padding: 70px 6%;
  }

  .story-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }

  .luxury-btn {
    padding: 16px 32px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    width: 100%;
    text-align: center;
  }

  /* Legal Pages */
  .legal-page {
    padding: 110px 6% 40px;
  }

  /* Footer */
  footer {
    padding: 40px 6%;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-links {
    justify-content: center;
    justify-self: center;
  }

  /* Toasts */
  .global-toast {
    width: calc(100% - 30px);
    right: 15px;
    bottom: 15px;
    padding: 16px 20px;
  }
}

/* Small Smartphone Optimizations (max-width: 600px) */
@media (max-width: 600px) {
  body {
    padding-top: 65px;
  }

  nav {
    height: 65px;
    padding: 0 4%;
  }

  .logo {
    height: 34px;
  }

  .nav-links {
    top: 65px;
    height: calc(100vh - 65px);
  }

  /* Product & Shop Grid: 1 column on smartphones */
  .grid,
  .products {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Cart Items Table to Flex Card Transformation */
  .item {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding: 18px 0;
    gap: 12px;
    align-items: center;
  }

  .item-cell {
    display: block;
  }

  .item-img {
    width: 75px;
    padding-right: 0;
  }

  .item-img img {
    width: 75px;
    height: 75px;
  }

  .item-details {
    width: calc(100% - 90px);
    padding-right: 5px;
  }

  .item-details h3 {
    font-size: 0.95rem;
  }

  .item-quantity {
    width: auto;
    text-align: left;
    margin-top: 4px;
  }

  .item-price-delete {
    width: auto;
    margin-left: auto;
    text-align: right;
    margin-top: 4px;
  }

  .qty-btn {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .qty-val {
    width: 40px;
    font-size: 0.95rem;
  }

  .delete-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Form Input Stack on Mobile */
  .input-row {
    flex-direction: column;
    gap: 12px;
  }

  .input-row .input-group.zip-code {
    flex: 1;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    padding: 14px;
    font-size: 0.95rem;
  }

  .btn {
    padding: 16px;
    font-size: 0.8rem;
    min-height: 48px;
  }

  .coupon-input-wrapper {
    flex-direction: column;
  }

  .coupon-btn {
    padding: 12px;
    min-height: 44px;
  }
}

/* Color Picker */
.color-picker {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.active {
  border-color: var(--black);
  transform: scale(1.1);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--black);
}

.modal-color-picker {
  justify-content: flex-start;
  margin-top: 15px;
  margin-bottom: 20px;
}

.cart-item-color {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 4px;
}

.mobile-logo {
  display: none;
}

@media (max-width: 900px) {
  .nav-links .logo-link {
    display: none;
  }
  .mobile-logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 5%;
    z-index: 1001;
  }
}
