:root{
  --bg0:#05060a;
  --bg1:#070812;

  --card:#0b0d16cc;
  --card2:#0a0c14b3;

  --stroke:#ffffff1a;
  --stroke2:#ffffff10;

  --text:#e9ebff;
  --muted:#b7bce0;
  --muted2:#8e95c7;

  --shadow:0 18px 55px rgba(0,0,0,.55);
  --shadow2:0 10px 28px rgba(0,0,0,.45);

  --radius:18px;
  --radius2:26px;
  --max:1060px;

  --accent1:#9b5cff;
  --accent2:#42ffb5;
  --accent3:#63a5ff;
  --warm:#ffb86b;

  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  line-height:1.55;
  overflow-x:hidden;

  background: var(--bg0);
  background-image:
    radial-gradient(1200px 680px at 12% -10%, color-mix(in oklab, var(--accent1) 42%, transparent), transparent 70%),
    radial-gradient(980px 560px at 88% 0%,  color-mix(in oklab, var(--accent2) 30%, transparent), transparent 68%),
    radial-gradient(900px 720px at 50% 120%, color-mix(in oklab, var(--accent3) 22%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 62%, #04040a 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
a.inline{ color:color-mix(in oklab, var(--accent3) 86%, white); text-underline-offset:3px; }
a.inline:hover{ color:color-mix(in oklab, var(--accent2) 70%, white); }

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

.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  border-radius:12px;
  background:#0c1020;
  border:1px solid var(--stroke);
  z-index:9999;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(140%) blur(14px);
  background:linear-gradient(180deg, rgba(10,12,20,.86), rgba(10,12,20,.58));
  border-bottom:1px solid var(--stroke2);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}
.brand__mark{
  width:14px;
  height:14px;
  border-radius:6px;
  background:
    radial-gradient(circle at 30% 30%, #fff9, transparent 62%),
    linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.45);
}
.brand__text{ opacity:.98; }

.nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav__link{
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav__link:hover{
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.06);
}

.section{
  padding:30px 0 34px;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  flex-wrap:wrap;
}
.section__title{
  margin:0;
  font-size:28px;
  letter-spacing:.2px;
}
.section__desc{
  margin:0;
  color:var(--muted);
  max-width:68ch;
}

.cards{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
}
.card{
  grid-column:span 6;
  position:relative;
  padding:16px 16px 14px;
  border-radius:var(--radius2);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--stroke);
  box-shadow:var(--shadow2);
  overflow:hidden;
  min-height:128px;
}
.card__icon{
  width:44px;
  height:44px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:10px;
}
.orb{
  width:18px;
  height:18px;
  border-radius:8px;
  background:
    radial-gradient(circle at 30% 30%, #fff8, transparent 60%),
    linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.orb--alt{
  background:
    radial-gradient(circle at 30% 30%, #fff8, transparent 60%),
    linear-gradient(135deg, var(--accent3), var(--accent2));
}
.card__title{
  margin:0 0 6px;
  font-size:16px;
  letter-spacing:.2px;
}
.card__text{
  margin:0;
  color:var(--muted);
  max-width:62ch;
}
.card__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.card__glow{
  position:absolute;
  inset:-60px -40px auto auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(155,92,255,.16), transparent 62%);
  filter:blur(2px);
  pointer-events:none;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.1px;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}
.btn:hover{
  text-decoration:none;
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}
.btn--primary{
  background:linear-gradient(135deg, color-mix(in oklab, var(--accent1) 70%, #1b1140), color-mix(in oklab, var(--accent2) 42%, #0b1a16));
  border-color:rgba(255,255,255,.16);
}
.btn--ghost{
  background:rgba(255,255,255,.03);
}
.btn--small{
  padding:8px 12px;
  border-radius:13px;
  font-size:13px;
}

/* ---------- Feature block (includes "oben rechts" / macOS-window look) ---------- */

.feature{
  position:relative;
  border-radius:28px;
  border:1px solid var(--stroke);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap:16px;
  padding:18px;
}
.feature__bg{
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 320px at 14% 10%, rgba(155,92,255,.18), transparent 65%),
    radial-gradient(540px 320px at 90% 20%, rgba(66,255,181,.12), transparent 62%),
    radial-gradient(700px 420px at 50% 120%, rgba(99,165,255,.12), transparent 65%);
  pointer-events:none;
}
.feature__left,
.feature__right{ position:relative; }

.feature__kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted2);
  margin-bottom:8px;
}
.feature__title{
  margin:0 0 10px;
  font-size:20px;
  letter-spacing:.2px;
}
.feature__text{
  margin:0 0 12px;
  color:var(--muted);
  max-width:72ch;
}
.feature__bullets{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.bullet{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap:12px;
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}
.bullet__k{
  color:var(--muted2);
  font-weight:800;
}
.bullet__v{ color:var(--muted); }

.feature__chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.chip{
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03);
  color:var(--muted);
}

/* macOS-like window (oben rechts) */
.miniwin{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(8,9,14,.52);
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.miniwin__bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.10);
}
.miniwin__title{
  margin-left:6px;
  color:var(--muted2);
  font-weight:800;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.miniwin__body{ padding:14px; }

.flow{
  display:grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap:10px;
  align-items:center;
}
.flow__node{
  padding:10px 10px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-weight:650;
  text-align:center;
  font-size:13px;
}
.flow__node--warm{
  color:color-mix(in oklab, var(--warm) 70%, white);
  border-color:rgba(255,184,107,.22);
  background:rgba(255,184,107,.06);
}
.flow__arrow{
  color:rgba(255,255,255,.24);
  font-weight:900;
}
.miniwin__hint{
  margin-top:12px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  color:var(--muted);
  font-size:13px;
}

/* ---------- Panels / content blocks ---------- */

.panel{
  border-radius:26px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(9,10,16,.52);
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.panel--soft{ background:rgba(9,10,16,.40); }
.panel__row{
  display:grid;
  grid-template-columns: 150px 1fr;
  gap:14px;
  padding:14px 16px;
  border-top:1px solid rgba(255,255,255,.07);
}
.panel__row:first-child{ border-top:0; }
.panel__row--single{ grid-template-columns: 1fr; }
.panel__label{
  color:var(--muted2);
  font-weight:900;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding-top:2px;
}
.panel__value{ color:var(--text); }

.p{ margin:0 0 10px; color:var(--muted); }
.p strong{ color:var(--text); }

.note{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  padding:12px 12px;
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:12px;
  margin:10px 0 0;
}
.note__k{
  color:var(--muted2);
  font-weight:900;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.note__v{ color:var(--muted); }

.steps{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.steps li{ margin:6px 0; }

.list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.list li{ margin:6px 0; }

.codeblock{
  margin-top:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.35);
  overflow:auto;
}
.codeblock pre{
  margin:0;
  padding:12px 14px;
  font-family:var(--mono);
  font-size:13px;
  line-height:1.55;
  color:#eef1ff;
}
.codeblock code{ font-family:inherit; }
.mono{ font-family:var(--mono); font-size:.95em; color:#eef1ff; }

/* ---------- Gallery ---------- */

.thumbs{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:10px;
  margin-top:12px;
}
.thumb{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}
.thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  aspect-ratio: 4/3;
  transform:scale(1.01);
  transition:transform .18s ease, filter .18s ease;
  filter:saturate(1.02) contrast(1.02);
}
.thumb:hover img{
  transform:scale(1.05);
  filter:saturate(1.08) contrast(1.06);
}

/* pure CSS lightbox via :target */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.72);
  z-index:999;
  padding:22px;
}
.lightbox:target{ display:flex; }

.lb-figure{
  margin:0;
  width:min(1100px, 100%);
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,12,20,.88);
  box-shadow:0 30px 90px rgba(0,0,0,.65);
}
.lb-figure img{
  width:100%;
  height:auto;
  display:block;
}
.lb-figure figcaption{
  padding:12px 14px;
  color:var(--muted);
  font-size:13px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
}
.lb-close{
  position:absolute;
  top:14px;
  right:16px;
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:28px;
  line-height:1;
  color:var(--text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
}
.lb-close:hover{ text-decoration:none; background:rgba(255,255,255,.08); }

.lb-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  text-decoration:none;
  font-size:38px;
  line-height:1;
  color:var(--text);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
}
.lb-nav:hover{ text-decoration:none; background:rgba(255,255,255,.08); }
.lb-prev{ left:18px; }
.lb-next{ right:18px; }

/* ---------- Footer ---------- */

.footer{
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,12,20,.45), rgba(10,12,20,.22));
  backdrop-filter:saturate(140%) blur(14px);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 0;
  color:var(--muted);
  flex-wrap:wrap;
}
.footer__brand{ color:var(--muted); }
.footer__link{
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.footer__link:hover{
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.06);
}

/* ---------- Legacy / other pages compatibility ---------- */

.hero{
  margin-top:10px;
  padding:22px 18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow:var(--shadow2);
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(540px 280px at 10% 0%, rgba(155,92,255,.16), transparent 66%),
    radial-gradient(520px 300px at 95% 10%, rgba(66,255,181,.10), transparent 62%);
  pointer-events:none;
}
.hero > *{ position:relative; }

.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
.hero__left{ min-height: 210px; }
.hero__right{ min-height: 210px; }

.kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted2);
  margin-bottom:8px;
}
.h1{
  margin:0 0 10px;
  font-size:30px;
  letter-spacing:.2px;
}
.sub{
  margin:0;
  color:var(--muted);
  max-width:72ch;
}

.window{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(8,9,14,.52);
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.window__bar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.window__title{
  margin-left:6px;
  color:var(--muted2);
  font-weight:800;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.window__body{ padding:14px; }
.window__lines{
  display:grid;
  gap:10px;
}
.window__line{
  height:12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.window__line:nth-child(2){ width:92%; }
.window__line:nth-child(3){ width:74%; }
.window__line:nth-child(4){ width:88%; }
.window__line:nth-child(5){ width:66%; }

.grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
}
.col-6{ grid-column:span 6; }
.col-12{ grid-column:span 12; }

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:var(--muted);
}

.hr{
  height:1px;
  background:rgba(255,255,255,.08);
  border:0;
  margin:18px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px){
  .feature{ grid-template-columns: 1fr; }
  .flow{ grid-template-columns: 1fr; }
  .flow__arrow{ display:none; }

  .card{ grid-column:span 12; }
  .panel__row{ grid-template-columns: 1fr; }
  .panel__label{ padding-top:0; }

  .thumbs{ grid-template-columns:repeat(3, 1fr); }

  .hero__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .container{ width:min(var(--max), calc(100% - 28px)); }
  .section__title{ font-size:24px; }
  .thumbs{ grid-template-columns:repeat(2, 1fr); }
  .lb-nav{ display:none; }
  .h1{ font-size:26px; }
}
