:root {
  --navy-deep: #070b14;
  --navy:      #0d1525;
  --navy-mid:  #111e35;
  --navy-card: #0f1a2e;
  --gold:      #b8913a;
  --gold-light:#c9a84c;
  --gold-soft: #dfc278;
  --gold-pale: rgba(184,145,58,0.10);
  --text:      #efeae3;
  --text-muted:#94a3b8;
  --text-faint:#4a5a72;
  --white:     #ffffff;
  --radius:    8px;
  --radius-lg: 16px;
  --nav-h:     68px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #070b14;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.6;
}
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(184,145,58,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at -10% 80%, rgba(13,21,37,0.8) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(184,145,58,0.03) 0%, transparent 50%);
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: transparent;
  transition: background 0.4s, border-bottom-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,11,20,0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(184,145,58,0.12);
}
.nav-brand {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}
.nav-brand img {
  height: 64px !important;
  width: auto !important;
  max-height: none !important;
  min-height: 64px;
  object-fit: contain;
  display: block;
  mix-blend-mode: normal;
  /* Gentle lift only — heavy filter washed details out. */
  filter: brightness(1.15);
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: #7a8ba8; text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #c9a84c; }
.nav-links a.nav-link-accent {
  color: var(--gold, #b8913a);
  font-weight: 500;
}
.nav-links a.nav-link-accent:hover { color: #dfc278; }
.nav-cta {
  margin-left: 2rem; padding: 0.55rem 1.25rem;
  border: 1px solid #b8913a; color: #c9a84c;
  text-decoration: none; font-size: 0.875rem; letter-spacing: 0.05em;
  border-radius: 6px; transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: rgba(184,145,58,0.10); color: #dfc278; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #7a8ba8; border-radius: 2px;
}

/* HERO */
.hero {
  min-height: 100vh; display: grid; place-items: center;
  padding: var(--nav-h) clamp(1.5rem, 6vw, 6rem) 4rem;
  position: relative; overflow: hidden;
}
.hero-split {
  position: relative; z-index: 1;
  width: 100%; max-width: 1200px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-text { max-width: 560px; }
.hero-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #b8913a; margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(184,145,58,0.3); border-radius: 50px;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4.5vw, 5rem); font-weight: 600;
  line-height: 1.08; color: #ffffff; margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-title em {
  font-style: italic;
  color: #c9a84c;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 520px; margin: 0 0 2.25rem; line-height: 1.7;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, #b8913a 0%, #c9a84c 100%);
  color: #070b14; font-weight: 500; font-size: 0.9rem;
  text-decoration: none; border-radius: 6px;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(184,145,58,0.3);
  filter: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  mix-blend-mode: normal;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,145,58,0.4);
}
.btn-ghost {
  padding: 0.75rem 1.75rem; border: 1px solid rgba(138,154,181,0.35);
  color: #7a8ba8; font-size: 0.9rem; text-decoration: none;
  border-radius: 6px; letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: #b8913a; color: #c9a84c; }

/* HERO VISUAL — freischwebende Plattform-Visualisierung */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  will-change: transform;
}
.hero-viz {
  position: relative;
  width: 580px; max-width: 100%;
  height: 520px;
  /* no background, no border, no radius — free-floating */
}
.hero-viz-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-viz-lines line {
  stroke: rgba(184,145,58,0.4);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
  animation: vizdash 3s linear infinite;
}
@keyframes vizdash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -16; }
}

.viz-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 160px; height: 150px;
  background: linear-gradient(135deg, #0d1a30, #1a2a45);
  border: 1px solid rgba(184,145,58,0.5);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(184,145,58,0.4),
    0 0 30px rgba(184,145,58,0.2),
    0 0 60px rgba(184,145,58,0.08),
    inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.viz-hub .hub-logo {
  width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
  /* The logo PNG has a dark background — lighten it heavily to read on the hub card */
  filter: brightness(4) contrast(0.8) saturate(1.1);
  mix-blend-mode: normal;
}
.viz-hub::before {
  content: ''; position: absolute; inset: -14px;
  border: 1px solid rgba(184,145,58,0.25);
  border-radius: 34px;
  animation: hubRing 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hubRing {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50%      { opacity: 0.6;  transform: scale(1.04); }
}

.viz-sat {
  position: absolute;
  display: block;
  width: 130px;
  min-height: 90px;
  background: linear-gradient(
    145deg,
    rgba(30,45,75,0.95) 0%,
    rgba(15,26,48,0.98) 100%
  );
  border: 1px solid rgba(184,145,58,0.25);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 2px 0 0 rgba(184,145,58,0.3),
    0 8px 32px rgba(0,0,0,0.6),
    0 2px 8px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  z-index: 1;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.viz-sat::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 14px;
  background: transparent;
  transition: background 0.2s;
  pointer-events: none;
  z-index: 2;
}
.viz-sat:hover::before {
  background: rgba(184,145,58,0.04);
}
.viz-sat::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04) 0%,
    transparent 100%
  );
  pointer-events: none;
}
.viz-sat img {
  width: 36px; height: 36px;
  object-fit: contain;
  display: block; margin: 0 auto;
  mix-blend-mode: screen;
  filter: brightness(1.2);
}
.viz-sat .sat-name {
  font-size: 0.7rem;
  color: #b8a070;
  margin-top: 7px;
  letter-spacing: 0.06em;
  font-weight: 500;
  display: block;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.viz-sat:hover {
  border-color: rgba(184,145,58,0.5);
  box-shadow:
    0 2px 0 0 rgba(184,145,58,0.5),
    0 12px 40px rgba(0,0,0,0.7),
    0 4px 12px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.3),
    0 0 20px rgba(184,145,58,0.12);
  transform: translateY(-4px) scale(1.03);
  animation-play-state: paused;
}

/* Float animations per satellite (different durations for organic feel) */
.sat-thinklab   { animation: satfloat      5s   ease-in-out infinite alternate; }
.sat-cavallearn { animation: satfloat      6s   ease-in-out infinite alternate; }
.sat-eduvivo    { animation: satfloat      4.5s ease-in-out infinite alternate; }
.sat-cdl        { animation: satfloat      5.5s ease-in-out infinite alternate; }
.sat-worklino   { animation: satfloat-cx   4s   ease-in-out infinite alternate; }
@keyframes satfloat {
  from { transform: translateY(-6px); }
  to   { transform: translateY(6px); }
}
@keyframes satfloat-cx {
  from { transform: translate(-50%, -6px); }
  to   { transform: translate(-50%,  6px); }
}

/* WAVE DIVIDER */
.wave-divider { margin-bottom: -2px; line-height: 0; position: relative; z-index: 1; }
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* STATS */
.stats {
  display: flex; justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(10,16,26,0.8);
  border-top: 1px solid rgba(184,145,58,0.12);
  border-bottom: 1px solid rgba(184,145,58,0.12);
  flex-wrap: wrap;
  position: relative; z-index: 1;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
  font-weight: 600; color: #c9a84c; line-height: 1; display: block;
}
.stat-label {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 0.5rem; font-weight: 500;
}

/* SECTIONS */
main { position: relative; z-index: 1; }
section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  position: relative;
}
/* Alternating backgrounds: hero stays transparent so body gradient shows */
main > section:nth-of-type(odd)  { background: transparent; }
main > section:nth-of-type(even) {
  background: rgba(13,21,37,0.5);
  border-top: 1px solid rgba(184,145,58,0.08);
}

.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: #b8913a; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600;
  color: #ffffff; line-height: 1.2; margin-bottom: 1.25rem;
  position: relative;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.section-title.revealed { clip-path: inset(0 0 0 0); }
.section-title::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, #b8913a, transparent);
  transition: width 0.6s ease-out 0.4s;
}
.section-title.revealed::after { width: 56px; }
.section-title.no-underline::after { display: none; }

.section-intro { font-size: 1.02rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; font-weight: 500; }
.gold-line { width: 48px; height: 2px; background: linear-gradient(90deg, #b8913a, transparent); margin: 1.25rem 0; }

/* PRODUCTS */
.products-wrap { max-width: 1200px; margin: 0 auto; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; gap: 1rem; flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.product-card {
  background: rgba(13,21,37,0.7);
  border: 1px solid rgba(184,145,58,0.08);
  border-radius: var(--radius-lg); padding: 2rem; position: relative;
  overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #b8913a, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.product-card:hover {
  border-color: rgba(184,145,58,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(184,145,58,0.08);
}
.product-card:hover::before { opacity: 1; }
.product-card.featured {
  border-color: rgba(184,145,58,0.22);
  background: rgba(17,30,53,0.75);
}
.product-card.featured::before { opacity: 0.5; }
.product-card.dimmed { opacity: 0.6; }

/* Product logos — consistent inline treatment (no wrapper box).
   All logos use mix-blend-mode: screen so black backgrounds in PNGs
   (Cavallearn, CDL) blend away against the dark card bg. */
.product-logo {
  width: 48px; height: 48px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 8px;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}

.product-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.75rem;
  border-radius: 50px; margin-bottom: 1rem; width: fit-content;
}
.badge-beta { background: rgba(184,145,58,0.15); color: #c9a84c; border: 1px solid rgba(184,145,58,0.3); }
.badge-beta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c9a84c; animation: pulse 2s infinite; }
.badge-live { background: rgba(52,211,153,0.1); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.25); }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6ee7b7; animation: pulse 2s infinite; }
.badge-soon { background: rgba(138,154,181,0.1); color: #7a8ba8; border: 1px solid rgba(138,154,181,0.2); }
.badge-building { background: rgba(99,102,241,0.1); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.2); }
.badge-playground { background: rgba(90,106,133,0.1); color: #4a5a72; border: 1px solid rgba(90,106,133,0.2); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.product-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 600; color: #ffffff; margin-bottom: 0.25rem; line-height: 1.15; }
.product-tagline { font-size: 0.88rem; color: #c9a84c; letter-spacing: 0.04em; margin-bottom: 1rem; font-weight: 500; }
.product-fullname { font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 1rem; }
.product-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.6; flex-grow: 1; margin-bottom: 1.25rem; font-weight: 400; }
.product-desc strong { color: var(--gold-soft); font-weight: 600; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.tag { font-size: 0.7rem; padding: 0.25rem 0.6rem; background: rgba(90,106,133,0.2); color: #4a5a72; border-radius: 4px; letter-spacing: 0.03em; }
.product-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #b8913a; text-decoration: none; font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.03em;
  transition: gap 0.2s, color 0.2s; margin-top: auto;
}
.product-link:hover { gap: 0.75rem; color: #c9a84c; }
.product-link-muted { color: #4a5a72; font-size: 0.82rem; margin-top: auto; font-style: italic; }

/* KI SECTION — background handled by nth-of-type */
.ki-inner { max-width: 1100px; margin: 0 auto; }
.ki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.ki-card {
  background: rgba(10,16,26,0.6);
  border: 1px solid rgba(184,145,58,0.1);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.ki-card:hover {
  border-color: rgba(184,145,58,0.25);
  background: rgba(13,21,37,0.7);
}
.ki-icon { font-size: 1.4rem; margin-bottom: 0.75rem; }
.ki-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.ki-desc { font-size: 0.94rem; color: var(--text-muted); line-height: 1.6; font-weight: 400; }

/* PLATFORM — background handled by nth-of-type */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1100px; margin: 0 auto; }
.platform-visual {
  background: rgba(10,16,26,0.7);
  border: 1px solid rgba(184,145,58,0.15);
  border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden;
}
.platform-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #b8913a, transparent);
}
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-top: 1.25rem; }
.module-chip {
  background: rgba(184,145,58,0.06); border: 1px solid rgba(184,145,58,0.12);
  border-radius: 6px; padding: 0.35rem 0.5rem; font-size: 0.68rem;
  color: #4a5a72; text-align: center;
}
.module-chip.active { background: rgba(184,145,58,0.14); border-color: rgba(184,145,58,0.3); color: #dfc278; }
.platform-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #4a5a72; margin-bottom: 0.4rem; }
.platform-title-sm { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; color: #ffffff; font-weight: 600; letter-spacing: 0.01em; }

/* TRUST BADGES */
.trust-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem;
  padding: 1.5rem clamp(1.5rem,5vw,4rem);
  background: rgba(10,16,26,0.6);
  border-top: 1px solid rgba(90,106,133,0.15);
  position: relative; z-index: 1;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #4a5a72; letter-spacing: 0.04em; }
.trust-item svg { opacity: 0.6; flex-shrink: 0; }

/* COLLAB — background handled by nth-of-type */
.collab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 2.5rem auto 0; }
.collab-card {
  background: rgba(13,21,37,0.7);
  border: 1px solid rgba(184,145,58,0.1);
  border-radius: var(--radius-lg); padding: 1.75rem 2rem; transition: border-color 0.3s;
}
.collab-card:hover { border-color: rgba(184,145,58,0.25); }
.collab-org { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: #ffffff; margin-bottom: 0.3rem; }
.collab-role { font-size: 0.78rem; color: #b8913a; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; font-weight: 500; }
.collab-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.6; font-weight: 400; }

/* ABOUT */
.about-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.about-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about-name { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: #ffffff; font-weight: 600; line-height: 1.1; margin-bottom: 0.25rem; }
.about-title { font-size: 0.85rem; color: #b8913a; letter-spacing: 0.06em; margin-bottom: 1.5rem; font-weight: 500; }
.about-detail { display: flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.6rem; font-weight: 400; }
.about-detail svg { flex-shrink: 0; opacity: 0.7; }
.about-body p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-weight: 400; }
.about-body strong { color: var(--text); font-weight: 600; }

/* CONTACT */
.contact-section { text-align: center; }
.contact-section .section-title::after { margin-left: auto; margin-right: auto; }
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-mail { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: 1.35rem; font-weight: 600; color: #c9a84c; text-decoration: none; margin: 1.5rem 0; transition: color 0.2s; letter-spacing: -0.005em; }
.contact-mail:hover { color: #dfc278; }

/* FOOTER */
footer { padding: 2rem clamp(1.5rem, 5vw, 4rem); border-top: 1px solid rgba(90,106,133,0.2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; position: relative; z-index: 1; background: rgba(7,11,20,0.8); }
.footer-copy { font-size: 0.78rem; color: #4a5a72; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: #4a5a72; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #b8913a; }

/* LEGAL PAGES (Impressum / Datenschutz) */
.legal-section { padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 6vw, 6rem) 6rem; max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.legal-section h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; color: #ffffff; margin-bottom: 1rem; line-height: 1.2; }
.legal-section h2 { font-family: 'DM Sans', sans-serif; font-size: 1.2rem; font-weight: 600; color: #dfc278; margin: 2.5rem 0 0.75rem; }
.legal-section p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-size: 1.02rem; font-weight: 400; }
.legal-section strong { color: var(--text); font-weight: 600; }
.legal-section a { color: #c9a84c; text-decoration: none; transition: color 0.2s; }
.legal-section a:hover { color: #dfc278; }
.legal-section .section-label { margin-bottom: 0.5rem; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.hero-visual.fade-up.visible { transform: translateY(0); }

/* Hero particles canvas (injected by JS) */
.hero > canvas.hero-particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .platform-grid, .about-grid, .collab-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-text { max-width: none; margin: 0 auto; }
  .hero-title { white-space: normal; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-viz { width: 420px; height: 400px; }
  .viz-hub { width: 100px; height: 92px; border-radius: 16px; }
  .viz-hub::before { inset: -12px; border-radius: 28px; }
  .viz-hub .hub-logo { width: 68px; }
  .viz-sat { width: 110px; min-height: 78px; padding: 10px 12px; }
  .viz-sat img { width: 30px; height: 30px; }
  .viz-sat .sat-name { font-size: 0.66rem; }
}
body.nav-open .nav-links {
  display: flex; flex-direction: column; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,11,20,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem; gap: 1.5rem;
  border-bottom: 1px solid rgba(184,145,58,0.15); z-index: 99;
}
body.nav-open .nav-links a { font-size: 1.1rem; color: #e2ddd6; }
@media (max-width: 600px) {
  .stats { gap: 1.5rem; }
  .module-grid { grid-template-columns: repeat(2,1fr); }
  .ki-grid { grid-template-columns: 1fr; }
  .hero-viz { width: 320px; height: 340px; }
  .viz-hub { width: 88px; height: 80px; border-radius: 14px; }
  .viz-hub::before { inset: -10px; border-radius: 24px; }
  .viz-hub .hub-logo { width: 58px; }
  .viz-sat { width: 96px; min-height: 72px; padding: 8px 10px; }
  .viz-sat img { width: 26px; height: 26px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-viz-lines line, .viz-hub::before, .viz-sat,
  .fade-up, .section-title, .sat-worklino { transition: none; animation: none; }
  .fade-up { opacity: 1; transform: none; }
  .section-title { clip-path: inset(0 0 0 0); }
  .section-title::after { width: 56px; }
  .sat-worklino { transform: translateX(-50%); }
}

/* ===== Blog ===== */

/* List page */
.blog-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 6vw, 4rem) 5rem;
  position: relative;
  z-index: 1;
}
.blog-header { margin-bottom: 2.5rem; }
.blog-header .section-title { margin-bottom: 0.75rem; }

.blog-tagbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 2.5rem;
}
.blog-tagbar a {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  text-decoration: none;
  background: rgba(90,106,133,0.15);
  color: #7a8ba8;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.blog-tagbar a:hover { color: #c9a84c; border-color: rgba(184,145,58,0.3); }
.blog-tagbar a.active {
  background: rgba(184,145,58,0.15);
  color: #dfc278;
  border-color: rgba(184,145,58,0.4);
}

.blog-empty {
  text-align: center;
  color: #4a5a72;
  padding: 4rem 0;
  font-style: italic;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: rgba(13,21,37,0.7);
  border: 1px solid rgba(184,145,58,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #b8913a, transparent);
  opacity: 0; transition: opacity 0.3s;
  z-index: 2;
}
.blog-card:hover {
  border-color: rgba(184,145,58,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(184,145,58,0.08);
}
.blog-card:hover::before { opacity: 1; }

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(7,11,20,0.6);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.03); }

.blog-card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.blog-card-title a { color: #ffffff; text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: #c9a84c; }
.blog-card-meta { font-size: 0.75rem; color: #4a5a72; letter-spacing: 0.04em; margin-bottom: 0.85rem; }
.blog-card-author, .blog-card-readtime { color: #4a5a72; }
.blog-card-excerpt {
  font-size: 0.9rem;
  color: #7a8ba8;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #b8913a;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s, color 0.2s;
}
.blog-card-link:hover { gap: 0.65rem; color: #c9a84c; }

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,145,58,0.08);
}
.blog-pagination a {
  color: #c9a84c;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(184,145,58,0.3);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.blog-pagination a:hover { background: rgba(184,145,58,0.1); color: #dfc278; }
.blog-page-info { font-size: 0.8rem; color: #4a5a72; letter-spacing: 0.05em; }

/* Article page */
.blog-article {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 6vw, 4rem) 5rem;
  position: relative;
  z-index: 1;
}
.blog-article-hero {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 480px;
  background: rgba(7,11,20,0.6);
}
.blog-article-hero img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.blog-article-header { margin-bottom: 2.5rem; }
.blog-article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.blog-article-meta {
  font-size: 0.82rem;
  color: #4a5a72;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.blog-article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.blog-article-tags .tag {
  color: #dfc278;
  background: rgba(184,145,58,0.1);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.blog-article-tags .tag:hover { background: rgba(184,145,58,0.2); }
.blog-article-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #dfc278;
  line-height: 1.6;
  padding: 0.5rem 0 1rem;
  border-bottom: 1px solid rgba(184,145,58,0.12);
}

.blog-article-body { font-size: 1.05rem; line-height: 1.75; color: var(--text); max-width: 68ch; font-weight: 400; }
.blog-article-body > * + * { margin-top: 1.4rem; }

.blog-article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(184,145,58,0.1);
}
.blog-article-footer a { color: #b8913a; text-decoration: none; font-size: 0.9rem; letter-spacing: 0.04em; transition: color 0.2s; }
.blog-article-footer a:hover { color: #c9a84c; }

/* Block renderer — typography defaults for nested BodyHtml */
.content-block-text h2,
.content-block-text h3,
.content-block-text h4 { font-family: 'Cormorant Garamond', serif; color: #ffffff; font-weight: 600; line-height: 1.25; margin-top: 2rem; }
.content-block-text h2 { font-size: 1.7rem; }
.content-block-text h3 { font-size: 1.3rem; color: #dfc278; }
.content-block-text h4 { font-size: 1.1rem; color: #c9a84c; }
.content-block-text p { color: #c8c2b6; }
.content-block-text a { color: #c9a84c; text-decoration: underline; text-decoration-color: rgba(184,145,58,0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.content-block-text a:hover { text-decoration-color: #c9a84c; }
.content-block-text ul, .content-block-text ol { margin-left: 1.5rem; color: #c8c2b6; }
.content-block-text li + li { margin-top: 0.35rem; }
.content-block-text blockquote {
  border-left: 3px solid #b8913a;
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-style: italic;
  color: #b8a070;
  margin: 1.5rem 0;
}
.content-block-text code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(184,145,58,0.08);
  color: #dfc278;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.92em;
}
.content-block-text pre {
  background: rgba(7,11,20,0.8);
  border: 1px solid rgba(184,145,58,0.12);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.6;
}
.content-block-text pre code { background: none; padding: 0; color: #c8c2b6; }

.content-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.content-block-image figure { margin: 0; }
.content-block-image img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.content-block-image figcaption { font-size: 0.82rem; color: #4a5a72; letter-spacing: 0.04em; margin-top: 0.6rem; text-align: center; }

.content-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7,11,20,0.8);
}
.content-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.content-block-cta {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}

.content-block-document a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184,145,58,0.08);
  border: 1px solid rgba(184,145,58,0.2);
  color: #c9a84c;
  padding: 0.65rem 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}
.content-block-document a:hover { background: rgba(184,145,58,0.16); border-color: rgba(184,145,58,0.4); }

.content-block-example,
.content-block-summary,
.content-block-check {
  border-left: 3px solid #b8913a;
  padding: 1.1rem 1.4rem;
  background: rgba(184,145,58,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.content-block-summary { border-left-color: #6ee7b7; background: rgba(52,211,153,0.06); }
.content-block-summary .content-block-title { color: #6ee7b7; }
.content-block-check { border-left-color: #a5b4fc; background: rgba(99,102,241,0.06); }
.content-block-check .content-block-title { color: #a5b4fc; }

/* Blog responsive */
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-pagination { gap: 0.75rem; flex-wrap: wrap; }
}

/* Blog reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-image img,
  .blog-card::before,
  .blog-card-link,
  .blog-tagbar a,
  .blog-pagination a { transition: none !important; transform: none !important; animation: none !important; }
  .blog-card:hover { transform: none !important; }
  .blog-card:hover .blog-card-image img { transform: none !important; }
}
