/* style.css - Complete Design System & Layout */

:root {
  /* ── SPACING SYSTEM (Divisible by 4/8) ── */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 2rem;     /* 32px */
  --space-lg: 4rem;     /* 64px */
  --space-xl: 8rem;     /* 128px */
  --gap-section: clamp(4rem, 8vw, 8rem);

  /* ── TYPOGRAPHY SYSTEM ── */
  --font-main: 'Jost', sans-serif;
  --font-heading: 'Cormorant Garamond', serif;
}

/* ── BASE RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-main);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
.serif { font-family: var(--font-heading); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 300; line-height: 1.1; }

/* ── NAV & LANG TOGGLE ── */
nav { 
  position: fixed; top: 0; left: 0; right: 0; z-index: 999; 
  display: flex; align-items: center; justify-content: space-between; 
  padding: var(--space-sm) var(--space-md); 
  background: rgba(247,242,234,.92); backdrop-filter: blur(8px); 
  border-bottom: 1px solid transparent; transition: border-color .3s; 
}
nav.scrolled { border-color: var(--border-color); }

.nav-left { display: flex; align-items: center; }
.logo-img { max-height: 40px; display: block; }
.nav-logo { text-decoration: none; }
.logo-text { font-family: var(--font-heading); font-size: 1.5rem; color: var(--bg-dark); }
.logo-text span { color: var(--accent-primary); }

.nav-right { display: flex; align-items: center; gap: var(--space-md); }
.nav-links { display: flex; gap: var(--space-md); list-style: none; }

.nav-links a { 
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); text-decoration: none; 
  position: relative; transition: color 0.3s; padding-bottom: 0.2rem;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--accent-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--accent-primary); }
.nav-links a:hover::after { width: 100%; }

.lang-bar { display: flex; gap: var(--space-xs); border-left: 1px solid var(--border-color); padding-left: var(--space-md); }
.lang-btn { background: none; border: 1px solid var(--accent-secondary); color: var(--text-muted); font-family: var(--font-main); font-size: 0.75rem; padding: 0.3rem 0.6rem; cursor: pointer; transition: all .25s; }
.lang-btn.active, .lang-btn:hover { background: var(--text-muted); color: var(--text-inverse); border-color: var(--text-muted); }

/* ── BUTTON SYSTEM ── */
.btn-primary { 
  display: inline-flex; align-items: center; gap: var(--space-xs);
  background: var(--accent-primary); /* Changed to terracotta so it doesn't look pressed */
  color: var(--text-inverse); 
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; 
  padding: 1rem 2rem; border: none; cursor: pointer; 
  transition: background 0.3s, transform 0.2s ease; 
}
.btn-primary:hover { background: var(--bg-dark); transform: translateY(-2px); }

/* ── BUTTON SYSTEM ADDITIONS ── */
.btn-secondary {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  background: transparent; color: var(--bg-dark); 
  border: 1px solid var(--bg-dark);
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; 
  padding: 1rem 2rem; cursor: pointer; 
  transition: all 0.3s ease; 
}
.btn-secondary:hover { background: var(--bg-dark); color: var(--text-inverse); }


/*------------------------------------------------
/* ── HERO & SLIDESHOW (Full-Screen Editorial Layout) ── */

:root {
  --bg-hero: var(--bg-main); 
}

.hero-section {
  padding: 0; /* Removes the gap on the sides */
  width: 100vw;
  height: 100vh; /* Locks exact screen height */
  min-height: 600px;
  background-color: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

/* The Spinning Badge */
.hero-badge { 
  position: absolute; top: 6.5rem; right: 5%; 
  z-index: 50; /* Sits safely beneath the nav bar */
  width: 7rem; height: 7rem; background: var(--accent-primary); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  text-align: center; color: var(--text-inverse); animation: spin-slow 20s linear infinite; 
}

/* Static Header Floating OVER the Slideshow */
.hero-static-content {
  position: absolute;
  top: 15vh; /* Distance from top of screen */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 20;
  pointer-events: none; /* Allows clicks to pass through to the slides underneath */
}

.hero-static-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem); /* Scaled down slightly to fit beautifully */
  color: var(--bg-dark);
  margin-bottom: 0.2rem;
}

.hero-static-content h2 {
  font-size: clamp(1.2rem, 2vw, 2rem); 
  font-weight: 300;
  color: var(--accent-primary);
}

.hero-actions {
  display: flex; justify-content: center; gap: var(--space-sm);
  margin-top: var(--space-md);
  pointer-events: auto; /* Makes the buttons clickable again */
}

/* The Slideshow spans 100% of the screen */
.slideshow-wrapper {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
}

.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s;
  display: flex;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }

/* Text Container is pushed down to not overlap the floating header */
.slide-content {
  flex: 1;
  padding: 48vh var(--space-xl) var(--space-xl) var(--space-xl);
  display: flex; flex-direction: column; justify-content: flex-start;
}

.slide-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-secondary); margin-bottom: var(--space-sm);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--bg-dark); margin-bottom: var(--space-md); line-height: 1.3;
}

.slide-text {
  font-size: 1.1rem; color: var(--text-muted); max-width: 55ch; line-height: 2;
}

/* Image Container now spans the entire height! */
.slide-visual {
  flex: 1;
  height: 100%;
  background: var(--bg-secondary); 
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* ALTERNATING LAYOUT & TRANSPARENCY GRADIENTS */
.slide:nth-child(odd) { flex-direction: row; }
.slide:nth-child(odd) .slide-visual {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%);
}

.slide:nth-child(even) { flex-direction: row-reverse; }
.slide:nth-child(even) .slide-visual {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 20%);
  mask-image: linear-gradient(to left, transparent 0%, black 20%);
}

/* Wide Progress Bars */
.slide-controls {
  position: absolute; bottom: 2rem; left: 5%; width: 90%;
  display: flex; gap: 1rem; z-index: 30;
}

.bar {
  flex: 1; height: 4px; 
  background: rgba(0,0,0,0.1); 
  cursor: pointer; transition: background 0.3s ease;
}
.bar.active, .bar:hover { background: var(--accent-primary); }


/*---------------------------------------
/* ── 3. PRODUCTS (Flexbox Accordion Lookbook) ── */

.accordion-section {
  position: relative;
  width: 100vw;
  height: 100vh; /* Keeps it full screen */
  min-height: 800px;
  background: var(--bg-main);
  /* Added padding to clear the nav bar at the top, and leave space at the bottom */
  padding: calc(20px + var(--space-lg)) var(--space-lg) var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
}

/* Restored Headers (Sitting above the boxes normally) */
.products-header {
  margin-bottom: var(--space-md);
  z-index: 20;
}

.products-header .section-label { color: var(--accent-primary); }
.products-header .section-label::before { background: var(--accent-primary); }
.products-header .section-title { color: var(--bg-dark); text-shadow: none; }

/* Dark Overlay */
.accordion-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0; visibility: hidden; transition: opacity 0.5s ease;
  z-index: 5; pointer-events: none;
}
.accordion-wrapper.is-open ~ .accordion-overlay,
.accordion-section:has(.is-open) .accordion-overlay {
  opacity: 1; visibility: visible;
}

/* The Container */
.accordion-wrapper {
  position: relative; 
  flex: 1; /* This tells the boxes to fill whatever vertical space is left! */
  width: 100%; 
  display: flex; 
  z-index: 10;
  border-radius: 12px; /* Smoothly rounds the outer corners of the accordion */
  overflow: hidden;
}

/* The Container */
.accordion-wrapper {
  position: relative; width: 100%; height: 100%; display: flex; z-index: 10;
}

/* Individual Boxes */
.acc-item {
  flex: 1; height: 100%; position: relative; overflow: hidden; cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  background: var(--bg-dark);
}

/* Background Image & The Reversed Gradient Mask */
.acc-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-secondary);
  /* Strongest opacity on the left, fading out completely to the right */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.6s ease;
}

/* The class for your actual <img> files */
.acc-img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Stage 1 & 2: Preview Content */
.acc-preview {
  position: absolute; bottom: 0; left: 0; width: 100%;
  padding: var(--space-md); color: var(--text-inverse);
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.acc-number { font-family: var(--font-heading); font-size: 3rem; color: var(--accent-primary); margin-bottom: auto; opacity: 0.8; }
.acc-preview-content { opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
.acc-preview-content h3 { color: var(--text-inverse); font-size: 1.5rem; margin-bottom: 0.5rem; line-height: 1.2; }

/* HOVER EFFECTS */
.accordion-wrapper:not(.is-open) .acc-item:hover { flex: 2.5; }
.accordion-wrapper:not(.is-open) .acc-item:hover .acc-bg { transform: scale(1.05); }
.accordion-wrapper:not(.is-open) .acc-item:hover .acc-preview-content { opacity: 1; transform: translateY(0); }

/* --- OPEN/CLICKED EFFECTS --- */
.accordion-wrapper.is-open .acc-item { flex: 0.3; }
.accordion-wrapper.is-open .acc-item.active { 
  flex: 10; cursor: default; 
  background: var(--bg-dark); /* FIX: Keeps the dark background so the image fades beautifully! */
}

/* IMAGE PERSISTENCE WHEN ACTIVE */
.acc-item.active .acc-bg {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 40%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 40%);
}

.acc-item.active .acc-preview { opacity: 0; visibility: hidden; }

/* Full Content Layout */
.acc-full {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  padding: 10rem var(--space-lg) var(--space-lg) var(--space-lg);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease;
  display: flex; flex-direction: column;
}
.acc-item.active .acc-full { opacity: 1; visibility: visible; transition-delay: 0.4s; }

/* FIX: Changed color to --text-inverse so it is readable on the dark background */
.close-btn {
  display: inline-block; font-size: 2.5rem; color: var(--text-inverse);
  cursor: pointer; margin-bottom: var(--space-xl); transition: color 0.3s ease;
}
.close-btn:hover { color: var(--accent-primary); }

.acc-subcategories {
  display: flex; gap: var(--space-md); overflow-x: auto; padding-bottom: var(--space-md); margin-left: 20%; /* Pushes the cards to the right side, away from the image */
}
.sub-card {
  flex: 0 0 350px; background: rgba(255,255,255,0.85); backdrop-filter: blur(5px);
  padding: var(--space-md); border: 1px solid var(--border-color);
}
.sub-card h4 { color: var(--bg-dark); margin-bottom: var(--space-xs); font-family: var(--font-heading); font-size: 1.5rem; }
.sub-card p { color: var(--text-muted); line-height: 1.6;}

body.no-scroll { overflow: hidden; }
/*---------------------------------------
/* ── 4. B2B PARTNER SECTION ── */

.b2b-section {
  background: var(--bg-secondary);
  position: relative;
  z-index: 10;
}

.b2b-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
  margin-top: var(--space-xs);
}

/* The 5 Services Grid */
.b2b-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.b2b-service-card {
  background: var(--bg-main);
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-secondary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.b2b-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.b2b-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-primary);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.b2b-service-card h3 {
  font-size: 1.3rem;
  color: var(--bg-dark);
  margin-bottom: var(--space-sm);
}

.b2b-list {
  list-style: none;
  padding: 0;
}
.b2b-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.b2b-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* B2B Split Layout (Target Groups & Form) */
.b2b-contact-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Form takes up slightly more space */
  gap: var(--space-lg);
  align-items: start;
}

.b2b-target-groups h3 {
  font-size: 2rem;
  color: var(--bg-dark);
  margin-bottom: var(--space-md);
}

.target-group {
  margin-bottom: var(--space-md);
  border-left: 2px solid var(--accent-secondary);
  padding-left: var(--space-sm);
}
.target-group h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-primary);
  margin-bottom: 0.2rem;
}
.target-group p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* B2B Form Styling Enhancements */
.b2b-form-wrapper {
  background: var(--bg-main);
  padding: var(--space-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* Checkbox Grid inside the form */
.checkbox-group-wrapper {
  background: var(--bg-secondary);
  padding: var(--space-sm);
  border: 1px solid var(--border-color);
  margin-bottom: var(--space-sm); /* override default form-group gap */
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  accent-color: var(--accent-primary); /* Colors the checkbox tick */
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}




/*----------------------------------
/* ── 5. NACHHALTIGKEIT (Sustainability) ── */

.sus-section {
  background: var(--bg-tertiary); /* Brightest background for contrast */
  position: relative;
  z-index: 10;
}

/* Helper classes to center the section header perfectly */
.text-center { text-align: center; }
.justify-center { justify-content: center; }

.sus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.sus-card {
  background: var(--bg-main);
  padding: var(--space-md); /* CHANGED: Reduced this to remove the empty space at the top */
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* The elegant floating effect */
.sus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border-color: var(--accent-secondary);
}

.sus-icon {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-secondary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.sus-card h3 {
  font-size: 1.6rem;
  color: var(--bg-dark);
  margin-bottom: var(--space-xs);
}

.sus-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-color);
}

.sus-list {
  list-style: none;
  padding: 0;
  flex-grow: 1; /* Pushes the highlight box to the very bottom */
}

.sus-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Delicate dot instead of a heavy checkmark */
.sus-list li::before {
  content: '•';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-primary);
  font-size: 1.2rem;
  line-height: 1.4;
}

.sus-highlight {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-primary);
  font-size: 0.85rem;
  color: var(--bg-dark);
}
.sus-highlight strong {
  color: var(--accent-primary);
}


/*----------------------------------
/* ── TAGLINE MARQUEE ── */
.tagline-band { background: var(--text-muted); color: var(--text-inverse); padding: 1.2rem 0; overflow: hidden; white-space: nowrap; }
.tagline-track { display: inline-flex; gap: 3rem; animation: marquee 30s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tagline-item { font-family: var(--font-heading); font-style: italic; font-size: 1.05rem; }
.tagline-dot { color: var(--accent-secondary); }

/* ── SECTIONS BASE ── */
section { padding: var(--gap-section) clamp(2rem, 6vw, 6rem); }
.section-label { font-size: .68rem; text-transform: uppercase; color: var(--accent-primary); margin-bottom: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.section-label::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--accent-primary); }
/* Adds the symmetrical line on the right side ONLY when the label is centered */
.section-label.justify-center::after { 
  content: ''; 
  display: block; 
  width: 2rem; 
  height: 1px; 
  background: var(--accent-primary); 
}
.section-title { font-size: clamp(2rem, 4vw, 3.4rem); color: var(--bg-dark); margin-bottom: 1rem; }

/* ── ABOUT ── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; background: var(--bg-tertiary); }
.about-text p { line-height: 1.85; color: var(--text-muted); margin-bottom: 1.2rem; font-size: .95rem; }


/* ── VALUES ("Was uns antreibt") ── */
.values { background: var(--bg-dark); color: var(--text-inverse); }
.values .section-label { color: var(--accent-secondary); }
.values .section-label::before { background: var(--accent-secondary); }
.values .section-title { color: var(--bg-secondary); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
.value-item { border-top: 1px solid var(--border-color); padding-top: 1.8rem; }
.value-num { font-family: var(--font-heading); font-size: 4rem; color: var(--accent-primary); opacity: .5; line-height: 1; margin-bottom: .8rem; }
.value-title { font-family: var(--font-heading); font-size: 1.5rem; color: var(--bg-secondary); margin-bottom: .8rem; }
.value-text { font-size: .88rem; line-height: 1.8; color: var(--text-light); }

/* ── CONTACT ── */
.contact { background: var(--bg-secondary); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info p { font-size: .95rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 1.2rem; }
.contact-detail { display: flex; align-items: center; gap: .8rem; margin-bottom: .8rem; font-size: .88rem; color: var(--text-muted); }
.contact-detail strong { font-weight: 500; color: var(--bg-dark); min-width: 5rem; font-size: .72rem; text-transform: uppercase; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label { font-size: .68rem; text-transform: uppercase; color: var(--text-muted); }
.form-input, .form-textarea { background: var(--bg-main); border: 1px solid var(--border-color); padding: .85rem 1rem; font-family: var(--font-main); font-size: .9rem; color: var(--text-main); outline: none; transition: border-color .2s; }
.form-input:focus, .form-textarea:focus { border-color: var(--accent-secondary); }
.form-textarea { min-height: 7rem; resize: none; }

/* ── FOOTER ── */
footer { background: var(--text-main); padding: 2.5rem clamp(2rem, 6vw, 6rem); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-inverse); }
.footer-logo span { color: var(--accent-primary); }
footer p { font-size: .75rem; color: var(--text-light); }
.footer-tagline { font-family: var(--font-heading); font-style: italic; font-size: .95rem; color: var(--text-light); }

/* ── FADE IN ANIMATION ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE / MOBILE ── */
@media (max-width: 900px) {
  /* Stack the hero section vertically */
  .hero { grid-template-columns: 1fr; }
  /* Give the empty image area a minimum height so the badge doesn't vanish */
  .hero-visual { min-height: 50vw; }
  /* Show 2 products per row instead of 4 */
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Now the menu only hides on smaller phone screens, not tablets */
  .nav-right { display: none; /* We will build a mobile menu later! */ }
}

@media (max-width: 500px) {
  /* Show 1 product per row on tiny screens */
  .products-grid { grid-template-columns: 1fr; }
}

/* ── LANG VISIBILITY (Trilingual Setup) ── */
/* Hide PT and EN by default (DE is the default view) */
body:not(.lang-pt):not(.lang-en) [data-lang="pt"],
body:not(.lang-pt):not(.lang-en) [data-lang="en"] { 
  display: none !important; 
}

/* If PT is active, hide DE and EN */
body.lang-pt [data-lang="de"],
body.lang-pt [data-lang="en"] { 
  display: none !important; 
}

/* If EN is active, hide DE and PT */
body.lang-en [data-lang="de"],
body.lang-en [data-lang="pt"] { 
  display: none !important; 
}