:root {
  --bg: #050814;
  --panel: #0b1426;
  --text: #f7f8fc;
  --muted: #aab4c7;
  --line: rgba(145, 160, 195, 0.15);
  --purple: #a74eff;
  --blue: #348cff;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 20, .9);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.brand-logo {
  width: 38px;
  height: 34px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  position: relative;
  color: #e6eaf3;
  font-size: .95rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transform: translateX(-50%);
  transition: width .18s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(5,8,20,.98) 28%,
      rgba(5,8,20,.72) 48%,
      rgba(5,8,20,.08) 72%,
      rgba(5,8,20,.2) 100%);
  pointer-events: none;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/hero-x.webp") 72% 52% / 69% auto no-repeat;
  mix-blend-mode: screen;
  filter: saturate(1.06) contrast(1.04);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  min-height: 640px;
  padding: 56px 0;
}

.hero-copy {
  grid-column: 1;
  max-width: 520px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 6.8vw, 6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 span,
.philosophy h2 span {
  background: linear-gradient(90deg, #b155ff, #3b85ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  margin: 26px 0 28px;
  color: #c6cedd;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 23px;
  border-radius: 10px;
  font-weight: 760;
}

.button-primary {
  background: linear-gradient(100deg, #9142ff, #3388ff);
  box-shadow: 0 12px 36px rgba(84, 71, 255, .3);
}

.button-secondary {
  border: 1px solid rgba(166, 81, 255, .68);
  background: rgba(112, 55, 255, .06);
}

.section {
  position: relative;
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading { margin-bottom: 38px; }
.centered { text-align: center; }

.eyebrow {
  margin: 0 0 10px;
  color: #b85bff;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section h2,
.philosophy h2,
.future h2 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  min-height: 185px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(16, 27, 53, .86), rgba(6, 11, 24, .92));
}

.card-icon {
  margin-bottom: 18px;
  color: #a34fff;
  font-size: 2rem;
  font-weight: 850;
}

.card h3,
.product-card h3 { margin: 0 0 8px; }

.card p,
.philosophy-copy > p:last-child,
.product-card p,
.future-content > p,
.site-footer p,
.site-footer a {
  color: var(--muted);
}

.philosophy {
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 50%, rgba(61,55,170,.14), transparent 28%),
    linear-gradient(180deg, rgba(5,9,20,.95), rgba(7,14,27,.98));
}

.philosophy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(5,8,20,.98) 31%,
      rgba(5,8,20,.68) 48%,
      rgba(5,8,20,.06) 74%,
      rgba(5,8,20,.14) 100%);
  pointer-events: none;
}

.philosophy-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/philosophie-wuerfel.webp") 73% 53% / 66% auto no-repeat;
  mix-blend-mode: screen;
  filter: saturate(1.03) contrast(1.03);
}

.philosophy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  min-height: 500px;
}

.philosophy-copy {
  grid-column: 1;
  max-width: 470px;
}

.philosophy h2 {
  font-size: clamp(2.35rem, 4.1vw, 3.55rem);
}

.philosophy-copy > p:last-child {
  max-width: 420px;
  margin-top: 18px;
}

.products-preview {
  padding-top: 56px;
  padding-bottom: 66px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.product-card {
  min-height: 138px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(19, 28, 58, .86), rgba(5, 10, 22, .92));
}

.product-card > img {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
}

.product-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-title-row span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #cab6ff;
  background: rgba(107, 67, 255, .2);
  font-size: .65rem;
}

.product-card p {
  margin: 6px 0;
  font-size: .88rem;
}

.product-card strong { font-size: .86rem; }
.coming { border-style: dashed; }

.plus {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(166, 82, 255, .7);
  border-radius: 50%;
  color: #b35aff;
  font-size: 1.85rem;
}

.future {
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.future::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(5,8,20,.98) 35%,
      rgba(5,8,20,.72) 52%,
      rgba(5,8,20,.06) 76%);
  pointer-events: none;
}

.earth-image-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/zukunft-erde.webp") 82% 52% / 64% auto no-repeat;
  mix-blend-mode: screen;
  filter: saturate(1.04) contrast(1.03);
}

.future-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-left: 0;
}

.future-content > * {
  max-width: 520px;
}

.future-content > p {
  margin: 16px 0 22px;
}

.site-footer {
  padding: 46px 0;
  background: #030611;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1fr;
  gap: 36px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand { margin-bottom: 12px; }
.site-footer h3 { margin: 0 0 8px; font-size: .92rem; }
.site-footer a { margin: 3px 0; }
.copyright { margin-top: 24px; font-size: .82rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: white;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(4, 8, 19, .98);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links a::after { display: none; }

  .hero-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .philosophy-copy {
    grid-column: 1;
  }

  .hero-image-layer {
    background-position: 74% 65%;
    background-size: 105% auto;
    opacity: .58;
  }

  .philosophy-image-layer {
    background-position: 78% 72%;
    background-size: 105% auto;
    opacity: .5;
  }

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

  .earth-image-layer {
    background-position: 85% 80%;
    background-size: 105% auto;
    opacity: .55;
  }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }

  .hero {
    min-height: 640px;
    align-items: flex-start;
  }

  .hero-grid {
    min-height: 640px;
    padding: 62px 0 210px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 16vw, 4.8rem);
  }

  .hero-image-layer {
    background-position: center 90%;
    background-size: 145% auto;
    opacity: .48;
  }

  .section { padding: 64px 0; }

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

  .philosophy {
    min-height: 670px;
  }

  .philosophy-grid {
    min-height: 670px;
    align-items: flex-start;
    padding-top: 10px;
  }

  .philosophy-image-layer {
    background-position: center 91%;
    background-size: 150% auto;
    opacity: .48;
  }

  .future {
    min-height: 480px;
    align-items: flex-start;
  }

  .future-content {
    padding-top: 20px;
  }

  .earth-image-layer {
    background-position: 76% 96%;
    background-size: 150% auto;
    opacity: .48;
  }

  .product-card { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ===== Finaler Feinschliff ===== */

.brand-logo {
  width: 42px;
  height: 38px;
  filter: drop-shadow(0 0 7px rgba(132, 78, 255, .55));
}

.cleartube-icon {
  width: 86px !important;
  height: 86px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 72, 50, .24));
}

.plus-circle {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(156, 73, 255, .9);
  border-radius: 50%;
  box-shadow:
    inset 0 0 18px rgba(70, 91, 255, .12),
    0 0 20px rgba(107, 63, 255, .12);
}

.plus-circle span {
  display: block;
  width: 100%;
  text-align: center;
  color: #9a68ff;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.product-card.coming {
  align-items: center;
}

.hero-image-layer {
  background-position: 72% 52%;
  background-size: 69% auto;
}

.philosophy-image-layer {
  background-position: 73% 53%;
  background-size: 66% auto;
}

.earth-image-layer {
  background-position: 82% 52%;
  background-size: 64% auto;
}

.future-content {
  padding-left: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 620px) {
  .cleartube-icon {
    width: 74px !important;
    height: 74px !important;
  }

  .plus-circle {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }
}
