/* Globale Stile & Resets */
:root {
  /* Farben: Inspiriert von Jotun & skandinavischem Design */
  --primary-color: #2F4F4F; /* Ein sattes, dunkles Marineblau/Grün für Akzente (z.B. ANZA Logo?) */
  --secondary-color: #AA6E51; /* Ein warmes Terrakotta als sekundärer Akzent (Jotun Farbton) */
  --accent-light: #233428; /* Sanftes Salbeigrün als dezenter Hintergrund oder für Icons */
  --text-dark: #333333; /* Dunkler Text für gute Lesbarkeit */
  --text-medium: #666666; /* Mittlerer Text für Subtexte */
  --bg-light: #F8F8F8; /* Sehr helles Grau für Sektionen */
  --white: #FFFFFF; /* Reines Weiß */
  --border-light: #E0E0E0; /* Dezente Grenzlinien */
  
  /* Typografie: Poppins für Überschriften, Open Sans für Fließtext */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Abstände & Rundungen */
  --spacing-lg: 80px;
  --spacing-md: 40px;
  --spacing-sm: 20px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
}



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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7; /* Etwas mehr Zeilenabstand für bessere Lesbarkeit */
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; /* Für glattere Schriften */
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Allgemeine Überschriften */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 0.7em;
  line-height: 1.2;
  font-weight: 600; /* Standardmäßig etwas kräftiger */
}

h1 { font-size: 3.8em; text-align: center; font-weight: 700; }
h2 { font-size: 2.8em; text-align: center; margin-top: 1.8em; margin-bottom: 1em; font-weight: 600; }
h3 { font-size: 1.9em; font-weight: 500; }

/* Links & Buttons */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px); /* Leichter Anhebe-Effekt */
}

.btn {
  display: inline-block;
  padding: 14px 30px; /* Etwas größere Buttons */
  border-radius: var(--border-radius-sm);
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  letter-spacing: 0.05em; /* Leichter Buchstabenabstand */
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(47, 79, 79, 0.2); /* Schatten passend zur Farbe */
}

.btn-primary:hover {
  background-color: #264040; /* Manuell abgedunkelter Wert von --primary-color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(47, 79, 79, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(47, 79, 79, 0.2);
}

.btn-shop-now {
  background-color: var(--secondary-color); /* ANZA-Rot oder warmer Ton */
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 3px 10px rgba(170, 110, 81, 0.2);
  /* Sicherstellen, dass er rechts neben der Nav ist */
  margin-left: 35px; /* Gleicher Abstand wie Nav-Items */
  display: inline-block; /* Für Desktop-Ansicht */
}
.btn-shop-now:hover {
  background-color: #945f47; /* Manuell abgedunkelter Wert von --secondary-color */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(170, 110, 81, 0.3);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* HEADER SECTION */
.main-header {
  background-color: var(--white);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* Etwas stärkerer Schatten */
}

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

.logo img {
  height: 45px; /* Leicht vergrößertes Logo */
}

.main-nav ul {
  list-style: none;
  display: flex;
}

/* NEUE STILE FÜR OPTION 2: NAVIGATION MIT TRENNLINIEN */
.main-nav ul li {
  margin-left: 0; /* Setzen wir auf 0, um den Abstand mit Padding und Border zu steuern */
  border-right: 1px solid var(--border-light); /* Vertikale Trennlinie rechts */
}

.main-nav ul li:last-child {
  border-right: none; /* Keine Linie nach dem letzten Element */
}

.main-nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 20px; /* Mehr horizontaler Padding für Abstand */
  position: relative;
  font-size: 1.05em;
  display: block; /* Wichtig, damit Padding und Border gut funktionieren */
}

.main-nav ul li a:hover {
  color: var(--primary-color);
}
/* Die Unterstreichung beim Hover ist hier immer noch sinnvoll */
.main-nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px; /* Kräftigere Unterstreichung */
  background: var(--primary-color);
  left: 0;
  bottom: -8px; /* Etwas tiefer */
  transition: width .3s ease-in-out;
}
.main-nav ul li a:hover::after {
  width: 100%;
}
/* ENDE NEUE STILE FÜR OPTION 2 */


/* Anpassungen für Ecwid Warenkorb-Symbol im Header */
.main-header .ec-minicart,
.main-header .ec-minicart__icon {
  /* Diese Regel sorgt dafür, dass das Warenkorb-Icon mittig in der Navigation ausgerichtet wird */
  vertical-align: middle;
}

/* Abstand für den Warenkorb in der Desktop-Navigation */
.main-nav .ec-minicart {
  margin-left: 20px; /* Fügt Abstand zum letzten Nav-Element hinzu */
  padding-left: 20px; /* Fügt den Trennlinien-Abstand hinzu */
  border-left: 1px solid var(--border-light); /* Fügt die linke Trennlinie hinzu */
  
  /* Stellt sicher, dass das Symbol responsive ist */
  display: inline-flex; 
  align-items: center;
  justify-content: center;
}

/* Hamburger Menü-Styles */
.hamburger-menu {
  display: none; /* Standardmäßig ausgeblendet für Desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1002; /* Über dem Overlay */
  position: relative; /* Für die Linien-Transformation */
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Zustand "open" des Hamburgers */
.hamburger-menu.open span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}
.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98); /* Leicht transparenter, heller Hintergrund */
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%); /* Startet außerhalb des Bildschirms */
  transition: transform 0.4s ease-in-out;
  padding: var(--spacing-md);
  text-align: center;
  pointer-events: none;
}
.mobile-nav-overlay.open {
  transform: translateX(0); /* Fährt ins Bild */
  pointer-events: auto; /* Klicks erlauben */
}
.mobile-nav-overlay ul {
  list-style: none;
  padding: 0;
  width: 100%;
}
.mobile-nav-overlay ul li {
  margin-bottom: var(--spacing-sm);
}
.mobile-nav-overlay ul li a {
  color: var(--primary-color);
  font-size: 1.8em; /* Größer für mobile Ansicht */
  font-weight: 600;
  display: block;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.3s ease;
}
.mobile-nav-overlay ul li a:hover {
  border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 70vh; /* Etwas niedriger für mehr Sichtbarkeit */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Bild etwas abdunkeln für bessere Lesbarkeit */
}
.hero-content {
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  max-width: 800px;
  padding: var(--spacing-md);
  animation: fadeIn 1s ease-in-out;
}

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

.hero-content h1 {
  font-size: 3.5em; /* Etwas kleiner für besseren Lesefluss */
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: var(--white);
  text-align: center; /* Zentrieren, falls es noch nicht ist */
}

.hero-content p {
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 1.5em;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap; /* Zeilenumbruch auf Mobilgeräten */
}
.hero-ctas .btn {
  margin-top: var(--spacing-sm);
}

/* Features Section */
.features-section {
  padding: var(--spacing-lg) 0;
  background-color: var(--bg-light);
  text-align: center;
}

.features-section h2 {
  margin-bottom: var(--spacing-md);
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--nc-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nc-shadow-hover);
}

.feature-card i {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}
.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
}
.feature-card p {
  font-size: 0.9em;
  color: var(--text-medium);
}

/* New: Jotun Colors Section Styles */
.colors-section {
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.color-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.color-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.color-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.color-card-content {
  padding: var(--spacing-sm);
}

.color-card-content h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: var(--primary-color);
}

.color-card-content p {
  font-size: 0.9em;
  color: var(--text-medium);
}

/* NEW: ANZA Section */
.anza-section {
  padding: var(--spacing-lg) 0;
  background-color: var(--bg-light);
  text-align: center;
}
.anza-section img {
  max-width: 150px;
  margin-bottom: var(--spacing-sm);
}

/* Contact Section */
.contact-section {
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.contact-section .contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--spacing-md);
}

.contact-section .contact-info p {
  margin: 0;
  font-size: 1.1em;
}

/* Footer Section */
.main-footer {
  background-color: #a6b5b5; /* Jotun Primary */
  color: var(--white);
  padding: var(--spacing-md) 0;
  font-size: 0.9em;
}

.main-footer a {
  color: var(--accent-light);
}

.main-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.social-media-icons {
  margin-top: 10px;
}

.social-media-icons img {
  width: 30px;
  height: 30px;
  margin: 0 5px;
  filter: brightness(0) invert(1);
}
.payment-methods {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.payment-methods img {
  height: 25px;
}

.footer-bottom {
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
}

/* Media Queries für Responsivität */
@media (min-width: 993px) {
  .main-nav {
    display: block !important;
  }
  .hamburger-menu {
    display: none;
  }
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
  .hero-content h1 {
    font-size: 2.5em;
  }
  .hero-content p {
    font-size: 1em;
  }
  .feature-cards-grid {
    gap: var(--spacing-sm);
  }
  .footer-top {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.8em; }
  h2 { font-size: 2em; }
  h3 { font-size: 1.5em; }
  .btn-large {
    padding: 15px 30px;
    font-size: 1em;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .footer-nav ul {
    flex-direction: column;
  }
}

/* Allg. Utility Klassen */
.text-center { text-align: center; }
.img-fluid { display: block; width: 100%; height: auto; }
/* Zusätzlicher Shop Intro-Text Stil */
.embedded-shop .shop-intro-text{
  text-align: center;
  padding-bottom: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.embedded-shop .shop-title {
  font-size: 3.2em;
}
.embedded-shop .shop-sub {
  font-size: 1.2em;
}
/* Versteckt den Facebook-Link, falls er durch ein Skript wieder hinzugefügt wird */


/* Stile für den schwebenden Warenkorb-Button */
.floating-cart-button {
  display: none; /* Standardmäßig auf Desktop ausblenden */
}

@media (max-width: 992px) {
  /* Auf Mobilgeräten anzeigen und positionieren */
  .floating-cart-button {
    display: block; /* Auf Bildschirmen unter 992px anzeigen */
    position: fixed; /* An einer festen Position im Viewport halten */
    bottom: 25px; /* Abstand vom unteren Rand */
    right: 25px; /* Abstand vom rechten Rand */
    z-index: 10000; /* Sehr hohe Zahl, um über allen anderen Elementen zu liegen */
    padding: 12px 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 15px rgba(170, 110, 81, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .floating-cart-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(170, 110, 81, 0.5);
  }
}

/* Neu: Einfache Animation für Sektionen beim Scrollen */
.animated-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animated-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Produkte ===== */
.products-section {
  padding: 80px 0;
  background: var(--nc-bg);
}
.products-section h2 {
  text-align: center;
  margin-bottom: 10px;
}
.products-subtitle {
  text-align: center;
  color: var(--nc-muted);
  margin-bottom: 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
}

.product-card {
  background: var(--nc-card);
  border-radius: var(--nc-radius);
  box-shadow: var(--nc-shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nc-shadow-hover);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef3f8;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--nc-brand);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: .3px;
}
.product-badge-alt {
  background: var(--nc-brand-600);
}

.product-body {
  padding: 20px;
}
.product-title {
  margin: 0 0 6px 0;
  font-size: 20px;
}
.product-desc {
  color: var(--nc-muted);
  margin: 0 0 12px 0;
}
.product-bullets {
  margin: 0 0 18px 20px;
  color: var(--nc-text);
  line-height: 1.5;
}
.product-bullets li { margin-bottom: 6px; }

.product-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--nc-text);
}
.products-more {
  margin-top: 28px;
  text-align: center;
}

/* Buttons (falls noch nicht vorhanden) */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity .15s ease, transform .15s ease;
}
.btn-primary {
  background: var(--nc-brand);
  color: #fff;
}
.btn-secondary {
  background: #e9eef5;
  color: var(--nc-brand-600);
}
.btn-large { padding: 14px 18px; }
.btn:hover { opacity: .9; transform: translateY(-1px); }

.social-media-icons a {
  color: var(--white); /* Grundfarbe */
  margin: 0 8px;
  transition: color 0.3s ease;
}
.social-media-icons a:hover[aria-label="Facebook"] {
  color: #1877F2; /* Facebook Blau */
}
.social-media-icons a:hover[aria-label="Instagram"] {
  color: #E1306C; /* Instagram Pink */
}
.heroCta {
  margin: var(--spacing-md) 0;
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.kontakt-section {
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.contact-card {
  background: rgba(255,255,255,0.15); /* gläserner Effekt */
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--nc-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nc-shadow-hover);
}

.contact-card .lead {
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: .5em;
  display: flex;
  align-items: center;
  gap: .4em;
}

.contact-card p {
  margin-bottom: .5em;
  color: var(--text-medium);
}

.contact-meta {
  font-size: 0.95em;
  color: var(--primary-color);
  font-weight: 600;
}
