/* ═══════════════════════════════════════
   D3OS — Shared design system
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #102745;
  --bg-2: #0A141F;
  --bg-3: #0e1f38;
  --lift: rgba(40, 80, 130, 0.18);
  --white: #fff;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.58);
  --dim: rgba(255, 255, 255, 0.3);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #7fb8ff;
  --green: #22c55e;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; max-width: 100vw;
  position: relative;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* italics helper */
.i { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; }
.muted { color: var(--muted); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 18px 32px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(16,39,69,0.6) 0%, rgba(16,39,69,0) 100%);
}
.brand {
  font-weight: 700; font-size: 15px; letter-spacing: -0.02em;
  color: #fff; white-space: nowrap; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 22px; height: auto; display: block;
  transition: transform 220ms ease;
}
.brand:hover .brand-logo { transform: translateY(-1px); }
.nav-links { display: flex; align-items: center; gap: 32px; justify-self: center; }
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255, 255, 255, 0.55); transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  font-size: 14px; font-weight: 600; color: #fff;
  padding: 8px 20px; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 10px;
  transition: all 0.2s ease; white-space: nowrap; justify-self: end;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.3); }

@media (max-width: 720px) {
  .nav { padding: 12px 18px; gap: 16px; }
  .nav-links { display: none; }
  .nav-cta { font-size: 13px; padding: 7px 14px; margin-left: auto; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: #fff; color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(255, 255, 255, 0.18); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06); color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── TYPOGRAPHY ─── */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
.h-section {
  font-weight: 700; font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.05; letter-spacing: -0.035em; color: var(--white);
  max-width: 22ch; margin-bottom: 20px;
}
.h-action {
  font-weight: 700; font-size: clamp(36px, 7vw, 64px);
  line-height: 1.03; letter-spacing: -0.04em; color: var(--white);
  margin-bottom: 20px;
}
.h-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(40px, 8vw, 72px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--white);
  margin-bottom: 28px;
}
.lede {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--muted);
  max-width: 60ch; line-height: 1.6; margin-bottom: 64px;
}

/* ─── SECTIONS ─── */
.section {
  position: relative;
  padding: 140px 0 120px;
}
.section-tight { padding: 80px 0 100px; }
.section.-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%); }
.section-divider {
  width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin: 0 auto; max-width: 1120px;
}

/* ─── CARDS / grids ─── */
.four-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .four-grid { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card-title {
  font-size: clamp(17px, 2vw, 20px); font-weight: 700;
  letter-spacing: -0.01em; color: var(--white); margin-bottom: 10px;
}
.card-body { font-size: 15px; line-height: 1.62; color: var(--muted); }

/* ─── PHASE LIST (3-step) ─── */
.phase-list { list-style: none; display: flex; flex-direction: column; gap: 20px; counter-reset: phase; }
.phase {
  display: grid; grid-template-columns: 120px 1fr; align-items: start; gap: 32px;
  padding: 32px 36px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.phase:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.phase-num {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1; color: var(--dim); letter-spacing: -0.04em;
}
.phase-title {
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--white); margin-bottom: 10px;
}
.phase-desc {
  font-size: 16px; color: var(--muted); line-height: 1.65;
  margin-bottom: 14px; max-width: 58ch;
}
.phase-meta {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--dim);
}
@media (max-width: 720px) {
  .phase { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .phase-num { font-size: 44px; }
}

/* ─── PLATFORM PREVIEW MOCKUP ─── */
.platform-preview { margin: 40px 0 72px; }
.preview-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0b1a2e;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 24px 64px rgba(0,0,0,0.5);
}
.preview-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #0a1829;
  border-bottom: 1px solid var(--line);
}
.preview-chrome .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.preview-chrome .url {
  margin-left: 16px; font-size: 12px; color: var(--dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.preview-body { display: grid; grid-template-columns: 240px 1fr; min-height: 440px; }
.preview-nav {
  padding: 22px 18px; border-right: 1px solid var(--line);
  background: rgba(0,0,0,0.15);
}
.pn-section {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim);
  margin-bottom: 10px;
}
.pn-item {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: rgba(255,255,255,0.72); cursor: default;
  transition: background 0.15s ease;
}
.pn-item:hover { background: rgba(255,255,255,0.04); }
.pn-item.active { background: rgba(127,184,255,0.1); color: #fff; font-weight: 600; }
.pn-item.highlight { background: rgba(255,255,255,0.06); color: #fff; font-weight: 600; }
.preview-main { padding: 28px 34px; }
.pm-crumb { font-size: 12px; color: var(--dim); letter-spacing: 0.04em; margin-bottom: 10px; }
.pm-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.pm-meta { font-size: 12px; color: var(--dim); margin-bottom: 24px; }
.pm-steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pm-steps li { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 14px; }
.pm-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(127,184,255,0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.pm-steps b { display: block; color: #fff; font-size: 15px; margin-bottom: 3px; }
.pm-steps p { font-size: 14px; color: var(--muted); line-height: 1.55; }

@media (max-width: 720px) {
  .preview-body { grid-template-columns: 1fr; }
  .preview-nav { display: none; }
  .preview-main { padding: 22px 20px; }
  .pm-title { font-size: 22px; }
}

/* ─── FEATURE ROW ─── */
.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px;
}
@media (max-width: 720px) { .feature-row { grid-template-columns: 1fr; } }
.feature {
  padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%);
}
.feature-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.62; }

/* ─── FOOTER CTA ─── */
.footer-cta {
  padding: 120px 0 160px;
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 900px 500px at 50% 40%, rgba(40, 90, 150, 0.25), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.footer-cta-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.footer-sub {
  font-size: 17px; color: var(--muted); margin: 20px auto 40px;
  max-width: 56ch; line-height: 1.6;
}

/* ─── SITE FOOTER ─── */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer-grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  color: rgba(255,255,255,0.45); font-size: 13px;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { transition: color 0.15s ease; padding: 8px 0; }
.foot-links a:hover { color: #fff; }
.foot-meta { color: var(--dim); }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ─── GENERIC PAGE HERO (non-video) ─── */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 1000px 520px at 50% 20%, rgba(40, 90, 150, 0.3), transparent 70%),
    var(--bg);
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-weight: 700; font-size: clamp(44px, 8vw, 88px);
  line-height: 0.98; letter-spacing: -0.04em; color: #fff;
  max-width: 18ch; margin: 0 auto 28px;
}
.page-hero h1 .i { color: var(--muted); display: block; }
.page-hero p.page-lede {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--muted);
  max-width: 58ch; margin: 0 auto 40px; line-height: 1.6;
}
.page-hero .cta-row { justify-content: center; }

/* ─── FORMS ─── */
.form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
}
.field .hint { font-size: 12px; color: var(--dim); margin-top: 4px; }
.field input,
.field textarea,
.field select {
  font-family: inherit; font-size: 16px; color: #fff;
  padding: 14px 16px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong); border-radius: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none; border-color: var(--accent);
  background: rgba(127,184,255,0.06);
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-option {
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  font-size: 13px; color: rgba(255,255,255,0.78); cursor: pointer;
  transition: all 0.15s ease; -webkit-user-select: none; user-select: none;
}
.chip-option:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
.chip-option.is-active { background: rgba(127,184,255,0.12); border-color: var(--accent); color: #fff; }

/* ─── FAQ ─── */
.faq { display: flex; flex-direction: column; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 22px; font-weight: 400;
  color: var(--muted); transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-body {
  margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65;
  max-width: 60ch;
}

/* ─── DEEP CONTENT BLOCK ─── */
.deep-block {
  padding: 56px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}
.deep-block.-flip { direction: rtl; }
.deep-block.-flip > * { direction: ltr; }
@media (max-width: 860px) {
  .deep-block { grid-template-columns: 1fr; gap: 32px; direction: ltr; padding: 40px 0; }
}
.deep-block .step-eyebrow {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 72px; line-height: 1; color: var(--dim);
  letter-spacing: -0.04em; margin-bottom: 18px;
}
.deep-block h3 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 14px;
  line-height: 1.1;
}
.deep-block p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 16px; max-width: 54ch; }
.deep-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.deep-block li {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
  font-size: 15px; color: var(--text);
}
.deep-block li::before {
  content: ''; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 9px;
}
.deep-block .meta-box {
  margin-top: 24px; padding: 16px 20px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  border-radius: 12px; font-size: 14px; color: var(--muted);
  display: flex; gap: 20px; flex-wrap: wrap;
}
.deep-block .meta-box b { color: #fff; font-weight: 600; display: block; font-size: 13px; margin-bottom: 2px; }
.deep-block .visual {
  aspect-ratio: 4 / 3;
  border-radius: 20px; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #0a1829 0%, #0b1d35 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 24px 64px rgba(0,0,0,0.4);
  overflow: hidden; position: relative;
}

/* ═══════════════════════════════════════
   BENTO — "Was Sie davon haben"
   4 cols × 3 rows · 7 tiles · editorial
   ═══════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, minmax(150px, auto));
  gap: 14px;
}
.bento-tile {
  position: relative; overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(127, 184, 255, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
  min-height: 150px;
}
.bento-tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }

.bento-tile .bt-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin-bottom: auto;
}
.bento-tile h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700; letter-spacing: -0.02em;
  color: #fff; line-height: 1.15;
  margin-top: 16px;
}
.bento-tile p {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  margin-top: 10px;
}

/* Big hero tile */
.bento-tile.-hero { grid-area: 1 / 1 / 3 / 3; }
.bento-tile.-hero h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; max-width: 14ch; }
.bento-tile.-hero p { font-size: 15px; max-width: 38ch; }

/* Small tiles */
.bento-tile.-s1 { grid-area: 1 / 3 / 2 / 4; }
.bento-tile.-s2 { grid-area: 1 / 4 / 2 / 5; }
.bento-tile.-s3 { grid-area: 2 / 3 / 3 / 4; }
.bento-tile.-s4 { grid-area: 2 / 4 / 3 / 5; }

/* Wide bottom tiles */
.bento-tile.-wide1 { grid-area: 3 / 1 / 4 / 3; }
.bento-tile.-wide2 { grid-area: 3 / 3 / 4 / 5; }

.bento-tile .big-mark {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9; letter-spacing: -0.05em;
  color: rgba(255,255,255,0.08);
  position: absolute; bottom: -14px; right: -8px;
  pointer-events: none; -webkit-user-select: none; user-select: none;
}
.bento-tile .iso-mark {
  font-weight: 800; font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.04em; color: rgba(255,255,255,0.88);
  line-height: 1; margin-bottom: 4px;
}
.bento-tile.-hero::before {
  content: ''; position: absolute;
  inset: auto -10% -35% -10%; height: 75%;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(127,184,255,0.12), transparent 60%);
  pointer-events: none;
}
.bento-tile .lang-strip {
  margin-top: 18px; display: flex; gap: 6px; flex-wrap: wrap;
}
.bento-tile .lang-strip span {
  font-size: 12px; font-weight: 500;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  color: rgba(255,255,255,0.7);
}

/* Responsive collapse */
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(140px, auto); }
  .bento-tile.-hero    { grid-area: auto; grid-column: 1 / 3; min-height: 220px; }
  .bento-tile.-s1,
  .bento-tile.-s2,
  .bento-tile.-s3,
  .bento-tile.-s4     { grid-area: auto; }
  .bento-tile.-wide1   { grid-area: auto; grid-column: 1 / 3; }
  .bento-tile.-wide2   { grid-area: auto; grid-column: 1 / 3; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.-hero,
  .bento-tile.-wide1,
  .bento-tile.-wide2 { grid-column: 1; }
}
