/* ═══════════════════════════════════════════════════════════════════
   JR OFFICE — PREMIUM DARK THEME
   Ultra-Luxury Corporate · Midnight Charcoal + Matte Gold
═══════════════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ───────────────────────────────────────────── */
:root {
  --bg-base:        #0B0B0C;
  --bg-secondary:   #0F0F10;
  --bg-tertiary:    #121213;
  --bg-card:        #141415;
  --bg-card-hover:  #181819;
  --bg-glass:       rgba(18, 18, 19, 0.72);

  --gold:           #C5A059;
  --gold-light:     #D4AF37;
  --gold-dim:       rgba(197, 160, 89, 0.15);
  --gold-border:    rgba(197, 160, 89, 0.25);

  --text-primary:   #F0EDE8;
  --text-secondary: #A09A90;
  --text-muted:     #5A554E;
  --text-inverse:   #0B0B0C;

  --border-subtle:  rgba(255, 255, 255, 0.04);
  --border-fine:    rgba(255, 255, 255, 0.08);
  --border-medium:  rgba(255, 255, 255, 0.12);

  --nav-height:     72px;
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      18px;
  --radius-xl:      24px;

  --ease-luxury:    cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-card:    0 1px 2px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-glow:    0 0 40px rgba(197, 160, 89, 0.08);
  --shadow-gold:    0 4px 20px rgba(197, 160, 89, 0.18);

  --container-max:  1200px;
  --section-pad-y:  120px;
  --section-pad-y-sm: 80px;
}

/* ── RESET & BASE ────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background-color: var(--gold-dim);
  color: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── UTILITY ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.text-accent {
  color: var(--gold);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 60px;
}

/* ── SCROLLBAR ───────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 160, 89, 0.4);
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s var(--ease-luxury),
              border-color 0.4s var(--ease-luxury),
              box-shadow 0.4s var(--ease-luxury);
}

.nav-wrapper.scrolled {
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4), var(--shadow-glow);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}
.nav-logo:hover {
  opacity: 0.85;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  /* The logo has a black background — invert it so it sits well on dark nav */
  filter: brightness(1);
}

/* Footer logo image */
.footer-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Keep legacy text logo classes harmless */
.logo-text { display: none; }
.logo-accent { color: var(--gold); }

/* ── Kaufland Nav Button ─────────────────────────────────────────── */
.kaufland-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(218, 41, 28, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(218, 41, 28, 0.06);
  transition: background 0.22s ease, border-color 0.22s ease,
              transform 0.2s var(--ease-spring);
  flex-shrink: 0;
  text-decoration: none;
}
.kaufland-nav-btn:hover {
  background: rgba(218, 41, 28, 0.12);
  border-color: rgba(218, 41, 28, 0.45);
  transform: translateY(-1px);
}

.kaufland-nav-icon {
  display: block;
  height: 26px;
  width: 26px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.kaufland-nav-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(218, 41, 28, 0.9);
  white-space: nowrap;
}

/* Mobile Kaufland link */
.mobile-kaufland-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.mobile-kaufland-icon {
  display: block;
  height: 22px;
  width: 22px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}
.nav-hamburger:hover {
  background: var(--border-subtle);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-luxury), opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(11, 11, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-fine);
  padding: 16px clamp(20px, 5vw, 60px) 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-luxury), opacity 0.35s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-link {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.mobile-link:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}
.mobile-cta {
  margin-top: 12px;
  display: block;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0B0B0C;
  background: var(--gold);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease-luxury),
              transform 0.2s var(--ease-spring),
              box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, border-color 0.2s ease,
              background 0.2s ease, transform 0.2s var(--ease-spring);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-fine);
  background: var(--border-subtle);
  transform: translateY(-1px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}
.btn-large.btn-ghost {
  padding: 13px 28px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

.link-btn {
  display: inline;
  color: var(--gold);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(197, 160, 89, 0.4);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}
.link-btn:hover {
  text-decoration-color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Background Layers */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-noise {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow--1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.06) 0%, transparent 65%);
  animation: glow-drift-1 14s ease-in-out infinite alternate;
}
.hero-glow--2 {
  width: 50vw;
  height: 50vw;
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.04) 0%, transparent 65%);
  animation: glow-drift-2 18s ease-in-out infinite alternate;
}
@keyframes glow-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, 8%) scale(1.1); }
}
@keyframes glow-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-5%, -5%) scale(1.08); }
}

/* Hero Geometric — ANIMATION 1 target */
.hero-geo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
}
.geo-svg {
  width: min(800px, 90vw);
  height: min(800px, 90vw);
  animation: geo-rotate 80s linear infinite;
}
@keyframes geo-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px clamp(20px, 5vw, 60px);
  max-width: 860px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.hero-headline {
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 28px;
}
.headline-accent {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #A07832 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}
.br-desktop { display: inline; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 32px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.stat-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-plus {
  color: var(--gold);
  font-size: 20px;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-fine);
  flex-shrink: 0;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 2s var(--ease-luxury) infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(10px); opacity: 0.3; }
}
.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Entrance Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-luxury), transform 0.9s var(--ease-luxury);
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-fade-up[data-delay="0"] { transition-delay: 0ms; }
.animate-fade-up[data-delay="1"] { transition-delay: 120ms; }
.animate-fade-up[data-delay="2"] { transition-delay: 240ms; }
.animate-fade-up[data-delay="3"] { transition-delay: 360ms; }
.animate-fade-up[data-delay="4"] { transition-delay: 520ms; }
.animate-fade-up[data-delay="5"] { transition-delay: 800ms; }

/* ══════════════════════════════════════════════════════════════════
   INTRO / VALUE SECTION
══════════════════════════════════════════════════════════════════ */
.intro-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.value-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease-spring);
}
.value-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════════════
   PORTFOLIO SECTIONS
══════════════════════════════════════════════════════════════════ */
.portfolio-section {
  padding: var(--section-pad-y) 0;
  position: relative;
}

.portfolio-section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.012) 40%, transparent 100%);
}

.portfolio-section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.portfolio-header {
  max-width: 640px;
  margin-bottom: 64px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}

/* Product Card */
.product-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color 0.35s var(--ease-luxury),
              background 0.35s ease,
              transform 0.35s var(--ease-spring),
              box-shadow 0.35s ease;
  overflow: hidden;
  cursor: default;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.product-card:hover::before {
  opacity: 0.7;
}

.card-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  margin-bottom: 18px;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.product-card:hover .card-icon {
  background: var(--gold-dim);
  border-color: var(--gold-border);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.card-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.card-features li {
  font-size: 12.5px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  letter-spacing: 0.01em;
}
.card-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
  transition: gap 0.2s var(--ease-spring), opacity 0.2s ease;
}
.card-link:hover {
  gap: 10px;
  opacity: 0.85;
}

/* ANIMATION 2: Staggered Reveal */
.reveal-stagger {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}
.reveal-stagger.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════════════════════════ */
.contact-section {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(180deg, transparent, rgba(197,160,89,0.02) 50%, transparent);
  position: relative;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.contact-details a {
  color: var(--gold);
  transition: opacity 0.2s ease;
}
.contact-details a:hover {
  opacity: 0.8;
}
.contact-details strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}
.contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.required {
  color: var(--gold);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold-border);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(197,160,89,0.08);
}
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: rgba(220, 80, 80, 0.5);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%235A554E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option {
  background: #1a1a1b;
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  font-size: 12px;
  color: #E05050;
  min-height: 16px;
  transition: opacity 0.2s ease;
}

/* Checkbox */
.form-consent {
  margin-bottom: 24px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-medium);
  border-radius: 4px;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
  margin-top: 1px;
}
.checkbox-label:hover .checkbox-custom {
  border-color: var(--gold-border);
}
.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--gold);
  border-color: var(--gold);
}
.checkbox-label input:checked ~ .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid #0B0B0C;
  border-bottom: 1.5px solid #0B0B0C;
  transform: rotate(-45deg);
}

/* Submit Btn States */
#submitBtn {
  position: relative;
  overflow: hidden;
}
#submitBtn .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11,11,12,0.3);
  border-top-color: #0B0B0C;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#submitBtn.loading .btn-text { display: none; }
#submitBtn.loading .btn-spinner { display: block; }
@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success,
.form-failure {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 16px;
}
.form-success {
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.form-failure {
  background: rgba(220, 80, 80, 0.07);
  border: 1px solid rgba(220, 80, 80, 0.25);
  color: #E07070;
}
.form-success.visible,
.form-failure.visible {
  display: flex;
}
.form-failure a {
  color: #E07070;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border-fine);
}

.footer-top {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  margin-bottom: 18px;
  display: inline-flex;
  transition: opacity 0.25s ease;
}
.footer-logo:hover {
  opacity: 0.85;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
  font-style: italic;
}

.footer-address {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}
.footer-address a {
  color: var(--gold);
  transition: opacity 0.2s ease;
}
.footer-address a:hover {
  opacity: 0.8;
}

.footer-nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-group a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-nav-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 12.5px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #141415;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--ease-luxury);
  overflow: hidden;
}
.modal-overlay.active .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel--sm {
  max-width: 480px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border-fine);
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.modal-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.modal-close:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.modal-body {
  overflow-y: auto;
  padding: 28px 28px;
  flex: 1;
}
.modal-body::-webkit-scrollbar {
  width: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 2px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--border-fine);
  flex-shrink: 0;
}

/* Legal Text Styles */
.legal-section {
  margin-bottom: 32px;
}
.legal-section:last-child {
  margin-bottom: 0;
}
.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-section h4 {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--text-secondary);
  margin-bottom: 6px;
  margin-top: 14px;
}
.legal-section p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(197,160,89,0.4);
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(14, 14, 15, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-fine);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-luxury);
}
.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-text {
  flex: 1;
}
.cookie-text strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cookie-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 600px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Cookie Toggle */
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--border-fine);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cookie-toggle-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}
.cookie-toggle-item + .cookie-toggle-item {
  border-top: 1px solid var(--border-fine);
}

.cookie-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cookie-toggle-info strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--text-primary);
}
.cookie-toggle-info span {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Toggle Switch */
.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-track {
  width: 40px;
  height: 22px;
  background: var(--border-medium);
  border-radius: 11px;
  position: relative;
  transition: background 0.25s ease;
}
.toggle input:checked ~ .toggle-track {
  background: var(--gold);
}
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s var(--ease-spring);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.toggle input:checked ~ .toggle-track .toggle-thumb {
  transform: translateX(18px);
}
.toggle--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.toggle-label-text {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-pad-y: 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
  }

  .stat {
    padding: 16px 24px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --section-pad-y: 70px;
    --nav-height:    60px;
  }

  /* On mobile hide the Kaufland text label, show icon only */
  .kaufland-nav-label {
    display: none;
  }
  .kaufland-nav-btn {
    padding: 5px;
  }

  .hero-headline {
    letter-spacing: -0.03em;
  }

  .br-desktop { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }
  .hero-actions .btn-large {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
  }
  .stat-divider {
    display: none;
  }
  .stat {
    padding: 12px 20px;
    flex: 1;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-wrapper {
    padding: 28px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-panel {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 85svh;
    border-bottom: none;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    flex-direction: column;
    padding: 16px;
  }
  .stat {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  .nav-wrapper,
  .cookie-banner,
  .modal-overlay,
  .modal-backdrop,
  .hero-scroll-indicator {
    display: none !important;
  }
  body { background: white; color: black; }
}

/* ── REDUCED MOTION ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-stagger,
  .reveal-item,
  .animate-fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
