/* neocube – shared styles */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --bg-soft: #eef1f6;
  --ink: #0b1220;
  --ink-2: #1a2333;
  --muted: #5a6578;
  --line: #e2e6ee;
  --line-2: #cfd5e0;
  --primary: oklch(0.55 0.18 250);
  --primary-soft: oklch(0.96 0.03 250);
  --primary-ink: oklch(0.34 0.14 250);
  --accent: oklch(0.7 0.16 35);
  --accent-soft: oklch(0.96 0.04 35);
  --success: oklch(0.62 0.14 160);
  --warn: oklch(0.78 0.16 80);
  --danger: oklch(0.62 0.2 25);

  /* dark hero palette */
  --night: #0a1322;
  --night-2: #0f1b2e;
  --night-3: #15263f;
  --night-line: #1f3354;
  --night-ink: #e8eef7;
  --night-muted: #8c9cb6;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 0 0 1px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(11, 18, 32, 0.12), 0 0 0 1px rgba(11, 18, 32, 0.05);
  --shadow-lg: 0 24px 60px -20px rgba(11, 18, 32, 0.18), 0 0 0 1px rgba(11, 18, 32, 0.05);

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1rem; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.dark { background: var(--night); color: var(--night-ink); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--night-ink); }
.section.soft { background: var(--bg-soft); }

/* ===== Top nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav.dark { background: rgba(10,19,34,0.85); border-color: var(--night-line); color: var(--night-ink); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo .brand-img {
  height: 44px; width: auto; display: block;
}
.nav-links {
  display: flex; gap: 28px; flex: 1;
  font-size: 0.92rem; color: var(--muted);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav.dark .nav-links a:hover { color: var(--night-ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg-2);
  border-radius: 999px;
  font-weight: 500; font-size: 0.9rem;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--primary-ink); }

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - 70px);
  background: white;
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  z-index: 49;
  border-top: 1px solid var(--line);
  animation: nav-mobile-in .2s ease-out;
}
@keyframes nav-mobile-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-mobile a {
  padding: 14px 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile-divider {
  height: 12px;
}
.nav-mobile-cta {
  margin-top: 16px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px !important;
  background: var(--ink);
  color: white !important;
  border-radius: 999px;
  font-weight: 500;
  border-bottom: 0 !important;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 8px 24px -10px var(--primary); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -10px var(--primary); }
.btn-light { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-light:hover { background: var(--bg-soft); }
.btn-ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: 0.85; }
.btn-ghost:hover { opacity: 1; }
.btn-dark { background: var(--ink); color: white; }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0.6;
}
.section.dark .eyebrow { color: oklch(0.78 0.12 250); }

/* ===== Generic grids ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Cards ===== */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--night);
  color: var(--night-ink);
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.5 0.2 250 / 0.35) 0%, transparent 60%);
  top: -200px; right: -150px;
  pointer-events: none;
  filter: blur(20px);
}
.hero-glow.b {
  left: -250px; top: 200px; right: auto;
  background: radial-gradient(circle, oklch(0.6 0.16 200 / 0.25) 0%, transparent 60%);
  width: 600px; height: 600px;
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 28px;
  color: var(--night-ink);
}
.hero-badge .pill {
  display: inline-flex; align-items: center;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.hero h1 { color: white; max-width: 18ch; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, oklch(0.85 0.15 230), oklch(0.75 0.15 280));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--night-muted);
  line-height: 1.55;
}
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 56px;
  display: flex; gap: 36px; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--night-muted);
}
.hero-meta strong { color: white; font-weight: 600; }

/* cube graphic in hero */
.hero-cube {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px; height: 380px;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 1100px) { .hero-cube { display: none; } }

/* ===== Section heading ===== */
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 32px;
  margin-bottom: 56px;
}
.section-head .lead {
  max-width: 28ch;
}
.section-head p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.05rem;
}
@media (max-width: 760px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* ===== Branchen cards ===== */
.branche-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  min-height: 460px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.branche-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.branche-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.branche-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.branche-card .desc {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.branche-card ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.branche-card li {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  display: flex; gap: 10px; align-items: center;
}
.branche-card li:first-child { border-top: 1px solid var(--line); }
.branche-card li::before {
  content: "→";
  color: var(--primary);
  font-weight: 600;
}
.branche-card .branche-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--primary);
  font-size: 0.95rem;
  transition: gap .15s;
}
.branche-card:hover .branche-link { gap: 14px; }
.branche-card .accent-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.branche-card[data-branche="medical"] .icon { background: oklch(0.96 0.03 200); color: oklch(0.45 0.15 220); }
.branche-card[data-branche="medical"] .accent-bar { background: linear-gradient(90deg, oklch(0.65 0.16 220), oklch(0.7 0.13 180)); }

.branche-card[data-branche="legal"] .icon { background: oklch(0.96 0.03 280); color: oklch(0.4 0.18 280); }
.branche-card[data-branche="legal"] .accent-bar { background: linear-gradient(90deg, oklch(0.55 0.18 280), oklch(0.62 0.14 250)); }

.branche-card[data-branche="tax"] .icon { background: oklch(0.96 0.04 80); color: oklch(0.5 0.16 50); }
.branche-card[data-branche="tax"] .accent-bar { background: linear-gradient(90deg, oklch(0.7 0.16 50), oklch(0.72 0.13 35)); }

/* ===== Funktionen grid (small tiles) ===== */
.func-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.func-tile {
  background: var(--bg-2);
  padding: 28px 24px;
  min-height: 180px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background .15s;
}
.func-tile:hover { background: var(--bg-soft); }
.func-tile .ico { color: var(--primary); }
.func-tile h4 {
  font-size: 1rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}
.func-tile p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 920px) { .func-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .func-grid { grid-template-columns: 1fr; } }

/* ===== Editionen / pricing ===== */
.editions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.edition {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.edition.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-12px);
}
.edition.featured h3, .edition.featured .price { color: white; }
.edition .badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.edition h3 { font-size: 1.4rem; margin-bottom: 8px; }
.edition .tagline { color: var(--muted); margin-bottom: 24px; font-size: 0.92rem; }
.edition.featured .tagline { color: rgba(255,255,255,0.65); }
.edition .price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.edition .price { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 600; }
.edition .price-meta { color: var(--muted); font-size: 0.9rem; }
.edition.featured .price-meta { color: rgba(255,255,255,0.65); }
.edition .btn { text-align: center; justify-content: center; }
.edition ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.edition li {
  padding: 10px 0;
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.edition li:first-child { border-top: 0; }
.edition.featured li { border-color: rgba(255,255,255,0.1); }
.edition li::before {
  content: "✓"; color: var(--success); font-weight: 600;
  flex-shrink: 0;
}
.edition.featured li::before { color: oklch(0.78 0.14 160); }
@media (max-width: 920px) {
  .editions { grid-template-columns: 1fr; }
  .edition.featured { transform: none; }
}

/* ===== Kontakt ===== */
.contact-card {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  position: relative; overflow: hidden;
}
.contact-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 440px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 100% 50%, black, transparent 70%);
}
.contact-card > * { position: relative; z-index: 2; }
.contact-card h2 { color: white; max-width: 18ch; }
.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  padding: 12px 14px;
  border-radius: 8px;
  font: inherit;
  outline: none;
  transition: border-color .15s, background .15s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.08);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form button { margin-top: 6px; }
@media (max-width: 920px) {
  .contact-card { padding: 40px 28px; grid-template-columns: 1fr; gap: 32px; }
  .contact-photo { max-height: 280px; }
}

/* ===== Footer ===== */
footer.foot {
  background: var(--night);
  color: var(--night-muted);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--night-line);
}
.foot h5 { color: white; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { font-size: 0.92rem; transition: color .15s; }
.foot ul a:hover { color: white; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 0.85rem;
  flex-wrap: wrap; gap: 16px;
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== Stat / numbers row ===== */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem; font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink), var(--primary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ===== Compliance / regulation list (industry pages) ===== */
.reg-list { display: flex; flex-direction: column; gap: 16px; }
.reg-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  transition: border-color .15s, transform .15s;
}
.reg-item:hover { border-color: var(--primary); transform: translateX(2px); }
.reg-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  background: var(--primary-soft);
  color: var(--primary-ink);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  justify-self: start;
}
.reg-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.reg-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
.reg-item .check {
  color: var(--success);
  font-weight: 500;
  font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .reg-item { grid-template-columns: 1fr; gap: 8px; }
  .reg-item .check { justify-self: start; }
}

/* ===== Industry hero variant ===== */
.industry-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}
.industry-hero h1 { color: white; max-width: 20ch; }
.industry-hero .lead {
  margin-top: 24px; max-width: 60ch;
  color: var(--night-muted); font-size: 1.1rem;
}

.industry-hero[data-branche="medical"] {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, oklch(0.45 0.2 220 / 0.5), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, oklch(0.5 0.15 200 / 0.3), transparent 60%),
    var(--night);
}
.industry-hero[data-branche="legal"] {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, oklch(0.4 0.22 280 / 0.5), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, oklch(0.45 0.18 250 / 0.3), transparent 60%),
    var(--night);
}
.industry-hero[data-branche="tax"] {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, oklch(0.55 0.18 50 / 0.45), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, oklch(0.5 0.16 30 / 0.3), transparent 60%),
    var(--night);
}

.crumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.85rem;
  color: var(--night-muted);
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
}
.crumbs a:hover { color: white; }
.crumbs span { opacity: 0.5; }

/* ===== Process timeline ===== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.tl-step { padding: 0 16px; position: relative; z-index: 2; }
.tl-step .dot {
  width: 44px; height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 18px;
}
.tl-step h4 { margin-bottom: 6px; font-size: 1rem; }
.tl-step p { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 920px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { display: none; }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-weight: 500;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Quote / testimonial ===== */
.quote {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
}
.quote .mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 16px; right: 24px;
}
.quote blockquote {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.quote .who {
  margin-top: 24px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem;
}
.quote .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), oklch(0.7 0.14 220));
  color: white;
  display: grid; place-items: center;
  font-weight: 600;
}
.quote .who .name { font-weight: 600; }
.quote .who .role { color: var(--muted); }

/* Quote slider */
.quote-slider {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px 44px 32px;
  position: relative;
}
.quote-slider .mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  position: absolute;
  top: 16px; right: 24px;
}
.quote-track { position: relative; display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.quote-slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quote-slide blockquote {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.quote-slide .who { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.quote-slide .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; flex-shrink: 0;
}
.quote-slide .who .name { font-weight: 600; }
.quote-slide .who .role { color: var(--muted); }
.quote-dots { display: flex; gap: 8px; margin-top: 24px; justify-content: center; }
.quote-dot {
  width: 30px; height: 4px; border-radius: 2px;
  border: 0; background: var(--line); cursor: pointer; padding: 0;
  transition: background 0.3s, width 0.3s;
}
.quote-dot.is-active { background: var(--accent); width: 44px; }
@media (max-width: 720px) {
  .quote-slider { padding: 32px 24px 24px; }
  .quote-slide blockquote { font-size: 1.05rem; }
}

/* ===== utilities ===== */
.mono { font-family: "JetBrains Mono", monospace; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--bg-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: "JetBrains Mono", monospace;
  color: var(--ink-2);
}
.tag.danger { background: oklch(0.96 0.04 25); color: oklch(0.45 0.18 25); }
.tag.success { background: oklch(0.96 0.04 160); color: oklch(0.4 0.13 160); }

.nav-mobile[hidden] { display: none !important; }
@media (min-width: 861px) {
  .nav-mobile { display: none !important; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { gap: 16px; padding: 12px 20px; }
  .nav-logo .brand-img { height: 36px; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .plus-card { grid-template-columns: 1fr !important; padding: 32px 24px !important; gap: 28px !important; }
  .section.tight { padding: 40px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-sub { font-size: 1rem; }
  .hero-meta { gap: 18px 24px; margin-top: 36px; font-size: 0.85rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .branche-card { min-height: auto; padding: 28px 24px; }
  .edition { padding: 28px 24px; }
  .reg-item { padding: 18px 20px; }
  .faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
  .faq-item .faq-body { padding: 0 18px 18px; font-size: 0.92rem; }
  .quote-slider { padding: 28px 22px 22px; }
  .vm-cluster { margin-top: 36px; }
  .cluster-diagram { margin-top: 36px; }
  .cluster-failover-strip { padding: 22px 20px; }
  .foot-grid { gap: 32px; padding-bottom: 32px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat-row { padding: 18px 0; }
  .stat .num { font-size: 1.9rem; }
}

/* ===== VM-Cluster (Active-Active) ===== */
.vm-cluster {
  margin-top: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 36px 36px 32px;
}
.vm-cluster-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vm-node-head { display: flex; align-items: center; gap: 16px; }
.vm-node-head.right { justify-content: flex-end; }
.vm-cube-glyph {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  flex-shrink: 0;
}
.vm-node-meta .name { font-size: 0.74rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.55); }
.vm-node-meta .summary { font-size: 1.05rem; color: white; margin-top: 4px; }
.vm-node-meta .summary strong { color: oklch(0.85 0.14 145); font-weight: 600; }
.vm-node-meta.right { text-align: right; }

.vm-rows { display: grid; gap: 10px; }
.vm-row {
  display: grid;
  grid-template-columns: 1fr 110px 1fr;
  gap: 14px;
  align-items: center;
}
.vm-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 64px;
}
.vm-card.active {
  background: oklch(0.55 0.14 145 / 0.1);
  border-color: oklch(0.65 0.14 145 / 0.32);
}
.vm-card.replica {
  background: rgba(255,255,255,0.02);
  border-style: dashed;
  border-color: rgba(255,255,255,0.14);
}
.vm-info .vm-name { font-weight: 500; color: white; font-size: 0.95rem; line-height: 1.3; }
.vm-card.replica .vm-info .vm-name { color: rgba(255,255,255,0.65); font-weight: 400; }
.vm-info .vm-role { font-size: 0.78rem; color: var(--night-muted); margin-top: 3px; }
.vm-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; padding: 5px 10px; border-radius: 999px;
  flex-shrink: 0;
}
.vm-status .dot { width: 6px; height: 6px; border-radius: 50%; }
.vm-status.active { background: oklch(0.55 0.14 145 / 0.2); color: oklch(0.85 0.14 145); }
.vm-status.active .dot { background: oklch(0.78 0.18 145); box-shadow: 0 0 0 0 oklch(0.78 0.18 145 / 0.6); animation: pulse-dot 2s ease-out infinite; }
.vm-status.standby { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }
.vm-status.standby .dot { background: rgba(255,255,255,0.45); }

.vm-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.vm-arrow .arrow-label { font-size: 0.66rem; color: oklch(0.78 0.12 250 / 0.85); letter-spacing: 0.1em; text-transform: uppercase; }

.vm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: var(--night-muted);
}
.vm-legend .legend-item { display: flex; align-items: center; gap: 10px; }
.vm-legend .swatch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 4px;
  flex-shrink: 0;
}
.vm-legend .swatch.active { background: oklch(0.55 0.14 145 / 0.18); border: 1px solid oklch(0.65 0.14 145 / 0.4); }
.vm-legend .swatch.replica { background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.25); }
.vm-legend .swatch.arrow { background: transparent; color: oklch(0.78 0.12 250); font-size: 1rem; width: auto; }

@media (max-width: 820px) {
  .vm-cluster { padding: 24px 18px; }
  .vm-cluster-header { grid-template-columns: 1fr; gap: 14px; }
  .vm-node-head.right { justify-content: flex-start; flex-direction: row-reverse; }
  .vm-node-meta.right { text-align: left; }
  .vm-row { grid-template-columns: 1fr; gap: 6px; }
  .vm-arrow { transform: rotate(90deg); height: 32px; }
  .vm-arrow.rtl { flex-direction: column-reverse; }
}

/* ===== Cluster / Hochverfügbarkeit ===== */
.cluster-diagram {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 48px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
}
.cluster-node { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cluster-cube {
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 12px 40px -16px oklch(0.5 0.18 250 / 0.4);
}
.cluster-node-label {
  font-size: 0.72rem; letter-spacing: 0.16em; color: rgba(255,255,255,0.55);
}
.cluster-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.82rem; font-family: 'JetBrains Mono', monospace;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
}
.cluster-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.cluster-status.active .dot {
  background: oklch(0.78 0.18 145);
  box-shadow: 0 0 0 0 oklch(0.78 0.18 145 / 0.6);
  animation: pulse-dot 2s ease-out infinite;
}
.cluster-status.standby .dot { background: oklch(0.7 0.14 250); }
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 oklch(0.78 0.18 145 / 0.6); }
  70% { box-shadow: 0 0 0 12px oklch(0.78 0.18 145 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.78 0.18 145 / 0); }
}

.cluster-link {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  min-width: 200px;
}
.link-rail {
  position: relative;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, oklch(0.7 0.14 250 / 0.2), oklch(0.7 0.14 250 / 0.6), oklch(0.7 0.14 250 / 0.2));
  border-radius: 2px;
  overflow: hidden;
}
.link-pulse {
  position: absolute; top: -3px;
  width: 24px; height: 8px;
  background: linear-gradient(90deg, transparent, oklch(0.85 0.16 250), transparent);
  border-radius: 4px;
  animation: link-flow 3.6s linear infinite;
  filter: blur(0.5px);
}
@keyframes link-flow {
  0% { left: -10%; }
  100% { left: 110%; }
}
.link-label {
  font-size: 0.78rem; color: oklch(0.78 0.12 250); letter-spacing: 0.04em;
}

.cluster-failover-strip {
  margin-top: 40px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
}
.failover-steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
  font-size: 0.95rem;
}
.failover-step {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(255,255,255,0.85);
}
.failover-step .num {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  color: oklch(0.78 0.12 250); letter-spacing: 0.08em;
}
.failover-step.done {
  background: oklch(0.45 0.12 145 / 0.18);
  border-color: oklch(0.65 0.14 145 / 0.4);
  color: white;
}
.failover-step.done .num { color: oklch(0.85 0.18 145); }
.failover-arrow { color: rgba(255,255,255,0.3); font-size: 1.1rem; }

.cluster-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cluster-stats.two { grid-template-columns: repeat(2, 1fr); }
.cluster-stat {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
}
.cluster-stat.highlight {
  background: linear-gradient(180deg, oklch(0.45 0.16 250 / 0.18), oklch(0.45 0.16 250 / 0.04));
  border-color: oklch(0.7 0.14 250 / 0.3);
}
.cluster-stat .stat-num {
  font-size: 2.2rem; font-weight: 600; color: white; line-height: 1;
  margin-bottom: 12px;
}
.cluster-stat.highlight .stat-num { color: oklch(0.85 0.14 250); }
.cluster-stat .stat-lbl {
  font-size: 0.92rem; color: var(--night-muted); line-height: 1.5;
}

.cluster-compare {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-col {
  padding: 28px 30px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.compare-col.without {
  background: rgba(220, 80, 80, 0.06);
  border-color: oklch(0.6 0.16 25 / 0.25);
}
.compare-col.with {
  background: oklch(0.55 0.14 145 / 0.08);
  border-color: oklch(0.65 0.14 145 / 0.3);
}
.compare-title {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.compare-col.without .compare-title { color: oklch(0.78 0.16 25); }
.compare-col.with .compare-title { color: oklch(0.82 0.16 145); }
.compare-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  counter-reset: step;
}
.compare-list li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  counter-increment: step;
}
.compare-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}
.compare-list li strong { color: white; }

@media (max-width: 820px) {
  .cluster-diagram { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; }
  .cluster-link { min-width: 100%; }
  .link-rail { width: 80%; }
  .cluster-stats { grid-template-columns: 1fr; }
  .cluster-compare { grid-template-columns: 1fr; }
  .failover-steps { flex-direction: column; align-items: flex-start; }
  .failover-arrow { transform: rotate(90deg); }
}
