/* ===========================
   GLOBAL – VisionOS Dark Glass
=========================== */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top, #1a1a1f, #0d0d10 60%);
  color: #e8e8e8;
}

/* ===========================
   HEADER – Dark Liquid Glass
=========================== */
.main-header {
  background: rgba(20, 20, 25, 0.55);
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 22px;
  margin: 12px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  position: sticky;
  top: 12px;
  z-index: 2000;
  border: 1px solid rgba(255,255,255,0.08);
}

.logo-img {
  height: 70px;
  width: auto;
  border-radius: 12px;
}

/* ===========================
   NAVIGATION
=========================== */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #9ecbff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 14px;
  transition: 0.2s;
}

.nav-links a:hover {
  background: rgba(158, 203, 255, 0.12);
  color: #cfe6ff;
}

/* ===========================
   BURGER BUTTON
=========================== */
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 14px;
  backdrop-filter: blur(20px);
  cursor: pointer;
  color: #cfe6ff;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  max-width: 1100px;
  margin: 0rem auto;
  padding: 2,5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #dfeaff;
}

.hero-text p {
  font-size: 1.2rem;
  color: #9ecbff;
}

.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, #007aff, #4da3ff);
  border-radius: 16px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,122,255,0.35);
  transition: 0.2s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* ===========================
   FILTERBAR – Dark Glass
=========================== */
.filter-bar {
  max-width: 1600px;
  margin: 2rem auto 1rem;
  padding: 1rem;
  background: rgba(20,20,25,0.55);
  border-radius: 22px;
  backdrop-filter: blur(30px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.08);

  position: relative;
  z-index: 2;

}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn,
.note-toggle-btn {
  padding: 0.5rem 1.3rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9ecbff;
  transition: 0.2s;
}

.note-toggle-btn {
  padding: 0.4rem 5.4rem;  /* breiter */
  margin-top: 1.2rem;      /* weiter nach unten */
  align-self: flex-start;  /* links ausrichten */
}

.filter-btn.active,
.filter-btn:hover,
.note-toggle-btn:hover {
  background: rgba(0,122,255,0.25);
  color: #dfeaff;
}

/* Abstand nur auf Produktseite */
body.produktseite .filter-bar {
  margin-top: 0px;
  margin-bottom: 20px;
}

/* ===========================
   PRODUKTKARTEN – VisionOS (korrigiert)
=========================== */
.product-card {
  background: rgba(20,20,25,0.55);
  padding: 0.5rem;
  border-radius: 24px;
  backdrop-filter: blur(30px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.03rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.25s;
  height: 100%;

  z-index: 1;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 0.1rem;

   z-index: 1;
}


.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);

   z-index: 1;
}



/* PRODUKT-GRID – getrennte Abstände */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Desktop */
  
  column-gap: 1rem; /* horizontaler Abstand */
  row-gap: 3rem;    /* vertikaler Abstand */

  width: 100%;
  max-width: 1600px;
  margin: 0 auto;

  z-index: 1;
}

@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobil */

    column-gap: 1rem; /* horizontal mobil */
    row-gap: 3rem;    /* vertikal mobil */
     z-index: 1;
  }
}



.product-btn {
  margin-top: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #007aff, #4da3ff);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,122,255,0.35);
  transition: 0.2s;
}

.product-btn:hover {
  transform: translateY(-2px);
}

/* ===========================
   NOTIZZETTEL – Apple Widget
=========================== */
.note-box {
  position: absolute;          /* bleibt fixiert */
  top: 100px;
  right: 30px;
  width: 260px;

  background: rgba(20,20,25,0.85);
  backdrop-filter: blur(30px);

  padding: 1rem;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);

  display: none;

  z-index: 999999 !important;   /* ← WICHTIG */
  isolation: isolate;           /* ← DER ENTSCHEIDENDE FIX */

  max-height: 350px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.08);
}


.note-item {
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.4rem;
}

.product-btn {
  margin-top: 1.2rem;        /* weiter nach unten */
  padding: 0.2rem 1rem;    /* breiter */
  align-self: flex-start;    /* linksbündig */

  border-radius: 16px;
  border: 1px;
  background: linear-gradient(135deg, #007aff, #4da3ff);
  color: #fff;
  cursor: pointer;
  font-size: 0,9rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,122,255,0.35);
  transition: 0.2s;
  width: 140px;
}

/* ===========================
   FOOTER
=========================== */
footer {
  text-align: center;
  padding: 2rem;
  color: #7a7a7a;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 800px) {

  .logo-img {
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(20,20,25,0.65);
    backdrop-filter: blur(30px);
    position: absolute;
    top: 95px;
    right: 12px;
    width: 220px;
    padding: 1rem;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links a {
    padding: 0.6rem 0;
  }

  .filter-bar {
    flex-direction: column;
    gap: 0rem;
  }
}
/* Globaler Seitenabstand – Apple VisionOS Style */
.page-padding {
  padding-left: 22px;
  padding-right: 22px;
}
/* Kontaktformular – VisionOS Glass */
.glass-panel {
  background: rgba(20,20,25,0.55);
  padding: 2rem;
  border-radius: 26px;
  backdrop-filter: blur(30px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 700px;
  margin: 2rem auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.8rem 1rem;
  border-radius: 16px;
  color: #dfeaff;
  font-size: 1rem;
  backdrop-filter: blur(20px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4da3ff;
  box-shadow: 0 0 0 3px rgba(77,163,255,0.25);
}
/* Hilfestellung unter dem Kontaktformular */
.help-box {
  margin-top: 2rem;
  padding: 1.8rem;
  background: rgba(20,20,25,0.55);
  border-radius: 22px;
  backdrop-filter: blur(30px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dfeaff;
}

.help-box h2 {
  margin-top: 0;
  color: #9ecbff;
}

.help-box ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
}

.help-box li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.material-visual {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.material-visual img {
  max-width: 520px;
  width: 100%;
  border-radius: 26px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}





.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  padding: 2rem 0;
  margin-top: 3rem;

  background: rgba(20,20,25,0.35);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255,255,255,0.08);
}

.footer-links a {
  color: #9ecbff;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #dfeaff;
}

/* ===========================
   LEGAL PAGES – VisionOS Glass
=========================== */

.legal-page {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 2.5rem;
  background: rgba(20,20,25,0.55);
  border-radius: 26px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  color: #dfeaff;
  line-height: 1.65;
}

.legal-page h1 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  color: #9ecbff;
  text-align: center;
}

.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: #cfe6ff;
}

.legal-page p {
  margin-bottom: 1rem;
  color: #e8e8e8;
}

.legal-page ul {
  margin-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: #9ecbff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.legal-page a:hover {
  color: #dfeaff;
}


/* Rahmen um die Kategorien */
.filter-buttons {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #ffffff38; /* gut sichtbar */
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
}

/* Vertikaler Abstand zwischen den Kacheln NUR auf der PLA-Seite */
body.Index-seite .content {
  margin-top: 0rem;
  margin-bottom: 2.5rem;
}



.hero-logo {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-logo img {
  width: 100%;
  max-width: 480px; /* Größe des Schriftzug-Bildes */
  height: auto;
  object-fit: contain;
}






  .notiz-und-info {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}



/* ===========================
   SCHWEBENDES FARBEN-MENÜ
=========================== */

.notiz-und-info {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
}

/* Farben-Menü Container */
.farben-popup {
  position: relative;
  z-index: 9999; /* über den Produkten */
}

/* Button wie Notiz */
.farben-popup summary {
  width: 140px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  padding: 0.4rem 1rem;
  cursor: pointer;
  color: #9ecbff;
  font-size: 0.9rem;
  font-weight: 600;

  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 1.2rem; /* gleiche Höhe wie Notiz */
}

.farben-popup summary::-webkit-details-marker {
  display: none;
}

.farben-popup summary::after {
  content: "▾";
  font-size: 1rem;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

.farben-popup details[open] summary::after {
  transform: rotate(-180deg);
}

/* SCHWEBENDES DROPDOWN */
.farben-content {
  position: absolute;
  top: 110%;
  left: 0;
  width: 140px;

  background: rgba(20,20,25,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(30px);
  padding: 0.8rem 1rem;
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);

  z-index: 1;
}

.farben-content p {
  margin: 0 0 0.4rem 0;
  font-size: 0.9rem;
  color: #dfeaff;
}

/* Produktgrid nach hinten */
.product-grid {
  position: relative;
  z-index: 1;
}

