/* ===== FIXED COLOR PALETTE ===== */
:root {
  --c1: hsl(355, 75%, 65%);  /* rot      */
  --c2: hsl(28,  80%, 62%);  /* orange   */
  --c3: hsl(52,  78%, 60%);  /* gelb     */
  --c4: hsl(142, 55%, 58%);  /* grün     */
  --c5: hsl(198, 75%, 62%);  /* blau     */
  --c6: hsl(258, 65%, 68%);  /* violett  */
  --c7: hsl(315, 65%, 65%);  /* pink     */
  --c8: hsl(175, 65%, 57%);  /* türkis   */
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 1.5vw, 18px);
  overscroll-behavior-y: contain;
  overscroll-behavior-x: auto;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: clip;
  overscroll-behavior-y: contain;
  overscroll-behavior-x: auto;
  background: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: -3rem;
  z-index: 1200;
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ===== NAVIGATION ===== */
nav {
  position: relative;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.9rem, 2vw, 1.25rem) clamp(1.5rem, 5vw, 4rem);
  background: transparent;
}

.nav-logo {
  font-size: clamp(calc(1.1rem + 10px), calc(2.2vw + 10px), calc(1.5rem + 10px));
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background-image: linear-gradient(
    90deg,
    #3d3d42 0%,
    #7a7a82 18%,
    #ededf2 24%,
    #7a7a82 30%,
    #3d3d42 50%,
    #3d3d42 50%,
    #7a7a82 70%,
    #ededf2 76%,
    #7a7a82 82%,
    #3d3d42 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: navLogoSweep 4.5s linear infinite;
}

@keyframes navLogoSweep {
  0%   { background-position: 200% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo { animation: none; background-position: 75% 50%; }
}

.nav-logo span {
  -webkit-text-fill-color: transparent;
  transition: -webkit-text-fill-color 0.35s ease;
}

.nav-logo:hover span:nth-child(1) { -webkit-text-fill-color: var(--c2); }
.nav-logo:hover span:nth-child(2) { -webkit-text-fill-color: var(--c3); }
.nav-logo:hover span:nth-child(3) { -webkit-text-fill-color: var(--c4); }
.nav-logo:hover span:nth-child(4) { -webkit-text-fill-color: var(--c5); }
.nav-logo:hover span:nth-child(5) { -webkit-text-fill-color: var(--c6); }
.nav-logo:hover span:nth-child(6) { -webkit-text-fill-color: var(--c7); }

.index-link-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.35rem, 0.8vw, 0.7rem);
  margin-top: calc(clamp(0.6rem, 1.6vh, 1rem) + 3.125rem);
}

.index-link-list a {
  --flash-color: #fff;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: calc(clamp(0.74rem, 1vw, 0.92rem) + 0.3125rem);
  font-weight: 500;
  letter-spacing: 0.07em;
  transition: color 0.45s ease;
}

.index-link-list a:hover,
.index-link-list a:focus-visible {
  color: #fff;
}


.index-link-list a:nth-child(1) { --flash-color: var(--c2); }
.index-link-list a:nth-child(2) { --flash-color: var(--c3); }
.index-link-list a:nth-child(3) { --flash-color: var(--c4); }
.index-link-list a:nth-child(4) { --flash-color: var(--c5); }
.index-link-list a:nth-child(5) { --flash-color: var(--c6); }
.index-link-list a:nth-child(6) { --flash-color: var(--c7); }

.index-link-list a:nth-child(1):hover,
.index-link-list a:nth-child(1):focus-visible { color: var(--c2); }
.index-link-list a:nth-child(2):hover,
.index-link-list a:nth-child(2):focus-visible { color: var(--c3); }
.index-link-list a:nth-child(3):hover,
.index-link-list a:nth-child(3):focus-visible { color: var(--c4); }
.index-link-list a:nth-child(4):hover,
.index-link-list a:nth-child(4):focus-visible { color: var(--c5); }
.index-link-list a:nth-child(5):hover,
.index-link-list a:nth-child(5):focus-visible { color: var(--c6); }
.index-link-list a:nth-child(6):hover,
.index-link-list a:nth-child(6):focus-visible { color: var(--c7); }

.index-nav-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: clamp(0.68rem, 1.05vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 48rem) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.3rem;
    color: #fff;
  }
}

/* ===== INDEX-SPECIFIC ===== */
body.index {
  min-height: 100vh;
}

/* Nav über dem Hero wie früher, scrollt aber mit diesem Block mit (nicht viewport-fixed) */
.index-hero-anchor {
  position: relative;
  isolation: isolate;
}

body.index .index-hero-anchor > nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.index-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
}

.index-hero-parallax {
  position: relative;
  max-width: clamp(14.4rem, 43.2vw, 36rem);
  transform: translateY(-50px);
}

.index-hero-bg {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 14rem);
  display: block;
  will-change: transform;
}

.index-hero-tube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
}

@keyframes hero-bg-parallax {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(80px) scale(1.09); }
}
@keyframes hero-tube-parallax {
  from { transform: translateY(0); }
  to   { transform: translateY(-40px); }
}
@supports (animation-timeline: scroll()) {
  .index-hero-bg {
    animation: hero-bg-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 100svh;
  }
  .index-hero-tube {
    animation: hero-tube-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 100svh;
  }
}

@media (max-width: 48rem) {
  .index-link-list {
    margin-top: calc(clamp(0.45rem, 1.4vh, 0.85rem) + 3.125rem);
    gap: clamp(0.45rem, 1.8vw, 0.75rem);
  }
  .index-link-list a {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }
  .index-hero-parallax {
    max-width: clamp(21.8rem, 96.8vw, 29rem);
    max-height: calc(100vh - 10rem);
  }
  .index-hero-bg {
    max-height: calc(100vh - 10rem);
  }
}

@media (min-width: 48rem) and (max-width: 75rem) {
  .index-link-list {
    gap: clamp(0.4rem, 1.2vw, 0.65rem);
  }
  .index-link-list a {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
  }
  .index-hero-parallax {
    max-width: clamp(24rem, 58vw, 32rem);
  }
  .index-hero-bg {
    max-height: calc(100vh - 14rem);
  }
}


/* ===== FOOTER ===== */
footer {
  background: transparent;
  border-top: 1px solid color-mix(in srgb, var(--c5) 70%, transparent);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}


footer p {
  margin: 0;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== HOME SECTIONS ===== */
.home-section {
  max-width: 90rem;
  margin-inline: auto;
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-inline: clamp(1.5rem, 8vw, 6rem);
  scroll-margin-top: clamp(2rem, 4vw, 3.5rem);
}

.home-section > h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(0.8rem, 1.5vw, 1.2rem);
  line-height: 1.05;
  color: #fff;
}

.home-section > h3 {
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: 600;
  color: #fff;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0.9rem;
  letter-spacing: -0.01em;
}

.home-section > p {
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 66ch;
  margin: 0 0 1.5rem;
}

#produkte   .accent-line { background: var(--c3); }
#workflow   .accent-line { background: var(--c2); }
#philosophie .accent-line { background: var(--c4); }
#ueber-uns  .accent-line { background: var(--c5); }

@media (max-width: 48rem) {
  .home-section > h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .home-section > h3 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .home-section > p {
    font-size: 1rem;
    line-height: 1.75;
  }
}

/* ===== SUBPAGE CONTENT ===== */
.page-content {
  max-width: 90rem;
  margin-inline: auto;
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-inline: clamp(1.5rem, 8vw, 6rem);
  min-height: 100vh;
}

.page-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(0.8rem, 1.5vw, 1.2rem);
  line-height: 1.05;
  color: #fff;
}

.accent-line {
  width: clamp(2.5rem, 5vw, 4.5rem);
  height: 2px;
  background: hsl(198, 75%, 62%);
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.page-content p {
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  max-width: 66ch;
  margin: 0 0 1.5rem;
}

.page-content h2 {
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  font-weight: 600;
  color: #fff;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0.9rem;
  letter-spacing: -0.01em;
}

/* ===== PRODUCT DETAIL: AQUARELL FLOATING PIGMENTS ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "heading"
    "image"
    "copy";
  align-items: start;
  gap: clamp(1.2rem, 1.5rem + 2vw, 2.5rem);
}

.detail-heading {
  grid-area: heading;
  min-width: 0;
}

.detail-layout .accent-line {
  margin-bottom: 0;
}

.detail-copy {
  grid-area: copy;
  min-width: 0;
}

.floating-pigments {
  grid-area: image;
  position: relative;
  width: min(100%, clamp(18rem, 38vw, 36rem));
  justify-self: center;
  align-self: start;
}

.floating-pigments--sm {
  width: min(100%, clamp(12.6rem, 26.6vw, 25.2rem));
}

.pigment-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: clamp(0.4rem, 0.2rem + 0.8vw, 1rem);
}

@media (min-width: 62rem) {
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(clamp(14rem, 24vw, 18rem), clamp(18rem, 30vw, 28rem));
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "heading image"
      "copy image";
    gap: 0 clamp(2.8rem, 4vw, 5rem);
  }

  .detail-layout:has(.floating-pigments--sm) {
    grid-template-columns: minmax(0, 1fr) minmax(clamp(9.8rem, 16.8vw, 12.6rem), clamp(12.6rem, 21vw, 19.6rem));
  }

  .detail-layout .accent-line {
    margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
  }

  .floating-pigments {
    justify-self: end;
    align-self: start;
    margin-top: clamp(0.2rem, 0.1rem + 0.6vw, 0.8rem);
  }
}

/* ===== PROCESS STEPS (was-wir-tun) ===== */
.process-steps {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.process-step {
  display: grid;
  grid-template-columns: clamp(2rem, 4vw, 3.5rem) 1fr;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.step-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: hsl(198, 75%, 62%);
  line-height: 1;
  opacity: 0.3;
  padding-top: 0.1em;
  transition: opacity 0.3s ease;
}

@keyframes stepGlow {
  0%   { opacity: 0.3; text-shadow: none; }
  40%  { opacity: 1;   text-shadow: 0 0 0.8rem currentColor, 0 0 1.8rem currentColor; }
  100% { opacity: 0.85; text-shadow: none; }
}

.step-number--active {
  animation: stepGlow 0.75s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .step-number--active {
    animation: none;
    opacity: 0.85;
  }
}

.step-content h3 {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.55rem;
}

.step-content p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
}

/* ===== PRODUCTS GRID ===== */
.products-intro {
  max-width: 66ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}

@media (min-width: 48rem) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  --item-color: rgba(255, 255, 255, 0.35);
  border: 1px solid transparent;
  border-radius: 5px;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.product-card-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.product-card:hover {
  border-color: rgba(127, 255, 127, 0.4);
  background: rgba(127, 255, 127, 0.025);
}

@keyframes productCardFlash {
  0%   { border-color: #1a1a1a; box-shadow: none; }
  40%  { border-color: rgba(255, 255, 255, 0.95); box-shadow: 0 0 0.7rem rgba(255, 255, 255, 0.3); }
  100% { border-color: rgba(127, 255, 127, 0.4); box-shadow: none; }
}

.product-card--flash {
  animation: productCardFlash 0.24s ease-out;
}

.product-tag {
  display: inline-block;
  border: 1px solid rgba(127, 255, 127, 0.4);
  color: hsl(198, 75%, 62%);
  font-size: clamp(0.52rem, 0.85vw, 0.65rem);
  padding: 0.18rem 0.55rem;
  border-radius: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.product-card h3 {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.65rem;
}

.product-card p {
  font-size: clamp(0.78rem, 1.25vw, 0.92rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
  margin: 0;
  line-height: 1.75;
}

.p-produkte .page-content > p:last-of-type a,
.p-produkte .detail-copy > p:last-of-type a {
  color: #fff;
}

.p-produkte .page-content > p:last-of-type a:hover,
.p-produkte .page-content > p:last-of-type a:focus-visible,
.p-produkte .detail-copy > p:last-of-type a:hover,
.p-produkte .detail-copy > p:last-of-type a:focus-visible {
  color: #fff;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: clamp(3rem, 7vw, 6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-size: clamp(0.6rem, 0.95vw, 0.72rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid #1e1e1e;
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.82rem, 1.3vw, 0.92rem);
  transition: border-color 0.3s ease;
  resize: vertical;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: hsl(198, 75%, 62%);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #2a2a2a;
}

.form-group textarea {
  min-height: 150px;
}

.btn-submit {
  background: transparent;
  border: 1px solid hsl(198, 75%, 62%);
  color: hsl(198, 75%, 62%);
  padding: 0.78rem 2.4rem;
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 0.75rem;
  display: inline-block;
}

.btn-submit:hover {
  background: hsl(198, 75%, 62%);
  color: #000;
}

.address-block h3 {
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1.5rem;
}

.address-block p {
  max-width: none;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.82rem, 1.3vw, 0.92rem);
  line-height: 1.75;
}

.address-block a {
  color: hsl(198, 75%, 62%);
  text-decoration: none;
  transition: opacity 0.3s;
}

.address-block a:hover {
  opacity: 0.7;
}

/* ===== PHILOSOPHY ===== */
.philosophy-intro {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.philosophy-item {
  --item-color: hsl(198, 75%, 62%);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);
  border-left: 2px solid transparent;
}

@keyframes philoBorderGlow {
  0%   { border-left-color: transparent; }
  40%  { border-left-color: var(--item-color); opacity: 1; }
  100% { border-left-color: var(--item-color); }
}

.philosophy-item--active {
  animation: philoBorderGlow 0.75s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .philosophy-item--active {
    animation: none;
    border-left-color: var(--item-color);
  }
}

.philosophy-item h3 {
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}

.philosophy-item p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.8rem, 1.25vw, 0.92rem);
  line-height: 1.8;
}

/* ===== PAGE-SPECIFIC ACCENT COLORS ===== */
.p-ueber-uns   .accent-line { background: var(--c5); }
.p-was-wir-tun .accent-line { background: var(--c2); }
.p-produkte    .accent-line { background: var(--c3); }
.p-kontakt     .accent-line { background: var(--c7); }
.p-philosophie .accent-line { background: var(--c4); }
.p-impressum   .accent-line { background: var(--c1); }
.p-datenschutz .accent-line { background: var(--c6); }

/* Step numbers — each a different color */
.process-step:nth-child(1) .step-number { color: var(--c2); }
.process-step:nth-child(2) .step-number { color: var(--c3); }
.process-step:nth-child(3) .step-number { color: var(--c5); }
.process-step:nth-child(4) .step-number { color: var(--c7); }
.process-step:nth-child(5) .step-number { color: var(--c8); }

/* Philosophy borders — each a different color */
.philosophy-item:nth-child(1) { --item-color: var(--c1); }
.philosophy-item:nth-child(2) { --item-color: var(--c2); }
.philosophy-item:nth-child(3) { --item-color: var(--c5); }
.philosophy-item:nth-child(4) { --item-color: var(--c3); }
.philosophy-item:nth-child(5) { --item-color: var(--c7); }
.philosophy-item:nth-child(6) { --item-color: var(--c8); }

/* Product tags & hover border — each a different color */
.product-card:nth-child(1) { --item-color: var(--c1); }
.product-card:nth-child(2) { --item-color: var(--c2); }
.product-card:nth-child(3) { --item-color: var(--c3); }
.product-card:nth-child(4) { --item-color: var(--c5); }
.product-card:nth-child(5) { --item-color: var(--c6); }
.product-card:nth-child(6) { --item-color: var(--c7); }

.product-card:nth-child(1) .product-tag,
.product-card:nth-child(1):hover { color: var(--c1); border-color: var(--c1); }
.product-card:nth-child(2) .product-tag,
.product-card:nth-child(2):hover { color: var(--c2); border-color: var(--c2); }
.product-card:nth-child(3) .product-tag,
.product-card:nth-child(3):hover { color: var(--c3); border-color: var(--c3); }
.product-card:nth-child(4) .product-tag,
.product-card:nth-child(4):hover { color: var(--c5); border-color: var(--c5); }
.product-card:nth-child(5) .product-tag,
.product-card:nth-child(5):hover { color: var(--c6); border-color: var(--c6); }
.product-card:nth-child(6) .product-tag,
.product-card:nth-child(6):hover { color: var(--c7); border-color: var(--c7); }

@keyframes productBorderGlow {
  0%   { border-color: transparent;      box-shadow: none; }
  40%  { border-color: var(--item-color); box-shadow: 0 0 0.9rem -0.1rem var(--item-color); }
  100% { border-color: rgba(255, 255, 255, 0.35); box-shadow: none; }
}

.product-card--glow {
  animation: productBorderGlow 1.6s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .product-card--glow {
    animation: none;
    border-color: rgba(255, 255, 255, 0.35);
  }
}

/* ===== LEGAL PAGES ===== */
.legal-content h2 {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  margin: clamp(2rem, 3.5vw, 2.8rem) 0 0.7rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 68ch;
}

.legal-content p a {
  color: hsl(198, 75%, 62%);
  text-decoration: none;
}

.legal-content p a:hover {
  text-decoration: underline;
}

/* ===== MOBILE: Produktkarten-Borders immer sichtbar ===== */
@media (hover: none) {
  .product-card--glow {
    animation: none;
    border-color: color-mix(in srgb, var(--item-color) 45%, transparent);
  }
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 48rem) {
  html {
    font-size: 16px;
  }

  .page-content p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .page-content h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-content h2 {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .floating-pigments {
    margin-top: 1.875rem;
  }
}
