/* Unterseiten im Stil von quoroai.io: fester WebGL-Grund, 100vh-Abschnitte,
   Schreibmaschinen-Titel, Grain/Vignette/Scanlines, Scan-Balken, Leuchtcursor.
   Werte 1:1 aus components/hero/hero-scroll.css uebernommen. */

:root {
  --bg: #08070d; --ink: #f3f1fb; --text: #b9b6c8; --dim: #9b96b4;
  --lila: #9c93f5; --lila-tief: #6f63e8; --limette: #9be600;
  --rand: clamp(20px, 5vw, 56px);   /* eine Kante fuer Kopf- und Fusszeile */
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 -apple-system, "Segoe UI", Roboto, ui-sans-serif, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; }

/* ---------- Grund ---------- */
#gl { position: fixed; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; }

.hx-grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hx-vignette {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 52%, rgba(0,0,0,.6) 100%);
}
.hx-scanlines {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .35;
  background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,.16) 3px, rgba(0,0,0,0) 4px);
}
.hx-scan {
  position: fixed; left: 0; right: 0; top: -4%; height: 2px; z-index: 4; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--lila) 35%, var(--limette) 65%, transparent);
  box-shadow: 0 0 24px 4px rgba(155,230,0,.45);
}

/* ---------- Kopfzeile ---------- */
.hx-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 3.4vw, 34px);
  background: rgba(8,7,13,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mark { display: block; width: 28px; height: 28px; }
.mark path { fill: #fff; }
.mark-link { display: flex; text-decoration: none; opacity: .9; transition: opacity .2s; }
.mark-link:hover { opacity: 1; }
.hx-nav { display: flex; gap: clamp(14px, 2.2vw, 28px); align-items: center; }
.hx-nav a {
  font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); opacity: .78; transition: opacity .2s;
}
.hx-nav a:hover { opacity: 1; }
.hx-nav a.nav-kontakt {
  opacity: 1; border: 1px solid var(--lila); border-radius: 999px; padding: 6px 16px;
  transition: background .2s, border-color .2s;
}
.hx-nav a.nav-kontakt:hover { background: var(--lila); border-color: var(--lila); }

.nav-burger {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.nav-burger.is-open { background: rgba(255,255,255,.08); }

@media (max-width: 720px) {
  .nav-burger { display: block; }
  .hx-nav {
    position: fixed; top: 68px; left: 12px; right: 12px; z-index: 19;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0a0910; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
    padding: 6px; opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .hx-nav.nav-open { opacity: 1; transform: none; pointer-events: auto; }
  .hx-nav a { padding: 14px 16px; font-size: 14px; border-radius: 8px; }
  .hx-nav a:active, .hx-nav a:hover { background: rgba(255,255,255,.06); }
  .hx-topbar { padding: 14px 16px; }
}

/* ---------- Abschnitte ---------- */
.hx-root { position: relative; z-index: 1; }
.hx-section {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: safe center;
  padding: 90px 8vw 40px; position: relative; overflow-x: clip;
}
.hx-left { justify-content: flex-start; }
.hx-right { justify-content: flex-end; text-align: right; }
.hx-center { justify-content: center; text-align: center; }
.hx-content { max-width: 560px; position: relative; }
.hx-content::before {
  content: ""; position: absolute; inset: -45% -30%; z-index: -1;
  background: radial-gradient(58% 60% at 50% 50%, rgba(8,7,13,.74), transparent 72%);
}
.hx-center .hx-content { margin: 0 auto; }

.hx-title {
  font-weight: 600; font-size: clamp(36px, 6vw, 76px); letter-spacing: -.025em;
  line-height: 1.03; margin: 0; text-shadow: 0 4px 22px rgba(111,99,232,.4);
}
.hx-hero { font-size: clamp(38px, 6.4vw, 86px); letter-spacing: -.03em; line-height: 1.02; }
/* Der Eingangstitel braucht mehr Spalte als die Kapitel, sonst bricht jede Zeile */
.hx-weit { max-width: 880px; }
.hx-word { white-space: nowrap; }
@media (max-width: 600px) {
  .hx-title { font-size: clamp(23px, 7.6vw, 76px); }
  .hx-word { overflow-wrap: break-word; }
}
.hx-text { margin-top: 18px; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.6; color: var(--text); text-align: left; }
.hx-sub {
  margin: 22px auto 0; max-width: 34ch; font-size: clamp(16px, 1.9vw, 23px);
  line-height: 1.5; letter-spacing: -.01em; color: #c9c6d8;
}
.hx-hint { margin-top: 30px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }

.hx-chips { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hx-right .hx-chips { justify-content: flex-end; }
.hx-center .hx-chips { justify-content: center; }
.hx-chips li {
  font-size: 12px; color: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px;
}
.hx-chips-gross li {
  font-size: 15px; font-weight: 550; color: #fff;
  border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04);
  padding: 10px 18px;
}
/* Link-Chips tragen ihren Innenabstand auf dem <a> - dort li zuruecksetzen */
.hx-chips-gross li:has(> a) { padding: 0; }
.hx-chips li a { display: block; padding: 6px 12px; color: inherit; text-decoration: none; }
.hx-chips-gross li a { padding: 10px 18px; }
.hx-chips li a:hover { color: var(--lila); }

.hx-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hx-center .hx-cta { justify-content: center; }
.hx-right .hx-cta { justify-content: flex-end; }
.hx-btn {
  display: inline-block; text-decoration: none; padding: 16px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, background .2s, border-color .2s;
}
.hx-btn-primary { background: var(--lila-tief); color: #fff; }
.hx-btn-primary:hover { background: var(--lila); }
.hx-btn-ghost { background: transparent; border-color: rgba(255,255,255,.22); color: var(--ink); }
.hx-btn-ghost:hover { border-color: var(--limette); }

/* ---------- Film ----------
   Liegt als feste Ebene hinter dem Partikelbild. Das zerplatzende Q legt ihn
   frei - deshalb steht er im Stapel unter der Leinwand, nicht darueber. */
.hx-filmhg { position: fixed; inset: 0; z-index: 2; opacity: 0; pointer-events: none; will-change: mask-image, transform; }
.hx-filmhg video { width: 100%; height: 100%; object-fit: cover; display: block; }
#gl { z-index: 1 !important; }
.hx-filmlauf { min-height: 150vh; }
/* Der Film hat eigene Schrift in der Bildmitte - unser Titel geht darum
   ins obere Drittel, sonst liegen zwei Texte uebereinander. */
.hx-filmlauf .hx-content { transform: translateY(-27vh); }
.hx-ton {
  position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px);
  z-index: 8; opacity: 0; pointer-events: none; transition: opacity .4s ease;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.45); color: #fff;
  font: inherit; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(6px);
}
.hx-ton:hover { background: rgba(0,0,0,.75); }
.film-offen .hx-ton { opacity: 1; pointer-events: auto; }

/* ---------- Fussnote / Hinweis ---------- */
.hx-note {
  margin: 30px 0 0; padding: 15px 17px; border: 1px dashed rgba(255,255,255,.18);
  border-radius: 3px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.58);
  text-align: left;
}


/* ---------- Leuchtcursor ---------- */
.hx-cursor {
  position: fixed; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, rgba(156,147,245,.95), rgba(156,147,245,0) 72%);
  pointer-events: none; z-index: 50; will-change: transform;
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.hx-cursor-big { width: 54px; height: 54px; background: radial-gradient(circle, rgba(155,230,0,.6), rgba(155,230,0,0) 72%); }
@media (pointer: coarse) { .hx-cursor { display: none; } }


/* Aufblenden fuer alles ausser Titeln */
[data-reveal] { opacity: 0; transform: translateY(42px); transition: opacity 1s ease, transform 1s cubic-bezier(.16,1,.3,1); }
[data-reveal].hx-an { opacity: 1; transform: none; }

  /* ---------- Fusszeile ---------- */
  .fuss {
    position: relative; z-index: 1; background: rgba(8,7,13,.92);
    border-top: 1px solid rgba(255,255,255,.09);
    padding: clamp(48px, 7vh, 78px) var(--rand) clamp(34px, 5vh, 52px);
  }
  .fuss-raster {
    max-width: 1320px; margin: 0 auto; display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 4vw, 56px);
  }
  .fuss-marke .mark { width: 30px; height: 30px; display: block; }
  .fuss-marke .mark path { fill: #fff; }
  .fuss-marke p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text); max-width: 26ch; }
  .fuss-spalte h3 {
    margin: 0 0 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
    font-weight: 500; color: rgba(255,255,255,.5);
  }
  .fuss-spalte a, .fuss-spalte p {
    display: block; margin: 0 0 2px; padding: 7px 0; font-size: 13.5px; line-height: 1.4;
    color: var(--text); text-decoration: none; transition: color .2s;
  }
  .fuss-spalte p { padding: 0; margin: 0 0 9px; }
  .fuss-spalte a:hover { color: #fff; }
  .fuss-zeile {
    max-width: 1320px; margin: clamp(34px, 5vh, 54px) auto 0;
    padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
    font-size: 12px; line-height: 1.7; color: var(--text);
  }
  .fuss-hinweis { max-width: 1320px; margin: 8px auto 0; font-size: 12px; color: rgba(255,255,255,.32); }
  .fuss-sozial { display: flex; gap: 14px; margin-top: 16px; }
  .fuss-sozial a {
    display: block; margin: 0; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, color .2s;
  }
  .fuss-sozial a:hover { border-color: var(--lila); color: var(--lila); }
  .fuss-sozial svg { width: 15px; height: 15px; fill: currentColor; }
  @media (max-width: 820px) {
    .fuss-raster { grid-template-columns: 1fr 1fr; }
    .fuss-marke { grid-column: 1 / -1; }
  }
  @media (max-width: 460px) {
    .fuss-raster { grid-template-columns: 1fr; }
  }

/* ---------- Kacheln: Logos/Beteiligungen, echte Namen ohne Bilddatei ---------- */
.hx-kachel-grid {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; justify-content: flex-start;
}
.hx-center .hx-kachel-grid { justify-content: center; }
.hx-kachel {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px 13px 14px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.03);
}
.hx-kachel-mono {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(156,147,245,.14); color: var(--lila);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.hx-kachel-name { font-size: 14px; color: var(--ink); font-weight: 550; }
.hx-kachel-logo {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  object-fit: cover; background: #fff; display: block;
}
.hx-kachel-gross { padding: 20px 28px 20px 20px; gap: 14px; }
.hx-kachel-gross .hx-kachel-mono { width: 44px; height: 44px; font-size: 16px; }
.hx-kachel-gross .hx-kachel-logo { width: 44px; height: 44px; border-radius: 10px; }
.hx-kachel-gross .hx-kachel-name { font-size: 19px; }
.hx-kachel-hinweis {
  margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.4); text-align: left;
}
.hx-center .hx-kachel-hinweis { text-align: center; }

/* ---------- Beteiligungen / Portfolio (Ventures) ---------- */
.pf-label {
  margin: 40px 0 0; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--dim);
}
.hx-center .pf-label { text-align: center; }
.pf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 720px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
.pf-karte {
  display: flex; flex-direction: column; align-items: center; gap: 15px;
  padding: 28px 18px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.025);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.pf-karte:hover { transform: translateY(-4px); border-color: rgba(156,147,245,.5); background: rgba(156,147,245,.05); }
.pf-logo {
  width: 62px; height: 62px; border-radius: 15px; overflow: hidden; flex: none;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.pf-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-name { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -.01em; }

/* ---------- Team ---------- */
.hx-team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; margin-top: 30px; max-width: 720px; }
.hx-team-karte { text-align: left; }
.hx-team-foto {
  width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover;
  background: rgba(255,255,255,.05); display: block;
}
.hx-team-karte h3 { margin: 14px 0 2px; font-size: 16px; font-weight: 600; color: var(--ink); }
.hx-team-karte p { margin: 0; font-size: 13px; color: var(--dim); }
.hx-team-karte.hx-team-offen .hx-team-foto {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.32); text-align: center; padding: 10px;
  border: 1px dashed rgba(255,255,255,.16);
}

/* ---------- Werte ---------- */
.hx-werte-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 600px) { .hx-werte-grid { grid-template-columns: 1fr; } }
.hx-wert {
  text-align: left; padding: 20px 20px 22px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03);
}
.hx-wert-nr { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--lila); }
.hx-wert h3 { margin: 10px 0 8px; font-size: 20px; font-weight: 600; color: var(--ink); }
.hx-wert p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ---------- Fetter Link zu einem anderen Quoro-Produkt ---------- */
.hx-fett-link {
  display: block; margin-top: 30px; padding: 22px 26px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(156,147,245,.16), rgba(156,147,245,.04));
  border: 1px solid rgba(156,147,245,.35); text-decoration: none; max-width: 460px;
}
.hx-center .hx-fett-link { margin-left: auto; margin-right: auto; text-align: left; }
.hx-fett-link b { display: block; font-size: 19px; color: #fff; }
.hx-fett-link span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text); }
.hx-fett-link em {
  display: inline-block; margin-top: 12px; font-style: normal; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--lila);
}

/* ---------- Kontaktformular ---------- */
.kt-form { margin-top: 36px; text-align: left; max-width: 480px; }
.hx-center .kt-form { margin-left: auto; margin-right: auto; }
.kt-feld { margin-bottom: 18px; }
.kt-feld label { display: block; margin-bottom: 7px; font-size: 12.5px; letter-spacing: .05em; color: var(--dim); }
.kt-feld input, .kt-feld textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04); color: var(--ink); font: inherit; font-size: 15px; resize: vertical;
}
.kt-feld input:focus, .kt-feld textarea:focus { outline: none; border-color: var(--lila); }
.kt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kt-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: var(--text); cursor: pointer; }
.kt-consent input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--lila); }
.kt-consent a { color: var(--lila); }
.kt-status { margin-top: 16px; font-size: 14px; min-height: 1.4em; }
.kt-status-ok { color: #9be600; }
.kt-status-fehler { color: #ff8a8a; }

/* ---------- Preismodelle (Rahmen wie quoroai.io) ---------- */
@property --q-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hx-preis-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: 44px; text-align: left; align-items: stretch;
}
@media (max-width: 820px) {
  .hx-preis-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
.hx-preis-karte {
  position: relative; display: flex; flex-direction: column; isolation: isolate;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: clamp(26px, 3vw, 34px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hx-preis-karte:hover { transform: translateY(-3px); border-color: rgba(156,147,245,.45); box-shadow: 0 22px 60px -34px rgba(0,0,0,.85); }
.hx-preis-karte > * { position: relative; z-index: 1; }
.hx-preis-karte h3 { margin: 0; font-size: 19px; font-weight: 600; color: #fff; }
.hx-preis-karte .preis { margin: 18px 0 0; font-size: clamp(25px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.hx-preis-karte .hinweis { margin: 4px 0 0; font-size: 12.5px; color: var(--dim); }
.hx-preis-karte ul {
  list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 10px;
}
.hx-preis-karte li { font-size: 13.5px; color: var(--text); padding-left: 22px; position: relative; line-height: 1.45; }
.hx-preis-karte li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lila); font-weight: 700; }

/* Badge + rotierender Gradient-Rahmen fuer die hervorgehobene Karte */
.hx-preis-karte .badge {
  position: absolute; top: -11px; left: 28px; z-index: 2;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(156,147,245,.16); color: var(--lila);
  border: 1px solid rgba(156,147,245,.4); padding: 4px 11px; border-radius: 999px;
}
.hx-preis-karte.hervor { border-color: transparent; box-shadow: 0 34px 90px -46px rgba(111,99,232,.65); }
.hx-preis-karte.hervor::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--q-angle), transparent 0deg, rgba(156,147,245,.95) 60deg, rgba(155,230,0,.55) 115deg, transparent 165deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: q-spin 5s linear infinite;
}
@keyframes q-spin { to { --q-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  .hx-preis-karte.hervor::before { animation: none; background: linear-gradient(rgba(156,147,245,.6), rgba(156,147,245,.6)); }
}

/* ---------- Kreise: Kapital / Strategie / Idee ---------- */
.hx-kreise { position: relative; margin: 40px auto 0; width: min(100%, 420px); aspect-ratio: 1; }
.hx-kreise .ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(156,147,245,.4);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 14px;
}
.hx-kreise .ring span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.hx-kreise .r1 { inset: 0; background: rgba(156,147,245,.05); }
.hx-kreise .r2 { inset: 17%; background: rgba(156,147,245,.08); }
.hx-kreise .r3 { inset: 34%; background: rgba(156,147,245,.12); }
